2025-08-10 10:57:23,996 - INFO - Domain Default found not creating 2025-08-10 10:57:24,108 - INFO - Project ctest-TestPorts-74193761 not found, creating it 2025-08-10 10:57:24,567 - INFO - Created Project:ctest-TestPorts-74193761, ID : da7f78d8-7af4-4399-ba7c-f358f3898bc9 2025-08-10 10:57:25,913 - INFO - ================================================================================ 2025-08-10 10:57:25,913 - INFO - STARTING TEST : test_ports_bindings 2025-08-10 10:57:25,913 - 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-08-10 10:57:26,177 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-10 10:57:26,178 - INFO - Initial checks done. Running the testcase now 2025-08-10 10:57:26,178 - INFO - 2025-08-10 10:57:26,689 - DEBUG - Response for create_network : {'network': {'id': 'f5a2a62d-87d0-4b5f-a9c1-0647fde95a36', 'name': 'ctest-vn-90730602', 'tenant_id': 'da7f78d87af44399ba7cf358f3898bc9', 'project_id': 'da7f78d87af44399ba7cf358f3898bc9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74193761', 'ctest-vn-90730602'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 10:57:26,889 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c2bf55f8-bf34-4389-858b-4bd7c210e294', 'name': '', 'tenant_id': 'da7f78d87af44399ba7cf358f3898bc9', 'network_id': 'f5a2a62d-87d0-4b5f-a9c1-0647fde95a36', 'ip_version': 4, 'cidr': '25.196.200.128/26', 'allocation_pools': [{'start': '25.196.200.130', 'end': '25.196.200.190'}], 'gateway_ip': '25.196.200.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.196.200.130', 'tags': [], 'project_id': 'da7f78d87af44399ba7cf358f3898bc9'}} 2025-08-10 10:57:26,903 - INFO - Created VN ctest-vn-90730602 2025-08-10 10:57:26,952 - DEBUG - VN ctest-vn-90730602 UUID is f5a2a62d-87d0-4b5f-a9c1-0647fde95a36 2025-08-10 10:57:27,048 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-74193761', 'ctest-vmi-74604823']} 2025-08-10 10:57:27,313 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-74604823', 'id': '527606f0-2ada-433d-8cad-c388dd770e27', 'tenant_id': 'da7f78d87af44399ba7cf358f3898bc9', 'network_id': 'f5a2a62d-87d0-4b5f-a9c1-0647fde95a36', 'mac_address': '02:52:76:06:f0:2a', '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': '25.196.200.131', 'subnet_id': 'c2bf55f8-bf34-4389-858b-4bd7c210e294'}], 'security_groups': ['dda60eaf-af2e-456c-a44e-19968838b9e0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'da7f78d87af44399ba7cf358f3898bc9'}} 2025-08-10 10:57:27,313 - DEBUG - Created port 527606f0-2ada-433d-8cad-c388dd770e27 2025-08-10 10:57:27,416 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/527606f0-2ada-433d-8cad-c388dd770e27 2025-08-10 10:57:27,702 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/527606f0-2ada-433d-8cad-c388dd770e27 2025-08-10 10:57:27,730 - INFO - VMI 527606f0-2ada-433d-8cad-c388dd770e27 verification in API Server passed 2025-08-10 10:57:27,806 - DEBUG - Response for delete_port : () 2025-08-10 10:57:27,806 - INFO - Deleted port 527606f0-2ada-433d-8cad-c388dd770e27 2025-08-10 10:57:27,806 - INFO - Deleting VN ctest-vn-90730602 2025-08-10 10:57:27,885 - DEBUG - Response for deleting network () 2025-08-10 10:57:28,145 - DEBUG - No XMPP flaps were noticed during the test
2025-08-10 10:57:28,145 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-10 10:57:28,145 - INFO - -------------------------------------------------------------------------------- 2025-08-10 10:57:28,148 - INFO - ================================================================================ 2025-08-10 10:57:28,148 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-10 10:57:28,148 - 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-08-10 10:57:28,429 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-10 10:57:28,429 - INFO - Initial checks done. Running the testcase now 2025-08-10 10:57:28,429 - INFO - 2025-08-10 10:57:28,594 - DEBUG - Response for create_network : {'network': {'id': '93573613-92fd-4c05-a7ef-7129744f8f9a', 'name': 'ctest-vn1-98789431', 'tenant_id': 'da7f78d87af44399ba7cf358f3898bc9', 'project_id': 'da7f78d87af44399ba7cf358f3898bc9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74193761', 'ctest-vn1-98789431'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 10:57:28,791 - DEBUG - Response for create_subnet : {'subnet': {'id': '847fb0c2-ede1-4376-8d62-6efcbb1b1af5', 'name': '', 'tenant_id': 'da7f78d87af44399ba7cf358f3898bc9', 'network_id': '93573613-92fd-4c05-a7ef-7129744f8f9a', 'ip_version': 4, 'cidr': '196.44.2.128/26', 'allocation_pools': [{'start': '196.44.2.130', 'end': '196.44.2.190'}], 'gateway_ip': '196.44.2.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.44.2.130', 'tags': [], 'project_id': 'da7f78d87af44399ba7cf358f3898bc9'}} 2025-08-10 10:57:28,969 - DEBUG - Response for create_subnet : {'subnet': {'id': '44a10a6e-4521-462b-8198-4ea232b73b82', 'name': '', 'tenant_id': 'da7f78d87af44399ba7cf358f3898bc9', 'network_id': '93573613-92fd-4c05-a7ef-7129744f8f9a', 'ip_version': 4, 'cidr': '46.166.70.192/26', 'allocation_pools': [{'start': '46.166.70.194', 'end': '46.166.70.254'}], 'gateway_ip': '46.166.70.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.166.70.194', 'tags': [], 'project_id': 'da7f78d87af44399ba7cf358f3898bc9'}} 2025-08-10 10:57:28,986 - INFO - Created VN ctest-vn1-98789431 2025-08-10 10:57:29,036 - DEBUG - VN ctest-vn1-98789431 UUID is 93573613-92fd-4c05-a7ef-7129744f8f9a 2025-08-10 10:57:29,305 - DEBUG - Response for create_port : {'port': {'name': 'e9062fa2-d900-4870-9b12-10533f2bd34d', 'id': 'e9062fa2-d900-4870-9b12-10533f2bd34d', 'tenant_id': 'da7f78d87af44399ba7cf358f3898bc9', 'network_id': '93573613-92fd-4c05-a7ef-7129744f8f9a', 'mac_address': '02:e9:06:2f:a2:d9', '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': '196.44.2.133', 'subnet_id': '847fb0c2-ede1-4376-8d62-6efcbb1b1af5'}], 'security_groups': ['dda60eaf-af2e-456c-a44e-19968838b9e0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'da7f78d87af44399ba7cf358f3898bc9'}} 2025-08-10 10:57:29,459 - DEBUG - Response for create_port : {'port': {'name': '2f2a08c2-5fb7-4d2b-93e0-951f88b52fa8', 'id': '2f2a08c2-5fb7-4d2b-93e0-951f88b52fa8', 'tenant_id': 'da7f78d87af44399ba7cf358f3898bc9', 'network_id': '93573613-92fd-4c05-a7ef-7129744f8f9a', 'mac_address': '02:2f:2a:08:c2:5f', '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.166.70.197', 'subnet_id': '44a10a6e-4521-462b-8198-4ea232b73b82'}], 'security_groups': ['dda60eaf-af2e-456c-a44e-19968838b9e0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'da7f78d87af44399ba7cf358f3898bc9'}} 2025-08-10 10:57:29,507 - DEBUG - Services list from nova: [, , ] 2025-08-10 10:57:29,764 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3787-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3787-1) 2025-08-10 10:57:30,073 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3787-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3787-1) 2025-08-10 10:57:30,073 - INFO - Waiting for VM ctest-vn1-vm1-44600122 to be up.. 2025-08-10 10:57:30,240 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-10 10:57:35,312 - DEBUG - VM is in ACTIVE state now 2025-08-10 10:57:35,312 - INFO - VM name : ctest-vn1-vm1-44600122 2025-08-10 10:57:35,378 - DEBUG - VM ctest-vn1-vm1-44600122 ID is 1a92182c-ce41-43c7-b329-9f8630c908f7 2025-08-10 10:57:35,397 - DEBUG - VM ctest-vn1-vm1-44600122 launched on Node cn-jenkins-deploy-platform-ansible-os-3787-1 2025-08-10 10:57:35,460 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1a92182c-ce41-43c7-b329-9f8630c908f7 2025-08-10 10:57:35,468 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e9062fa2-d900-4870-9b12-10533f2bd34d 2025-08-10 10:57:38,734 - 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 1032ms') 2025-08-10 10:57:38,734 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-44600122 failed! 2025-08-10 10:57:38,788 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74193761:ctest-vn1-98789431 is 196.44.2.129 and allocation pool is NOT set 2025-08-10 10:57:38,789 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74193761:ctest-vn1-98789431 is 46.166.70.193 and allocation pool is NOT set 2025-08-10 10:57:40,851 - 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.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.646 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.646/2.041/3.436/1.395 ms') 2025-08-10 10:57:40,851 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-44600122 passed 2025-08-10 10:57:40,996 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 10:57:40,997 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-44600122, IP 196.44.2.133, Port 22 2025-08-10 10:57:41,151 - DEBUG - VM ctest-vn1-vm1-44600122 is ready for SSH connections 2025-08-10 10:57:41,152 - INFO - Waiting for VM ctest-vn1-vm2-96624768 to be up.. 2025-08-10 10:57:41,214 - DEBUG - VM is in ACTIVE state now 2025-08-10 10:57:41,214 - INFO - VM name : ctest-vn1-vm2-96624768 2025-08-10 10:57:41,270 - DEBUG - VM ctest-vn1-vm2-96624768 ID is 4fd1aaae-8ac3-48ef-999a-4ce072fef354 2025-08-10 10:57:41,270 - DEBUG - VM ctest-vn1-vm2-96624768 launched on Node cn-jenkins-deploy-platform-ansible-os-3787-1 2025-08-10 10:57:41,326 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4fd1aaae-8ac3-48ef-999a-4ce072fef354 2025-08-10 10:57:41,333 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2f2a08c2-5fb7-4d2b-93e0-951f88b52fa8 2025-08-10 10:57:42,564 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.290 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.290/1.459/2.628/1.169 ms') 2025-08-10 10:57:42,564 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-96624768 passed 2025-08-10 10:57:42,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 10:57:42,708 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-96624768, IP 46.166.70.197, Port 22 2025-08-10 10:57:42,860 - DEBUG - VM ctest-vn1-vm2-96624768 is ready for SSH connections 2025-08-10 10:57:42,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 10:57:42,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 10:57:42,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 10:57:42,860 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.44.2.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-10 10:57:42,860 - DEBUG - ping -s 56 -c 3 -W 1 196.44.2.133 2025-08-10 10:57:45,465 - DEBUG - PING 196.44.2.133 (196.44.2.133): 56 data bytes 64 bytes from 196.44.2.133: seq=0 ttl=63 time=3.231 ms 64 bytes from 196.44.2.133: seq=1 ttl=63 time=0.680 ms 64 bytes from 196.44.2.133: seq=2 ttl=63 time=0.712 ms --- 196.44.2.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.680/1.541/3.231 ms 2025-08-10 10:57:45,465 - INFO - Ping to IP 196.44.2.133 from VM ctest-vn1-vm2-96624768 passed 2025-08-10 10:57:45,465 - INFO - Detaching port 2f2a08c2-5fb7-4d2b-93e0-951f88b52fa8 from VM ctest-vn1-vm2-96624768 2025-08-10 10:57:45,507 - INFO - Deleting VM ctest-vn1-vm2-96624768 2025-08-10 10:57:45,560 - INFO - Detaching port e9062fa2-d900-4870-9b12-10533f2bd34d from VM ctest-vn1-vm1-44600122 2025-08-10 10:57:45,590 - INFO - Deleting VM ctest-vn1-vm1-44600122 2025-08-10 10:57:45,794 - DEBUG - Response for delete_port : () 2025-08-10 10:57:45,970 - DEBUG - Response for delete_port : () 2025-08-10 10:57:45,971 - INFO - Deleting VN ctest-vn1-98789431 2025-08-10 10:57:46,101 - DEBUG - Response for deleting network () 2025-08-10 10:57:46,354 - DEBUG - No XMPP flaps were noticed during the test
2025-08-10 10:57:46,354 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-08-10 10:57:46,354 - INFO - -------------------------------------------------------------------------------- 2025-08-10 10:57:46,986 - INFO - Deleted project: ctest-TestPorts-74193761, ID : da7f78d8-7af4-4399-ba7c-f358f3898bc9