2026-09-28 18:32:51,791 - INFO - Domain Default found not creating
2026-09-28 18:32:52,022 - INFO - Project ctest-TestPorts-16515445 not found, creating it
2026-09-28 18:32:52,603 - INFO - Created Project:ctest-TestPorts-16515445, ID : 7f969675-d5cb-487e-b166-f926e0abc8a0
2026-09-28 18:32:54,586 - INFO - ================================================================================
2026-09-28 18:32:54,586 - INFO - STARTING TEST : test_ports_bindings
2026-09-28 18:32:54,586 - 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-28 18:32:54,861 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.17': '0'}} with
2026-09-28 18:32:54,861 - INFO - Initial checks done. Running the testcase now
2026-09-28 18:32:54,862 - INFO -
2026-09-28 18:32:55,557 - DEBUG - Response for create_network : {'network': {'id': '912fd8a3-086b-4c70-b58b-0cf81281bb72', 'name': 'ctest-vn-99756843', 'tenant_id': '7f969675d5cb487eb166f926e0abc8a0', 'project_id': '7f969675d5cb487eb166f926e0abc8a0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-16515445', 'ctest-vn-99756843'], 'port_security_enabled': True, 'description': ''}}
2026-09-28 18:32:55,825 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c0fc48d1-675c-49aa-98c2-2eb2a652cef3', 'name': '', 'tenant_id': '7f969675d5cb487eb166f926e0abc8a0', 'network_id': '912fd8a3-086b-4c70-b58b-0cf81281bb72', 'ip_version': 4, 'cidr': '80.154.161.192/26', 'allocation_pools': [{'start': '80.154.161.194', 'end': '80.154.161.254'}], 'gateway_ip': '80.154.161.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.154.161.194', 'tags': [], 'project_id': '7f969675d5cb487eb166f926e0abc8a0'}}
2026-09-28 18:32:55,848 - INFO - Created VN ctest-vn-99756843
2026-09-28 18:32:55,907 - DEBUG - VN ctest-vn-99756843 UUID is 912fd8a3-086b-4c70-b58b-0cf81281bb72
2026-09-28 18:32:56,048 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-16515445', 'ctest-vmi-39097362']}
2026-09-28 18:32:56,387 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-39097362', 'id': '0f02c569-5721-400f-a4bc-f0ea16eb2c96', 'tenant_id': '7f969675d5cb487eb166f926e0abc8a0', 'network_id': '912fd8a3-086b-4c70-b58b-0cf81281bb72', 'mac_address': '02:0f:02:c5:69:57', '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': '80.154.161.195', 'subnet_id': 'c0fc48d1-675c-49aa-98c2-2eb2a652cef3'}], 'security_groups': ['1122731a-db16-4699-b9ad-c5dd98387a13'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '7f969675d5cb487eb166f926e0abc8a0'}}
2026-09-28 18:32:56,388 - DEBUG - Created port 0f02c569-5721-400f-a4bc-f0ea16eb2c96
2026-09-28 18:32:56,506 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/0f02c569-5721-400f-a4bc-f0ea16eb2c96
2026-09-28 18:32:56,903 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/0f02c569-5721-400f-a4bc-f0ea16eb2c96
2026-09-28 18:32:56,947 - INFO - VMI 0f02c569-5721-400f-a4bc-f0ea16eb2c96 verification in API Server passed
2026-09-28 18:32:57,092 - DEBUG - Response for delete_port : ()
2026-09-28 18:32:57,092 - INFO - Deleted port 0f02c569-5721-400f-a4bc-f0ea16eb2c96
2026-09-28 18:32:57,092 - INFO - Deleting VN ctest-vn-99756843
2026-09-28 18:32:57,257 - DEBUG - Response for deleting network ()
2026-09-28 18:32:57,533 - DEBUG - No XMPP flaps were noticed during the test
2026-09-28 18:32:57,533 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-09-28 18:32:57,533 - INFO - --------------------------------------------------------------------------------
2026-09-28 18:32:57,536 - INFO - ================================================================================
2026-09-28 18:32:57,537 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-09-28 18:32:57,537 - 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-28 18:32:57,837 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.17': '0'}} with
2026-09-28 18:32:57,838 - INFO - Initial checks done. Running the testcase now
2026-09-28 18:32:57,838 - INFO -
2026-09-28 18:32:58,091 - DEBUG - Response for create_network : {'network': {'id': '43ae689b-8683-45a9-80fa-2cc72afb0ae4', 'name': 'ctest-vn1-35285298', 'tenant_id': '7f969675d5cb487eb166f926e0abc8a0', 'project_id': '7f969675d5cb487eb166f926e0abc8a0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-16515445', 'ctest-vn1-35285298'], 'port_security_enabled': True, 'description': ''}}
2026-09-28 18:32:58,372 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c34e8c55-51f0-4386-9740-a3788bae5fe9', 'name': '', 'tenant_id': '7f969675d5cb487eb166f926e0abc8a0', 'network_id': '43ae689b-8683-45a9-80fa-2cc72afb0ae4', 'ip_version': 4, 'cidr': '91.113.57.192/26', 'allocation_pools': [{'start': '91.113.57.194', 'end': '91.113.57.254'}], 'gateway_ip': '91.113.57.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.113.57.194', 'tags': [], 'project_id': '7f969675d5cb487eb166f926e0abc8a0'}}
2026-09-28 18:32:58,603 - DEBUG - Response for create_subnet : {'subnet': {'id': '52798f7d-eae4-40a9-9f96-364f5cc2451a', 'name': '', 'tenant_id': '7f969675d5cb487eb166f926e0abc8a0', 'network_id': '43ae689b-8683-45a9-80fa-2cc72afb0ae4', 'ip_version': 4, 'cidr': '142.140.15.192/26', 'allocation_pools': [{'start': '142.140.15.194', 'end': '142.140.15.254'}], 'gateway_ip': '142.140.15.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.140.15.194', 'tags': [], 'project_id': '7f969675d5cb487eb166f926e0abc8a0'}}
2026-09-28 18:32:58,629 - INFO - Created VN ctest-vn1-35285298
2026-09-28 18:32:58,687 - DEBUG - VN ctest-vn1-35285298 UUID is 43ae689b-8683-45a9-80fa-2cc72afb0ae4
2026-09-28 18:32:59,135 - DEBUG - Response for create_port : {'port': {'name': '08a3e0d1-87be-4db2-8ea9-66d1ee744900', 'id': '08a3e0d1-87be-4db2-8ea9-66d1ee744900', 'tenant_id': '7f969675d5cb487eb166f926e0abc8a0', 'network_id': '43ae689b-8683-45a9-80fa-2cc72afb0ae4', 'mac_address': '02:08:a3:e0:d1:87', '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.113.57.197', 'subnet_id': 'c34e8c55-51f0-4386-9740-a3788bae5fe9'}], 'security_groups': ['1122731a-db16-4699-b9ad-c5dd98387a13'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '7f969675d5cb487eb166f926e0abc8a0'}}
2026-09-28 18:32:59,391 - DEBUG - Response for create_port : {'port': {'name': '2d7401e9-8147-493f-9f20-7357b1d3af17', 'id': '2d7401e9-8147-493f-9f20-7357b1d3af17', 'tenant_id': '7f969675d5cb487eb166f926e0abc8a0', 'network_id': '43ae689b-8683-45a9-80fa-2cc72afb0ae4', 'mac_address': '02:2d:74:01:e9:81', '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': '142.140.15.197', 'subnet_id': '52798f7d-eae4-40a9-9f96-364f5cc2451a'}], 'security_groups': ['1122731a-db16-4699-b9ad-c5dd98387a13'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '7f969675d5cb487eb166f926e0abc8a0'}}
2026-09-28 18:32:59,481 - DEBUG - Services list from nova: [, , ]
2026-09-28 18:32:59,936 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6325-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6325-1)
2026-09-28 18:33:00,533 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6325-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6325-1)
2026-09-28 18:33:00,533 - INFO - Waiting for VM ctest-vn1-vm1-04562438 to be up..
2026-09-28 18:33:00,590 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-28 18:33:05,664 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-28 18:33:10,780 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-28 18:33:15,875 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-28 18:33:20,980 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-28 18:33:26,095 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-28 18:33:31,213 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-28 18:33:36,316 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-28 18:33:41,425 - DEBUG - VM is in ACTIVE state now
2026-09-28 18:33:41,425 - INFO - VM name : ctest-vn1-vm1-04562438
2026-09-28 18:33:41,523 - DEBUG - VM ctest-vn1-vm1-04562438 ID is f8bceb57-b402-458c-81a9-ae2deb425ba8
2026-09-28 18:33:41,551 - DEBUG - VM ctest-vn1-vm1-04562438 launched on Node cn-jenkins-deploy-platform-ansible-os-6325-1
2026-09-28 18:33:41,656 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/f8bceb57-b402-458c-81a9-ae2deb425ba8
2026-09-28 18:33:41,669 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/08a3e0d1-87be-4db2-8ea9-66d1ee744900
2026-09-28 18:33:44,960 - 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 1006ms')
2026-09-28 18:33:44,960 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-04562438 failed!
2026-09-28 18:33:45,018 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-16515445:ctest-vn1-35285298 is 91.113.57.193 and allocation pool is NOT set
2026-09-28 18:33:45,019 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-16515445:ctest-vn1-35285298 is 142.140.15.193 and allocation pool is NOT set
2026-09-28 18:33:47,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=4.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.667 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.667/2.772/4.877/2.105 ms')
2026-09-28 18:33:47,084 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-04562438 passed
2026-09-28 18:33:47,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-28 18:33:47,243 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-04562438, IP 91.113.57.197, Port 22
2026-09-28 18:33:47,417 - DEBUG - VM ctest-vn1-vm1-04562438 is ready for SSH connections
2026-09-28 18:33:47,417 - INFO - Waiting for VM ctest-vn1-vm2-53288344 to be up..
2026-09-28 18:33:47,516 - DEBUG - VM is in ACTIVE state now
2026-09-28 18:33:47,516 - INFO - VM name : ctest-vn1-vm2-53288344
2026-09-28 18:33:47,608 - DEBUG - VM ctest-vn1-vm2-53288344 ID is a42a9319-f4f6-4aec-9dc2-7f21bde4406e
2026-09-28 18:33:47,609 - DEBUG - VM ctest-vn1-vm2-53288344 launched on Node cn-jenkins-deploy-platform-ansible-os-6325-1
2026-09-28 18:33:47,694 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/a42a9319-f4f6-4aec-9dc2-7f21bde4406e
2026-09-28 18:33:47,704 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/2d7401e9-8147-493f-9f20-7357b1d3af17
2026-09-28 18:33:50,982 - 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 1011ms')
2026-09-28 18:33:50,982 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-53288344 failed!
2026-09-28 18:33:51,039 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-16515445:ctest-vn1-35285298 is 91.113.57.193 and allocation pool is NOT set
2026-09-28 18:33:51,039 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-16515445:ctest-vn1-35285298 is 142.140.15.193 and allocation pool is NOT set
2026-09-28 18:33:53,104 - 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=15.2 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.18 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.176/8.179/15.182/7.003 ms')
2026-09-28 18:33:53,104 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-53288344 passed
2026-09-28 18:33:53,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-28 18:33:53,259 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-53288344, IP 142.140.15.197, Port 22
2026-09-28 18:33:53,326 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-09-28 18:33:53,426 - DEBUG - VM ctest-vn1-vm2-53288344 is NOT ready for SSH connections, VM status: ACTIVE
2026-09-28 18:33:58,427 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-28 18:33:58,427 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-53288344, IP 142.140.15.197, Port 22
2026-09-28 18:33:58,596 - DEBUG - VM ctest-vn1-vm2-53288344 is ready for SSH connections
2026-09-28 18:33:58,597 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-28 18:33:58,597 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-28 18:33:58,597 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-28 18:33:58,597 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.113.57.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123
2026-09-28 18:33:58,597 - DEBUG - ping -s 56 -c 3 -W 1 91.113.57.197
2026-09-28 18:34:01,857 - DEBUG - PING 91.113.57.197 (91.113.57.197): 56 data bytes
64 bytes from 91.113.57.197: seq=0 ttl=63 time=5.335 ms
64 bytes from 91.113.57.197: seq=1 ttl=63 time=1.444 ms
64 bytes from 91.113.57.197: seq=2 ttl=63 time=1.506 ms
--- 91.113.57.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.444/2.761/5.335 ms
2026-09-28 18:34:01,857 - INFO - Ping to IP 91.113.57.197 from VM ctest-vn1-vm2-53288344 passed
2026-09-28 18:34:01,857 - INFO - Detaching port 2d7401e9-8147-493f-9f20-7357b1d3af17 from VM ctest-vn1-vm2-53288344
2026-09-28 18:34:01,947 - INFO - Deleting VM ctest-vn1-vm2-53288344
2026-09-28 18:34:02,060 - INFO - Detaching port 08a3e0d1-87be-4db2-8ea9-66d1ee744900 from VM ctest-vn1-vm1-04562438
2026-09-28 18:34:02,122 - INFO - Deleting VM ctest-vn1-vm1-04562438
2026-09-28 18:34:02,457 - DEBUG - Response for delete_port : ()
2026-09-28 18:34:02,716 - DEBUG - Response for delete_port : ()
2026-09-28 18:34:02,716 - INFO - Deleting VN ctest-vn1-35285298
2026-09-28 18:34:03,034 - DEBUG - Response for deleting network ()
2026-09-28 18:34:03,316 - DEBUG - No XMPP flaps were noticed during the test
2026-09-28 18:34:03,316 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:01:06]
2026-09-28 18:34:03,316 - INFO - --------------------------------------------------------------------------------
2026-09-28 18:34:04,235 - INFO - Deleted project: ctest-TestPorts-16515445, ID : 7f969675-d5cb-487e-b166-f926e0abc8a0