2026-05-12 17:41:42,537 - INFO - Domain Default found not creating 2026-05-12 17:41:42,846 - INFO - Project ctest-TestPorts-20668720 not found, creating it 2026-05-12 17:41:43,336 - INFO - Created Project:ctest-TestPorts-20668720, ID : 28b218c0-646a-4fa4-920f-1bf9ac5fbd65 2026-05-12 17:41:44,872 - INFO - ================================================================================ 2026-05-12 17:41:44,872 - INFO - STARTING TEST : test_ports_bindings 2026-05-12 17:41:44,872 - 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-05-12 17:41:45,134 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2026-05-12 17:41:45,134 - INFO - Initial checks done. Running the testcase now 2026-05-12 17:41:45,134 - INFO - 2026-05-12 17:41:45,687 - DEBUG - Response for create_network : {'network': {'id': '7851e348-a990-4bc3-9c58-e0c149dc4b40', 'name': 'ctest-vn-18015395', 'tenant_id': '28b218c0646a4fa4920f1bf9ac5fbd65', 'project_id': '28b218c0646a4fa4920f1bf9ac5fbd65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-20668720', 'ctest-vn-18015395'], 'port_security_enabled': True, 'description': ''}} 2026-05-12 17:41:45,854 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f0b0bc52-4d26-42d1-a140-13e114af66dc', 'name': '', 'tenant_id': '28b218c0646a4fa4920f1bf9ac5fbd65', 'network_id': '7851e348-a990-4bc3-9c58-e0c149dc4b40', 'ip_version': 4, 'cidr': '46.216.102.128/26', 'allocation_pools': [{'start': '46.216.102.130', 'end': '46.216.102.190'}], 'gateway_ip': '46.216.102.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.216.102.130', 'tags': [], 'project_id': '28b218c0646a4fa4920f1bf9ac5fbd65'}} 2026-05-12 17:41:45,873 - INFO - Created VN ctest-vn-18015395 2026-05-12 17:41:45,927 - DEBUG - VN ctest-vn-18015395 UUID is 7851e348-a990-4bc3-9c58-e0c149dc4b40 2026-05-12 17:41:46,037 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-20668720', 'ctest-vmi-51521446']} 2026-05-12 17:41:46,293 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-51521446', 'id': '83870797-a37d-4a56-9daa-608a3f9617cb', 'tenant_id': '28b218c0646a4fa4920f1bf9ac5fbd65', 'network_id': '7851e348-a990-4bc3-9c58-e0c149dc4b40', 'mac_address': '02:83:87:07:97:a3', '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': '46.216.102.131', 'subnet_id': 'f0b0bc52-4d26-42d1-a140-13e114af66dc'}], 'security_groups': ['0656828b-572f-4015-aa51-b14edf74ef7f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '28b218c0646a4fa4920f1bf9ac5fbd65'}} 2026-05-12 17:41:46,294 - DEBUG - Created port 83870797-a37d-4a56-9daa-608a3f9617cb 2026-05-12 17:41:46,399 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/83870797-a37d-4a56-9daa-608a3f9617cb 2026-05-12 17:41:46,693 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/83870797-a37d-4a56-9daa-608a3f9617cb 2026-05-12 17:41:46,732 - INFO - VMI 83870797-a37d-4a56-9daa-608a3f9617cb verification in API Server passed 2026-05-12 17:41:46,825 - DEBUG - Response for delete_port : () 2026-05-12 17:41:46,826 - INFO - Deleted port 83870797-a37d-4a56-9daa-608a3f9617cb 2026-05-12 17:41:46,826 - INFO - Deleting VN ctest-vn-18015395 2026-05-12 17:41:46,930 - DEBUG - Response for deleting network () 2026-05-12 17:41:47,186 - DEBUG - No XMPP flaps were noticed during the test 2026-05-12 17:41:47,186 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2026-05-12 17:41:47,186 - INFO - -------------------------------------------------------------------------------- 2026-05-12 17:41:47,189 - INFO - ================================================================================ 2026-05-12 17:41:47,189 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-05-12 17:41:47,189 - 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-05-12 17:41:47,480 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2026-05-12 17:41:47,480 - INFO - Initial checks done. Running the testcase now 2026-05-12 17:41:47,480 - INFO - 2026-05-12 17:41:47,654 - DEBUG - Response for create_network : {'network': {'id': 'e3d2b64e-39fd-4b07-a315-c82a36c41b61', 'name': 'ctest-vn1-17403696', 'tenant_id': '28b218c0646a4fa4920f1bf9ac5fbd65', 'project_id': '28b218c0646a4fa4920f1bf9ac5fbd65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-20668720', 'ctest-vn1-17403696'], 'port_security_enabled': True, 'description': ''}} 2026-05-12 17:41:47,812 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c68579a5-00b7-4cf2-982d-ca42d386cef8', 'name': '', 'tenant_id': '28b218c0646a4fa4920f1bf9ac5fbd65', 'network_id': 'e3d2b64e-39fd-4b07-a315-c82a36c41b61', 'ip_version': 4, 'cidr': '38.222.183.192/26', 'allocation_pools': [{'start': '38.222.183.194', 'end': '38.222.183.254'}], 'gateway_ip': '38.222.183.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.222.183.194', 'tags': [], 'project_id': '28b218c0646a4fa4920f1bf9ac5fbd65'}} 2026-05-12 17:41:47,980 - DEBUG - Response for create_subnet : {'subnet': {'id': '71232463-c505-4958-8cf7-b64564e934f3', 'name': '', 'tenant_id': '28b218c0646a4fa4920f1bf9ac5fbd65', 'network_id': 'e3d2b64e-39fd-4b07-a315-c82a36c41b61', 'ip_version': 4, 'cidr': '97.239.175.64/26', 'allocation_pools': [{'start': '97.239.175.66', 'end': '97.239.175.126'}], 'gateway_ip': '97.239.175.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.239.175.66', 'tags': [], 'project_id': '28b218c0646a4fa4920f1bf9ac5fbd65'}} 2026-05-12 17:41:48,000 - INFO - Created VN ctest-vn1-17403696 2026-05-12 17:41:48,055 - DEBUG - VN ctest-vn1-17403696 UUID is e3d2b64e-39fd-4b07-a315-c82a36c41b61 2026-05-12 17:41:48,371 - DEBUG - Response for create_port : {'port': {'name': '147eb313-5b4e-41c6-8547-32dd4959d03b', 'id': '147eb313-5b4e-41c6-8547-32dd4959d03b', 'tenant_id': '28b218c0646a4fa4920f1bf9ac5fbd65', 'network_id': 'e3d2b64e-39fd-4b07-a315-c82a36c41b61', 'mac_address': '02:14:7e:b3:13:5b', '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': '38.222.183.197', 'subnet_id': 'c68579a5-00b7-4cf2-982d-ca42d386cef8'}], 'security_groups': ['0656828b-572f-4015-aa51-b14edf74ef7f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '28b218c0646a4fa4920f1bf9ac5fbd65'}} 2026-05-12 17:41:48,555 - DEBUG - Response for create_port : {'port': {'name': '2dc3fdb5-6286-43ae-b6fe-edf58e0d3eb7', 'id': '2dc3fdb5-6286-43ae-b6fe-edf58e0d3eb7', 'tenant_id': '28b218c0646a4fa4920f1bf9ac5fbd65', 'network_id': 'e3d2b64e-39fd-4b07-a315-c82a36c41b61', 'mac_address': '02:2d:c3:fd:b5:62', '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': '97.239.175.69', 'subnet_id': '71232463-c505-4958-8cf7-b64564e934f3'}], 'security_groups': ['0656828b-572f-4015-aa51-b14edf74ef7f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '28b218c0646a4fa4920f1bf9ac5fbd65'}} 2026-05-12 17:41:48,619 - DEBUG - Services list from nova: [, , ] 2026-05-12 17:41:49,001 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5772-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5772-1) 2026-05-12 17:41:49,453 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5772-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5772-1) 2026-05-12 17:41:49,454 - INFO - Waiting for VM ctest-vn1-vm1-87560711 to be up.. 2026-05-12 17:41:49,495 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-12 17:41:54,604 - DEBUG - VM is in ACTIVE state now 2026-05-12 17:41:54,604 - INFO - VM name : ctest-vn1-vm1-87560711 2026-05-12 17:41:54,689 - DEBUG - VM ctest-vn1-vm1-87560711 ID is a5a036be-0af7-45d2-9d94-f5f68220e0f0 2026-05-12 17:41:54,714 - DEBUG - VM ctest-vn1-vm1-87560711 launched on Node cn-jenkins-deploy-platform-ansible-os-5772-1 2026-05-12 17:41:54,811 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/a5a036be-0af7-45d2-9d94-f5f68220e0f0 2026-05-12 17:41:54,820 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/147eb313-5b4e-41c6-8547-32dd4959d03b 2026-05-12 17:41:58,073 - 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 1005ms') 2026-05-12 17:41:58,073 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-87560711 failed! 2026-05-12 17:41:58,131 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-20668720:ctest-vn1-17403696 is 38.222.183.193 and allocation pool is NOT set 2026-05-12 17:41:58,131 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-20668720:ctest-vn1-17403696 is 97.239.175.65 and allocation pool is NOT set 2026-05-12 17:42:00,193 - 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=12.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.73 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 = 1.728/6.903/12.078/5.175 ms') 2026-05-12 17:42:00,193 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-87560711 passed 2026-05-12 17:42:00,347 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-12 17:42:00,347 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-87560711, IP 38.222.183.197, Port 22 2026-05-12 17:42:00,413 - 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-05-12 17:42:00,500 - DEBUG - VM ctest-vn1-vm1-87560711 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-12 17:42:05,502 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-12 17:42:05,502 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-87560711, IP 38.222.183.197, Port 22 2026-05-12 17:42:05,673 - DEBUG - VM ctest-vn1-vm1-87560711 is ready for SSH connections 2026-05-12 17:42:05,674 - INFO - Waiting for VM ctest-vn1-vm2-77048263 to be up.. 2026-05-12 17:42:05,757 - DEBUG - VM is in ACTIVE state now 2026-05-12 17:42:05,757 - INFO - VM name : ctest-vn1-vm2-77048263 2026-05-12 17:42:05,838 - DEBUG - VM ctest-vn1-vm2-77048263 ID is 2693e08a-0520-461b-a134-7a25096d6bf8 2026-05-12 17:42:05,838 - DEBUG - VM ctest-vn1-vm2-77048263 launched on Node cn-jenkins-deploy-platform-ansible-os-5772-1 2026-05-12 17:42:05,918 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/2693e08a-0520-461b-a134-7a25096d6bf8 2026-05-12 17:42:05,926 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/2dc3fdb5-6286-43ae-b6fe-edf58e0d3eb7 2026-05-12 17:42:07,172 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.468 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 = 0.468/1.760/3.053/1.292 ms') 2026-05-12 17:42:07,172 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-77048263 passed 2026-05-12 17:42:07,323 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-12 17:42:07,323 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-77048263, IP 97.239.175.69, Port 22 2026-05-12 17:42:07,478 - DEBUG - VM ctest-vn1-vm2-77048263 is ready for SSH connections 2026-05-12 17:42:07,478 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-12 17:42:07,479 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-12 17:42:07,479 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-12 17:42:07,479 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.222.183.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-05-12 17:42:07,479 - DEBUG - ping -s 56 -c 3 -W 1 38.222.183.197 2026-05-12 17:42:10,160 - DEBUG - PING 38.222.183.197 (38.222.183.197): 56 data bytes 64 bytes from 38.222.183.197: seq=0 ttl=63 time=4.977 ms 64 bytes from 38.222.183.197: seq=1 ttl=63 time=1.619 ms 64 bytes from 38.222.183.197: seq=2 ttl=63 time=1.253 ms --- 38.222.183.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.253/2.616/4.977 ms 2026-05-12 17:42:10,160 - INFO - Ping to IP 38.222.183.197 from VM ctest-vn1-vm2-77048263 passed 2026-05-12 17:42:10,160 - INFO - Detaching port 2dc3fdb5-6286-43ae-b6fe-edf58e0d3eb7 from VM ctest-vn1-vm2-77048263 2026-05-12 17:42:10,212 - INFO - Deleting VM ctest-vn1-vm2-77048263 2026-05-12 17:42:10,286 - INFO - Detaching port 147eb313-5b4e-41c6-8547-32dd4959d03b from VM ctest-vn1-vm1-87560711 2026-05-12 17:42:10,326 - INFO - Deleting VM ctest-vn1-vm1-87560711 2026-05-12 17:42:10,565 - DEBUG - Response for delete_port : () 2026-05-12 17:42:10,767 - DEBUG - Response for delete_port : () 2026-05-12 17:42:10,767 - INFO - Deleting VN ctest-vn1-17403696 2026-05-12 17:42:10,922 - DEBUG - Response for deleting network () 2026-05-12 17:42:11,185 - DEBUG - No XMPP flaps were noticed during the test 2026-05-12 17:42:11,185 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2026-05-12 17:42:11,185 - INFO - -------------------------------------------------------------------------------- 2026-05-12 17:42:11,893 - INFO - Deleted project: ctest-TestPorts-20668720, ID : 28b218c0-646a-4fa4-920f-1bf9ac5fbd65