2026-05-05 11:18:32,586 - INFO - Domain Default found not creating 2026-05-05 11:18:32,841 - INFO - Project ctest-TestPorts-72519365 not found, creating it 2026-05-05 11:18:33,299 - INFO - Created Project:ctest-TestPorts-72519365, ID : 12d81a33-8600-4d72-a08a-95cef4f0c70c 2026-05-05 11:18:34,765 - INFO - ================================================================================ 2026-05-05 11:18:34,765 - INFO - STARTING TEST : test_ports_bindings 2026-05-05 11:18:34,765 - 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-05-05 11:18:35,022 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-05-05 11:18:35,022 - INFO - Initial checks done. Running the testcase now 2026-05-05 11:18:35,022 - INFO - 2026-05-05 11:18:35,569 - DEBUG - Response for create_network : {'network': {'id': '44b55b99-d136-4881-99ac-d5fcaf043039', 'name': 'ctest-vn-58842739', 'tenant_id': '12d81a3386004d72a08a95cef4f0c70c', 'project_id': '12d81a3386004d72a08a95cef4f0c70c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-72519365', 'ctest-vn-58842739'], 'port_security_enabled': True, 'description': ''}} 2026-05-05 11:18:35,724 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a8981d75-f80e-4503-9e2b-74c157db0fae', 'name': '', 'tenant_id': '12d81a3386004d72a08a95cef4f0c70c', 'network_id': '44b55b99-d136-4881-99ac-d5fcaf043039', 'ip_version': 4, 'cidr': '158.221.132.0/26', 'allocation_pools': [{'start': '158.221.132.2', 'end': '158.221.132.62'}], 'gateway_ip': '158.221.132.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.221.132.2', 'tags': [], 'project_id': '12d81a3386004d72a08a95cef4f0c70c'}} 2026-05-05 11:18:35,741 - INFO - Created VN ctest-vn-58842739 2026-05-05 11:18:35,791 - DEBUG - VN ctest-vn-58842739 UUID is 44b55b99-d136-4881-99ac-d5fcaf043039 2026-05-05 11:18:35,899 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-72519365', 'ctest-vmi-21221146']} 2026-05-05 11:18:36,121 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-21221146', 'id': 'be8a6c5b-d821-4dcf-a87c-dbd65315c742', 'tenant_id': '12d81a3386004d72a08a95cef4f0c70c', 'network_id': '44b55b99-d136-4881-99ac-d5fcaf043039', 'mac_address': '02:be:8a:6c:5b:d8', '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': '158.221.132.3', 'subnet_id': 'a8981d75-f80e-4503-9e2b-74c157db0fae'}], 'security_groups': ['b975788e-0ba0-4ede-9faa-693cbcda7849'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '12d81a3386004d72a08a95cef4f0c70c'}} 2026-05-05 11:18:36,122 - DEBUG - Created port be8a6c5b-d821-4dcf-a87c-dbd65315c742 2026-05-05 11:18:36,231 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/be8a6c5b-d821-4dcf-a87c-dbd65315c742 2026-05-05 11:18:36,521 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/be8a6c5b-d821-4dcf-a87c-dbd65315c742 2026-05-05 11:18:36,558 - INFO - VMI be8a6c5b-d821-4dcf-a87c-dbd65315c742 verification in API Server passed 2026-05-05 11:18:36,642 - DEBUG - Response for delete_port : () 2026-05-05 11:18:36,642 - INFO - Deleted port be8a6c5b-d821-4dcf-a87c-dbd65315c742 2026-05-05 11:18:36,642 - INFO - Deleting VN ctest-vn-58842739 2026-05-05 11:18:36,745 - DEBUG - Response for deleting network () 2026-05-05 11:18:37,004 - DEBUG - No XMPP flaps were noticed during the test
2026-05-05 11:18:37,004 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-05-05 11:18:37,004 - INFO - -------------------------------------------------------------------------------- 2026-05-05 11:18:37,007 - INFO - ================================================================================ 2026-05-05 11:18:37,007 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-05-05 11:18:37,007 - 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-05-05 11:18:37,297 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-05-05 11:18:37,297 - INFO - Initial checks done. Running the testcase now 2026-05-05 11:18:37,297 - INFO - 2026-05-05 11:18:37,478 - DEBUG - Response for create_network : {'network': {'id': '7a67c249-c3ea-4c7b-abfa-56c6ac257d26', 'name': 'ctest-vn1-19398375', 'tenant_id': '12d81a3386004d72a08a95cef4f0c70c', 'project_id': '12d81a3386004d72a08a95cef4f0c70c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-72519365', 'ctest-vn1-19398375'], 'port_security_enabled': True, 'description': ''}} 2026-05-05 11:18:37,627 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f7ba05e-a44c-44fa-911b-c6c138710291', 'name': '', 'tenant_id': '12d81a3386004d72a08a95cef4f0c70c', 'network_id': '7a67c249-c3ea-4c7b-abfa-56c6ac257d26', 'ip_version': 4, 'cidr': '134.131.166.64/26', 'allocation_pools': [{'start': '134.131.166.66', 'end': '134.131.166.126'}], 'gateway_ip': '134.131.166.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.131.166.66', 'tags': [], 'project_id': '12d81a3386004d72a08a95cef4f0c70c'}} 2026-05-05 11:18:37,812 - DEBUG - Response for create_subnet : {'subnet': {'id': '64a4e3dc-dac5-4a0b-9af6-f4606561f694', 'name': '', 'tenant_id': '12d81a3386004d72a08a95cef4f0c70c', 'network_id': '7a67c249-c3ea-4c7b-abfa-56c6ac257d26', 'ip_version': 4, 'cidr': '32.172.18.128/26', 'allocation_pools': [{'start': '32.172.18.130', 'end': '32.172.18.190'}], 'gateway_ip': '32.172.18.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.172.18.130', 'tags': [], 'project_id': '12d81a3386004d72a08a95cef4f0c70c'}} 2026-05-05 11:18:37,831 - INFO - Created VN ctest-vn1-19398375 2026-05-05 11:18:37,883 - DEBUG - VN ctest-vn1-19398375 UUID is 7a67c249-c3ea-4c7b-abfa-56c6ac257d26 2026-05-05 11:18:38,169 - DEBUG - Response for create_port : {'port': {'name': '1036e466-9f44-4a73-94df-9aaf142cf9f4', 'id': '1036e466-9f44-4a73-94df-9aaf142cf9f4', 'tenant_id': '12d81a3386004d72a08a95cef4f0c70c', 'network_id': '7a67c249-c3ea-4c7b-abfa-56c6ac257d26', 'mac_address': '02:10:36:e4:66:9f', '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': '134.131.166.69', 'subnet_id': '0f7ba05e-a44c-44fa-911b-c6c138710291'}], 'security_groups': ['b975788e-0ba0-4ede-9faa-693cbcda7849'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '12d81a3386004d72a08a95cef4f0c70c'}} 2026-05-05 11:18:38,341 - DEBUG - Response for create_port : {'port': {'name': '826b0df8-b36d-463e-bf86-064da89a5ec1', 'id': '826b0df8-b36d-463e-bf86-064da89a5ec1', 'tenant_id': '12d81a3386004d72a08a95cef4f0c70c', 'network_id': '7a67c249-c3ea-4c7b-abfa-56c6ac257d26', 'mac_address': '02:82:6b:0d:f8:b3', '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': '32.172.18.133', 'subnet_id': '64a4e3dc-dac5-4a0b-9af6-f4606561f694'}], 'security_groups': ['b975788e-0ba0-4ede-9faa-693cbcda7849'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '12d81a3386004d72a08a95cef4f0c70c'}} 2026-05-05 11:18:38,402 - DEBUG - Services list from nova: [, , ] 2026-05-05 11:18:38,766 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5744-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5744-1) 2026-05-05 11:18:39,169 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5744-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5744-1) 2026-05-05 11:18:39,169 - INFO - Waiting for VM ctest-vn1-vm1-11525192 to be up.. 2026-05-05 11:18:39,210 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-05 11:18:44,289 - DEBUG - VM is in ACTIVE state now 2026-05-05 11:18:44,289 - INFO - VM name : ctest-vn1-vm1-11525192 2026-05-05 11:18:44,364 - DEBUG - VM ctest-vn1-vm1-11525192 ID is 53ed4c3e-dfe8-43d5-a3ed-790a5d127201 2026-05-05 11:18:44,385 - DEBUG - VM ctest-vn1-vm1-11525192 launched on Node cn-jenkins-deploy-platform-ansible-os-5744-1 2026-05-05 11:18:44,466 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/53ed4c3e-dfe8-43d5-a3ed-790a5d127201 2026-05-05 11:18:44,475 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1036e466-9f44-4a73-94df-9aaf142cf9f4 2026-05-05 11:18:47,730 - 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 1015ms') 2026-05-05 11:18:47,730 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-11525192 failed! 2026-05-05 11:18:47,788 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-72519365:ctest-vn1-19398375 is 134.131.166.65 and allocation pool is NOT set 2026-05-05 11:18:47,788 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-72519365:ctest-vn1-19398375 is 32.172.18.129 and allocation pool is NOT set 2026-05-05 11:18:51,860 - 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=2 ttl=63 time=7.81 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 7.813/7.813/7.813/0.000 ms') 2026-05-05 11:18:51,860 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-11525192 passed 2026-05-05 11:18:52,015 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-05 11:18:52,016 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-11525192, IP 134.131.166.69, Port 22 2026-05-05 11:18:52,072 - 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-05-05 11:18:52,151 - DEBUG - VM ctest-vn1-vm1-11525192 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-05 11:18:57,152 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-05 11:18:57,152 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-11525192, IP 134.131.166.69, Port 22 2026-05-05 11:18:57,307 - DEBUG - VM ctest-vn1-vm1-11525192 is ready for SSH connections 2026-05-05 11:18:57,307 - INFO - Waiting for VM ctest-vn1-vm2-53417304 to be up.. 2026-05-05 11:18:57,382 - DEBUG - VM is in ACTIVE state now 2026-05-05 11:18:57,382 - INFO - VM name : ctest-vn1-vm2-53417304 2026-05-05 11:18:57,456 - DEBUG - VM ctest-vn1-vm2-53417304 ID is 6d87b91f-f0e0-4058-a0fe-00b414087506 2026-05-05 11:18:57,456 - DEBUG - VM ctest-vn1-vm2-53417304 launched on Node cn-jenkins-deploy-platform-ansible-os-5744-1 2026-05-05 11:18:57,530 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6d87b91f-f0e0-4058-a0fe-00b414087506 2026-05-05 11:18:57,540 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/826b0df8-b36d-463e-bf86-064da89a5ec1 2026-05-05 11:18:58,772 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.434 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.434/1.790/3.147/1.356 ms') 2026-05-05 11:18:58,772 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-53417304 passed 2026-05-05 11:18:58,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-05 11:18:58,928 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-53417304, IP 32.172.18.133, Port 22 2026-05-05 11:18:59,099 - DEBUG - VM ctest-vn1-vm2-53417304 is ready for SSH connections 2026-05-05 11:18:59,099 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-05 11:18:59,099 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-05 11:18:59,099 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-05 11:18:59,099 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.131.166.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-05 11:18:59,099 - DEBUG - ping -s 56 -c 3 -W 1 134.131.166.69 2026-05-05 11:19:01,835 - DEBUG - PING 134.131.166.69 (134.131.166.69): 56 data bytes 64 bytes from 134.131.166.69: seq=0 ttl=63 time=4.607 ms 64 bytes from 134.131.166.69: seq=1 ttl=63 time=1.065 ms 64 bytes from 134.131.166.69: seq=2 ttl=63 time=0.880 ms --- 134.131.166.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.880/2.184/4.607 ms 2026-05-05 11:19:01,835 - INFO - Ping to IP 134.131.166.69 from VM ctest-vn1-vm2-53417304 passed 2026-05-05 11:19:01,835 - INFO - Detaching port 826b0df8-b36d-463e-bf86-064da89a5ec1 from VM ctest-vn1-vm2-53417304 2026-05-05 11:19:01,888 - INFO - Deleting VM ctest-vn1-vm2-53417304 2026-05-05 11:19:01,958 - INFO - Detaching port 1036e466-9f44-4a73-94df-9aaf142cf9f4 from VM ctest-vn1-vm1-11525192 2026-05-05 11:19:02,001 - INFO - Deleting VM ctest-vn1-vm1-11525192 2026-05-05 11:19:02,312 - DEBUG - Response for delete_port : () 2026-05-05 11:19:02,474 - DEBUG - Response for delete_port : () 2026-05-05 11:19:02,474 - INFO - Deleting VN ctest-vn1-19398375 2026-05-05 11:19:02,607 - DEBUG - Response for deleting network () 2026-05-05 11:19:02,870 - DEBUG - No XMPP flaps were noticed during the test
2026-05-05 11:19:02,870 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2026-05-05 11:19:02,870 - INFO - -------------------------------------------------------------------------------- 2026-05-05 11:19:03,557 - INFO - Deleted project: ctest-TestPorts-72519365, ID : 12d81a33-8600-4d72-a08a-95cef4f0c70c