2026-02-19 23:32:30,449 - INFO - Domain Default found not creating 2026-02-19 23:32:30,594 - INFO - Project ctest-TestPorts-75099889 not found, creating it 2026-02-19 23:32:31,022 - INFO - Created Project:ctest-TestPorts-75099889, ID : 89f6b160-3ad7-4dd8-bdf5-30aae74ef2bf 2026-02-19 23:32:32,432 - INFO - ================================================================================ 2026-02-19 23:32:32,432 - INFO - STARTING TEST : test_ports_bindings 2026-02-19 23:32:32,432 - 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-02-19 23:32:32,686 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-19 23:32:32,686 - INFO - Initial checks done. Running the testcase now 2026-02-19 23:32:32,686 - INFO - 2026-02-19 23:32:33,199 - DEBUG - Response for create_network : {'network': {'id': '076bd4ff-e0fe-4241-834f-bdad422a2e1d', 'name': 'ctest-vn-10734077', 'tenant_id': '89f6b1603ad74dd8bdf530aae74ef2bf', 'project_id': '89f6b1603ad74dd8bdf530aae74ef2bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-75099889', 'ctest-vn-10734077'], 'port_security_enabled': True, 'description': ''}} 2026-02-19 23:32:33,432 - DEBUG - Response for create_subnet : {'subnet': {'id': '313cbc49-9baa-4d91-bcfe-82ddffb886d9', 'name': '', 'tenant_id': '89f6b1603ad74dd8bdf530aae74ef2bf', 'network_id': '076bd4ff-e0fe-4241-834f-bdad422a2e1d', 'ip_version': 4, 'cidr': '16.237.161.128/26', 'allocation_pools': [{'start': '16.237.161.130', 'end': '16.237.161.190'}], 'gateway_ip': '16.237.161.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.237.161.130', 'tags': [], 'project_id': '89f6b1603ad74dd8bdf530aae74ef2bf'}} 2026-02-19 23:32:33,446 - INFO - Created VN ctest-vn-10734077 2026-02-19 23:32:33,497 - DEBUG - VN ctest-vn-10734077 UUID is 076bd4ff-e0fe-4241-834f-bdad422a2e1d 2026-02-19 23:32:33,597 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-75099889', 'ctest-vmi-45132514']} 2026-02-19 23:32:33,864 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-45132514', 'id': '1dd1acb5-5f46-4753-a5cf-3c01ca54bef6', 'tenant_id': '89f6b1603ad74dd8bdf530aae74ef2bf', 'network_id': '076bd4ff-e0fe-4241-834f-bdad422a2e1d', 'mac_address': '02:1d:d1:ac:b5:5f', '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': '16.237.161.131', 'subnet_id': '313cbc49-9baa-4d91-bcfe-82ddffb886d9'}], 'security_groups': ['9788f926-15ec-4049-900e-1430d86e5d9b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '89f6b1603ad74dd8bdf530aae74ef2bf'}} 2026-02-19 23:32:33,864 - DEBUG - Created port 1dd1acb5-5f46-4753-a5cf-3c01ca54bef6 2026-02-19 23:32:33,969 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1dd1acb5-5f46-4753-a5cf-3c01ca54bef6 2026-02-19 23:32:34,262 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1dd1acb5-5f46-4753-a5cf-3c01ca54bef6 2026-02-19 23:32:34,291 - INFO - VMI 1dd1acb5-5f46-4753-a5cf-3c01ca54bef6 verification in API Server passed 2026-02-19 23:32:34,367 - DEBUG - Response for delete_port : () 2026-02-19 23:32:34,367 - INFO - Deleted port 1dd1acb5-5f46-4753-a5cf-3c01ca54bef6 2026-02-19 23:32:34,367 - INFO - Deleting VN ctest-vn-10734077 2026-02-19 23:32:34,463 - DEBUG - Response for deleting network () 2026-02-19 23:32:34,721 - DEBUG - No XMPP flaps were noticed during the test
2026-02-19 23:32:34,721 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-02-19 23:32:34,721 - INFO - -------------------------------------------------------------------------------- 2026-02-19 23:32:34,723 - INFO - ================================================================================ 2026-02-19 23:32:34,723 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-02-19 23:32:34,723 - 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-02-19 23:32:35,009 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-19 23:32:35,009 - INFO - Initial checks done. Running the testcase now 2026-02-19 23:32:35,009 - INFO - 2026-02-19 23:32:35,177 - DEBUG - Response for create_network : {'network': {'id': '1fc7fc1d-f35b-4ed1-8783-e90508fd6080', 'name': 'ctest-vn1-78248181', 'tenant_id': '89f6b1603ad74dd8bdf530aae74ef2bf', 'project_id': '89f6b1603ad74dd8bdf530aae74ef2bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-75099889', 'ctest-vn1-78248181'], 'port_security_enabled': True, 'description': ''}} 2026-02-19 23:32:35,384 - DEBUG - Response for create_subnet : {'subnet': {'id': '65827fa4-5600-4a42-b244-3d6574c6d617', 'name': '', 'tenant_id': '89f6b1603ad74dd8bdf530aae74ef2bf', 'network_id': '1fc7fc1d-f35b-4ed1-8783-e90508fd6080', 'ip_version': 4, 'cidr': '221.143.239.64/26', 'allocation_pools': [{'start': '221.143.239.66', 'end': '221.143.239.126'}], 'gateway_ip': '221.143.239.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.143.239.66', 'tags': [], 'project_id': '89f6b1603ad74dd8bdf530aae74ef2bf'}} 2026-02-19 23:32:35,580 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bcfd2dbd-0400-47dc-a6d6-92d90a437077', 'name': '', 'tenant_id': '89f6b1603ad74dd8bdf530aae74ef2bf', 'network_id': '1fc7fc1d-f35b-4ed1-8783-e90508fd6080', 'ip_version': 4, 'cidr': '95.89.184.64/26', 'allocation_pools': [{'start': '95.89.184.66', 'end': '95.89.184.126'}], 'gateway_ip': '95.89.184.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.89.184.66', 'tags': [], 'project_id': '89f6b1603ad74dd8bdf530aae74ef2bf'}} 2026-02-19 23:32:35,597 - INFO - Created VN ctest-vn1-78248181 2026-02-19 23:32:35,649 - DEBUG - VN ctest-vn1-78248181 UUID is 1fc7fc1d-f35b-4ed1-8783-e90508fd6080 2026-02-19 23:32:35,955 - DEBUG - Response for create_port : {'port': {'name': '285fb450-dccc-44e0-8119-b63cc4b05fb4', 'id': '285fb450-dccc-44e0-8119-b63cc4b05fb4', 'tenant_id': '89f6b1603ad74dd8bdf530aae74ef2bf', 'network_id': '1fc7fc1d-f35b-4ed1-8783-e90508fd6080', 'mac_address': '02:28:5f:b4:50:dc', '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': '221.143.239.69', 'subnet_id': '65827fa4-5600-4a42-b244-3d6574c6d617'}], 'security_groups': ['9788f926-15ec-4049-900e-1430d86e5d9b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '89f6b1603ad74dd8bdf530aae74ef2bf'}} 2026-02-19 23:32:36,107 - DEBUG - Response for create_port : {'port': {'name': '00247505-c97f-4ab6-9c3c-4e51579e7047', 'id': '00247505-c97f-4ab6-9c3c-4e51579e7047', 'tenant_id': '89f6b1603ad74dd8bdf530aae74ef2bf', 'network_id': '1fc7fc1d-f35b-4ed1-8783-e90508fd6080', 'mac_address': '02:00:24:75:05:c9', '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': '95.89.184.69', 'subnet_id': 'bcfd2dbd-0400-47dc-a6d6-92d90a437077'}], 'security_groups': ['9788f926-15ec-4049-900e-1430d86e5d9b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '89f6b1603ad74dd8bdf530aae74ef2bf'}} 2026-02-19 23:32:36,159 - DEBUG - Services list from nova: [, , ] 2026-02-19 23:32:36,460 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5364-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5364-1) 2026-02-19 23:32:36,818 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5364-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5364-1) 2026-02-19 23:32:36,818 - INFO - Waiting for VM ctest-vn1-vm1-03446634 to be up.. 2026-02-19 23:32:36,853 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-19 23:32:41,924 - DEBUG - VM is in ACTIVE state now 2026-02-19 23:32:41,924 - INFO - VM name : ctest-vn1-vm1-03446634 2026-02-19 23:32:41,992 - DEBUG - VM ctest-vn1-vm1-03446634 ID is b25347c0-3616-487c-9e14-0b8334b786bb 2026-02-19 23:32:42,010 - DEBUG - VM ctest-vn1-vm1-03446634 launched on Node cn-jenkins-deploy-platform-ansible-os-5364-1 2026-02-19 23:32:42,072 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b25347c0-3616-487c-9e14-0b8334b786bb 2026-02-19 23:32:42,078 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/285fb450-dccc-44e0-8119-b63cc4b05fb4 2026-02-19 23:32:45,339 - 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 1030ms') 2026-02-19 23:32:45,339 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-03446634 failed! 2026-02-19 23:32:45,393 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-75099889:ctest-vn1-78248181 is 221.143.239.65 and allocation pool is NOT set 2026-02-19 23:32:45,393 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-75099889:ctest-vn1-78248181 is 95.89.184.65 and allocation pool is NOT set 2026-02-19 23:32:47,457 - 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=3.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.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 = 2.732/3.031/3.331/0.299 ms') 2026-02-19 23:32:47,457 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-03446634 passed 2026-02-19 23:32:47,609 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 23:32:47,609 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-03446634, IP 221.143.239.69, Port 22 2026-02-19 23:32:47,664 - 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-02-19 23:32:47,733 - DEBUG - VM ctest-vn1-vm1-03446634 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-19 23:32:52,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 23:32:52,734 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-03446634, IP 221.143.239.69, Port 22 2026-02-19 23:32:52,888 - DEBUG - VM ctest-vn1-vm1-03446634 is ready for SSH connections 2026-02-19 23:32:52,888 - INFO - Waiting for VM ctest-vn1-vm2-61663120 to be up.. 2026-02-19 23:32:53,073 - DEBUG - VM is in ACTIVE state now 2026-02-19 23:32:53,073 - INFO - VM name : ctest-vn1-vm2-61663120 2026-02-19 23:32:53,144 - DEBUG - VM ctest-vn1-vm2-61663120 ID is 4a9edf68-d5b1-4b35-9fdd-737c2406194d 2026-02-19 23:32:53,144 - DEBUG - VM ctest-vn1-vm2-61663120 launched on Node cn-jenkins-deploy-platform-ansible-os-5364-1 2026-02-19 23:32:53,208 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4a9edf68-d5b1-4b35-9fdd-737c2406194d 2026-02-19 23:32:53,215 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/00247505-c97f-4ab6-9c3c-4e51579e7047 2026-02-19 23:32:54,446 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.357 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.357/1.710/3.064/1.353 ms') 2026-02-19 23:32:54,447 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-61663120 passed 2026-02-19 23:32:54,593 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 23:32:54,593 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-61663120, IP 95.89.184.69, Port 22 2026-02-19 23:32:54,749 - DEBUG - VM ctest-vn1-vm2-61663120 is ready for SSH connections 2026-02-19 23:32:54,749 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 23:32:54,749 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 23:32:54,749 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 23:32:54,749 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.143.239.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-19 23:32:54,749 - DEBUG - ping -s 56 -c 3 -W 1 221.143.239.69 2026-02-19 23:32:57,700 - DEBUG - PING 221.143.239.69 (221.143.239.69): 56 data bytes 64 bytes from 221.143.239.69: seq=0 ttl=63 time=3.171 ms 64 bytes from 221.143.239.69: seq=1 ttl=63 time=1.097 ms 64 bytes from 221.143.239.69: seq=2 ttl=63 time=0.919 ms --- 221.143.239.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.919/1.729/3.171 ms 2026-02-19 23:32:57,701 - INFO - Ping to IP 221.143.239.69 from VM ctest-vn1-vm2-61663120 passed 2026-02-19 23:32:57,701 - INFO - Detaching port 00247505-c97f-4ab6-9c3c-4e51579e7047 from VM ctest-vn1-vm2-61663120 2026-02-19 23:32:57,745 - INFO - Deleting VM ctest-vn1-vm2-61663120 2026-02-19 23:32:57,837 - INFO - Detaching port 285fb450-dccc-44e0-8119-b63cc4b05fb4 from VM ctest-vn1-vm1-03446634 2026-02-19 23:32:57,874 - INFO - Deleting VM ctest-vn1-vm1-03446634 2026-02-19 23:32:58,294 - DEBUG - Response for delete_port : () 2026-02-19 23:32:58,439 - DEBUG - Response for delete_port : () 2026-02-19 23:32:58,439 - INFO - Deleting VN ctest-vn1-78248181 2026-02-19 23:32:58,554 - DEBUG - Response for deleting network () 2026-02-19 23:32:58,827 - DEBUG - No XMPP flaps were noticed during the test
2026-02-19 23:32:58,827 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-02-19 23:32:58,827 - INFO - -------------------------------------------------------------------------------- 2026-02-19 23:32:59,504 - INFO - Deleted project: ctest-TestPorts-75099889, ID : 89f6b160-3ad7-4dd8-bdf5-30aae74ef2bf