2025-10-17 17:41:59,656 - INFO - Domain Default found not creating 2025-10-17 17:41:59,996 - INFO - Project ctest-TestPorts-34269718 not found, creating it 2025-10-17 17:42:00,624 - INFO - Created Project:ctest-TestPorts-34269718, ID : ca7ac421-87f6-49a5-b9f8-eec354223e53 2025-10-17 17:42:02,586 - INFO - ================================================================================ 2025-10-17 17:42:02,586 - INFO - STARTING TEST : test_ports_bindings 2025-10-17 17:42:02,586 - 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-17 17:42:02,923 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-17 17:42:02,923 - INFO - Initial checks done. Running the testcase now 2025-10-17 17:42:02,923 - INFO - 2025-10-17 17:42:03,698 - DEBUG - Response for create_network : {'network': {'id': 'c1577434-9cc1-4275-9539-77fe853968b9', 'name': 'ctest-vn-08687128', 'tenant_id': 'ca7ac42187f649a5b9f8eec354223e53', 'project_id': 'ca7ac42187f649a5b9f8eec354223e53', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-34269718', 'ctest-vn-08687128'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 17:42:03,967 - DEBUG - Response for create_subnet : {'subnet': {'id': '086c6426-2adf-44de-9f92-71bb087ced89', 'name': '', 'tenant_id': 'ca7ac42187f649a5b9f8eec354223e53', 'network_id': 'c1577434-9cc1-4275-9539-77fe853968b9', 'ip_version': 4, 'cidr': '98.173.240.128/26', 'allocation_pools': [{'start': '98.173.240.130', 'end': '98.173.240.190'}], 'gateway_ip': '98.173.240.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.173.240.130', 'tags': [], 'project_id': 'ca7ac42187f649a5b9f8eec354223e53'}} 2025-10-17 17:42:03,999 - INFO - Created VN ctest-vn-08687128 2025-10-17 17:42:04,061 - DEBUG - VN ctest-vn-08687128 UUID is c1577434-9cc1-4275-9539-77fe853968b9 2025-10-17 17:42:04,187 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-34269718', 'ctest-vmi-23103090']} 2025-10-17 17:42:04,570 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-23103090', 'id': '48bc5ef7-1fde-4f8e-9d79-ac8c9cedaa4a', 'tenant_id': 'ca7ac42187f649a5b9f8eec354223e53', 'network_id': 'c1577434-9cc1-4275-9539-77fe853968b9', 'mac_address': '02:48:bc:5e:f7:1f', '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': '98.173.240.131', 'subnet_id': '086c6426-2adf-44de-9f92-71bb087ced89'}], 'security_groups': ['ced481b7-bd47-4953-bdcf-3b5d093aeb37'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ca7ac42187f649a5b9f8eec354223e53'}} 2025-10-17 17:42:04,570 - DEBUG - Created port 48bc5ef7-1fde-4f8e-9d79-ac8c9cedaa4a 2025-10-17 17:42:04,688 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/48bc5ef7-1fde-4f8e-9d79-ac8c9cedaa4a 2025-10-17 17:42:05,001 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/48bc5ef7-1fde-4f8e-9d79-ac8c9cedaa4a 2025-10-17 17:42:05,033 - INFO - VMI 48bc5ef7-1fde-4f8e-9d79-ac8c9cedaa4a verification in API Server passed 2025-10-17 17:42:05,178 - DEBUG - Response for delete_port : () 2025-10-17 17:42:05,178 - INFO - Deleted port 48bc5ef7-1fde-4f8e-9d79-ac8c9cedaa4a 2025-10-17 17:42:05,178 - INFO - Deleting VN ctest-vn-08687128 2025-10-17 17:42:05,303 - DEBUG - Response for deleting network () 2025-10-17 17:42:05,608 - DEBUG - No XMPP flaps were noticed during the test
2025-10-17 17:42:05,608 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-17 17:42:05,609 - INFO - -------------------------------------------------------------------------------- 2025-10-17 17:42:05,613 - INFO - ================================================================================ 2025-10-17 17:42:05,613 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-17 17:42:05,613 - 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-17 17:42:05,928 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-17 17:42:05,928 - INFO - Initial checks done. Running the testcase now 2025-10-17 17:42:05,928 - INFO - 2025-10-17 17:42:06,229 - DEBUG - Response for create_network : {'network': {'id': 'adf8f534-0bc3-41da-84d1-3fa802549433', 'name': 'ctest-vn1-78288742', 'tenant_id': 'ca7ac42187f649a5b9f8eec354223e53', 'project_id': 'ca7ac42187f649a5b9f8eec354223e53', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-34269718', 'ctest-vn1-78288742'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 17:42:06,441 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b44fe30b-89d6-4fdf-adfa-2b092b1b2d05', 'name': '', 'tenant_id': 'ca7ac42187f649a5b9f8eec354223e53', 'network_id': 'adf8f534-0bc3-41da-84d1-3fa802549433', 'ip_version': 4, 'cidr': '142.245.50.128/26', 'allocation_pools': [{'start': '142.245.50.130', 'end': '142.245.50.190'}], 'gateway_ip': '142.245.50.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.245.50.130', 'tags': [], 'project_id': 'ca7ac42187f649a5b9f8eec354223e53'}} 2025-10-17 17:42:06,738 - DEBUG - Response for create_subnet : {'subnet': {'id': '19572c49-36b3-44da-aad9-c8eb67dc7e8d', 'name': '', 'tenant_id': 'ca7ac42187f649a5b9f8eec354223e53', 'network_id': 'adf8f534-0bc3-41da-84d1-3fa802549433', 'ip_version': 4, 'cidr': '212.57.160.64/26', 'allocation_pools': [{'start': '212.57.160.66', 'end': '212.57.160.126'}], 'gateway_ip': '212.57.160.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.57.160.66', 'tags': [], 'project_id': 'ca7ac42187f649a5b9f8eec354223e53'}} 2025-10-17 17:42:06,774 - INFO - Created VN ctest-vn1-78288742 2025-10-17 17:42:06,833 - DEBUG - VN ctest-vn1-78288742 UUID is adf8f534-0bc3-41da-84d1-3fa802549433 2025-10-17 17:42:07,405 - DEBUG - Response for create_port : {'port': {'name': 'b982cab9-7dba-471c-ab4a-a9978a7ad7b7', 'id': 'b982cab9-7dba-471c-ab4a-a9978a7ad7b7', 'tenant_id': 'ca7ac42187f649a5b9f8eec354223e53', 'network_id': 'adf8f534-0bc3-41da-84d1-3fa802549433', 'mac_address': '02:b9:82:ca:b9:7d', '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': '142.245.50.133', 'subnet_id': 'b44fe30b-89d6-4fdf-adfa-2b092b1b2d05'}], 'security_groups': ['ced481b7-bd47-4953-bdcf-3b5d093aeb37'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ca7ac42187f649a5b9f8eec354223e53'}} 2025-10-17 17:42:07,651 - DEBUG - Response for create_port : {'port': {'name': '0d6164f3-37a2-43da-9c3c-8218a817674e', 'id': '0d6164f3-37a2-43da-9c3c-8218a817674e', 'tenant_id': 'ca7ac42187f649a5b9f8eec354223e53', 'network_id': 'adf8f534-0bc3-41da-84d1-3fa802549433', 'mac_address': '02:0d:61:64:f3:37', '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': '212.57.160.69', 'subnet_id': '19572c49-36b3-44da-aad9-c8eb67dc7e8d'}], 'security_groups': ['ced481b7-bd47-4953-bdcf-3b5d093aeb37'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ca7ac42187f649a5b9f8eec354223e53'}} 2025-10-17 17:42:07,716 - DEBUG - Services list from nova: [, , ] 2025-10-17 17:42:08,359 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4356-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4356-1) 2025-10-17 17:42:09,138 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4356-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4356-1) 2025-10-17 17:42:09,138 - INFO - Waiting for VM ctest-vn1-vm1-85278678 to be up.. 2025-10-17 17:42:09,216 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-17 17:42:14,335 - DEBUG - VM is in ACTIVE state now 2025-10-17 17:42:14,335 - INFO - VM name : ctest-vn1-vm1-85278678 2025-10-17 17:42:14,434 - DEBUG - VM ctest-vn1-vm1-85278678 ID is 3caabcc5-a6b2-4d9f-8ada-8b6bd2cf0dc5 2025-10-17 17:42:14,459 - DEBUG - VM ctest-vn1-vm1-85278678 launched on Node cn-jenkins-deploy-platform-ansible-os-4356-1 2025-10-17 17:42:14,593 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/3caabcc5-a6b2-4d9f-8ada-8b6bd2cf0dc5 2025-10-17 17:42:14,617 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b982cab9-7dba-471c-ab4a-a9978a7ad7b7 2025-10-17 17:42:17,952 - 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-10-17 17:42:17,952 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85278678 failed! 2025-10-17 17:42:18,029 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-34269718:ctest-vn1-78288742 is 142.245.50.129 and allocation pool is NOT set 2025-10-17 17:42:18,029 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-34269718:ctest-vn1-78288742 is 212.57.160.65 and allocation pool is NOT set 2025-10-17 17:42:22,110 - 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 1007ms') 2025-10-17 17:42:22,111 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85278678 failed! 2025-10-17 17:42:22,182 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-34269718:ctest-vn1-78288742 is 142.245.50.129 and allocation pool is NOT set 2025-10-17 17:42:22,182 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-34269718:ctest-vn1-78288742 is 212.57.160.65 and allocation pool is NOT set 2025-10-17 17:42:24,253 - 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.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.822 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.822/2.123/3.424/1.301 ms') 2025-10-17 17:42:24,253 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85278678 passed 2025-10-17 17:42:24,425 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 17:42:24,425 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-85278678, IP 142.245.50.133, Port 22 2025-10-17 17:42:24,618 - DEBUG - VM ctest-vn1-vm1-85278678 is ready for SSH connections 2025-10-17 17:42:24,619 - INFO - Waiting for VM ctest-vn1-vm2-54034652 to be up.. 2025-10-17 17:42:24,726 - DEBUG - VM is in ACTIVE state now 2025-10-17 17:42:24,726 - INFO - VM name : ctest-vn1-vm2-54034652 2025-10-17 17:42:24,853 - DEBUG - VM ctest-vn1-vm2-54034652 ID is 647bee81-4a60-4aa8-958f-f6c61b1dcd51 2025-10-17 17:42:24,853 - DEBUG - VM ctest-vn1-vm2-54034652 launched on Node cn-jenkins-deploy-platform-ansible-os-4356-1 2025-10-17 17:42:25,000 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/647bee81-4a60-4aa8-958f-f6c61b1dcd51 2025-10-17 17:42:25,022 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0d6164f3-37a2-43da-9c3c-8218a817674e 2025-10-17 17:42:26,356 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.528 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.528/2.267/4.007/1.739 ms') 2025-10-17 17:42:26,357 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-54034652 passed 2025-10-17 17:42:26,572 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 17:42:26,572 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-54034652, IP 212.57.160.69, Port 22 2025-10-17 17:42:26,739 - DEBUG - VM ctest-vn1-vm2-54034652 is ready for SSH connections 2025-10-17 17:42:26,740 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 17:42:26,740 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 17:42:26,740 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 17:42:26,740 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.245.50.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-17 17:42:26,740 - DEBUG - ping -s 56 -c 3 -W 1 142.245.50.133 2025-10-17 17:42:29,744 - DEBUG - PING 142.245.50.133 (142.245.50.133): 56 data bytes 64 bytes from 142.245.50.133: seq=0 ttl=63 time=4.787 ms 64 bytes from 142.245.50.133: seq=1 ttl=63 time=1.858 ms 64 bytes from 142.245.50.133: seq=2 ttl=63 time=1.705 ms --- 142.245.50.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.705/2.783/4.787 ms 2025-10-17 17:42:29,744 - INFO - Ping to IP 142.245.50.133 from VM ctest-vn1-vm2-54034652 passed 2025-10-17 17:42:29,745 - INFO - Detaching port 0d6164f3-37a2-43da-9c3c-8218a817674e from VM ctest-vn1-vm2-54034652 2025-10-17 17:42:29,874 - INFO - Deleting VM ctest-vn1-vm2-54034652 2025-10-17 17:42:30,034 - INFO - Detaching port b982cab9-7dba-471c-ab4a-a9978a7ad7b7 from VM ctest-vn1-vm1-85278678 2025-10-17 17:42:30,106 - INFO - Deleting VM ctest-vn1-vm1-85278678 2025-10-17 17:42:30,444 - DEBUG - Response for delete_port : () 2025-10-17 17:42:30,606 - DEBUG - Response for delete_port : () 2025-10-17 17:42:30,606 - INFO - Deleting VN ctest-vn1-78288742 2025-10-17 17:42:30,750 - DEBUG - Response for deleting network () 2025-10-17 17:42:31,049 - DEBUG - No XMPP flaps were noticed during the test
2025-10-17 17:42:31,049 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-10-17 17:42:31,050 - INFO - -------------------------------------------------------------------------------- 2025-10-17 17:42:31,807 - INFO - Deleted project: ctest-TestPorts-34269718, ID : ca7ac421-87f6-49a5-b9f8-eec354223e53