2025-10-24 07:08:41,198 - INFO - Domain Default found not creating 2025-10-24 07:08:41,328 - INFO - Project ctest-TestPorts-65519367 not found, creating it 2025-10-24 07:08:41,754 - INFO - Created Project:ctest-TestPorts-65519367, ID : 3d8c0c9f-277a-43c3-bff7-89917b3af4db 2025-10-24 07:08:43,118 - INFO - ================================================================================ 2025-10-24 07:08:43,118 - INFO - STARTING TEST : test_ports_bindings 2025-10-24 07:08:43,118 - 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 07:08:43,371 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-24 07:08:43,371 - INFO - Initial checks done. Running the testcase now 2025-10-24 07:08:43,371 - INFO - 2025-10-24 07:08:43,915 - DEBUG - Response for create_network : {'network': {'id': 'dbfe7bc1-c39a-4b8f-8cec-6aef1db3f295', 'name': 'ctest-vn-13755199', 'tenant_id': '3d8c0c9f277a43c3bff789917b3af4db', 'project_id': '3d8c0c9f277a43c3bff789917b3af4db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65519367', 'ctest-vn-13755199'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 07:08:44,148 - DEBUG - Response for create_subnet : {'subnet': {'id': '646ba78f-c870-4a1e-bcb0-638511fdd6a0', 'name': '', 'tenant_id': '3d8c0c9f277a43c3bff789917b3af4db', 'network_id': 'dbfe7bc1-c39a-4b8f-8cec-6aef1db3f295', 'ip_version': 4, 'cidr': '46.231.29.192/26', 'allocation_pools': [{'start': '46.231.29.194', 'end': '46.231.29.254'}], 'gateway_ip': '46.231.29.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.231.29.194', 'tags': [], 'project_id': '3d8c0c9f277a43c3bff789917b3af4db'}} 2025-10-24 07:08:44,164 - INFO - Created VN ctest-vn-13755199 2025-10-24 07:08:44,217 - DEBUG - VN ctest-vn-13755199 UUID is dbfe7bc1-c39a-4b8f-8cec-6aef1db3f295 2025-10-24 07:08:44,323 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-65519367', 'ctest-vmi-20174587']} 2025-10-24 07:08:44,595 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-20174587', 'id': '9eae0759-6299-43d2-b675-f1013369a7c0', 'tenant_id': '3d8c0c9f277a43c3bff789917b3af4db', 'network_id': 'dbfe7bc1-c39a-4b8f-8cec-6aef1db3f295', 'mac_address': '02:9e:ae:07:59:62', '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': '46.231.29.195', 'subnet_id': '646ba78f-c870-4a1e-bcb0-638511fdd6a0'}], 'security_groups': ['45099727-9a56-4d62-9376-d5427651d821'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3d8c0c9f277a43c3bff789917b3af4db'}} 2025-10-24 07:08:44,595 - DEBUG - Created port 9eae0759-6299-43d2-b675-f1013369a7c0 2025-10-24 07:08:44,701 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9eae0759-6299-43d2-b675-f1013369a7c0 2025-10-24 07:08:44,993 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9eae0759-6299-43d2-b675-f1013369a7c0 2025-10-24 07:08:45,021 - INFO - VMI 9eae0759-6299-43d2-b675-f1013369a7c0 verification in API Server passed 2025-10-24 07:08:45,101 - DEBUG - Response for delete_port : () 2025-10-24 07:08:45,101 - INFO - Deleted port 9eae0759-6299-43d2-b675-f1013369a7c0 2025-10-24 07:08:45,101 - INFO - Deleting VN ctest-vn-13755199 2025-10-24 07:08:45,211 - DEBUG - Response for deleting network () 2025-10-24 07:08:45,466 - DEBUG - No XMPP flaps were noticed during the test 2025-10-24 07:08:45,466 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-24 07:08:45,466 - INFO - -------------------------------------------------------------------------------- 2025-10-24 07:08:45,468 - INFO - ================================================================================ 2025-10-24 07:08:45,468 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-24 07:08:45,468 - 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 07:08:45,760 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-24 07:08:45,760 - INFO - Initial checks done. Running the testcase now 2025-10-24 07:08:45,760 - INFO - 2025-10-24 07:08:45,945 - DEBUG - Response for create_network : {'network': {'id': '9e5464eb-b14d-4652-94d4-4c9502f36f4b', 'name': 'ctest-vn1-88654148', 'tenant_id': '3d8c0c9f277a43c3bff789917b3af4db', 'project_id': '3d8c0c9f277a43c3bff789917b3af4db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65519367', 'ctest-vn1-88654148'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 07:08:46,110 - DEBUG - Response for create_subnet : {'subnet': {'id': '210cd75b-6d28-4123-898a-a555a3284d48', 'name': '', 'tenant_id': '3d8c0c9f277a43c3bff789917b3af4db', 'network_id': '9e5464eb-b14d-4652-94d4-4c9502f36f4b', 'ip_version': 4, 'cidr': '106.197.203.128/26', 'allocation_pools': [{'start': '106.197.203.130', 'end': '106.197.203.190'}], 'gateway_ip': '106.197.203.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.197.203.130', 'tags': [], 'project_id': '3d8c0c9f277a43c3bff789917b3af4db'}} 2025-10-24 07:08:46,269 - DEBUG - Response for create_subnet : {'subnet': {'id': '81749d8e-32fb-4719-aa15-0cb36c9641e8', 'name': '', 'tenant_id': '3d8c0c9f277a43c3bff789917b3af4db', 'network_id': '9e5464eb-b14d-4652-94d4-4c9502f36f4b', 'ip_version': 4, 'cidr': '197.164.137.128/26', 'allocation_pools': [{'start': '197.164.137.130', 'end': '197.164.137.190'}], 'gateway_ip': '197.164.137.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.164.137.130', 'tags': [], 'project_id': '3d8c0c9f277a43c3bff789917b3af4db'}} 2025-10-24 07:08:46,289 - INFO - Created VN ctest-vn1-88654148 2025-10-24 07:08:46,341 - DEBUG - VN ctest-vn1-88654148 UUID is 9e5464eb-b14d-4652-94d4-4c9502f36f4b 2025-10-24 07:08:46,643 - DEBUG - Response for create_port : {'port': {'name': '7e2ce4f2-50d3-433a-8c65-afb11cb473c5', 'id': '7e2ce4f2-50d3-433a-8c65-afb11cb473c5', 'tenant_id': '3d8c0c9f277a43c3bff789917b3af4db', 'network_id': '9e5464eb-b14d-4652-94d4-4c9502f36f4b', 'mac_address': '02:7e:2c:e4:f2:50', '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': '106.197.203.133', 'subnet_id': '210cd75b-6d28-4123-898a-a555a3284d48'}], 'security_groups': ['45099727-9a56-4d62-9376-d5427651d821'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3d8c0c9f277a43c3bff789917b3af4db'}} 2025-10-24 07:08:46,806 - DEBUG - Response for create_port : {'port': {'name': '07c3bcaf-d12b-4b8c-8142-2c2ee955f390', 'id': '07c3bcaf-d12b-4b8c-8142-2c2ee955f390', 'tenant_id': '3d8c0c9f277a43c3bff789917b3af4db', 'network_id': '9e5464eb-b14d-4652-94d4-4c9502f36f4b', 'mac_address': '02:07:c3:bc:af:d1', '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': '197.164.137.133', 'subnet_id': '81749d8e-32fb-4719-aa15-0cb36c9641e8'}], 'security_groups': ['45099727-9a56-4d62-9376-d5427651d821'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3d8c0c9f277a43c3bff789917b3af4db'}} 2025-10-24 07:08:46,857 - DEBUG - Services list from nova: [, , ] 2025-10-24 07:08:47,185 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4473-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4473-1) 2025-10-24 07:08:47,705 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4473-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4473-1) 2025-10-24 07:08:47,705 - INFO - Waiting for VM ctest-vn1-vm1-59492271 to be up.. 2025-10-24 07:08:47,753 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-24 07:08:52,827 - DEBUG - VM is in ACTIVE state now 2025-10-24 07:08:52,827 - INFO - VM name : ctest-vn1-vm1-59492271 2025-10-24 07:08:52,897 - DEBUG - VM ctest-vn1-vm1-59492271 ID is 8aeb7590-d690-482d-800f-10661f0b04c2 2025-10-24 07:08:52,917 - DEBUG - VM ctest-vn1-vm1-59492271 launched on Node cn-jenkins-deploy-platform-ansible-os-4473-1 2025-10-24 07:08:52,993 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8aeb7590-d690-482d-800f-10661f0b04c2 2025-10-24 07:08:53,001 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7e2ce4f2-50d3-433a-8c65-afb11cb473c5 2025-10-24 07:08:56,261 - 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-10-24 07:08:56,261 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-59492271 failed! 2025-10-24 07:08:56,313 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65519367:ctest-vn1-88654148 is 106.197.203.129 and allocation pool is NOT set 2025-10-24 07:08:56,313 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65519367:ctest-vn1-88654148 is 197.164.137.129 and allocation pool is NOT set 2025-10-24 07:08:58,377 - 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=6.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.66 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.658/4.631/6.604/1.973 ms') 2025-10-24 07:08:58,377 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-59492271 passed 2025-10-24 07:08:58,533 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 07:08:58,534 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-59492271, IP 106.197.203.133, Port 22 2025-10-24 07:08:58,699 - DEBUG - VM ctest-vn1-vm1-59492271 is ready for SSH connections 2025-10-24 07:08:58,700 - INFO - Waiting for VM ctest-vn1-vm2-72118812 to be up.. 2025-10-24 07:08:58,774 - DEBUG - VM is in ACTIVE state now 2025-10-24 07:08:58,774 - INFO - VM name : ctest-vn1-vm2-72118812 2025-10-24 07:08:58,851 - DEBUG - VM ctest-vn1-vm2-72118812 ID is 9abcc6f7-86fd-4650-92f1-48c1c88803ab 2025-10-24 07:08:58,852 - DEBUG - VM ctest-vn1-vm2-72118812 launched on Node cn-jenkins-deploy-platform-ansible-os-4473-1 2025-10-24 07:08:58,926 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9abcc6f7-86fd-4650-92f1-48c1c88803ab 2025-10-24 07:08:58,934 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/07c3bcaf-d12b-4b8c-8142-2c2ee955f390 2025-10-24 07:09:00,166 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.447 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.447/1.648/2.849/1.201 ms') 2025-10-24 07:09:00,166 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-72118812 passed 2025-10-24 07:09:00,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 07:09:00,314 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-72118812, IP 197.164.137.133, Port 22 2025-10-24 07:09:00,469 - DEBUG - VM ctest-vn1-vm2-72118812 is ready for SSH connections 2025-10-24 07:09:00,469 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 07:09:00,469 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 07:09:00,469 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 07:09:00,469 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.197.203.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-24 07:09:00,469 - DEBUG - ping -s 56 -c 3 -W 1 106.197.203.133 2025-10-24 07:09:03,156 - DEBUG - PING 106.197.203.133 (106.197.203.133): 56 data bytes 64 bytes from 106.197.203.133: seq=0 ttl=63 time=3.316 ms 64 bytes from 106.197.203.133: seq=1 ttl=63 time=0.766 ms 64 bytes from 106.197.203.133: seq=2 ttl=63 time=0.876 ms --- 106.197.203.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.766/1.652/3.316 ms 2025-10-24 07:09:03,156 - INFO - Ping to IP 106.197.203.133 from VM ctest-vn1-vm2-72118812 passed 2025-10-24 07:09:03,156 - INFO - Detaching port 07c3bcaf-d12b-4b8c-8142-2c2ee955f390 from VM ctest-vn1-vm2-72118812 2025-10-24 07:09:03,206 - INFO - Deleting VM ctest-vn1-vm2-72118812 2025-10-24 07:09:03,276 - INFO - Detaching port 7e2ce4f2-50d3-433a-8c65-afb11cb473c5 from VM ctest-vn1-vm1-59492271 2025-10-24 07:09:03,312 - INFO - Deleting VM ctest-vn1-vm1-59492271 2025-10-24 07:09:03,536 - DEBUG - Response for delete_port : () 2025-10-24 07:09:03,694 - DEBUG - Response for delete_port : () 2025-10-24 07:09:03,694 - INFO - Deleting VN ctest-vn1-88654148 2025-10-24 07:09:03,817 - DEBUG - Response for deleting network () 2025-10-24 07:09:04,076 - DEBUG - No XMPP flaps were noticed during the test 2025-10-24 07:09:04,076 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-10-24 07:09:04,076 - INFO - -------------------------------------------------------------------------------- 2025-10-24 07:09:04,733 - INFO - Deleted project: ctest-TestPorts-65519367, ID : 3d8c0c9f-277a-43c3-bff7-89917b3af4db