2025-11-18 01:04:14,380 - INFO - Domain Default found not creating 2025-11-18 01:04:14,556 - INFO - Project ctest-TestPorts-94960003 not found, creating it 2025-11-18 01:04:15,006 - INFO - Created Project:ctest-TestPorts-94960003, ID : 020baa3b-6cfd-4933-95df-52b0124680e6 2025-11-18 01:04:16,475 - INFO - ================================================================================ 2025-11-18 01:04:16,476 - INFO - STARTING TEST : test_ports_bindings 2025-11-18 01:04:16,476 - 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-11-18 01:04:16,746 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-18 01:04:16,746 - INFO - Initial checks done. Running the testcase now 2025-11-18 01:04:16,746 - INFO - 2025-11-18 01:04:17,304 - DEBUG - Response for create_network : {'network': {'id': '046e32fe-0d37-4ad7-8f05-447eccdd7643', 'name': 'ctest-vn-77945214', 'tenant_id': '020baa3b6cfd493395df52b0124680e6', 'project_id': '020baa3b6cfd493395df52b0124680e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94960003', 'ctest-vn-77945214'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 01:04:17,491 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c3549167-63f1-490f-a08f-40ad3493894a', 'name': '', 'tenant_id': '020baa3b6cfd493395df52b0124680e6', 'network_id': '046e32fe-0d37-4ad7-8f05-447eccdd7643', 'ip_version': 4, 'cidr': '217.5.141.0/26', 'allocation_pools': [{'start': '217.5.141.2', 'end': '217.5.141.62'}], 'gateway_ip': '217.5.141.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.5.141.2', 'tags': [], 'project_id': '020baa3b6cfd493395df52b0124680e6'}} 2025-11-18 01:04:17,508 - INFO - Created VN ctest-vn-77945214 2025-11-18 01:04:17,560 - DEBUG - VN ctest-vn-77945214 UUID is 046e32fe-0d37-4ad7-8f05-447eccdd7643 2025-11-18 01:04:17,663 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-94960003', 'ctest-vmi-39291562']} 2025-11-18 01:04:17,941 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-39291562', 'id': 'c3a665e5-4a90-42ce-ba64-464d04bbae85', 'tenant_id': '020baa3b6cfd493395df52b0124680e6', 'network_id': '046e32fe-0d37-4ad7-8f05-447eccdd7643', 'mac_address': '02:c3:a6:65:e5:4a', '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.5.141.3', 'subnet_id': 'c3549167-63f1-490f-a08f-40ad3493894a'}], 'security_groups': ['afa1ecf7-186e-4b6f-ac21-7920b2c01ecd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '020baa3b6cfd493395df52b0124680e6'}} 2025-11-18 01:04:17,941 - DEBUG - Created port c3a665e5-4a90-42ce-ba64-464d04bbae85 2025-11-18 01:04:18,044 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c3a665e5-4a90-42ce-ba64-464d04bbae85 2025-11-18 01:04:18,336 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c3a665e5-4a90-42ce-ba64-464d04bbae85 2025-11-18 01:04:18,370 - INFO - VMI c3a665e5-4a90-42ce-ba64-464d04bbae85 verification in API Server passed 2025-11-18 01:04:18,452 - DEBUG - Response for delete_port : () 2025-11-18 01:04:18,452 - INFO - Deleted port c3a665e5-4a90-42ce-ba64-464d04bbae85 2025-11-18 01:04:18,452 - INFO - Deleting VN ctest-vn-77945214 2025-11-18 01:04:18,555 - DEBUG - Response for deleting network () 2025-11-18 01:04:18,814 - DEBUG - No XMPP flaps were noticed during the test 2025-11-18 01:04:18,814 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-18 01:04:18,814 - INFO - -------------------------------------------------------------------------------- 2025-11-18 01:04:18,818 - INFO - ================================================================================ 2025-11-18 01:04:18,818 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-18 01:04:18,818 - 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-11-18 01:04:19,103 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-18 01:04:19,103 - INFO - Initial checks done. Running the testcase now 2025-11-18 01:04:19,103 - INFO - 2025-11-18 01:04:19,292 - DEBUG - Response for create_network : {'network': {'id': 'b065b35f-1d43-4787-92eb-6bf211d0733d', 'name': 'ctest-vn1-18026205', 'tenant_id': '020baa3b6cfd493395df52b0124680e6', 'project_id': '020baa3b6cfd493395df52b0124680e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94960003', 'ctest-vn1-18026205'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 01:04:19,494 - DEBUG - Response for create_subnet : {'subnet': {'id': '72f891ed-317b-4cbc-b202-9f56bded2528', 'name': '', 'tenant_id': '020baa3b6cfd493395df52b0124680e6', 'network_id': 'b065b35f-1d43-4787-92eb-6bf211d0733d', 'ip_version': 4, 'cidr': '37.111.82.192/26', 'allocation_pools': [{'start': '37.111.82.194', 'end': '37.111.82.254'}], 'gateway_ip': '37.111.82.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.111.82.194', 'tags': [], 'project_id': '020baa3b6cfd493395df52b0124680e6'}} 2025-11-18 01:04:19,709 - DEBUG - Response for create_subnet : {'subnet': {'id': '11157373-76ea-4f58-90d6-1960fb695864', 'name': '', 'tenant_id': '020baa3b6cfd493395df52b0124680e6', 'network_id': 'b065b35f-1d43-4787-92eb-6bf211d0733d', 'ip_version': 4, 'cidr': '20.124.20.0/26', 'allocation_pools': [{'start': '20.124.20.2', 'end': '20.124.20.62'}], 'gateway_ip': '20.124.20.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.124.20.2', 'tags': [], 'project_id': '020baa3b6cfd493395df52b0124680e6'}} 2025-11-18 01:04:19,730 - INFO - Created VN ctest-vn1-18026205 2025-11-18 01:04:19,784 - DEBUG - VN ctest-vn1-18026205 UUID is b065b35f-1d43-4787-92eb-6bf211d0733d 2025-11-18 01:04:20,080 - DEBUG - Response for create_port : {'port': {'name': '74852ed5-850b-4045-b2eb-c24da7d7ea08', 'id': '74852ed5-850b-4045-b2eb-c24da7d7ea08', 'tenant_id': '020baa3b6cfd493395df52b0124680e6', 'network_id': 'b065b35f-1d43-4787-92eb-6bf211d0733d', 'mac_address': '02:74:85:2e:d5:85', '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': '37.111.82.197', 'subnet_id': '72f891ed-317b-4cbc-b202-9f56bded2528'}], 'security_groups': ['afa1ecf7-186e-4b6f-ac21-7920b2c01ecd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '020baa3b6cfd493395df52b0124680e6'}} 2025-11-18 01:04:20,251 - DEBUG - Response for create_port : {'port': {'name': '4239596f-e9ff-4c3f-8509-50a4d7e5a6d4', 'id': '4239596f-e9ff-4c3f-8509-50a4d7e5a6d4', 'tenant_id': '020baa3b6cfd493395df52b0124680e6', 'network_id': 'b065b35f-1d43-4787-92eb-6bf211d0733d', 'mac_address': '02:42:39:59:6f:e9', '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': '20.124.20.5', 'subnet_id': '11157373-76ea-4f58-90d6-1960fb695864'}], 'security_groups': ['afa1ecf7-186e-4b6f-ac21-7920b2c01ecd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '020baa3b6cfd493395df52b0124680e6'}} 2025-11-18 01:04:20,314 - DEBUG - Services list from nova: [, , ] 2025-11-18 01:04:20,642 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4750-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4750-1) 2025-11-18 01:04:21,050 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4750-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4750-1) 2025-11-18 01:04:21,050 - INFO - Waiting for VM ctest-vn1-vm1-66769037 to be up.. 2025-11-18 01:04:21,088 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-18 01:04:26,170 - DEBUG - VM is in ACTIVE state now 2025-11-18 01:04:26,170 - INFO - VM name : ctest-vn1-vm1-66769037 2025-11-18 01:04:26,243 - DEBUG - VM ctest-vn1-vm1-66769037 ID is 08e98aff-eb3c-4393-a616-61f1bc30ce5f 2025-11-18 01:04:26,262 - DEBUG - VM ctest-vn1-vm1-66769037 launched on Node cn-jenkins-deploy-platform-ansible-os-4750-1 2025-11-18 01:04:26,341 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/08e98aff-eb3c-4393-a616-61f1bc30ce5f 2025-11-18 01:04:26,349 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/74852ed5-850b-4045-b2eb-c24da7d7ea08 2025-11-18 01:04:29,614 - 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 1026ms') 2025-11-18 01:04:29,615 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66769037 failed! 2025-11-18 01:04:29,668 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94960003:ctest-vn1-18026205 is 37.111.82.193 and allocation pool is NOT set 2025-11-18 01:04:29,668 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94960003:ctest-vn1-18026205 is 20.124.20.1 and allocation pool is NOT set 2025-11-18 01:04:33,739 - 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=9.11 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 9.107/9.107/9.107/0.000 ms') 2025-11-18 01:04:33,739 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66769037 passed 2025-11-18 01:04:33,892 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 01:04:33,892 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-66769037, IP 37.111.82.197, Port 22 2025-11-18 01:04:34,048 - DEBUG - VM ctest-vn1-vm1-66769037 is ready for SSH connections 2025-11-18 01:04:34,048 - INFO - Waiting for VM ctest-vn1-vm2-88157391 to be up.. 2025-11-18 01:04:34,117 - DEBUG - VM is in ACTIVE state now 2025-11-18 01:04:34,117 - INFO - VM name : ctest-vn1-vm2-88157391 2025-11-18 01:04:34,182 - DEBUG - VM ctest-vn1-vm2-88157391 ID is e7e1c3a5-aa22-475b-96e5-8ea3f1c6cd25 2025-11-18 01:04:34,182 - DEBUG - VM ctest-vn1-vm2-88157391 launched on Node cn-jenkins-deploy-platform-ansible-os-4750-1 2025-11-18 01:04:34,248 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e7e1c3a5-aa22-475b-96e5-8ea3f1c6cd25 2025-11-18 01:04:34,256 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4239596f-e9ff-4c3f-8509-50a4d7e5a6d4 2025-11-18 01:04:35,492 - 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.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.397 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.397/1.827/3.258/1.430 ms') 2025-11-18 01:04:35,492 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-88157391 passed 2025-11-18 01:04:35,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 01:04:35,644 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-88157391, IP 20.124.20.5, Port 22 2025-11-18 01:04:35,800 - DEBUG - VM ctest-vn1-vm2-88157391 is ready for SSH connections 2025-11-18 01:04:35,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 01:04:35,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 01:04:35,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 01:04:35,800 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.111.82.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-18 01:04:35,800 - DEBUG - ping -s 56 -c 3 -W 1 37.111.82.197 2025-11-18 01:04:38,754 - DEBUG - PING 37.111.82.197 (37.111.82.197): 56 data bytes 64 bytes from 37.111.82.197: seq=0 ttl=63 time=3.847 ms 64 bytes from 37.111.82.197: seq=1 ttl=63 time=0.750 ms 64 bytes from 37.111.82.197: seq=2 ttl=63 time=0.752 ms --- 37.111.82.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.750/1.783/3.847 ms 2025-11-18 01:04:38,754 - INFO - Ping to IP 37.111.82.197 from VM ctest-vn1-vm2-88157391 passed 2025-11-18 01:04:38,754 - INFO - Detaching port 4239596f-e9ff-4c3f-8509-50a4d7e5a6d4 from VM ctest-vn1-vm2-88157391 2025-11-18 01:04:38,800 - INFO - Deleting VM ctest-vn1-vm2-88157391 2025-11-18 01:04:38,858 - INFO - Detaching port 74852ed5-850b-4045-b2eb-c24da7d7ea08 from VM ctest-vn1-vm1-66769037 2025-11-18 01:04:38,887 - INFO - Deleting VM ctest-vn1-vm1-66769037 2025-11-18 01:04:39,077 - DEBUG - Response for delete_port : () 2025-11-18 01:04:39,226 - DEBUG - Response for delete_port : () 2025-11-18 01:04:39,226 - INFO - Deleting VN ctest-vn1-18026205 2025-11-18 01:04:39,373 - DEBUG - Response for deleting network () 2025-11-18 01:04:39,629 - DEBUG - No XMPP flaps were noticed during the test 2025-11-18 01:04:39,629 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-11-18 01:04:39,629 - INFO - -------------------------------------------------------------------------------- 2025-11-18 01:04:40,304 - INFO - Deleted project: ctest-TestPorts-94960003, ID : 020baa3b-6cfd-4933-95df-52b0124680e6