2026-02-03 21:28:26,689 - INFO - Domain Default found not creating 2026-02-03 21:28:26,829 - INFO - Project ctest-TestPorts-75402223 not found, creating it 2026-02-03 21:28:27,261 - INFO - Created Project:ctest-TestPorts-75402223, ID : 4db44b92-b140-4f8d-9228-155a3779cac3 2026-02-03 21:28:28,737 - INFO - ================================================================================ 2026-02-03 21:28:28,738 - INFO - STARTING TEST : test_ports_bindings 2026-02-03 21:28:28,738 - 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-03 21:28:28,998 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.129': '0'}} with 2026-02-03 21:28:28,998 - INFO - Initial checks done. Running the testcase now 2026-02-03 21:28:28,998 - INFO - 2026-02-03 21:28:29,535 - DEBUG - Response for create_network : {'network': {'id': '09c460b1-3e13-4ca1-85d6-3fc9b22a5d7b', 'name': 'ctest-vn-48057938', 'tenant_id': '4db44b92b1404f8d9228155a3779cac3', 'project_id': '4db44b92b1404f8d9228155a3779cac3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-75402223', 'ctest-vn-48057938'], 'port_security_enabled': True, 'description': ''}} 2026-02-03 21:28:29,742 - DEBUG - Response for create_subnet : {'subnet': {'id': '91339eda-6e71-4cad-88f3-725d3db04234', 'name': '', 'tenant_id': '4db44b92b1404f8d9228155a3779cac3', 'network_id': '09c460b1-3e13-4ca1-85d6-3fc9b22a5d7b', 'ip_version': 4, 'cidr': '32.37.17.64/26', 'allocation_pools': [{'start': '32.37.17.66', 'end': '32.37.17.126'}], 'gateway_ip': '32.37.17.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.37.17.66', 'tags': [], 'project_id': '4db44b92b1404f8d9228155a3779cac3'}} 2026-02-03 21:28:29,756 - INFO - Created VN ctest-vn-48057938 2026-02-03 21:28:29,805 - DEBUG - VN ctest-vn-48057938 UUID is 09c460b1-3e13-4ca1-85d6-3fc9b22a5d7b 2026-02-03 21:28:29,902 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-75402223', 'ctest-vmi-64507207']} 2026-02-03 21:28:30,175 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-64507207', 'id': '6b6e1892-85d4-4a01-be1e-babe0cb9b3a0', 'tenant_id': '4db44b92b1404f8d9228155a3779cac3', 'network_id': '09c460b1-3e13-4ca1-85d6-3fc9b22a5d7b', 'mac_address': '02:6b:6e:18:92:85', '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': '32.37.17.67', 'subnet_id': '91339eda-6e71-4cad-88f3-725d3db04234'}], 'security_groups': ['dc28ef50-bc43-4d27-9fdf-bc83e52911d5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4db44b92b1404f8d9228155a3779cac3'}} 2026-02-03 21:28:30,175 - DEBUG - Created port 6b6e1892-85d4-4a01-be1e-babe0cb9b3a0 2026-02-03 21:28:30,277 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/6b6e1892-85d4-4a01-be1e-babe0cb9b3a0 2026-02-03 21:28:30,572 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/6b6e1892-85d4-4a01-be1e-babe0cb9b3a0 2026-02-03 21:28:30,608 - INFO - VMI 6b6e1892-85d4-4a01-be1e-babe0cb9b3a0 verification in API Server passed 2026-02-03 21:28:30,708 - DEBUG - Response for delete_port : () 2026-02-03 21:28:30,708 - INFO - Deleted port 6b6e1892-85d4-4a01-be1e-babe0cb9b3a0 2026-02-03 21:28:30,709 - INFO - Deleting VN ctest-vn-48057938 2026-02-03 21:28:30,809 - DEBUG - Response for deleting network () 2026-02-03 21:28:31,062 - DEBUG - No XMPP flaps were noticed during the test
2026-02-03 21:28:31,062 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-02-03 21:28:31,062 - INFO - -------------------------------------------------------------------------------- 2026-02-03 21:28:31,066 - INFO - ================================================================================ 2026-02-03 21:28:31,066 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-02-03 21:28:31,066 - 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-03 21:28:31,350 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.129': '0'}} with 2026-02-03 21:28:31,350 - INFO - Initial checks done. Running the testcase now 2026-02-03 21:28:31,350 - INFO - 2026-02-03 21:28:31,527 - DEBUG - Response for create_network : {'network': {'id': '504d30ef-24a9-455a-8086-a85e9017700d', 'name': 'ctest-vn1-06714697', 'tenant_id': '4db44b92b1404f8d9228155a3779cac3', 'project_id': '4db44b92b1404f8d9228155a3779cac3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-75402223', 'ctest-vn1-06714697'], 'port_security_enabled': True, 'description': ''}} 2026-02-03 21:28:31,677 - DEBUG - Response for create_subnet : {'subnet': {'id': '46b113b0-bb36-4a65-acfe-9f86937a93f9', 'name': '', 'tenant_id': '4db44b92b1404f8d9228155a3779cac3', 'network_id': '504d30ef-24a9-455a-8086-a85e9017700d', 'ip_version': 4, 'cidr': '205.245.181.64/26', 'allocation_pools': [{'start': '205.245.181.66', 'end': '205.245.181.126'}], 'gateway_ip': '205.245.181.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.245.181.66', 'tags': [], 'project_id': '4db44b92b1404f8d9228155a3779cac3'}} 2026-02-03 21:28:31,875 - DEBUG - Response for create_subnet : {'subnet': {'id': '80f1b430-90f0-4675-a872-d9f75b0312a6', 'name': '', 'tenant_id': '4db44b92b1404f8d9228155a3779cac3', 'network_id': '504d30ef-24a9-455a-8086-a85e9017700d', 'ip_version': 4, 'cidr': '77.132.211.64/26', 'allocation_pools': [{'start': '77.132.211.66', 'end': '77.132.211.126'}], 'gateway_ip': '77.132.211.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.132.211.66', 'tags': [], 'project_id': '4db44b92b1404f8d9228155a3779cac3'}} 2026-02-03 21:28:31,891 - INFO - Created VN ctest-vn1-06714697 2026-02-03 21:28:31,941 - DEBUG - VN ctest-vn1-06714697 UUID is 504d30ef-24a9-455a-8086-a85e9017700d 2026-02-03 21:28:32,215 - DEBUG - Response for create_port : {'port': {'name': 'dad6e2c0-e7f8-4957-a612-844f22d94b69', 'id': 'dad6e2c0-e7f8-4957-a612-844f22d94b69', 'tenant_id': '4db44b92b1404f8d9228155a3779cac3', 'network_id': '504d30ef-24a9-455a-8086-a85e9017700d', 'mac_address': '02:da:d6:e2:c0:e7', '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': '205.245.181.69', 'subnet_id': '46b113b0-bb36-4a65-acfe-9f86937a93f9'}], 'security_groups': ['dc28ef50-bc43-4d27-9fdf-bc83e52911d5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4db44b92b1404f8d9228155a3779cac3'}} 2026-02-03 21:28:32,375 - DEBUG - Response for create_port : {'port': {'name': '12468be7-522e-45cb-80a8-3d204d662709', 'id': '12468be7-522e-45cb-80a8-3d204d662709', 'tenant_id': '4db44b92b1404f8d9228155a3779cac3', 'network_id': '504d30ef-24a9-455a-8086-a85e9017700d', 'mac_address': '02:12:46:8b:e7:52', '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': '77.132.211.69', 'subnet_id': '80f1b430-90f0-4675-a872-d9f75b0312a6'}], 'security_groups': ['dc28ef50-bc43-4d27-9fdf-bc83e52911d5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4db44b92b1404f8d9228155a3779cac3'}} 2026-02-03 21:28:32,427 - DEBUG - Services list from nova: [, , ] 2026-02-03 21:28:32,742 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5198-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5198-1) 2026-02-03 21:28:33,105 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5198-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5198-1) 2026-02-03 21:28:33,106 - INFO - Waiting for VM ctest-vn1-vm1-76205020 to be up.. 2026-02-03 21:28:33,142 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-03 21:28:38,211 - DEBUG - VM is in ACTIVE state now 2026-02-03 21:28:38,211 - INFO - VM name : ctest-vn1-vm1-76205020 2026-02-03 21:28:38,298 - DEBUG - VM ctest-vn1-vm1-76205020 ID is 5e964652-3e9e-4058-8cd5-5242babaf0aa 2026-02-03 21:28:38,318 - DEBUG - VM ctest-vn1-vm1-76205020 launched on Node cn-jenkins-deploy-platform-ansible-os-5198-1 2026-02-03 21:28:38,389 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5e964652-3e9e-4058-8cd5-5242babaf0aa 2026-02-03 21:28:38,396 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/dad6e2c0-e7f8-4957-a612-844f22d94b69 2026-02-03 21:28:41,659 - 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 1031ms') 2026-02-03 21:28:41,660 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76205020 failed! 2026-02-03 21:28:41,713 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-75402223:ctest-vn1-06714697 is 205.245.181.65 and allocation pool is NOT set 2026-02-03 21:28:41,713 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-75402223:ctest-vn1-06714697 is 77.132.211.65 and allocation pool is NOT set 2026-02-03 21:28:43,773 - 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=4.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.29 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.292/2.703/4.115/1.411 ms') 2026-02-03 21:28:43,773 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76205020 passed 2026-02-03 21:28:43,921 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 21:28:43,921 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-76205020, IP 205.245.181.69, Port 22 2026-02-03 21:28:43,987 - 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-03 21:28:44,061 - DEBUG - VM ctest-vn1-vm1-76205020 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-03 21:28:49,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 21:28:49,062 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-76205020, IP 205.245.181.69, Port 22 2026-02-03 21:28:49,217 - DEBUG - VM ctest-vn1-vm1-76205020 is ready for SSH connections 2026-02-03 21:28:49,217 - INFO - Waiting for VM ctest-vn1-vm2-08763390 to be up.. 2026-02-03 21:28:49,291 - DEBUG - VM is in ACTIVE state now 2026-02-03 21:28:49,291 - INFO - VM name : ctest-vn1-vm2-08763390 2026-02-03 21:28:49,360 - DEBUG - VM ctest-vn1-vm2-08763390 ID is fd85a0a4-5909-4ea7-b7c2-29e28aee5463 2026-02-03 21:28:49,361 - DEBUG - VM ctest-vn1-vm2-08763390 launched on Node cn-jenkins-deploy-platform-ansible-os-5198-1 2026-02-03 21:28:49,435 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/fd85a0a4-5909-4ea7-b7c2-29e28aee5463 2026-02-03 21:28:49,442 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/12468be7-522e-45cb-80a8-3d204d662709 2026-02-03 21:28:50,669 - 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=2.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.328 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.328/1.601/2.874/1.273 ms') 2026-02-03 21:28:50,669 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-08763390 passed 2026-02-03 21:28:50,817 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 21:28:50,818 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-08763390, IP 77.132.211.69, Port 22 2026-02-03 21:28:50,973 - DEBUG - VM ctest-vn1-vm2-08763390 is ready for SSH connections 2026-02-03 21:28:50,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 21:28:50,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 21:28:50,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 21:28:50,973 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.245.181.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-02-03 21:28:50,973 - DEBUG - ping -s 56 -c 3 -W 1 205.245.181.69 2026-02-03 21:28:53,902 - DEBUG - PING 205.245.181.69 (205.245.181.69): 56 data bytes 64 bytes from 205.245.181.69: seq=0 ttl=63 time=4.847 ms 64 bytes from 205.245.181.69: seq=1 ttl=63 time=0.966 ms 64 bytes from 205.245.181.69: seq=2 ttl=63 time=1.046 ms --- 205.245.181.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.966/2.286/4.847 ms 2026-02-03 21:28:53,902 - INFO - Ping to IP 205.245.181.69 from VM ctest-vn1-vm2-08763390 passed 2026-02-03 21:28:53,902 - INFO - Detaching port 12468be7-522e-45cb-80a8-3d204d662709 from VM ctest-vn1-vm2-08763390 2026-02-03 21:28:53,949 - INFO - Deleting VM ctest-vn1-vm2-08763390 2026-02-03 21:28:54,014 - INFO - Detaching port dad6e2c0-e7f8-4957-a612-844f22d94b69 from VM ctest-vn1-vm1-76205020 2026-02-03 21:28:54,047 - INFO - Deleting VM ctest-vn1-vm1-76205020 2026-02-03 21:28:54,270 - DEBUG - Response for delete_port : () 2026-02-03 21:28:54,427 - DEBUG - Response for delete_port : () 2026-02-03 21:28:54,427 - INFO - Deleting VN ctest-vn1-06714697 2026-02-03 21:28:54,572 - DEBUG - Response for deleting network () 2026-02-03 21:28:54,831 - DEBUG - No XMPP flaps were noticed during the test
2026-02-03 21:28:54,831 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2026-02-03 21:28:54,831 - INFO - -------------------------------------------------------------------------------- 2026-02-03 21:28:55,522 - INFO - Deleted project: ctest-TestPorts-75402223, ID : 4db44b92-b140-4f8d-9228-155a3779cac3