2025-11-21 17:05:30,080 - INFO - Domain Default found not creating 2025-11-21 17:05:30,472 - INFO - Project ctest-TestPorts-62751396 not found, creating it 2025-11-21 17:05:31,167 - INFO - Created Project:ctest-TestPorts-62751396, ID : 2cbbf6b0-a6ed-45f2-9db2-0d121d969080 2025-11-21 17:05:33,423 - INFO - ================================================================================ 2025-11-21 17:05:33,424 - INFO - STARTING TEST : test_ports_bindings 2025-11-21 17:05:33,424 - 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-21 17:05:33,756 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.18': '0'}} with 2025-11-21 17:05:33,756 - INFO - Initial checks done. Running the testcase now 2025-11-21 17:05:33,756 - INFO - 2025-11-21 17:05:34,491 - DEBUG - Response for create_network : {'network': {'id': '92fc808b-04da-4bf3-9e60-c50112d27c62', 'name': 'ctest-vn-70268378', 'tenant_id': '2cbbf6b0a6ed45f29db20d121d969080', 'project_id': '2cbbf6b0a6ed45f29db20d121d969080', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-62751396', 'ctest-vn-70268378'], 'port_security_enabled': True, 'description': ''}} 2025-11-21 17:05:34,669 - DEBUG - Response for create_subnet : {'subnet': {'id': '78cfdbf8-1749-4099-a244-f54a153d76df', 'name': '', 'tenant_id': '2cbbf6b0a6ed45f29db20d121d969080', 'network_id': '92fc808b-04da-4bf3-9e60-c50112d27c62', 'ip_version': 4, 'cidr': '43.204.224.0/26', 'allocation_pools': [{'start': '43.204.224.2', 'end': '43.204.224.62'}], 'gateway_ip': '43.204.224.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.204.224.2', 'tags': [], 'project_id': '2cbbf6b0a6ed45f29db20d121d969080'}} 2025-11-21 17:05:34,691 - INFO - Created VN ctest-vn-70268378 2025-11-21 17:05:34,749 - DEBUG - VN ctest-vn-70268378 UUID is 92fc808b-04da-4bf3-9e60-c50112d27c62 2025-11-21 17:05:34,905 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-62751396', 'ctest-vmi-75030470']} 2025-11-21 17:05:35,312 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-75030470', 'id': 'f13d95cc-432d-453d-bbaf-5edf5d77aba1', 'tenant_id': '2cbbf6b0a6ed45f29db20d121d969080', 'network_id': '92fc808b-04da-4bf3-9e60-c50112d27c62', 'mac_address': '02:f1:3d:95:cc:43', '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': '43.204.224.3', 'subnet_id': '78cfdbf8-1749-4099-a244-f54a153d76df'}], 'security_groups': ['488c74f4-3423-49a2-96c7-a165979dd5be'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2cbbf6b0a6ed45f29db20d121d969080'}} 2025-11-21 17:05:35,313 - DEBUG - Created port f13d95cc-432d-453d-bbaf-5edf5d77aba1 2025-11-21 17:05:35,445 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/f13d95cc-432d-453d-bbaf-5edf5d77aba1 2025-11-21 17:05:35,811 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/f13d95cc-432d-453d-bbaf-5edf5d77aba1 2025-11-21 17:05:35,867 - INFO - VMI f13d95cc-432d-453d-bbaf-5edf5d77aba1 verification in API Server passed 2025-11-21 17:05:36,015 - DEBUG - Response for delete_port : () 2025-11-21 17:05:36,015 - INFO - Deleted port f13d95cc-432d-453d-bbaf-5edf5d77aba1 2025-11-21 17:05:36,015 - INFO - Deleting VN ctest-vn-70268378 2025-11-21 17:05:36,154 - DEBUG - Response for deleting network () 2025-11-21 17:05:36,460 - DEBUG - No XMPP flaps were noticed during the test 2025-11-21 17:05:36,460 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-11-21 17:05:36,461 - INFO - -------------------------------------------------------------------------------- 2025-11-21 17:05:36,465 - INFO - ================================================================================ 2025-11-21 17:05:36,465 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-21 17:05:36,465 - 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-21 17:05:36,792 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.18': '0'}} with 2025-11-21 17:05:36,792 - INFO - Initial checks done. Running the testcase now 2025-11-21 17:05:36,792 - INFO - 2025-11-21 17:05:37,115 - DEBUG - Response for create_network : {'network': {'id': '752724ad-b892-46f0-b356-249a21a596a2', 'name': 'ctest-vn1-01439838', 'tenant_id': '2cbbf6b0a6ed45f29db20d121d969080', 'project_id': '2cbbf6b0a6ed45f29db20d121d969080', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-62751396', 'ctest-vn1-01439838'], 'port_security_enabled': True, 'description': ''}} 2025-11-21 17:05:37,362 - DEBUG - Response for create_subnet : {'subnet': {'id': '90e89c23-0182-40af-ac97-7a1516a31a49', 'name': '', 'tenant_id': '2cbbf6b0a6ed45f29db20d121d969080', 'network_id': '752724ad-b892-46f0-b356-249a21a596a2', 'ip_version': 4, 'cidr': '193.65.43.128/26', 'allocation_pools': [{'start': '193.65.43.130', 'end': '193.65.43.190'}], 'gateway_ip': '193.65.43.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.65.43.130', 'tags': [], 'project_id': '2cbbf6b0a6ed45f29db20d121d969080'}} 2025-11-21 17:05:37,577 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d88b390-9cb3-474a-ae3b-2705079130ed', 'name': '', 'tenant_id': '2cbbf6b0a6ed45f29db20d121d969080', 'network_id': '752724ad-b892-46f0-b356-249a21a596a2', 'ip_version': 4, 'cidr': '105.244.130.64/26', 'allocation_pools': [{'start': '105.244.130.66', 'end': '105.244.130.126'}], 'gateway_ip': '105.244.130.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.244.130.66', 'tags': [], 'project_id': '2cbbf6b0a6ed45f29db20d121d969080'}} 2025-11-21 17:05:37,607 - INFO - Created VN ctest-vn1-01439838 2025-11-21 17:05:37,672 - DEBUG - VN ctest-vn1-01439838 UUID is 752724ad-b892-46f0-b356-249a21a596a2 2025-11-21 17:05:38,090 - DEBUG - Response for create_port : {'port': {'name': '8790ff60-2131-4a3d-b630-3378faae03b8', 'id': '8790ff60-2131-4a3d-b630-3378faae03b8', 'tenant_id': '2cbbf6b0a6ed45f29db20d121d969080', 'network_id': '752724ad-b892-46f0-b356-249a21a596a2', 'mac_address': '02:87:90:ff:60:21', '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': '193.65.43.133', 'subnet_id': '90e89c23-0182-40af-ac97-7a1516a31a49'}], 'security_groups': ['488c74f4-3423-49a2-96c7-a165979dd5be'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2cbbf6b0a6ed45f29db20d121d969080'}} 2025-11-21 17:05:38,303 - DEBUG - Response for create_port : {'port': {'name': 'cee70612-8748-4fc8-a81d-6776683c4c44', 'id': 'cee70612-8748-4fc8-a81d-6776683c4c44', 'tenant_id': '2cbbf6b0a6ed45f29db20d121d969080', 'network_id': '752724ad-b892-46f0-b356-249a21a596a2', 'mac_address': '02:ce:e7:06:12:87', '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': '105.244.130.69', 'subnet_id': '2d88b390-9cb3-474a-ae3b-2705079130ed'}], 'security_groups': ['488c74f4-3423-49a2-96c7-a165979dd5be'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2cbbf6b0a6ed45f29db20d121d969080'}} 2025-11-21 17:05:38,368 - DEBUG - Services list from nova: [, , ] 2025-11-21 17:05:39,052 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4788-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4788-1) 2025-11-21 17:05:39,746 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4788-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4788-1) 2025-11-21 17:05:39,746 - INFO - Waiting for VM ctest-vn1-vm1-52323339 to be up.. 2025-11-21 17:05:39,847 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-21 17:05:44,992 - DEBUG - VM is in ACTIVE state now 2025-11-21 17:05:44,992 - INFO - VM name : ctest-vn1-vm1-52323339 2025-11-21 17:05:45,137 - DEBUG - VM ctest-vn1-vm1-52323339 ID is cdb20b0a-e828-4e59-8b43-277c8f8e5e04 2025-11-21 17:05:45,176 - DEBUG - VM ctest-vn1-vm1-52323339 launched on Node cn-jenkins-deploy-platform-ansible-os-4788-1 2025-11-21 17:05:45,315 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/cdb20b0a-e828-4e59-8b43-277c8f8e5e04 2025-11-21 17:05:45,334 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/8790ff60-2131-4a3d-b630-3378faae03b8 2025-11-21 17:05:48,662 - 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 1013ms') 2025-11-21 17:05:48,662 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52323339 failed! 2025-11-21 17:05:48,717 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-62751396:ctest-vn1-01439838 is 193.65.43.129 and allocation pool is NOT set 2025-11-21 17:05:48,717 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-62751396:ctest-vn1-01439838 is 105.244.130.65 and allocation pool is NOT set 2025-11-21 17:05:52,818 - 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=11.1 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1025ms\r\nrtt min/avg/max/mdev = 11.125/11.125/11.125/0.000 ms') 2025-11-21 17:05:52,819 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52323339 passed 2025-11-21 17:05:52,997 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:05:52,997 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52323339, IP 193.65.43.133, Port 22 2025-11-21 17:05:53,078 - 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-21 17:05:53,287 - DEBUG - VM ctest-vn1-vm1-52323339 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-21 17:05:58,289 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:05:58,290 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52323339, IP 193.65.43.133, Port 22 2025-11-21 17:05:58,486 - DEBUG - VM ctest-vn1-vm1-52323339 is ready for SSH connections 2025-11-21 17:05:58,487 - INFO - Waiting for VM ctest-vn1-vm2-74307369 to be up.. 2025-11-21 17:05:58,636 - DEBUG - VM is in ACTIVE state now 2025-11-21 17:05:58,636 - INFO - VM name : ctest-vn1-vm2-74307369 2025-11-21 17:05:58,742 - DEBUG - VM ctest-vn1-vm2-74307369 ID is ffec8dc7-96f0-40d5-ae18-ba2b9b97772f 2025-11-21 17:05:58,742 - DEBUG - VM ctest-vn1-vm2-74307369 launched on Node cn-jenkins-deploy-platform-ansible-os-4788-1 2025-11-21 17:05:58,876 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/ffec8dc7-96f0-40d5-ae18-ba2b9b97772f 2025-11-21 17:05:58,893 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/cee70612-8748-4fc8-a81d-6776683c4c44 2025-11-21 17:06:00,187 - 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=8.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.647 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.647/4.622/8.598/3.975 ms') 2025-11-21 17:06:00,187 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-74307369 passed 2025-11-21 17:06:00,357 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:06:00,358 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-74307369, IP 105.244.130.69, Port 22 2025-11-21 17:06:00,550 - DEBUG - VM ctest-vn1-vm2-74307369 is ready for SSH connections 2025-11-21 17:06:00,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:06:00,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:06:00,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:06:00,551 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.65.43.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-11-21 17:06:00,551 - DEBUG - ping -s 56 -c 3 -W 1 193.65.43.133 2025-11-21 17:06:03,482 - DEBUG - PING 193.65.43.133 (193.65.43.133): 56 data bytes 64 bytes from 193.65.43.133: seq=0 ttl=63 time=4.480 ms 64 bytes from 193.65.43.133: seq=1 ttl=63 time=1.124 ms 64 bytes from 193.65.43.133: seq=2 ttl=63 time=1.403 ms --- 193.65.43.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.124/2.335/4.480 ms 2025-11-21 17:06:03,482 - INFO - Ping to IP 193.65.43.133 from VM ctest-vn1-vm2-74307369 passed 2025-11-21 17:06:03,482 - INFO - Detaching port cee70612-8748-4fc8-a81d-6776683c4c44 from VM ctest-vn1-vm2-74307369 2025-11-21 17:06:03,608 - INFO - Deleting VM ctest-vn1-vm2-74307369 2025-11-21 17:06:03,734 - INFO - Detaching port 8790ff60-2131-4a3d-b630-3378faae03b8 from VM ctest-vn1-vm1-52323339 2025-11-21 17:06:03,792 - INFO - Deleting VM ctest-vn1-vm1-52323339 2025-11-21 17:06:04,178 - DEBUG - Response for delete_port : () 2025-11-21 17:06:04,408 - DEBUG - Response for delete_port : () 2025-11-21 17:06:04,408 - INFO - Deleting VN ctest-vn1-01439838 2025-11-21 17:06:04,544 - DEBUG - Response for deleting network () 2025-11-21 17:06:04,820 - DEBUG - No XMPP flaps were noticed during the test 2025-11-21 17:06:04,821 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:28] 2025-11-21 17:06:04,821 - INFO - -------------------------------------------------------------------------------- 2025-11-21 17:06:05,754 - INFO - Deleted project: ctest-TestPorts-62751396, ID : 2cbbf6b0-a6ed-45f2-9db2-0d121d969080