2025-09-10 16:28:26,045 - INFO - Domain Default found not creating 2025-09-10 16:28:26,209 - INFO - Project ctest-TestPorts-86248985 not found, creating it 2025-09-10 16:28:26,709 - INFO - Created Project:ctest-TestPorts-86248985, ID : ff84f272-0da6-4b5d-9142-b7ae8ed6765a 2025-09-10 16:28:28,111 - INFO - ================================================================================ 2025-09-10 16:28:28,111 - INFO - STARTING TEST : test_ports_bindings 2025-09-10 16:28:28,112 - 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-10 16:28:28,367 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0'}} with 2025-09-10 16:28:28,367 - INFO - Initial checks done. Running the testcase now 2025-09-10 16:28:28,367 - INFO - 2025-09-10 16:28:28,895 - DEBUG - Response for create_network : {'network': {'id': '9f3140ac-3b31-4ab6-9e82-162dc6bb2d2d', 'name': 'ctest-vn-70691998', 'tenant_id': 'ff84f2720da64b5d9142b7ae8ed6765a', 'project_id': 'ff84f2720da64b5d9142b7ae8ed6765a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86248985', 'ctest-vn-70691998'], 'port_security_enabled': True, 'description': ''}} 2025-09-10 16:28:29,097 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cde2fa32-6992-4eb9-9f1b-cda60f3aa484', 'name': '', 'tenant_id': 'ff84f2720da64b5d9142b7ae8ed6765a', 'network_id': '9f3140ac-3b31-4ab6-9e82-162dc6bb2d2d', 'ip_version': 4, 'cidr': '77.216.100.192/26', 'allocation_pools': [{'start': '77.216.100.194', 'end': '77.216.100.254'}], 'gateway_ip': '77.216.100.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.216.100.194', 'tags': [], 'project_id': 'ff84f2720da64b5d9142b7ae8ed6765a'}} 2025-09-10 16:28:29,113 - INFO - Created VN ctest-vn-70691998 2025-09-10 16:28:29,166 - DEBUG - VN ctest-vn-70691998 UUID is 9f3140ac-3b31-4ab6-9e82-162dc6bb2d2d 2025-09-10 16:28:29,271 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-86248985', 'ctest-vmi-09216211']} 2025-09-10 16:28:29,544 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-09216211', 'id': '88de35a8-d840-498c-9b42-f91bd35acdd6', 'tenant_id': 'ff84f2720da64b5d9142b7ae8ed6765a', 'network_id': '9f3140ac-3b31-4ab6-9e82-162dc6bb2d2d', 'mac_address': '02:88:de:35:a8:d8', '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': '77.216.100.195', 'subnet_id': 'cde2fa32-6992-4eb9-9f1b-cda60f3aa484'}], 'security_groups': ['820cded7-d06b-4fe3-a80c-3d812452ca05'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ff84f2720da64b5d9142b7ae8ed6765a'}} 2025-09-10 16:28:29,544 - DEBUG - Created port 88de35a8-d840-498c-9b42-f91bd35acdd6 2025-09-10 16:28:29,650 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/88de35a8-d840-498c-9b42-f91bd35acdd6 2025-09-10 16:28:29,948 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/88de35a8-d840-498c-9b42-f91bd35acdd6 2025-09-10 16:28:29,979 - INFO - VMI 88de35a8-d840-498c-9b42-f91bd35acdd6 verification in API Server passed 2025-09-10 16:28:30,070 - DEBUG - Response for delete_port : () 2025-09-10 16:28:30,070 - INFO - Deleted port 88de35a8-d840-498c-9b42-f91bd35acdd6 2025-09-10 16:28:30,070 - INFO - Deleting VN ctest-vn-70691998 2025-09-10 16:28:30,155 - DEBUG - Response for deleting network () 2025-09-10 16:28:30,410 - DEBUG - No XMPP flaps were noticed during the test 2025-09-10 16:28:30,410 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-09-10 16:28:30,410 - INFO - -------------------------------------------------------------------------------- 2025-09-10 16:28:30,412 - INFO - ================================================================================ 2025-09-10 16:28:30,412 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-10 16:28:30,412 - 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-10 16:28:30,701 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0'}} with 2025-09-10 16:28:30,701 - INFO - Initial checks done. Running the testcase now 2025-09-10 16:28:30,701 - INFO - 2025-09-10 16:28:30,890 - DEBUG - Response for create_network : {'network': {'id': 'fd1bf533-1cc6-4126-b9d6-b8b71c059bad', 'name': 'ctest-vn1-95528946', 'tenant_id': 'ff84f2720da64b5d9142b7ae8ed6765a', 'project_id': 'ff84f2720da64b5d9142b7ae8ed6765a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86248985', 'ctest-vn1-95528946'], 'port_security_enabled': True, 'description': ''}} 2025-09-10 16:28:31,115 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b5ae872a-0066-41f3-8e15-7f815c35d56e', 'name': '', 'tenant_id': 'ff84f2720da64b5d9142b7ae8ed6765a', 'network_id': 'fd1bf533-1cc6-4126-b9d6-b8b71c059bad', 'ip_version': 4, 'cidr': '112.1.243.0/26', 'allocation_pools': [{'start': '112.1.243.2', 'end': '112.1.243.62'}], 'gateway_ip': '112.1.243.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.1.243.2', 'tags': [], 'project_id': 'ff84f2720da64b5d9142b7ae8ed6765a'}} 2025-09-10 16:28:31,284 - DEBUG - Response for create_subnet : {'subnet': {'id': '14d6edb6-be52-406b-ab82-d036589f0578', 'name': '', 'tenant_id': 'ff84f2720da64b5d9142b7ae8ed6765a', 'network_id': 'fd1bf533-1cc6-4126-b9d6-b8b71c059bad', 'ip_version': 4, 'cidr': '55.130.58.192/26', 'allocation_pools': [{'start': '55.130.58.194', 'end': '55.130.58.254'}], 'gateway_ip': '55.130.58.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.130.58.194', 'tags': [], 'project_id': 'ff84f2720da64b5d9142b7ae8ed6765a'}} 2025-09-10 16:28:31,304 - INFO - Created VN ctest-vn1-95528946 2025-09-10 16:28:31,354 - DEBUG - VN ctest-vn1-95528946 UUID is fd1bf533-1cc6-4126-b9d6-b8b71c059bad 2025-09-10 16:28:31,654 - DEBUG - Response for create_port : {'port': {'name': '771bc5f1-d50d-4894-bd96-b3bf59b7cc4a', 'id': '771bc5f1-d50d-4894-bd96-b3bf59b7cc4a', 'tenant_id': 'ff84f2720da64b5d9142b7ae8ed6765a', 'network_id': 'fd1bf533-1cc6-4126-b9d6-b8b71c059bad', 'mac_address': '02:77:1b:c5:f1:d5', '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': '112.1.243.5', 'subnet_id': 'b5ae872a-0066-41f3-8e15-7f815c35d56e'}], 'security_groups': ['820cded7-d06b-4fe3-a80c-3d812452ca05'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ff84f2720da64b5d9142b7ae8ed6765a'}} 2025-09-10 16:28:31,821 - DEBUG - Response for create_port : {'port': {'name': '2b1f8e8b-7a79-4346-88b0-669c9eefa310', 'id': '2b1f8e8b-7a79-4346-88b0-669c9eefa310', 'tenant_id': 'ff84f2720da64b5d9142b7ae8ed6765a', 'network_id': 'fd1bf533-1cc6-4126-b9d6-b8b71c059bad', 'mac_address': '02:2b:1f:8e:8b:7a', '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': '55.130.58.197', 'subnet_id': '14d6edb6-be52-406b-ab82-d036589f0578'}], 'security_groups': ['820cded7-d06b-4fe3-a80c-3d812452ca05'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ff84f2720da64b5d9142b7ae8ed6765a'}} 2025-09-10 16:28:31,874 - DEBUG - Services list from nova: [, , ] 2025-09-10 16:28:32,184 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4071-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4071-1) 2025-09-10 16:28:32,558 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4071-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4071-1) 2025-09-10 16:28:32,558 - INFO - Waiting for VM ctest-vn1-vm1-22116481 to be up.. 2025-09-10 16:28:32,593 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-10 16:28:37,676 - DEBUG - VM is in ACTIVE state now 2025-09-10 16:28:37,676 - INFO - VM name : ctest-vn1-vm1-22116481 2025-09-10 16:28:37,759 - DEBUG - VM ctest-vn1-vm1-22116481 ID is 5c2cecf7-65dd-4471-9989-d0c0c1a0ed62 2025-09-10 16:28:37,780 - DEBUG - VM ctest-vn1-vm1-22116481 launched on Node cn-jenkins-deploy-platform-ansible-os-4071-1 2025-09-10 16:28:37,857 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/5c2cecf7-65dd-4471-9989-d0c0c1a0ed62 2025-09-10 16:28:37,866 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/771bc5f1-d50d-4894-bd96-b3bf59b7cc4a 2025-09-10 16:28:41,097 - 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 1003ms') 2025-09-10 16:28:41,098 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22116481 failed! 2025-09-10 16:28:41,154 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86248985:ctest-vn1-95528946 is 112.1.243.1 and allocation pool is NOT set 2025-09-10 16:28:41,154 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86248985:ctest-vn1-95528946 is 55.130.58.193 and allocation pool is NOT set 2025-09-10 16:28:43,219 - 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=4.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.95 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.953/3.850/4.748/0.897 ms') 2025-09-10 16:28:43,219 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22116481 passed 2025-09-10 16:28:43,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-10 16:28:43,374 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-22116481, IP 112.1.243.5, Port 22 2025-09-10 16:28:43,540 - DEBUG - VM ctest-vn1-vm1-22116481 is ready for SSH connections 2025-09-10 16:28:43,540 - INFO - Waiting for VM ctest-vn1-vm2-30642414 to be up.. 2025-09-10 16:28:43,621 - DEBUG - VM is in ACTIVE state now 2025-09-10 16:28:43,621 - INFO - VM name : ctest-vn1-vm2-30642414 2025-09-10 16:28:43,698 - DEBUG - VM ctest-vn1-vm2-30642414 ID is 837fec95-7651-4a9a-8cb6-0301d35ee464 2025-09-10 16:28:43,698 - DEBUG - VM ctest-vn1-vm2-30642414 launched on Node cn-jenkins-deploy-platform-ansible-os-4071-1 2025-09-10 16:28:43,779 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/837fec95-7651-4a9a-8cb6-0301d35ee464 2025-09-10 16:28:43,787 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/2b1f8e8b-7a79-4346-88b0-669c9eefa310 2025-09-10 16:28:45,022 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.840 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.840/2.235/3.630/1.395 ms') 2025-09-10 16:28:45,022 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-30642414 passed 2025-09-10 16:28:45,170 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-10 16:28:45,170 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-30642414, IP 55.130.58.197, Port 22 2025-09-10 16:28:45,335 - DEBUG - VM ctest-vn1-vm2-30642414 is ready for SSH connections 2025-09-10 16:28:45,335 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-10 16:28:45,336 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-10 16:28:45,336 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-10 16:28:45,336 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.1.243.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-09-10 16:28:45,336 - DEBUG - ping -s 56 -c 3 -W 1 112.1.243.5 2025-09-10 16:28:48,018 - DEBUG - PING 112.1.243.5 (112.1.243.5): 56 data bytes 64 bytes from 112.1.243.5: seq=0 ttl=63 time=4.422 ms 64 bytes from 112.1.243.5: seq=1 ttl=63 time=1.172 ms 64 bytes from 112.1.243.5: seq=2 ttl=63 time=0.782 ms --- 112.1.243.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.782/2.125/4.422 ms 2025-09-10 16:28:48,018 - INFO - Ping to IP 112.1.243.5 from VM ctest-vn1-vm2-30642414 passed 2025-09-10 16:28:48,018 - INFO - Detaching port 2b1f8e8b-7a79-4346-88b0-669c9eefa310 from VM ctest-vn1-vm2-30642414 2025-09-10 16:28:48,066 - INFO - Deleting VM ctest-vn1-vm2-30642414 2025-09-10 16:28:48,134 - INFO - Detaching port 771bc5f1-d50d-4894-bd96-b3bf59b7cc4a from VM ctest-vn1-vm1-22116481 2025-09-10 16:28:48,165 - INFO - Deleting VM ctest-vn1-vm1-22116481 2025-09-10 16:28:48,378 - DEBUG - Response for delete_port : () 2025-09-10 16:28:48,528 - DEBUG - Response for delete_port : () 2025-09-10 16:28:48,528 - INFO - Deleting VN ctest-vn1-95528946 2025-09-10 16:28:48,647 - DEBUG - Response for deleting network () 2025-09-10 16:28:48,907 - DEBUG - No XMPP flaps were noticed during the test 2025-09-10 16:28:48,907 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-09-10 16:28:48,907 - INFO - -------------------------------------------------------------------------------- 2025-09-10 16:28:49,546 - INFO - Deleted project: ctest-TestPorts-86248985, ID : ff84f272-0da6-4b5d-9142-b7ae8ed6765a