2026-08-20 10:44:05,872 - INFO - Domain Default found not creating
2026-08-20 10:44:06,027 - INFO - Project ctest-TestPorts-45182219 not found, creating it
2026-08-20 10:44:06,524 - INFO - Created Project:ctest-TestPorts-45182219, ID : cf14662b-41bc-4afb-b808-9109d2a5b6d2
2026-08-20 10:44:08,241 - INFO - ================================================================================
2026-08-20 10:44:08,242 - INFO - STARTING TEST : test_ports_bindings
2026-08-20 10:44:08,242 - 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-08-20 10:44:08,518 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-08-20 10:44:08,518 - INFO - Initial checks done. Running the testcase now
2026-08-20 10:44:08,518 - INFO -
2026-08-20 10:44:09,165 - DEBUG - Response for create_network : {'network': {'id': '966cb02f-7a91-4b57-bfaa-677f01a46bbe', 'name': 'ctest-vn-62612054', 'tenant_id': 'cf14662b41bc4afbb8089109d2a5b6d2', 'project_id': 'cf14662b41bc4afbb8089109d2a5b6d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45182219', 'ctest-vn-62612054'], 'port_security_enabled': True, 'description': ''}}
2026-08-20 10:44:09,383 - DEBUG - Response for create_subnet : {'subnet': {'id': '8632428d-1cc9-4042-a0d9-c53754df8d7c', 'name': '', 'tenant_id': 'cf14662b41bc4afbb8089109d2a5b6d2', 'network_id': '966cb02f-7a91-4b57-bfaa-677f01a46bbe', 'ip_version': 4, 'cidr': '192.171.165.64/26', 'allocation_pools': [{'start': '192.171.165.66', 'end': '192.171.165.126'}], 'gateway_ip': '192.171.165.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.171.165.66', 'tags': [], 'project_id': 'cf14662b41bc4afbb8089109d2a5b6d2'}}
2026-08-20 10:44:09,401 - INFO - Created VN ctest-vn-62612054
2026-08-20 10:44:09,454 - DEBUG - VN ctest-vn-62612054 UUID is 966cb02f-7a91-4b57-bfaa-677f01a46bbe
2026-08-20 10:44:09,570 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-45182219', 'ctest-vmi-45271294']}
2026-08-20 10:44:09,845 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-45271294', 'id': 'd044e0bd-e25d-4c44-b8ec-1d2220bd7caa', 'tenant_id': 'cf14662b41bc4afbb8089109d2a5b6d2', 'network_id': '966cb02f-7a91-4b57-bfaa-677f01a46bbe', 'mac_address': '02:d0:44:e0:bd:e2', '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': '192.171.165.67', 'subnet_id': '8632428d-1cc9-4042-a0d9-c53754df8d7c'}], 'security_groups': ['7ab247f5-e739-4b18-8244-287abe08ae4a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cf14662b41bc4afbb8089109d2a5b6d2'}}
2026-08-20 10:44:09,845 - DEBUG - Created port d044e0bd-e25d-4c44-b8ec-1d2220bd7caa
2026-08-20 10:44:09,951 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d044e0bd-e25d-4c44-b8ec-1d2220bd7caa
2026-08-20 10:44:10,318 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d044e0bd-e25d-4c44-b8ec-1d2220bd7caa
2026-08-20 10:44:10,352 - INFO - VMI d044e0bd-e25d-4c44-b8ec-1d2220bd7caa verification in API Server passed
2026-08-20 10:44:10,455 - DEBUG - Response for delete_port : ()
2026-08-20 10:44:10,455 - INFO - Deleted port d044e0bd-e25d-4c44-b8ec-1d2220bd7caa
2026-08-20 10:44:10,455 - INFO - Deleting VN ctest-vn-62612054
2026-08-20 10:44:10,566 - DEBUG - Response for deleting network ()
2026-08-20 10:44:10,824 - DEBUG - No XMPP flaps were noticed during the test
2026-08-20 10:44:10,824 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-08-20 10:44:10,825 - INFO - --------------------------------------------------------------------------------
2026-08-20 10:44:10,827 - INFO - ================================================================================
2026-08-20 10:44:10,828 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-08-20 10:44:10,828 - 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-08-20 10:44:11,128 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-08-20 10:44:11,128 - INFO - Initial checks done. Running the testcase now
2026-08-20 10:44:11,128 - INFO -
2026-08-20 10:44:11,322 - DEBUG - Response for create_network : {'network': {'id': 'b71a20a6-120d-47db-972b-e431e59e9b67', 'name': 'ctest-vn1-47980290', 'tenant_id': 'cf14662b41bc4afbb8089109d2a5b6d2', 'project_id': 'cf14662b41bc4afbb8089109d2a5b6d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45182219', 'ctest-vn1-47980290'], 'port_security_enabled': True, 'description': ''}}
2026-08-20 10:44:11,498 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f0cb966-a1ad-4998-ae6b-7d4d3451fa4c', 'name': '', 'tenant_id': 'cf14662b41bc4afbb8089109d2a5b6d2', 'network_id': 'b71a20a6-120d-47db-972b-e431e59e9b67', 'ip_version': 4, 'cidr': '143.181.28.0/26', 'allocation_pools': [{'start': '143.181.28.2', 'end': '143.181.28.62'}], 'gateway_ip': '143.181.28.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.181.28.2', 'tags': [], 'project_id': 'cf14662b41bc4afbb8089109d2a5b6d2'}}
2026-08-20 10:44:11,721 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c4dd98c-24c3-4f0c-8a20-a5215830b5ba', 'name': '', 'tenant_id': 'cf14662b41bc4afbb8089109d2a5b6d2', 'network_id': 'b71a20a6-120d-47db-972b-e431e59e9b67', 'ip_version': 4, 'cidr': '91.206.55.192/26', 'allocation_pools': [{'start': '91.206.55.194', 'end': '91.206.55.254'}], 'gateway_ip': '91.206.55.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.206.55.194', 'tags': [], 'project_id': 'cf14662b41bc4afbb8089109d2a5b6d2'}}
2026-08-20 10:44:11,739 - INFO - Created VN ctest-vn1-47980290
2026-08-20 10:44:11,791 - DEBUG - VN ctest-vn1-47980290 UUID is b71a20a6-120d-47db-972b-e431e59e9b67
2026-08-20 10:44:12,161 - DEBUG - Response for create_port : {'port': {'name': '9c4978fa-a729-4325-bc63-502d424d0cc7', 'id': '9c4978fa-a729-4325-bc63-502d424d0cc7', 'tenant_id': 'cf14662b41bc4afbb8089109d2a5b6d2', 'network_id': 'b71a20a6-120d-47db-972b-e431e59e9b67', 'mac_address': '02:9c:49:78:fa:a7', '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': '143.181.28.5', 'subnet_id': '5f0cb966-a1ad-4998-ae6b-7d4d3451fa4c'}], 'security_groups': ['7ab247f5-e739-4b18-8244-287abe08ae4a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cf14662b41bc4afbb8089109d2a5b6d2'}}
2026-08-20 10:44:12,367 - DEBUG - Response for create_port : {'port': {'name': '72c1a466-b6b4-4dab-8f77-5ce01957ac32', 'id': '72c1a466-b6b4-4dab-8f77-5ce01957ac32', 'tenant_id': 'cf14662b41bc4afbb8089109d2a5b6d2', 'network_id': 'b71a20a6-120d-47db-972b-e431e59e9b67', 'mac_address': '02:72:c1:a4:66:b6', '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': '91.206.55.197', 'subnet_id': '3c4dd98c-24c3-4f0c-8a20-a5215830b5ba'}], 'security_groups': ['7ab247f5-e739-4b18-8244-287abe08ae4a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cf14662b41bc4afbb8089109d2a5b6d2'}}
2026-08-20 10:44:12,436 - DEBUG - Services list from nova: [, , ]
2026-08-20 10:44:12,788 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6184-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6184-1)
2026-08-20 10:44:13,226 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6184-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6184-1)
2026-08-20 10:44:13,227 - INFO - Waiting for VM ctest-vn1-vm1-83132354 to be up..
2026-08-20 10:44:13,269 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 10:44:18,325 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 10:44:23,421 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 10:44:28,507 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 10:44:33,589 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 10:44:38,687 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 10:44:43,777 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 10:44:48,867 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 10:44:53,982 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 10:44:59,070 - DEBUG - VM is in ACTIVE state now
2026-08-20 10:44:59,070 - INFO - VM name : ctest-vn1-vm1-83132354
2026-08-20 10:44:59,152 - DEBUG - VM ctest-vn1-vm1-83132354 ID is 4e7cf78e-38c9-4247-8900-f0a8f589f07d
2026-08-20 10:44:59,177 - DEBUG - VM ctest-vn1-vm1-83132354 launched on Node cn-jenkins-deploy-platform-ansible-os-6184-1
2026-08-20 10:44:59,255 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4e7cf78e-38c9-4247-8900-f0a8f589f07d
2026-08-20 10:44:59,265 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9c4978fa-a729-4325-bc63-502d424d0cc7
2026-08-20 10:45:02,539 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1029ms')
2026-08-20 10:45:02,539 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-83132354 failed!
2026-08-20 10:45:02,599 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45182219:ctest-vn1-47980290 is 143.181.28.1 and allocation pool is NOT set
2026-08-20 10:45:02,599 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45182219:ctest-vn1-47980290 is 91.206.55.193 and allocation pool is NOT set
2026-08-20 10:45:04,658 - 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=4.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.414 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.414/2.214/4.014/1.800 ms')
2026-08-20 10:45:04,658 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-83132354 passed
2026-08-20 10:45:04,807 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-20 10:45:04,807 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-83132354, IP 143.181.28.5, Port 22
2026-08-20 10:45:04,989 - DEBUG - VM ctest-vn1-vm1-83132354 is ready for SSH connections
2026-08-20 10:45:04,989 - INFO - Waiting for VM ctest-vn1-vm2-91789513 to be up..
2026-08-20 10:45:05,073 - DEBUG - VM is in ACTIVE state now
2026-08-20 10:45:05,073 - INFO - VM name : ctest-vn1-vm2-91789513
2026-08-20 10:45:05,153 - DEBUG - VM ctest-vn1-vm2-91789513 ID is 3174d5c3-bee8-4f06-86dd-892612c93f07
2026-08-20 10:45:05,153 - DEBUG - VM ctest-vn1-vm2-91789513 launched on Node cn-jenkins-deploy-platform-ansible-os-6184-1
2026-08-20 10:45:05,236 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3174d5c3-bee8-4f06-86dd-892612c93f07
2026-08-20 10:45:05,245 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/72c1a466-b6b4-4dab-8f77-5ce01957ac32
2026-08-20 10:45:06,489 - 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.40 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.517 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 = 0.517/2.456/4.395/1.939 ms')
2026-08-20 10:45:06,490 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-91789513 passed
2026-08-20 10:45:06,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-20 10:45:06,639 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-91789513, IP 91.206.55.197, Port 22
2026-08-20 10:45:06,805 - DEBUG - VM ctest-vn1-vm2-91789513 is ready for SSH connections
2026-08-20 10:45:06,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-20 10:45:06,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-20 10:45:06,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-20 10:45:06,805 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 143.181.28.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-08-20 10:45:06,805 - DEBUG - ping -s 56 -c 3 -W 1 143.181.28.5
2026-08-20 10:45:10,889 - DEBUG - PING 143.181.28.5 (143.181.28.5): 56 data bytes
64 bytes from 143.181.28.5: seq=0 ttl=63 time=4.352 ms
64 bytes from 143.181.28.5: seq=1 ttl=63 time=1.300 ms
64 bytes from 143.181.28.5: seq=2 ttl=63 time=1.002 ms
--- 143.181.28.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.002/2.218/4.352 ms
2026-08-20 10:45:10,889 - INFO - Ping to IP 143.181.28.5 from VM ctest-vn1-vm2-91789513 passed
2026-08-20 10:45:10,890 - INFO - Detaching port 72c1a466-b6b4-4dab-8f77-5ce01957ac32 from VM ctest-vn1-vm2-91789513
2026-08-20 10:45:10,944 - INFO - Deleting VM ctest-vn1-vm2-91789513
2026-08-20 10:45:11,017 - INFO - Detaching port 9c4978fa-a729-4325-bc63-502d424d0cc7 from VM ctest-vn1-vm1-83132354
2026-08-20 10:45:11,054 - INFO - Deleting VM ctest-vn1-vm1-83132354
2026-08-20 10:45:11,314 - DEBUG - Response for delete_port : ()
2026-08-20 10:45:11,489 - DEBUG - Response for delete_port : ()
2026-08-20 10:45:11,489 - INFO - Deleting VN ctest-vn1-47980290
2026-08-20 10:45:11,622 - DEBUG - Response for deleting network ()
2026-08-20 10:45:11,893 - DEBUG - No XMPP flaps were noticed during the test
2026-08-20 10:45:11,893 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:01:01]
2026-08-20 10:45:11,893 - INFO - --------------------------------------------------------------------------------
2026-08-20 10:45:12,699 - INFO - Deleted project: ctest-TestPorts-45182219, ID : cf14662b-41bc-4afb-b808-9109d2a5b6d2