2025-08-14 13:01:47,076 - INFO - Domain Default found not creating 2025-08-14 13:01:47,194 - INFO - Project ctest-TestPorts-44242373 not found, creating it 2025-08-14 13:01:47,680 - INFO - Created Project:ctest-TestPorts-44242373, ID : fe376253-a9f5-4bc0-a3c1-6889aba846b7 2025-08-14 13:01:48,980 - INFO - ================================================================================ 2025-08-14 13:01:48,980 - INFO - STARTING TEST : test_ports_bindings 2025-08-14 13:01:48,980 - 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-08-14 13:01:49,242 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-08-14 13:01:49,242 - INFO - Initial checks done. Running the testcase now 2025-08-14 13:01:49,242 - INFO - 2025-08-14 13:01:49,756 - DEBUG - Response for create_network : {'network': {'id': '1e88f22c-ad69-42e7-a6a1-0cd5f98cdeef', 'name': 'ctest-vn-61273927', 'tenant_id': 'fe376253a9f54bc0a3c16889aba846b7', 'project_id': 'fe376253a9f54bc0a3c16889aba846b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-44242373', 'ctest-vn-61273927'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 13:01:49,920 - DEBUG - Response for create_subnet : {'subnet': {'id': '16f19956-f066-48ec-9ddc-8c574fc3b4ce', 'name': '', 'tenant_id': 'fe376253a9f54bc0a3c16889aba846b7', 'network_id': '1e88f22c-ad69-42e7-a6a1-0cd5f98cdeef', 'ip_version': 4, 'cidr': '217.97.125.192/26', 'allocation_pools': [{'start': '217.97.125.194', 'end': '217.97.125.254'}], 'gateway_ip': '217.97.125.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.97.125.194', 'tags': [], 'project_id': 'fe376253a9f54bc0a3c16889aba846b7'}} 2025-08-14 13:01:49,935 - INFO - Created VN ctest-vn-61273927 2025-08-14 13:01:49,989 - DEBUG - VN ctest-vn-61273927 UUID is 1e88f22c-ad69-42e7-a6a1-0cd5f98cdeef 2025-08-14 13:01:50,093 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-44242373', 'ctest-vmi-67575536']} 2025-08-14 13:01:50,355 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-67575536', 'id': 'd4870c22-c3cb-467c-9fde-e89e48bbac2f', 'tenant_id': 'fe376253a9f54bc0a3c16889aba846b7', 'network_id': '1e88f22c-ad69-42e7-a6a1-0cd5f98cdeef', 'mac_address': '02:d4:87:0c:22:c3', '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': '217.97.125.195', 'subnet_id': '16f19956-f066-48ec-9ddc-8c574fc3b4ce'}], 'security_groups': ['46e5315d-c1cc-407d-8ad4-3d60e22bcd7d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fe376253a9f54bc0a3c16889aba846b7'}} 2025-08-14 13:01:50,355 - DEBUG - Created port d4870c22-c3cb-467c-9fde-e89e48bbac2f 2025-08-14 13:01:50,457 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/d4870c22-c3cb-467c-9fde-e89e48bbac2f 2025-08-14 13:01:50,744 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/d4870c22-c3cb-467c-9fde-e89e48bbac2f 2025-08-14 13:01:50,771 - INFO - VMI d4870c22-c3cb-467c-9fde-e89e48bbac2f verification in API Server passed 2025-08-14 13:01:50,858 - DEBUG - Response for delete_port : () 2025-08-14 13:01:50,858 - INFO - Deleted port d4870c22-c3cb-467c-9fde-e89e48bbac2f 2025-08-14 13:01:50,858 - INFO - Deleting VN ctest-vn-61273927 2025-08-14 13:01:50,948 - DEBUG - Response for deleting network () 2025-08-14 13:01:51,200 - DEBUG - No XMPP flaps were noticed during the test 2025-08-14 13:01:51,201 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-08-14 13:01:51,201 - INFO - -------------------------------------------------------------------------------- 2025-08-14 13:01:51,204 - INFO - ================================================================================ 2025-08-14 13:01:51,204 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-14 13:01:51,204 - 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-08-14 13:01:51,495 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-08-14 13:01:51,495 - INFO - Initial checks done. Running the testcase now 2025-08-14 13:01:51,495 - INFO - 2025-08-14 13:01:51,654 - DEBUG - Response for create_network : {'network': {'id': '139e15f0-348f-465b-bdac-d52589f6f762', 'name': 'ctest-vn1-66345040', 'tenant_id': 'fe376253a9f54bc0a3c16889aba846b7', 'project_id': 'fe376253a9f54bc0a3c16889aba846b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-44242373', 'ctest-vn1-66345040'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 13:01:51,840 - DEBUG - Response for create_subnet : {'subnet': {'id': '17a6e6ff-7cee-40ed-8ce7-23981b02c1fe', 'name': '', 'tenant_id': 'fe376253a9f54bc0a3c16889aba846b7', 'network_id': '139e15f0-348f-465b-bdac-d52589f6f762', 'ip_version': 4, 'cidr': '36.212.98.128/26', 'allocation_pools': [{'start': '36.212.98.130', 'end': '36.212.98.190'}], 'gateway_ip': '36.212.98.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.212.98.130', 'tags': [], 'project_id': 'fe376253a9f54bc0a3c16889aba846b7'}} 2025-08-14 13:01:51,983 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0ab3e04-d1f8-48a3-954f-f9cf2a73b69a', 'name': '', 'tenant_id': 'fe376253a9f54bc0a3c16889aba846b7', 'network_id': '139e15f0-348f-465b-bdac-d52589f6f762', 'ip_version': 4, 'cidr': '47.122.227.64/26', 'allocation_pools': [{'start': '47.122.227.66', 'end': '47.122.227.126'}], 'gateway_ip': '47.122.227.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.122.227.66', 'tags': [], 'project_id': 'fe376253a9f54bc0a3c16889aba846b7'}} 2025-08-14 13:01:51,999 - INFO - Created VN ctest-vn1-66345040 2025-08-14 13:01:52,049 - DEBUG - VN ctest-vn1-66345040 UUID is 139e15f0-348f-465b-bdac-d52589f6f762 2025-08-14 13:01:52,320 - DEBUG - Response for create_port : {'port': {'name': 'b81cc923-8459-4bd7-9604-4a09702568f3', 'id': 'b81cc923-8459-4bd7-9604-4a09702568f3', 'tenant_id': 'fe376253a9f54bc0a3c16889aba846b7', 'network_id': '139e15f0-348f-465b-bdac-d52589f6f762', 'mac_address': '02:b8:1c:c9:23:84', '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': '36.212.98.133', 'subnet_id': '17a6e6ff-7cee-40ed-8ce7-23981b02c1fe'}], 'security_groups': ['46e5315d-c1cc-407d-8ad4-3d60e22bcd7d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fe376253a9f54bc0a3c16889aba846b7'}} 2025-08-14 13:01:52,469 - DEBUG - Response for create_port : {'port': {'name': 'd5f917bc-074e-432d-beed-969c989425d6', 'id': 'd5f917bc-074e-432d-beed-969c989425d6', 'tenant_id': 'fe376253a9f54bc0a3c16889aba846b7', 'network_id': '139e15f0-348f-465b-bdac-d52589f6f762', 'mac_address': '02:d5:f9:17:bc:07', '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': '47.122.227.69', 'subnet_id': 'b0ab3e04-d1f8-48a3-954f-f9cf2a73b69a'}], 'security_groups': ['46e5315d-c1cc-407d-8ad4-3d60e22bcd7d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fe376253a9f54bc0a3c16889aba846b7'}} 2025-08-14 13:01:52,517 - DEBUG - Services list from nova: [, , ] 2025-08-14 13:01:52,786 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3854-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3854-1) 2025-08-14 13:01:53,208 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3854-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3854-1) 2025-08-14 13:01:53,208 - INFO - Waiting for VM ctest-vn1-vm1-54703243 to be up.. 2025-08-14 13:01:53,242 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-14 13:01:58,316 - DEBUG - VM is in ACTIVE state now 2025-08-14 13:01:58,316 - INFO - VM name : ctest-vn1-vm1-54703243 2025-08-14 13:01:58,384 - DEBUG - VM ctest-vn1-vm1-54703243 ID is 49586979-8956-46c9-89fc-5bd6f9973a4e 2025-08-14 13:01:58,406 - DEBUG - VM ctest-vn1-vm1-54703243 launched on Node cn-jenkins-deploy-platform-ansible-os-3854-1 2025-08-14 13:01:58,468 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/49586979-8956-46c9-89fc-5bd6f9973a4e 2025-08-14 13:01:58,477 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/b81cc923-8459-4bd7-9604-4a09702568f3 2025-08-14 13:02:01,715 - 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 1004ms') 2025-08-14 13:02:01,716 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54703243 failed! 2025-08-14 13:02:01,773 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-44242373:ctest-vn1-66345040 is 36.212.98.129 and allocation pool is NOT set 2025-08-14 13:02:01,773 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-44242373:ctest-vn1-66345040 is 47.122.227.65 and allocation pool is NOT set 2025-08-14 13:02:03,836 - 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=2.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.81 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 = 2.671/2.739/2.808/0.068 ms') 2025-08-14 13:02:03,836 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54703243 passed 2025-08-14 13:02:03,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 13:02:03,989 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-54703243, IP 36.212.98.133, Port 22 2025-08-14 13:02:04,044 - 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-08-14 13:02:04,108 - DEBUG - VM ctest-vn1-vm1-54703243 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-14 13:02:09,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 13:02:09,109 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-54703243, IP 36.212.98.133, Port 22 2025-08-14 13:02:09,260 - DEBUG - VM ctest-vn1-vm1-54703243 is ready for SSH connections 2025-08-14 13:02:09,260 - INFO - Waiting for VM ctest-vn1-vm2-07615833 to be up.. 2025-08-14 13:02:09,322 - DEBUG - VM is in ACTIVE state now 2025-08-14 13:02:09,322 - INFO - VM name : ctest-vn1-vm2-07615833 2025-08-14 13:02:09,381 - DEBUG - VM ctest-vn1-vm2-07615833 ID is 70b36896-55c7-4ae1-a2bb-b4a8ae55e11c 2025-08-14 13:02:09,382 - DEBUG - VM ctest-vn1-vm2-07615833 launched on Node cn-jenkins-deploy-platform-ansible-os-3854-1 2025-08-14 13:02:09,438 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/70b36896-55c7-4ae1-a2bb-b4a8ae55e11c 2025-08-14 13:02:09,445 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/d5f917bc-074e-432d-beed-969c989425d6 2025-08-14 13:02:10,681 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.297 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.297/1.436/2.575/1.139 ms') 2025-08-14 13:02:10,681 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-07615833 passed 2025-08-14 13:02:10,829 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 13:02:10,829 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-07615833, IP 47.122.227.69, Port 22 2025-08-14 13:02:10,985 - DEBUG - VM ctest-vn1-vm2-07615833 is ready for SSH connections 2025-08-14 13:02:10,985 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 13:02:10,985 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 13:02:10,985 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 13:02:10,985 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.212.98.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-14 13:02:10,985 - DEBUG - ping -s 56 -c 3 -W 1 36.212.98.133 2025-08-14 13:02:13,861 - DEBUG - PING 36.212.98.133 (36.212.98.133): 56 data bytes 64 bytes from 36.212.98.133: seq=0 ttl=63 time=3.046 ms 64 bytes from 36.212.98.133: seq=1 ttl=63 time=0.751 ms 64 bytes from 36.212.98.133: seq=2 ttl=63 time=0.686 ms --- 36.212.98.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.686/1.494/3.046 ms 2025-08-14 13:02:13,862 - INFO - Ping to IP 36.212.98.133 from VM ctest-vn1-vm2-07615833 passed 2025-08-14 13:02:13,862 - INFO - Detaching port d5f917bc-074e-432d-beed-969c989425d6 from VM ctest-vn1-vm2-07615833 2025-08-14 13:02:13,903 - INFO - Deleting VM ctest-vn1-vm2-07615833 2025-08-14 13:02:14,010 - INFO - Detaching port b81cc923-8459-4bd7-9604-4a09702568f3 from VM ctest-vn1-vm1-54703243 2025-08-14 13:02:14,040 - INFO - Deleting VM ctest-vn1-vm1-54703243 2025-08-14 13:02:14,258 - DEBUG - Response for delete_port : () 2025-08-14 13:02:14,399 - DEBUG - Response for delete_port : () 2025-08-14 13:02:14,399 - INFO - Deleting VN ctest-vn1-66345040 2025-08-14 13:02:14,508 - DEBUG - Response for deleting network () 2025-08-14 13:02:14,775 - DEBUG - No XMPP flaps were noticed during the test 2025-08-14 13:02:14,775 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23] 2025-08-14 13:02:14,775 - INFO - -------------------------------------------------------------------------------- 2025-08-14 13:02:15,428 - INFO - Deleted project: ctest-TestPorts-44242373, ID : fe376253-a9f5-4bc0-a3c1-6889aba846b7