2025-07-30 17:09:10,923 - INFO - Domain Default found not creating 2025-07-30 17:09:11,281 - INFO - Project ctest-TestPorts-10612019 not found, creating it 2025-07-30 17:09:11,904 - INFO - Created Project:ctest-TestPorts-10612019, ID : 00d51b90-82be-4965-8839-eb74b78ea0dd 2025-07-30 17:09:13,878 - INFO - ================================================================================ 2025-07-30 17:09:13,878 - INFO - STARTING TEST : test_ports_bindings 2025-07-30 17:09:13,878 - 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-30 17:09:14,179 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-30 17:09:14,180 - INFO - Initial checks done. Running the testcase now 2025-07-30 17:09:14,180 - INFO - 2025-07-30 17:09:14,818 - DEBUG - Response for create_network : {'network': {'id': '33a30a71-04ec-4187-94b3-5316654cfa0c', 'name': 'ctest-vn-33484819', 'tenant_id': '00d51b9082be49658839eb74b78ea0dd', 'project_id': '00d51b9082be49658839eb74b78ea0dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-10612019', 'ctest-vn-33484819'], 'port_security_enabled': True, 'description': ''}} 2025-07-30 17:09:15,002 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4a6cc79-95df-4b99-abdf-c30fc0c09b1b', 'name': '', 'tenant_id': '00d51b9082be49658839eb74b78ea0dd', 'network_id': '33a30a71-04ec-4187-94b3-5316654cfa0c', 'ip_version': 4, 'cidr': '112.162.177.192/26', 'allocation_pools': [{'start': '112.162.177.194', 'end': '112.162.177.254'}], 'gateway_ip': '112.162.177.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.162.177.194', 'tags': [], 'project_id': '00d51b9082be49658839eb74b78ea0dd'}} 2025-07-30 17:09:15,026 - INFO - Created VN ctest-vn-33484819 2025-07-30 17:09:15,080 - DEBUG - VN ctest-vn-33484819 UUID is 33a30a71-04ec-4187-94b3-5316654cfa0c 2025-07-30 17:09:15,238 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-10612019', 'ctest-vmi-58889453']} 2025-07-30 17:09:15,634 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-58889453', 'id': '708a2e55-970a-4b2e-b46f-bb7188c666ae', 'tenant_id': '00d51b9082be49658839eb74b78ea0dd', 'network_id': '33a30a71-04ec-4187-94b3-5316654cfa0c', 'mac_address': '02:70:8a:2e:55:97', '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': '112.162.177.195', 'subnet_id': 'b4a6cc79-95df-4b99-abdf-c30fc0c09b1b'}], 'security_groups': ['66079c10-9b5b-45d0-a299-e4e93f614957'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '00d51b9082be49658839eb74b78ea0dd'}} 2025-07-30 17:09:15,634 - DEBUG - Created port 708a2e55-970a-4b2e-b46f-bb7188c666ae 2025-07-30 17:09:15,740 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/708a2e55-970a-4b2e-b46f-bb7188c666ae 2025-07-30 17:09:16,041 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/708a2e55-970a-4b2e-b46f-bb7188c666ae 2025-07-30 17:09:16,086 - INFO - VMI 708a2e55-970a-4b2e-b46f-bb7188c666ae verification in API Server passed 2025-07-30 17:09:16,237 - DEBUG - Response for delete_port : () 2025-07-30 17:09:16,237 - INFO - Deleted port 708a2e55-970a-4b2e-b46f-bb7188c666ae 2025-07-30 17:09:16,237 - INFO - Deleting VN ctest-vn-33484819 2025-07-30 17:09:16,350 - DEBUG - Response for deleting network () 2025-07-30 17:09:16,647 - DEBUG - No XMPP flaps were noticed during the test
2025-07-30 17:09:16,647 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-07-30 17:09:16,647 - INFO - -------------------------------------------------------------------------------- 2025-07-30 17:09:16,651 - INFO - ================================================================================ 2025-07-30 17:09:16,651 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-07-30 17:09:16,651 - 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-30 17:09:16,968 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-30 17:09:16,968 - INFO - Initial checks done. Running the testcase now 2025-07-30 17:09:16,968 - INFO - 2025-07-30 17:09:17,283 - DEBUG - Response for create_network : {'network': {'id': '0f62a53f-8550-4028-9eac-9b985a98f3ab', 'name': 'ctest-vn1-24863487', 'tenant_id': '00d51b9082be49658839eb74b78ea0dd', 'project_id': '00d51b9082be49658839eb74b78ea0dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-10612019', 'ctest-vn1-24863487'], 'port_security_enabled': True, 'description': ''}} 2025-07-30 17:09:17,499 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a1323312-ca85-4a87-be9c-725f2aa46a2c', 'name': '', 'tenant_id': '00d51b9082be49658839eb74b78ea0dd', 'network_id': '0f62a53f-8550-4028-9eac-9b985a98f3ab', 'ip_version': 4, 'cidr': '24.250.23.128/26', 'allocation_pools': [{'start': '24.250.23.130', 'end': '24.250.23.190'}], 'gateway_ip': '24.250.23.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.250.23.130', 'tags': [], 'project_id': '00d51b9082be49658839eb74b78ea0dd'}} 2025-07-30 17:09:17,658 - DEBUG - Response for create_subnet : {'subnet': {'id': '8151f0d1-795d-44cc-8357-cf1b3d4e2fe2', 'name': '', 'tenant_id': '00d51b9082be49658839eb74b78ea0dd', 'network_id': '0f62a53f-8550-4028-9eac-9b985a98f3ab', 'ip_version': 4, 'cidr': '147.63.91.192/26', 'allocation_pools': [{'start': '147.63.91.194', 'end': '147.63.91.254'}], 'gateway_ip': '147.63.91.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.63.91.194', 'tags': [], 'project_id': '00d51b9082be49658839eb74b78ea0dd'}} 2025-07-30 17:09:17,679 - INFO - Created VN ctest-vn1-24863487 2025-07-30 17:09:17,732 - DEBUG - VN ctest-vn1-24863487 UUID is 0f62a53f-8550-4028-9eac-9b985a98f3ab 2025-07-30 17:09:18,166 - DEBUG - Response for create_port : {'port': {'name': '5a4ae838-0f92-460b-8e3e-3dea4027af03', 'id': '5a4ae838-0f92-460b-8e3e-3dea4027af03', 'tenant_id': '00d51b9082be49658839eb74b78ea0dd', 'network_id': '0f62a53f-8550-4028-9eac-9b985a98f3ab', 'mac_address': '02:5a:4a:e8:38:0f', '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': '24.250.23.133', 'subnet_id': 'a1323312-ca85-4a87-be9c-725f2aa46a2c'}], 'security_groups': ['66079c10-9b5b-45d0-a299-e4e93f614957'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '00d51b9082be49658839eb74b78ea0dd'}} 2025-07-30 17:09:18,381 - DEBUG - Response for create_port : {'port': {'name': 'f518202b-2177-40bc-a454-6d1b47ad5504', 'id': 'f518202b-2177-40bc-a454-6d1b47ad5504', 'tenant_id': '00d51b9082be49658839eb74b78ea0dd', 'network_id': '0f62a53f-8550-4028-9eac-9b985a98f3ab', 'mac_address': '02:f5:18:20:2b:21', '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': '147.63.91.197', 'subnet_id': '8151f0d1-795d-44cc-8357-cf1b3d4e2fe2'}], 'security_groups': ['66079c10-9b5b-45d0-a299-e4e93f614957'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '00d51b9082be49658839eb74b78ea0dd'}} 2025-07-30 17:09:18,436 - DEBUG - Services list from nova: [, , ] 2025-07-30 17:09:19,141 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3724-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3724-1) 2025-07-30 17:09:19,959 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3724-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3724-1) 2025-07-30 17:09:19,959 - INFO - Waiting for VM ctest-vn1-vm1-40441411 to be up.. 2025-07-30 17:09:20,044 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-30 17:09:25,174 - DEBUG - VM is in ACTIVE state now 2025-07-30 17:09:25,174 - INFO - VM name : ctest-vn1-vm1-40441411 2025-07-30 17:09:25,277 - DEBUG - VM ctest-vn1-vm1-40441411 ID is 4da0be12-3516-4f2a-8bd1-cd83b64bca4a 2025-07-30 17:09:25,302 - DEBUG - VM ctest-vn1-vm1-40441411 launched on Node cn-jenkins-deploy-platform-ansible-os-3724-1 2025-07-30 17:09:25,424 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4da0be12-3516-4f2a-8bd1-cd83b64bca4a 2025-07-30 17:09:25,443 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5a4ae838-0f92-460b-8e3e-3dea4027af03 2025-07-30 17:09:28,758 - 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 1016ms') 2025-07-30 17:09:28,759 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-40441411 failed! 2025-07-30 17:09:28,824 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10612019:ctest-vn1-24863487 is 24.250.23.129 and allocation pool is NOT set 2025-07-30 17:09:28,824 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10612019:ctest-vn1-24863487 is 147.63.91.193 and allocation pool is NOT set 2025-07-30 17:09:32,913 - 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=9.56 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1017ms\r\nrtt min/avg/max/mdev = 9.561/9.561/9.561/0.000 ms') 2025-07-30 17:09:32,913 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-40441411 passed 2025-07-30 17:09:33,084 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 17:09:33,085 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-40441411, IP 24.250.23.133, Port 22 2025-07-30 17:09:33,150 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-07-30 17:09:33,280 - DEBUG - VM ctest-vn1-vm1-40441411 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-30 17:09:38,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 17:09:38,281 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-40441411, IP 24.250.23.133, Port 22 2025-07-30 17:09:38,476 - DEBUG - VM ctest-vn1-vm1-40441411 is ready for SSH connections 2025-07-30 17:09:38,476 - INFO - Waiting for VM ctest-vn1-vm2-25768288 to be up.. 2025-07-30 17:09:38,634 - DEBUG - VM is in ACTIVE state now 2025-07-30 17:09:38,635 - INFO - VM name : ctest-vn1-vm2-25768288 2025-07-30 17:09:38,838 - DEBUG - VM ctest-vn1-vm2-25768288 ID is 2c13ffbb-b837-42da-8e85-fad4098a4f2b 2025-07-30 17:09:38,838 - DEBUG - VM ctest-vn1-vm2-25768288 launched on Node cn-jenkins-deploy-platform-ansible-os-3724-1 2025-07-30 17:09:39,009 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2c13ffbb-b837-42da-8e85-fad4098a4f2b 2025-07-30 17:09:39,033 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f518202b-2177-40bc-a454-6d1b47ad5504 2025-07-30 17:09:40,381 - 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=8.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.18 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 = 1.177/4.895/8.613/3.718 ms') 2025-07-30 17:09:40,382 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-25768288 passed 2025-07-30 17:09:40,577 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 17:09:40,578 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-25768288, IP 147.63.91.197, Port 22 2025-07-30 17:09:40,774 - DEBUG - VM ctest-vn1-vm2-25768288 is ready for SSH connections 2025-07-30 17:09:40,774 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 17:09:40,774 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 17:09:40,774 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 17:09:40,775 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.250.23.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-30 17:09:40,775 - DEBUG - ping -s 56 -c 3 -W 1 24.250.23.133 2025-07-30 17:09:43,868 - DEBUG - PING 24.250.23.133 (24.250.23.133): 56 data bytes 64 bytes from 24.250.23.133: seq=0 ttl=63 time=8.037 ms 64 bytes from 24.250.23.133: seq=1 ttl=63 time=1.090 ms 64 bytes from 24.250.23.133: seq=2 ttl=63 time=1.982 ms --- 24.250.23.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.090/3.703/8.037 ms 2025-07-30 17:09:43,868 - INFO - Ping to IP 24.250.23.133 from VM ctest-vn1-vm2-25768288 passed 2025-07-30 17:09:43,869 - INFO - Detaching port f518202b-2177-40bc-a454-6d1b47ad5504 from VM ctest-vn1-vm2-25768288 2025-07-30 17:09:43,993 - INFO - Deleting VM ctest-vn1-vm2-25768288 2025-07-30 17:09:44,156 - INFO - Detaching port 5a4ae838-0f92-460b-8e3e-3dea4027af03 from VM ctest-vn1-vm1-40441411 2025-07-30 17:09:44,217 - INFO - Deleting VM ctest-vn1-vm1-40441411 2025-07-30 17:09:44,724 - DEBUG - Response for delete_port : () 2025-07-30 17:09:44,973 - DEBUG - Response for delete_port : () 2025-07-30 17:09:44,973 - INFO - Deleting VN ctest-vn1-24863487 2025-07-30 17:09:45,112 - DEBUG - Response for deleting network () 2025-07-30 17:09:45,369 - DEBUG - No XMPP flaps were noticed during the test
2025-07-30 17:09:45,369 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:29]
2025-07-30 17:09:45,369 - INFO - -------------------------------------------------------------------------------- 2025-07-30 17:09:46,251 - INFO - Deleted project: ctest-TestPorts-10612019, ID : 00d51b90-82be-4965-8839-eb74b78ea0dd