2026-02-02 02:20:17,643 - INFO - Domain Default found not creating 2026-02-02 02:20:17,826 - INFO - Project ctest-TestPorts-17407920 not found, creating it 2026-02-02 02:20:18,389 - INFO - Created Project:ctest-TestPorts-17407920, ID : 4281e9a6-6bb0-4e5d-a9f3-6ba96692cd7d 2026-02-02 02:20:19,838 - INFO - ================================================================================ 2026-02-02 02:20:19,839 - INFO - STARTING TEST : test_ports_bindings 2026-02-02 02:20:19,839 - 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-02-02 02:20:21,120 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0', '10.20.0.193': '0'}, '10.0.0.65': {'10.20.0.193': '0', '10.20.0.129': '0'}} with 2026-02-02 02:20:21,120 - INFO - Initial checks done. Running the testcase now 2026-02-02 02:20:21,120 - INFO - 2026-02-02 02:20:21,807 - DEBUG - Response for create_network : {'network': {'id': '4704663f-e2ee-4e5c-836d-1b464ba086e5', 'name': 'ctest-vn-38904858', 'tenant_id': '4281e9a66bb04e5da9f36ba96692cd7d', 'project_id': '4281e9a66bb04e5da9f36ba96692cd7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-17407920', 'ctest-vn-38904858'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 02:20:22,173 - DEBUG - Response for create_subnet : {'subnet': {'id': 'de68a89e-4a5b-4c0d-b01d-dade95992bc1', 'name': '', 'tenant_id': '4281e9a66bb04e5da9f36ba96692cd7d', 'network_id': '4704663f-e2ee-4e5c-836d-1b464ba086e5', 'ip_version': 4, 'cidr': '72.159.77.128/26', 'allocation_pools': [{'start': '72.159.77.130', 'end': '72.159.77.190'}], 'gateway_ip': '72.159.77.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.159.77.130', 'tags': [], 'project_id': '4281e9a66bb04e5da9f36ba96692cd7d'}} 2026-02-02 02:20:22,194 - INFO - Created VN ctest-vn-38904858 2026-02-02 02:20:22,206 - DEBUG - VN ctest-vn-38904858 UUID is 4704663f-e2ee-4e5c-836d-1b464ba086e5 2026-02-02 02:20:22,282 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-17407920', 'ctest-vmi-93699258']} 2026-02-02 02:20:22,554 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-93699258', 'id': '6373b8c8-3179-4336-a776-8b7ca25baf88', 'tenant_id': '4281e9a66bb04e5da9f36ba96692cd7d', 'network_id': '4704663f-e2ee-4e5c-836d-1b464ba086e5', 'mac_address': '02:63:73:b8:c8:31', '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.159.77.131', 'subnet_id': 'de68a89e-4a5b-4c0d-b01d-dade95992bc1'}], 'security_groups': ['9846df55-6580-477d-8e92-74a1b8fa31a0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4281e9a66bb04e5da9f36ba96692cd7d'}} 2026-02-02 02:20:22,554 - DEBUG - Created port 6373b8c8-3179-4336-a776-8b7ca25baf88 2026-02-02 02:20:22,624 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/6373b8c8-3179-4336-a776-8b7ca25baf88 2026-02-02 02:20:22,937 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/6373b8c8-3179-4336-a776-8b7ca25baf88 2026-02-02 02:20:22,970 - INFO - VMI 6373b8c8-3179-4336-a776-8b7ca25baf88 verification in API Server passed 2026-02-02 02:20:23,121 - DEBUG - Response for delete_port : () 2026-02-02 02:20:23,121 - INFO - Deleted port 6373b8c8-3179-4336-a776-8b7ca25baf88 2026-02-02 02:20:23,122 - INFO - Deleting VN ctest-vn-38904858 2026-02-02 02:20:23,265 - DEBUG - Response for deleting network () 2026-02-02 02:20:24,534 - DEBUG - No XMPP flaps were noticed during the test 2026-02-02 02:20:24,534 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05] 2026-02-02 02:20:24,534 - INFO - -------------------------------------------------------------------------------- 2026-02-02 02:20:24,536 - INFO - ================================================================================ 2026-02-02 02:20:24,536 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-02-02 02:20:24,536 - 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-02-02 02:20:25,801 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0', '10.20.0.193': '0'}, '10.0.0.65': {'10.20.0.193': '0', '10.20.0.129': '0'}} with 2026-02-02 02:20:25,801 - INFO - Initial checks done. Running the testcase now 2026-02-02 02:20:25,801 - INFO - 2026-02-02 02:20:26,127 - DEBUG - Response for create_network : {'network': {'id': '197d7c2e-7a4c-437b-ac73-19b84f41d742', 'name': 'ctest-vn1-68569997', 'tenant_id': '4281e9a66bb04e5da9f36ba96692cd7d', 'project_id': '4281e9a66bb04e5da9f36ba96692cd7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-17407920', 'ctest-vn1-68569997'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 02:20:26,408 - DEBUG - Response for create_subnet : {'subnet': {'id': '26b4159e-4921-4417-a9d9-5368645f6b34', 'name': '', 'tenant_id': '4281e9a66bb04e5da9f36ba96692cd7d', 'network_id': '197d7c2e-7a4c-437b-ac73-19b84f41d742', 'ip_version': 4, 'cidr': '49.195.167.0/26', 'allocation_pools': [{'start': '49.195.167.2', 'end': '49.195.167.62'}], 'gateway_ip': '49.195.167.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.195.167.2', 'tags': [], 'project_id': '4281e9a66bb04e5da9f36ba96692cd7d'}} 2026-02-02 02:20:26,670 - DEBUG - Response for create_subnet : {'subnet': {'id': '965c3579-27b7-40a3-89ba-33553393f624', 'name': '', 'tenant_id': '4281e9a66bb04e5da9f36ba96692cd7d', 'network_id': '197d7c2e-7a4c-437b-ac73-19b84f41d742', 'ip_version': 4, 'cidr': '76.150.232.128/26', 'allocation_pools': [{'start': '76.150.232.130', 'end': '76.150.232.190'}], 'gateway_ip': '76.150.232.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.150.232.130', 'tags': [], 'project_id': '4281e9a66bb04e5da9f36ba96692cd7d'}} 2026-02-02 02:20:26,695 - INFO - Created VN ctest-vn1-68569997 2026-02-02 02:20:26,707 - DEBUG - VN ctest-vn1-68569997 UUID is 197d7c2e-7a4c-437b-ac73-19b84f41d742 2026-02-02 02:20:27,085 - DEBUG - Response for create_port : {'port': {'name': '87f6c6fd-4c99-4ffd-875b-c3500080937c', 'id': '87f6c6fd-4c99-4ffd-875b-c3500080937c', 'tenant_id': '4281e9a66bb04e5da9f36ba96692cd7d', 'network_id': '197d7c2e-7a4c-437b-ac73-19b84f41d742', 'mac_address': '02:87:f6:c6:fd:4c', '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': '49.195.167.5', 'subnet_id': '26b4159e-4921-4417-a9d9-5368645f6b34'}], 'security_groups': ['9846df55-6580-477d-8e92-74a1b8fa31a0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4281e9a66bb04e5da9f36ba96692cd7d'}} 2026-02-02 02:20:27,405 - DEBUG - Response for create_port : {'port': {'name': '1e33089b-d1bd-4121-9eda-9157151af6e4', 'id': '1e33089b-d1bd-4121-9eda-9157151af6e4', 'tenant_id': '4281e9a66bb04e5da9f36ba96692cd7d', 'network_id': '197d7c2e-7a4c-437b-ac73-19b84f41d742', 'mac_address': '02:1e:33:08:9b:d1', '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': '76.150.232.133', 'subnet_id': '965c3579-27b7-40a3-89ba-33553393f624'}], 'security_groups': ['9846df55-6580-477d-8e92-74a1b8fa31a0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4281e9a66bb04e5da9f36ba96692cd7d'}} 2026-02-02 02:20:27,462 - DEBUG - Services list from nova: [, , , ] 2026-02-02 02:20:27,939 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5167-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5167-1) 2026-02-02 02:20:28,471 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5167-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5167-2) 2026-02-02 02:20:28,472 - INFO - Waiting for VM ctest-vn1-vm1-58877041 to be up.. 2026-02-02 02:20:28,518 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-02 02:20:33,609 - DEBUG - VM is in ACTIVE state now 2026-02-02 02:20:33,609 - INFO - VM name : ctest-vn1-vm1-58877041 2026-02-02 02:20:33,810 - DEBUG - VM ctest-vn1-vm1-58877041 ID is 6faf99a8-40b8-41f5-b567-655bfa9a4a26 2026-02-02 02:20:33,850 - DEBUG - VM ctest-vn1-vm1-58877041 launched on Node an-jenkins-deploy-platform-ansible-os-5167-1 2026-02-02 02:20:33,956 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/6faf99a8-40b8-41f5-b567-655bfa9a4a26 2026-02-02 02:20:34,256 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/6faf99a8-40b8-41f5-b567-655bfa9a4a26 2026-02-02 02:20:34,289 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/87f6c6fd-4c99-4ffd-875b-c3500080937c 2026-02-02 02:20:37,464 - 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-02-02 02:20:37,464 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-58877041 failed! 2026-02-02 02:20:37,478 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-17407920:ctest-vn1-68569997 is 49.195.167.1 and allocation pool is NOT set 2026-02-02 02:20:37,478 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-17407920:ctest-vn1-68569997 is 76.150.232.129 and allocation pool is NOT set 2026-02-02 02:20:39,543 - 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=5.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.459 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 = 0.459/2.954/5.450/2.495 ms') 2026-02-02 02:20:39,543 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-58877041 passed 2026-02-02 02:20:39,609 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 02:20:39,610 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-58877041, IP 49.195.167.5, Port 22 2026-02-02 02:20:39,765 - DEBUG - VM ctest-vn1-vm1-58877041 is ready for SSH connections 2026-02-02 02:20:39,765 - INFO - Waiting for VM ctest-vn1-vm2-26120659 to be up.. 2026-02-02 02:20:39,846 - DEBUG - VM is in ACTIVE state now 2026-02-02 02:20:39,846 - INFO - VM name : ctest-vn1-vm2-26120659 2026-02-02 02:20:39,923 - DEBUG - VM ctest-vn1-vm2-26120659 ID is 40567646-5ec1-4cb6-8cac-a6dfd7067000 2026-02-02 02:20:39,923 - DEBUG - VM ctest-vn1-vm2-26120659 launched on Node an-jenkins-deploy-platform-ansible-os-5167-2 2026-02-02 02:20:40,012 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/40567646-5ec1-4cb6-8cac-a6dfd7067000 2026-02-02 02:20:40,023 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/1e33089b-d1bd-4121-9eda-9157151af6e4 2026-02-02 02:20:41,191 - 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=6.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.843 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.843/3.877/6.911/3.034 ms') 2026-02-02 02:20:41,191 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-26120659 passed 2026-02-02 02:20:41,258 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 02:20:41,258 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-26120659, IP 76.150.232.133, Port 22 2026-02-02 02:20:41,324 - 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-02-02 02:20:41,416 - DEBUG - VM ctest-vn1-vm2-26120659 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-02 02:20:46,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 02:20:46,417 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-26120659, IP 76.150.232.133, Port 22 2026-02-02 02:20:46,579 - DEBUG - VM ctest-vn1-vm2-26120659 is ready for SSH connections 2026-02-02 02:20:46,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 02:20:46,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 02:20:46,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 02:20:46,579 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.195.167.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-02-02 02:20:46,579 - DEBUG - ping -s 56 -c 3 -W 1 49.195.167.5 2026-02-02 02:20:49,642 - DEBUG - PING 49.195.167.5 (49.195.167.5): 56 data bytes 64 bytes from 49.195.167.5: seq=0 ttl=63 time=6.054 ms 64 bytes from 49.195.167.5: seq=1 ttl=63 time=1.344 ms 64 bytes from 49.195.167.5: seq=2 ttl=63 time=1.209 ms --- 49.195.167.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.209/2.869/6.054 ms 2026-02-02 02:20:49,642 - INFO - Ping to IP 49.195.167.5 from VM ctest-vn1-vm2-26120659 passed 2026-02-02 02:20:49,642 - INFO - Detaching port 1e33089b-d1bd-4121-9eda-9157151af6e4 from VM ctest-vn1-vm2-26120659 2026-02-02 02:20:49,693 - INFO - Deleting VM ctest-vn1-vm2-26120659 2026-02-02 02:20:49,760 - INFO - Detaching port 87f6c6fd-4c99-4ffd-875b-c3500080937c from VM ctest-vn1-vm1-58877041 2026-02-02 02:20:49,791 - INFO - Deleting VM ctest-vn1-vm1-58877041 2026-02-02 02:20:50,105 - DEBUG - Response for delete_port : () 2026-02-02 02:20:50,342 - DEBUG - Response for delete_port : () 2026-02-02 02:20:50,342 - INFO - Deleting VN ctest-vn1-68569997 2026-02-02 02:20:50,543 - DEBUG - Response for deleting network () 2026-02-02 02:20:51,824 - DEBUG - No XMPP flaps were noticed during the test 2026-02-02 02:20:51,824 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27] 2026-02-02 02:20:51,824 - INFO - -------------------------------------------------------------------------------- 2026-02-02 02:20:52,592 - INFO - Deleted project: ctest-TestPorts-17407920, ID : 4281e9a6-6bb0-4e5d-a9f3-6ba96692cd7d