2026-01-28 12:11:14,287 - INFO - Domain Default found not creating 2026-01-28 12:11:14,449 - INFO - Project ctest-TestPorts-46686136 not found, creating it 2026-01-28 12:11:14,937 - INFO - Created Project:ctest-TestPorts-46686136, ID : e31d4ab3-a94c-4cec-b021-50e2c5c6e47b 2026-01-28 12:11:16,610 - INFO - ================================================================================ 2026-01-28 12:11:16,611 - INFO - STARTING TEST : test_ports_bindings 2026-01-28 12:11:16,611 - 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-01-28 12:11:16,879 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.254': '0'}} with 2026-01-28 12:11:16,879 - INFO - Initial checks done. Running the testcase now 2026-01-28 12:11:16,879 - INFO - 2026-01-28 12:11:17,456 - DEBUG - Response for create_network : {'network': {'id': '83d19e41-3e19-49e9-8c2a-b5bd8207ed7d', 'name': 'ctest-vn-25421840', 'tenant_id': 'e31d4ab3a94c4cecb02150e2c5c6e47b', 'project_id': 'e31d4ab3a94c4cecb02150e2c5c6e47b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-46686136', 'ctest-vn-25421840'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 12:11:17,679 - DEBUG - Response for create_subnet : {'subnet': {'id': '61d75a99-f541-4bfe-8713-d01b3942c9ce', 'name': '', 'tenant_id': 'e31d4ab3a94c4cecb02150e2c5c6e47b', 'network_id': '83d19e41-3e19-49e9-8c2a-b5bd8207ed7d', 'ip_version': 4, 'cidr': '223.250.36.192/26', 'allocation_pools': [{'start': '223.250.36.194', 'end': '223.250.36.254'}], 'gateway_ip': '223.250.36.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.250.36.194', 'tags': [], 'project_id': 'e31d4ab3a94c4cecb02150e2c5c6e47b'}} 2026-01-28 12:11:17,699 - INFO - Created VN ctest-vn-25421840 2026-01-28 12:11:17,753 - DEBUG - VN ctest-vn-25421840 UUID is 83d19e41-3e19-49e9-8c2a-b5bd8207ed7d 2026-01-28 12:11:17,879 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-46686136', 'ctest-vmi-32122314']} 2026-01-28 12:11:18,137 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-32122314', 'id': 'd6da8fa1-bbb2-4da8-9f43-02af64f552c4', 'tenant_id': 'e31d4ab3a94c4cecb02150e2c5c6e47b', 'network_id': '83d19e41-3e19-49e9-8c2a-b5bd8207ed7d', 'mac_address': '02:d6:da:8f:a1:bb', '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': '223.250.36.195', 'subnet_id': '61d75a99-f541-4bfe-8713-d01b3942c9ce'}], 'security_groups': ['16911ff4-f6af-457b-ac5e-7538d805ce15'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e31d4ab3a94c4cecb02150e2c5c6e47b'}} 2026-01-28 12:11:18,137 - DEBUG - Created port d6da8fa1-bbb2-4da8-9f43-02af64f552c4 2026-01-28 12:11:18,241 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/d6da8fa1-bbb2-4da8-9f43-02af64f552c4 2026-01-28 12:11:18,579 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/d6da8fa1-bbb2-4da8-9f43-02af64f552c4 2026-01-28 12:11:18,621 - INFO - VMI d6da8fa1-bbb2-4da8-9f43-02af64f552c4 verification in API Server passed 2026-01-28 12:11:18,719 - DEBUG - Response for delete_port : () 2026-01-28 12:11:18,719 - INFO - Deleted port d6da8fa1-bbb2-4da8-9f43-02af64f552c4 2026-01-28 12:11:18,719 - INFO - Deleting VN ctest-vn-25421840 2026-01-28 12:11:18,819 - DEBUG - Response for deleting network () 2026-01-28 12:11:19,093 - DEBUG - No XMPP flaps were noticed during the test 2026-01-28 12:11:19,093 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2026-01-28 12:11:19,093 - INFO - -------------------------------------------------------------------------------- 2026-01-28 12:11:19,095 - INFO - ================================================================================ 2026-01-28 12:11:19,095 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-01-28 12:11:19,095 - 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-01-28 12:11:19,383 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.254': '0'}} with 2026-01-28 12:11:19,384 - INFO - Initial checks done. Running the testcase now 2026-01-28 12:11:19,384 - INFO - 2026-01-28 12:11:19,575 - DEBUG - Response for create_network : {'network': {'id': 'd386edf8-3c0d-4644-9cef-0f978f1e1060', 'name': 'ctest-vn1-90864301', 'tenant_id': 'e31d4ab3a94c4cecb02150e2c5c6e47b', 'project_id': 'e31d4ab3a94c4cecb02150e2c5c6e47b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-46686136', 'ctest-vn1-90864301'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 12:11:19,796 - DEBUG - Response for create_subnet : {'subnet': {'id': '61a3efee-68d3-4a2e-9ab9-241420c41b7f', 'name': '', 'tenant_id': 'e31d4ab3a94c4cecb02150e2c5c6e47b', 'network_id': 'd386edf8-3c0d-4644-9cef-0f978f1e1060', 'ip_version': 4, 'cidr': '56.54.192.64/26', 'allocation_pools': [{'start': '56.54.192.66', 'end': '56.54.192.126'}], 'gateway_ip': '56.54.192.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.54.192.66', 'tags': [], 'project_id': 'e31d4ab3a94c4cecb02150e2c5c6e47b'}} 2026-01-28 12:11:19,942 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9fd08d1-4892-46e4-8752-5fb5a59716d4', 'name': '', 'tenant_id': 'e31d4ab3a94c4cecb02150e2c5c6e47b', 'network_id': 'd386edf8-3c0d-4644-9cef-0f978f1e1060', 'ip_version': 4, 'cidr': '5.142.175.128/26', 'allocation_pools': [{'start': '5.142.175.130', 'end': '5.142.175.190'}], 'gateway_ip': '5.142.175.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.142.175.130', 'tags': [], 'project_id': 'e31d4ab3a94c4cecb02150e2c5c6e47b'}} 2026-01-28 12:11:19,962 - INFO - Created VN ctest-vn1-90864301 2026-01-28 12:11:20,014 - DEBUG - VN ctest-vn1-90864301 UUID is d386edf8-3c0d-4644-9cef-0f978f1e1060 2026-01-28 12:11:20,339 - DEBUG - Response for create_port : {'port': {'name': '37100c70-6dcc-4129-abcc-5635965306df', 'id': '37100c70-6dcc-4129-abcc-5635965306df', 'tenant_id': 'e31d4ab3a94c4cecb02150e2c5c6e47b', 'network_id': 'd386edf8-3c0d-4644-9cef-0f978f1e1060', 'mac_address': '02:37:10:0c:70:6d', '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': '56.54.192.69', 'subnet_id': '61a3efee-68d3-4a2e-9ab9-241420c41b7f'}], 'security_groups': ['16911ff4-f6af-457b-ac5e-7538d805ce15'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e31d4ab3a94c4cecb02150e2c5c6e47b'}} 2026-01-28 12:11:20,521 - DEBUG - Response for create_port : {'port': {'name': '0d00f33a-c94b-4c9e-8f0b-145097ee7b21', 'id': '0d00f33a-c94b-4c9e-8f0b-145097ee7b21', 'tenant_id': 'e31d4ab3a94c4cecb02150e2c5c6e47b', 'network_id': 'd386edf8-3c0d-4644-9cef-0f978f1e1060', 'mac_address': '02:0d:00:f3:3a:c9', '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': '5.142.175.133', 'subnet_id': 'e9fd08d1-4892-46e4-8752-5fb5a59716d4'}], 'security_groups': ['16911ff4-f6af-457b-ac5e-7538d805ce15'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e31d4ab3a94c4cecb02150e2c5c6e47b'}} 2026-01-28 12:11:20,579 - DEBUG - Services list from nova: [, , ] 2026-01-28 12:11:20,946 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5091-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5091-1) 2026-01-28 12:11:21,363 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5091-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5091-1) 2026-01-28 12:11:21,363 - INFO - Waiting for VM ctest-vn1-vm1-01140979 to be up.. 2026-01-28 12:11:21,402 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-28 12:11:26,506 - DEBUG - VM is in ACTIVE state now 2026-01-28 12:11:26,506 - INFO - VM name : ctest-vn1-vm1-01140979 2026-01-28 12:11:26,592 - DEBUG - VM ctest-vn1-vm1-01140979 ID is ea80e773-25c2-4ee4-9d66-98e08863b58b 2026-01-28 12:11:26,620 - DEBUG - VM ctest-vn1-vm1-01140979 launched on Node cn-jenkins-deploy-platform-ansible-os-5091-1 2026-01-28 12:11:26,701 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/ea80e773-25c2-4ee4-9d66-98e08863b58b 2026-01-28 12:11:26,716 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/37100c70-6dcc-4129-abcc-5635965306df 2026-01-28 12:11:29,979 - 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-01-28 12:11:29,980 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01140979 failed! 2026-01-28 12:11:30,033 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-46686136:ctest-vn1-90864301 is 56.54.192.65 and allocation pool is NOT set 2026-01-28 12:11:30,033 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-46686136:ctest-vn1-90864301 is 5.142.175.129 and allocation pool is NOT set 2026-01-28 12:11:32,093 - 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=16.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.09 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 = 2.092/9.363/16.634/7.271 ms') 2026-01-28 12:11:32,093 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01140979 passed 2026-01-28 12:11:32,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 12:11:32,249 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-01140979, IP 56.54.192.69, Port 22 2026-01-28 12:11:32,305 - 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-01-28 12:11:32,380 - DEBUG - VM ctest-vn1-vm1-01140979 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-28 12:11:37,381 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 12:11:37,382 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-01140979, IP 56.54.192.69, Port 22 2026-01-28 12:11:37,545 - DEBUG - VM ctest-vn1-vm1-01140979 is ready for SSH connections 2026-01-28 12:11:37,545 - INFO - Waiting for VM ctest-vn1-vm2-34699223 to be up.. 2026-01-28 12:11:37,623 - DEBUG - VM is in ACTIVE state now 2026-01-28 12:11:37,623 - INFO - VM name : ctest-vn1-vm2-34699223 2026-01-28 12:11:37,703 - DEBUG - VM ctest-vn1-vm2-34699223 ID is 862bc518-feda-4326-8add-bfc548fd2453 2026-01-28 12:11:37,703 - DEBUG - VM ctest-vn1-vm2-34699223 launched on Node cn-jenkins-deploy-platform-ansible-os-5091-1 2026-01-28 12:11:37,778 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/862bc518-feda-4326-8add-bfc548fd2453 2026-01-28 12:11:37,786 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/0d00f33a-c94b-4c9e-8f0b-145097ee7b21 2026-01-28 12:11:39,018 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.457 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.457/2.225/3.993/1.768 ms') 2026-01-28 12:11:39,018 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-34699223 passed 2026-01-28 12:11:39,165 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 12:11:39,166 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-34699223, IP 5.142.175.133, Port 22 2026-01-28 12:11:39,329 - DEBUG - VM ctest-vn1-vm2-34699223 is ready for SSH connections 2026-01-28 12:11:39,329 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 12:11:39,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 12:11:39,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 12:11:39,330 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.54.192.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-01-28 12:11:39,330 - DEBUG - ping -s 56 -c 3 -W 1 56.54.192.69 2026-01-28 12:11:42,014 - DEBUG - PING 56.54.192.69 (56.54.192.69): 56 data bytes 64 bytes from 56.54.192.69: seq=0 ttl=63 time=3.576 ms 64 bytes from 56.54.192.69: seq=1 ttl=63 time=1.093 ms 64 bytes from 56.54.192.69: seq=2 ttl=63 time=1.151 ms --- 56.54.192.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.093/1.940/3.576 ms 2026-01-28 12:11:42,014 - INFO - Ping to IP 56.54.192.69 from VM ctest-vn1-vm2-34699223 passed 2026-01-28 12:11:42,014 - INFO - Detaching port 0d00f33a-c94b-4c9e-8f0b-145097ee7b21 from VM ctest-vn1-vm2-34699223 2026-01-28 12:11:42,069 - INFO - Deleting VM ctest-vn1-vm2-34699223 2026-01-28 12:11:42,140 - INFO - Detaching port 37100c70-6dcc-4129-abcc-5635965306df from VM ctest-vn1-vm1-01140979 2026-01-28 12:11:42,177 - INFO - Deleting VM ctest-vn1-vm1-01140979 2026-01-28 12:11:42,415 - DEBUG - Response for delete_port : () 2026-01-28 12:11:42,602 - DEBUG - Response for delete_port : () 2026-01-28 12:11:42,602 - INFO - Deleting VN ctest-vn1-90864301 2026-01-28 12:11:42,734 - DEBUG - Response for deleting network () 2026-01-28 12:11:43,004 - DEBUG - No XMPP flaps were noticed during the test 2026-01-28 12:11:43,004 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2026-01-28 12:11:43,004 - INFO - -------------------------------------------------------------------------------- 2026-01-28 12:11:43,747 - INFO - Deleted project: ctest-TestPorts-46686136, ID : e31d4ab3-a94c-4cec-b021-50e2c5c6e47b