2025-10-14 18:11:57,628 - INFO - Domain Default found not creating 2025-10-14 18:11:57,821 - INFO - Project ctest-TestPorts-56724759 not found, creating it 2025-10-14 18:11:58,247 - INFO - Created Project:ctest-TestPorts-56724759, ID : bbe87e67-699c-43cd-9425-e46b3ffb3d32 2025-10-14 18:11:59,604 - INFO - ================================================================================ 2025-10-14 18:11:59,604 - INFO - STARTING TEST : test_ports_bindings 2025-10-14 18:11:59,604 - 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-14 18:11:59,857 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-14 18:11:59,857 - INFO - Initial checks done. Running the testcase now 2025-10-14 18:11:59,857 - INFO - 2025-10-14 18:12:00,378 - DEBUG - Response for create_network : {'network': {'id': '0e6d05ca-ed54-4e38-ad0b-100ee25c9556', 'name': 'ctest-vn-78127731', 'tenant_id': 'bbe87e67699c43cd9425e46b3ffb3d32', 'project_id': 'bbe87e67699c43cd9425e46b3ffb3d32', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-56724759', 'ctest-vn-78127731'], 'port_security_enabled': True, 'description': ''}} 2025-10-14 18:12:00,577 - DEBUG - Response for create_subnet : {'subnet': {'id': '7881f4ce-e7a0-4d60-86ea-6b2fdb19176b', 'name': '', 'tenant_id': 'bbe87e67699c43cd9425e46b3ffb3d32', 'network_id': '0e6d05ca-ed54-4e38-ad0b-100ee25c9556', 'ip_version': 4, 'cidr': '203.99.162.0/26', 'allocation_pools': [{'start': '203.99.162.2', 'end': '203.99.162.62'}], 'gateway_ip': '203.99.162.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.99.162.2', 'tags': [], 'project_id': 'bbe87e67699c43cd9425e46b3ffb3d32'}} 2025-10-14 18:12:00,593 - INFO - Created VN ctest-vn-78127731 2025-10-14 18:12:00,644 - DEBUG - VN ctest-vn-78127731 UUID is 0e6d05ca-ed54-4e38-ad0b-100ee25c9556 2025-10-14 18:12:00,738 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-56724759', 'ctest-vmi-05250709']} 2025-10-14 18:12:00,998 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-05250709', 'id': '2e2bbc6a-f9e4-489b-b2b8-b2f602d24ad0', 'tenant_id': 'bbe87e67699c43cd9425e46b3ffb3d32', 'network_id': '0e6d05ca-ed54-4e38-ad0b-100ee25c9556', 'mac_address': '02:2e:2b:bc:6a:f9', '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': '203.99.162.3', 'subnet_id': '7881f4ce-e7a0-4d60-86ea-6b2fdb19176b'}], 'security_groups': ['d9995f3a-5ec9-494f-9811-5d6e75fbff00'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bbe87e67699c43cd9425e46b3ffb3d32'}} 2025-10-14 18:12:00,998 - DEBUG - Created port 2e2bbc6a-f9e4-489b-b2b8-b2f602d24ad0 2025-10-14 18:12:01,104 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2e2bbc6a-f9e4-489b-b2b8-b2f602d24ad0 2025-10-14 18:12:01,392 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2e2bbc6a-f9e4-489b-b2b8-b2f602d24ad0 2025-10-14 18:12:01,698 - INFO - VMI 2e2bbc6a-f9e4-489b-b2b8-b2f602d24ad0 verification in API Server passed 2025-10-14 18:12:01,781 - DEBUG - Response for delete_port : () 2025-10-14 18:12:01,781 - INFO - Deleted port 2e2bbc6a-f9e4-489b-b2b8-b2f602d24ad0 2025-10-14 18:12:01,781 - INFO - Deleting VN ctest-vn-78127731 2025-10-14 18:12:01,871 - DEBUG - Response for deleting network () 2025-10-14 18:12:02,124 - DEBUG - No XMPP flaps were noticed during the test 2025-10-14 18:12:02,124 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-14 18:12:02,124 - INFO - -------------------------------------------------------------------------------- 2025-10-14 18:12:02,126 - INFO - ================================================================================ 2025-10-14 18:12:02,126 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-14 18:12:02,126 - 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-14 18:12:02,416 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-14 18:12:02,416 - INFO - Initial checks done. Running the testcase now 2025-10-14 18:12:02,416 - INFO - 2025-10-14 18:12:02,574 - DEBUG - Response for create_network : {'network': {'id': '1fda2d21-39ac-46ca-91e2-b3feb05471d0', 'name': 'ctest-vn1-68001276', 'tenant_id': 'bbe87e67699c43cd9425e46b3ffb3d32', 'project_id': 'bbe87e67699c43cd9425e46b3ffb3d32', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-56724759', 'ctest-vn1-68001276'], 'port_security_enabled': True, 'description': ''}} 2025-10-14 18:12:02,777 - DEBUG - Response for create_subnet : {'subnet': {'id': '860897d8-50c0-4579-a683-4788898f1641', 'name': '', 'tenant_id': 'bbe87e67699c43cd9425e46b3ffb3d32', 'network_id': '1fda2d21-39ac-46ca-91e2-b3feb05471d0', 'ip_version': 4, 'cidr': '76.67.6.0/26', 'allocation_pools': [{'start': '76.67.6.2', 'end': '76.67.6.62'}], 'gateway_ip': '76.67.6.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.67.6.2', 'tags': [], 'project_id': 'bbe87e67699c43cd9425e46b3ffb3d32'}} 2025-10-14 18:12:02,930 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd525e9b-88df-4c41-9e57-2d3a2c249910', 'name': '', 'tenant_id': 'bbe87e67699c43cd9425e46b3ffb3d32', 'network_id': '1fda2d21-39ac-46ca-91e2-b3feb05471d0', 'ip_version': 4, 'cidr': '111.241.60.0/26', 'allocation_pools': [{'start': '111.241.60.2', 'end': '111.241.60.62'}], 'gateway_ip': '111.241.60.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.241.60.2', 'tags': [], 'project_id': 'bbe87e67699c43cd9425e46b3ffb3d32'}} 2025-10-14 18:12:02,947 - INFO - Created VN ctest-vn1-68001276 2025-10-14 18:12:03,000 - DEBUG - VN ctest-vn1-68001276 UUID is 1fda2d21-39ac-46ca-91e2-b3feb05471d0 2025-10-14 18:12:03,289 - DEBUG - Response for create_port : {'port': {'name': '00459be8-001a-424e-93e4-ff6f97831106', 'id': '00459be8-001a-424e-93e4-ff6f97831106', 'tenant_id': 'bbe87e67699c43cd9425e46b3ffb3d32', 'network_id': '1fda2d21-39ac-46ca-91e2-b3feb05471d0', 'mac_address': '02:00:45:9b:e8:00', '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': '76.67.6.5', 'subnet_id': '860897d8-50c0-4579-a683-4788898f1641'}], 'security_groups': ['d9995f3a-5ec9-494f-9811-5d6e75fbff00'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bbe87e67699c43cd9425e46b3ffb3d32'}} 2025-10-14 18:12:03,438 - DEBUG - Response for create_port : {'port': {'name': '3fd1236e-2e46-44ff-83da-7ad1fcc048b7', 'id': '3fd1236e-2e46-44ff-83da-7ad1fcc048b7', 'tenant_id': 'bbe87e67699c43cd9425e46b3ffb3d32', 'network_id': '1fda2d21-39ac-46ca-91e2-b3feb05471d0', 'mac_address': '02:3f:d1:23:6e:2e', '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': '111.241.60.5', 'subnet_id': 'dd525e9b-88df-4c41-9e57-2d3a2c249910'}], 'security_groups': ['d9995f3a-5ec9-494f-9811-5d6e75fbff00'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bbe87e67699c43cd9425e46b3ffb3d32'}} 2025-10-14 18:12:03,491 - DEBUG - Services list from nova: [, , ] 2025-10-14 18:12:03,789 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4316-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4316-1) 2025-10-14 18:12:04,183 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4316-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4316-1) 2025-10-14 18:12:04,183 - INFO - Waiting for VM ctest-vn1-vm1-15776845 to be up.. 2025-10-14 18:12:04,225 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-14 18:12:09,290 - DEBUG - VM is in ACTIVE state now 2025-10-14 18:12:09,290 - INFO - VM name : ctest-vn1-vm1-15776845 2025-10-14 18:12:09,353 - DEBUG - VM ctest-vn1-vm1-15776845 ID is dda2b847-7a70-449c-805d-72a211411119 2025-10-14 18:12:09,369 - DEBUG - VM ctest-vn1-vm1-15776845 launched on Node cn-jenkins-deploy-platform-ansible-os-4316-1 2025-10-14 18:12:09,431 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/dda2b847-7a70-449c-805d-72a211411119 2025-10-14 18:12:09,439 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/00459be8-001a-424e-93e4-ff6f97831106 2025-10-14 18:12:12,689 - 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 1018ms') 2025-10-14 18:12:12,689 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15776845 failed! 2025-10-14 18:12:12,744 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-56724759:ctest-vn1-68001276 is 76.67.6.1 and allocation pool is NOT set 2025-10-14 18:12:12,744 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-56724759:ctest-vn1-68001276 is 111.241.60.1 and allocation pool is NOT set 2025-10-14 18:12:14,806 - 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=3.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.750 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 = 0.750/2.153/3.556/1.403 ms') 2025-10-14 18:12:14,806 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15776845 passed 2025-10-14 18:12:14,956 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:12:14,956 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-15776845, IP 76.67.6.5, Port 22 2025-10-14 18:12:15,141 - DEBUG - VM ctest-vn1-vm1-15776845 is ready for SSH connections 2025-10-14 18:12:15,141 - INFO - Waiting for VM ctest-vn1-vm2-56220047 to be up.. 2025-10-14 18:12:15,214 - DEBUG - VM is in ACTIVE state now 2025-10-14 18:12:15,214 - INFO - VM name : ctest-vn1-vm2-56220047 2025-10-14 18:12:15,281 - DEBUG - VM ctest-vn1-vm2-56220047 ID is 31408011-1360-4dfb-9094-4cff5fefb044 2025-10-14 18:12:15,281 - DEBUG - VM ctest-vn1-vm2-56220047 launched on Node cn-jenkins-deploy-platform-ansible-os-4316-1 2025-10-14 18:12:15,346 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/31408011-1360-4dfb-9094-4cff5fefb044 2025-10-14 18:12:15,355 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3fd1236e-2e46-44ff-83da-7ad1fcc048b7 2025-10-14 18:12:16,588 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.368 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.368/1.589/2.810/1.221 ms') 2025-10-14 18:12:16,588 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-56220047 passed 2025-10-14 18:12:16,736 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:12:16,736 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-56220047, IP 111.241.60.5, Port 22 2025-10-14 18:12:16,891 - DEBUG - VM ctest-vn1-vm2-56220047 is ready for SSH connections 2025-10-14 18:12:16,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:12:16,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:12:16,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:12:16,891 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.67.6.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-14 18:12:16,891 - DEBUG - ping -s 56 -c 3 -W 1 76.67.6.5 2025-10-14 18:12:19,799 - DEBUG - PING 76.67.6.5 (76.67.6.5): 56 data bytes 64 bytes from 76.67.6.5: seq=0 ttl=63 time=3.381 ms 64 bytes from 76.67.6.5: seq=1 ttl=63 time=0.876 ms 64 bytes from 76.67.6.5: seq=2 ttl=63 time=0.847 ms --- 76.67.6.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.847/1.701/3.381 ms 2025-10-14 18:12:19,799 - INFO - Ping to IP 76.67.6.5 from VM ctest-vn1-vm2-56220047 passed 2025-10-14 18:12:19,799 - INFO - Detaching port 3fd1236e-2e46-44ff-83da-7ad1fcc048b7 from VM ctest-vn1-vm2-56220047 2025-10-14 18:12:19,847 - INFO - Deleting VM ctest-vn1-vm2-56220047 2025-10-14 18:12:19,904 - INFO - Detaching port 00459be8-001a-424e-93e4-ff6f97831106 from VM ctest-vn1-vm1-15776845 2025-10-14 18:12:19,932 - INFO - Deleting VM ctest-vn1-vm1-15776845 2025-10-14 18:12:20,146 - DEBUG - Response for delete_port : () 2025-10-14 18:12:20,307 - DEBUG - Response for delete_port : () 2025-10-14 18:12:20,307 - INFO - Deleting VN ctest-vn1-68001276 2025-10-14 18:12:20,450 - DEBUG - Response for deleting network () 2025-10-14 18:12:20,704 - DEBUG - No XMPP flaps were noticed during the test 2025-10-14 18:12:20,704 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-10-14 18:12:20,704 - INFO - -------------------------------------------------------------------------------- 2025-10-14 18:12:21,352 - INFO - Deleted project: ctest-TestPorts-56724759, ID : bbe87e67-699c-43cd-9425-e46b3ffb3d32