2025-10-31 00:19:16,212 - INFO - Domain Default found not creating 2025-10-31 00:19:16,379 - INFO - Project ctest-TestPorts-05861982 not found, creating it 2025-10-31 00:19:16,842 - INFO - Created Project:ctest-TestPorts-05861982, ID : d917bd6e-8b96-4d0d-9f18-0f34b12d6445 2025-10-31 00:19:18,437 - INFO - ================================================================================ 2025-10-31 00:19:18,437 - INFO - STARTING TEST : test_ports_bindings 2025-10-31 00:19:18,437 - 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-10-31 00:19:18,695 - DEBUG - Nothing to compare xmpp stats {'10.0.0.245': {'10.20.0.14': '0'}} with 2025-10-31 00:19:18,695 - INFO - Initial checks done. Running the testcase now 2025-10-31 00:19:18,695 - INFO - 2025-10-31 00:19:19,305 - DEBUG - Response for create_network : {'network': {'id': 'a1096b83-951f-4818-9c49-c3d2dc1c926a', 'name': 'ctest-vn-50437726', 'tenant_id': 'd917bd6e8b964d0d9f180f34b12d6445', 'project_id': 'd917bd6e8b964d0d9f180f34b12d6445', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-05861982', 'ctest-vn-50437726'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:19:19,469 - DEBUG - Response for create_subnet : {'subnet': {'id': '5760fe61-c811-4948-8455-17958b106d24', 'name': '', 'tenant_id': 'd917bd6e8b964d0d9f180f34b12d6445', 'network_id': 'a1096b83-951f-4818-9c49-c3d2dc1c926a', 'ip_version': 4, 'cidr': '206.131.62.192/26', 'allocation_pools': [{'start': '206.131.62.194', 'end': '206.131.62.254'}], 'gateway_ip': '206.131.62.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.131.62.194', 'tags': [], 'project_id': 'd917bd6e8b964d0d9f180f34b12d6445'}} 2025-10-31 00:19:19,487 - INFO - Created VN ctest-vn-50437726 2025-10-31 00:19:19,537 - DEBUG - VN ctest-vn-50437726 UUID is a1096b83-951f-4818-9c49-c3d2dc1c926a 2025-10-31 00:19:19,645 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-05861982', 'ctest-vmi-80250720']} 2025-10-31 00:19:19,883 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-80250720', 'id': '28253bc7-0b09-4f5b-befe-910344d7f600', 'tenant_id': 'd917bd6e8b964d0d9f180f34b12d6445', 'network_id': 'a1096b83-951f-4818-9c49-c3d2dc1c926a', 'mac_address': '02:28:25:3b:c7:0b', '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': '206.131.62.195', 'subnet_id': '5760fe61-c811-4948-8455-17958b106d24'}], 'security_groups': ['02e55a1d-8316-4a40-b458-6c2e9c7908fb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd917bd6e8b964d0d9f180f34b12d6445'}} 2025-10-31 00:19:19,883 - DEBUG - Created port 28253bc7-0b09-4f5b-befe-910344d7f600 2025-10-31 00:19:19,989 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine-interface/28253bc7-0b09-4f5b-befe-910344d7f600 2025-10-31 00:19:20,337 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine-interface/28253bc7-0b09-4f5b-befe-910344d7f600 2025-10-31 00:19:20,369 - INFO - VMI 28253bc7-0b09-4f5b-befe-910344d7f600 verification in API Server passed 2025-10-31 00:19:20,477 - DEBUG - Response for delete_port : () 2025-10-31 00:19:20,478 - INFO - Deleted port 28253bc7-0b09-4f5b-befe-910344d7f600 2025-10-31 00:19:20,478 - INFO - Deleting VN ctest-vn-50437726 2025-10-31 00:19:20,586 - DEBUG - Response for deleting network () 2025-10-31 00:19:20,839 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 00:19:20,839 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-31 00:19:20,839 - INFO - -------------------------------------------------------------------------------- 2025-10-31 00:19:20,842 - INFO - ================================================================================ 2025-10-31 00:19:20,842 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-31 00:19:20,842 - 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-10-31 00:19:21,127 - DEBUG - Nothing to compare xmpp stats {'10.0.0.245': {'10.20.0.14': '0'}} with 2025-10-31 00:19:21,127 - INFO - Initial checks done. Running the testcase now 2025-10-31 00:19:21,127 - INFO - 2025-10-31 00:19:21,303 - DEBUG - Response for create_network : {'network': {'id': 'e5e6938c-737b-4e0a-875d-10f6a40e8bf6', 'name': 'ctest-vn1-88642565', 'tenant_id': 'd917bd6e8b964d0d9f180f34b12d6445', 'project_id': 'd917bd6e8b964d0d9f180f34b12d6445', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-05861982', 'ctest-vn1-88642565'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:19:21,526 - DEBUG - Response for create_subnet : {'subnet': {'id': '04c7e8a4-1924-4738-bfb3-7f27de0c9561', 'name': '', 'tenant_id': 'd917bd6e8b964d0d9f180f34b12d6445', 'network_id': 'e5e6938c-737b-4e0a-875d-10f6a40e8bf6', 'ip_version': 4, 'cidr': '1.124.252.128/26', 'allocation_pools': [{'start': '1.124.252.130', 'end': '1.124.252.190'}], 'gateway_ip': '1.124.252.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.124.252.130', 'tags': [], 'project_id': 'd917bd6e8b964d0d9f180f34b12d6445'}} 2025-10-31 00:19:21,719 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e028352b-202d-4198-95c3-9a0982efc56b', 'name': '', 'tenant_id': 'd917bd6e8b964d0d9f180f34b12d6445', 'network_id': 'e5e6938c-737b-4e0a-875d-10f6a40e8bf6', 'ip_version': 4, 'cidr': '124.100.26.128/26', 'allocation_pools': [{'start': '124.100.26.130', 'end': '124.100.26.190'}], 'gateway_ip': '124.100.26.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.100.26.130', 'tags': [], 'project_id': 'd917bd6e8b964d0d9f180f34b12d6445'}} 2025-10-31 00:19:21,738 - INFO - Created VN ctest-vn1-88642565 2025-10-31 00:19:21,791 - DEBUG - VN ctest-vn1-88642565 UUID is e5e6938c-737b-4e0a-875d-10f6a40e8bf6 2025-10-31 00:19:22,096 - DEBUG - Response for create_port : {'port': {'name': '6c17b728-8fe4-4a66-a5ea-626a05650306', 'id': '6c17b728-8fe4-4a66-a5ea-626a05650306', 'tenant_id': 'd917bd6e8b964d0d9f180f34b12d6445', 'network_id': 'e5e6938c-737b-4e0a-875d-10f6a40e8bf6', 'mac_address': '02:6c:17:b7:28:8f', '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': '1.124.252.133', 'subnet_id': '04c7e8a4-1924-4738-bfb3-7f27de0c9561'}], 'security_groups': ['02e55a1d-8316-4a40-b458-6c2e9c7908fb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd917bd6e8b964d0d9f180f34b12d6445'}} 2025-10-31 00:19:22,262 - DEBUG - Response for create_port : {'port': {'name': '3b933c57-4f3c-4069-b2d2-e8d7f91831e8', 'id': '3b933c57-4f3c-4069-b2d2-e8d7f91831e8', 'tenant_id': 'd917bd6e8b964d0d9f180f34b12d6445', 'network_id': 'e5e6938c-737b-4e0a-875d-10f6a40e8bf6', 'mac_address': '02:3b:93:3c:57:4f', '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': '124.100.26.133', 'subnet_id': 'e028352b-202d-4198-95c3-9a0982efc56b'}], 'security_groups': ['02e55a1d-8316-4a40-b458-6c2e9c7908fb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd917bd6e8b964d0d9f180f34b12d6445'}} 2025-10-31 00:19:22,332 - DEBUG - Services list from nova: [, , ] 2025-10-31 00:19:22,675 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4563-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4563-1) 2025-10-31 00:19:23,109 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4563-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4563-1) 2025-10-31 00:19:23,109 - INFO - Waiting for VM ctest-vn1-vm1-35744685 to be up.. 2025-10-31 00:19:23,153 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 00:19:28,238 - DEBUG - VM is in ACTIVE state now 2025-10-31 00:19:28,239 - INFO - VM name : ctest-vn1-vm1-35744685 2025-10-31 00:19:28,313 - DEBUG - VM ctest-vn1-vm1-35744685 ID is 6a307375-ee88-4435-9cf0-ac46bd53adba 2025-10-31 00:19:28,332 - DEBUG - VM ctest-vn1-vm1-35744685 launched on Node cn-jenkins-deploy-platform-ansible-os-4563-1 2025-10-31 00:19:28,404 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine/6a307375-ee88-4435-9cf0-ac46bd53adba 2025-10-31 00:19:28,412 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine-interface/6c17b728-8fe4-4a66-a5ea-626a05650306 2025-10-31 00:19:31,660 - 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 1006ms') 2025-10-31 00:19:31,661 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-35744685 failed! 2025-10-31 00:19:31,725 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-05861982:ctest-vn1-88642565 is 1.124.252.129 and allocation pool is NOT set 2025-10-31 00:19:31,725 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-05861982:ctest-vn1-88642565 is 124.100.26.129 and allocation pool is NOT set 2025-10-31 00:19:35,815 - 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.0 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1030ms\r\nrtt min/avg/max/mdev = 13.048/13.048/13.048/0.000 ms') 2025-10-31 00:19:35,815 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-35744685 passed 2025-10-31 00:19:35,969 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:19:35,969 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-35744685, IP 1.124.252.133, Port 22 2025-10-31 00:19:36,143 - DEBUG - VM ctest-vn1-vm1-35744685 is ready for SSH connections 2025-10-31 00:19:36,144 - INFO - Waiting for VM ctest-vn1-vm2-95196442 to be up.. 2025-10-31 00:19:36,225 - DEBUG - VM is in ACTIVE state now 2025-10-31 00:19:36,225 - INFO - VM name : ctest-vn1-vm2-95196442 2025-10-31 00:19:36,307 - DEBUG - VM ctest-vn1-vm2-95196442 ID is 831fd3f5-db00-496a-98e8-05d90b752744 2025-10-31 00:19:36,307 - DEBUG - VM ctest-vn1-vm2-95196442 launched on Node cn-jenkins-deploy-platform-ansible-os-4563-1 2025-10-31 00:19:36,393 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine/831fd3f5-db00-496a-98e8-05d90b752744 2025-10-31 00:19:36,404 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine-interface/3b933c57-4f3c-4069-b2d2-e8d7f91831e8 2025-10-31 00:19:37,655 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.23 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 = 3.228/3.361/3.494/0.133 ms') 2025-10-31 00:19:37,656 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-95196442 passed 2025-10-31 00:19:37,809 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:19:37,810 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-95196442, IP 124.100.26.133, Port 22 2025-10-31 00:19:37,983 - DEBUG - VM ctest-vn1-vm2-95196442 is ready for SSH connections 2025-10-31 00:19:37,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:19:37,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:19:37,984 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:19:37,984 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.124.252.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.245, gateway password: c0ntrail123 2025-10-31 00:19:37,984 - DEBUG - ping -s 56 -c 3 -W 1 1.124.252.133 2025-10-31 00:19:40,698 - DEBUG - PING 1.124.252.133 (1.124.252.133): 56 data bytes 64 bytes from 1.124.252.133: seq=0 ttl=63 time=4.306 ms 64 bytes from 1.124.252.133: seq=1 ttl=63 time=0.892 ms 64 bytes from 1.124.252.133: seq=2 ttl=63 time=0.975 ms --- 1.124.252.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.892/2.057/4.306 ms 2025-10-31 00:19:40,698 - INFO - Ping to IP 1.124.252.133 from VM ctest-vn1-vm2-95196442 passed 2025-10-31 00:19:40,698 - INFO - Detaching port 3b933c57-4f3c-4069-b2d2-e8d7f91831e8 from VM ctest-vn1-vm2-95196442 2025-10-31 00:19:40,753 - INFO - Deleting VM ctest-vn1-vm2-95196442 2025-10-31 00:19:40,830 - INFO - Detaching port 6c17b728-8fe4-4a66-a5ea-626a05650306 from VM ctest-vn1-vm1-35744685 2025-10-31 00:19:40,865 - INFO - Deleting VM ctest-vn1-vm1-35744685 2025-10-31 00:19:41,094 - DEBUG - Response for delete_port : () 2025-10-31 00:19:41,263 - DEBUG - Response for delete_port : () 2025-10-31 00:19:41,264 - INFO - Deleting VN ctest-vn1-88642565 2025-10-31 00:19:41,408 - DEBUG - Response for deleting network () 2025-10-31 00:19:41,663 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 00:19:41,663 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-10-31 00:19:41,663 - INFO - -------------------------------------------------------------------------------- 2025-10-31 00:19:42,414 - INFO - Deleted project: ctest-TestPorts-05861982, ID : d917bd6e-8b96-4d0d-9f18-0f34b12d6445