2026-01-22 02:16:55,127 - INFO - Domain Default found not creating
2026-01-22 02:16:55,313 - INFO - Project ctest-TestPorts-92238822 not found, creating it
2026-01-22 02:16:55,819 - INFO - Created Project:ctest-TestPorts-92238822, ID : 47e6c485-f840-4831-a822-64320121a2cd
2026-01-22 02:16:57,324 - INFO - ================================================================================
2026-01-22 02:16:57,324 - INFO - STARTING TEST : test_ports_bindings
2026-01-22 02:16:57,324 - 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 02:16:57,581 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.242': '0'}} with
2026-01-22 02:16:57,581 - INFO - Initial checks done. Running the testcase now
2026-01-22 02:16:57,581 - INFO -
2026-01-22 02:16:58,129 - DEBUG - Response for create_network : {'network': {'id': 'c161f1d3-29a2-484d-885a-4af61c1dbdd4', 'name': 'ctest-vn-46611358', 'tenant_id': '47e6c485f8404831a82264320121a2cd', 'project_id': '47e6c485f8404831a82264320121a2cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-92238822', 'ctest-vn-46611358'], 'port_security_enabled': True, 'description': ''}}
2026-01-22 02:16:58,327 - DEBUG - Response for create_subnet : {'subnet': {'id': '52f3b09d-b52e-4b48-bc26-66b623b50e48', 'name': '', 'tenant_id': '47e6c485f8404831a82264320121a2cd', 'network_id': 'c161f1d3-29a2-484d-885a-4af61c1dbdd4', 'ip_version': 4, 'cidr': '156.213.214.0/26', 'allocation_pools': [{'start': '156.213.214.2', 'end': '156.213.214.62'}], 'gateway_ip': '156.213.214.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.213.214.2', 'tags': [], 'project_id': '47e6c485f8404831a82264320121a2cd'}}
2026-01-22 02:16:58,347 - INFO - Created VN ctest-vn-46611358
2026-01-22 02:16:58,401 - DEBUG - VN ctest-vn-46611358 UUID is c161f1d3-29a2-484d-885a-4af61c1dbdd4
2026-01-22 02:16:58,511 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-92238822', 'ctest-vmi-88650865']}
2026-01-22 02:16:58,794 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-88650865', 'id': 'e9a41ba7-0695-4ce3-ab25-59d4e0993378', 'tenant_id': '47e6c485f8404831a82264320121a2cd', 'network_id': 'c161f1d3-29a2-484d-885a-4af61c1dbdd4', 'mac_address': '02:e9:a4:1b:a7:06', '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': '156.213.214.3', 'subnet_id': '52f3b09d-b52e-4b48-bc26-66b623b50e48'}], 'security_groups': ['3d543ae1-2717-4431-88d7-08f8a477e1b2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '47e6c485f8404831a82264320121a2cd'}}
2026-01-22 02:16:58,794 - DEBUG - Created port e9a41ba7-0695-4ce3-ab25-59d4e0993378
2026-01-22 02:16:58,898 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/e9a41ba7-0695-4ce3-ab25-59d4e0993378
2026-01-22 02:16:59,208 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/e9a41ba7-0695-4ce3-ab25-59d4e0993378
2026-01-22 02:16:59,248 - INFO - VMI e9a41ba7-0695-4ce3-ab25-59d4e0993378 verification in API Server passed
2026-01-22 02:16:59,344 - DEBUG - Response for delete_port : ()
2026-01-22 02:16:59,345 - INFO - Deleted port e9a41ba7-0695-4ce3-ab25-59d4e0993378
2026-01-22 02:16:59,345 - INFO - Deleting VN ctest-vn-46611358
2026-01-22 02:16:59,445 - DEBUG - Response for deleting network ()
2026-01-22 02:16:59,701 - DEBUG - No XMPP flaps were noticed during the test
2026-01-22 02:16:59,701 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-01-22 02:16:59,701 - INFO - --------------------------------------------------------------------------------
2026-01-22 02:16:59,705 - INFO - ================================================================================
2026-01-22 02:16:59,705 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-01-22 02:16:59,705 - 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 02:16:59,995 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.242': '0'}} with
2026-01-22 02:16:59,995 - INFO - Initial checks done. Running the testcase now
2026-01-22 02:16:59,995 - INFO -
2026-01-22 02:17:00,179 - DEBUG - Response for create_network : {'network': {'id': 'f3ddf9dc-48dc-4c9c-8071-8fa307bb3392', 'name': 'ctest-vn1-04387469', 'tenant_id': '47e6c485f8404831a82264320121a2cd', 'project_id': '47e6c485f8404831a82264320121a2cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-92238822', 'ctest-vn1-04387469'], 'port_security_enabled': True, 'description': ''}}
2026-01-22 02:17:00,353 - DEBUG - Response for create_subnet : {'subnet': {'id': '31013b7f-c422-4c88-ab36-858af6adec1b', 'name': '', 'tenant_id': '47e6c485f8404831a82264320121a2cd', 'network_id': 'f3ddf9dc-48dc-4c9c-8071-8fa307bb3392', 'ip_version': 4, 'cidr': '108.91.7.0/26', 'allocation_pools': [{'start': '108.91.7.2', 'end': '108.91.7.62'}], 'gateway_ip': '108.91.7.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.91.7.2', 'tags': [], 'project_id': '47e6c485f8404831a82264320121a2cd'}}
2026-01-22 02:17:00,536 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf37bc7a-bfae-4151-93b3-fdf1a3563b45', 'name': '', 'tenant_id': '47e6c485f8404831a82264320121a2cd', 'network_id': 'f3ddf9dc-48dc-4c9c-8071-8fa307bb3392', 'ip_version': 4, 'cidr': '100.135.126.128/26', 'allocation_pools': [{'start': '100.135.126.130', 'end': '100.135.126.190'}], 'gateway_ip': '100.135.126.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.135.126.130', 'tags': [], 'project_id': '47e6c485f8404831a82264320121a2cd'}}
2026-01-22 02:17:00,557 - INFO - Created VN ctest-vn1-04387469
2026-01-22 02:17:00,610 - DEBUG - VN ctest-vn1-04387469 UUID is f3ddf9dc-48dc-4c9c-8071-8fa307bb3392
2026-01-22 02:17:00,949 - DEBUG - Response for create_port : {'port': {'name': '1c962752-e9e1-4a6f-a7c2-26fdf0dd8a5b', 'id': '1c962752-e9e1-4a6f-a7c2-26fdf0dd8a5b', 'tenant_id': '47e6c485f8404831a82264320121a2cd', 'network_id': 'f3ddf9dc-48dc-4c9c-8071-8fa307bb3392', 'mac_address': '02:1c:96:27:52:e9', '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': '108.91.7.5', 'subnet_id': '31013b7f-c422-4c88-ab36-858af6adec1b'}], 'security_groups': ['3d543ae1-2717-4431-88d7-08f8a477e1b2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '47e6c485f8404831a82264320121a2cd'}}
2026-01-22 02:17:01,169 - DEBUG - Response for create_port : {'port': {'name': 'bfe27400-4030-4ab8-89d8-43418d20c9dc', 'id': 'bfe27400-4030-4ab8-89d8-43418d20c9dc', 'tenant_id': '47e6c485f8404831a82264320121a2cd', 'network_id': 'f3ddf9dc-48dc-4c9c-8071-8fa307bb3392', 'mac_address': '02:bf:e2:74:00:40', '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': '100.135.126.133', 'subnet_id': 'cf37bc7a-bfae-4151-93b3-fdf1a3563b45'}], 'security_groups': ['3d543ae1-2717-4431-88d7-08f8a477e1b2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '47e6c485f8404831a82264320121a2cd'}}
2026-01-22 02:17:01,256 - DEBUG - Services list from nova: [, , ]
2026-01-22 02:17:01,641 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5059-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5059-1)
2026-01-22 02:17:02,084 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5059-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5059-1)
2026-01-22 02:17:02,084 - INFO - Waiting for VM ctest-vn1-vm1-55313610 to be up..
2026-01-22 02:17:02,136 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-22 02:17:07,220 - DEBUG - VM is in ACTIVE state now
2026-01-22 02:17:07,220 - INFO - VM name : ctest-vn1-vm1-55313610
2026-01-22 02:17:07,309 - DEBUG - VM ctest-vn1-vm1-55313610 ID is d6d1967d-d16d-45bb-965b-b646cf95dae4
2026-01-22 02:17:07,331 - DEBUG - VM ctest-vn1-vm1-55313610 launched on Node cn-jenkins-deploy-platform-ansible-os-5059-1
2026-01-22 02:17:07,410 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/d6d1967d-d16d-45bb-965b-b646cf95dae4
2026-01-22 02:17:07,420 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/1c962752-e9e1-4a6f-a7c2-26fdf0dd8a5b
2026-01-22 02:17:10,680 - 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 1014ms')
2026-01-22 02:17:10,680 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-55313610 failed!
2026-01-22 02:17:10,737 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-92238822:ctest-vn1-04387469 is 108.91.7.1 and allocation pool is NOT set
2026-01-22 02:17:10,738 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-92238822:ctest-vn1-04387469 is 100.135.126.129 and allocation pool is NOT set
2026-01-22 02:17:14,803 - 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=11.4 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 11.426/11.426/11.426/0.000 ms')
2026-01-22 02:17:14,803 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-55313610 passed
2026-01-22 02:17:14,958 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-22 02:17:14,958 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-55313610, IP 108.91.7.5, Port 22
2026-01-22 02:17:15,024 - 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 02:17:15,220 - DEBUG - VM ctest-vn1-vm1-55313610 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-22 02:17:20,221 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-22 02:17:20,221 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-55313610, IP 108.91.7.5, Port 22
2026-01-22 02:17:20,396 - DEBUG - VM ctest-vn1-vm1-55313610 is ready for SSH connections
2026-01-22 02:17:20,396 - INFO - Waiting for VM ctest-vn1-vm2-17952943 to be up..
2026-01-22 02:17:20,480 - DEBUG - VM is in ACTIVE state now
2026-01-22 02:17:20,480 - INFO - VM name : ctest-vn1-vm2-17952943
2026-01-22 02:17:20,559 - DEBUG - VM ctest-vn1-vm2-17952943 ID is 084447ee-dd0d-463a-ab31-cc1277acc335
2026-01-22 02:17:20,559 - DEBUG - VM ctest-vn1-vm2-17952943 launched on Node cn-jenkins-deploy-platform-ansible-os-5059-1
2026-01-22 02:17:20,645 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/084447ee-dd0d-463a-ab31-cc1277acc335
2026-01-22 02:17:20,655 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/bfe27400-4030-4ab8-89d8-43418d20c9dc
2026-01-22 02:17:21,899 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.568 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.568/1.963/3.358/1.395 ms')
2026-01-22 02:17:21,899 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-17952943 passed
2026-01-22 02:17:22,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-22 02:17:22,054 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-17952943, IP 100.135.126.133, Port 22
2026-01-22 02:17:22,217 - DEBUG - VM ctest-vn1-vm2-17952943 is ready for SSH connections
2026-01-22 02:17:22,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-22 02:17:22,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-22 02:17:22,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-22 02:17:22,218 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.91.7.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2026-01-22 02:17:22,218 - DEBUG - ping -s 56 -c 3 -W 1 108.91.7.5
2026-01-22 02:17:24,888 - DEBUG - PING 108.91.7.5 (108.91.7.5): 56 data bytes
64 bytes from 108.91.7.5: seq=0 ttl=63 time=4.714 ms
64 bytes from 108.91.7.5: seq=1 ttl=63 time=0.866 ms
64 bytes from 108.91.7.5: seq=2 ttl=63 time=1.051 ms
--- 108.91.7.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.866/2.210/4.714 ms
2026-01-22 02:17:24,888 - INFO - Ping to IP 108.91.7.5 from VM ctest-vn1-vm2-17952943 passed
2026-01-22 02:17:24,888 - INFO - Detaching port bfe27400-4030-4ab8-89d8-43418d20c9dc from VM ctest-vn1-vm2-17952943
2026-01-22 02:17:24,943 - INFO - Deleting VM ctest-vn1-vm2-17952943
2026-01-22 02:17:25,007 - INFO - Detaching port 1c962752-e9e1-4a6f-a7c2-26fdf0dd8a5b from VM ctest-vn1-vm1-55313610
2026-01-22 02:17:25,039 - INFO - Deleting VM ctest-vn1-vm1-55313610
2026-01-22 02:17:25,287 - DEBUG - Response for delete_port : ()
2026-01-22 02:17:25,514 - DEBUG - Response for delete_port : ()
2026-01-22 02:17:25,514 - INFO - Deleting VN ctest-vn1-04387469
2026-01-22 02:17:25,716 - DEBUG - Response for deleting network ()
2026-01-22 02:17:25,975 - DEBUG - No XMPP flaps were noticed during the test
2026-01-22 02:17:25,975 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2026-01-22 02:17:25,975 - INFO - --------------------------------------------------------------------------------
2026-01-22 02:17:26,702 - INFO - Deleted project: ctest-TestPorts-92238822, ID : 47e6c485-f840-4831-a822-64320121a2cd