2025-07-28 02:21:15,090 - INFO - Domain Default found not creating 2025-07-28 02:21:15,244 - INFO - Project ctest-TestPorts-65817633 not found, creating it 2025-07-28 02:21:15,723 - INFO - Created Project:ctest-TestPorts-65817633, ID : ac5110a7-15f7-4eb3-9362-ed6367158fad 2025-07-28 02:21:17,838 - INFO - ================================================================================ 2025-07-28 02:21:17,838 - INFO - STARTING TEST : test_ports_bindings 2025-07-28 02:21:17,838 - 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-07-28 02:21:18,101 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.25': '0'}} with 2025-07-28 02:21:18,101 - INFO - Initial checks done. Running the testcase now 2025-07-28 02:21:18,101 - INFO - 2025-07-28 02:21:18,602 - DEBUG - Response for create_network : {'network': {'id': '7e6a69e1-1d1b-4c8f-8d31-fc51791fd67f', 'name': 'ctest-vn-14000957', 'tenant_id': 'ac5110a715f74eb39362ed6367158fad', 'project_id': 'ac5110a715f74eb39362ed6367158fad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65817633', 'ctest-vn-14000957'], 'port_security_enabled': True, 'description': ''}} 2025-07-28 02:21:18,800 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b317ce69-54fe-40bf-bf42-7f881a1e2324', 'name': '', 'tenant_id': 'ac5110a715f74eb39362ed6367158fad', 'network_id': '7e6a69e1-1d1b-4c8f-8d31-fc51791fd67f', 'ip_version': 4, 'cidr': '152.199.250.64/26', 'allocation_pools': [{'start': '152.199.250.66', 'end': '152.199.250.126'}], 'gateway_ip': '152.199.250.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.199.250.66', 'tags': [], 'project_id': 'ac5110a715f74eb39362ed6367158fad'}} 2025-07-28 02:21:18,819 - INFO - Created VN ctest-vn-14000957 2025-07-28 02:21:18,875 - DEBUG - VN ctest-vn-14000957 UUID is 7e6a69e1-1d1b-4c8f-8d31-fc51791fd67f 2025-07-28 02:21:18,981 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-65817633', 'ctest-vmi-51210582']} 2025-07-28 02:21:19,222 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-51210582', 'id': '978f31e4-aa73-4bfb-8f1c-2fc7fe08af6f', 'tenant_id': 'ac5110a715f74eb39362ed6367158fad', 'network_id': '7e6a69e1-1d1b-4c8f-8d31-fc51791fd67f', 'mac_address': '02:97:8f:31:e4:aa', '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': '152.199.250.67', 'subnet_id': 'b317ce69-54fe-40bf-bf42-7f881a1e2324'}], 'security_groups': ['46769b55-6ad1-44e1-9faa-ea90cc00bab4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ac5110a715f74eb39362ed6367158fad'}} 2025-07-28 02:21:19,222 - DEBUG - Created port 978f31e4-aa73-4bfb-8f1c-2fc7fe08af6f 2025-07-28 02:21:19,327 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/978f31e4-aa73-4bfb-8f1c-2fc7fe08af6f 2025-07-28 02:21:19,620 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/978f31e4-aa73-4bfb-8f1c-2fc7fe08af6f 2025-07-28 02:21:19,652 - INFO - VMI 978f31e4-aa73-4bfb-8f1c-2fc7fe08af6f verification in API Server passed 2025-07-28 02:21:19,743 - DEBUG - Response for delete_port : () 2025-07-28 02:21:19,744 - INFO - Deleted port 978f31e4-aa73-4bfb-8f1c-2fc7fe08af6f 2025-07-28 02:21:19,744 - INFO - Deleting VN ctest-vn-14000957 2025-07-28 02:21:19,844 - DEBUG - Response for deleting network () 2025-07-28 02:21:20,104 - DEBUG - No XMPP flaps were noticed during the test 2025-07-28 02:21:20,105 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-07-28 02:21:20,105 - INFO - -------------------------------------------------------------------------------- 2025-07-28 02:21:20,107 - INFO - ================================================================================ 2025-07-28 02:21:20,107 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-07-28 02:21:20,107 - 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-07-28 02:21:20,394 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.25': '0'}} with 2025-07-28 02:21:20,394 - INFO - Initial checks done. Running the testcase now 2025-07-28 02:21:20,394 - INFO - 2025-07-28 02:21:20,641 - DEBUG - Response for create_network : {'network': {'id': '7f4a9a66-4f83-46ae-beee-6ed1d611064c', 'name': 'ctest-vn1-53630266', 'tenant_id': 'ac5110a715f74eb39362ed6367158fad', 'project_id': 'ac5110a715f74eb39362ed6367158fad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65817633', 'ctest-vn1-53630266'], 'port_security_enabled': True, 'description': ''}} 2025-07-28 02:21:20,802 - DEBUG - Response for create_subnet : {'subnet': {'id': '8caef1f8-511f-4e3a-8cb2-d9e2d6aca8d2', 'name': '', 'tenant_id': 'ac5110a715f74eb39362ed6367158fad', 'network_id': '7f4a9a66-4f83-46ae-beee-6ed1d611064c', 'ip_version': 4, 'cidr': '156.218.0.128/26', 'allocation_pools': [{'start': '156.218.0.130', 'end': '156.218.0.190'}], 'gateway_ip': '156.218.0.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.218.0.130', 'tags': [], 'project_id': 'ac5110a715f74eb39362ed6367158fad'}} 2025-07-28 02:21:20,962 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9b255ad-ecde-4e83-b11f-e7a280c0897c', 'name': '', 'tenant_id': 'ac5110a715f74eb39362ed6367158fad', 'network_id': '7f4a9a66-4f83-46ae-beee-6ed1d611064c', 'ip_version': 4, 'cidr': '148.136.190.192/26', 'allocation_pools': [{'start': '148.136.190.194', 'end': '148.136.190.254'}], 'gateway_ip': '148.136.190.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.136.190.194', 'tags': [], 'project_id': 'ac5110a715f74eb39362ed6367158fad'}} 2025-07-28 02:21:20,982 - INFO - Created VN ctest-vn1-53630266 2025-07-28 02:21:21,035 - DEBUG - VN ctest-vn1-53630266 UUID is 7f4a9a66-4f83-46ae-beee-6ed1d611064c 2025-07-28 02:21:21,350 - DEBUG - Response for create_port : {'port': {'name': '690ae8c9-0276-414e-a69f-cbd4337e9c49', 'id': '690ae8c9-0276-414e-a69f-cbd4337e9c49', 'tenant_id': 'ac5110a715f74eb39362ed6367158fad', 'network_id': '7f4a9a66-4f83-46ae-beee-6ed1d611064c', 'mac_address': '02:69:0a:e8:c9:02', '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': '156.218.0.133', 'subnet_id': '8caef1f8-511f-4e3a-8cb2-d9e2d6aca8d2'}], 'security_groups': ['46769b55-6ad1-44e1-9faa-ea90cc00bab4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ac5110a715f74eb39362ed6367158fad'}} 2025-07-28 02:21:21,537 - DEBUG - Response for create_port : {'port': {'name': 'cc6c7241-b1a3-4f02-b10f-a8f122bc7c02', 'id': 'cc6c7241-b1a3-4f02-b10f-a8f122bc7c02', 'tenant_id': 'ac5110a715f74eb39362ed6367158fad', 'network_id': '7f4a9a66-4f83-46ae-beee-6ed1d611064c', 'mac_address': '02:cc:6c:72:41:b1', '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': '148.136.190.197', 'subnet_id': 'c9b255ad-ecde-4e83-b11f-e7a280c0897c'}], 'security_groups': ['46769b55-6ad1-44e1-9faa-ea90cc00bab4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ac5110a715f74eb39362ed6367158fad'}} 2025-07-28 02:21:21,596 - DEBUG - Services list from nova: [, , ] 2025-07-28 02:21:21,929 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3720-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3720-1) 2025-07-28 02:21:22,317 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3720-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3720-1) 2025-07-28 02:21:22,317 - INFO - Waiting for VM ctest-vn1-vm1-73294638 to be up.. 2025-07-28 02:21:22,363 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-28 02:21:27,436 - DEBUG - VM is in ACTIVE state now 2025-07-28 02:21:27,436 - INFO - VM name : ctest-vn1-vm1-73294638 2025-07-28 02:21:27,513 - DEBUG - VM ctest-vn1-vm1-73294638 ID is 36cfd265-36a2-4df2-a6e4-7e7643f867c6 2025-07-28 02:21:27,532 - DEBUG - VM ctest-vn1-vm1-73294638 launched on Node cn-jenkins-deploy-platform-ansible-os-3720-1 2025-07-28 02:21:27,602 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/36cfd265-36a2-4df2-a6e4-7e7643f867c6 2025-07-28 02:21:27,612 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/690ae8c9-0276-414e-a69f-cbd4337e9c49 2025-07-28 02:21:30,883 - 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 1036ms') 2025-07-28 02:21:30,883 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73294638 failed! 2025-07-28 02:21:30,939 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65817633:ctest-vn1-53630266 is 156.218.0.129 and allocation pool is NOT set 2025-07-28 02:21:30,939 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65817633:ctest-vn1-53630266 is 148.136.190.193 and allocation pool is NOT set 2025-07-28 02:21:32,996 - 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=6.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.597 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 = 0.597/3.691/6.785/3.094 ms') 2025-07-28 02:21:32,996 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73294638 passed 2025-07-28 02:21:33,151 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:21:33,151 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-73294638, IP 156.218.0.133, Port 22 2025-07-28 02:21:33,316 - DEBUG - VM ctest-vn1-vm1-73294638 is ready for SSH connections 2025-07-28 02:21:33,316 - INFO - Waiting for VM ctest-vn1-vm2-17977498 to be up.. 2025-07-28 02:21:33,388 - DEBUG - VM is in ACTIVE state now 2025-07-28 02:21:33,388 - INFO - VM name : ctest-vn1-vm2-17977498 2025-07-28 02:21:33,462 - DEBUG - VM ctest-vn1-vm2-17977498 ID is 01b43748-c71b-4aca-b43d-7da8f10d5f5f 2025-07-28 02:21:33,462 - DEBUG - VM ctest-vn1-vm2-17977498 launched on Node cn-jenkins-deploy-platform-ansible-os-3720-1 2025-07-28 02:21:33,549 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/01b43748-c71b-4aca-b43d-7da8f10d5f5f 2025-07-28 02:21:33,560 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/cc6c7241-b1a3-4f02-b10f-a8f122bc7c02 2025-07-28 02:21:34,801 - 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.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.390 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.390/1.958/3.527/1.568 ms') 2025-07-28 02:21:34,801 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-17977498 passed 2025-07-28 02:21:34,955 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:21:34,955 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-17977498, IP 148.136.190.197, Port 22 2025-07-28 02:21:35,110 - DEBUG - VM ctest-vn1-vm2-17977498 is ready for SSH connections 2025-07-28 02:21:35,111 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:21:35,111 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:21:35,111 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:21:35,111 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.218.0.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-07-28 02:21:35,111 - DEBUG - ping -s 56 -c 3 -W 1 156.218.0.133 2025-07-28 02:21:37,766 - DEBUG - PING 156.218.0.133 (156.218.0.133): 56 data bytes 64 bytes from 156.218.0.133: seq=0 ttl=63 time=3.545 ms 64 bytes from 156.218.0.133: seq=1 ttl=63 time=1.069 ms 64 bytes from 156.218.0.133: seq=2 ttl=63 time=0.906 ms --- 156.218.0.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.906/1.840/3.545 ms 2025-07-28 02:21:37,766 - INFO - Ping to IP 156.218.0.133 from VM ctest-vn1-vm2-17977498 passed 2025-07-28 02:21:37,767 - INFO - Detaching port cc6c7241-b1a3-4f02-b10f-a8f122bc7c02 from VM ctest-vn1-vm2-17977498 2025-07-28 02:21:37,815 - INFO - Deleting VM ctest-vn1-vm2-17977498 2025-07-28 02:21:37,878 - INFO - Detaching port 690ae8c9-0276-414e-a69f-cbd4337e9c49 from VM ctest-vn1-vm1-73294638 2025-07-28 02:21:37,913 - INFO - Deleting VM ctest-vn1-vm1-73294638 2025-07-28 02:21:38,181 - DEBUG - Response for delete_port : () 2025-07-28 02:21:38,345 - DEBUG - Response for delete_port : () 2025-07-28 02:21:38,345 - INFO - Deleting VN ctest-vn1-53630266 2025-07-28 02:21:38,514 - DEBUG - Response for deleting network () 2025-07-28 02:21:38,768 - DEBUG - No XMPP flaps were noticed during the test 2025-07-28 02:21:38,768 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-07-28 02:21:38,768 - INFO - -------------------------------------------------------------------------------- 2025-07-28 02:21:39,440 - INFO - Deleted project: ctest-TestPorts-65817633, ID : ac5110a7-15f7-4eb3-9362-ed6367158fad