2025-08-14 14:12:14,710 - INFO - Domain Default found not creating 2025-08-14 14:12:14,875 - INFO - Project ctest-TestPorts-98878080 not found, creating it 2025-08-14 14:12:15,331 - INFO - Created Project:ctest-TestPorts-98878080, ID : 3814c681-14b9-4b72-99e4-7e846109f929 2025-08-14 14:12:16,728 - INFO - ================================================================================ 2025-08-14 14:12:16,728 - INFO - STARTING TEST : test_ports_bindings 2025-08-14 14:12:16,728 - 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-08-14 14:12:16,992 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-14 14:12:16,992 - INFO - Initial checks done. Running the testcase now 2025-08-14 14:12:16,992 - INFO - 2025-08-14 14:12:17,546 - DEBUG - Response for create_network : {'network': {'id': '6b7d7f16-7401-4ad3-9bbf-3f447ed04f87', 'name': 'ctest-vn-13357990', 'tenant_id': '3814c68114b94b7299e47e846109f929', 'project_id': '3814c68114b94b7299e47e846109f929', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-98878080', 'ctest-vn-13357990'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 14:12:17,751 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd8296de-e429-404b-b11d-acde277b9310', 'name': '', 'tenant_id': '3814c68114b94b7299e47e846109f929', 'network_id': '6b7d7f16-7401-4ad3-9bbf-3f447ed04f87', 'ip_version': 4, 'cidr': '104.13.156.128/26', 'allocation_pools': [{'start': '104.13.156.130', 'end': '104.13.156.190'}], 'gateway_ip': '104.13.156.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.13.156.130', 'tags': [], 'project_id': '3814c68114b94b7299e47e846109f929'}} 2025-08-14 14:12:17,770 - INFO - Created VN ctest-vn-13357990 2025-08-14 14:12:17,822 - DEBUG - VN ctest-vn-13357990 UUID is 6b7d7f16-7401-4ad3-9bbf-3f447ed04f87 2025-08-14 14:12:17,937 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-98878080', 'ctest-vmi-28482568']} 2025-08-14 14:12:18,211 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-28482568', 'id': '2e9ae3e3-02bc-401a-9024-eb390e8f90b6', 'tenant_id': '3814c68114b94b7299e47e846109f929', 'network_id': '6b7d7f16-7401-4ad3-9bbf-3f447ed04f87', 'mac_address': '02:2e:9a:e3:e3:02', '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': '104.13.156.131', 'subnet_id': 'fd8296de-e429-404b-b11d-acde277b9310'}], 'security_groups': ['7956fe7e-75ea-4472-9ab7-7f089af557e2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3814c68114b94b7299e47e846109f929'}} 2025-08-14 14:12:18,211 - DEBUG - Created port 2e9ae3e3-02bc-401a-9024-eb390e8f90b6 2025-08-14 14:12:18,322 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2e9ae3e3-02bc-401a-9024-eb390e8f90b6 2025-08-14 14:12:18,614 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2e9ae3e3-02bc-401a-9024-eb390e8f90b6 2025-08-14 14:12:18,645 - INFO - VMI 2e9ae3e3-02bc-401a-9024-eb390e8f90b6 verification in API Server passed 2025-08-14 14:12:18,725 - DEBUG - Response for delete_port : () 2025-08-14 14:12:18,725 - INFO - Deleted port 2e9ae3e3-02bc-401a-9024-eb390e8f90b6 2025-08-14 14:12:18,725 - INFO - Deleting VN ctest-vn-13357990 2025-08-14 14:12:18,817 - DEBUG - Response for deleting network () 2025-08-14 14:12:19,076 - DEBUG - No XMPP flaps were noticed during the test 2025-08-14 14:12:19,076 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-08-14 14:12:19,076 - INFO - -------------------------------------------------------------------------------- 2025-08-14 14:12:19,079 - INFO - ================================================================================ 2025-08-14 14:12:19,079 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-14 14:12:19,079 - 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-08-14 14:12:19,367 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-14 14:12:19,367 - INFO - Initial checks done. Running the testcase now 2025-08-14 14:12:19,367 - INFO - 2025-08-14 14:12:19,571 - DEBUG - Response for create_network : {'network': {'id': 'f84a2ded-f1dc-4864-bca4-e067489dc131', 'name': 'ctest-vn1-14135247', 'tenant_id': '3814c68114b94b7299e47e846109f929', 'project_id': '3814c68114b94b7299e47e846109f929', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-98878080', 'ctest-vn1-14135247'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 14:12:19,753 - DEBUG - Response for create_subnet : {'subnet': {'id': '5b992da6-2676-4f40-b454-f2bd1d9f004e', 'name': '', 'tenant_id': '3814c68114b94b7299e47e846109f929', 'network_id': 'f84a2ded-f1dc-4864-bca4-e067489dc131', 'ip_version': 4, 'cidr': '172.234.147.192/26', 'allocation_pools': [{'start': '172.234.147.194', 'end': '172.234.147.254'}], 'gateway_ip': '172.234.147.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.234.147.194', 'tags': [], 'project_id': '3814c68114b94b7299e47e846109f929'}} 2025-08-14 14:12:19,893 - DEBUG - Response for create_subnet : {'subnet': {'id': '7a768845-684c-4dfc-a206-35770549a154', 'name': '', 'tenant_id': '3814c68114b94b7299e47e846109f929', 'network_id': 'f84a2ded-f1dc-4864-bca4-e067489dc131', 'ip_version': 4, 'cidr': '149.236.246.192/26', 'allocation_pools': [{'start': '149.236.246.194', 'end': '149.236.246.254'}], 'gateway_ip': '149.236.246.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.236.246.194', 'tags': [], 'project_id': '3814c68114b94b7299e47e846109f929'}} 2025-08-14 14:12:19,912 - INFO - Created VN ctest-vn1-14135247 2025-08-14 14:12:19,966 - DEBUG - VN ctest-vn1-14135247 UUID is f84a2ded-f1dc-4864-bca4-e067489dc131 2025-08-14 14:12:20,267 - DEBUG - Response for create_port : {'port': {'name': 'cccc6e04-a736-4825-8bee-01f661cfa9f5', 'id': 'cccc6e04-a736-4825-8bee-01f661cfa9f5', 'tenant_id': '3814c68114b94b7299e47e846109f929', 'network_id': 'f84a2ded-f1dc-4864-bca4-e067489dc131', 'mac_address': '02:cc:cc:6e:04:a7', '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': '172.234.147.197', 'subnet_id': '5b992da6-2676-4f40-b454-f2bd1d9f004e'}], 'security_groups': ['7956fe7e-75ea-4472-9ab7-7f089af557e2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3814c68114b94b7299e47e846109f929'}} 2025-08-14 14:12:20,459 - DEBUG - Response for create_port : {'port': {'name': '2f4806e6-92df-4978-acf9-08766113732f', 'id': '2f4806e6-92df-4978-acf9-08766113732f', 'tenant_id': '3814c68114b94b7299e47e846109f929', 'network_id': 'f84a2ded-f1dc-4864-bca4-e067489dc131', 'mac_address': '02:2f:48:06:e6:92', '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': '149.236.246.197', 'subnet_id': '7a768845-684c-4dfc-a206-35770549a154'}], 'security_groups': ['7956fe7e-75ea-4472-9ab7-7f089af557e2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3814c68114b94b7299e47e846109f929'}} 2025-08-14 14:12:20,518 - DEBUG - Services list from nova: [, , ] 2025-08-14 14:12:20,845 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3855-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3855-1) 2025-08-14 14:12:21,228 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3855-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3855-1) 2025-08-14 14:12:21,228 - INFO - Waiting for VM ctest-vn1-vm1-00074842 to be up.. 2025-08-14 14:12:21,262 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-14 14:12:26,335 - DEBUG - VM is in ACTIVE state now 2025-08-14 14:12:26,335 - INFO - VM name : ctest-vn1-vm1-00074842 2025-08-14 14:12:26,405 - DEBUG - VM ctest-vn1-vm1-00074842 ID is 68baa663-79e8-4273-a7f1-d2bc79aeef10 2025-08-14 14:12:26,423 - DEBUG - VM ctest-vn1-vm1-00074842 launched on Node cn-jenkins-deploy-platform-ansible-os-3855-1 2025-08-14 14:12:26,491 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/68baa663-79e8-4273-a7f1-d2bc79aeef10 2025-08-14 14:12:26,499 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cccc6e04-a736-4825-8bee-01f661cfa9f5 2025-08-14 14:12:29,764 - 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 1023ms') 2025-08-14 14:12:29,764 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00074842 failed! 2025-08-14 14:12:29,882 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-98878080:ctest-vn1-14135247 is 172.234.147.193 and allocation pool is NOT set 2025-08-14 14:12:29,883 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-98878080:ctest-vn1-14135247 is 149.236.246.193 and allocation pool is NOT set 2025-08-14 14:12:31,951 - 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.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.701 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.701/2.096/3.491/1.395 ms') 2025-08-14 14:12:31,952 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00074842 passed 2025-08-14 14:12:32,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:12:32,106 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-00074842, IP 172.234.147.197, Port 22 2025-08-14 14:12:32,173 - 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-08-14 14:12:32,262 - DEBUG - VM ctest-vn1-vm1-00074842 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-14 14:12:37,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:12:37,263 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-00074842, IP 172.234.147.197, Port 22 2025-08-14 14:12:37,422 - DEBUG - VM ctest-vn1-vm1-00074842 is ready for SSH connections 2025-08-14 14:12:37,422 - INFO - Waiting for VM ctest-vn1-vm2-40975819 to be up.. 2025-08-14 14:12:37,492 - DEBUG - VM is in ACTIVE state now 2025-08-14 14:12:37,492 - INFO - VM name : ctest-vn1-vm2-40975819 2025-08-14 14:12:37,558 - DEBUG - VM ctest-vn1-vm2-40975819 ID is 3966a10a-25cc-4e94-b643-9b2be62c734a 2025-08-14 14:12:37,558 - DEBUG - VM ctest-vn1-vm2-40975819 launched on Node cn-jenkins-deploy-platform-ansible-os-3855-1 2025-08-14 14:12:37,624 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3966a10a-25cc-4e94-b643-9b2be62c734a 2025-08-14 14:12:37,633 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2f4806e6-92df-4978-acf9-08766113732f 2025-08-14 14:12:38,875 - 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=2.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.325 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.325/1.554/2.783/1.229 ms') 2025-08-14 14:12:38,875 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-40975819 passed 2025-08-14 14:12:39,022 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:12:39,022 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-40975819, IP 149.236.246.197, Port 22 2025-08-14 14:12:39,174 - DEBUG - VM ctest-vn1-vm2-40975819 is ready for SSH connections 2025-08-14 14:12:39,174 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:12:39,174 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:12:39,174 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:12:39,174 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.234.147.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-14 14:12:39,174 - DEBUG - ping -s 56 -c 3 -W 1 172.234.147.197 2025-08-14 14:12:42,109 - DEBUG - PING 172.234.147.197 (172.234.147.197): 56 data bytes 64 bytes from 172.234.147.197: seq=0 ttl=63 time=3.864 ms 64 bytes from 172.234.147.197: seq=1 ttl=63 time=0.936 ms 64 bytes from 172.234.147.197: seq=2 ttl=63 time=0.766 ms --- 172.234.147.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.766/1.855/3.864 ms 2025-08-14 14:12:42,109 - INFO - Ping to IP 172.234.147.197 from VM ctest-vn1-vm2-40975819 passed 2025-08-14 14:12:42,109 - INFO - Detaching port 2f4806e6-92df-4978-acf9-08766113732f from VM ctest-vn1-vm2-40975819 2025-08-14 14:12:42,169 - INFO - Deleting VM ctest-vn1-vm2-40975819 2025-08-14 14:12:42,245 - INFO - Detaching port cccc6e04-a736-4825-8bee-01f661cfa9f5 from VM ctest-vn1-vm1-00074842 2025-08-14 14:12:42,278 - INFO - Deleting VM ctest-vn1-vm1-00074842 2025-08-14 14:12:42,509 - DEBUG - Response for delete_port : () 2025-08-14 14:12:42,663 - DEBUG - Response for delete_port : () 2025-08-14 14:12:42,663 - INFO - Deleting VN ctest-vn1-14135247 2025-08-14 14:12:42,792 - DEBUG - Response for deleting network () 2025-08-14 14:12:43,048 - DEBUG - No XMPP flaps were noticed during the test 2025-08-14 14:12:43,048 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-08-14 14:12:43,048 - INFO - -------------------------------------------------------------------------------- 2025-08-14 14:12:43,725 - INFO - Deleted project: ctest-TestPorts-98878080, ID : 3814c681-14b9-4b72-99e4-7e846109f929