2026-09-29 18:05:28,544 - INFO - Domain Default found not creating
2026-09-29 18:05:28,783 - INFO - Project ctest-TestPorts-67058207 not found, creating it
2026-09-29 18:05:29,404 - INFO - Created Project:ctest-TestPorts-67058207, ID : 8596d3bd-3ff2-4453-a01b-f7253f339187
2026-09-29 18:05:31,458 - INFO - ================================================================================
2026-09-29 18:05:31,458 - INFO - STARTING TEST : test_ports_bindings
2026-09-29 18:05:31,458 - 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-29 18:05:31,742 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.29': '0'}} with
2026-09-29 18:05:31,742 - INFO - Initial checks done. Running the testcase now
2026-09-29 18:05:31,742 - INFO -
2026-09-29 18:05:32,513 - DEBUG - Response for create_network : {'network': {'id': '2bef4e2a-80dd-437f-87ce-d5c3e64e2fd0', 'name': 'ctest-vn-50024038', 'tenant_id': '8596d3bd3ff24453a01bf7253f339187', 'project_id': '8596d3bd3ff24453a01bf7253f339187', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-67058207', 'ctest-vn-50024038'], 'port_security_enabled': True, 'description': ''}}
2026-09-29 18:05:32,791 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b1936cf1-a510-468d-8876-c43c16c1b11c', 'name': '', 'tenant_id': '8596d3bd3ff24453a01bf7253f339187', 'network_id': '2bef4e2a-80dd-437f-87ce-d5c3e64e2fd0', 'ip_version': 4, 'cidr': '89.54.100.192/26', 'allocation_pools': [{'start': '89.54.100.194', 'end': '89.54.100.254'}], 'gateway_ip': '89.54.100.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.54.100.194', 'tags': [], 'project_id': '8596d3bd3ff24453a01bf7253f339187'}}
2026-09-29 18:05:32,816 - INFO - Created VN ctest-vn-50024038
2026-09-29 18:05:32,878 - DEBUG - VN ctest-vn-50024038 UUID is 2bef4e2a-80dd-437f-87ce-d5c3e64e2fd0
2026-09-29 18:05:33,008 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-67058207', 'ctest-vmi-22842863']}
2026-09-29 18:05:33,392 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-22842863', 'id': '19a3226c-bc10-4cae-8b64-3408cd17d3cc', 'tenant_id': '8596d3bd3ff24453a01bf7253f339187', 'network_id': '2bef4e2a-80dd-437f-87ce-d5c3e64e2fd0', 'mac_address': '02:19:a3:22:6c:bc', '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': '89.54.100.195', 'subnet_id': 'b1936cf1-a510-468d-8876-c43c16c1b11c'}], 'security_groups': ['53a53630-b3ce-4dcc-9d15-c6a0894a44ac'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '8596d3bd3ff24453a01bf7253f339187'}}
2026-09-29 18:05:33,392 - DEBUG - Created port 19a3226c-bc10-4cae-8b64-3408cd17d3cc
2026-09-29 18:05:33,517 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/19a3226c-bc10-4cae-8b64-3408cd17d3cc
2026-09-29 18:05:33,910 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/19a3226c-bc10-4cae-8b64-3408cd17d3cc
2026-09-29 18:05:33,954 - INFO - VMI 19a3226c-bc10-4cae-8b64-3408cd17d3cc verification in API Server passed
2026-09-29 18:05:34,116 - DEBUG - Response for delete_port : ()
2026-09-29 18:05:34,116 - INFO - Deleted port 19a3226c-bc10-4cae-8b64-3408cd17d3cc
2026-09-29 18:05:34,116 - INFO - Deleting VN ctest-vn-50024038
2026-09-29 18:05:34,295 - DEBUG - Response for deleting network ()
2026-09-29 18:05:34,572 - DEBUG - No XMPP flaps were noticed during the test
2026-09-29 18:05:34,572 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-09-29 18:05:34,572 - INFO - --------------------------------------------------------------------------------
2026-09-29 18:05:34,575 - INFO - ================================================================================
2026-09-29 18:05:34,575 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-09-29 18:05:34,575 - 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-29 18:05:34,877 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.29': '0'}} with
2026-09-29 18:05:34,877 - INFO - Initial checks done. Running the testcase now
2026-09-29 18:05:34,877 - INFO -
2026-09-29 18:05:35,141 - DEBUG - Response for create_network : {'network': {'id': '69d3943c-447d-49bc-8172-9274204c9390', 'name': 'ctest-vn1-46085503', 'tenant_id': '8596d3bd3ff24453a01bf7253f339187', 'project_id': '8596d3bd3ff24453a01bf7253f339187', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-67058207', 'ctest-vn1-46085503'], 'port_security_enabled': True, 'description': ''}}
2026-09-29 18:05:35,379 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f68963c2-5204-4595-894f-440f426fceff', 'name': '', 'tenant_id': '8596d3bd3ff24453a01bf7253f339187', 'network_id': '69d3943c-447d-49bc-8172-9274204c9390', 'ip_version': 4, 'cidr': '45.93.0.128/26', 'allocation_pools': [{'start': '45.93.0.130', 'end': '45.93.0.190'}], 'gateway_ip': '45.93.0.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.93.0.130', 'tags': [], 'project_id': '8596d3bd3ff24453a01bf7253f339187'}}
2026-09-29 18:05:35,572 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e905e105-a350-4930-a6cc-5d180ec57cb8', 'name': '', 'tenant_id': '8596d3bd3ff24453a01bf7253f339187', 'network_id': '69d3943c-447d-49bc-8172-9274204c9390', 'ip_version': 4, 'cidr': '13.79.34.64/26', 'allocation_pools': [{'start': '13.79.34.66', 'end': '13.79.34.126'}], 'gateway_ip': '13.79.34.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.79.34.66', 'tags': [], 'project_id': '8596d3bd3ff24453a01bf7253f339187'}}
2026-09-29 18:05:35,596 - INFO - Created VN ctest-vn1-46085503
2026-09-29 18:05:35,657 - DEBUG - VN ctest-vn1-46085503 UUID is 69d3943c-447d-49bc-8172-9274204c9390
2026-09-29 18:05:36,098 - DEBUG - Response for create_port : {'port': {'name': 'b005bf05-bc07-487e-bc58-2c5bd4466aac', 'id': 'b005bf05-bc07-487e-bc58-2c5bd4466aac', 'tenant_id': '8596d3bd3ff24453a01bf7253f339187', 'network_id': '69d3943c-447d-49bc-8172-9274204c9390', 'mac_address': '02:b0:05:bf:05:bc', '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': '45.93.0.133', 'subnet_id': 'f68963c2-5204-4595-894f-440f426fceff'}], 'security_groups': ['53a53630-b3ce-4dcc-9d15-c6a0894a44ac'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '8596d3bd3ff24453a01bf7253f339187'}}
2026-09-29 18:05:36,373 - DEBUG - Response for create_port : {'port': {'name': '5b1eb1c7-c236-407b-a5cb-7cc73f1d5916', 'id': '5b1eb1c7-c236-407b-a5cb-7cc73f1d5916', 'tenant_id': '8596d3bd3ff24453a01bf7253f339187', 'network_id': '69d3943c-447d-49bc-8172-9274204c9390', 'mac_address': '02:5b:1e:b1:c7:c2', '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': '13.79.34.69', 'subnet_id': 'e905e105-a350-4930-a6cc-5d180ec57cb8'}], 'security_groups': ['53a53630-b3ce-4dcc-9d15-c6a0894a44ac'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '8596d3bd3ff24453a01bf7253f339187'}}
2026-09-29 18:05:36,453 - DEBUG - Services list from nova: [, , ]
2026-09-29 18:05:36,929 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6329-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6329-1)
2026-09-29 18:05:37,514 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6329-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6329-1)
2026-09-29 18:05:37,514 - INFO - Waiting for VM ctest-vn1-vm1-06861189 to be up..
2026-09-29 18:05:37,571 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-29 18:05:42,678 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-29 18:05:47,790 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-29 18:05:52,896 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-29 18:05:57,991 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-29 18:06:03,122 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-29 18:06:08,241 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-29 18:06:13,361 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-29 18:06:18,495 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-29 18:06:23,621 - DEBUG - VM is in ACTIVE state now
2026-09-29 18:06:23,621 - INFO - VM name : ctest-vn1-vm1-06861189
2026-09-29 18:06:23,740 - DEBUG - VM ctest-vn1-vm1-06861189 ID is 5cc5b9c4-6c93-44b2-9c59-8426607f0dfb
2026-09-29 18:06:23,774 - DEBUG - VM ctest-vn1-vm1-06861189 launched on Node cn-jenkins-deploy-platform-ansible-os-6329-1
2026-09-29 18:06:23,909 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5cc5b9c4-6c93-44b2-9c59-8426607f0dfb
2026-09-29 18:06:23,924 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b005bf05-bc07-487e-bc58-2c5bd4466aac
2026-09-29 18:06:27,227 - 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 1028ms')
2026-09-29 18:06:27,227 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06861189 failed!
2026-09-29 18:06:27,290 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-67058207:ctest-vn1-46085503 is 45.93.0.129 and allocation pool is NOT set
2026-09-29 18:06:27,290 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-67058207:ctest-vn1-46085503 is 13.79.34.65 and allocation pool is NOT set
2026-09-29 18:06:29,370 - 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.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.772 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.772/3.063/5.354/2.291 ms')
2026-09-29 18:06:29,370 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06861189 passed
2026-09-29 18:06:29,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-29 18:06:29,530 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-06861189, IP 45.93.0.133, Port 22
2026-09-29 18:06:29,709 - DEBUG - VM ctest-vn1-vm1-06861189 is ready for SSH connections
2026-09-29 18:06:29,709 - INFO - Waiting for VM ctest-vn1-vm2-52747020 to be up..
2026-09-29 18:06:29,828 - DEBUG - VM is in ACTIVE state now
2026-09-29 18:06:29,828 - INFO - VM name : ctest-vn1-vm2-52747020
2026-09-29 18:06:29,938 - DEBUG - VM ctest-vn1-vm2-52747020 ID is e10807f7-af5c-4182-b433-34d221ed50c6
2026-09-29 18:06:29,939 - DEBUG - VM ctest-vn1-vm2-52747020 launched on Node cn-jenkins-deploy-platform-ansible-os-6329-1
2026-09-29 18:06:30,055 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e10807f7-af5c-4182-b433-34d221ed50c6
2026-09-29 18:06:30,068 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5b1eb1c7-c236-407b-a5cb-7cc73f1d5916
2026-09-29 18:06:33,378 - 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 1032ms')
2026-09-29 18:06:33,378 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-52747020 failed!
2026-09-29 18:06:33,442 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-67058207:ctest-vn1-46085503 is 45.93.0.129 and allocation pool is NOT set
2026-09-29 18:06:33,442 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-67058207:ctest-vn1-46085503 is 13.79.34.65 and allocation pool is NOT set
2026-09-29 18:06:35,510 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.36 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.363/3.467/5.572/2.104 ms')
2026-09-29 18:06:35,510 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-52747020 passed
2026-09-29 18:06:35,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-29 18:06:35,686 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-52747020, IP 13.79.34.69, Port 22
2026-09-29 18:06:35,756 - 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-29 18:06:35,872 - DEBUG - VM ctest-vn1-vm2-52747020 is NOT ready for SSH connections, VM status: ACTIVE
2026-09-29 18:06:40,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-29 18:06:40,873 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-52747020, IP 13.79.34.69, Port 22
2026-09-29 18:06:41,064 - DEBUG - VM ctest-vn1-vm2-52747020 is ready for SSH connections
2026-09-29 18:06:41,065 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-29 18:06:41,065 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-29 18:06:41,065 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-29 18:06:41,065 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.93.0.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-09-29 18:06:41,065 - DEBUG - ping -s 56 -c 3 -W 1 45.93.0.133
2026-09-29 18:06:44,384 - DEBUG - PING 45.93.0.133 (45.93.0.133): 56 data bytes
64 bytes from 45.93.0.133: seq=0 ttl=63 time=5.710 ms
64 bytes from 45.93.0.133: seq=1 ttl=63 time=1.272 ms
64 bytes from 45.93.0.133: seq=2 ttl=63 time=1.584 ms
--- 45.93.0.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.272/2.855/5.710 ms
2026-09-29 18:06:44,384 - INFO - Ping to IP 45.93.0.133 from VM ctest-vn1-vm2-52747020 passed
2026-09-29 18:06:44,384 - INFO - Detaching port 5b1eb1c7-c236-407b-a5cb-7cc73f1d5916 from VM ctest-vn1-vm2-52747020
2026-09-29 18:06:44,463 - INFO - Deleting VM ctest-vn1-vm2-52747020
2026-09-29 18:06:44,567 - INFO - Detaching port b005bf05-bc07-487e-bc58-2c5bd4466aac from VM ctest-vn1-vm1-06861189
2026-09-29 18:06:44,616 - INFO - Deleting VM ctest-vn1-vm1-06861189
2026-09-29 18:06:44,977 - DEBUG - Response for delete_port : ()
2026-09-29 18:06:45,264 - DEBUG - Response for delete_port : ()
2026-09-29 18:06:45,264 - INFO - Deleting VN ctest-vn1-46085503
2026-09-29 18:06:45,522 - DEBUG - Response for deleting network ()
2026-09-29 18:06:45,801 - DEBUG - No XMPP flaps were noticed during the test
2026-09-29 18:06:45,801 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:01:11]
2026-09-29 18:06:45,802 - INFO - --------------------------------------------------------------------------------
2026-09-29 18:06:46,689 - INFO - Deleted project: ctest-TestPorts-67058207, ID : 8596d3bd-3ff2-4453-a01b-f7253f339187