2026-06-03 16:41:59,807 - INFO - Domain Default found not creating
2026-06-03 16:41:59,969 - INFO - Project ctest-TestPorts-31608390 not found, creating it
2026-06-03 16:42:00,531 - INFO - Created Project:ctest-TestPorts-31608390, ID : efa7dc75-1a15-47d8-aadb-ce7966b10f86
2026-06-03 16:42:02,092 - INFO - ================================================================================
2026-06-03 16:42:02,092 - INFO - STARTING TEST : test_ports_bindings
2026-06-03 16:42:02,092 - 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
2026-06-03 16:42:02,354 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-06-03 16:42:02,354 - INFO - Initial checks done. Running the testcase now
2026-06-03 16:42:02,354 - INFO -
2026-06-03 16:42:02,897 - DEBUG - Response for create_network : {'network': {'id': '94dd8257-6eae-4a13-8939-c9141e91baf1', 'name': 'ctest-vn-91217913', 'tenant_id': 'efa7dc751a1547d8aadbce7966b10f86', 'project_id': 'efa7dc751a1547d8aadbce7966b10f86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-31608390', 'ctest-vn-91217913'], 'port_security_enabled': True, 'description': ''}}
2026-06-03 16:42:03,063 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c210662-7877-4687-9c56-f9c900d89316', 'name': '', 'tenant_id': 'efa7dc751a1547d8aadbce7966b10f86', 'network_id': '94dd8257-6eae-4a13-8939-c9141e91baf1', 'ip_version': 4, 'cidr': '185.149.154.64/26', 'allocation_pools': [{'start': '185.149.154.66', 'end': '185.149.154.126'}], 'gateway_ip': '185.149.154.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.149.154.66', 'tags': [], 'project_id': 'efa7dc751a1547d8aadbce7966b10f86'}}
2026-06-03 16:42:03,081 - INFO - Created VN ctest-vn-91217913
2026-06-03 16:42:03,132 - DEBUG - VN ctest-vn-91217913 UUID is 94dd8257-6eae-4a13-8939-c9141e91baf1
2026-06-03 16:42:03,240 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-31608390', 'ctest-vmi-04472454']}
2026-06-03 16:42:03,525 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-04472454', 'id': 'e1bc83d1-80a4-4f02-aeb5-6bcacafbcd26', 'tenant_id': 'efa7dc751a1547d8aadbce7966b10f86', 'network_id': '94dd8257-6eae-4a13-8939-c9141e91baf1', 'mac_address': '02:e1:bc:83:d1: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': '185.149.154.67', 'subnet_id': '7c210662-7877-4687-9c56-f9c900d89316'}], 'security_groups': ['256d81ae-cb9e-4a07-b9e6-0ea18ee53b43'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'efa7dc751a1547d8aadbce7966b10f86'}}
2026-06-03 16:42:03,525 - DEBUG - Created port e1bc83d1-80a4-4f02-aeb5-6bcacafbcd26
2026-06-03 16:42:03,628 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e1bc83d1-80a4-4f02-aeb5-6bcacafbcd26
2026-06-03 16:42:03,929 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e1bc83d1-80a4-4f02-aeb5-6bcacafbcd26
2026-06-03 16:42:03,968 - INFO - VMI e1bc83d1-80a4-4f02-aeb5-6bcacafbcd26 verification in API Server passed
2026-06-03 16:42:04,065 - DEBUG - Response for delete_port : ()
2026-06-03 16:42:04,065 - INFO - Deleted port e1bc83d1-80a4-4f02-aeb5-6bcacafbcd26
2026-06-03 16:42:04,066 - INFO - Deleting VN ctest-vn-91217913
2026-06-03 16:42:04,166 - DEBUG - Response for deleting network ()
2026-06-03 16:42:04,422 - DEBUG - No XMPP flaps were noticed during the test
2026-06-03 16:42:04,422 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-06-03 16:42:04,422 - INFO - --------------------------------------------------------------------------------
2026-06-03 16:42:04,425 - INFO - ================================================================================
2026-06-03 16:42:04,425 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-06-03 16:42:04,425 - 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
2026-06-03 16:42:04,709 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-06-03 16:42:04,709 - INFO - Initial checks done. Running the testcase now
2026-06-03 16:42:04,709 - INFO -
2026-06-03 16:42:04,907 - DEBUG - Response for create_network : {'network': {'id': '7ee6c79c-3c3c-4044-ba70-655815d37061', 'name': 'ctest-vn1-59635640', 'tenant_id': 'efa7dc751a1547d8aadbce7966b10f86', 'project_id': 'efa7dc751a1547d8aadbce7966b10f86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-31608390', 'ctest-vn1-59635640'], 'port_security_enabled': True, 'description': ''}}
2026-06-03 16:42:05,083 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc2c667f-c127-4f08-adac-662b3576bd17', 'name': '', 'tenant_id': 'efa7dc751a1547d8aadbce7966b10f86', 'network_id': '7ee6c79c-3c3c-4044-ba70-655815d37061', 'ip_version': 4, 'cidr': '12.87.206.128/26', 'allocation_pools': [{'start': '12.87.206.130', 'end': '12.87.206.190'}], 'gateway_ip': '12.87.206.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.87.206.130', 'tags': [], 'project_id': 'efa7dc751a1547d8aadbce7966b10f86'}}
2026-06-03 16:42:05,250 - DEBUG - Response for create_subnet : {'subnet': {'id': '5276b581-5afe-4dd8-8273-be3d4685d5f5', 'name': '', 'tenant_id': 'efa7dc751a1547d8aadbce7966b10f86', 'network_id': '7ee6c79c-3c3c-4044-ba70-655815d37061', 'ip_version': 4, 'cidr': '25.73.67.64/26', 'allocation_pools': [{'start': '25.73.67.66', 'end': '25.73.67.126'}], 'gateway_ip': '25.73.67.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.73.67.66', 'tags': [], 'project_id': 'efa7dc751a1547d8aadbce7966b10f86'}}
2026-06-03 16:42:05,273 - INFO - Created VN ctest-vn1-59635640
2026-06-03 16:42:05,328 - DEBUG - VN ctest-vn1-59635640 UUID is 7ee6c79c-3c3c-4044-ba70-655815d37061
2026-06-03 16:42:05,627 - DEBUG - Response for create_port : {'port': {'name': '3715c6ef-c6e7-4f46-80de-4f3bc2a49679', 'id': '3715c6ef-c6e7-4f46-80de-4f3bc2a49679', 'tenant_id': 'efa7dc751a1547d8aadbce7966b10f86', 'network_id': '7ee6c79c-3c3c-4044-ba70-655815d37061', 'mac_address': '02:37:15:c6:ef:c6', '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': '12.87.206.133', 'subnet_id': 'dc2c667f-c127-4f08-adac-662b3576bd17'}], 'security_groups': ['256d81ae-cb9e-4a07-b9e6-0ea18ee53b43'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'efa7dc751a1547d8aadbce7966b10f86'}}
2026-06-03 16:42:05,811 - DEBUG - Response for create_port : {'port': {'name': 'fe725423-6030-4239-8082-28dff8d19585', 'id': 'fe725423-6030-4239-8082-28dff8d19585', 'tenant_id': 'efa7dc751a1547d8aadbce7966b10f86', 'network_id': '7ee6c79c-3c3c-4044-ba70-655815d37061', 'mac_address': '02:fe:72:54:23:60', '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': '25.73.67.69', 'subnet_id': '5276b581-5afe-4dd8-8273-be3d4685d5f5'}], 'security_groups': ['256d81ae-cb9e-4a07-b9e6-0ea18ee53b43'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'efa7dc751a1547d8aadbce7966b10f86'}}
2026-06-03 16:42:05,870 - DEBUG - Services list from nova: [, , ]
2026-06-03 16:42:06,230 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5882-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5882-1)
2026-06-03 16:42:06,669 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5882-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5882-1)
2026-06-03 16:42:06,669 - INFO - Waiting for VM ctest-vn1-vm1-42547572 to be up..
2026-06-03 16:42:06,708 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-03 16:42:11,788 - DEBUG - VM is in ACTIVE state now
2026-06-03 16:42:11,789 - INFO - VM name : ctest-vn1-vm1-42547572
2026-06-03 16:42:11,866 - DEBUG - VM ctest-vn1-vm1-42547572 ID is c1252102-f9bf-4a92-b0ca-41aac7f8c551
2026-06-03 16:42:11,888 - DEBUG - VM ctest-vn1-vm1-42547572 launched on Node cn-jenkins-deploy-platform-ansible-os-5882-1
2026-06-03 16:42:11,968 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c1252102-f9bf-4a92-b0ca-41aac7f8c551
2026-06-03 16:42:11,978 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3715c6ef-c6e7-4f46-80de-4f3bc2a49679
2026-06-03 16:42:15,222 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms')
2026-06-03 16:42:15,223 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-42547572 failed!
2026-06-03 16:42:15,284 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-31608390:ctest-vn1-59635640 is 12.87.206.129 and allocation pool is NOT set
2026-06-03 16:42:15,284 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-31608390:ctest-vn1-59635640 is 25.73.67.65 and allocation pool is NOT set
2026-06-03 16:42:17,346 - 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=17.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.572 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.572/8.781/16.990/8.209 ms')
2026-06-03 16:42:17,347 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-42547572 passed
2026-06-03 16:42:17,500 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-03 16:42:17,500 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-42547572, IP 12.87.206.133, Port 22
2026-06-03 16:42:17,566 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-06-03 16:42:17,651 - DEBUG - VM ctest-vn1-vm1-42547572 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-03 16:42:22,652 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-03 16:42:22,652 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-42547572, IP 12.87.206.133, Port 22
2026-06-03 16:42:22,808 - DEBUG - VM ctest-vn1-vm1-42547572 is ready for SSH connections
2026-06-03 16:42:22,808 - INFO - Waiting for VM ctest-vn1-vm2-04598977 to be up..
2026-06-03 16:42:22,922 - DEBUG - VM is in ACTIVE state now
2026-06-03 16:42:22,922 - INFO - VM name : ctest-vn1-vm2-04598977
2026-06-03 16:42:22,995 - DEBUG - VM ctest-vn1-vm2-04598977 ID is 5550ea57-53af-4465-93fa-800ff73a57d2
2026-06-03 16:42:22,995 - DEBUG - VM ctest-vn1-vm2-04598977 launched on Node cn-jenkins-deploy-platform-ansible-os-5882-1
2026-06-03 16:42:23,070 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5550ea57-53af-4465-93fa-800ff73a57d2
2026-06-03 16:42:23,078 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fe725423-6030-4239-8082-28dff8d19585
2026-06-03 16:42:24,310 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.392 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.392/2.056/3.720/1.664 ms')
2026-06-03 16:42:24,310 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-04598977 passed
2026-06-03 16:42:24,460 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-03 16:42:24,460 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-04598977, IP 25.73.67.69, Port 22
2026-06-03 16:42:24,627 - DEBUG - VM ctest-vn1-vm2-04598977 is ready for SSH connections
2026-06-03 16:42:24,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-03 16:42:24,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-03 16:42:24,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-03 16:42:24,627 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.87.206.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-06-03 16:42:24,627 - DEBUG - ping -s 56 -c 3 -W 1 12.87.206.133
2026-06-03 16:42:27,331 - DEBUG - PING 12.87.206.133 (12.87.206.133): 56 data bytes
64 bytes from 12.87.206.133: seq=0 ttl=63 time=3.313 ms
64 bytes from 12.87.206.133: seq=1 ttl=63 time=0.848 ms
64 bytes from 12.87.206.133: seq=2 ttl=63 time=1.012 ms
--- 12.87.206.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.848/1.724/3.313 ms
2026-06-03 16:42:27,332 - INFO - Ping to IP 12.87.206.133 from VM ctest-vn1-vm2-04598977 passed
2026-06-03 16:42:27,332 - INFO - Detaching port fe725423-6030-4239-8082-28dff8d19585 from VM ctest-vn1-vm2-04598977
2026-06-03 16:42:27,381 - INFO - Deleting VM ctest-vn1-vm2-04598977
2026-06-03 16:42:27,453 - INFO - Detaching port 3715c6ef-c6e7-4f46-80de-4f3bc2a49679 from VM ctest-vn1-vm1-42547572
2026-06-03 16:42:27,489 - INFO - Deleting VM ctest-vn1-vm1-42547572
2026-06-03 16:42:27,724 - DEBUG - Response for delete_port : ()
2026-06-03 16:42:27,886 - DEBUG - Response for delete_port : ()
2026-06-03 16:42:27,886 - INFO - Deleting VN ctest-vn1-59635640
2026-06-03 16:42:28,025 - DEBUG - Response for deleting network ()
2026-06-03 16:42:28,278 - DEBUG - No XMPP flaps were noticed during the test
2026-06-03 16:42:28,278 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-06-03 16:42:28,278 - INFO - --------------------------------------------------------------------------------
2026-06-03 16:42:28,971 - INFO - Deleted project: ctest-TestPorts-31608390, ID : efa7dc75-1a15-47d8-aadb-ce7966b10f86