2026-01-22 10:23:19,397 - INFO - Domain Default found not creating 2026-01-22 10:23:19,603 - INFO - Project ctest-TestPorts-00806918 not found, creating it 2026-01-22 10:23:20,134 - INFO - Created Project:ctest-TestPorts-00806918, ID : ec16246d-aabc-4270-9607-8e060c1559a7 2026-01-22 10:23:21,844 - INFO - ================================================================================ 2026-01-22 10:23:21,844 - INFO - STARTING TEST : test_ports_bindings 2026-01-22 10:23:21,845 - 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-01-22 10:23:22,107 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.5': '0'}} with 2026-01-22 10:23:22,107 - INFO - Initial checks done. Running the testcase now 2026-01-22 10:23:22,107 - INFO - 2026-01-22 10:23:22,716 - DEBUG - Response for create_network : {'network': {'id': '352d90c2-ac04-4d22-9622-744fd84bf78f', 'name': 'ctest-vn-37559311', 'tenant_id': 'ec16246daabc427096078e060c1559a7', 'project_id': 'ec16246daabc427096078e060c1559a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-00806918', 'ctest-vn-37559311'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 10:23:22,904 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a441aacb-4647-4b12-9c17-b122d5f7050f', 'name': '', 'tenant_id': 'ec16246daabc427096078e060c1559a7', 'network_id': '352d90c2-ac04-4d22-9622-744fd84bf78f', 'ip_version': 4, 'cidr': '12.153.89.128/26', 'allocation_pools': [{'start': '12.153.89.130', 'end': '12.153.89.190'}], 'gateway_ip': '12.153.89.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.153.89.130', 'tags': [], 'project_id': 'ec16246daabc427096078e060c1559a7'}} 2026-01-22 10:23:22,926 - INFO - Created VN ctest-vn-37559311 2026-01-22 10:23:22,982 - DEBUG - VN ctest-vn-37559311 UUID is 352d90c2-ac04-4d22-9622-744fd84bf78f 2026-01-22 10:23:23,108 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-00806918', 'ctest-vmi-44865410']} 2026-01-22 10:23:23,363 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-44865410', 'id': '2eda11de-51c0-4a20-9e24-2fa569114365', 'tenant_id': 'ec16246daabc427096078e060c1559a7', 'network_id': '352d90c2-ac04-4d22-9622-744fd84bf78f', 'mac_address': '02:2e:da:11:de:51', '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': '12.153.89.131', 'subnet_id': 'a441aacb-4647-4b12-9c17-b122d5f7050f'}], 'security_groups': ['f4802a31-04a6-47a5-b929-1b98846f0019'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ec16246daabc427096078e060c1559a7'}} 2026-01-22 10:23:23,363 - DEBUG - Created port 2eda11de-51c0-4a20-9e24-2fa569114365 2026-01-22 10:23:23,470 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2eda11de-51c0-4a20-9e24-2fa569114365 2026-01-22 10:23:23,782 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2eda11de-51c0-4a20-9e24-2fa569114365 2026-01-22 10:23:23,826 - INFO - VMI 2eda11de-51c0-4a20-9e24-2fa569114365 verification in API Server passed 2026-01-22 10:23:23,940 - DEBUG - Response for delete_port : () 2026-01-22 10:23:23,941 - INFO - Deleted port 2eda11de-51c0-4a20-9e24-2fa569114365 2026-01-22 10:23:23,941 - INFO - Deleting VN ctest-vn-37559311 2026-01-22 10:23:24,076 - DEBUG - Response for deleting network () 2026-01-22 10:23:24,341 - DEBUG - No XMPP flaps were noticed during the test
2026-01-22 10:23:24,341 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-01-22 10:23:24,341 - INFO - -------------------------------------------------------------------------------- 2026-01-22 10:23:24,344 - INFO - ================================================================================ 2026-01-22 10:23:24,344 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-01-22 10:23:24,344 - 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-01-22 10:23:24,632 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.5': '0'}} with 2026-01-22 10:23:24,632 - INFO - Initial checks done. Running the testcase now 2026-01-22 10:23:24,632 - INFO - 2026-01-22 10:23:24,831 - DEBUG - Response for create_network : {'network': {'id': 'a61211f1-1524-4831-890b-d8e4f8e413cf', 'name': 'ctest-vn1-63933435', 'tenant_id': 'ec16246daabc427096078e060c1559a7', 'project_id': 'ec16246daabc427096078e060c1559a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-00806918', 'ctest-vn1-63933435'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 10:23:25,024 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5f51db6-cd27-46fe-9265-57963250c60e', 'name': '', 'tenant_id': 'ec16246daabc427096078e060c1559a7', 'network_id': 'a61211f1-1524-4831-890b-d8e4f8e413cf', 'ip_version': 4, 'cidr': '213.112.63.64/26', 'allocation_pools': [{'start': '213.112.63.66', 'end': '213.112.63.126'}], 'gateway_ip': '213.112.63.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.112.63.66', 'tags': [], 'project_id': 'ec16246daabc427096078e060c1559a7'}} 2026-01-22 10:23:25,185 - DEBUG - Response for create_subnet : {'subnet': {'id': '11dec9d3-ed37-43c1-ab90-fa84eb303299', 'name': '', 'tenant_id': 'ec16246daabc427096078e060c1559a7', 'network_id': 'a61211f1-1524-4831-890b-d8e4f8e413cf', 'ip_version': 4, 'cidr': '5.209.255.128/26', 'allocation_pools': [{'start': '5.209.255.130', 'end': '5.209.255.190'}], 'gateway_ip': '5.209.255.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.209.255.130', 'tags': [], 'project_id': 'ec16246daabc427096078e060c1559a7'}} 2026-01-22 10:23:25,208 - INFO - Created VN ctest-vn1-63933435 2026-01-22 10:23:25,262 - DEBUG - VN ctest-vn1-63933435 UUID is a61211f1-1524-4831-890b-d8e4f8e413cf 2026-01-22 10:23:25,611 - DEBUG - Response for create_port : {'port': {'name': '1929588f-0d93-4cc3-bb1b-a7faf7497049', 'id': '1929588f-0d93-4cc3-bb1b-a7faf7497049', 'tenant_id': 'ec16246daabc427096078e060c1559a7', 'network_id': 'a61211f1-1524-4831-890b-d8e4f8e413cf', 'mac_address': '02:19:29:58:8f:0d', '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': '213.112.63.69', 'subnet_id': 'c5f51db6-cd27-46fe-9265-57963250c60e'}], 'security_groups': ['f4802a31-04a6-47a5-b929-1b98846f0019'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ec16246daabc427096078e060c1559a7'}} 2026-01-22 10:23:25,798 - DEBUG - Response for create_port : {'port': {'name': '16c37435-3ce7-4153-83c8-1cd7afc50a12', 'id': '16c37435-3ce7-4153-83c8-1cd7afc50a12', 'tenant_id': 'ec16246daabc427096078e060c1559a7', 'network_id': 'a61211f1-1524-4831-890b-d8e4f8e413cf', 'mac_address': '02:16:c3:74:35:3c', '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': '5.209.255.133', 'subnet_id': '11dec9d3-ed37-43c1-ab90-fa84eb303299'}], 'security_groups': ['f4802a31-04a6-47a5-b929-1b98846f0019'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ec16246daabc427096078e060c1559a7'}} 2026-01-22 10:23:25,868 - DEBUG - Services list from nova: [, , ] 2026-01-22 10:23:26,276 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5061-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5061-1) 2026-01-22 10:23:26,767 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5061-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5061-1) 2026-01-22 10:23:26,767 - INFO - Waiting for VM ctest-vn1-vm1-84814694 to be up.. 2026-01-22 10:23:26,819 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-22 10:23:31,907 - DEBUG - VM is in ACTIVE state now 2026-01-22 10:23:31,907 - INFO - VM name : ctest-vn1-vm1-84814694 2026-01-22 10:23:31,992 - DEBUG - VM ctest-vn1-vm1-84814694 ID is 2f8dcc3b-3c58-40fe-867e-29d1b98968e9 2026-01-22 10:23:32,016 - DEBUG - VM ctest-vn1-vm1-84814694 launched on Node cn-jenkins-deploy-platform-ansible-os-5061-1 2026-01-22 10:23:32,113 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2f8dcc3b-3c58-40fe-867e-29d1b98968e9 2026-01-22 10:23:32,123 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1929588f-0d93-4cc3-bb1b-a7faf7497049 2026-01-22 10:23:35,377 - 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 1002ms') 2026-01-22 10:23:35,377 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84814694 failed! 2026-01-22 10:23:35,434 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-00806918:ctest-vn1-63933435 is 213.112.63.65 and allocation pool is NOT set 2026-01-22 10:23:35,434 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-00806918:ctest-vn1-63933435 is 5.209.255.129 and allocation pool is NOT set 2026-01-22 10:23:39,501 - 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=10.7 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 10.730/10.730/10.730/0.000 ms') 2026-01-22 10:23:39,501 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84814694 passed 2026-01-22 10:23:39,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 10:23:39,654 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-84814694, IP 213.112.63.69, Port 22 2026-01-22 10:23:39,720 - 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-01-22 10:23:39,819 - DEBUG - VM ctest-vn1-vm1-84814694 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-22 10:23:44,819 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 10:23:44,819 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-84814694, IP 213.112.63.69, Port 22 2026-01-22 10:23:44,989 - DEBUG - VM ctest-vn1-vm1-84814694 is ready for SSH connections 2026-01-22 10:23:44,989 - INFO - Waiting for VM ctest-vn1-vm2-80878468 to be up.. 2026-01-22 10:23:45,084 - DEBUG - VM is in ACTIVE state now 2026-01-22 10:23:45,084 - INFO - VM name : ctest-vn1-vm2-80878468 2026-01-22 10:23:45,180 - DEBUG - VM ctest-vn1-vm2-80878468 ID is c3058c6d-e281-4534-92ee-0d7af2f52926 2026-01-22 10:23:45,180 - DEBUG - VM ctest-vn1-vm2-80878468 launched on Node cn-jenkins-deploy-platform-ansible-os-5061-1 2026-01-22 10:23:45,267 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c3058c6d-e281-4534-92ee-0d7af2f52926 2026-01-22 10:23:45,277 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/16c37435-3ce7-4153-83c8-1cd7afc50a12 2026-01-22 10:23:46,532 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.577 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.577/2.111/3.645/1.534 ms') 2026-01-22 10:23:46,532 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-80878468 passed 2026-01-22 10:23:46,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 10:23:46,687 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-80878468, IP 5.209.255.133, Port 22 2026-01-22 10:23:46,842 - DEBUG - VM ctest-vn1-vm2-80878468 is ready for SSH connections 2026-01-22 10:23:46,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 10:23:46,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 10:23:46,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 10:23:46,842 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.112.63.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-22 10:23:46,842 - DEBUG - ping -s 56 -c 3 -W 1 213.112.63.69 2026-01-22 10:23:49,888 - DEBUG - PING 213.112.63.69 (213.112.63.69): 56 data bytes 64 bytes from 213.112.63.69: seq=0 ttl=63 time=5.026 ms 64 bytes from 213.112.63.69: seq=1 ttl=63 time=1.535 ms 64 bytes from 213.112.63.69: seq=2 ttl=63 time=1.139 ms --- 213.112.63.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.139/2.566/5.026 ms 2026-01-22 10:23:49,888 - INFO - Ping to IP 213.112.63.69 from VM ctest-vn1-vm2-80878468 passed 2026-01-22 10:23:49,888 - INFO - Detaching port 16c37435-3ce7-4153-83c8-1cd7afc50a12 from VM ctest-vn1-vm2-80878468 2026-01-22 10:23:49,941 - INFO - Deleting VM ctest-vn1-vm2-80878468 2026-01-22 10:23:50,035 - INFO - Detaching port 1929588f-0d93-4cc3-bb1b-a7faf7497049 from VM ctest-vn1-vm1-84814694 2026-01-22 10:23:50,082 - INFO - Deleting VM ctest-vn1-vm1-84814694 2026-01-22 10:23:50,372 - DEBUG - Response for delete_port : () 2026-01-22 10:23:50,556 - DEBUG - Response for delete_port : () 2026-01-22 10:23:50,556 - INFO - Deleting VN ctest-vn1-63933435 2026-01-22 10:23:50,726 - DEBUG - Response for deleting network () 2026-01-22 10:23:50,988 - DEBUG - No XMPP flaps were noticed during the test
2026-01-22 10:23:50,988 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2026-01-22 10:23:50,988 - INFO - -------------------------------------------------------------------------------- 2026-01-22 10:23:51,736 - INFO - Deleted project: ctest-TestPorts-00806918, ID : ec16246d-aabc-4270-9607-8e060c1559a7