2025-09-13 06:08:18,614 - INFO - Domain Default found not creating 2025-09-13 06:08:18,765 - INFO - Project ctest-TestPorts-14394701 not found, creating it 2025-09-13 06:08:19,234 - INFO - Created Project:ctest-TestPorts-14394701, ID : 871db3d2-047f-4f1c-b786-a750a5a17cbd 2025-09-13 06:08:20,692 - INFO - ================================================================================ 2025-09-13 06:08:20,692 - INFO - STARTING TEST : test_ports_bindings 2025-09-13 06:08:20,693 - 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-09-13 06:08:20,952 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-13 06:08:20,952 - INFO - Initial checks done. Running the testcase now 2025-09-13 06:08:20,952 - INFO - 2025-09-13 06:08:22,062 - DEBUG - Response for create_network : {'network': {'id': '9c9f938c-01c7-45df-bca7-3645a23d8597', 'name': 'ctest-vn-73948380', 'tenant_id': '871db3d2047f4f1cb786a750a5a17cbd', 'project_id': '871db3d2047f4f1cb786a750a5a17cbd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-14394701', 'ctest-vn-73948380'], 'port_security_enabled': True, 'description': ''}} 2025-09-13 06:08:22,244 - DEBUG - Response for create_subnet : {'subnet': {'id': '01a7e77e-2bd5-4393-a66c-2550f1fa1c58', 'name': '', 'tenant_id': '871db3d2047f4f1cb786a750a5a17cbd', 'network_id': '9c9f938c-01c7-45df-bca7-3645a23d8597', 'ip_version': 4, 'cidr': '163.64.134.128/26', 'allocation_pools': [{'start': '163.64.134.130', 'end': '163.64.134.190'}], 'gateway_ip': '163.64.134.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.64.134.130', 'tags': [], 'project_id': '871db3d2047f4f1cb786a750a5a17cbd'}} 2025-09-13 06:08:22,263 - INFO - Created VN ctest-vn-73948380 2025-09-13 06:08:22,315 - DEBUG - VN ctest-vn-73948380 UUID is 9c9f938c-01c7-45df-bca7-3645a23d8597 2025-09-13 06:08:22,554 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-14394701', 'ctest-vmi-63917852']} 2025-09-13 06:08:22,791 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-63917852', 'id': '8a9538fd-1505-4e35-9995-162ffc78846c', 'tenant_id': '871db3d2047f4f1cb786a750a5a17cbd', 'network_id': '9c9f938c-01c7-45df-bca7-3645a23d8597', 'mac_address': '02:8a:95:38:fd:15', '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': '163.64.134.131', 'subnet_id': '01a7e77e-2bd5-4393-a66c-2550f1fa1c58'}], 'security_groups': ['53fe72a5-6c90-4da6-bc26-fa40bcfcbaaf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '871db3d2047f4f1cb786a750a5a17cbd'}} 2025-09-13 06:08:22,791 - DEBUG - Created port 8a9538fd-1505-4e35-9995-162ffc78846c 2025-09-13 06:08:22,895 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8a9538fd-1505-4e35-9995-162ffc78846c 2025-09-13 06:08:23,202 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8a9538fd-1505-4e35-9995-162ffc78846c 2025-09-13 06:08:23,234 - INFO - VMI 8a9538fd-1505-4e35-9995-162ffc78846c verification in API Server passed 2025-09-13 06:08:23,327 - DEBUG - Response for delete_port : () 2025-09-13 06:08:23,327 - INFO - Deleted port 8a9538fd-1505-4e35-9995-162ffc78846c 2025-09-13 06:08:23,327 - INFO - Deleting VN ctest-vn-73948380 2025-09-13 06:08:23,441 - DEBUG - Response for deleting network () 2025-09-13 06:08:23,700 - DEBUG - No XMPP flaps were noticed during the test
2025-09-13 06:08:23,700 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-13 06:08:23,700 - INFO - -------------------------------------------------------------------------------- 2025-09-13 06:08:23,702 - INFO - ================================================================================ 2025-09-13 06:08:23,703 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-13 06:08:23,703 - 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-09-13 06:08:23,988 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-13 06:08:23,988 - INFO - Initial checks done. Running the testcase now 2025-09-13 06:08:23,988 - INFO - 2025-09-13 06:08:24,168 - DEBUG - Response for create_network : {'network': {'id': 'd91f6cd0-6431-4418-ba4b-c621effbd8fe', 'name': 'ctest-vn1-06785901', 'tenant_id': '871db3d2047f4f1cb786a750a5a17cbd', 'project_id': '871db3d2047f4f1cb786a750a5a17cbd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-14394701', 'ctest-vn1-06785901'], 'port_security_enabled': True, 'description': ''}} 2025-09-13 06:08:24,366 - DEBUG - Response for create_subnet : {'subnet': {'id': '583d192d-53a4-4fb3-b59b-2f654b84bf18', 'name': '', 'tenant_id': '871db3d2047f4f1cb786a750a5a17cbd', 'network_id': 'd91f6cd0-6431-4418-ba4b-c621effbd8fe', 'ip_version': 4, 'cidr': '63.108.30.128/26', 'allocation_pools': [{'start': '63.108.30.130', 'end': '63.108.30.190'}], 'gateway_ip': '63.108.30.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.108.30.130', 'tags': [], 'project_id': '871db3d2047f4f1cb786a750a5a17cbd'}} 2025-09-13 06:08:24,589 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd710e50e-6f12-4c4e-9a80-e520aa46689c', 'name': '', 'tenant_id': '871db3d2047f4f1cb786a750a5a17cbd', 'network_id': 'd91f6cd0-6431-4418-ba4b-c621effbd8fe', 'ip_version': 4, 'cidr': '12.42.12.0/26', 'allocation_pools': [{'start': '12.42.12.2', 'end': '12.42.12.62'}], 'gateway_ip': '12.42.12.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.42.12.2', 'tags': [], 'project_id': '871db3d2047f4f1cb786a750a5a17cbd'}} 2025-09-13 06:08:24,609 - INFO - Created VN ctest-vn1-06785901 2025-09-13 06:08:24,667 - DEBUG - VN ctest-vn1-06785901 UUID is d91f6cd0-6431-4418-ba4b-c621effbd8fe 2025-09-13 06:08:24,982 - DEBUG - Response for create_port : {'port': {'name': 'fe043299-3da4-4d5d-8c1c-831882ab02a3', 'id': 'fe043299-3da4-4d5d-8c1c-831882ab02a3', 'tenant_id': '871db3d2047f4f1cb786a750a5a17cbd', 'network_id': 'd91f6cd0-6431-4418-ba4b-c621effbd8fe', 'mac_address': '02:fe:04:32:99:3d', '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': '63.108.30.133', 'subnet_id': '583d192d-53a4-4fb3-b59b-2f654b84bf18'}], 'security_groups': ['53fe72a5-6c90-4da6-bc26-fa40bcfcbaaf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '871db3d2047f4f1cb786a750a5a17cbd'}} 2025-09-13 06:08:25,158 - DEBUG - Response for create_port : {'port': {'name': 'a5242a31-e99a-4a7c-9831-03e54ea40059', 'id': 'a5242a31-e99a-4a7c-9831-03e54ea40059', 'tenant_id': '871db3d2047f4f1cb786a750a5a17cbd', 'network_id': 'd91f6cd0-6431-4418-ba4b-c621effbd8fe', 'mac_address': '02:a5:24:2a:31:e9', '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': '12.42.12.5', 'subnet_id': 'd710e50e-6f12-4c4e-9a80-e520aa46689c'}], 'security_groups': ['53fe72a5-6c90-4da6-bc26-fa40bcfcbaaf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '871db3d2047f4f1cb786a750a5a17cbd'}} 2025-09-13 06:08:25,223 - DEBUG - Services list from nova: [, , ] 2025-09-13 06:08:25,551 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4101-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4101-1) 2025-09-13 06:08:25,947 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4101-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4101-1) 2025-09-13 06:08:25,948 - INFO - Waiting for VM ctest-vn1-vm1-77004964 to be up.. 2025-09-13 06:08:25,986 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-13 06:08:31,073 - DEBUG - VM is in ACTIVE state now 2025-09-13 06:08:31,073 - INFO - VM name : ctest-vn1-vm1-77004964 2025-09-13 06:08:31,149 - DEBUG - VM ctest-vn1-vm1-77004964 ID is 7db7287b-7cee-456e-85d0-b07be731625f 2025-09-13 06:08:31,171 - DEBUG - VM ctest-vn1-vm1-77004964 launched on Node cn-jenkins-deploy-platform-ansible-os-4101-1 2025-09-13 06:08:31,246 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7db7287b-7cee-456e-85d0-b07be731625f 2025-09-13 06:08:31,255 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fe043299-3da4-4d5d-8c1c-831882ab02a3 2025-09-13 06:08:34,509 - 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-09-13 06:08:34,509 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77004964 failed! 2025-09-13 06:08:34,563 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-14394701:ctest-vn1-06785901 is 63.108.30.129 and allocation pool is NOT set 2025-09-13 06:08:34,563 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-14394701:ctest-vn1-06785901 is 12.42.12.1 and allocation pool is NOT set 2025-09-13 06:08:36,627 - 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=10.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.31 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.306/6.738/10.171/3.432 ms') 2025-09-13 06:08:36,627 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77004964 passed 2025-09-13 06:08:36,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 06:08:36,775 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-77004964, IP 63.108.30.133, Port 22 2025-09-13 06:08:36,945 - DEBUG - VM ctest-vn1-vm1-77004964 is ready for SSH connections 2025-09-13 06:08:36,945 - INFO - Waiting for VM ctest-vn1-vm2-59544090 to be up.. 2025-09-13 06:08:37,021 - DEBUG - VM is in ACTIVE state now 2025-09-13 06:08:37,021 - INFO - VM name : ctest-vn1-vm2-59544090 2025-09-13 06:08:37,096 - DEBUG - VM ctest-vn1-vm2-59544090 ID is ee8c0a40-80fb-4f60-bc22-011928ecc06f 2025-09-13 06:08:37,096 - DEBUG - VM ctest-vn1-vm2-59544090 launched on Node cn-jenkins-deploy-platform-ansible-os-4101-1 2025-09-13 06:08:37,174 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ee8c0a40-80fb-4f60-bc22-011928ecc06f 2025-09-13 06:08:37,183 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a5242a31-e99a-4a7c-9831-03e54ea40059 2025-09-13 06:08:38,424 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.423 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.423/2.145/3.868/1.722 ms') 2025-09-13 06:08:38,424 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-59544090 passed 2025-09-13 06:08:38,575 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 06:08:38,575 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-59544090, IP 12.42.12.5, Port 22 2025-09-13 06:08:38,734 - DEBUG - VM ctest-vn1-vm2-59544090 is ready for SSH connections 2025-09-13 06:08:38,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 06:08:38,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 06:08:38,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 06:08:38,735 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.108.30.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-13 06:08:38,735 - DEBUG - ping -s 56 -c 3 -W 1 63.108.30.133 2025-09-13 06:08:41,402 - DEBUG - PING 63.108.30.133 (63.108.30.133): 56 data bytes 64 bytes from 63.108.30.133: seq=0 ttl=63 time=4.130 ms 64 bytes from 63.108.30.133: seq=1 ttl=63 time=0.846 ms 64 bytes from 63.108.30.133: seq=2 ttl=63 time=0.999 ms --- 63.108.30.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.846/1.991/4.130 ms 2025-09-13 06:08:41,402 - INFO - Ping to IP 63.108.30.133 from VM ctest-vn1-vm2-59544090 passed 2025-09-13 06:08:41,402 - INFO - Detaching port a5242a31-e99a-4a7c-9831-03e54ea40059 from VM ctest-vn1-vm2-59544090 2025-09-13 06:08:41,462 - INFO - Deleting VM ctest-vn1-vm2-59544090 2025-09-13 06:08:41,545 - INFO - Detaching port fe043299-3da4-4d5d-8c1c-831882ab02a3 from VM ctest-vn1-vm1-77004964 2025-09-13 06:08:41,583 - INFO - Deleting VM ctest-vn1-vm1-77004964 2025-09-13 06:08:41,835 - DEBUG - Response for delete_port : () 2025-09-13 06:08:42,020 - DEBUG - Response for delete_port : () 2025-09-13 06:08:42,020 - INFO - Deleting VN ctest-vn1-06785901 2025-09-13 06:08:42,193 - DEBUG - Response for deleting network () 2025-09-13 06:08:42,448 - DEBUG - No XMPP flaps were noticed during the test
2025-09-13 06:08:42,448 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-09-13 06:08:42,448 - INFO - -------------------------------------------------------------------------------- 2025-09-13 06:08:43,132 - INFO - Deleted project: ctest-TestPorts-14394701, ID : 871db3d2-047f-4f1c-b786-a750a5a17cbd