2025-10-21 18:42:03,146 - INFO - Domain Default found not creating 2025-10-21 18:42:03,322 - INFO - Project ctest-TestPorts-15164157 not found, creating it 2025-10-21 18:42:03,795 - INFO - Created Project:ctest-TestPorts-15164157, ID : 8b196fee-356a-45fc-89b4-2d4a39681060 2025-10-21 18:42:05,263 - INFO - ================================================================================ 2025-10-21 18:42:05,263 - INFO - STARTING TEST : test_ports_bindings 2025-10-21 18:42:05,264 - 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-10-21 18:42:05,527 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-10-21 18:42:05,527 - INFO - Initial checks done. Running the testcase now 2025-10-21 18:42:05,527 - INFO - 2025-10-21 18:42:06,139 - DEBUG - Response for create_network : {'network': {'id': '3d190bab-26e5-485c-99de-128803b8a001', 'name': 'ctest-vn-74740020', 'tenant_id': '8b196fee356a45fc89b42d4a39681060', 'project_id': '8b196fee356a45fc89b42d4a39681060', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15164157', 'ctest-vn-74740020'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 18:42:06,313 - DEBUG - Response for create_subnet : {'subnet': {'id': '050cf8b7-eb8e-4b72-97ce-fd510d144198', 'name': '', 'tenant_id': '8b196fee356a45fc89b42d4a39681060', 'network_id': '3d190bab-26e5-485c-99de-128803b8a001', 'ip_version': 4, 'cidr': '145.158.88.192/26', 'allocation_pools': [{'start': '145.158.88.194', 'end': '145.158.88.254'}], 'gateway_ip': '145.158.88.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.158.88.194', 'tags': [], 'project_id': '8b196fee356a45fc89b42d4a39681060'}} 2025-10-21 18:42:06,335 - INFO - Created VN ctest-vn-74740020 2025-10-21 18:42:06,386 - DEBUG - VN ctest-vn-74740020 UUID is 3d190bab-26e5-485c-99de-128803b8a001 2025-10-21 18:42:06,498 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-15164157', 'ctest-vmi-03400293']} 2025-10-21 18:42:06,771 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-03400293', 'id': 'c2bbce5c-0f1b-4b64-8768-38a6c152180b', 'tenant_id': '8b196fee356a45fc89b42d4a39681060', 'network_id': '3d190bab-26e5-485c-99de-128803b8a001', 'mac_address': '02:c2:bb:ce:5c:0f', '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': '145.158.88.195', 'subnet_id': '050cf8b7-eb8e-4b72-97ce-fd510d144198'}], 'security_groups': ['1e4e24fa-a38c-4b32-950e-d6eeeef299dc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8b196fee356a45fc89b42d4a39681060'}} 2025-10-21 18:42:06,771 - DEBUG - Created port c2bbce5c-0f1b-4b64-8768-38a6c152180b 2025-10-21 18:42:06,874 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/c2bbce5c-0f1b-4b64-8768-38a6c152180b 2025-10-21 18:42:07,167 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/c2bbce5c-0f1b-4b64-8768-38a6c152180b 2025-10-21 18:42:07,198 - INFO - VMI c2bbce5c-0f1b-4b64-8768-38a6c152180b verification in API Server passed 2025-10-21 18:42:07,286 - DEBUG - Response for delete_port : () 2025-10-21 18:42:07,286 - INFO - Deleted port c2bbce5c-0f1b-4b64-8768-38a6c152180b 2025-10-21 18:42:07,286 - INFO - Deleting VN ctest-vn-74740020 2025-10-21 18:42:07,398 - DEBUG - Response for deleting network () 2025-10-21 18:42:07,651 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 18:42:07,651 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-21 18:42:07,652 - INFO - -------------------------------------------------------------------------------- 2025-10-21 18:42:07,654 - INFO - ================================================================================ 2025-10-21 18:42:07,654 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-21 18:42:07,654 - 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-10-21 18:42:07,940 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-10-21 18:42:07,940 - INFO - Initial checks done. Running the testcase now 2025-10-21 18:42:07,940 - INFO - 2025-10-21 18:42:08,111 - DEBUG - Response for create_network : {'network': {'id': '5d510c34-b65f-4833-92ad-f2b2dd8d63c9', 'name': 'ctest-vn1-96118981', 'tenant_id': '8b196fee356a45fc89b42d4a39681060', 'project_id': '8b196fee356a45fc89b42d4a39681060', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15164157', 'ctest-vn1-96118981'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 18:42:08,276 - DEBUG - Response for create_subnet : {'subnet': {'id': '4774f342-ef0e-45b9-8ee5-44a195a7009b', 'name': '', 'tenant_id': '8b196fee356a45fc89b42d4a39681060', 'network_id': '5d510c34-b65f-4833-92ad-f2b2dd8d63c9', 'ip_version': 4, 'cidr': '209.29.8.128/26', 'allocation_pools': [{'start': '209.29.8.130', 'end': '209.29.8.190'}], 'gateway_ip': '209.29.8.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.29.8.130', 'tags': [], 'project_id': '8b196fee356a45fc89b42d4a39681060'}} 2025-10-21 18:42:08,411 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e19cba2-3a3c-427d-bc80-3a8a82f1233b', 'name': '', 'tenant_id': '8b196fee356a45fc89b42d4a39681060', 'network_id': '5d510c34-b65f-4833-92ad-f2b2dd8d63c9', 'ip_version': 4, 'cidr': '155.68.160.192/26', 'allocation_pools': [{'start': '155.68.160.194', 'end': '155.68.160.254'}], 'gateway_ip': '155.68.160.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.68.160.194', 'tags': [], 'project_id': '8b196fee356a45fc89b42d4a39681060'}} 2025-10-21 18:42:08,435 - INFO - Created VN ctest-vn1-96118981 2025-10-21 18:42:08,490 - DEBUG - VN ctest-vn1-96118981 UUID is 5d510c34-b65f-4833-92ad-f2b2dd8d63c9 2025-10-21 18:42:08,808 - DEBUG - Response for create_port : {'port': {'name': '9c742913-968e-4ab4-b3f3-290fb3161587', 'id': '9c742913-968e-4ab4-b3f3-290fb3161587', 'tenant_id': '8b196fee356a45fc89b42d4a39681060', 'network_id': '5d510c34-b65f-4833-92ad-f2b2dd8d63c9', 'mac_address': '02:9c:74:29:13:96', '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': '209.29.8.133', 'subnet_id': '4774f342-ef0e-45b9-8ee5-44a195a7009b'}], 'security_groups': ['1e4e24fa-a38c-4b32-950e-d6eeeef299dc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8b196fee356a45fc89b42d4a39681060'}} 2025-10-21 18:42:08,988 - DEBUG - Response for create_port : {'port': {'name': '96db0562-aadd-4568-9077-6b2f78e42893', 'id': '96db0562-aadd-4568-9077-6b2f78e42893', 'tenant_id': '8b196fee356a45fc89b42d4a39681060', 'network_id': '5d510c34-b65f-4833-92ad-f2b2dd8d63c9', 'mac_address': '02:96:db:05:62:aa', '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': '155.68.160.197', 'subnet_id': '7e19cba2-3a3c-427d-bc80-3a8a82f1233b'}], 'security_groups': ['1e4e24fa-a38c-4b32-950e-d6eeeef299dc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8b196fee356a45fc89b42d4a39681060'}} 2025-10-21 18:42:09,055 - DEBUG - Services list from nova: [, , ] 2025-10-21 18:42:09,395 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4403-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4403-1) 2025-10-21 18:42:09,841 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4403-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4403-1) 2025-10-21 18:42:09,842 - INFO - Waiting for VM ctest-vn1-vm1-01588990 to be up.. 2025-10-21 18:42:09,892 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 18:42:14,968 - DEBUG - VM is in ACTIVE state now 2025-10-21 18:42:14,968 - INFO - VM name : ctest-vn1-vm1-01588990 2025-10-21 18:42:15,045 - DEBUG - VM ctest-vn1-vm1-01588990 ID is 0949f3b2-e313-419e-8570-c9056263914a 2025-10-21 18:42:15,067 - DEBUG - VM ctest-vn1-vm1-01588990 launched on Node cn-jenkins-deploy-platform-ansible-os-4403-1 2025-10-21 18:42:15,152 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/0949f3b2-e313-419e-8570-c9056263914a 2025-10-21 18:42:15,160 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/9c742913-968e-4ab4-b3f3-290fb3161587 2025-10-21 18:42:18,412 - 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 1010ms') 2025-10-21 18:42:18,412 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01588990 failed! 2025-10-21 18:42:18,473 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15164157:ctest-vn1-96118981 is 209.29.8.129 and allocation pool is NOT set 2025-10-21 18:42:18,474 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15164157:ctest-vn1-96118981 is 155.68.160.193 and allocation pool is NOT set 2025-10-21 18:42:20,535 - 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=11.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.87 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.873/7.318/11.764/4.445 ms') 2025-10-21 18:42:20,535 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01588990 passed 2025-10-21 18:42:20,690 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 18:42:20,690 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-01588990, IP 209.29.8.133, Port 22 2025-10-21 18:42:20,745 - 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-10-21 18:42:20,826 - DEBUG - VM ctest-vn1-vm1-01588990 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-21 18:42:25,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 18:42:25,826 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-01588990, IP 209.29.8.133, Port 22 2025-10-21 18:42:25,997 - DEBUG - VM ctest-vn1-vm1-01588990 is ready for SSH connections 2025-10-21 18:42:25,997 - INFO - Waiting for VM ctest-vn1-vm2-33846032 to be up.. 2025-10-21 18:42:26,076 - DEBUG - VM is in ACTIVE state now 2025-10-21 18:42:26,076 - INFO - VM name : ctest-vn1-vm2-33846032 2025-10-21 18:42:26,160 - DEBUG - VM ctest-vn1-vm2-33846032 ID is bc88bfb2-380d-4c7b-8399-d2459aa63f75 2025-10-21 18:42:26,160 - DEBUG - VM ctest-vn1-vm2-33846032 launched on Node cn-jenkins-deploy-platform-ansible-os-4403-1 2025-10-21 18:42:26,243 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/bc88bfb2-380d-4c7b-8399-d2459aa63f75 2025-10-21 18:42:26,252 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/96db0562-aadd-4568-9077-6b2f78e42893 2025-10-21 18:42:27,482 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.482 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.482/1.566/2.651/1.084 ms') 2025-10-21 18:42:27,482 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-33846032 passed 2025-10-21 18:42:27,634 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 18:42:27,634 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-33846032, IP 155.68.160.197, Port 22 2025-10-21 18:42:27,789 - DEBUG - VM ctest-vn1-vm2-33846032 is ready for SSH connections 2025-10-21 18:42:27,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 18:42:27,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 18:42:27,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 18:42:27,789 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.29.8.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-21 18:42:27,789 - DEBUG - ping -s 56 -c 3 -W 1 209.29.8.133 2025-10-21 18:42:30,473 - DEBUG - PING 209.29.8.133 (209.29.8.133): 56 data bytes 64 bytes from 209.29.8.133: seq=0 ttl=63 time=4.193 ms 64 bytes from 209.29.8.133: seq=1 ttl=63 time=0.889 ms 64 bytes from 209.29.8.133: seq=2 ttl=63 time=1.876 ms --- 209.29.8.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.889/2.319/4.193 ms 2025-10-21 18:42:30,473 - INFO - Ping to IP 209.29.8.133 from VM ctest-vn1-vm2-33846032 passed 2025-10-21 18:42:30,473 - INFO - Detaching port 96db0562-aadd-4568-9077-6b2f78e42893 from VM ctest-vn1-vm2-33846032 2025-10-21 18:42:30,526 - INFO - Deleting VM ctest-vn1-vm2-33846032 2025-10-21 18:42:30,598 - INFO - Detaching port 9c742913-968e-4ab4-b3f3-290fb3161587 from VM ctest-vn1-vm1-01588990 2025-10-21 18:42:30,638 - INFO - Deleting VM ctest-vn1-vm1-01588990 2025-10-21 18:42:30,908 - DEBUG - Response for delete_port : () 2025-10-21 18:42:31,062 - DEBUG - Response for delete_port : () 2025-10-21 18:42:31,063 - INFO - Deleting VN ctest-vn1-96118981 2025-10-21 18:42:31,204 - DEBUG - Response for deleting network () 2025-10-21 18:42:31,459 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 18:42:31,459 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-10-21 18:42:31,459 - INFO - -------------------------------------------------------------------------------- 2025-10-21 18:42:32,141 - INFO - Deleted project: ctest-TestPorts-15164157, ID : 8b196fee-356a-45fc-89b4-2d4a39681060