2026-09-09 11:00:57,793 - INFO - Domain Default found not creating 2026-09-09 11:00:57,998 - INFO - Project ctest-TestPorts-58503975 not found, creating it 2026-09-09 11:00:58,716 - INFO - Created Project:ctest-TestPorts-58503975, ID : 259f68bc-b9ad-42b9-a912-749bd7901f3f 2026-09-09 11:01:00,750 - INFO - ================================================================================ 2026-09-09 11:01:00,750 - INFO - STARTING TEST : test_ports_bindings 2026-09-09 11:01:00,750 - 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-09-09 11:01:01,022 - DEBUG - Nothing to compare xmpp stats {'10.0.0.250': {'10.20.0.254': '0'}} with 2026-09-09 11:01:01,022 - INFO - Initial checks done. Running the testcase now 2026-09-09 11:01:01,022 - INFO - 2026-09-09 11:01:01,815 - DEBUG - Response for create_network : {'network': {'id': '4dfa832d-eb3e-4bc4-9307-746c61c7ba62', 'name': 'ctest-vn-34632653', 'tenant_id': '259f68bcb9ad42b9a912749bd7901f3f', 'project_id': '259f68bcb9ad42b9a912749bd7901f3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-58503975', 'ctest-vn-34632653'], 'port_security_enabled': True, 'description': ''}} 2026-09-09 11:01:02,051 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b476b3c-87a8-41b9-8eb5-a3179d60a97a', 'name': '', 'tenant_id': '259f68bcb9ad42b9a912749bd7901f3f', 'network_id': '4dfa832d-eb3e-4bc4-9307-746c61c7ba62', 'ip_version': 4, 'cidr': '54.251.130.0/26', 'allocation_pools': [{'start': '54.251.130.2', 'end': '54.251.130.62'}], 'gateway_ip': '54.251.130.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.251.130.2', 'tags': [], 'project_id': '259f68bcb9ad42b9a912749bd7901f3f'}} 2026-09-09 11:01:02,074 - INFO - Created VN ctest-vn-34632653 2026-09-09 11:01:02,134 - DEBUG - VN ctest-vn-34632653 UUID is 4dfa832d-eb3e-4bc4-9307-746c61c7ba62 2026-09-09 11:01:02,259 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-58503975', 'ctest-vmi-93062599']} 2026-09-09 11:01:02,590 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-93062599', 'id': 'fe88f6ba-cdfd-47f3-95ad-5140d9b9c941', 'tenant_id': '259f68bcb9ad42b9a912749bd7901f3f', 'network_id': '4dfa832d-eb3e-4bc4-9307-746c61c7ba62', 'mac_address': '02:fe:88:f6:ba:cd', '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': '54.251.130.3', 'subnet_id': '0b476b3c-87a8-41b9-8eb5-a3179d60a97a'}], 'security_groups': ['3bdcf8f3-aca3-4e89-8254-d718ee52d7f3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '259f68bcb9ad42b9a912749bd7901f3f'}} 2026-09-09 11:01:02,590 - DEBUG - Created port fe88f6ba-cdfd-47f3-95ad-5140d9b9c941 2026-09-09 11:01:02,706 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/fe88f6ba-cdfd-47f3-95ad-5140d9b9c941 2026-09-09 11:01:03,109 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/fe88f6ba-cdfd-47f3-95ad-5140d9b9c941 2026-09-09 11:01:03,148 - INFO - VMI fe88f6ba-cdfd-47f3-95ad-5140d9b9c941 verification in API Server passed 2026-09-09 11:01:03,270 - DEBUG - Response for delete_port : () 2026-09-09 11:01:03,270 - INFO - Deleted port fe88f6ba-cdfd-47f3-95ad-5140d9b9c941 2026-09-09 11:01:03,270 - INFO - Deleting VN ctest-vn-34632653 2026-09-09 11:01:03,412 - DEBUG - Response for deleting network () 2026-09-09 11:01:03,688 - DEBUG - No XMPP flaps were noticed during the test
2026-09-09 11:01:03,689 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-09-09 11:01:03,689 - INFO - -------------------------------------------------------------------------------- 2026-09-09 11:01:03,693 - INFO - ================================================================================ 2026-09-09 11:01:03,693 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-09-09 11:01:03,693 - 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-09-09 11:01:03,988 - DEBUG - Nothing to compare xmpp stats {'10.0.0.250': {'10.20.0.254': '0'}} with 2026-09-09 11:01:03,988 - INFO - Initial checks done. Running the testcase now 2026-09-09 11:01:03,988 - INFO - 2026-09-09 11:01:04,251 - DEBUG - Response for create_network : {'network': {'id': 'e43c4f91-4200-4606-80af-fb6de4bf0f1e', 'name': 'ctest-vn1-75425404', 'tenant_id': '259f68bcb9ad42b9a912749bd7901f3f', 'project_id': '259f68bcb9ad42b9a912749bd7901f3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-58503975', 'ctest-vn1-75425404'], 'port_security_enabled': True, 'description': ''}} 2026-09-09 11:01:04,449 - DEBUG - Response for create_subnet : {'subnet': {'id': '66d41690-fc00-4282-903f-93b1800e8a68', 'name': '', 'tenant_id': '259f68bcb9ad42b9a912749bd7901f3f', 'network_id': 'e43c4f91-4200-4606-80af-fb6de4bf0f1e', 'ip_version': 4, 'cidr': '98.169.102.64/26', 'allocation_pools': [{'start': '98.169.102.66', 'end': '98.169.102.126'}], 'gateway_ip': '98.169.102.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.169.102.66', 'tags': [], 'project_id': '259f68bcb9ad42b9a912749bd7901f3f'}} 2026-09-09 11:01:04,641 - DEBUG - Response for create_subnet : {'subnet': {'id': '417526ec-ea01-493f-97e2-3af0f731a2b1', 'name': '', 'tenant_id': '259f68bcb9ad42b9a912749bd7901f3f', 'network_id': 'e43c4f91-4200-4606-80af-fb6de4bf0f1e', 'ip_version': 4, 'cidr': '105.137.186.0/26', 'allocation_pools': [{'start': '105.137.186.2', 'end': '105.137.186.62'}], 'gateway_ip': '105.137.186.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.137.186.2', 'tags': [], 'project_id': '259f68bcb9ad42b9a912749bd7901f3f'}} 2026-09-09 11:01:04,667 - INFO - Created VN ctest-vn1-75425404 2026-09-09 11:01:04,727 - DEBUG - VN ctest-vn1-75425404 UUID is e43c4f91-4200-4606-80af-fb6de4bf0f1e 2026-09-09 11:01:05,108 - DEBUG - Response for create_port : {'port': {'name': 'c7086c11-d962-4a8a-ab2e-02a6cf314ece', 'id': 'c7086c11-d962-4a8a-ab2e-02a6cf314ece', 'tenant_id': '259f68bcb9ad42b9a912749bd7901f3f', 'network_id': 'e43c4f91-4200-4606-80af-fb6de4bf0f1e', 'mac_address': '02:c7:08:6c:11:d9', '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': '98.169.102.69', 'subnet_id': '66d41690-fc00-4282-903f-93b1800e8a68'}], 'security_groups': ['3bdcf8f3-aca3-4e89-8254-d718ee52d7f3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '259f68bcb9ad42b9a912749bd7901f3f'}} 2026-09-09 11:01:05,344 - DEBUG - Response for create_port : {'port': {'name': '77a76188-2f94-4df3-8d63-c1036b7cd909', 'id': '77a76188-2f94-4df3-8d63-c1036b7cd909', 'tenant_id': '259f68bcb9ad42b9a912749bd7901f3f', 'network_id': 'e43c4f91-4200-4606-80af-fb6de4bf0f1e', 'mac_address': '02:77:a7:61:88:2f', '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': '105.137.186.5', 'subnet_id': '417526ec-ea01-493f-97e2-3af0f731a2b1'}], 'security_groups': ['3bdcf8f3-aca3-4e89-8254-d718ee52d7f3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '259f68bcb9ad42b9a912749bd7901f3f'}} 2026-09-09 11:01:05,434 - DEBUG - Services list from nova: [, , ] 2026-09-09 11:01:05,910 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6267-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6267-1) 2026-09-09 11:01:06,475 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6267-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6267-1) 2026-09-09 11:01:06,475 - INFO - Waiting for VM ctest-vn1-vm1-51790056 to be up.. 2026-09-09 11:01:06,533 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 11:01:11,632 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 11:01:16,734 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 11:01:21,832 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 11:01:26,931 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 11:01:32,020 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 11:01:37,107 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 11:01:42,203 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 11:01:47,299 - DEBUG - VM is in ACTIVE state now 2026-09-09 11:01:47,299 - INFO - VM name : ctest-vn1-vm1-51790056 2026-09-09 11:01:47,388 - DEBUG - VM ctest-vn1-vm1-51790056 ID is 6b4bdcbb-0ff7-4138-98f8-5ddc390506aa 2026-09-09 11:01:47,410 - DEBUG - VM ctest-vn1-vm1-51790056 launched on Node cn-jenkins-deploy-platform-ansible-os-6267-1 2026-09-09 11:01:47,506 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/6b4bdcbb-0ff7-4138-98f8-5ddc390506aa 2026-09-09 11:01:47,517 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/c7086c11-d962-4a8a-ab2e-02a6cf314ece 2026-09-09 11:01:50,776 - 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 1003ms') 2026-09-09 11:01:50,776 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51790056 failed! 2026-09-09 11:01:50,834 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-58503975:ctest-vn1-75425404 is 98.169.102.65 and allocation pool is NOT set 2026-09-09 11:01:50,835 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-58503975:ctest-vn1-75425404 is 105.137.186.1 and allocation pool is NOT set 2026-09-09 11:01:52,904 - 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=12.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.79 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 = 2.791/7.499/12.207/4.708 ms') 2026-09-09 11:01:52,904 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51790056 passed 2026-09-09 11:01:53,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 11:01:53,059 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-51790056, IP 98.169.102.69, Port 22 2026-09-09 11:01:53,125 - 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-09-09 11:01:53,210 - DEBUG - VM ctest-vn1-vm1-51790056 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-09 11:01:58,210 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 11:01:58,211 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-51790056, IP 98.169.102.69, Port 22 2026-09-09 11:01:58,380 - DEBUG - VM ctest-vn1-vm1-51790056 is ready for SSH connections 2026-09-09 11:01:58,380 - INFO - Waiting for VM ctest-vn1-vm2-96937325 to be up.. 2026-09-09 11:01:58,471 - DEBUG - VM is in ACTIVE state now 2026-09-09 11:01:58,472 - INFO - VM name : ctest-vn1-vm2-96937325 2026-09-09 11:01:58,554 - DEBUG - VM ctest-vn1-vm2-96937325 ID is 73c7a40e-2e40-438a-b38d-4fb1d20b1556 2026-09-09 11:01:58,554 - DEBUG - VM ctest-vn1-vm2-96937325 launched on Node cn-jenkins-deploy-platform-ansible-os-6267-1 2026-09-09 11:01:58,639 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/73c7a40e-2e40-438a-b38d-4fb1d20b1556 2026-09-09 11:01:58,651 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/77a76188-2f94-4df3-8d63-c1036b7cd909 2026-09-09 11:01:59,897 - 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.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.511 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.511/2.386/4.262/1.875 ms') 2026-09-09 11:01:59,898 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-96937325 passed 2026-09-09 11:02:00,050 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 11:02:00,051 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-96937325, IP 105.137.186.5, Port 22 2026-09-09 11:02:00,221 - DEBUG - VM ctest-vn1-vm2-96937325 is ready for SSH connections 2026-09-09 11:02:00,221 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 11:02:00,221 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 11:02:00,221 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 11:02:00,221 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.169.102.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.250, gateway password: c0ntrail123 2026-09-09 11:02:00,221 - DEBUG - ping -s 56 -c 3 -W 1 98.169.102.69 2026-09-09 11:02:03,335 - DEBUG - PING 98.169.102.69 (98.169.102.69): 56 data bytes 64 bytes from 98.169.102.69: seq=0 ttl=63 time=5.735 ms 64 bytes from 98.169.102.69: seq=1 ttl=63 time=1.257 ms 64 bytes from 98.169.102.69: seq=2 ttl=63 time=1.101 ms --- 98.169.102.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.101/2.697/5.735 ms 2026-09-09 11:02:03,335 - INFO - Ping to IP 98.169.102.69 from VM ctest-vn1-vm2-96937325 passed 2026-09-09 11:02:03,335 - INFO - Detaching port 77a76188-2f94-4df3-8d63-c1036b7cd909 from VM ctest-vn1-vm2-96937325 2026-09-09 11:02:03,394 - INFO - Deleting VM ctest-vn1-vm2-96937325 2026-09-09 11:02:03,494 - INFO - Detaching port c7086c11-d962-4a8a-ab2e-02a6cf314ece from VM ctest-vn1-vm1-51790056 2026-09-09 11:02:03,543 - INFO - Deleting VM ctest-vn1-vm1-51790056 2026-09-09 11:02:03,870 - DEBUG - Response for delete_port : () 2026-09-09 11:02:04,090 - DEBUG - Response for delete_port : () 2026-09-09 11:02:04,091 - INFO - Deleting VN ctest-vn1-75425404 2026-09-09 11:02:04,262 - DEBUG - Response for deleting network () 2026-09-09 11:02:04,535 - DEBUG - No XMPP flaps were noticed during the test
2026-09-09 11:02:04,535 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:01:01]
2026-09-09 11:02:04,535 - INFO - -------------------------------------------------------------------------------- 2026-09-09 11:02:06,073 - INFO - Deleted project: ctest-TestPorts-58503975, ID : 259f68bc-b9ad-42b9-a912-749bd7901f3f