2026-10-06 11:44:10,634 - INFO - Domain Default found not creating
2026-10-06 11:44:10,778 - INFO - Project ctest-TestPorts-96011635 not found, creating it
2026-10-06 11:44:11,245 - INFO - Created Project:ctest-TestPorts-96011635, ID : 240c2585-fe59-4124-b905-6817492d85d9
2026-10-06 11:44:12,862 - INFO - ================================================================================
2026-10-06 11:44:12,862 - INFO - STARTING TEST : test_ports_bindings
2026-10-06 11:44:12,863 - 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-10-06 11:44:13,127 - DEBUG - Nothing to compare xmpp stats {'10.0.0.163': {'10.20.0.25': '0'}} with
2026-10-06 11:44:13,128 - INFO - Initial checks done. Running the testcase now
2026-10-06 11:44:13,128 - INFO -
2026-10-06 11:44:14,110 - DEBUG - Response for create_network : {'network': {'id': 'da9f3e3d-262b-4606-90d8-2027d99da047', 'name': 'ctest-vn-69536283', 'tenant_id': '240c2585fe594124b9056817492d85d9', 'project_id': '240c2585fe594124b9056817492d85d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-96011635', 'ctest-vn-69536283'], 'port_security_enabled': True, 'description': ''}}
2026-10-06 11:44:14,281 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef32f4df-ed5a-42eb-93ea-4c3664270559', 'name': '', 'tenant_id': '240c2585fe594124b9056817492d85d9', 'network_id': 'da9f3e3d-262b-4606-90d8-2027d99da047', 'ip_version': 4, 'cidr': '174.254.222.64/26', 'allocation_pools': [{'start': '174.254.222.66', 'end': '174.254.222.126'}], 'gateway_ip': '174.254.222.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.254.222.66', 'tags': [], 'project_id': '240c2585fe594124b9056817492d85d9'}}
2026-10-06 11:44:14,298 - INFO - Created VN ctest-vn-69536283
2026-10-06 11:44:14,349 - DEBUG - VN ctest-vn-69536283 UUID is da9f3e3d-262b-4606-90d8-2027d99da047
2026-10-06 11:44:14,450 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-96011635', 'ctest-vmi-12667779']}
2026-10-06 11:44:14,745 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-12667779', 'id': 'e48363ae-8c8c-4e0f-bc2e-dcdaf5bd8133', 'tenant_id': '240c2585fe594124b9056817492d85d9', 'network_id': 'da9f3e3d-262b-4606-90d8-2027d99da047', 'mac_address': '02:e4:83:63:ae:8c', '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': '174.254.222.67', 'subnet_id': 'ef32f4df-ed5a-42eb-93ea-4c3664270559'}], 'security_groups': ['d055f06f-62d4-4186-8b1e-2940ee3f62df'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '240c2585fe594124b9056817492d85d9'}}
2026-10-06 11:44:14,745 - DEBUG - Created port e48363ae-8c8c-4e0f-bc2e-dcdaf5bd8133
2026-10-06 11:44:14,849 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/e48363ae-8c8c-4e0f-bc2e-dcdaf5bd8133
2026-10-06 11:44:15,221 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/e48363ae-8c8c-4e0f-bc2e-dcdaf5bd8133
2026-10-06 11:44:15,253 - INFO - VMI e48363ae-8c8c-4e0f-bc2e-dcdaf5bd8133 verification in API Server passed
2026-10-06 11:44:15,340 - DEBUG - Response for delete_port : ()
2026-10-06 11:44:15,340 - INFO - Deleted port e48363ae-8c8c-4e0f-bc2e-dcdaf5bd8133
2026-10-06 11:44:15,340 - INFO - Deleting VN ctest-vn-69536283
2026-10-06 11:44:15,446 - DEBUG - Response for deleting network ()
2026-10-06 11:44:15,713 - DEBUG - No XMPP flaps were noticed during the test
2026-10-06 11:44:15,713 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-10-06 11:44:15,714 - INFO - --------------------------------------------------------------------------------
2026-10-06 11:44:15,716 - INFO - ================================================================================
2026-10-06 11:44:15,716 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-10-06 11:44:15,716 - 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-10-06 11:44:16,008 - DEBUG - Nothing to compare xmpp stats {'10.0.0.163': {'10.20.0.25': '0'}} with
2026-10-06 11:44:16,008 - INFO - Initial checks done. Running the testcase now
2026-10-06 11:44:16,008 - INFO -
2026-10-06 11:44:16,219 - DEBUG - Response for create_network : {'network': {'id': 'd1e2bc6b-6245-412b-925a-edfd1477b2ab', 'name': 'ctest-vn1-78155429', 'tenant_id': '240c2585fe594124b9056817492d85d9', 'project_id': '240c2585fe594124b9056817492d85d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-96011635', 'ctest-vn1-78155429'], 'port_security_enabled': True, 'description': ''}}
2026-10-06 11:44:16,397 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a0eca1b3-de4a-43e4-ad67-35fb96a61352', 'name': '', 'tenant_id': '240c2585fe594124b9056817492d85d9', 'network_id': 'd1e2bc6b-6245-412b-925a-edfd1477b2ab', 'ip_version': 4, 'cidr': '204.147.37.128/26', 'allocation_pools': [{'start': '204.147.37.130', 'end': '204.147.37.190'}], 'gateway_ip': '204.147.37.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.147.37.130', 'tags': [], 'project_id': '240c2585fe594124b9056817492d85d9'}}
2026-10-06 11:44:16,615 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c15b923-1329-4207-bf14-d6fa9014e4e1', 'name': '', 'tenant_id': '240c2585fe594124b9056817492d85d9', 'network_id': 'd1e2bc6b-6245-412b-925a-edfd1477b2ab', 'ip_version': 4, 'cidr': '66.34.23.64/26', 'allocation_pools': [{'start': '66.34.23.66', 'end': '66.34.23.126'}], 'gateway_ip': '66.34.23.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.34.23.66', 'tags': [], 'project_id': '240c2585fe594124b9056817492d85d9'}}
2026-10-06 11:44:16,631 - INFO - Created VN ctest-vn1-78155429
2026-10-06 11:44:16,681 - DEBUG - VN ctest-vn1-78155429 UUID is d1e2bc6b-6245-412b-925a-edfd1477b2ab
2026-10-06 11:44:16,976 - DEBUG - Response for create_port : {'port': {'name': '08cd33d3-7c92-4e35-8a05-3ed94b418db4', 'id': '08cd33d3-7c92-4e35-8a05-3ed94b418db4', 'tenant_id': '240c2585fe594124b9056817492d85d9', 'network_id': 'd1e2bc6b-6245-412b-925a-edfd1477b2ab', 'mac_address': '02:08:cd:33:d3:7c', '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': '204.147.37.133', 'subnet_id': 'a0eca1b3-de4a-43e4-ad67-35fb96a61352'}], 'security_groups': ['d055f06f-62d4-4186-8b1e-2940ee3f62df'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '240c2585fe594124b9056817492d85d9'}}
2026-10-06 11:44:17,169 - DEBUG - Response for create_port : {'port': {'name': '2c414873-ab8d-4ecd-83b3-cbcb2c81ec63', 'id': '2c414873-ab8d-4ecd-83b3-cbcb2c81ec63', 'tenant_id': '240c2585fe594124b9056817492d85d9', 'network_id': 'd1e2bc6b-6245-412b-925a-edfd1477b2ab', 'mac_address': '02:2c:41:48:73:ab', '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': '66.34.23.69', 'subnet_id': '7c15b923-1329-4207-bf14-d6fa9014e4e1'}], 'security_groups': ['d055f06f-62d4-4186-8b1e-2940ee3f62df'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '240c2585fe594124b9056817492d85d9'}}
2026-10-06 11:44:17,222 - DEBUG - Services list from nova: [, , ]
2026-10-06 11:44:17,545 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6350-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6350-1)
2026-10-06 11:44:17,889 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6350-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6350-1)
2026-10-06 11:44:17,890 - INFO - Waiting for VM ctest-vn1-vm1-68932152 to be up..
2026-10-06 11:44:17,923 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-06 11:44:22,967 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-06 11:44:28,034 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-06 11:44:33,109 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-06 11:44:38,180 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-06 11:44:43,251 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-06 11:44:48,328 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-06 11:44:53,399 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-06 11:44:58,473 - DEBUG - VM is in ACTIVE state now
2026-10-06 11:44:58,473 - INFO - VM name : ctest-vn1-vm1-68932152
2026-10-06 11:44:58,542 - DEBUG - VM ctest-vn1-vm1-68932152 ID is 0ceda360-6ef7-4eda-afd1-8e9c08f6d143
2026-10-06 11:44:58,563 - DEBUG - VM ctest-vn1-vm1-68932152 launched on Node cn-jenkins-deploy-platform-ansible-os-6350-1
2026-10-06 11:44:58,636 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/0ceda360-6ef7-4eda-afd1-8e9c08f6d143
2026-10-06 11:44:58,643 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/08cd33d3-7c92-4e35-8a05-3ed94b418db4
2026-10-06 11:45:01,903 - 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 1022ms')
2026-10-06 11:45:01,903 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-68932152 failed!
2026-10-06 11:45:01,961 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-96011635:ctest-vn1-78155429 is 204.147.37.129 and allocation pool is NOT set
2026-10-06 11:45:01,961 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-96011635:ctest-vn1-78155429 is 66.34.23.65 and allocation pool is NOT set
2026-10-06 11:45:04,029 - 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=10.7 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.92 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.923/6.304/10.685/4.381 ms')
2026-10-06 11:45:04,029 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-68932152 passed
2026-10-06 11:45:04,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-06 11:45:04,181 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-68932152, IP 204.147.37.133, Port 22
2026-10-06 11:45:04,247 - 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-10-06 11:45:04,329 - DEBUG - VM ctest-vn1-vm1-68932152 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-06 11:45:09,331 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-06 11:45:09,331 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-68932152, IP 204.147.37.133, Port 22
2026-10-06 11:45:09,492 - DEBUG - VM ctest-vn1-vm1-68932152 is ready for SSH connections
2026-10-06 11:45:09,492 - INFO - Waiting for VM ctest-vn1-vm2-22292845 to be up..
2026-10-06 11:45:09,564 - DEBUG - VM is in ACTIVE state now
2026-10-06 11:45:09,564 - INFO - VM name : ctest-vn1-vm2-22292845
2026-10-06 11:45:09,636 - DEBUG - VM ctest-vn1-vm2-22292845 ID is e7e64987-22de-4851-a01e-3e6f27688b5a
2026-10-06 11:45:09,637 - DEBUG - VM ctest-vn1-vm2-22292845 launched on Node cn-jenkins-deploy-platform-ansible-os-6350-1
2026-10-06 11:45:09,708 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/e7e64987-22de-4851-a01e-3e6f27688b5a
2026-10-06 11:45:09,716 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/2c414873-ab8d-4ecd-83b3-cbcb2c81ec63
2026-10-06 11:45:10,950 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.486 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.486/2.676/4.867/2.190 ms')
2026-10-06 11:45:10,950 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-22292845 passed
2026-10-06 11:45:11,097 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-06 11:45:11,097 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-22292845, IP 66.34.23.69, Port 22
2026-10-06 11:45:11,253 - DEBUG - VM ctest-vn1-vm2-22292845 is ready for SSH connections
2026-10-06 11:45:11,253 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-06 11:45:11,253 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-06 11:45:11,253 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-06 11:45:11,253 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.147.37.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123
2026-10-06 11:45:11,253 - DEBUG - ping -s 56 -c 3 -W 1 204.147.37.133
2026-10-06 11:45:15,300 - DEBUG - PING 204.147.37.133 (204.147.37.133): 56 data bytes
64 bytes from 204.147.37.133: seq=0 ttl=63 time=4.323 ms
64 bytes from 204.147.37.133: seq=1 ttl=63 time=0.792 ms
64 bytes from 204.147.37.133: seq=2 ttl=63 time=0.875 ms
--- 204.147.37.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.792/1.996/4.323 ms
2026-10-06 11:45:15,300 - INFO - Ping to IP 204.147.37.133 from VM ctest-vn1-vm2-22292845 passed
2026-10-06 11:45:15,301 - INFO - Detaching port 2c414873-ab8d-4ecd-83b3-cbcb2c81ec63 from VM ctest-vn1-vm2-22292845
2026-10-06 11:45:15,359 - INFO - Deleting VM ctest-vn1-vm2-22292845
2026-10-06 11:45:15,431 - INFO - Detaching port 08cd33d3-7c92-4e35-8a05-3ed94b418db4 from VM ctest-vn1-vm1-68932152
2026-10-06 11:45:15,468 - INFO - Deleting VM ctest-vn1-vm1-68932152
2026-10-06 11:45:15,699 - DEBUG - Response for delete_port : ()
2026-10-06 11:45:15,863 - DEBUG - Response for delete_port : ()
2026-10-06 11:45:15,863 - INFO - Deleting VN ctest-vn1-78155429
2026-10-06 11:45:16,002 - DEBUG - Response for deleting network ()
2026-10-06 11:45:16,260 - DEBUG - No XMPP flaps were noticed during the test
2026-10-06 11:45:16,261 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:01:01]
2026-10-06 11:45:16,261 - INFO - --------------------------------------------------------------------------------
2026-10-06 11:45:17,074 - INFO - Deleted project: ctest-TestPorts-96011635, ID : 240c2585-fe59-4124-b905-6817492d85d9