2025-10-31 03:07:38,988 - INFO - Domain Default found not creating 2025-10-31 03:07:39,165 - INFO - Project ctest-TestPorts-74024425 not found, creating it 2025-10-31 03:07:39,597 - INFO - Created Project:ctest-TestPorts-74024425, ID : 3d98b824-09d2-40ab-9dbf-b33c72bb8181 2025-10-31 03:07:40,966 - INFO - ================================================================================ 2025-10-31 03:07:40,966 - INFO - STARTING TEST : test_ports_bindings 2025-10-31 03:07:40,966 - 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 03:07:41,226 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.254': '0'}} with 2025-10-31 03:07:41,226 - INFO - Initial checks done. Running the testcase now 2025-10-31 03:07:41,226 - INFO - 2025-10-31 03:07:41,760 - DEBUG - Response for create_network : {'network': {'id': '0f4197f9-e83c-48d0-ab98-38dec15fc9af', 'name': 'ctest-vn-10153849', 'tenant_id': '3d98b82409d240ab9dbfb33c72bb8181', 'project_id': '3d98b82409d240ab9dbfb33c72bb8181', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74024425', 'ctest-vn-10153849'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 03:07:41,955 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7877ae0-4690-4e69-9a1a-396e06b5a2bf', 'name': '', 'tenant_id': '3d98b82409d240ab9dbfb33c72bb8181', 'network_id': '0f4197f9-e83c-48d0-ab98-38dec15fc9af', 'ip_version': 4, 'cidr': '110.34.59.0/26', 'allocation_pools': [{'start': '110.34.59.2', 'end': '110.34.59.62'}], 'gateway_ip': '110.34.59.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.34.59.2', 'tags': [], 'project_id': '3d98b82409d240ab9dbfb33c72bb8181'}} 2025-10-31 03:07:41,974 - INFO - Created VN ctest-vn-10153849 2025-10-31 03:07:42,023 - DEBUG - VN ctest-vn-10153849 UUID is 0f4197f9-e83c-48d0-ab98-38dec15fc9af 2025-10-31 03:07:42,119 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-74024425', 'ctest-vmi-61552993']} 2025-10-31 03:07:42,378 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-61552993', 'id': 'cb8352bf-e018-40b1-8de3-6deb903389a5', 'tenant_id': '3d98b82409d240ab9dbfb33c72bb8181', 'network_id': '0f4197f9-e83c-48d0-ab98-38dec15fc9af', 'mac_address': '02:cb:83:52:bf:e0', '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': '110.34.59.3', 'subnet_id': 'f7877ae0-4690-4e69-9a1a-396e06b5a2bf'}], 'security_groups': ['396d4993-2145-42f5-8f73-f2536e87202c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3d98b82409d240ab9dbfb33c72bb8181'}} 2025-10-31 03:07:42,378 - DEBUG - Created port cb8352bf-e018-40b1-8de3-6deb903389a5 2025-10-31 03:07:42,479 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/cb8352bf-e018-40b1-8de3-6deb903389a5 2025-10-31 03:07:42,768 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/cb8352bf-e018-40b1-8de3-6deb903389a5 2025-10-31 03:07:43,074 - INFO - VMI cb8352bf-e018-40b1-8de3-6deb903389a5 verification in API Server passed 2025-10-31 03:07:43,165 - DEBUG - Response for delete_port : () 2025-10-31 03:07:43,165 - INFO - Deleted port cb8352bf-e018-40b1-8de3-6deb903389a5 2025-10-31 03:07:43,165 - INFO - Deleting VN ctest-vn-10153849 2025-10-31 03:07:43,248 - DEBUG - Response for deleting network () 2025-10-31 03:07:43,500 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 03:07:43,500 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-31 03:07:43,500 - INFO - -------------------------------------------------------------------------------- 2025-10-31 03:07:43,502 - INFO - ================================================================================ 2025-10-31 03:07:43,502 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-31 03:07:43,502 - 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 03:07:43,788 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.254': '0'}} with 2025-10-31 03:07:43,788 - INFO - Initial checks done. Running the testcase now 2025-10-31 03:07:43,788 - INFO - 2025-10-31 03:07:43,936 - DEBUG - Response for create_network : {'network': {'id': '6b70e4a7-998b-40d0-b265-601e454d096c', 'name': 'ctest-vn1-16694969', 'tenant_id': '3d98b82409d240ab9dbfb33c72bb8181', 'project_id': '3d98b82409d240ab9dbfb33c72bb8181', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74024425', 'ctest-vn1-16694969'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 03:07:44,165 - DEBUG - Response for create_subnet : {'subnet': {'id': '7f28d500-68cf-4b3a-966e-4723558b005a', 'name': '', 'tenant_id': '3d98b82409d240ab9dbfb33c72bb8181', 'network_id': '6b70e4a7-998b-40d0-b265-601e454d096c', 'ip_version': 4, 'cidr': '159.203.93.192/26', 'allocation_pools': [{'start': '159.203.93.194', 'end': '159.203.93.254'}], 'gateway_ip': '159.203.93.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.203.93.194', 'tags': [], 'project_id': '3d98b82409d240ab9dbfb33c72bb8181'}} 2025-10-31 03:07:44,297 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b61be56-8a30-42fc-a4ad-b17d3bbb45b2', 'name': '', 'tenant_id': '3d98b82409d240ab9dbfb33c72bb8181', 'network_id': '6b70e4a7-998b-40d0-b265-601e454d096c', 'ip_version': 4, 'cidr': '87.98.102.128/26', 'allocation_pools': [{'start': '87.98.102.130', 'end': '87.98.102.190'}], 'gateway_ip': '87.98.102.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.98.102.130', 'tags': [], 'project_id': '3d98b82409d240ab9dbfb33c72bb8181'}} 2025-10-31 03:07:44,313 - INFO - Created VN ctest-vn1-16694969 2025-10-31 03:07:44,363 - DEBUG - VN ctest-vn1-16694969 UUID is 6b70e4a7-998b-40d0-b265-601e454d096c 2025-10-31 03:07:44,641 - DEBUG - Response for create_port : {'port': {'name': '2699bc1d-8a5a-4c91-b1ad-20bc2fe48e38', 'id': '2699bc1d-8a5a-4c91-b1ad-20bc2fe48e38', 'tenant_id': '3d98b82409d240ab9dbfb33c72bb8181', 'network_id': '6b70e4a7-998b-40d0-b265-601e454d096c', 'mac_address': '02:26:99:bc:1d:8a', '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': '159.203.93.197', 'subnet_id': '7f28d500-68cf-4b3a-966e-4723558b005a'}], 'security_groups': ['396d4993-2145-42f5-8f73-f2536e87202c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3d98b82409d240ab9dbfb33c72bb8181'}} 2025-10-31 03:07:44,801 - DEBUG - Response for create_port : {'port': {'name': '1f97ded0-d927-486d-8dae-eae31f4dcf5f', 'id': '1f97ded0-d927-486d-8dae-eae31f4dcf5f', 'tenant_id': '3d98b82409d240ab9dbfb33c72bb8181', 'network_id': '6b70e4a7-998b-40d0-b265-601e454d096c', 'mac_address': '02:1f:97:de:d0:d9', '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': '87.98.102.133', 'subnet_id': '3b61be56-8a30-42fc-a4ad-b17d3bbb45b2'}], 'security_groups': ['396d4993-2145-42f5-8f73-f2536e87202c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3d98b82409d240ab9dbfb33c72bb8181'}} 2025-10-31 03:07:44,859 - DEBUG - Services list from nova: [, , ] 2025-10-31 03:07:45,162 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4568-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4568-1) 2025-10-31 03:07:45,553 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4568-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4568-1) 2025-10-31 03:07:45,553 - INFO - Waiting for VM ctest-vn1-vm1-23016837 to be up.. 2025-10-31 03:07:45,710 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 03:07:50,777 - DEBUG - VM is in ACTIVE state now 2025-10-31 03:07:50,777 - INFO - VM name : ctest-vn1-vm1-23016837 2025-10-31 03:07:50,843 - DEBUG - VM ctest-vn1-vm1-23016837 ID is d1e53f51-8410-4de9-8429-5cdbaccf769a 2025-10-31 03:07:50,859 - DEBUG - VM ctest-vn1-vm1-23016837 launched on Node cn-jenkins-deploy-platform-ansible-os-4568-1 2025-10-31 03:07:50,929 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/d1e53f51-8410-4de9-8429-5cdbaccf769a 2025-10-31 03:07:50,937 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/2699bc1d-8a5a-4c91-b1ad-20bc2fe48e38 2025-10-31 03:07:54,185 - 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-10-31 03:07:54,185 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23016837 failed! 2025-10-31 03:07:54,239 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74024425:ctest-vn1-16694969 is 159.203.93.193 and allocation pool is NOT set 2025-10-31 03:07:54,239 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74024425:ctest-vn1-16694969 is 87.98.102.129 and allocation pool is NOT set 2025-10-31 03:07:56,309 - 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.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.577 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.577/2.101/3.626/1.524 ms') 2025-10-31 03:07:56,309 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23016837 passed 2025-10-31 03:07:56,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 03:07:56,455 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-23016837, IP 159.203.93.197, Port 22 2025-10-31 03:07:56,610 - DEBUG - VM ctest-vn1-vm1-23016837 is ready for SSH connections 2025-10-31 03:07:56,610 - INFO - Waiting for VM ctest-vn1-vm2-22610309 to be up.. 2025-10-31 03:07:56,675 - DEBUG - VM is in ACTIVE state now 2025-10-31 03:07:56,675 - INFO - VM name : ctest-vn1-vm2-22610309 2025-10-31 03:07:56,736 - DEBUG - VM ctest-vn1-vm2-22610309 ID is dcaa1c41-350c-4b21-b70b-ed686ddf08bc 2025-10-31 03:07:56,736 - DEBUG - VM ctest-vn1-vm2-22610309 launched on Node cn-jenkins-deploy-platform-ansible-os-4568-1 2025-10-31 03:07:56,800 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/dcaa1c41-350c-4b21-b70b-ed686ddf08bc 2025-10-31 03:07:56,808 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/1f97ded0-d927-486d-8dae-eae31f4dcf5f 2025-10-31 03:07:58,043 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.411 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.411/1.476/2.542/1.065 ms') 2025-10-31 03:07:58,044 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-22610309 passed 2025-10-31 03:07:58,199 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 03:07:58,199 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-22610309, IP 87.98.102.133, Port 22 2025-10-31 03:07:58,358 - DEBUG - VM ctest-vn1-vm2-22610309 is ready for SSH connections 2025-10-31 03:07:58,358 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 03:07:58,358 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 03:07:58,358 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 03:07:58,359 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.203.93.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-10-31 03:07:58,359 - DEBUG - ping -s 56 -c 3 -W 1 159.203.93.197 2025-10-31 03:08:01,013 - DEBUG - PING 159.203.93.197 (159.203.93.197): 56 data bytes 64 bytes from 159.203.93.197: seq=0 ttl=63 time=3.286 ms 64 bytes from 159.203.93.197: seq=1 ttl=63 time=1.130 ms 64 bytes from 159.203.93.197: seq=2 ttl=63 time=0.781 ms --- 159.203.93.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.781/1.732/3.286 ms 2025-10-31 03:08:01,013 - INFO - Ping to IP 159.203.93.197 from VM ctest-vn1-vm2-22610309 passed 2025-10-31 03:08:01,013 - INFO - Detaching port 1f97ded0-d927-486d-8dae-eae31f4dcf5f from VM ctest-vn1-vm2-22610309 2025-10-31 03:08:01,060 - INFO - Deleting VM ctest-vn1-vm2-22610309 2025-10-31 03:08:01,158 - INFO - Detaching port 2699bc1d-8a5a-4c91-b1ad-20bc2fe48e38 from VM ctest-vn1-vm1-23016837 2025-10-31 03:08:01,195 - INFO - Deleting VM ctest-vn1-vm1-23016837 2025-10-31 03:08:01,402 - DEBUG - Response for delete_port : () 2025-10-31 03:08:01,556 - DEBUG - Response for delete_port : () 2025-10-31 03:08:01,556 - INFO - Deleting VN ctest-vn1-16694969 2025-10-31 03:08:01,684 - DEBUG - Response for deleting network () 2025-10-31 03:08:01,935 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 03:08:01,935 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-10-31 03:08:01,935 - INFO - -------------------------------------------------------------------------------- 2025-10-31 03:08:02,599 - INFO - Deleted project: ctest-TestPorts-74024425, ID : 3d98b824-09d2-40ab-9dbf-b33c72bb8181