2026-04-20 02:19:41,880 - INFO - Domain Default found not creating 2026-04-20 02:19:42,026 - INFO - Project ctest-TestPorts-59948326 not found, creating it 2026-04-20 02:19:42,573 - INFO - Created Project:ctest-TestPorts-59948326, ID : d59a1021-3dc9-455c-b674-3ddf83db9f8d 2026-04-20 02:19:44,056 - INFO - ================================================================================ 2026-04-20 02:19:44,057 - INFO - STARTING TEST : test_ports_bindings 2026-04-20 02:19:44,057 - 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-04-20 02:19:44,315 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.201': '0'}} with 2026-04-20 02:19:44,315 - INFO - Initial checks done. Running the testcase now 2026-04-20 02:19:44,315 - INFO - 2026-04-20 02:19:44,850 - DEBUG - Response for create_network : {'network': {'id': '95c3ba9f-bcc9-411d-a991-1e5cb03e6455', 'name': 'ctest-vn-91118038', 'tenant_id': 'd59a10213dc9455cb6743ddf83db9f8d', 'project_id': 'd59a10213dc9455cb6743ddf83db9f8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-59948326', 'ctest-vn-91118038'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 02:19:45,043 - DEBUG - Response for create_subnet : {'subnet': {'id': '5fa38a9a-dbec-4c9d-b30e-7f97d416ea38', 'name': '', 'tenant_id': 'd59a10213dc9455cb6743ddf83db9f8d', 'network_id': '95c3ba9f-bcc9-411d-a991-1e5cb03e6455', 'ip_version': 4, 'cidr': '72.160.222.128/26', 'allocation_pools': [{'start': '72.160.222.130', 'end': '72.160.222.190'}], 'gateway_ip': '72.160.222.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.160.222.130', 'tags': [], 'project_id': 'd59a10213dc9455cb6743ddf83db9f8d'}} 2026-04-20 02:19:45,058 - INFO - Created VN ctest-vn-91118038 2026-04-20 02:19:45,114 - DEBUG - VN ctest-vn-91118038 UUID is 95c3ba9f-bcc9-411d-a991-1e5cb03e6455 2026-04-20 02:19:45,214 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-59948326', 'ctest-vmi-11859219']} 2026-04-20 02:19:45,474 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-11859219', 'id': '49f2eb72-44f2-4985-92a9-bdf3c9317024', 'tenant_id': 'd59a10213dc9455cb6743ddf83db9f8d', 'network_id': '95c3ba9f-bcc9-411d-a991-1e5cb03e6455', 'mac_address': '02:49:f2:eb:72:44', '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': '72.160.222.131', 'subnet_id': '5fa38a9a-dbec-4c9d-b30e-7f97d416ea38'}], 'security_groups': ['ea04403d-e309-4152-b1c2-695519097e22'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd59a10213dc9455cb6743ddf83db9f8d'}} 2026-04-20 02:19:45,474 - DEBUG - Created port 49f2eb72-44f2-4985-92a9-bdf3c9317024 2026-04-20 02:19:45,578 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/49f2eb72-44f2-4985-92a9-bdf3c9317024 2026-04-20 02:19:45,872 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/49f2eb72-44f2-4985-92a9-bdf3c9317024 2026-04-20 02:19:45,905 - INFO - VMI 49f2eb72-44f2-4985-92a9-bdf3c9317024 verification in API Server passed 2026-04-20 02:19:45,982 - DEBUG - Response for delete_port : () 2026-04-20 02:19:45,982 - INFO - Deleted port 49f2eb72-44f2-4985-92a9-bdf3c9317024 2026-04-20 02:19:45,982 - INFO - Deleting VN ctest-vn-91118038 2026-04-20 02:19:46,071 - DEBUG - Response for deleting network () 2026-04-20 02:19:46,328 - DEBUG - No XMPP flaps were noticed during the test
2026-04-20 02:19:46,329 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-04-20 02:19:46,329 - INFO - -------------------------------------------------------------------------------- 2026-04-20 02:19:46,331 - INFO - ================================================================================ 2026-04-20 02:19:46,331 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-04-20 02:19:46,331 - 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-04-20 02:19:46,618 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.201': '0'}} with 2026-04-20 02:19:46,618 - INFO - Initial checks done. Running the testcase now 2026-04-20 02:19:46,619 - INFO - 2026-04-20 02:19:46,786 - DEBUG - Response for create_network : {'network': {'id': 'bb41ed6f-239a-4b43-ade0-cce2d12c382c', 'name': 'ctest-vn1-62191099', 'tenant_id': 'd59a10213dc9455cb6743ddf83db9f8d', 'project_id': 'd59a10213dc9455cb6743ddf83db9f8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-59948326', 'ctest-vn1-62191099'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 02:19:46,945 - DEBUG - Response for create_subnet : {'subnet': {'id': '36e6acc7-ea9d-459b-9639-38accc1df55f', 'name': '', 'tenant_id': 'd59a10213dc9455cb6743ddf83db9f8d', 'network_id': 'bb41ed6f-239a-4b43-ade0-cce2d12c382c', 'ip_version': 4, 'cidr': '126.47.26.0/26', 'allocation_pools': [{'start': '126.47.26.2', 'end': '126.47.26.62'}], 'gateway_ip': '126.47.26.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.47.26.2', 'tags': [], 'project_id': 'd59a10213dc9455cb6743ddf83db9f8d'}} 2026-04-20 02:19:47,122 - DEBUG - Response for create_subnet : {'subnet': {'id': '39cee287-10d9-48b1-9b39-68b211897032', 'name': '', 'tenant_id': 'd59a10213dc9455cb6743ddf83db9f8d', 'network_id': 'bb41ed6f-239a-4b43-ade0-cce2d12c382c', 'ip_version': 4, 'cidr': '215.179.243.128/26', 'allocation_pools': [{'start': '215.179.243.130', 'end': '215.179.243.190'}], 'gateway_ip': '215.179.243.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.179.243.130', 'tags': [], 'project_id': 'd59a10213dc9455cb6743ddf83db9f8d'}} 2026-04-20 02:19:47,139 - INFO - Created VN ctest-vn1-62191099 2026-04-20 02:19:47,190 - DEBUG - VN ctest-vn1-62191099 UUID is bb41ed6f-239a-4b43-ade0-cce2d12c382c 2026-04-20 02:19:47,461 - DEBUG - Response for create_port : {'port': {'name': 'b1cf1231-5c9f-4637-95c7-ceeb64261a79', 'id': 'b1cf1231-5c9f-4637-95c7-ceeb64261a79', 'tenant_id': 'd59a10213dc9455cb6743ddf83db9f8d', 'network_id': 'bb41ed6f-239a-4b43-ade0-cce2d12c382c', 'mac_address': '02:b1:cf:12:31:5c', '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': '126.47.26.5', 'subnet_id': '36e6acc7-ea9d-459b-9639-38accc1df55f'}], 'security_groups': ['ea04403d-e309-4152-b1c2-695519097e22'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd59a10213dc9455cb6743ddf83db9f8d'}} 2026-04-20 02:19:47,616 - DEBUG - Response for create_port : {'port': {'name': '19e8389a-d0e5-488d-8f4b-2867417efc67', 'id': '19e8389a-d0e5-488d-8f4b-2867417efc67', 'tenant_id': 'd59a10213dc9455cb6743ddf83db9f8d', 'network_id': 'bb41ed6f-239a-4b43-ade0-cce2d12c382c', 'mac_address': '02:19:e8:38:9a:d0', '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': '215.179.243.133', 'subnet_id': '39cee287-10d9-48b1-9b39-68b211897032'}], 'security_groups': ['ea04403d-e309-4152-b1c2-695519097e22'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd59a10213dc9455cb6743ddf83db9f8d'}} 2026-04-20 02:19:47,664 - DEBUG - Services list from nova: [, , ] 2026-04-20 02:19:47,988 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5648-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5648-1) 2026-04-20 02:19:48,357 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5648-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5648-1) 2026-04-20 02:19:48,358 - INFO - Waiting for VM ctest-vn1-vm1-17268960 to be up.. 2026-04-20 02:19:48,396 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-20 02:19:53,464 - DEBUG - VM is in ACTIVE state now 2026-04-20 02:19:53,464 - INFO - VM name : ctest-vn1-vm1-17268960 2026-04-20 02:19:53,532 - DEBUG - VM ctest-vn1-vm1-17268960 ID is 6c066f0c-0406-4538-8137-bb4168bdca99 2026-04-20 02:19:53,550 - DEBUG - VM ctest-vn1-vm1-17268960 launched on Node cn-jenkins-deploy-platform-ansible-os-5648-1 2026-04-20 02:19:53,617 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6c066f0c-0406-4538-8137-bb4168bdca99 2026-04-20 02:19:53,625 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b1cf1231-5c9f-4637-95c7-ceeb64261a79 2026-04-20 02:19:56,869 - 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 1008ms') 2026-04-20 02:19:56,869 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17268960 failed! 2026-04-20 02:19:56,922 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-59948326:ctest-vn1-62191099 is 126.47.26.1 and allocation pool is NOT set 2026-04-20 02:19:56,922 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-59948326:ctest-vn1-62191099 is 215.179.243.129 and allocation pool is NOT set 2026-04-20 02:19:58,982 - 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.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.23 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 = 1.231/2.796/4.361/1.565 ms') 2026-04-20 02:19:58,982 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17268960 passed 2026-04-20 02:19:59,134 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:19:59,134 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17268960, IP 126.47.26.5, Port 22 2026-04-20 02:19:59,200 - 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-04-20 02:19:59,274 - DEBUG - VM ctest-vn1-vm1-17268960 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-20 02:20:04,274 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:20:04,275 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17268960, IP 126.47.26.5, Port 22 2026-04-20 02:20:04,429 - DEBUG - VM ctest-vn1-vm1-17268960 is ready for SSH connections 2026-04-20 02:20:04,429 - INFO - Waiting for VM ctest-vn1-vm2-74247270 to be up.. 2026-04-20 02:20:04,505 - DEBUG - VM is in ACTIVE state now 2026-04-20 02:20:04,505 - INFO - VM name : ctest-vn1-vm2-74247270 2026-04-20 02:20:04,573 - DEBUG - VM ctest-vn1-vm2-74247270 ID is 29e22b5b-573d-4c27-b0a8-51dc14951ea8 2026-04-20 02:20:04,573 - DEBUG - VM ctest-vn1-vm2-74247270 launched on Node cn-jenkins-deploy-platform-ansible-os-5648-1 2026-04-20 02:20:04,637 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/29e22b5b-573d-4c27-b0a8-51dc14951ea8 2026-04-20 02:20:04,644 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/19e8389a-d0e5-488d-8f4b-2867417efc67 2026-04-20 02:20:05,878 - 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=2.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.341 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 = 0.341/1.618/2.896/1.277 ms') 2026-04-20 02:20:05,878 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-74247270 passed 2026-04-20 02:20:06,030 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:20:06,030 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-74247270, IP 215.179.243.133, Port 22 2026-04-20 02:20:06,190 - DEBUG - VM ctest-vn1-vm2-74247270 is ready for SSH connections 2026-04-20 02:20:06,190 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:20:06,190 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:20:06,190 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:20:06,190 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.47.26.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-20 02:20:06,190 - DEBUG - ping -s 56 -c 3 -W 1 126.47.26.5 2026-04-20 02:20:08,821 - DEBUG - PING 126.47.26.5 (126.47.26.5): 56 data bytes 64 bytes from 126.47.26.5: seq=0 ttl=63 time=4.997 ms 64 bytes from 126.47.26.5: seq=1 ttl=63 time=1.090 ms 64 bytes from 126.47.26.5: seq=2 ttl=63 time=1.211 ms --- 126.47.26.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.090/2.432/4.997 ms 2026-04-20 02:20:08,821 - INFO - Ping to IP 126.47.26.5 from VM ctest-vn1-vm2-74247270 passed 2026-04-20 02:20:08,821 - INFO - Detaching port 19e8389a-d0e5-488d-8f4b-2867417efc67 from VM ctest-vn1-vm2-74247270 2026-04-20 02:20:08,882 - INFO - Deleting VM ctest-vn1-vm2-74247270 2026-04-20 02:20:08,968 - INFO - Detaching port b1cf1231-5c9f-4637-95c7-ceeb64261a79 from VM ctest-vn1-vm1-17268960 2026-04-20 02:20:09,001 - INFO - Deleting VM ctest-vn1-vm1-17268960 2026-04-20 02:20:09,213 - DEBUG - Response for delete_port : () 2026-04-20 02:20:09,366 - DEBUG - Response for delete_port : () 2026-04-20 02:20:09,366 - INFO - Deleting VN ctest-vn1-62191099 2026-04-20 02:20:09,482 - DEBUG - Response for deleting network () 2026-04-20 02:20:09,738 - DEBUG - No XMPP flaps were noticed during the test
2026-04-20 02:20:09,738 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2026-04-20 02:20:09,738 - INFO - -------------------------------------------------------------------------------- 2026-04-20 02:20:10,409 - INFO - Deleted project: ctest-TestPorts-59948326, ID : d59a1021-3dc9-455c-b674-3ddf83db9f8d