2026-04-09 01:48:19,065 - INFO - Reading existing Domain with UUID 549f21b8-1b18-436e-a6d1-a3af077f9f73 2026-04-09 01:48:19,079 - INFO - Using existing domain ['admin_domain'](549f21b8-1b18-436e-a6d1-a3af077f9f73) 2026-04-09 01:48:19,342 - INFO - Project ctest-TestPorts-73129456 not found, creating it 2026-04-09 01:48:19,908 - INFO - Created Project:ctest-TestPorts-73129456, ID : ec725152-a177-40bd-9faa-aa2a83f6c223 2026-04-09 01:48:21,809 - INFO - ================================================================================ 2026-04-09 01:48:21,809 - INFO - STARTING TEST : test_ports_bindings 2026-04-09 01:48:21,809 - 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-09 01:48:22,197 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with 2026-04-09 01:48:22,198 - INFO - Initial checks done. Running the testcase now 2026-04-09 01:48:22,198 - INFO - 2026-04-09 01:48:23,027 - DEBUG - Response for create_network : {'network': {'id': '1a3f2cef-b454-489c-b31a-1c250fe13704', 'name': 'ctest-vn-27441173', 'tenant_id': 'ec725152a17740bd9faaaa2a83f6c223', 'project_id': 'ec725152a17740bd9faaaa2a83f6c223', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-73129456', 'ctest-vn-27441173'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-04-09 01:48:23,277 - DEBUG - Response for create_subnet : {'subnet': {'id': '99a03c9e-cdbc-4d79-8b12-9bb66d0ddacf', 'name': '', 'tenant_id': 'ec725152a17740bd9faaaa2a83f6c223', 'network_id': '1a3f2cef-b454-489c-b31a-1c250fe13704', 'ip_version': 4, 'cidr': '52.114.132.192/26', 'allocation_pools': [{'start': '52.114.132.194', 'end': '52.114.132.254'}], 'gateway_ip': '52.114.132.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-04-09T01:48:23.166489', 'updated_at': '2026-04-09T01:48:23.166489', 'dns_server_address': '52.114.132.194', 'tags': [], 'project_id': 'ec725152a17740bd9faaaa2a83f6c223'}} 2026-04-09 01:48:23,345 - INFO - Created VN ctest-vn-27441173 2026-04-09 01:48:23,399 - DEBUG - VN ctest-vn-27441173 UUID is 1a3f2cef-b454-489c-b31a-1c250fe13704 2026-04-09 01:48:23,622 - DEBUG - Read virtual machine interface {'fq_name': ['admin_domain', 'ctest-TestPorts-73129456', 'ctest-vmi-65396008']} 2026-04-09 01:48:23,993 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-65396008', 'id': '7b0a8e97-3d2c-4ac5-bcf4-e84e71520fd3', 'tenant_id': 'ec725152a17740bd9faaaa2a83f6c223', 'network_id': '1a3f2cef-b454-489c-b31a-1c250fe13704', 'mac_address': '02:7b:0a:8e:97:3d', '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': '52.114.132.195', 'subnet_id': '99a03c9e-cdbc-4d79-8b12-9bb66d0ddacf'}], 'security_groups': ['5b5bd4ce-80ea-4bb6-a4d7-ee6c87efa035'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-04-09T01:48:23.754588', 'updated_at': '2026-04-09T01:48:23.832283', 'project_id': 'ec725152a17740bd9faaaa2a83f6c223'}} 2026-04-09 01:48:23,993 - DEBUG - Created port 7b0a8e97-3d2c-4ac5-bcf4-e84e71520fd3 2026-04-09 01:48:24,103 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/7b0a8e97-3d2c-4ac5-bcf4-e84e71520fd3 2026-04-09 01:48:24,462 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/7b0a8e97-3d2c-4ac5-bcf4-e84e71520fd3 2026-04-09 01:48:24,550 - INFO - VMI 7b0a8e97-3d2c-4ac5-bcf4-e84e71520fd3 verification in API Server passed 2026-04-09 01:48:24,731 - DEBUG - Response for delete_port : () 2026-04-09 01:48:24,731 - INFO - Deleted port 7b0a8e97-3d2c-4ac5-bcf4-e84e71520fd3 2026-04-09 01:48:24,731 - INFO - Deleting VN ctest-vn-27441173 2026-04-09 01:48:24,933 - DEBUG - Response for deleting network () 2026-04-09 01:48:25,336 - DEBUG - No XMPP flaps were noticed during the test 2026-04-09 01:48:25,337 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04] 2026-04-09 01:48:25,337 - INFO - -------------------------------------------------------------------------------- 2026-04-09 01:48:25,339 - INFO - ================================================================================ 2026-04-09 01:48:25,339 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-04-09 01:48:25,340 - 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-09 01:48:25,772 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with 2026-04-09 01:48:25,773 - INFO - Initial checks done. Running the testcase now 2026-04-09 01:48:25,773 - INFO - 2026-04-09 01:48:26,105 - DEBUG - Response for create_network : {'network': {'id': '1be44470-8410-4525-b346-f9692232f928', 'name': 'ctest-vn1-47190554', 'tenant_id': 'ec725152a17740bd9faaaa2a83f6c223', 'project_id': 'ec725152a17740bd9faaaa2a83f6c223', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-73129456', 'ctest-vn1-47190554'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-04-09 01:48:26,357 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f1ae4b68-21b8-4d8e-b693-fd297e86c828', 'name': '', 'tenant_id': 'ec725152a17740bd9faaaa2a83f6c223', 'network_id': '1be44470-8410-4525-b346-f9692232f928', 'ip_version': 4, 'cidr': '60.253.96.0/26', 'allocation_pools': [{'start': '60.253.96.2', 'end': '60.253.96.62'}], 'gateway_ip': '60.253.96.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-04-09T01:48:26.233700', 'updated_at': '2026-04-09T01:48:26.233700', 'dns_server_address': '60.253.96.2', 'tags': [], 'project_id': 'ec725152a17740bd9faaaa2a83f6c223'}} 2026-04-09 01:48:26,634 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a0a6dcb3-79ba-47af-aef4-35256e578839', 'name': '', 'tenant_id': 'ec725152a17740bd9faaaa2a83f6c223', 'network_id': '1be44470-8410-4525-b346-f9692232f928', 'ip_version': 4, 'cidr': '142.124.64.0/26', 'allocation_pools': [{'start': '142.124.64.2', 'end': '142.124.64.62'}], 'gateway_ip': '142.124.64.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-04-09T01:48:26.516143', 'updated_at': '2026-04-09T01:48:26.516143', 'dns_server_address': '142.124.64.2', 'tags': [], 'project_id': 'ec725152a17740bd9faaaa2a83f6c223'}} 2026-04-09 01:48:26,709 - INFO - Created VN ctest-vn1-47190554 2026-04-09 01:48:26,767 - DEBUG - VN ctest-vn1-47190554 UUID is 1be44470-8410-4525-b346-f9692232f928 2026-04-09 01:48:27,357 - DEBUG - Response for create_port : {'port': {'name': '7ef818ba-9840-4aec-a14b-38e12976ec5a', 'id': '7ef818ba-9840-4aec-a14b-38e12976ec5a', 'tenant_id': 'ec725152a17740bd9faaaa2a83f6c223', 'network_id': '1be44470-8410-4525-b346-f9692232f928', 'mac_address': '02:7e:f8:18:ba:98', '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': '60.253.96.5', 'subnet_id': 'f1ae4b68-21b8-4d8e-b693-fd297e86c828'}], 'security_groups': ['5b5bd4ce-80ea-4bb6-a4d7-ee6c87efa035'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-04-09T01:48:27.145697', 'updated_at': '2026-04-09T01:48:27.218606', 'project_id': 'ec725152a17740bd9faaaa2a83f6c223'}} 2026-04-09 01:48:27,638 - DEBUG - Response for create_port : {'port': {'name': 'add68e67-4aec-43e3-9988-c23cce5ea184', 'id': 'add68e67-4aec-43e3-9988-c23cce5ea184', 'tenant_id': 'ec725152a17740bd9faaaa2a83f6c223', 'network_id': '1be44470-8410-4525-b346-f9692232f928', 'mac_address': '02:ad:d6:8e:67:4a', '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.124.64.5', 'subnet_id': 'a0a6dcb3-79ba-47af-aef4-35256e578839'}], 'security_groups': ['5b5bd4ce-80ea-4bb6-a4d7-ee6c87efa035'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-04-09T01:48:27.437416', 'updated_at': '2026-04-09T01:48:27.509078', 'project_id': 'ec725152a17740bd9faaaa2a83f6c223'}} 2026-04-09 01:48:27,732 - DEBUG - Services list from nova: [, , ] 2026-04-09 01:48:28,599 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-692-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-692-1) 2026-04-09 01:48:29,493 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-692-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-692-1) 2026-04-09 01:48:29,493 - INFO - Waiting for VM ctest-vn1-vm1-39116709 to be up.. 2026-04-09 01:48:29,599 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-09 01:48:34,764 - DEBUG - VM is in ACTIVE state now 2026-04-09 01:48:34,764 - INFO - VM name : ctest-vn1-vm1-39116709 2026-04-09 01:48:34,919 - DEBUG - VM ctest-vn1-vm1-39116709 ID is df0f4ff2-d6ac-4663-b308-adcfc9c9c67c 2026-04-09 01:48:34,965 - DEBUG - VM ctest-vn1-vm1-39116709 launched on Node cn-jenkins-deploy-platform-juju-os-692-1 2026-04-09 01:48:35,126 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/df0f4ff2-d6ac-4663-b308-adcfc9c9c67c 2026-04-09 01:48:35,192 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/7ef818ba-9840-4aec-a14b-38e12976ec5a 2026-04-09 01:48:38,677 - 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 1005ms') 2026-04-09 01:48:38,678 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39116709 failed! 2026-04-09 01:48:38,739 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-73129456:ctest-vn1-47190554 is 60.253.96.1 and allocation pool is NOT set 2026-04-09 01:48:38,739 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-73129456:ctest-vn1-47190554 is 142.124.64.1 and allocation pool is NOT set 2026-04-09 01:48:42,842 - 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 1004ms') 2026-04-09 01:48:42,842 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39116709 failed! 2026-04-09 01:48:42,907 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-73129456:ctest-vn1-47190554 is 60.253.96.1 and allocation pool is NOT set 2026-04-09 01:48:42,907 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-73129456:ctest-vn1-47190554 is 142.124.64.1 and allocation pool is NOT set 2026-04-09 01:48:45,002 - 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.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.39 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 = 1.392/2.986/4.580/1.594 ms') 2026-04-09 01:48:45,003 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39116709 passed 2026-04-09 01:48:45,163 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-09 01:48:45,163 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-39116709, IP 60.253.96.5, Port 22 2026-04-09 01:48:45,249 - 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-09 01:48:45,396 - DEBUG - VM ctest-vn1-vm1-39116709 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-09 01:48:50,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-09 01:48:50,397 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-39116709, IP 60.253.96.5, Port 22 2026-04-09 01:48:50,618 - DEBUG - VM ctest-vn1-vm1-39116709 is ready for SSH connections 2026-04-09 01:48:50,618 - INFO - Waiting for VM ctest-vn1-vm2-21888018 to be up.. 2026-04-09 01:48:50,765 - DEBUG - VM is in ACTIVE state now 2026-04-09 01:48:50,765 - INFO - VM name : ctest-vn1-vm2-21888018 2026-04-09 01:48:50,909 - DEBUG - VM ctest-vn1-vm2-21888018 ID is a584a9a8-0416-4d01-9768-1c10b6a17ec8 2026-04-09 01:48:50,909 - DEBUG - VM ctest-vn1-vm2-21888018 launched on Node cn-jenkins-deploy-platform-juju-os-692-1 2026-04-09 01:48:51,064 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/a584a9a8-0416-4d01-9768-1c10b6a17ec8 2026-04-09 01:48:51,125 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/add68e67-4aec-43e3-9988-c23cce5ea184 2026-04-09 01:48:52,591 - 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=3.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.462 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.462/1.861/3.261/1.399 ms') 2026-04-09 01:48:52,591 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-21888018 passed 2026-04-09 01:48:52,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-09 01:48:52,747 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-21888018, IP 142.124.64.5, Port 22 2026-04-09 01:48:52,975 - DEBUG - VM ctest-vn1-vm2-21888018 is ready for SSH connections 2026-04-09 01:48:52,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-09 01:48:52,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-09 01:48:52,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-09 01:48:52,976 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 60.253.96.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-04-09 01:48:52,976 - DEBUG - ping -s 56 -c 3 -W 1 60.253.96.5 2026-04-09 01:48:56,086 - DEBUG - PING 60.253.96.5 (60.253.96.5): 56 data bytes 64 bytes from 60.253.96.5: seq=0 ttl=63 time=3.918 ms 64 bytes from 60.253.96.5: seq=1 ttl=63 time=1.448 ms 64 bytes from 60.253.96.5: seq=2 ttl=63 time=1.199 ms --- 60.253.96.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.199/2.188/3.918 ms 2026-04-09 01:48:56,086 - INFO - Ping to IP 60.253.96.5 from VM ctest-vn1-vm2-21888018 passed 2026-04-09 01:48:56,086 - INFO - Detaching port add68e67-4aec-43e3-9988-c23cce5ea184 from VM ctest-vn1-vm2-21888018 2026-04-09 01:48:56,192 - INFO - Deleting VM ctest-vn1-vm2-21888018 2026-04-09 01:48:56,386 - INFO - Detaching port 7ef818ba-9840-4aec-a14b-38e12976ec5a from VM ctest-vn1-vm1-39116709 2026-04-09 01:48:56,474 - INFO - Deleting VM ctest-vn1-vm1-39116709 2026-04-09 01:48:56,921 - DEBUG - Response for delete_port : () 2026-04-09 01:48:57,275 - DEBUG - Response for delete_port : () 2026-04-09 01:48:57,276 - INFO - Deleting VN ctest-vn1-47190554 2026-04-09 01:48:57,531 - DEBUG - Response for deleting network () 2026-04-09 01:48:57,933 - DEBUG - No XMPP flaps were noticed during the test 2026-04-09 01:48:57,933 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:32] 2026-04-09 01:48:57,933 - INFO - -------------------------------------------------------------------------------- 2026-04-09 01:48:58,762 - INFO - Deleted project: ctest-TestPorts-73129456, ID : ec725152-a177-40bd-9faa-aa2a83f6c223