2026-04-23 01:58:05,652 - INFO - Domain Default found not creating
2026-04-23 01:58:05,811 - INFO - Project ctest-TestPorts-20676482 not found, creating it
2026-04-23 01:58:06,287 - INFO - Created Project:ctest-TestPorts-20676482, ID : af6b67ec-fff9-42b0-a0b9-317a72da1852
2026-04-23 01:58:07,667 - INFO - ================================================================================
2026-04-23 01:58:07,667 - INFO - STARTING TEST : test_ports_bindings
2026-04-23 01:58:07,667 - 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-04-23 01:58:07,921 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-04-23 01:58:07,921 - INFO - Initial checks done. Running the testcase now
2026-04-23 01:58:07,921 - INFO -
2026-04-23 01:58:08,488 - DEBUG - Response for create_network : {'network': {'id': 'da5c38b0-7316-4b91-bc27-c0e073a903ed', 'name': 'ctest-vn-20475955', 'tenant_id': 'af6b67ecfff942b0a0b9317a72da1852', 'project_id': 'af6b67ecfff942b0a0b9317a72da1852', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-20676482', 'ctest-vn-20475955'], 'port_security_enabled': True, 'description': ''}}
2026-04-23 01:58:08,639 - DEBUG - Response for create_subnet : {'subnet': {'id': '963d7d71-09bd-4edf-b76d-64e3c76eb5af', 'name': '', 'tenant_id': 'af6b67ecfff942b0a0b9317a72da1852', 'network_id': 'da5c38b0-7316-4b91-bc27-c0e073a903ed', 'ip_version': 4, 'cidr': '65.126.118.128/26', 'allocation_pools': [{'start': '65.126.118.130', 'end': '65.126.118.190'}], 'gateway_ip': '65.126.118.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.126.118.130', 'tags': [], 'project_id': 'af6b67ecfff942b0a0b9317a72da1852'}}
2026-04-23 01:58:08,654 - INFO - Created VN ctest-vn-20475955
2026-04-23 01:58:08,707 - DEBUG - VN ctest-vn-20475955 UUID is da5c38b0-7316-4b91-bc27-c0e073a903ed
2026-04-23 01:58:08,810 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-20676482', 'ctest-vmi-05239009']}
2026-04-23 01:58:09,099 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-05239009', 'id': '5e9a8d77-d0a6-4820-ae7c-a74f50c094be', 'tenant_id': 'af6b67ecfff942b0a0b9317a72da1852', 'network_id': 'da5c38b0-7316-4b91-bc27-c0e073a903ed', 'mac_address': '02:5e:9a:8d:77:d0', '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': '65.126.118.131', 'subnet_id': '963d7d71-09bd-4edf-b76d-64e3c76eb5af'}], 'security_groups': ['80c642ad-eeb1-4a57-8c21-8740e932d81e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'af6b67ecfff942b0a0b9317a72da1852'}}
2026-04-23 01:58:09,099 - DEBUG - Created port 5e9a8d77-d0a6-4820-ae7c-a74f50c094be
2026-04-23 01:58:09,207 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5e9a8d77-d0a6-4820-ae7c-a74f50c094be
2026-04-23 01:58:09,497 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5e9a8d77-d0a6-4820-ae7c-a74f50c094be
2026-04-23 01:58:09,526 - INFO - VMI 5e9a8d77-d0a6-4820-ae7c-a74f50c094be verification in API Server passed
2026-04-23 01:58:09,610 - DEBUG - Response for delete_port : ()
2026-04-23 01:58:09,610 - INFO - Deleted port 5e9a8d77-d0a6-4820-ae7c-a74f50c094be
2026-04-23 01:58:09,610 - INFO - Deleting VN ctest-vn-20475955
2026-04-23 01:58:09,702 - DEBUG - Response for deleting network ()
2026-04-23 01:58:09,960 - DEBUG - No XMPP flaps were noticed during the test
2026-04-23 01:58:09,960 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-04-23 01:58:09,960 - INFO - --------------------------------------------------------------------------------
2026-04-23 01:58:09,963 - INFO - ================================================================================
2026-04-23 01:58:09,963 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-04-23 01:58:09,963 - 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-04-23 01:58:10,268 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-04-23 01:58:10,268 - INFO - Initial checks done. Running the testcase now
2026-04-23 01:58:10,268 - INFO -
2026-04-23 01:58:10,451 - DEBUG - Response for create_network : {'network': {'id': '26678dc1-4ce9-4d42-b199-a8602490ec5a', 'name': 'ctest-vn1-22410057', 'tenant_id': 'af6b67ecfff942b0a0b9317a72da1852', 'project_id': 'af6b67ecfff942b0a0b9317a72da1852', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-20676482', 'ctest-vn1-22410057'], 'port_security_enabled': True, 'description': ''}}
2026-04-23 01:58:10,619 - DEBUG - Response for create_subnet : {'subnet': {'id': '755e16b1-aa1b-48b2-9822-ea0a697359c8', 'name': '', 'tenant_id': 'af6b67ecfff942b0a0b9317a72da1852', 'network_id': '26678dc1-4ce9-4d42-b199-a8602490ec5a', 'ip_version': 4, 'cidr': '105.81.57.192/26', 'allocation_pools': [{'start': '105.81.57.194', 'end': '105.81.57.254'}], 'gateway_ip': '105.81.57.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.81.57.194', 'tags': [], 'project_id': 'af6b67ecfff942b0a0b9317a72da1852'}}
2026-04-23 01:58:10,766 - DEBUG - Response for create_subnet : {'subnet': {'id': '82f3b26a-444a-459c-9bfc-f3ba677bada2', 'name': '', 'tenant_id': 'af6b67ecfff942b0a0b9317a72da1852', 'network_id': '26678dc1-4ce9-4d42-b199-a8602490ec5a', 'ip_version': 4, 'cidr': '168.129.39.0/26', 'allocation_pools': [{'start': '168.129.39.2', 'end': '168.129.39.62'}], 'gateway_ip': '168.129.39.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.129.39.2', 'tags': [], 'project_id': 'af6b67ecfff942b0a0b9317a72da1852'}}
2026-04-23 01:58:10,782 - INFO - Created VN ctest-vn1-22410057
2026-04-23 01:58:10,831 - DEBUG - VN ctest-vn1-22410057 UUID is 26678dc1-4ce9-4d42-b199-a8602490ec5a
2026-04-23 01:58:11,106 - DEBUG - Response for create_port : {'port': {'name': '523fc91f-7f7c-4fdf-9bbf-3bfe5a89f541', 'id': '523fc91f-7f7c-4fdf-9bbf-3bfe5a89f541', 'tenant_id': 'af6b67ecfff942b0a0b9317a72da1852', 'network_id': '26678dc1-4ce9-4d42-b199-a8602490ec5a', 'mac_address': '02:52:3f:c9:1f:7f', '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': '105.81.57.197', 'subnet_id': '755e16b1-aa1b-48b2-9822-ea0a697359c8'}], 'security_groups': ['80c642ad-eeb1-4a57-8c21-8740e932d81e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'af6b67ecfff942b0a0b9317a72da1852'}}
2026-04-23 01:58:11,263 - DEBUG - Response for create_port : {'port': {'name': '5f9dbf5f-2426-49a5-84ab-115af461ec28', 'id': '5f9dbf5f-2426-49a5-84ab-115af461ec28', 'tenant_id': 'af6b67ecfff942b0a0b9317a72da1852', 'network_id': '26678dc1-4ce9-4d42-b199-a8602490ec5a', 'mac_address': '02:5f:9d:bf:5f:24', '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': '168.129.39.5', 'subnet_id': '82f3b26a-444a-459c-9bfc-f3ba677bada2'}], 'security_groups': ['80c642ad-eeb1-4a57-8c21-8740e932d81e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'af6b67ecfff942b0a0b9317a72da1852'}}
2026-04-23 01:58:11,318 - DEBUG - Services list from nova: [, , ]
2026-04-23 01:58:11,616 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5671-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5671-1)
2026-04-23 01:58:11,979 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5671-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5671-1)
2026-04-23 01:58:11,980 - INFO - Waiting for VM ctest-vn1-vm1-86292569 to be up..
2026-04-23 01:58:12,016 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-23 01:58:17,083 - DEBUG - VM is in ACTIVE state now
2026-04-23 01:58:17,083 - INFO - VM name : ctest-vn1-vm1-86292569
2026-04-23 01:58:17,149 - DEBUG - VM ctest-vn1-vm1-86292569 ID is 7c323455-e80d-4d81-b388-09b5272ed2f1
2026-04-23 01:58:17,166 - DEBUG - VM ctest-vn1-vm1-86292569 launched on Node cn-jenkins-deploy-platform-ansible-os-5671-1
2026-04-23 01:58:17,240 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7c323455-e80d-4d81-b388-09b5272ed2f1
2026-04-23 01:58:17,248 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/523fc91f-7f7c-4fdf-9bbf-3bfe5a89f541
2026-04-23 01:58:20,495 - 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 1008ms')
2026-04-23 01:58:20,495 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86292569 failed!
2026-04-23 01:58:20,547 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-20676482:ctest-vn1-22410057 is 105.81.57.193 and allocation pool is NOT set
2026-04-23 01:58:20,547 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-20676482:ctest-vn1-22410057 is 168.129.39.1 and allocation pool is NOT set
2026-04-23 01:58:22,610 - 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=5.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.49 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.494/4.025/5.557/1.531 ms')
2026-04-23 01:58:22,610 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86292569 passed
2026-04-23 01:58:22,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-23 01:58:22,759 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-86292569, IP 105.81.57.197, Port 22
2026-04-23 01:58:22,825 - 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-04-23 01:58:22,893 - DEBUG - VM ctest-vn1-vm1-86292569 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-23 01:58:27,894 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-23 01:58:27,894 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-86292569, IP 105.81.57.197, Port 22
2026-04-23 01:58:28,054 - DEBUG - VM ctest-vn1-vm1-86292569 is ready for SSH connections
2026-04-23 01:58:28,054 - INFO - Waiting for VM ctest-vn1-vm2-57155998 to be up..
2026-04-23 01:58:28,122 - DEBUG - VM is in ACTIVE state now
2026-04-23 01:58:28,122 - INFO - VM name : ctest-vn1-vm2-57155998
2026-04-23 01:58:28,189 - DEBUG - VM ctest-vn1-vm2-57155998 ID is d6486d7c-0e9b-4ecb-b612-a92591c30131
2026-04-23 01:58:28,190 - DEBUG - VM ctest-vn1-vm2-57155998 launched on Node cn-jenkins-deploy-platform-ansible-os-5671-1
2026-04-23 01:58:28,257 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d6486d7c-0e9b-4ecb-b612-a92591c30131
2026-04-23 01:58:28,265 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5f9dbf5f-2426-49a5-84ab-115af461ec28
2026-04-23 01:58:29,493 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.356 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.356/1.673/2.991/1.317 ms')
2026-04-23 01:58:29,493 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-57155998 passed
2026-04-23 01:58:29,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-23 01:58:29,643 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-57155998, IP 168.129.39.5, Port 22
2026-04-23 01:58:29,799 - DEBUG - VM ctest-vn1-vm2-57155998 is ready for SSH connections
2026-04-23 01:58:29,799 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-23 01:58:29,799 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-23 01:58:29,799 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-23 01:58:29,799 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.81.57.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-04-23 01:58:29,799 - DEBUG - ping -s 56 -c 3 -W 1 105.81.57.197
2026-04-23 01:58:32,455 - DEBUG - PING 105.81.57.197 (105.81.57.197): 56 data bytes
64 bytes from 105.81.57.197: seq=0 ttl=63 time=3.649 ms
64 bytes from 105.81.57.197: seq=1 ttl=63 time=0.760 ms
64 bytes from 105.81.57.197: seq=2 ttl=63 time=0.876 ms
--- 105.81.57.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.760/1.761/3.649 ms
2026-04-23 01:58:32,455 - INFO - Ping to IP 105.81.57.197 from VM ctest-vn1-vm2-57155998 passed
2026-04-23 01:58:32,455 - INFO - Detaching port 5f9dbf5f-2426-49a5-84ab-115af461ec28 from VM ctest-vn1-vm2-57155998
2026-04-23 01:58:32,498 - INFO - Deleting VM ctest-vn1-vm2-57155998
2026-04-23 01:58:32,553 - INFO - Detaching port 523fc91f-7f7c-4fdf-9bbf-3bfe5a89f541 from VM ctest-vn1-vm1-86292569
2026-04-23 01:58:32,585 - INFO - Deleting VM ctest-vn1-vm1-86292569
2026-04-23 01:58:32,799 - DEBUG - Response for delete_port : ()
2026-04-23 01:58:32,940 - DEBUG - Response for delete_port : ()
2026-04-23 01:58:32,940 - INFO - Deleting VN ctest-vn1-22410057
2026-04-23 01:58:33,054 - DEBUG - Response for deleting network ()
2026-04-23 01:58:33,307 - DEBUG - No XMPP flaps were noticed during the test
2026-04-23 01:58:33,307 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-04-23 01:58:33,307 - INFO - --------------------------------------------------------------------------------
2026-04-23 01:58:33,991 - INFO - Deleted project: ctest-TestPorts-20676482, ID : af6b67ec-fff9-42b0-a0b9-317a72da1852