2025-11-06 08:48:35,238 - INFO - Domain Default found not creating 2025-11-06 08:48:35,393 - INFO - Project ctest-TestPorts-59641388 not found, creating it 2025-11-06 08:48:35,857 - INFO - Created Project:ctest-TestPorts-59641388, ID : 45579468-288f-4be8-8c83-305a27392b44 2025-11-06 08:48:37,422 - INFO - ================================================================================ 2025-11-06 08:48:37,422 - INFO - STARTING TEST : test_ports_bindings 2025-11-06 08:48:37,422 - 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-06 08:48:37,682 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-11-06 08:48:37,682 - INFO - Initial checks done. Running the testcase now 2025-11-06 08:48:37,682 - INFO - 2025-11-06 08:48:38,283 - DEBUG - Response for create_network : {'network': {'id': 'f420dc98-a6e9-4127-981c-50496c7906da', 'name': 'ctest-vn-43445479', 'tenant_id': '45579468288f4be88c83305a27392b44', 'project_id': '45579468288f4be88c83305a27392b44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-59641388', 'ctest-vn-43445479'], 'port_security_enabled': True, 'description': ''}} 2025-11-06 08:48:38,499 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f5e02609-cb43-4e8f-bacd-bdd17e2ddb56', 'name': '', 'tenant_id': '45579468288f4be88c83305a27392b44', 'network_id': 'f420dc98-a6e9-4127-981c-50496c7906da', 'ip_version': 4, 'cidr': '101.51.77.64/26', 'allocation_pools': [{'start': '101.51.77.66', 'end': '101.51.77.126'}], 'gateway_ip': '101.51.77.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.51.77.66', 'tags': [], 'project_id': '45579468288f4be88c83305a27392b44'}} 2025-11-06 08:48:38,518 - INFO - Created VN ctest-vn-43445479 2025-11-06 08:48:38,573 - DEBUG - VN ctest-vn-43445479 UUID is f420dc98-a6e9-4127-981c-50496c7906da 2025-11-06 08:48:38,683 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-59641388', 'ctest-vmi-18722314']} 2025-11-06 08:48:38,913 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-18722314', 'id': '26fad7bf-cb65-4db4-b203-357eddd8a7b3', 'tenant_id': '45579468288f4be88c83305a27392b44', 'network_id': 'f420dc98-a6e9-4127-981c-50496c7906da', 'mac_address': '02:26:fa:d7:bf:cb', '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': '101.51.77.67', 'subnet_id': 'f5e02609-cb43-4e8f-bacd-bdd17e2ddb56'}], 'security_groups': ['e73bd8f6-5019-4414-b2dd-5cf5ee6c76e7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '45579468288f4be88c83305a27392b44'}} 2025-11-06 08:48:38,913 - DEBUG - Created port 26fad7bf-cb65-4db4-b203-357eddd8a7b3 2025-11-06 08:48:39,020 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/26fad7bf-cb65-4db4-b203-357eddd8a7b3 2025-11-06 08:48:39,354 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/26fad7bf-cb65-4db4-b203-357eddd8a7b3 2025-11-06 08:48:39,386 - INFO - VMI 26fad7bf-cb65-4db4-b203-357eddd8a7b3 verification in API Server passed 2025-11-06 08:48:39,472 - DEBUG - Response for delete_port : () 2025-11-06 08:48:39,472 - INFO - Deleted port 26fad7bf-cb65-4db4-b203-357eddd8a7b3 2025-11-06 08:48:39,472 - INFO - Deleting VN ctest-vn-43445479 2025-11-06 08:48:39,576 - DEBUG - Response for deleting network () 2025-11-06 08:48:39,830 - DEBUG - No XMPP flaps were noticed during the test
2025-11-06 08:48:39,830 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-06 08:48:39,830 - INFO - -------------------------------------------------------------------------------- 2025-11-06 08:48:39,833 - INFO - ================================================================================ 2025-11-06 08:48:39,833 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-06 08:48:39,833 - 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-06 08:48:40,118 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-11-06 08:48:40,118 - INFO - Initial checks done. Running the testcase now 2025-11-06 08:48:40,118 - INFO - 2025-11-06 08:48:40,302 - DEBUG - Response for create_network : {'network': {'id': '500770ac-3e26-452e-bc95-b711c3ed1bca', 'name': 'ctest-vn1-92687916', 'tenant_id': '45579468288f4be88c83305a27392b44', 'project_id': '45579468288f4be88c83305a27392b44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-59641388', 'ctest-vn1-92687916'], 'port_security_enabled': True, 'description': ''}} 2025-11-06 08:48:40,504 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c93148f0-6072-4f31-88b0-91faafdc6c91', 'name': '', 'tenant_id': '45579468288f4be88c83305a27392b44', 'network_id': '500770ac-3e26-452e-bc95-b711c3ed1bca', 'ip_version': 4, 'cidr': '106.193.234.0/26', 'allocation_pools': [{'start': '106.193.234.2', 'end': '106.193.234.62'}], 'gateway_ip': '106.193.234.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.193.234.2', 'tags': [], 'project_id': '45579468288f4be88c83305a27392b44'}} 2025-11-06 08:48:40,724 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e788d875-5bd0-4627-8632-4d40794999a5', 'name': '', 'tenant_id': '45579468288f4be88c83305a27392b44', 'network_id': '500770ac-3e26-452e-bc95-b711c3ed1bca', 'ip_version': 4, 'cidr': '89.23.166.128/26', 'allocation_pools': [{'start': '89.23.166.130', 'end': '89.23.166.190'}], 'gateway_ip': '89.23.166.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.23.166.130', 'tags': [], 'project_id': '45579468288f4be88c83305a27392b44'}} 2025-11-06 08:48:40,744 - INFO - Created VN ctest-vn1-92687916 2025-11-06 08:48:40,796 - DEBUG - VN ctest-vn1-92687916 UUID is 500770ac-3e26-452e-bc95-b711c3ed1bca 2025-11-06 08:48:41,110 - DEBUG - Response for create_port : {'port': {'name': '22011146-90eb-41bb-8f56-5adf1bc60eeb', 'id': '22011146-90eb-41bb-8f56-5adf1bc60eeb', 'tenant_id': '45579468288f4be88c83305a27392b44', 'network_id': '500770ac-3e26-452e-bc95-b711c3ed1bca', 'mac_address': '02:22:01:11:46:90', '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': '106.193.234.5', 'subnet_id': 'c93148f0-6072-4f31-88b0-91faafdc6c91'}], 'security_groups': ['e73bd8f6-5019-4414-b2dd-5cf5ee6c76e7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '45579468288f4be88c83305a27392b44'}} 2025-11-06 08:48:41,278 - DEBUG - Response for create_port : {'port': {'name': 'cc24a6ae-4d94-4b8d-b766-88abbe03d605', 'id': 'cc24a6ae-4d94-4b8d-b766-88abbe03d605', 'tenant_id': '45579468288f4be88c83305a27392b44', 'network_id': '500770ac-3e26-452e-bc95-b711c3ed1bca', 'mac_address': '02:cc:24:a6:ae:4d', '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': '89.23.166.133', 'subnet_id': 'e788d875-5bd0-4627-8632-4d40794999a5'}], 'security_groups': ['e73bd8f6-5019-4414-b2dd-5cf5ee6c76e7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '45579468288f4be88c83305a27392b44'}} 2025-11-06 08:48:41,338 - DEBUG - Services list from nova: [, , ] 2025-11-06 08:48:41,661 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4666-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4666-1) 2025-11-06 08:48:42,047 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4666-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4666-1) 2025-11-06 08:48:42,048 - INFO - Waiting for VM ctest-vn1-vm1-35345803 to be up.. 2025-11-06 08:48:42,098 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-06 08:48:47,177 - DEBUG - VM is in ACTIVE state now 2025-11-06 08:48:47,178 - INFO - VM name : ctest-vn1-vm1-35345803 2025-11-06 08:48:47,253 - DEBUG - VM ctest-vn1-vm1-35345803 ID is e32b57a1-62c2-4167-a328-ce754cd952f7 2025-11-06 08:48:47,273 - DEBUG - VM ctest-vn1-vm1-35345803 launched on Node cn-jenkins-deploy-platform-ansible-os-4666-1 2025-11-06 08:48:47,349 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e32b57a1-62c2-4167-a328-ce754cd952f7 2025-11-06 08:48:47,359 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/22011146-90eb-41bb-8f56-5adf1bc60eeb 2025-11-06 08:48:50,612 - 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 1017ms') 2025-11-06 08:48:50,612 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-35345803 failed! 2025-11-06 08:48:50,669 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-59641388:ctest-vn1-92687916 is 106.193.234.1 and allocation pool is NOT set 2025-11-06 08:48:50,669 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-59641388:ctest-vn1-92687916 is 89.23.166.129 and allocation pool is NOT set 2025-11-06 08:48:54,739 - 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=2 ttl=63 time=13.4 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 13.429/13.429/13.429/0.000 ms') 2025-11-06 08:48:54,740 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-35345803 passed 2025-11-06 08:48:54,889 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 08:48:54,889 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-35345803, IP 106.193.234.5, Port 22 2025-11-06 08:48:54,945 - 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-06 08:48:55,032 - DEBUG - VM ctest-vn1-vm1-35345803 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-06 08:49:00,033 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 08:49:00,033 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-35345803, IP 106.193.234.5, Port 22 2025-11-06 08:49:00,206 - DEBUG - VM ctest-vn1-vm1-35345803 is ready for SSH connections 2025-11-06 08:49:00,206 - INFO - Waiting for VM ctest-vn1-vm2-05037578 to be up.. 2025-11-06 08:49:00,291 - DEBUG - VM is in ACTIVE state now 2025-11-06 08:49:00,291 - INFO - VM name : ctest-vn1-vm2-05037578 2025-11-06 08:49:00,363 - DEBUG - VM ctest-vn1-vm2-05037578 ID is b54ade51-8188-47f6-a7da-4cfc601357ea 2025-11-06 08:49:00,363 - DEBUG - VM ctest-vn1-vm2-05037578 launched on Node cn-jenkins-deploy-platform-ansible-os-4666-1 2025-11-06 08:49:00,437 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b54ade51-8188-47f6-a7da-4cfc601357ea 2025-11-06 08:49:00,445 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cc24a6ae-4d94-4b8d-b766-88abbe03d605 2025-11-06 08:49:01,695 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.460 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.460/1.761/3.062/1.301 ms') 2025-11-06 08:49:01,695 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-05037578 passed 2025-11-06 08:49:01,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 08:49:01,849 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-05037578, IP 89.23.166.133, Port 22 2025-11-06 08:49:02,004 - DEBUG - VM ctest-vn1-vm2-05037578 is ready for SSH connections 2025-11-06 08:49:02,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 08:49:02,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 08:49:02,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 08:49:02,005 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.193.234.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-06 08:49:02,005 - DEBUG - ping -s 56 -c 3 -W 1 106.193.234.5 2025-11-06 08:49:04,699 - DEBUG - PING 106.193.234.5 (106.193.234.5): 56 data bytes 64 bytes from 106.193.234.5: seq=0 ttl=63 time=3.737 ms 64 bytes from 106.193.234.5: seq=1 ttl=63 time=1.032 ms 64 bytes from 106.193.234.5: seq=2 ttl=63 time=0.775 ms --- 106.193.234.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.775/1.848/3.737 ms 2025-11-06 08:49:04,699 - INFO - Ping to IP 106.193.234.5 from VM ctest-vn1-vm2-05037578 passed 2025-11-06 08:49:04,699 - INFO - Detaching port cc24a6ae-4d94-4b8d-b766-88abbe03d605 from VM ctest-vn1-vm2-05037578 2025-11-06 08:49:04,753 - INFO - Deleting VM ctest-vn1-vm2-05037578 2025-11-06 08:49:04,831 - INFO - Detaching port 22011146-90eb-41bb-8f56-5adf1bc60eeb from VM ctest-vn1-vm1-35345803 2025-11-06 08:49:04,870 - INFO - Deleting VM ctest-vn1-vm1-35345803 2025-11-06 08:49:05,101 - DEBUG - Response for delete_port : () 2025-11-06 08:49:05,250 - DEBUG - Response for delete_port : () 2025-11-06 08:49:05,250 - INFO - Deleting VN ctest-vn1-92687916 2025-11-06 08:49:05,395 - DEBUG - Response for deleting network () 2025-11-06 08:49:05,651 - DEBUG - No XMPP flaps were noticed during the test
2025-11-06 08:49:05,651 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-11-06 08:49:05,651 - INFO - -------------------------------------------------------------------------------- 2025-11-06 08:49:06,391 - INFO - Deleted project: ctest-TestPorts-59641388, ID : 45579468-288f-4be8-8c83-305a27392b44