2026-09-21 12:57:08,559 - INFO - Domain Default found not creating
2026-09-21 12:57:08,753 - INFO - Project ctest-TestPorts-46064733 not found, creating it
2026-09-21 12:57:09,294 - INFO - Created Project:ctest-TestPorts-46064733, ID : dfb2a835-5e8c-4687-ba64-90529f3c55d5
2026-09-21 12:57:11,165 - INFO - ================================================================================
2026-09-21 12:57:11,165 - INFO - STARTING TEST : test_ports_bindings
2026-09-21 12:57:11,165 - 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-09-21 12:57:11,439 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with
2026-09-21 12:57:11,439 - INFO - Initial checks done. Running the testcase now
2026-09-21 12:57:11,439 - INFO -
2026-09-21 12:57:12,174 - DEBUG - Response for create_network : {'network': {'id': 'e023e9a9-0929-4495-9b12-067a3b38c0b0', 'name': 'ctest-vn-64336620', 'tenant_id': 'dfb2a8355e8c4687ba6490529f3c55d5', 'project_id': 'dfb2a8355e8c4687ba6490529f3c55d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-46064733', 'ctest-vn-64336620'], 'port_security_enabled': True, 'description': ''}}
2026-09-21 12:57:12,386 - DEBUG - Response for create_subnet : {'subnet': {'id': '3fdfadd8-e923-4226-8b3d-5d485d7d3a3f', 'name': '', 'tenant_id': 'dfb2a8355e8c4687ba6490529f3c55d5', 'network_id': 'e023e9a9-0929-4495-9b12-067a3b38c0b0', 'ip_version': 4, 'cidr': '3.135.199.192/26', 'allocation_pools': [{'start': '3.135.199.194', 'end': '3.135.199.254'}], 'gateway_ip': '3.135.199.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.135.199.194', 'tags': [], 'project_id': 'dfb2a8355e8c4687ba6490529f3c55d5'}}
2026-09-21 12:57:12,407 - INFO - Created VN ctest-vn-64336620
2026-09-21 12:57:12,463 - DEBUG - VN ctest-vn-64336620 UUID is e023e9a9-0929-4495-9b12-067a3b38c0b0
2026-09-21 12:57:12,576 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-46064733', 'ctest-vmi-71833036']}
2026-09-21 12:57:12,886 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-71833036', 'id': 'cc04bc8a-0fb0-4cb3-8f8c-0d53bf645a1a', 'tenant_id': 'dfb2a8355e8c4687ba6490529f3c55d5', 'network_id': 'e023e9a9-0929-4495-9b12-067a3b38c0b0', 'mac_address': '02:cc:04:bc:8a:0f', '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': '3.135.199.195', 'subnet_id': '3fdfadd8-e923-4226-8b3d-5d485d7d3a3f'}], 'security_groups': ['daa8b922-4dd7-49b9-ae4e-62af0df8cd3e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': 'dfb2a8355e8c4687ba6490529f3c55d5'}}
2026-09-21 12:57:12,886 - DEBUG - Created port cc04bc8a-0fb0-4cb3-8f8c-0d53bf645a1a
2026-09-21 12:57:12,999 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/cc04bc8a-0fb0-4cb3-8f8c-0d53bf645a1a
2026-09-21 12:57:13,381 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/cc04bc8a-0fb0-4cb3-8f8c-0d53bf645a1a
2026-09-21 12:57:13,421 - INFO - VMI cc04bc8a-0fb0-4cb3-8f8c-0d53bf645a1a verification in API Server passed
2026-09-21 12:57:13,550 - DEBUG - Response for delete_port : ()
2026-09-21 12:57:13,550 - INFO - Deleted port cc04bc8a-0fb0-4cb3-8f8c-0d53bf645a1a
2026-09-21 12:57:13,550 - INFO - Deleting VN ctest-vn-64336620
2026-09-21 12:57:13,694 - DEBUG - Response for deleting network ()
2026-09-21 12:57:13,968 - DEBUG - No XMPP flaps were noticed during the test
2026-09-21 12:57:13,968 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-09-21 12:57:13,968 - INFO - --------------------------------------------------------------------------------
2026-09-21 12:57:13,972 - INFO - ================================================================================
2026-09-21 12:57:13,972 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-09-21 12:57:13,972 - 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-09-21 12:57:14,273 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with
2026-09-21 12:57:14,273 - INFO - Initial checks done. Running the testcase now
2026-09-21 12:57:14,273 - INFO -
2026-09-21 12:57:14,500 - DEBUG - Response for create_network : {'network': {'id': '6adf8928-7b2c-411d-82e5-6499b662947c', 'name': 'ctest-vn1-56832576', 'tenant_id': 'dfb2a8355e8c4687ba6490529f3c55d5', 'project_id': 'dfb2a8355e8c4687ba6490529f3c55d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-46064733', 'ctest-vn1-56832576'], 'port_security_enabled': True, 'description': ''}}
2026-09-21 12:57:14,712 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd9e9d603-6ffd-4710-86ac-892cbbee2270', 'name': '', 'tenant_id': 'dfb2a8355e8c4687ba6490529f3c55d5', 'network_id': '6adf8928-7b2c-411d-82e5-6499b662947c', 'ip_version': 4, 'cidr': '39.220.41.192/26', 'allocation_pools': [{'start': '39.220.41.194', 'end': '39.220.41.254'}], 'gateway_ip': '39.220.41.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.220.41.194', 'tags': [], 'project_id': 'dfb2a8355e8c4687ba6490529f3c55d5'}}
2026-09-21 12:57:14,964 - DEBUG - Response for create_subnet : {'subnet': {'id': '34f54a5e-468f-48e7-8861-7b61f4fd564d', 'name': '', 'tenant_id': 'dfb2a8355e8c4687ba6490529f3c55d5', 'network_id': '6adf8928-7b2c-411d-82e5-6499b662947c', 'ip_version': 4, 'cidr': '131.225.50.128/26', 'allocation_pools': [{'start': '131.225.50.130', 'end': '131.225.50.190'}], 'gateway_ip': '131.225.50.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.225.50.130', 'tags': [], 'project_id': 'dfb2a8355e8c4687ba6490529f3c55d5'}}
2026-09-21 12:57:14,989 - INFO - Created VN ctest-vn1-56832576
2026-09-21 12:57:15,042 - DEBUG - VN ctest-vn1-56832576 UUID is 6adf8928-7b2c-411d-82e5-6499b662947c
2026-09-21 12:57:15,410 - DEBUG - Response for create_port : {'port': {'name': '30a65153-10b4-4a91-a333-412465955869', 'id': '30a65153-10b4-4a91-a333-412465955869', 'tenant_id': 'dfb2a8355e8c4687ba6490529f3c55d5', 'network_id': '6adf8928-7b2c-411d-82e5-6499b662947c', 'mac_address': '02:30:a6:51:53:10', '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': '39.220.41.197', 'subnet_id': 'd9e9d603-6ffd-4710-86ac-892cbbee2270'}], 'security_groups': ['daa8b922-4dd7-49b9-ae4e-62af0df8cd3e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': 'dfb2a8355e8c4687ba6490529f3c55d5'}}
2026-09-21 12:57:15,624 - DEBUG - Response for create_port : {'port': {'name': '15ad1cca-61bf-40fd-8acf-22ce6e7e60e2', 'id': '15ad1cca-61bf-40fd-8acf-22ce6e7e60e2', 'tenant_id': 'dfb2a8355e8c4687ba6490529f3c55d5', 'network_id': '6adf8928-7b2c-411d-82e5-6499b662947c', 'mac_address': '02:15:ad:1c:ca:61', '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': '131.225.50.133', 'subnet_id': '34f54a5e-468f-48e7-8861-7b61f4fd564d'}], 'security_groups': ['daa8b922-4dd7-49b9-ae4e-62af0df8cd3e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': 'dfb2a8355e8c4687ba6490529f3c55d5'}}
2026-09-21 12:57:15,700 - DEBUG - Services list from nova: [, , ]
2026-09-21 12:57:16,102 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6314-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6314-1)
2026-09-21 12:57:16,602 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6314-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6314-1)
2026-09-21 12:57:16,602 - INFO - Waiting for VM ctest-vn1-vm1-20247914 to be up..
2026-09-21 12:57:16,650 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-21 12:57:21,715 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-21 12:57:26,804 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-21 12:57:31,904 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-21 12:57:36,986 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-21 12:57:42,088 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-21 12:57:47,170 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-21 12:57:52,262 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-21 12:57:57,407 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-21 12:58:02,519 - DEBUG - VM is in ACTIVE state now
2026-09-21 12:58:02,519 - INFO - VM name : ctest-vn1-vm1-20247914
2026-09-21 12:58:02,631 - DEBUG - VM ctest-vn1-vm1-20247914 ID is 3f437bea-b0d1-4f28-87b9-a9f9ce2952bb
2026-09-21 12:58:02,659 - DEBUG - VM ctest-vn1-vm1-20247914 launched on Node cn-jenkins-deploy-platform-ansible-os-6314-1
2026-09-21 12:58:02,780 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3f437bea-b0d1-4f28-87b9-a9f9ce2952bb
2026-09-21 12:58:02,793 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/30a65153-10b4-4a91-a333-412465955869
2026-09-21 12:58:06,066 - 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 1012ms')
2026-09-21 12:58:06,066 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-20247914 failed!
2026-09-21 12:58:06,123 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-46064733:ctest-vn1-56832576 is 39.220.41.193 and allocation pool is NOT set
2026-09-21 12:58:06,123 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-46064733:ctest-vn1-56832576 is 131.225.50.129 and allocation pool is NOT set
2026-09-21 12:58:08,192 - 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=5.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.58 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 = 1.584/3.418/5.252/1.834 ms')
2026-09-21 12:58:08,192 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-20247914 passed
2026-09-21 12:58:08,351 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-21 12:58:08,351 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-20247914, IP 39.220.41.197, Port 22
2026-09-21 12:58:08,520 - DEBUG - VM ctest-vn1-vm1-20247914 is ready for SSH connections
2026-09-21 12:58:08,520 - INFO - Waiting for VM ctest-vn1-vm2-92408525 to be up..
2026-09-21 12:58:08,637 - DEBUG - VM is in ACTIVE state now
2026-09-21 12:58:08,638 - INFO - VM name : ctest-vn1-vm2-92408525
2026-09-21 12:58:08,728 - DEBUG - VM ctest-vn1-vm2-92408525 ID is 6d95258a-4921-4aa3-8f67-d9604bfa5de7
2026-09-21 12:58:08,729 - DEBUG - VM ctest-vn1-vm2-92408525 launched on Node cn-jenkins-deploy-platform-ansible-os-6314-1
2026-09-21 12:58:08,817 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6d95258a-4921-4aa3-8f67-d9604bfa5de7
2026-09-21 12:58:08,828 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/15ad1cca-61bf-40fd-8acf-22ce6e7e60e2
2026-09-21 12:58:10,084 - 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=3.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.600 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.600/2.220/3.841/1.620 ms')
2026-09-21 12:58:10,084 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-92408525 passed
2026-09-21 12:58:10,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-21 12:58:10,243 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-92408525, IP 131.225.50.133, Port 22
2026-09-21 12:58:10,413 - DEBUG - VM ctest-vn1-vm2-92408525 is ready for SSH connections
2026-09-21 12:58:10,413 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-21 12:58:10,413 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-21 12:58:10,414 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-21 12:58:10,414 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.220.41.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-09-21 12:58:10,414 - DEBUG - ping -s 56 -c 3 -W 1 39.220.41.197
2026-09-21 12:58:14,521 - DEBUG - PING 39.220.41.197 (39.220.41.197): 56 data bytes
64 bytes from 39.220.41.197: seq=0 ttl=63 time=5.082 ms
64 bytes from 39.220.41.197: seq=1 ttl=63 time=1.087 ms
64 bytes from 39.220.41.197: seq=2 ttl=63 time=1.504 ms
--- 39.220.41.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.087/2.557/5.082 ms
2026-09-21 12:58:14,521 - INFO - Ping to IP 39.220.41.197 from VM ctest-vn1-vm2-92408525 passed
2026-09-21 12:58:14,521 - INFO - Detaching port 15ad1cca-61bf-40fd-8acf-22ce6e7e60e2 from VM ctest-vn1-vm2-92408525
2026-09-21 12:58:14,602 - INFO - Deleting VM ctest-vn1-vm2-92408525
2026-09-21 12:58:14,696 - INFO - Detaching port 30a65153-10b4-4a91-a333-412465955869 from VM ctest-vn1-vm1-20247914
2026-09-21 12:58:14,740 - INFO - Deleting VM ctest-vn1-vm1-20247914
2026-09-21 12:58:15,044 - DEBUG - Response for delete_port : ()
2026-09-21 12:58:15,277 - DEBUG - Response for delete_port : ()
2026-09-21 12:58:15,277 - INFO - Deleting VN ctest-vn1-56832576
2026-09-21 12:58:15,441 - DEBUG - Response for deleting network ()
2026-09-21 12:58:15,717 - DEBUG - No XMPP flaps were noticed during the test
2026-09-21 12:58:15,717 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:01:02]
2026-09-21 12:58:15,718 - INFO - --------------------------------------------------------------------------------
2026-09-21 12:58:16,589 - INFO - Deleted project: ctest-TestPorts-46064733, ID : dfb2a835-5e8c-4687-ba64-90529f3c55d5