2025-11-05 08:16:20,270 - INFO - Domain Default found not creating 2025-11-05 08:16:20,412 - INFO - Project ctest-TestPorts-08741403 not found, creating it 2025-11-05 08:16:20,874 - INFO - Created Project:ctest-TestPorts-08741403, ID : 77a087de-fd42-45de-9c13-e0b411e0836b 2025-11-05 08:16:22,327 - INFO - ================================================================================ 2025-11-05 08:16:22,327 - INFO - STARTING TEST : test_ports_bindings 2025-11-05 08:16:22,327 - 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-11-05 08:16:22,583 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with 2025-11-05 08:16:22,583 - INFO - Initial checks done. Running the testcase now 2025-11-05 08:16:22,583 - INFO - 2025-11-05 08:16:23,148 - DEBUG - Response for create_network : {'network': {'id': 'd9246bb4-64a6-46f5-9876-7c1de7ed8fb9', 'name': 'ctest-vn-55309701', 'tenant_id': '77a087defd4245de9c13e0b411e0836b', 'project_id': '77a087defd4245de9c13e0b411e0836b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08741403', 'ctest-vn-55309701'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:16:23,315 - DEBUG - Response for create_subnet : {'subnet': {'id': '72a9e601-6e6f-428b-ad77-72555c0954bf', 'name': '', 'tenant_id': '77a087defd4245de9c13e0b411e0836b', 'network_id': 'd9246bb4-64a6-46f5-9876-7c1de7ed8fb9', 'ip_version': 4, 'cidr': '188.222.82.128/26', 'allocation_pools': [{'start': '188.222.82.130', 'end': '188.222.82.190'}], 'gateway_ip': '188.222.82.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.222.82.130', 'tags': [], 'project_id': '77a087defd4245de9c13e0b411e0836b'}} 2025-11-05 08:16:23,332 - INFO - Created VN ctest-vn-55309701 2025-11-05 08:16:23,382 - DEBUG - VN ctest-vn-55309701 UUID is d9246bb4-64a6-46f5-9876-7c1de7ed8fb9 2025-11-05 08:16:23,488 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-08741403', 'ctest-vmi-20211775']} 2025-11-05 08:16:23,757 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-20211775', 'id': '9e1bd6ee-9408-418e-8dcd-3a39ef06f916', 'tenant_id': '77a087defd4245de9c13e0b411e0836b', 'network_id': 'd9246bb4-64a6-46f5-9876-7c1de7ed8fb9', 'mac_address': '02:9e:1b:d6:ee:94', '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': '188.222.82.131', 'subnet_id': '72a9e601-6e6f-428b-ad77-72555c0954bf'}], 'security_groups': ['21301208-7b71-4edd-95bd-a2930ba5cc33'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '77a087defd4245de9c13e0b411e0836b'}} 2025-11-05 08:16:23,757 - DEBUG - Created port 9e1bd6ee-9408-418e-8dcd-3a39ef06f916 2025-11-05 08:16:23,862 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/9e1bd6ee-9408-418e-8dcd-3a39ef06f916 2025-11-05 08:16:24,153 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/9e1bd6ee-9408-418e-8dcd-3a39ef06f916 2025-11-05 08:16:24,192 - INFO - VMI 9e1bd6ee-9408-418e-8dcd-3a39ef06f916 verification in API Server passed 2025-11-05 08:16:24,286 - DEBUG - Response for delete_port : () 2025-11-05 08:16:24,286 - INFO - Deleted port 9e1bd6ee-9408-418e-8dcd-3a39ef06f916 2025-11-05 08:16:24,286 - INFO - Deleting VN ctest-vn-55309701 2025-11-05 08:16:24,386 - DEBUG - Response for deleting network () 2025-11-05 08:16:24,644 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 08:16:24,644 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-05 08:16:24,644 - INFO - -------------------------------------------------------------------------------- 2025-11-05 08:16:24,647 - INFO - ================================================================================ 2025-11-05 08:16:24,647 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-05 08:16:24,647 - 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-11-05 08:16:24,940 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with 2025-11-05 08:16:24,940 - INFO - Initial checks done. Running the testcase now 2025-11-05 08:16:24,940 - INFO - 2025-11-05 08:16:25,112 - DEBUG - Response for create_network : {'network': {'id': '3778fb2a-bc9a-4b57-a90a-07b1293664fb', 'name': 'ctest-vn1-93326077', 'tenant_id': '77a087defd4245de9c13e0b411e0836b', 'project_id': '77a087defd4245de9c13e0b411e0836b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08741403', 'ctest-vn1-93326077'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:16:25,315 - DEBUG - Response for create_subnet : {'subnet': {'id': '0acf3122-e8f5-4cb2-ae7e-8535738a5de9', 'name': '', 'tenant_id': '77a087defd4245de9c13e0b411e0836b', 'network_id': '3778fb2a-bc9a-4b57-a90a-07b1293664fb', 'ip_version': 4, 'cidr': '142.95.238.128/26', 'allocation_pools': [{'start': '142.95.238.130', 'end': '142.95.238.190'}], 'gateway_ip': '142.95.238.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.95.238.130', 'tags': [], 'project_id': '77a087defd4245de9c13e0b411e0836b'}} 2025-11-05 08:16:25,477 - DEBUG - Response for create_subnet : {'subnet': {'id': '5169b802-f73e-4e35-b71f-248444068e2c', 'name': '', 'tenant_id': '77a087defd4245de9c13e0b411e0836b', 'network_id': '3778fb2a-bc9a-4b57-a90a-07b1293664fb', 'ip_version': 4, 'cidr': '177.204.79.192/26', 'allocation_pools': [{'start': '177.204.79.194', 'end': '177.204.79.254'}], 'gateway_ip': '177.204.79.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.204.79.194', 'tags': [], 'project_id': '77a087defd4245de9c13e0b411e0836b'}} 2025-11-05 08:16:25,495 - INFO - Created VN ctest-vn1-93326077 2025-11-05 08:16:25,546 - DEBUG - VN ctest-vn1-93326077 UUID is 3778fb2a-bc9a-4b57-a90a-07b1293664fb 2025-11-05 08:16:25,843 - DEBUG - Response for create_port : {'port': {'name': '6e0a68ba-fed2-4002-b9a6-633de67dd883', 'id': '6e0a68ba-fed2-4002-b9a6-633de67dd883', 'tenant_id': '77a087defd4245de9c13e0b411e0836b', 'network_id': '3778fb2a-bc9a-4b57-a90a-07b1293664fb', 'mac_address': '02:6e:0a:68:ba:fe', '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': '142.95.238.133', 'subnet_id': '0acf3122-e8f5-4cb2-ae7e-8535738a5de9'}], 'security_groups': ['21301208-7b71-4edd-95bd-a2930ba5cc33'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '77a087defd4245de9c13e0b411e0836b'}} 2025-11-05 08:16:26,012 - DEBUG - Response for create_port : {'port': {'name': 'dfc2fb18-719d-494b-8e0d-c0be9b01dc2f', 'id': 'dfc2fb18-719d-494b-8e0d-c0be9b01dc2f', 'tenant_id': '77a087defd4245de9c13e0b411e0836b', 'network_id': '3778fb2a-bc9a-4b57-a90a-07b1293664fb', 'mac_address': '02:df:c2:fb:18:71', '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': '177.204.79.197', 'subnet_id': '5169b802-f73e-4e35-b71f-248444068e2c'}], 'security_groups': ['21301208-7b71-4edd-95bd-a2930ba5cc33'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '77a087defd4245de9c13e0b411e0836b'}} 2025-11-05 08:16:26,070 - DEBUG - Services list from nova: [, , ] 2025-11-05 08:16:26,407 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4632-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4632-1) 2025-11-05 08:16:26,797 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4632-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4632-1) 2025-11-05 08:16:26,798 - INFO - Waiting for VM ctest-vn1-vm1-75178460 to be up.. 2025-11-05 08:16:26,834 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 08:16:31,909 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:16:31,909 - INFO - VM name : ctest-vn1-vm1-75178460 2025-11-05 08:16:31,982 - DEBUG - VM ctest-vn1-vm1-75178460 ID is 41f72745-949c-4ada-bdee-5a6dd1c1f3fc 2025-11-05 08:16:32,002 - DEBUG - VM ctest-vn1-vm1-75178460 launched on Node cn-jenkins-deploy-platform-ansible-os-4632-1 2025-11-05 08:16:32,077 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/41f72745-949c-4ada-bdee-5a6dd1c1f3fc 2025-11-05 08:16:32,086 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/6e0a68ba-fed2-4002-b9a6-633de67dd883 2025-11-05 08:16:35,344 - 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') 2025-11-05 08:16:35,344 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-75178460 failed! 2025-11-05 08:16:35,398 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08741403:ctest-vn1-93326077 is 142.95.238.129 and allocation pool is NOT set 2025-11-05 08:16:35,398 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08741403:ctest-vn1-93326077 is 177.204.79.193 and allocation pool is NOT set 2025-11-05 08:16:37,466 - 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=4.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.64 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 = 3.643/4.286/4.929/0.643 ms') 2025-11-05 08:16:37,466 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-75178460 passed 2025-11-05 08:16:37,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:16:37,618 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-75178460, IP 142.95.238.133, Port 22 2025-11-05 08:16:37,677 - 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-11-05 08:16:37,757 - DEBUG - VM ctest-vn1-vm1-75178460 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-05 08:16:42,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:16:42,759 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-75178460, IP 142.95.238.133, Port 22 2025-11-05 08:16:42,913 - DEBUG - VM ctest-vn1-vm1-75178460 is ready for SSH connections 2025-11-05 08:16:42,913 - INFO - Waiting for VM ctest-vn1-vm2-38096065 to be up.. 2025-11-05 08:16:42,993 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:16:42,993 - INFO - VM name : ctest-vn1-vm2-38096065 2025-11-05 08:16:43,066 - DEBUG - VM ctest-vn1-vm2-38096065 ID is 5e2fc3f5-49d0-4538-9bb9-12f1b3d82a77 2025-11-05 08:16:43,066 - DEBUG - VM ctest-vn1-vm2-38096065 launched on Node cn-jenkins-deploy-platform-ansible-os-4632-1 2025-11-05 08:16:43,137 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/5e2fc3f5-49d0-4538-9bb9-12f1b3d82a77 2025-11-05 08:16:43,146 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/dfc2fb18-719d-494b-8e0d-c0be9b01dc2f 2025-11-05 08:16:44,378 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.345 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.345/2.026/3.707/1.681 ms') 2025-11-05 08:16:44,378 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-38096065 passed 2025-11-05 08:16:44,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:16:44,526 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-38096065, IP 177.204.79.197, Port 22 2025-11-05 08:16:44,682 - DEBUG - VM ctest-vn1-vm2-38096065 is ready for SSH connections 2025-11-05 08:16:44,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:16:44,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:16:44,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:16:44,682 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.95.238.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-11-05 08:16:44,682 - DEBUG - ping -s 56 -c 3 -W 1 142.95.238.133 2025-11-05 08:16:47,333 - DEBUG - PING 142.95.238.133 (142.95.238.133): 56 data bytes 64 bytes from 142.95.238.133: seq=0 ttl=63 time=3.686 ms 64 bytes from 142.95.238.133: seq=1 ttl=63 time=0.857 ms 64 bytes from 142.95.238.133: seq=2 ttl=63 time=1.122 ms --- 142.95.238.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.857/1.888/3.686 ms 2025-11-05 08:16:47,333 - INFO - Ping to IP 142.95.238.133 from VM ctest-vn1-vm2-38096065 passed 2025-11-05 08:16:47,334 - INFO - Detaching port dfc2fb18-719d-494b-8e0d-c0be9b01dc2f from VM ctest-vn1-vm2-38096065 2025-11-05 08:16:47,388 - INFO - Deleting VM ctest-vn1-vm2-38096065 2025-11-05 08:16:47,480 - INFO - Detaching port 6e0a68ba-fed2-4002-b9a6-633de67dd883 from VM ctest-vn1-vm1-75178460 2025-11-05 08:16:47,513 - INFO - Deleting VM ctest-vn1-vm1-75178460 2025-11-05 08:16:47,748 - DEBUG - Response for delete_port : () 2025-11-05 08:16:47,901 - DEBUG - Response for delete_port : () 2025-11-05 08:16:47,901 - INFO - Deleting VN ctest-vn1-93326077 2025-11-05 08:16:48,041 - DEBUG - Response for deleting network () 2025-11-05 08:16:48,295 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 08:16:48,295 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-11-05 08:16:48,295 - INFO - -------------------------------------------------------------------------------- 2025-11-05 08:16:48,974 - INFO - Deleted project: ctest-TestPorts-08741403, ID : 77a087de-fd42-45de-9c13-e0b411e0836b