2026-11-02 10:17:16,483 - INFO - Domain Default found not creating
2026-11-02 10:17:16,678 - INFO - Project ctest-TestPorts-76814853 not found, creating it
2026-11-02 10:17:17,193 - INFO - Created Project:ctest-TestPorts-76814853, ID : e3818dd8-0e7e-480a-9976-349fc6e344da
2026-11-02 10:17:19,188 - INFO - ================================================================================
2026-11-02 10:17:19,188 - INFO - STARTING TEST : test_ports_bindings
2026-11-02 10:17:19,188 - 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-11-02 10:17:19,465 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.29': '0'}} with
2026-11-02 10:17:19,465 - INFO - Initial checks done. Running the testcase now
2026-11-02 10:17:19,465 - INFO -
2026-11-02 10:17:20,087 - DEBUG - Response for create_network : {'network': {'id': 'f2e614c4-0ff4-4e2c-8f30-2e34dfa03314', 'name': 'ctest-vn-16836746', 'tenant_id': 'e3818dd80e7e480a9976349fc6e344da', 'project_id': 'e3818dd80e7e480a9976349fc6e344da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-76814853', 'ctest-vn-16836746'], 'port_security_enabled': True, 'description': ''}}
2026-11-02 10:17:20,244 - DEBUG - Response for create_subnet : {'subnet': {'id': '44842ac4-74ef-46cb-9749-835c092c14e6', 'name': '', 'tenant_id': 'e3818dd80e7e480a9976349fc6e344da', 'network_id': 'f2e614c4-0ff4-4e2c-8f30-2e34dfa03314', 'ip_version': 4, 'cidr': '4.194.226.64/26', 'allocation_pools': [{'start': '4.194.226.66', 'end': '4.194.226.126'}], 'gateway_ip': '4.194.226.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.194.226.66', 'tags': [], 'project_id': 'e3818dd80e7e480a9976349fc6e344da'}}
2026-11-02 10:17:20,261 - INFO - Created VN ctest-vn-16836746
2026-11-02 10:17:20,315 - DEBUG - VN ctest-vn-16836746 UUID is f2e614c4-0ff4-4e2c-8f30-2e34dfa03314
2026-11-02 10:17:20,424 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-76814853', 'ctest-vmi-48406144']}
2026-11-02 10:17:20,772 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-48406144', 'id': '9b47e555-2842-42cd-84b1-989fed5ddcbf', 'tenant_id': 'e3818dd80e7e480a9976349fc6e344da', 'network_id': 'f2e614c4-0ff4-4e2c-8f30-2e34dfa03314', 'mac_address': '02:9b:47:e5:55:28', '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': '4.194.226.67', 'subnet_id': '44842ac4-74ef-46cb-9749-835c092c14e6'}], 'security_groups': ['9ae8e912-f728-4d86-b358-5633056e1b78'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': 'e3818dd80e7e480a9976349fc6e344da'}}
2026-11-02 10:17:20,772 - DEBUG - Created port 9b47e555-2842-42cd-84b1-989fed5ddcbf
2026-11-02 10:17:20,879 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9b47e555-2842-42cd-84b1-989fed5ddcbf
2026-11-02 10:17:21,246 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9b47e555-2842-42cd-84b1-989fed5ddcbf
2026-11-02 10:17:21,279 - INFO - VMI 9b47e555-2842-42cd-84b1-989fed5ddcbf verification in API Server passed
2026-11-02 10:17:21,382 - DEBUG - Response for delete_port : ()
2026-11-02 10:17:21,382 - INFO - Deleted port 9b47e555-2842-42cd-84b1-989fed5ddcbf
2026-11-02 10:17:21,382 - INFO - Deleting VN ctest-vn-16836746
2026-11-02 10:17:21,511 - DEBUG - Response for deleting network ()
2026-11-02 10:17:21,780 - DEBUG - No XMPP flaps were noticed during the test
2026-11-02 10:17:21,780 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-11-02 10:17:21,780 - INFO - --------------------------------------------------------------------------------
2026-11-02 10:17:21,783 - INFO - ================================================================================
2026-11-02 10:17:21,783 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-11-02 10:17:21,783 - 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-11-02 10:17:22,072 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.29': '0'}} with
2026-11-02 10:17:22,073 - INFO - Initial checks done. Running the testcase now
2026-11-02 10:17:22,073 - INFO -
2026-11-02 10:17:22,257 - DEBUG - Response for create_network : {'network': {'id': '23b52a35-bd94-470c-97a4-59bd4dde2cb1', 'name': 'ctest-vn1-23591655', 'tenant_id': 'e3818dd80e7e480a9976349fc6e344da', 'project_id': 'e3818dd80e7e480a9976349fc6e344da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-76814853', 'ctest-vn1-23591655'], 'port_security_enabled': True, 'description': ''}}
2026-11-02 10:17:22,417 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f5dde0ef-8f88-465b-8868-1b5a81cf6d7d', 'name': '', 'tenant_id': 'e3818dd80e7e480a9976349fc6e344da', 'network_id': '23b52a35-bd94-470c-97a4-59bd4dde2cb1', 'ip_version': 4, 'cidr': '131.29.57.128/26', 'allocation_pools': [{'start': '131.29.57.130', 'end': '131.29.57.190'}], 'gateway_ip': '131.29.57.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.29.57.130', 'tags': [], 'project_id': 'e3818dd80e7e480a9976349fc6e344da'}}
2026-11-02 10:17:22,558 - DEBUG - Response for create_subnet : {'subnet': {'id': '66991219-4c7d-4e88-911c-1072748d2ff3', 'name': '', 'tenant_id': 'e3818dd80e7e480a9976349fc6e344da', 'network_id': '23b52a35-bd94-470c-97a4-59bd4dde2cb1', 'ip_version': 4, 'cidr': '100.246.6.64/26', 'allocation_pools': [{'start': '100.246.6.66', 'end': '100.246.6.126'}], 'gateway_ip': '100.246.6.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.246.6.66', 'tags': [], 'project_id': 'e3818dd80e7e480a9976349fc6e344da'}}
2026-11-02 10:17:22,577 - INFO - Created VN ctest-vn1-23591655
2026-11-02 10:17:22,631 - DEBUG - VN ctest-vn1-23591655 UUID is 23b52a35-bd94-470c-97a4-59bd4dde2cb1
2026-11-02 10:17:22,957 - DEBUG - Response for create_port : {'port': {'name': 'f2b0ac0a-b422-48a8-8ab9-bcefde82ea85', 'id': 'f2b0ac0a-b422-48a8-8ab9-bcefde82ea85', 'tenant_id': 'e3818dd80e7e480a9976349fc6e344da', 'network_id': '23b52a35-bd94-470c-97a4-59bd4dde2cb1', 'mac_address': '02:f2:b0:ac:0a:b4', '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.29.57.133', 'subnet_id': 'f5dde0ef-8f88-465b-8868-1b5a81cf6d7d'}], 'security_groups': ['9ae8e912-f728-4d86-b358-5633056e1b78'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': 'e3818dd80e7e480a9976349fc6e344da'}}
2026-11-02 10:17:23,143 - DEBUG - Response for create_port : {'port': {'name': 'a448b958-1af7-43da-b025-70ac9865af76', 'id': 'a448b958-1af7-43da-b025-70ac9865af76', 'tenant_id': 'e3818dd80e7e480a9976349fc6e344da', 'network_id': '23b52a35-bd94-470c-97a4-59bd4dde2cb1', 'mac_address': '02:a4:48:b9:58:1a', '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.246.6.69', 'subnet_id': '66991219-4c7d-4e88-911c-1072748d2ff3'}], 'security_groups': ['9ae8e912-f728-4d86-b358-5633056e1b78'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': 'e3818dd80e7e480a9976349fc6e344da'}}
2026-11-02 10:17:23,213 - DEBUG - Services list from nova: [, , ]
2026-11-02 10:17:23,972 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6463-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6463-1)
2026-11-02 10:17:24,725 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6463-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6463-1)
2026-11-02 10:17:24,725 - INFO - Waiting for VM ctest-vn1-vm1-04211349 to be up..
2026-11-02 10:17:24,768 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-02 10:17:29,855 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-02 10:17:34,941 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-02 10:17:40,024 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-02 10:17:45,102 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-02 10:17:50,184 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-02 10:17:55,262 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-02 10:18:00,352 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-02 10:18:05,450 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-02 10:18:10,587 - DEBUG - VM is in ACTIVE state now
2026-11-02 10:18:10,587 - INFO - VM name : ctest-vn1-vm1-04211349
2026-11-02 10:18:10,737 - DEBUG - VM ctest-vn1-vm1-04211349 ID is 321e8a32-c292-4a1d-84f4-45d019cd5adb
2026-11-02 10:18:10,781 - DEBUG - VM ctest-vn1-vm1-04211349 launched on Node cn-jenkins-deploy-platform-ansible-os-6463-1
2026-11-02 10:18:10,894 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/321e8a32-c292-4a1d-84f4-45d019cd5adb
2026-11-02 10:18:10,906 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f2b0ac0a-b422-48a8-8ab9-bcefde82ea85
2026-11-02 10:18:14,187 - 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 1026ms')
2026-11-02 10:18:14,187 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-04211349 failed!
2026-11-02 10:18:14,243 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-76814853:ctest-vn1-23591655 is 131.29.57.129 and allocation pool is NOT set
2026-11-02 10:18:14,243 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-76814853:ctest-vn1-23591655 is 100.246.6.65 and allocation pool is NOT set
2026-11-02 10:18:16,311 - 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=8.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.68 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 = 2.681/5.718/8.756/3.037 ms')
2026-11-02 10:18:16,311 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-04211349 passed
2026-11-02 10:18:16,463 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-02 10:18:16,463 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-04211349, IP 131.29.57.133, Port 22
2026-11-02 10:18:16,529 - 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-11-02 10:18:16,611 - DEBUG - VM ctest-vn1-vm1-04211349 is NOT ready for SSH connections, VM status: ACTIVE
2026-11-02 10:18:21,612 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-02 10:18:21,612 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-04211349, IP 131.29.57.133, Port 22
2026-11-02 10:18:21,785 - DEBUG - VM ctest-vn1-vm1-04211349 is ready for SSH connections
2026-11-02 10:18:21,785 - INFO - Waiting for VM ctest-vn1-vm2-09740752 to be up..
2026-11-02 10:18:21,858 - DEBUG - VM is in ACTIVE state now
2026-11-02 10:18:21,858 - INFO - VM name : ctest-vn1-vm2-09740752
2026-11-02 10:18:21,938 - DEBUG - VM ctest-vn1-vm2-09740752 ID is 3de3f5e1-c187-459e-96cb-c4ac7464aeb7
2026-11-02 10:18:21,938 - DEBUG - VM ctest-vn1-vm2-09740752 launched on Node cn-jenkins-deploy-platform-ansible-os-6463-1
2026-11-02 10:18:22,014 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3de3f5e1-c187-459e-96cb-c4ac7464aeb7
2026-11-02 10:18:22,023 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a448b958-1af7-43da-b025-70ac9865af76
2026-11-02 10:18:23,265 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.565 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.565/2.354/4.144/1.789 ms')
2026-11-02 10:18:23,265 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-09740752 passed
2026-11-02 10:18:23,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-02 10:18:23,415 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-09740752, IP 100.246.6.69, Port 22
2026-11-02 10:18:23,581 - DEBUG - VM ctest-vn1-vm2-09740752 is ready for SSH connections
2026-11-02 10:18:23,581 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-02 10:18:23,581 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-02 10:18:23,581 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-02 10:18:23,582 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.29.57.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-11-02 10:18:23,582 - DEBUG - ping -s 56 -c 3 -W 1 131.29.57.133
2026-11-02 10:18:26,624 - DEBUG - PING 131.29.57.133 (131.29.57.133): 56 data bytes
64 bytes from 131.29.57.133: seq=0 ttl=63 time=4.458 ms
64 bytes from 131.29.57.133: seq=1 ttl=63 time=1.504 ms
64 bytes from 131.29.57.133: seq=2 ttl=63 time=1.221 ms
--- 131.29.57.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.221/2.394/4.458 ms
2026-11-02 10:18:26,625 - INFO - Ping to IP 131.29.57.133 from VM ctest-vn1-vm2-09740752 passed
2026-11-02 10:18:26,625 - INFO - Detaching port a448b958-1af7-43da-b025-70ac9865af76 from VM ctest-vn1-vm2-09740752
2026-11-02 10:18:26,684 - INFO - Deleting VM ctest-vn1-vm2-09740752
2026-11-02 10:18:26,771 - INFO - Detaching port f2b0ac0a-b422-48a8-8ab9-bcefde82ea85 from VM ctest-vn1-vm1-04211349
2026-11-02 10:18:26,823 - INFO - Deleting VM ctest-vn1-vm1-04211349
2026-11-02 10:18:27,253 - DEBUG - Response for delete_port : ()
2026-11-02 10:18:27,515 - DEBUG - Response for delete_port : ()
2026-11-02 10:18:27,515 - INFO - Deleting VN ctest-vn1-23591655
2026-11-02 10:18:27,705 - DEBUG - Response for deleting network ()
2026-11-02 10:18:27,981 - DEBUG - No XMPP flaps were noticed during the test
2026-11-02 10:18:27,981 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:01:06]
2026-11-02 10:18:27,981 - INFO - --------------------------------------------------------------------------------
2026-11-02 10:18:28,878 - INFO - Deleted project: ctest-TestPorts-76814853, ID : e3818dd8-0e7e-480a-9976-349fc6e344da