2025-12-08 17:18:49,702 - INFO - Domain Default found not creating
2025-12-08 17:18:49,849 - INFO - Project ctest-TestPorts-65732943 not found, creating it
2025-12-08 17:18:50,278 - INFO - Created Project:ctest-TestPorts-65732943, ID : 615a9f73-b42d-45f7-9fab-bcd1ff3cbab4
2025-12-08 17:18:51,651 - INFO - ================================================================================
2025-12-08 17:18:51,651 - INFO - STARTING TEST : test_ports_bindings
2025-12-08 17:18:51,651 - INFO - TEST DESCRIPTION :
Verify that we are able to create a port with custom port bindings
Steps:
1) Create Port with Port bindings profile set to {'foo': 'bar'}
2) Retrieve and verify the same is set
2025-12-08 17:18:51,908 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.14': '0'}} with
2025-12-08 17:18:51,908 - INFO - Initial checks done. Running the testcase now
2025-12-08 17:18:51,908 - INFO -
2025-12-08 17:18:52,442 - DEBUG - Response for create_network : {'network': {'id': '689438af-bd63-4bdf-9203-aac244ba4695', 'name': 'ctest-vn-11818737', 'tenant_id': '615a9f73b42d45f79fabbcd1ff3cbab4', 'project_id': '615a9f73b42d45f79fabbcd1ff3cbab4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65732943', 'ctest-vn-11818737'], 'port_security_enabled': True, 'description': ''}}
2025-12-08 17:18:52,638 - DEBUG - Response for create_subnet : {'subnet': {'id': '56284328-80b0-41ae-9454-a57c92896b18', 'name': '', 'tenant_id': '615a9f73b42d45f79fabbcd1ff3cbab4', 'network_id': '689438af-bd63-4bdf-9203-aac244ba4695', 'ip_version': 4, 'cidr': '210.153.221.128/26', 'allocation_pools': [{'start': '210.153.221.130', 'end': '210.153.221.190'}], 'gateway_ip': '210.153.221.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.153.221.130', 'tags': [], 'project_id': '615a9f73b42d45f79fabbcd1ff3cbab4'}}
2025-12-08 17:18:52,653 - INFO - Created VN ctest-vn-11818737
2025-12-08 17:18:52,703 - DEBUG - VN ctest-vn-11818737 UUID is 689438af-bd63-4bdf-9203-aac244ba4695
2025-12-08 17:18:52,808 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-65732943', 'ctest-vmi-42540870']}
2025-12-08 17:18:53,068 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-42540870', 'id': '69c19339-806e-410b-852c-aa1718ba3ffc', 'tenant_id': '615a9f73b42d45f79fabbcd1ff3cbab4', 'network_id': '689438af-bd63-4bdf-9203-aac244ba4695', 'mac_address': '02:69:c1:93:39:80', 'binding:profile': {'foo': 'bar'}, 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '210.153.221.131', 'subnet_id': '56284328-80b0-41ae-9454-a57c92896b18'}], 'security_groups': ['1a369a9b-2a11-42ec-b313-df30e6254996'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '615a9f73b42d45f79fabbcd1ff3cbab4'}}
2025-12-08 17:18:53,068 - DEBUG - Created port 69c19339-806e-410b-852c-aa1718ba3ffc
2025-12-08 17:18:53,171 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/69c19339-806e-410b-852c-aa1718ba3ffc
2025-12-08 17:18:53,462 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/69c19339-806e-410b-852c-aa1718ba3ffc
2025-12-08 17:18:53,496 - INFO - VMI 69c19339-806e-410b-852c-aa1718ba3ffc verification in API Server passed
2025-12-08 17:18:53,564 - DEBUG - Response for delete_port : ()
2025-12-08 17:18:53,565 - INFO - Deleted port 69c19339-806e-410b-852c-aa1718ba3ffc
2025-12-08 17:18:53,565 - INFO - Deleting VN ctest-vn-11818737
2025-12-08 17:18:53,659 - DEBUG - Response for deleting network ()
2025-12-08 17:18:53,911 - DEBUG - No XMPP flaps were noticed during the test
2025-12-08 17:18:53,911 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-08 17:18:53,911 - INFO - --------------------------------------------------------------------------------
2025-12-08 17:18:53,913 - INFO - ================================================================================
2025-12-08 17:18:53,913 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-12-08 17:18:53,913 - INFO - TEST DESCRIPTION : Create ports with specific Subnet and IP
Create two ports in a VN with 2 subnets and specific IPs
Attach to two VMs
Ping between them should pass
2025-12-08 17:18:54,203 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.14': '0'}} with
2025-12-08 17:18:54,203 - INFO - Initial checks done. Running the testcase now
2025-12-08 17:18:54,203 - INFO -
2025-12-08 17:18:54,372 - DEBUG - Response for create_network : {'network': {'id': 'd5d0958e-b634-4c09-ab1e-a7a647ad441d', 'name': 'ctest-vn1-08471709', 'tenant_id': '615a9f73b42d45f79fabbcd1ff3cbab4', 'project_id': '615a9f73b42d45f79fabbcd1ff3cbab4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65732943', 'ctest-vn1-08471709'], 'port_security_enabled': True, 'description': ''}}
2025-12-08 17:18:54,537 - DEBUG - Response for create_subnet : {'subnet': {'id': '78c4e1b1-d007-46db-9f73-57f233d36694', 'name': '', 'tenant_id': '615a9f73b42d45f79fabbcd1ff3cbab4', 'network_id': 'd5d0958e-b634-4c09-ab1e-a7a647ad441d', 'ip_version': 4, 'cidr': '93.185.15.192/26', 'allocation_pools': [{'start': '93.185.15.194', 'end': '93.185.15.254'}], 'gateway_ip': '93.185.15.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.185.15.194', 'tags': [], 'project_id': '615a9f73b42d45f79fabbcd1ff3cbab4'}}
2025-12-08 17:18:54,719 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d0793a4-8c67-414a-909f-158aefef0285', 'name': '', 'tenant_id': '615a9f73b42d45f79fabbcd1ff3cbab4', 'network_id': 'd5d0958e-b634-4c09-ab1e-a7a647ad441d', 'ip_version': 4, 'cidr': '196.222.150.0/26', 'allocation_pools': [{'start': '196.222.150.2', 'end': '196.222.150.62'}], 'gateway_ip': '196.222.150.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.222.150.2', 'tags': [], 'project_id': '615a9f73b42d45f79fabbcd1ff3cbab4'}}
2025-12-08 17:18:54,739 - INFO - Created VN ctest-vn1-08471709
2025-12-08 17:18:54,791 - DEBUG - VN ctest-vn1-08471709 UUID is d5d0958e-b634-4c09-ab1e-a7a647ad441d
2025-12-08 17:18:55,065 - DEBUG - Response for create_port : {'port': {'name': 'a8425245-3f63-45d6-a3bc-f6f89f500bf7', 'id': 'a8425245-3f63-45d6-a3bc-f6f89f500bf7', 'tenant_id': '615a9f73b42d45f79fabbcd1ff3cbab4', 'network_id': 'd5d0958e-b634-4c09-ab1e-a7a647ad441d', 'mac_address': '02:a8:42:52:45:3f', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '93.185.15.197', 'subnet_id': '78c4e1b1-d007-46db-9f73-57f233d36694'}], 'security_groups': ['1a369a9b-2a11-42ec-b313-df30e6254996'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '615a9f73b42d45f79fabbcd1ff3cbab4'}}
2025-12-08 17:18:55,213 - DEBUG - Response for create_port : {'port': {'name': 'e6b40fc9-59d9-4d9e-af66-c5d038f86e31', 'id': 'e6b40fc9-59d9-4d9e-af66-c5d038f86e31', 'tenant_id': '615a9f73b42d45f79fabbcd1ff3cbab4', 'network_id': 'd5d0958e-b634-4c09-ab1e-a7a647ad441d', 'mac_address': '02:e6:b4:0f:c9:59', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '196.222.150.5', 'subnet_id': '9d0793a4-8c67-414a-909f-158aefef0285'}], 'security_groups': ['1a369a9b-2a11-42ec-b313-df30e6254996'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '615a9f73b42d45f79fabbcd1ff3cbab4'}}
2025-12-08 17:18:55,263 - DEBUG - Services list from nova: [, , ]
2025-12-08 17:18:55,542 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4857-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4857-1)
2025-12-08 17:18:55,895 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4857-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4857-1)
2025-12-08 17:18:55,896 - INFO - Waiting for VM ctest-vn1-vm1-18891321 to be up..
2025-12-08 17:18:55,930 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-08 17:19:00,998 - DEBUG - VM is in ACTIVE state now
2025-12-08 17:19:00,998 - INFO - VM name : ctest-vn1-vm1-18891321
2025-12-08 17:19:01,065 - DEBUG - VM ctest-vn1-vm1-18891321 ID is 902e8cee-3841-49fa-acfa-9137763505af
2025-12-08 17:19:01,082 - DEBUG - VM ctest-vn1-vm1-18891321 launched on Node cn-jenkins-deploy-platform-ansible-os-4857-1
2025-12-08 17:19:01,148 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/902e8cee-3841-49fa-acfa-9137763505af
2025-12-08 17:19:01,156 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/a8425245-3f63-45d6-a3bc-f6f89f500bf7
2025-12-08 17:19:04,415 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms')
2025-12-08 17:19:04,415 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-18891321 failed!
2025-12-08 17:19:04,467 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65732943:ctest-vn1-08471709 is 93.185.15.193 and allocation pool is NOT set
2025-12-08 17:19:04,467 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65732943:ctest-vn1-08471709 is 196.222.150.1 and allocation pool is NOT set
2025-12-08 17:19:06,529 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.26 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.260/2.702/3.145/0.442 ms')
2025-12-08 17:19:06,529 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-18891321 passed
2025-12-08 17:19:06,679 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-08 17:19:06,679 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-18891321, IP 93.185.15.197, Port 22
2025-12-08 17:19:06,734 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-12-08 17:19:06,809 - DEBUG - VM ctest-vn1-vm1-18891321 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-08 17:19:11,810 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-08 17:19:11,811 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-18891321, IP 93.185.15.197, Port 22
2025-12-08 17:19:11,962 - DEBUG - VM ctest-vn1-vm1-18891321 is ready for SSH connections
2025-12-08 17:19:11,962 - INFO - Waiting for VM ctest-vn1-vm2-96235185 to be up..
2025-12-08 17:19:12,026 - DEBUG - VM is in ACTIVE state now
2025-12-08 17:19:12,026 - INFO - VM name : ctest-vn1-vm2-96235185
2025-12-08 17:19:12,102 - DEBUG - VM ctest-vn1-vm2-96235185 ID is 59476f19-6c09-47b6-bfe8-a2984ee2a015
2025-12-08 17:19:12,102 - DEBUG - VM ctest-vn1-vm2-96235185 launched on Node cn-jenkins-deploy-platform-ansible-os-4857-1
2025-12-08 17:19:12,178 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/59476f19-6c09-47b6-bfe8-a2984ee2a015
2025-12-08 17:19:12,185 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/e6b40fc9-59d9-4d9e-af66-c5d038f86e31
2025-12-08 17:19:13,417 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=2.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.312 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.312/1.574/2.837/1.262 ms')
2025-12-08 17:19:13,417 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-96235185 passed
2025-12-08 17:19:13,563 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-08 17:19:13,563 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-96235185, IP 196.222.150.5, Port 22
2025-12-08 17:19:13,719 - DEBUG - VM ctest-vn1-vm2-96235185 is ready for SSH connections
2025-12-08 17:19:13,719 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-08 17:19:13,719 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-08 17:19:13,719 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-08 17:19:13,719 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.185.15.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123
2025-12-08 17:19:13,719 - DEBUG - ping -s 56 -c 3 -W 1 93.185.15.197
2025-12-08 17:19:17,713 - DEBUG - PING 93.185.15.197 (93.185.15.197): 56 data bytes
64 bytes from 93.185.15.197: seq=0 ttl=63 time=3.205 ms
64 bytes from 93.185.15.197: seq=1 ttl=63 time=0.818 ms
64 bytes from 93.185.15.197: seq=2 ttl=63 time=0.957 ms
--- 93.185.15.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.818/1.660/3.205 ms
2025-12-08 17:19:17,713 - INFO - Ping to IP 93.185.15.197 from VM ctest-vn1-vm2-96235185 passed
2025-12-08 17:19:17,714 - INFO - Detaching port e6b40fc9-59d9-4d9e-af66-c5d038f86e31 from VM ctest-vn1-vm2-96235185
2025-12-08 17:19:17,769 - INFO - Deleting VM ctest-vn1-vm2-96235185
2025-12-08 17:19:17,839 - INFO - Detaching port a8425245-3f63-45d6-a3bc-f6f89f500bf7 from VM ctest-vn1-vm1-18891321
2025-12-08 17:19:17,873 - INFO - Deleting VM ctest-vn1-vm1-18891321
2025-12-08 17:19:18,083 - DEBUG - Response for delete_port : ()
2025-12-08 17:19:18,208 - DEBUG - Response for delete_port : ()
2025-12-08 17:19:18,208 - INFO - Deleting VN ctest-vn1-08471709
2025-12-08 17:19:18,332 - DEBUG - Response for deleting network ()
2025-12-08 17:19:18,584 - DEBUG - No XMPP flaps were noticed during the test
2025-12-08 17:19:18,584 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-12-08 17:19:18,584 - INFO - --------------------------------------------------------------------------------
2025-12-08 17:19:19,255 - INFO - Deleted project: ctest-TestPorts-65732943, ID : 615a9f73-b42d-45f7-9fab-bcd1ff3cbab4