2025-10-31 00:22:33,908 - INFO - Domain Default found not creating 2025-10-31 00:22:34,073 - INFO - Project ctest-TestPorts-86616351 not found, creating it 2025-10-31 00:22:34,638 - INFO - Created Project:ctest-TestPorts-86616351, ID : 43a6ce0e-40c5-4a76-b833-df71f6bbe12f 2025-10-31 00:22:36,115 - INFO - ================================================================================ 2025-10-31 00:22:36,116 - INFO - STARTING TEST : test_ports_bindings 2025-10-31 00:22:36,116 - 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-31 00:22:36,387 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.241': '0'}} with 2025-10-31 00:22:36,387 - INFO - Initial checks done. Running the testcase now 2025-10-31 00:22:36,387 - INFO - 2025-10-31 00:22:36,951 - DEBUG - Response for create_network : {'network': {'id': '9ac2517f-0f2a-4a4c-b935-e73ded281988', 'name': 'ctest-vn-14793499', 'tenant_id': '43a6ce0e40c54a76b833df71f6bbe12f', 'project_id': '43a6ce0e40c54a76b833df71f6bbe12f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86616351', 'ctest-vn-14793499'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:22:37,151 - DEBUG - Response for create_subnet : {'subnet': {'id': '0cb28e9e-9bca-41e9-9734-542963326ed9', 'name': '', 'tenant_id': '43a6ce0e40c54a76b833df71f6bbe12f', 'network_id': '9ac2517f-0f2a-4a4c-b935-e73ded281988', 'ip_version': 4, 'cidr': '117.184.77.192/26', 'allocation_pools': [{'start': '117.184.77.194', 'end': '117.184.77.254'}], 'gateway_ip': '117.184.77.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.184.77.194', 'tags': [], 'project_id': '43a6ce0e40c54a76b833df71f6bbe12f'}} 2025-10-31 00:22:37,169 - INFO - Created VN ctest-vn-14793499 2025-10-31 00:22:37,222 - DEBUG - VN ctest-vn-14793499 UUID is 9ac2517f-0f2a-4a4c-b935-e73ded281988 2025-10-31 00:22:37,337 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-86616351', 'ctest-vmi-96508030']} 2025-10-31 00:22:37,576 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-96508030', 'id': '05fd170e-83de-4280-bef0-25cde255f0ac', 'tenant_id': '43a6ce0e40c54a76b833df71f6bbe12f', 'network_id': '9ac2517f-0f2a-4a4c-b935-e73ded281988', 'mac_address': '02:05:fd:17:0e:83', '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': '117.184.77.195', 'subnet_id': '0cb28e9e-9bca-41e9-9734-542963326ed9'}], 'security_groups': ['4f19f40d-000e-4cd2-a9a7-cc7a90145537'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '43a6ce0e40c54a76b833df71f6bbe12f'}} 2025-10-31 00:22:37,576 - DEBUG - Created port 05fd170e-83de-4280-bef0-25cde255f0ac 2025-10-31 00:22:37,682 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/05fd170e-83de-4280-bef0-25cde255f0ac 2025-10-31 00:22:37,974 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/05fd170e-83de-4280-bef0-25cde255f0ac 2025-10-31 00:22:38,009 - INFO - VMI 05fd170e-83de-4280-bef0-25cde255f0ac verification in API Server passed 2025-10-31 00:22:38,106 - DEBUG - Response for delete_port : () 2025-10-31 00:22:38,106 - INFO - Deleted port 05fd170e-83de-4280-bef0-25cde255f0ac 2025-10-31 00:22:38,107 - INFO - Deleting VN ctest-vn-14793499 2025-10-31 00:22:38,216 - DEBUG - Response for deleting network () 2025-10-31 00:22:38,478 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 00:22:38,478 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-31 00:22:38,478 - INFO - -------------------------------------------------------------------------------- 2025-10-31 00:22:38,483 - INFO - ================================================================================ 2025-10-31 00:22:38,483 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-31 00:22:38,484 - 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-31 00:22:38,784 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.241': '0'}} with 2025-10-31 00:22:38,784 - INFO - Initial checks done. Running the testcase now 2025-10-31 00:22:38,784 - INFO - 2025-10-31 00:22:38,969 - DEBUG - Response for create_network : {'network': {'id': '13353910-024f-452c-8490-ae921ecafa24', 'name': 'ctest-vn1-49115281', 'tenant_id': '43a6ce0e40c54a76b833df71f6bbe12f', 'project_id': '43a6ce0e40c54a76b833df71f6bbe12f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86616351', 'ctest-vn1-49115281'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:22:39,171 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd4e677f2-3950-4040-8918-6e0cc25efb64', 'name': '', 'tenant_id': '43a6ce0e40c54a76b833df71f6bbe12f', 'network_id': '13353910-024f-452c-8490-ae921ecafa24', 'ip_version': 4, 'cidr': '17.105.139.0/26', 'allocation_pools': [{'start': '17.105.139.2', 'end': '17.105.139.62'}], 'gateway_ip': '17.105.139.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.105.139.2', 'tags': [], 'project_id': '43a6ce0e40c54a76b833df71f6bbe12f'}} 2025-10-31 00:22:39,363 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd49ab47d-45cf-44cc-a2e4-99bf31f15535', 'name': '', 'tenant_id': '43a6ce0e40c54a76b833df71f6bbe12f', 'network_id': '13353910-024f-452c-8490-ae921ecafa24', 'ip_version': 4, 'cidr': '152.181.13.128/26', 'allocation_pools': [{'start': '152.181.13.130', 'end': '152.181.13.190'}], 'gateway_ip': '152.181.13.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.181.13.130', 'tags': [], 'project_id': '43a6ce0e40c54a76b833df71f6bbe12f'}} 2025-10-31 00:22:39,382 - INFO - Created VN ctest-vn1-49115281 2025-10-31 00:22:39,434 - DEBUG - VN ctest-vn1-49115281 UUID is 13353910-024f-452c-8490-ae921ecafa24 2025-10-31 00:22:39,739 - DEBUG - Response for create_port : {'port': {'name': '74e106a3-34c2-473f-b450-59ed8763acbc', 'id': '74e106a3-34c2-473f-b450-59ed8763acbc', 'tenant_id': '43a6ce0e40c54a76b833df71f6bbe12f', 'network_id': '13353910-024f-452c-8490-ae921ecafa24', 'mac_address': '02:74:e1:06:a3:34', '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': '17.105.139.5', 'subnet_id': 'd4e677f2-3950-4040-8918-6e0cc25efb64'}], 'security_groups': ['4f19f40d-000e-4cd2-a9a7-cc7a90145537'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '43a6ce0e40c54a76b833df71f6bbe12f'}} 2025-10-31 00:22:39,903 - DEBUG - Response for create_port : {'port': {'name': '51507972-bc64-4fce-b1ed-3acd530622e4', 'id': '51507972-bc64-4fce-b1ed-3acd530622e4', 'tenant_id': '43a6ce0e40c54a76b833df71f6bbe12f', 'network_id': '13353910-024f-452c-8490-ae921ecafa24', 'mac_address': '02:51:50:79:72:bc', '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': '152.181.13.133', 'subnet_id': 'd49ab47d-45cf-44cc-a2e4-99bf31f15535'}], 'security_groups': ['4f19f40d-000e-4cd2-a9a7-cc7a90145537'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '43a6ce0e40c54a76b833df71f6bbe12f'}} 2025-10-31 00:22:39,970 - DEBUG - Services list from nova: [, , ] 2025-10-31 00:22:40,311 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4564-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4564-1) 2025-10-31 00:22:40,721 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4564-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4564-1) 2025-10-31 00:22:40,721 - INFO - Waiting for VM ctest-vn1-vm1-55076246 to be up.. 2025-10-31 00:22:40,766 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 00:22:45,849 - DEBUG - VM is in ACTIVE state now 2025-10-31 00:22:45,849 - INFO - VM name : ctest-vn1-vm1-55076246 2025-10-31 00:22:45,929 - DEBUG - VM ctest-vn1-vm1-55076246 ID is 176579be-3a46-4f3d-8476-c8f2ced5d052 2025-10-31 00:22:45,951 - DEBUG - VM ctest-vn1-vm1-55076246 launched on Node cn-jenkins-deploy-platform-ansible-os-4564-1 2025-10-31 00:22:46,042 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/176579be-3a46-4f3d-8476-c8f2ced5d052 2025-10-31 00:22:46,050 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/74e106a3-34c2-473f-b450-59ed8763acbc 2025-10-31 00:22:49,312 - 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 1023ms') 2025-10-31 00:22:49,312 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-55076246 failed! 2025-10-31 00:22:49,398 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86616351:ctest-vn1-49115281 is 17.105.139.1 and allocation pool is NOT set 2025-10-31 00:22:49,398 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86616351:ctest-vn1-49115281 is 152.181.13.129 and allocation pool is NOT set 2025-10-31 00:22:53,474 - 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=8.51 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 = 8.512/8.512/8.512/0.000 ms') 2025-10-31 00:22:53,474 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-55076246 passed 2025-10-31 00:22:53,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:22:53,627 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-55076246, IP 17.105.139.5, Port 22 2025-10-31 00:22:53,796 - DEBUG - VM ctest-vn1-vm1-55076246 is ready for SSH connections 2025-10-31 00:22:53,796 - INFO - Waiting for VM ctest-vn1-vm2-90922052 to be up.. 2025-10-31 00:22:53,883 - DEBUG - VM is in ACTIVE state now 2025-10-31 00:22:53,883 - INFO - VM name : ctest-vn1-vm2-90922052 2025-10-31 00:22:53,965 - DEBUG - VM ctest-vn1-vm2-90922052 ID is 7e209f35-91d1-400a-bedc-40b7894ffb8e 2025-10-31 00:22:53,965 - DEBUG - VM ctest-vn1-vm2-90922052 launched on Node cn-jenkins-deploy-platform-ansible-os-4564-1 2025-10-31 00:22:54,046 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/7e209f35-91d1-400a-bedc-40b7894ffb8e 2025-10-31 00:22:54,056 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/51507972-bc64-4fce-b1ed-3acd530622e4 2025-10-31 00:22:55,301 - 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=4.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.519 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.519/2.329/4.139/1.810 ms') 2025-10-31 00:22:55,301 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-90922052 passed 2025-10-31 00:22:55,454 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:22:55,454 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-90922052, IP 152.181.13.133, Port 22 2025-10-31 00:22:55,610 - DEBUG - VM ctest-vn1-vm2-90922052 is ready for SSH connections 2025-10-31 00:22:55,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:22:55,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:22:55,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:22:55,610 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.105.139.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-10-31 00:22:55,610 - DEBUG - ping -s 56 -c 3 -W 1 17.105.139.5 2025-10-31 00:22:58,296 - DEBUG - PING 17.105.139.5 (17.105.139.5): 56 data bytes 64 bytes from 17.105.139.5: seq=0 ttl=63 time=4.639 ms 64 bytes from 17.105.139.5: seq=1 ttl=63 time=1.024 ms 64 bytes from 17.105.139.5: seq=2 ttl=63 time=1.198 ms --- 17.105.139.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.024/2.287/4.639 ms 2025-10-31 00:22:58,296 - INFO - Ping to IP 17.105.139.5 from VM ctest-vn1-vm2-90922052 passed 2025-10-31 00:22:58,297 - INFO - Detaching port 51507972-bc64-4fce-b1ed-3acd530622e4 from VM ctest-vn1-vm2-90922052 2025-10-31 00:22:58,368 - INFO - Deleting VM ctest-vn1-vm2-90922052 2025-10-31 00:22:58,451 - INFO - Detaching port 74e106a3-34c2-473f-b450-59ed8763acbc from VM ctest-vn1-vm1-55076246 2025-10-31 00:22:58,504 - INFO - Deleting VM ctest-vn1-vm1-55076246 2025-10-31 00:22:58,771 - DEBUG - Response for delete_port : () 2025-10-31 00:22:58,959 - DEBUG - Response for delete_port : () 2025-10-31 00:22:58,959 - INFO - Deleting VN ctest-vn1-49115281 2025-10-31 00:22:59,116 - DEBUG - Response for deleting network () 2025-10-31 00:22:59,375 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 00:22:59,375 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-10-31 00:22:59,375 - INFO - -------------------------------------------------------------------------------- 2025-10-31 00:23:00,096 - INFO - Deleted project: ctest-TestPorts-86616351, ID : 43a6ce0e-40c5-4a76-b833-df71f6bbe12f