2025-10-31 15:01:04,519 - INFO - Domain Default found not creating 2025-10-31 15:01:04,667 - INFO - Project ctest-TestPorts-75350882 not found, creating it 2025-10-31 15:01:05,259 - INFO - Created Project:ctest-TestPorts-75350882, ID : 3f69a082-cc6b-4ecd-9915-7c266779c788 2025-10-31 15:01:06,680 - INFO - ================================================================================ 2025-10-31 15:01:06,680 - INFO - STARTING TEST : test_ports_bindings 2025-10-31 15:01:06,681 - 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 2025-10-31 15:01:08,000 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.25': '0', '10.20.0.14': '0'}, '10.0.0.22': {'10.20.0.25': '0', '10.20.0.193': '0'}} with 2025-10-31 15:01:08,001 - INFO - Initial checks done. Running the testcase now 2025-10-31 15:01:08,001 - INFO - 2025-10-31 15:01:08,679 - DEBUG - Response for create_network : {'network': {'id': '2768d0c4-2891-4afe-915f-430de3d33af7', 'name': 'ctest-vn-70769425', 'tenant_id': '3f69a082cc6b4ecd99157c266779c788', 'project_id': '3f69a082cc6b4ecd99157c266779c788', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-75350882', 'ctest-vn-70769425'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 15:01:09,010 - DEBUG - Response for create_subnet : {'subnet': {'id': '22073c24-04f6-47f5-b9c3-49624694bceb', 'name': '', 'tenant_id': '3f69a082cc6b4ecd99157c266779c788', 'network_id': '2768d0c4-2891-4afe-915f-430de3d33af7', 'ip_version': 4, 'cidr': '96.196.118.64/26', 'allocation_pools': [{'start': '96.196.118.66', 'end': '96.196.118.126'}], 'gateway_ip': '96.196.118.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.196.118.66', 'tags': [], 'project_id': '3f69a082cc6b4ecd99157c266779c788'}} 2025-10-31 15:01:09,051 - INFO - Created VN ctest-vn-70769425 2025-10-31 15:01:09,068 - DEBUG - VN ctest-vn-70769425 UUID is 2768d0c4-2891-4afe-915f-430de3d33af7 2025-10-31 15:01:09,203 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-75350882', 'ctest-vmi-32008324']} 2025-10-31 15:01:09,616 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-32008324', 'id': '6a86464b-1107-4580-b1b6-7d35b232c303', 'tenant_id': '3f69a082cc6b4ecd99157c266779c788', 'network_id': '2768d0c4-2891-4afe-915f-430de3d33af7', 'mac_address': '02:6a:86:46:4b:11', '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': '96.196.118.67', 'subnet_id': '22073c24-04f6-47f5-b9c3-49624694bceb'}], 'security_groups': ['44d29dff-8cdd-4283-a5ff-561c1f01ec7c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3f69a082cc6b4ecd99157c266779c788'}} 2025-10-31 15:01:09,616 - DEBUG - Created port 6a86464b-1107-4580-b1b6-7d35b232c303 2025-10-31 15:01:09,690 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6a86464b-1107-4580-b1b6-7d35b232c303 2025-10-31 15:01:10,000 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6a86464b-1107-4580-b1b6-7d35b232c303 2025-10-31 15:01:10,041 - INFO - VMI 6a86464b-1107-4580-b1b6-7d35b232c303 verification in API Server passed 2025-10-31 15:01:10,223 - DEBUG - Response for delete_port : () 2025-10-31 15:01:10,223 - INFO - Deleted port 6a86464b-1107-4580-b1b6-7d35b232c303 2025-10-31 15:01:10,223 - INFO - Deleting VN ctest-vn-70769425 2025-10-31 15:01:10,408 - DEBUG - Response for deleting network () 2025-10-31 15:01:11,734 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 15:01:11,734 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05] 2025-10-31 15:01:11,734 - INFO - -------------------------------------------------------------------------------- 2025-10-31 15:01:11,738 - INFO - ================================================================================ 2025-10-31 15:01:11,738 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-31 15:01:11,738 - 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 2025-10-31 15:01:13,050 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.25': '0', '10.20.0.14': '0'}, '10.0.0.22': {'10.20.0.25': '0', '10.20.0.193': '0'}} with 2025-10-31 15:01:13,050 - INFO - Initial checks done. Running the testcase now 2025-10-31 15:01:13,051 - INFO - 2025-10-31 15:01:13,431 - DEBUG - Response for create_network : {'network': {'id': 'a4b789a3-28de-40ae-a2f4-42b4bd6943b6', 'name': 'ctest-vn1-20108934', 'tenant_id': '3f69a082cc6b4ecd99157c266779c788', 'project_id': '3f69a082cc6b4ecd99157c266779c788', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-75350882', 'ctest-vn1-20108934'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 15:01:13,647 - DEBUG - Response for create_subnet : {'subnet': {'id': '571ac9a6-5020-4bf5-a74a-734e0676ea32', 'name': '', 'tenant_id': '3f69a082cc6b4ecd99157c266779c788', 'network_id': 'a4b789a3-28de-40ae-a2f4-42b4bd6943b6', 'ip_version': 4, 'cidr': '158.82.38.192/26', 'allocation_pools': [{'start': '158.82.38.194', 'end': '158.82.38.254'}], 'gateway_ip': '158.82.38.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.82.38.194', 'tags': [], 'project_id': '3f69a082cc6b4ecd99157c266779c788'}} 2025-10-31 15:01:14,126 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ed07fee2-6b8a-420e-8047-d2a9b2398e55', 'name': '', 'tenant_id': '3f69a082cc6b4ecd99157c266779c788', 'network_id': 'a4b789a3-28de-40ae-a2f4-42b4bd6943b6', 'ip_version': 4, 'cidr': '52.6.120.64/26', 'allocation_pools': [{'start': '52.6.120.66', 'end': '52.6.120.126'}], 'gateway_ip': '52.6.120.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.6.120.66', 'tags': [], 'project_id': '3f69a082cc6b4ecd99157c266779c788'}} 2025-10-31 15:01:14,194 - INFO - Created VN ctest-vn1-20108934 2025-10-31 15:01:14,220 - DEBUG - VN ctest-vn1-20108934 UUID is a4b789a3-28de-40ae-a2f4-42b4bd6943b6 2025-10-31 15:01:15,228 - DEBUG - Response for create_port : {'port': {'name': '23163699-609b-4a89-9bc8-cbdd9f930e8b', 'id': '23163699-609b-4a89-9bc8-cbdd9f930e8b', 'tenant_id': '3f69a082cc6b4ecd99157c266779c788', 'network_id': 'a4b789a3-28de-40ae-a2f4-42b4bd6943b6', 'mac_address': '02:23:16:36:99:60', '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.82.38.197', 'subnet_id': '571ac9a6-5020-4bf5-a74a-734e0676ea32'}], 'security_groups': ['44d29dff-8cdd-4283-a5ff-561c1f01ec7c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3f69a082cc6b4ecd99157c266779c788'}} 2025-10-31 15:01:15,637 - DEBUG - Response for create_port : {'port': {'name': '86c5ffb6-2c9d-46f3-b7da-7d315ee3eac1', 'id': '86c5ffb6-2c9d-46f3-b7da-7d315ee3eac1', 'tenant_id': '3f69a082cc6b4ecd99157c266779c788', 'network_id': 'a4b789a3-28de-40ae-a2f4-42b4bd6943b6', 'mac_address': '02:86:c5:ff:b6:2c', '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.6.120.69', 'subnet_id': 'ed07fee2-6b8a-420e-8047-d2a9b2398e55'}], 'security_groups': ['44d29dff-8cdd-4283-a5ff-561c1f01ec7c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3f69a082cc6b4ecd99157c266779c788'}} 2025-10-31 15:01:15,741 - DEBUG - Services list from nova: [, , , ] 2025-10-31 15:01:16,368 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4577-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4577-1) 2025-10-31 15:01:16,887 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4577-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4577-2) 2025-10-31 15:01:16,888 - INFO - Waiting for VM ctest-vn1-vm1-44344750 to be up.. 2025-10-31 15:01:16,936 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 15:01:22,029 - DEBUG - VM is in ACTIVE state now 2025-10-31 15:01:22,029 - INFO - VM name : ctest-vn1-vm1-44344750 2025-10-31 15:01:22,137 - DEBUG - VM ctest-vn1-vm1-44344750 ID is ecad8385-4f3a-4c09-9dc6-f4961a0b2df0 2025-10-31 15:01:22,167 - DEBUG - VM ctest-vn1-vm1-44344750 launched on Node an-jenkins-deploy-platform-ansible-os-4577-1 2025-10-31 15:01:22,265 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/ecad8385-4f3a-4c09-9dc6-f4961a0b2df0 2025-10-31 15:01:22,562 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/ecad8385-4f3a-4c09-9dc6-f4961a0b2df0 2025-10-31 15:01:22,595 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/23163699-609b-4a89-9bc8-cbdd9f930e8b 2025-10-31 15:01:25,766 - 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 1011ms') 2025-10-31 15:01:25,766 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-44344750 failed! 2025-10-31 15:01:25,782 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-75350882:ctest-vn1-20108934 is 158.82.38.193 and allocation pool is NOT set 2025-10-31 15:01:25,782 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-75350882:ctest-vn1-20108934 is 52.6.120.65 and allocation pool is NOT set 2025-10-31 15:01:27,846 - 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=3.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.617 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.617/1.931/3.245/1.314 ms') 2025-10-31 15:01:27,846 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-44344750 passed 2025-10-31 15:01:27,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 15:01:27,925 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-44344750, IP 158.82.38.197, Port 22 2025-10-31 15:01:28,088 - DEBUG - VM ctest-vn1-vm1-44344750 is ready for SSH connections 2025-10-31 15:01:28,088 - INFO - Waiting for VM ctest-vn1-vm2-91277609 to be up.. 2025-10-31 15:01:28,175 - DEBUG - VM is in ACTIVE state now 2025-10-31 15:01:28,175 - INFO - VM name : ctest-vn1-vm2-91277609 2025-10-31 15:01:28,256 - DEBUG - VM ctest-vn1-vm2-91277609 ID is 7cb3a5a0-9e19-4f1c-8f5e-f806197c563a 2025-10-31 15:01:28,256 - DEBUG - VM ctest-vn1-vm2-91277609 launched on Node an-jenkins-deploy-platform-ansible-os-4577-2 2025-10-31 15:01:28,339 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/7cb3a5a0-9e19-4f1c-8f5e-f806197c563a 2025-10-31 15:01:28,352 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/86c5ffb6-2c9d-46f3-b7da-7d315ee3eac1 2025-10-31 15:01:29,532 - 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=13.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.63 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 = 3.626/8.443/13.261/4.817 ms') 2025-10-31 15:01:29,533 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-91277609 passed 2025-10-31 15:01:29,604 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 15:01:29,604 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-91277609, IP 52.6.120.69, Port 22 2025-10-31 15:01:29,670 - 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': ''} 2025-10-31 15:01:29,753 - DEBUG - VM ctest-vn1-vm2-91277609 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-31 15:01:34,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 15:01:34,755 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-91277609, IP 52.6.120.69, Port 22 2025-10-31 15:01:34,926 - DEBUG - VM ctest-vn1-vm2-91277609 is ready for SSH connections 2025-10-31 15:01:34,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 15:01:34,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 15:01:34,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 15:01:34,926 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.82.38.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-31 15:01:34,927 - DEBUG - ping -s 56 -c 3 -W 1 158.82.38.197 2025-10-31 15:01:38,098 - DEBUG - PING 158.82.38.197 (158.82.38.197): 56 data bytes 64 bytes from 158.82.38.197: seq=0 ttl=63 time=7.745 ms 64 bytes from 158.82.38.197: seq=1 ttl=63 time=1.982 ms 64 bytes from 158.82.38.197: seq=2 ttl=63 time=2.594 ms --- 158.82.38.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.982/4.107/7.745 ms 2025-10-31 15:01:38,098 - INFO - Ping to IP 158.82.38.197 from VM ctest-vn1-vm2-91277609 passed 2025-10-31 15:01:38,098 - INFO - Detaching port 86c5ffb6-2c9d-46f3-b7da-7d315ee3eac1 from VM ctest-vn1-vm2-91277609 2025-10-31 15:01:38,146 - INFO - Deleting VM ctest-vn1-vm2-91277609 2025-10-31 15:01:38,208 - INFO - Detaching port 23163699-609b-4a89-9bc8-cbdd9f930e8b from VM ctest-vn1-vm1-44344750 2025-10-31 15:01:38,237 - INFO - Deleting VM ctest-vn1-vm1-44344750 2025-10-31 15:01:38,617 - DEBUG - Response for delete_port : () 2025-10-31 15:01:38,912 - DEBUG - Response for delete_port : () 2025-10-31 15:01:38,912 - INFO - Deleting VN ctest-vn1-20108934 2025-10-31 15:01:39,184 - DEBUG - Response for deleting network () 2025-10-31 15:01:40,485 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 15:01:40,485 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:29] 2025-10-31 15:01:40,485 - INFO - -------------------------------------------------------------------------------- 2025-10-31 15:01:41,299 - INFO - Deleted project: ctest-TestPorts-75350882, ID : 3f69a082-cc6b-4ecd-9915-7c266779c788