2026-06-01 15:35:54,527 - INFO - Domain Default found not creating 2026-06-01 15:35:54,727 - INFO - Project ctest-TestPorts-88122791 not found, creating it 2026-06-01 15:35:55,234 - INFO - Created Project:ctest-TestPorts-88122791, ID : f3c0361b-8e7f-472f-9a8e-efafa87c95ee 2026-06-01 15:35:56,997 - INFO - ================================================================================ 2026-06-01 15:35:56,997 - INFO - STARTING TEST : test_ports_bindings 2026-06-01 15:35:56,997 - 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-01 15:35:57,263 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.129': '0'}} with 2026-06-01 15:35:57,263 - INFO - Initial checks done. Running the testcase now 2026-06-01 15:35:57,263 - INFO - 2026-06-01 15:35:57,875 - DEBUG - Response for create_network : {'network': {'id': 'b87374b4-6ca9-47cd-945f-c3055212d66c', 'name': 'ctest-vn-24177802', 'tenant_id': 'f3c0361b8e7f472f9a8eefafa87c95ee', 'project_id': 'f3c0361b8e7f472f9a8eefafa87c95ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-88122791', 'ctest-vn-24177802'], 'port_security_enabled': True, 'description': ''}} 2026-06-01 15:35:58,092 - DEBUG - Response for create_subnet : {'subnet': {'id': '08904af4-3a5e-4d2d-822d-71fa2c4d9ec9', 'name': '', 'tenant_id': 'f3c0361b8e7f472f9a8eefafa87c95ee', 'network_id': 'b87374b4-6ca9-47cd-945f-c3055212d66c', 'ip_version': 4, 'cidr': '157.242.246.64/26', 'allocation_pools': [{'start': '157.242.246.66', 'end': '157.242.246.126'}], 'gateway_ip': '157.242.246.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.242.246.66', 'tags': [], 'project_id': 'f3c0361b8e7f472f9a8eefafa87c95ee'}} 2026-06-01 15:35:58,112 - INFO - Created VN ctest-vn-24177802 2026-06-01 15:35:58,165 - DEBUG - VN ctest-vn-24177802 UUID is b87374b4-6ca9-47cd-945f-c3055212d66c 2026-06-01 15:35:58,285 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-88122791', 'ctest-vmi-36899641']} 2026-06-01 15:35:58,544 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-36899641', 'id': '8279110c-c47a-4cc9-9f47-31e2d016c678', 'tenant_id': 'f3c0361b8e7f472f9a8eefafa87c95ee', 'network_id': 'b87374b4-6ca9-47cd-945f-c3055212d66c', 'mac_address': '02:82:79:11:0c:c4', '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': '157.242.246.67', 'subnet_id': '08904af4-3a5e-4d2d-822d-71fa2c4d9ec9'}], 'security_groups': ['8da63113-21ef-4dd2-8bf1-fdeb19957641'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f3c0361b8e7f472f9a8eefafa87c95ee'}} 2026-06-01 15:35:58,544 - DEBUG - Created port 8279110c-c47a-4cc9-9f47-31e2d016c678 2026-06-01 15:35:58,653 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/8279110c-c47a-4cc9-9f47-31e2d016c678 2026-06-01 15:35:58,959 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/8279110c-c47a-4cc9-9f47-31e2d016c678 2026-06-01 15:35:58,995 - INFO - VMI 8279110c-c47a-4cc9-9f47-31e2d016c678 verification in API Server passed 2026-06-01 15:35:59,100 - DEBUG - Response for delete_port : () 2026-06-01 15:35:59,100 - INFO - Deleted port 8279110c-c47a-4cc9-9f47-31e2d016c678 2026-06-01 15:35:59,100 - INFO - Deleting VN ctest-vn-24177802 2026-06-01 15:35:59,216 - DEBUG - Response for deleting network () 2026-06-01 15:35:59,476 - DEBUG - No XMPP flaps were noticed during the test
2026-06-01 15:35:59,476 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-06-01 15:35:59,476 - INFO - -------------------------------------------------------------------------------- 2026-06-01 15:35:59,479 - INFO - ================================================================================ 2026-06-01 15:35:59,479 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-06-01 15:35:59,479 - 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-01 15:35:59,777 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.129': '0'}} with 2026-06-01 15:35:59,777 - INFO - Initial checks done. Running the testcase now 2026-06-01 15:35:59,777 - INFO - 2026-06-01 15:35:59,981 - DEBUG - Response for create_network : {'network': {'id': '4f9b3097-a63e-4fbe-8284-80a628e2ff9b', 'name': 'ctest-vn1-80318154', 'tenant_id': 'f3c0361b8e7f472f9a8eefafa87c95ee', 'project_id': 'f3c0361b8e7f472f9a8eefafa87c95ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-88122791', 'ctest-vn1-80318154'], 'port_security_enabled': True, 'description': ''}} 2026-06-01 15:36:00,179 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db3efb14-834e-484a-95e4-82d558fe68e7', 'name': '', 'tenant_id': 'f3c0361b8e7f472f9a8eefafa87c95ee', 'network_id': '4f9b3097-a63e-4fbe-8284-80a628e2ff9b', 'ip_version': 4, 'cidr': '192.67.172.192/26', 'allocation_pools': [{'start': '192.67.172.194', 'end': '192.67.172.254'}], 'gateway_ip': '192.67.172.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.67.172.194', 'tags': [], 'project_id': 'f3c0361b8e7f472f9a8eefafa87c95ee'}} 2026-06-01 15:36:00,323 - DEBUG - Response for create_subnet : {'subnet': {'id': '1d133383-7b19-4a07-84ca-cc9369be5d38', 'name': '', 'tenant_id': 'f3c0361b8e7f472f9a8eefafa87c95ee', 'network_id': '4f9b3097-a63e-4fbe-8284-80a628e2ff9b', 'ip_version': 4, 'cidr': '215.101.240.64/26', 'allocation_pools': [{'start': '215.101.240.66', 'end': '215.101.240.126'}], 'gateway_ip': '215.101.240.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.101.240.66', 'tags': [], 'project_id': 'f3c0361b8e7f472f9a8eefafa87c95ee'}} 2026-06-01 15:36:00,347 - INFO - Created VN ctest-vn1-80318154 2026-06-01 15:36:00,401 - DEBUG - VN ctest-vn1-80318154 UUID is 4f9b3097-a63e-4fbe-8284-80a628e2ff9b 2026-06-01 15:36:00,752 - DEBUG - Response for create_port : {'port': {'name': 'd96f3c4e-e4f1-48bd-9d05-6546d879acc8', 'id': 'd96f3c4e-e4f1-48bd-9d05-6546d879acc8', 'tenant_id': 'f3c0361b8e7f472f9a8eefafa87c95ee', 'network_id': '4f9b3097-a63e-4fbe-8284-80a628e2ff9b', 'mac_address': '02:d9:6f:3c:4e:e4', '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': '192.67.172.197', 'subnet_id': 'db3efb14-834e-484a-95e4-82d558fe68e7'}], 'security_groups': ['8da63113-21ef-4dd2-8bf1-fdeb19957641'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f3c0361b8e7f472f9a8eefafa87c95ee'}} 2026-06-01 15:36:00,960 - DEBUG - Response for create_port : {'port': {'name': '0dfa4573-308e-4a9d-9c29-ffec5bac0240', 'id': '0dfa4573-308e-4a9d-9c29-ffec5bac0240', 'tenant_id': 'f3c0361b8e7f472f9a8eefafa87c95ee', 'network_id': '4f9b3097-a63e-4fbe-8284-80a628e2ff9b', 'mac_address': '02:0d:fa:45:73:30', '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': '215.101.240.69', 'subnet_id': '1d133383-7b19-4a07-84ca-cc9369be5d38'}], 'security_groups': ['8da63113-21ef-4dd2-8bf1-fdeb19957641'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f3c0361b8e7f472f9a8eefafa87c95ee'}} 2026-06-01 15:36:01,032 - DEBUG - Services list from nova: [, , ] 2026-06-01 15:36:01,500 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5871-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5871-1) 2026-06-01 15:36:02,035 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5871-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5871-1) 2026-06-01 15:36:02,035 - INFO - Waiting for VM ctest-vn1-vm1-63757639 to be up.. 2026-06-01 15:36:02,085 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-01 15:36:07,172 - DEBUG - VM is in ACTIVE state now 2026-06-01 15:36:07,172 - INFO - VM name : ctest-vn1-vm1-63757639 2026-06-01 15:36:07,256 - DEBUG - VM ctest-vn1-vm1-63757639 ID is 1edda2ac-db53-4e28-bf2a-8e85c6dba998 2026-06-01 15:36:07,275 - DEBUG - VM ctest-vn1-vm1-63757639 launched on Node cn-jenkins-deploy-platform-ansible-os-5871-1 2026-06-01 15:36:07,370 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/1edda2ac-db53-4e28-bf2a-8e85c6dba998 2026-06-01 15:36:07,380 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/d96f3c4e-e4f1-48bd-9d05-6546d879acc8 2026-06-01 15:36:10,628 - 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-06-01 15:36:10,628 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63757639 failed! 2026-06-01 15:36:10,685 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-88122791:ctest-vn1-80318154 is 192.67.172.193 and allocation pool is NOT set 2026-06-01 15:36:10,686 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-88122791:ctest-vn1-80318154 is 215.101.240.65 and allocation pool is NOT set 2026-06-01 15:36:14,754 - 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=2 ttl=63 time=4.19 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 4.185/4.185/4.185/0.000 ms') 2026-06-01 15:36:14,754 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63757639 passed 2026-06-01 15:36:14,917 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 15:36:14,917 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-63757639, IP 192.67.172.197, Port 22 2026-06-01 15:36:14,983 - 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-01 15:36:15,069 - DEBUG - VM ctest-vn1-vm1-63757639 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-01 15:36:20,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 15:36:20,070 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-63757639, IP 192.67.172.197, Port 22 2026-06-01 15:36:20,225 - DEBUG - VM ctest-vn1-vm1-63757639 is ready for SSH connections 2026-06-01 15:36:20,225 - INFO - Waiting for VM ctest-vn1-vm2-96460419 to be up.. 2026-06-01 15:36:20,306 - DEBUG - VM is in ACTIVE state now 2026-06-01 15:36:20,306 - INFO - VM name : ctest-vn1-vm2-96460419 2026-06-01 15:36:20,393 - DEBUG - VM ctest-vn1-vm2-96460419 ID is 32d0f6f2-4080-4bd8-83e9-5789f79a42f7 2026-06-01 15:36:20,393 - DEBUG - VM ctest-vn1-vm2-96460419 launched on Node cn-jenkins-deploy-platform-ansible-os-5871-1 2026-06-01 15:36:20,485 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/32d0f6f2-4080-4bd8-83e9-5789f79a42f7 2026-06-01 15:36:20,494 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/0dfa4573-308e-4a9d-9c29-ffec5bac0240 2026-06-01 15:36:21,739 - 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.446 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.446/1.753/3.060/1.307 ms') 2026-06-01 15:36:21,739 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-96460419 passed 2026-06-01 15:36:21,893 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 15:36:21,893 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-96460419, IP 215.101.240.69, Port 22 2026-06-01 15:36:22,050 - DEBUG - VM ctest-vn1-vm2-96460419 is ready for SSH connections 2026-06-01 15:36:22,050 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 15:36:22,050 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 15:36:22,050 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 15:36:22,050 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.67.172.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2026-06-01 15:36:22,050 - DEBUG - ping -s 56 -c 3 -W 1 192.67.172.197 2026-06-01 15:36:24,746 - DEBUG - PING 192.67.172.197 (192.67.172.197): 56 data bytes 64 bytes from 192.67.172.197: seq=0 ttl=63 time=3.768 ms 64 bytes from 192.67.172.197: seq=1 ttl=63 time=1.044 ms 64 bytes from 192.67.172.197: seq=2 ttl=63 time=1.078 ms --- 192.67.172.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.044/1.963/3.768 ms 2026-06-01 15:36:24,746 - INFO - Ping to IP 192.67.172.197 from VM ctest-vn1-vm2-96460419 passed 2026-06-01 15:36:24,746 - INFO - Detaching port 0dfa4573-308e-4a9d-9c29-ffec5bac0240 from VM ctest-vn1-vm2-96460419 2026-06-01 15:36:24,811 - INFO - Deleting VM ctest-vn1-vm2-96460419 2026-06-01 15:36:24,896 - INFO - Detaching port d96f3c4e-e4f1-48bd-9d05-6546d879acc8 from VM ctest-vn1-vm1-63757639 2026-06-01 15:36:24,944 - INFO - Deleting VM ctest-vn1-vm1-63757639 2026-06-01 15:36:25,244 - DEBUG - Response for delete_port : () 2026-06-01 15:36:25,438 - DEBUG - Response for delete_port : () 2026-06-01 15:36:25,438 - INFO - Deleting VN ctest-vn1-80318154 2026-06-01 15:36:25,592 - DEBUG - Response for deleting network () 2026-06-01 15:36:25,856 - DEBUG - No XMPP flaps were noticed during the test
2026-06-01 15:36:25,856 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2026-06-01 15:36:25,857 - INFO - -------------------------------------------------------------------------------- 2026-06-01 15:36:26,627 - INFO - Deleted project: ctest-TestPorts-88122791, ID : f3c0361b-8e7f-472f-9a8e-efafa87c95ee