2025-10-24 17:09:47,658 - INFO - Domain Default found not creating 2025-10-24 17:09:47,834 - INFO - Project ctest-TestPorts-13923871 not found, creating it 2025-10-24 17:09:48,328 - INFO - Created Project:ctest-TestPorts-13923871, ID : 0268ea63-5929-4a5f-b0d2-4a439e1c9c6a 2025-10-24 17:09:49,789 - INFO - ================================================================================ 2025-10-24 17:09:49,789 - INFO - STARTING TEST : test_ports_bindings 2025-10-24 17:09:49,789 - 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-24 17:09:50,045 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-10-24 17:09:50,045 - INFO - Initial checks done. Running the testcase now 2025-10-24 17:09:50,045 - INFO - 2025-10-24 17:09:50,599 - DEBUG - Response for create_network : {'network': {'id': '9e2c837f-8078-4fb0-ad33-702e334dc163', 'name': 'ctest-vn-40280076', 'tenant_id': '0268ea6359294a5fb0d24a439e1c9c6a', 'project_id': '0268ea6359294a5fb0d24a439e1c9c6a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-13923871', 'ctest-vn-40280076'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 17:09:50,749 - DEBUG - Response for create_subnet : {'subnet': {'id': '75ad71b3-7bbd-4dfb-9718-9a0efa4f2323', 'name': '', 'tenant_id': '0268ea6359294a5fb0d24a439e1c9c6a', 'network_id': '9e2c837f-8078-4fb0-ad33-702e334dc163', 'ip_version': 4, 'cidr': '42.107.94.192/26', 'allocation_pools': [{'start': '42.107.94.194', 'end': '42.107.94.254'}], 'gateway_ip': '42.107.94.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.107.94.194', 'tags': [], 'project_id': '0268ea6359294a5fb0d24a439e1c9c6a'}} 2025-10-24 17:09:50,770 - INFO - Created VN ctest-vn-40280076 2025-10-24 17:09:50,824 - DEBUG - VN ctest-vn-40280076 UUID is 9e2c837f-8078-4fb0-ad33-702e334dc163 2025-10-24 17:09:50,940 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-13923871', 'ctest-vmi-83597064']} 2025-10-24 17:09:51,202 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-83597064', 'id': '7a029cca-11f5-4c06-94a2-bf05c9797164', 'tenant_id': '0268ea6359294a5fb0d24a439e1c9c6a', 'network_id': '9e2c837f-8078-4fb0-ad33-702e334dc163', 'mac_address': '02:7a:02:9c:ca:11', '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': '42.107.94.195', 'subnet_id': '75ad71b3-7bbd-4dfb-9718-9a0efa4f2323'}], 'security_groups': ['75a3a0ea-916d-4f68-8422-f72d5c2af0d0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0268ea6359294a5fb0d24a439e1c9c6a'}} 2025-10-24 17:09:51,202 - DEBUG - Created port 7a029cca-11f5-4c06-94a2-bf05c9797164 2025-10-24 17:09:51,308 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/7a029cca-11f5-4c06-94a2-bf05c9797164 2025-10-24 17:09:51,603 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/7a029cca-11f5-4c06-94a2-bf05c9797164 2025-10-24 17:09:51,638 - INFO - VMI 7a029cca-11f5-4c06-94a2-bf05c9797164 verification in API Server passed 2025-10-24 17:09:51,742 - DEBUG - Response for delete_port : () 2025-10-24 17:09:51,742 - INFO - Deleted port 7a029cca-11f5-4c06-94a2-bf05c9797164 2025-10-24 17:09:51,743 - INFO - Deleting VN ctest-vn-40280076 2025-10-24 17:09:51,892 - DEBUG - Response for deleting network () 2025-10-24 17:09:52,154 - DEBUG - No XMPP flaps were noticed during the test 2025-10-24 17:09:52,154 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-24 17:09:52,154 - INFO - -------------------------------------------------------------------------------- 2025-10-24 17:09:52,158 - INFO - ================================================================================ 2025-10-24 17:09:52,158 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-24 17:09:52,158 - 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-24 17:09:52,456 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-10-24 17:09:52,456 - INFO - Initial checks done. Running the testcase now 2025-10-24 17:09:52,457 - INFO - 2025-10-24 17:09:52,645 - DEBUG - Response for create_network : {'network': {'id': 'f5e8b0f1-73ca-4dd5-b18a-47cd97ab556d', 'name': 'ctest-vn1-20189256', 'tenant_id': '0268ea6359294a5fb0d24a439e1c9c6a', 'project_id': '0268ea6359294a5fb0d24a439e1c9c6a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-13923871', 'ctest-vn1-20189256'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 17:09:52,811 - DEBUG - Response for create_subnet : {'subnet': {'id': '86f32b17-6bd9-40c0-b8fd-b3a23faff311', 'name': '', 'tenant_id': '0268ea6359294a5fb0d24a439e1c9c6a', 'network_id': 'f5e8b0f1-73ca-4dd5-b18a-47cd97ab556d', 'ip_version': 4, 'cidr': '36.31.103.64/26', 'allocation_pools': [{'start': '36.31.103.66', 'end': '36.31.103.126'}], 'gateway_ip': '36.31.103.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.31.103.66', 'tags': [], 'project_id': '0268ea6359294a5fb0d24a439e1c9c6a'}} 2025-10-24 17:09:53,029 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aea5ebcc-9f75-4589-b770-6b08c8cd730a', 'name': '', 'tenant_id': '0268ea6359294a5fb0d24a439e1c9c6a', 'network_id': 'f5e8b0f1-73ca-4dd5-b18a-47cd97ab556d', 'ip_version': 4, 'cidr': '167.252.172.0/26', 'allocation_pools': [{'start': '167.252.172.2', 'end': '167.252.172.62'}], 'gateway_ip': '167.252.172.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.252.172.2', 'tags': [], 'project_id': '0268ea6359294a5fb0d24a439e1c9c6a'}} 2025-10-24 17:09:53,059 - INFO - Created VN ctest-vn1-20189256 2025-10-24 17:09:53,116 - DEBUG - VN ctest-vn1-20189256 UUID is f5e8b0f1-73ca-4dd5-b18a-47cd97ab556d 2025-10-24 17:09:53,420 - DEBUG - Response for create_port : {'port': {'name': 'fb6088b9-c7ae-46d9-9dd8-f68161ab5726', 'id': 'fb6088b9-c7ae-46d9-9dd8-f68161ab5726', 'tenant_id': '0268ea6359294a5fb0d24a439e1c9c6a', 'network_id': 'f5e8b0f1-73ca-4dd5-b18a-47cd97ab556d', 'mac_address': '02:fb:60:88:b9:c7', '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.31.103.69', 'subnet_id': '86f32b17-6bd9-40c0-b8fd-b3a23faff311'}], 'security_groups': ['75a3a0ea-916d-4f68-8422-f72d5c2af0d0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0268ea6359294a5fb0d24a439e1c9c6a'}} 2025-10-24 17:09:53,598 - DEBUG - Response for create_port : {'port': {'name': '575fd334-d320-47aa-a492-8ee566cf8ca8', 'id': '575fd334-d320-47aa-a492-8ee566cf8ca8', 'tenant_id': '0268ea6359294a5fb0d24a439e1c9c6a', 'network_id': 'f5e8b0f1-73ca-4dd5-b18a-47cd97ab556d', 'mac_address': '02:57:5f:d3:34:d3', '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': '167.252.172.5', 'subnet_id': 'aea5ebcc-9f75-4589-b770-6b08c8cd730a'}], 'security_groups': ['75a3a0ea-916d-4f68-8422-f72d5c2af0d0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0268ea6359294a5fb0d24a439e1c9c6a'}} 2025-10-24 17:09:53,665 - DEBUG - Services list from nova: [, , ] 2025-10-24 17:09:54,046 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4477-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4477-1) 2025-10-24 17:09:54,502 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4477-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4477-1) 2025-10-24 17:09:54,502 - INFO - Waiting for VM ctest-vn1-vm1-21695412 to be up.. 2025-10-24 17:09:54,545 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-24 17:09:59,628 - DEBUG - VM is in ACTIVE state now 2025-10-24 17:09:59,628 - INFO - VM name : ctest-vn1-vm1-21695412 2025-10-24 17:09:59,709 - DEBUG - VM ctest-vn1-vm1-21695412 ID is 7c9ab8df-4b45-43f5-a13f-1b954646ffb4 2025-10-24 17:09:59,732 - DEBUG - VM ctest-vn1-vm1-21695412 launched on Node cn-jenkins-deploy-platform-ansible-os-4477-1 2025-10-24 17:09:59,827 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/7c9ab8df-4b45-43f5-a13f-1b954646ffb4 2025-10-24 17:09:59,838 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/fb6088b9-c7ae-46d9-9dd8-f68161ab5726 2025-10-24 17:10:03,128 - 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 1025ms') 2025-10-24 17:10:03,128 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-21695412 failed! 2025-10-24 17:10:03,188 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-13923871:ctest-vn1-20189256 is 36.31.103.65 and allocation pool is NOT set 2025-10-24 17:10:03,188 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-13923871:ctest-vn1-20189256 is 167.252.172.1 and allocation pool is NOT set 2025-10-24 17:10:07,251 - 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=14.2 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 = 14.210/14.210/14.210/0.000 ms') 2025-10-24 17:10:07,252 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-21695412 passed 2025-10-24 17:10:07,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 17:10:07,408 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-21695412, IP 36.31.103.69, Port 22 2025-10-24 17:10:07,563 - DEBUG - VM ctest-vn1-vm1-21695412 is ready for SSH connections 2025-10-24 17:10:07,563 - INFO - Waiting for VM ctest-vn1-vm2-59856993 to be up.. 2025-10-24 17:10:07,655 - DEBUG - VM is in ACTIVE state now 2025-10-24 17:10:07,655 - INFO - VM name : ctest-vn1-vm2-59856993 2025-10-24 17:10:07,736 - DEBUG - VM ctest-vn1-vm2-59856993 ID is 24720c2b-6637-4d18-be9f-12c7b1c59c57 2025-10-24 17:10:07,736 - DEBUG - VM ctest-vn1-vm2-59856993 launched on Node cn-jenkins-deploy-platform-ansible-os-4477-1 2025-10-24 17:10:07,819 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/24720c2b-6637-4d18-be9f-12c7b1c59c57 2025-10-24 17:10:07,829 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/575fd334-d320-47aa-a492-8ee566cf8ca8 2025-10-24 17:10:09,078 - 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.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.577 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.577/1.986/3.395/1.409 ms') 2025-10-24 17:10:09,078 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-59856993 passed 2025-10-24 17:10:09,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 17:10:09,236 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-59856993, IP 167.252.172.5, Port 22 2025-10-24 17:10:09,391 - DEBUG - VM ctest-vn1-vm2-59856993 is ready for SSH connections 2025-10-24 17:10:09,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 17:10:09,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 17:10:09,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 17:10:09,392 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.31.103.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-24 17:10:09,392 - DEBUG - ping -s 56 -c 3 -W 1 36.31.103.69 2025-10-24 17:10:12,107 - DEBUG - PING 36.31.103.69 (36.31.103.69): 56 data bytes 64 bytes from 36.31.103.69: seq=0 ttl=63 time=3.624 ms 64 bytes from 36.31.103.69: seq=1 ttl=63 time=1.035 ms 64 bytes from 36.31.103.69: seq=2 ttl=63 time=1.057 ms --- 36.31.103.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.035/1.905/3.624 ms 2025-10-24 17:10:12,107 - INFO - Ping to IP 36.31.103.69 from VM ctest-vn1-vm2-59856993 passed 2025-10-24 17:10:12,107 - INFO - Detaching port 575fd334-d320-47aa-a492-8ee566cf8ca8 from VM ctest-vn1-vm2-59856993 2025-10-24 17:10:12,173 - INFO - Deleting VM ctest-vn1-vm2-59856993 2025-10-24 17:10:12,252 - INFO - Detaching port fb6088b9-c7ae-46d9-9dd8-f68161ab5726 from VM ctest-vn1-vm1-21695412 2025-10-24 17:10:12,289 - INFO - Deleting VM ctest-vn1-vm1-21695412 2025-10-24 17:10:12,551 - DEBUG - Response for delete_port : () 2025-10-24 17:10:12,730 - DEBUG - Response for delete_port : () 2025-10-24 17:10:12,730 - INFO - Deleting VN ctest-vn1-20189256 2025-10-24 17:10:12,882 - DEBUG - Response for deleting network () 2025-10-24 17:10:13,138 - DEBUG - No XMPP flaps were noticed during the test 2025-10-24 17:10:13,138 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-10-24 17:10:13,139 - INFO - -------------------------------------------------------------------------------- 2025-10-24 17:10:13,860 - INFO - Deleted project: ctest-TestPorts-13923871, ID : 0268ea63-5929-4a5f-b0d2-4a439e1c9c6a