2025-10-30 09:52:08,628 - INFO - Domain Default found not creating 2025-10-30 09:52:08,784 - INFO - Project ctest-TestPorts-35871842 not found, creating it 2025-10-30 09:52:09,243 - INFO - Created Project:ctest-TestPorts-35871842, ID : 7ccff619-1b9c-495a-be91-a8890a0cc999 2025-10-30 09:52:10,894 - INFO - ================================================================================ 2025-10-30 09:52:10,894 - INFO - STARTING TEST : test_ports_bindings 2025-10-30 09:52:10,894 - 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-30 09:52:11,148 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-10-30 09:52:11,148 - INFO - Initial checks done. Running the testcase now 2025-10-30 09:52:11,148 - INFO - 2025-10-30 09:52:11,779 - DEBUG - Response for create_network : {'network': {'id': 'c6d8d112-57fc-4d6b-beb4-83d61792d3f9', 'name': 'ctest-vn-31938461', 'tenant_id': '7ccff6191b9c495abe91a8890a0cc999', 'project_id': '7ccff6191b9c495abe91a8890a0cc999', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-35871842', 'ctest-vn-31938461'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 09:52:11,988 - DEBUG - Response for create_subnet : {'subnet': {'id': '3234528d-0718-44ae-bdce-30e2d6d39c6d', 'name': '', 'tenant_id': '7ccff6191b9c495abe91a8890a0cc999', 'network_id': 'c6d8d112-57fc-4d6b-beb4-83d61792d3f9', 'ip_version': 4, 'cidr': '140.50.253.64/26', 'allocation_pools': [{'start': '140.50.253.66', 'end': '140.50.253.126'}], 'gateway_ip': '140.50.253.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.50.253.66', 'tags': [], 'project_id': '7ccff6191b9c495abe91a8890a0cc999'}} 2025-10-30 09:52:12,006 - INFO - Created VN ctest-vn-31938461 2025-10-30 09:52:12,059 - DEBUG - VN ctest-vn-31938461 UUID is c6d8d112-57fc-4d6b-beb4-83d61792d3f9 2025-10-30 09:52:12,173 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-35871842', 'ctest-vmi-95475651']} 2025-10-30 09:52:12,438 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-95475651', 'id': 'faf3648f-5a30-4864-942c-7dd8809eff06', 'tenant_id': '7ccff6191b9c495abe91a8890a0cc999', 'network_id': 'c6d8d112-57fc-4d6b-beb4-83d61792d3f9', 'mac_address': '02:fa:f3:64:8f:5a', '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': '140.50.253.67', 'subnet_id': '3234528d-0718-44ae-bdce-30e2d6d39c6d'}], 'security_groups': ['2d55327f-8219-468c-9c3e-71d2d8e0ae5c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7ccff6191b9c495abe91a8890a0cc999'}} 2025-10-30 09:52:12,438 - DEBUG - Created port faf3648f-5a30-4864-942c-7dd8809eff06 2025-10-30 09:52:12,551 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/faf3648f-5a30-4864-942c-7dd8809eff06 2025-10-30 09:52:12,886 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/faf3648f-5a30-4864-942c-7dd8809eff06 2025-10-30 09:52:12,919 - INFO - VMI faf3648f-5a30-4864-942c-7dd8809eff06 verification in API Server passed 2025-10-30 09:52:13,008 - DEBUG - Response for delete_port : () 2025-10-30 09:52:13,008 - INFO - Deleted port faf3648f-5a30-4864-942c-7dd8809eff06 2025-10-30 09:52:13,008 - INFO - Deleting VN ctest-vn-31938461 2025-10-30 09:52:13,115 - DEBUG - Response for deleting network () 2025-10-30 09:52:13,369 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 09:52:13,369 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-30 09:52:13,369 - INFO - -------------------------------------------------------------------------------- 2025-10-30 09:52:13,371 - INFO - ================================================================================ 2025-10-30 09:52:13,371 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-30 09:52:13,371 - 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-30 09:52:13,656 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-10-30 09:52:13,656 - INFO - Initial checks done. Running the testcase now 2025-10-30 09:52:13,656 - INFO - 2025-10-30 09:52:13,863 - DEBUG - Response for create_network : {'network': {'id': 'a86ddafe-e8dc-4024-9830-83244af09d23', 'name': 'ctest-vn1-84787697', 'tenant_id': '7ccff6191b9c495abe91a8890a0cc999', 'project_id': '7ccff6191b9c495abe91a8890a0cc999', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-35871842', 'ctest-vn1-84787697'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 09:52:14,114 - DEBUG - Response for create_subnet : {'subnet': {'id': '46d728db-d546-4a3e-90b0-bc8b9814678c', 'name': '', 'tenant_id': '7ccff6191b9c495abe91a8890a0cc999', 'network_id': 'a86ddafe-e8dc-4024-9830-83244af09d23', 'ip_version': 4, 'cidr': '116.119.197.0/26', 'allocation_pools': [{'start': '116.119.197.2', 'end': '116.119.197.62'}], 'gateway_ip': '116.119.197.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.119.197.2', 'tags': [], 'project_id': '7ccff6191b9c495abe91a8890a0cc999'}} 2025-10-30 09:52:14,293 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab39f85a-f767-4152-a734-3a0816feca45', 'name': '', 'tenant_id': '7ccff6191b9c495abe91a8890a0cc999', 'network_id': 'a86ddafe-e8dc-4024-9830-83244af09d23', 'ip_version': 4, 'cidr': '181.198.109.64/26', 'allocation_pools': [{'start': '181.198.109.66', 'end': '181.198.109.126'}], 'gateway_ip': '181.198.109.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.198.109.66', 'tags': [], 'project_id': '7ccff6191b9c495abe91a8890a0cc999'}} 2025-10-30 09:52:14,314 - INFO - Created VN ctest-vn1-84787697 2025-10-30 09:52:14,367 - DEBUG - VN ctest-vn1-84787697 UUID is a86ddafe-e8dc-4024-9830-83244af09d23 2025-10-30 09:52:14,677 - DEBUG - Response for create_port : {'port': {'name': 'c0e49cab-2cb2-4164-9bb3-04d703e82916', 'id': 'c0e49cab-2cb2-4164-9bb3-04d703e82916', 'tenant_id': '7ccff6191b9c495abe91a8890a0cc999', 'network_id': 'a86ddafe-e8dc-4024-9830-83244af09d23', 'mac_address': '02:c0:e4:9c:ab:2c', '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': '116.119.197.5', 'subnet_id': '46d728db-d546-4a3e-90b0-bc8b9814678c'}], 'security_groups': ['2d55327f-8219-468c-9c3e-71d2d8e0ae5c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7ccff6191b9c495abe91a8890a0cc999'}} 2025-10-30 09:52:14,856 - DEBUG - Response for create_port : {'port': {'name': 'c0954e6c-cf1a-4420-909f-dd4ea434586e', 'id': 'c0954e6c-cf1a-4420-909f-dd4ea434586e', 'tenant_id': '7ccff6191b9c495abe91a8890a0cc999', 'network_id': 'a86ddafe-e8dc-4024-9830-83244af09d23', 'mac_address': '02:c0:95:4e:6c:cf', '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': '181.198.109.69', 'subnet_id': 'ab39f85a-f767-4152-a734-3a0816feca45'}], 'security_groups': ['2d55327f-8219-468c-9c3e-71d2d8e0ae5c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7ccff6191b9c495abe91a8890a0cc999'}} 2025-10-30 09:52:14,932 - DEBUG - Services list from nova: [, , ] 2025-10-30 09:52:15,296 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4540-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4540-1) 2025-10-30 09:52:15,748 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4540-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4540-1) 2025-10-30 09:52:15,749 - INFO - Waiting for VM ctest-vn1-vm1-50588429 to be up.. 2025-10-30 09:52:15,792 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 09:52:20,879 - DEBUG - VM is in ACTIVE state now 2025-10-30 09:52:20,879 - INFO - VM name : ctest-vn1-vm1-50588429 2025-10-30 09:52:20,963 - DEBUG - VM ctest-vn1-vm1-50588429 ID is 049d6ffa-d703-4137-9dcb-1ba64b53c79d 2025-10-30 09:52:20,990 - DEBUG - VM ctest-vn1-vm1-50588429 launched on Node cn-jenkins-deploy-platform-ansible-os-4540-1 2025-10-30 09:52:21,103 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/049d6ffa-d703-4137-9dcb-1ba64b53c79d 2025-10-30 09:52:21,113 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c0e49cab-2cb2-4164-9bb3-04d703e82916 2025-10-30 09:52:24,381 - 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-30 09:52:24,381 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-50588429 failed! 2025-10-30 09:52:24,435 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-35871842:ctest-vn1-84787697 is 116.119.197.1 and allocation pool is NOT set 2025-10-30 09:52:24,435 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-35871842:ctest-vn1-84787697 is 181.198.109.65 and allocation pool is NOT set 2025-10-30 09:52:28,520 - 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.18 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1022ms\r\nrtt min/avg/max/mdev = 9.181/9.181/9.181/0.000 ms') 2025-10-30 09:52:28,520 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-50588429 passed 2025-10-30 09:52:28,675 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:52:28,675 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-50588429, IP 116.119.197.5, Port 22 2025-10-30 09:52:28,830 - DEBUG - VM ctest-vn1-vm1-50588429 is ready for SSH connections 2025-10-30 09:52:28,830 - INFO - Waiting for VM ctest-vn1-vm2-72875516 to be up.. 2025-10-30 09:52:28,905 - DEBUG - VM is in ACTIVE state now 2025-10-30 09:52:28,905 - INFO - VM name : ctest-vn1-vm2-72875516 2025-10-30 09:52:28,983 - DEBUG - VM ctest-vn1-vm2-72875516 ID is 182eadd8-31d6-46c4-9e96-8450b56dcafe 2025-10-30 09:52:28,983 - DEBUG - VM ctest-vn1-vm2-72875516 launched on Node cn-jenkins-deploy-platform-ansible-os-4540-1 2025-10-30 09:52:29,056 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/182eadd8-31d6-46c4-9e96-8450b56dcafe 2025-10-30 09:52:29,066 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c0954e6c-cf1a-4420-909f-dd4ea434586e 2025-10-30 09:52:30,296 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.05 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 = 1.053/2.907/4.762/1.854 ms') 2025-10-30 09:52:30,296 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-72875516 passed 2025-10-30 09:52:30,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:52:30,451 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-72875516, IP 181.198.109.69, Port 22 2025-10-30 09:52:30,606 - DEBUG - VM ctest-vn1-vm2-72875516 is ready for SSH connections 2025-10-30 09:52:30,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:52:30,607 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:52:30,607 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:52:30,607 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.119.197.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-30 09:52:30,607 - DEBUG - ping -s 56 -c 3 -W 1 116.119.197.5 2025-10-30 09:52:33,328 - DEBUG - PING 116.119.197.5 (116.119.197.5): 56 data bytes 64 bytes from 116.119.197.5: seq=0 ttl=63 time=3.950 ms 64 bytes from 116.119.197.5: seq=1 ttl=63 time=1.356 ms 64 bytes from 116.119.197.5: seq=2 ttl=63 time=0.765 ms --- 116.119.197.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.765/2.023/3.950 ms 2025-10-30 09:52:33,329 - INFO - Ping to IP 116.119.197.5 from VM ctest-vn1-vm2-72875516 passed 2025-10-30 09:52:33,329 - INFO - Detaching port c0954e6c-cf1a-4420-909f-dd4ea434586e from VM ctest-vn1-vm2-72875516 2025-10-30 09:52:33,388 - INFO - Deleting VM ctest-vn1-vm2-72875516 2025-10-30 09:52:33,461 - INFO - Detaching port c0e49cab-2cb2-4164-9bb3-04d703e82916 from VM ctest-vn1-vm1-50588429 2025-10-30 09:52:33,494 - INFO - Deleting VM ctest-vn1-vm1-50588429 2025-10-30 09:52:33,732 - DEBUG - Response for delete_port : () 2025-10-30 09:52:33,933 - DEBUG - Response for delete_port : () 2025-10-30 09:52:33,933 - INFO - Deleting VN ctest-vn1-84787697 2025-10-30 09:52:34,072 - DEBUG - Response for deleting network () 2025-10-30 09:52:34,329 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 09:52:34,329 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-10-30 09:52:34,329 - INFO - -------------------------------------------------------------------------------- 2025-10-30 09:52:35,082 - INFO - Deleted project: ctest-TestPorts-35871842, ID : 7ccff619-1b9c-495a-be91-a8890a0cc999