2025-09-05 20:14:51,396 - INFO - Domain Default found not creating 2025-09-05 20:14:51,737 - INFO - Project ctest-TestPorts-91872149 not found, creating it 2025-09-05 20:14:52,503 - INFO - Created Project:ctest-TestPorts-91872149, ID : 242cb359-16a6-41dc-b39d-f9620798b3d2 2025-09-05 20:14:54,913 - INFO - ================================================================================ 2025-09-05 20:14:54,913 - INFO - STARTING TEST : test_ports_bindings 2025-09-05 20:14:54,914 - 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-05 20:14:55,236 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-09-05 20:14:55,236 - INFO - Initial checks done. Running the testcase now 2025-09-05 20:14:55,236 - INFO - 2025-09-05 20:14:56,113 - DEBUG - Response for create_network : {'network': {'id': '3959baf4-d636-4e36-af96-93499969feba', 'name': 'ctest-vn-50404805', 'tenant_id': '242cb35916a641dcb39df9620798b3d2', 'project_id': '242cb35916a641dcb39df9620798b3d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-91872149', 'ctest-vn-50404805'], 'port_security_enabled': True, 'description': ''}} 2025-09-05 20:14:56,308 - DEBUG - Response for create_subnet : {'subnet': {'id': '0a07e73f-95ab-416b-a20e-57a16686fd7a', 'name': '', 'tenant_id': '242cb35916a641dcb39df9620798b3d2', 'network_id': '3959baf4-d636-4e36-af96-93499969feba', 'ip_version': 4, 'cidr': '87.250.117.192/26', 'allocation_pools': [{'start': '87.250.117.194', 'end': '87.250.117.254'}], 'gateway_ip': '87.250.117.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.250.117.194', 'tags': [], 'project_id': '242cb35916a641dcb39df9620798b3d2'}} 2025-09-05 20:14:56,340 - INFO - Created VN ctest-vn-50404805 2025-09-05 20:14:56,395 - DEBUG - VN ctest-vn-50404805 UUID is 3959baf4-d636-4e36-af96-93499969feba 2025-09-05 20:14:56,565 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-91872149', 'ctest-vmi-61956787']} 2025-09-05 20:14:56,999 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-61956787', 'id': '0f078ced-06b2-42cf-9ad1-fdeb672b36f3', 'tenant_id': '242cb35916a641dcb39df9620798b3d2', 'network_id': '3959baf4-d636-4e36-af96-93499969feba', 'mac_address': '02:0f:07:8c:ed:06', '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': '87.250.117.195', 'subnet_id': '0a07e73f-95ab-416b-a20e-57a16686fd7a'}], 'security_groups': ['3bbe2fd2-f206-4528-b028-3e436026d643'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '242cb35916a641dcb39df9620798b3d2'}} 2025-09-05 20:14:57,000 - DEBUG - Created port 0f078ced-06b2-42cf-9ad1-fdeb672b36f3 2025-09-05 20:14:57,119 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0f078ced-06b2-42cf-9ad1-fdeb672b36f3 2025-09-05 20:14:57,480 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0f078ced-06b2-42cf-9ad1-fdeb672b36f3 2025-09-05 20:14:57,538 - INFO - VMI 0f078ced-06b2-42cf-9ad1-fdeb672b36f3 verification in API Server passed 2025-09-05 20:14:57,780 - DEBUG - Response for delete_port : () 2025-09-05 20:14:57,781 - INFO - Deleted port 0f078ced-06b2-42cf-9ad1-fdeb672b36f3 2025-09-05 20:14:57,781 - INFO - Deleting VN ctest-vn-50404805 2025-09-05 20:14:57,964 - DEBUG - Response for deleting network () 2025-09-05 20:14:58,273 - DEBUG - No XMPP flaps were noticed during the test 2025-09-05 20:14:58,273 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04] 2025-09-05 20:14:58,273 - INFO - -------------------------------------------------------------------------------- 2025-09-05 20:14:58,275 - INFO - ================================================================================ 2025-09-05 20:14:58,275 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-05 20:14:58,275 - 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-05 20:14:58,619 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-09-05 20:14:58,619 - INFO - Initial checks done. Running the testcase now 2025-09-05 20:14:58,619 - INFO - 2025-09-05 20:14:58,966 - DEBUG - Response for create_network : {'network': {'id': '7093a348-f9a9-4df8-9e6e-669fc37952db', 'name': 'ctest-vn1-90550597', 'tenant_id': '242cb35916a641dcb39df9620798b3d2', 'project_id': '242cb35916a641dcb39df9620798b3d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-91872149', 'ctest-vn1-90550597'], 'port_security_enabled': True, 'description': ''}} 2025-09-05 20:14:59,244 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a44cc789-cc25-4ad0-8872-5febc66e8b1c', 'name': '', 'tenant_id': '242cb35916a641dcb39df9620798b3d2', 'network_id': '7093a348-f9a9-4df8-9e6e-669fc37952db', 'ip_version': 4, 'cidr': '101.115.235.0/26', 'allocation_pools': [{'start': '101.115.235.2', 'end': '101.115.235.62'}], 'gateway_ip': '101.115.235.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.115.235.2', 'tags': [], 'project_id': '242cb35916a641dcb39df9620798b3d2'}} 2025-09-05 20:14:59,492 - DEBUG - Response for create_subnet : {'subnet': {'id': '09700933-0bb1-4cfd-b9f3-3dfcf2a4980c', 'name': '', 'tenant_id': '242cb35916a641dcb39df9620798b3d2', 'network_id': '7093a348-f9a9-4df8-9e6e-669fc37952db', 'ip_version': 4, 'cidr': '201.33.232.192/26', 'allocation_pools': [{'start': '201.33.232.194', 'end': '201.33.232.254'}], 'gateway_ip': '201.33.232.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.33.232.194', 'tags': [], 'project_id': '242cb35916a641dcb39df9620798b3d2'}} 2025-09-05 20:14:59,536 - INFO - Created VN ctest-vn1-90550597 2025-09-05 20:14:59,611 - DEBUG - VN ctest-vn1-90550597 UUID is 7093a348-f9a9-4df8-9e6e-669fc37952db 2025-09-05 20:15:00,146 - DEBUG - Response for create_port : {'port': {'name': 'bc90d324-2220-4fdf-a64c-9b9c95ffa5e7', 'id': 'bc90d324-2220-4fdf-a64c-9b9c95ffa5e7', 'tenant_id': '242cb35916a641dcb39df9620798b3d2', 'network_id': '7093a348-f9a9-4df8-9e6e-669fc37952db', 'mac_address': '02:bc:90:d3:24:22', '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': '101.115.235.5', 'subnet_id': 'a44cc789-cc25-4ad0-8872-5febc66e8b1c'}], 'security_groups': ['3bbe2fd2-f206-4528-b028-3e436026d643'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '242cb35916a641dcb39df9620798b3d2'}} 2025-09-05 20:15:00,344 - DEBUG - Response for create_port : {'port': {'name': '6c67b689-c42f-4b99-9976-a7ba4017bcb8', 'id': '6c67b689-c42f-4b99-9976-a7ba4017bcb8', 'tenant_id': '242cb35916a641dcb39df9620798b3d2', 'network_id': '7093a348-f9a9-4df8-9e6e-669fc37952db', 'mac_address': '02:6c:67:b6:89:c4', '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': '201.33.232.197', 'subnet_id': '09700933-0bb1-4cfd-b9f3-3dfcf2a4980c'}], 'security_groups': ['3bbe2fd2-f206-4528-b028-3e436026d643'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '242cb35916a641dcb39df9620798b3d2'}} 2025-09-05 20:15:00,399 - DEBUG - Services list from nova: [, , ] 2025-09-05 20:15:00,908 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4031-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4031-1) 2025-09-05 20:15:01,623 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4031-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4031-1) 2025-09-05 20:15:01,623 - INFO - Waiting for VM ctest-vn1-vm1-30707009 to be up.. 2025-09-05 20:15:01,671 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-05 20:15:06,820 - DEBUG - VM is in ACTIVE state now 2025-09-05 20:15:06,820 - INFO - VM name : ctest-vn1-vm1-30707009 2025-09-05 20:15:06,957 - DEBUG - VM ctest-vn1-vm1-30707009 ID is 2ea9bc95-edde-4bdc-a8e3-0cd29817c8f2 2025-09-05 20:15:06,979 - DEBUG - VM ctest-vn1-vm1-30707009 launched on Node cn-jenkins-deploy-platform-ansible-os-4031-1 2025-09-05 20:15:07,090 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2ea9bc95-edde-4bdc-a8e3-0cd29817c8f2 2025-09-05 20:15:07,104 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bc90d324-2220-4fdf-a64c-9b9c95ffa5e7 2025-09-05 20:15:10,457 - 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 1027ms') 2025-09-05 20:15:10,457 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-30707009 failed! 2025-09-05 20:15:10,531 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-91872149:ctest-vn1-90550597 is 101.115.235.1 and allocation pool is NOT set 2025-09-05 20:15:10,531 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-91872149:ctest-vn1-90550597 is 201.33.232.193 and allocation pool is NOT set 2025-09-05 20:15:14,616 - 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=7.41 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 7.407/7.407/7.407/0.000 ms') 2025-09-05 20:15:14,616 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-30707009 passed 2025-09-05 20:15:14,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 20:15:14,791 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-30707009, IP 101.115.235.5, Port 22 2025-09-05 20:15:14,873 - 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-09-05 20:15:15,010 - DEBUG - VM ctest-vn1-vm1-30707009 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-05 20:15:20,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 20:15:20,011 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-30707009, IP 101.115.235.5, Port 22 2025-09-05 20:15:20,216 - DEBUG - VM ctest-vn1-vm1-30707009 is ready for SSH connections 2025-09-05 20:15:20,216 - INFO - Waiting for VM ctest-vn1-vm2-99687059 to be up.. 2025-09-05 20:15:20,392 - DEBUG - VM is in ACTIVE state now 2025-09-05 20:15:20,392 - INFO - VM name : ctest-vn1-vm2-99687059 2025-09-05 20:15:20,495 - DEBUG - VM ctest-vn1-vm2-99687059 ID is e3b4d92f-6b09-4c89-99e5-4d9de4981c6d 2025-09-05 20:15:20,495 - DEBUG - VM ctest-vn1-vm2-99687059 launched on Node cn-jenkins-deploy-platform-ansible-os-4031-1 2025-09-05 20:15:20,621 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e3b4d92f-6b09-4c89-99e5-4d9de4981c6d 2025-09-05 20:15:20,650 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6c67b689-c42f-4b99-9976-a7ba4017bcb8 2025-09-05 20:15:21,942 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.771 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.771/4.871/8.971/4.100 ms') 2025-09-05 20:15:21,943 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-99687059 passed 2025-09-05 20:15:22,119 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 20:15:22,119 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-99687059, IP 201.33.232.197, Port 22 2025-09-05 20:15:22,314 - DEBUG - VM ctest-vn1-vm2-99687059 is ready for SSH connections 2025-09-05 20:15:22,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 20:15:22,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 20:15:22,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 20:15:22,315 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.115.235.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-05 20:15:22,315 - DEBUG - ping -s 56 -c 3 -W 1 101.115.235.5 2025-09-05 20:15:25,384 - DEBUG - PING 101.115.235.5 (101.115.235.5): 56 data bytes 64 bytes from 101.115.235.5: seq=0 ttl=63 time=5.998 ms 64 bytes from 101.115.235.5: seq=1 ttl=63 time=2.183 ms 64 bytes from 101.115.235.5: seq=2 ttl=63 time=1.360 ms --- 101.115.235.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.360/3.180/5.998 ms 2025-09-05 20:15:25,384 - INFO - Ping to IP 101.115.235.5 from VM ctest-vn1-vm2-99687059 passed 2025-09-05 20:15:25,384 - INFO - Detaching port 6c67b689-c42f-4b99-9976-a7ba4017bcb8 from VM ctest-vn1-vm2-99687059 2025-09-05 20:15:25,491 - INFO - Deleting VM ctest-vn1-vm2-99687059 2025-09-05 20:15:25,651 - INFO - Detaching port bc90d324-2220-4fdf-a64c-9b9c95ffa5e7 from VM ctest-vn1-vm1-30707009 2025-09-05 20:15:25,704 - INFO - Deleting VM ctest-vn1-vm1-30707009 2025-09-05 20:15:25,995 - DEBUG - Response for delete_port : () 2025-09-05 20:15:26,175 - DEBUG - Response for delete_port : () 2025-09-05 20:15:26,175 - INFO - Deleting VN ctest-vn1-90550597 2025-09-05 20:15:26,302 - DEBUG - Response for deleting network () 2025-09-05 20:15:26,594 - DEBUG - No XMPP flaps were noticed during the test 2025-09-05 20:15:26,594 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:28] 2025-09-05 20:15:26,594 - INFO - -------------------------------------------------------------------------------- 2025-09-05 20:15:27,365 - INFO - Deleted project: ctest-TestPorts-91872149, ID : 242cb359-16a6-41dc-b39d-f9620798b3d2