2025-09-04 17:13:46,845 - INFO - Domain Default found not creating 2025-09-04 17:13:46,979 - INFO - Project ctest-TestPorts-54277199 not found, creating it 2025-09-04 17:13:47,408 - INFO - Created Project:ctest-TestPorts-54277199, ID : 4e94576d-4403-48e1-9eb7-79f51b90691d 2025-09-04 17:13:48,830 - INFO - ================================================================================ 2025-09-04 17:13:48,830 - INFO - STARTING TEST : test_ports_bindings 2025-09-04 17:13:48,830 - 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-09-04 17:13:49,087 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-09-04 17:13:49,087 - INFO - Initial checks done. Running the testcase now 2025-09-04 17:13:49,087 - INFO - 2025-09-04 17:13:49,629 - DEBUG - Response for create_network : {'network': {'id': 'a2ab6c8e-7980-4a1b-8c25-d6da50b40d55', 'name': 'ctest-vn-01027023', 'tenant_id': '4e94576d440348e19eb779f51b90691d', 'project_id': '4e94576d440348e19eb779f51b90691d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-54277199', 'ctest-vn-01027023'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 17:13:49,820 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bbe4b2f0-0af0-453a-b8b9-397cae77ac2b', 'name': '', 'tenant_id': '4e94576d440348e19eb779f51b90691d', 'network_id': 'a2ab6c8e-7980-4a1b-8c25-d6da50b40d55', 'ip_version': 4, 'cidr': '100.43.61.64/26', 'allocation_pools': [{'start': '100.43.61.66', 'end': '100.43.61.126'}], 'gateway_ip': '100.43.61.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.43.61.66', 'tags': [], 'project_id': '4e94576d440348e19eb779f51b90691d'}} 2025-09-04 17:13:49,838 - INFO - Created VN ctest-vn-01027023 2025-09-04 17:13:49,890 - DEBUG - VN ctest-vn-01027023 UUID is a2ab6c8e-7980-4a1b-8c25-d6da50b40d55 2025-09-04 17:13:49,988 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-54277199', 'ctest-vmi-45881067']} 2025-09-04 17:13:50,264 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-45881067', 'id': 'e5efc055-652c-461d-b384-6f3fcd82c3c7', 'tenant_id': '4e94576d440348e19eb779f51b90691d', 'network_id': 'a2ab6c8e-7980-4a1b-8c25-d6da50b40d55', 'mac_address': '02:e5:ef:c0:55:65', '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': '100.43.61.67', 'subnet_id': 'bbe4b2f0-0af0-453a-b8b9-397cae77ac2b'}], 'security_groups': ['ace36e9c-4a20-472f-9fcb-0b9ae0660bc6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4e94576d440348e19eb779f51b90691d'}} 2025-09-04 17:13:50,264 - DEBUG - Created port e5efc055-652c-461d-b384-6f3fcd82c3c7 2025-09-04 17:13:50,370 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e5efc055-652c-461d-b384-6f3fcd82c3c7 2025-09-04 17:13:50,663 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e5efc055-652c-461d-b384-6f3fcd82c3c7 2025-09-04 17:13:50,693 - INFO - VMI e5efc055-652c-461d-b384-6f3fcd82c3c7 verification in API Server passed 2025-09-04 17:13:50,787 - DEBUG - Response for delete_port : () 2025-09-04 17:13:50,787 - INFO - Deleted port e5efc055-652c-461d-b384-6f3fcd82c3c7 2025-09-04 17:13:50,788 - INFO - Deleting VN ctest-vn-01027023 2025-09-04 17:13:50,885 - DEBUG - Response for deleting network () 2025-09-04 17:13:51,138 - DEBUG - No XMPP flaps were noticed during the test 2025-09-04 17:13:51,138 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-09-04 17:13:51,139 - INFO - -------------------------------------------------------------------------------- 2025-09-04 17:13:51,141 - INFO - ================================================================================ 2025-09-04 17:13:51,141 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-04 17:13:51,141 - 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-09-04 17:13:51,426 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-09-04 17:13:51,426 - INFO - Initial checks done. Running the testcase now 2025-09-04 17:13:51,426 - INFO - 2025-09-04 17:13:51,603 - DEBUG - Response for create_network : {'network': {'id': '152f70a2-e8e1-43fa-b283-831487bf4de4', 'name': 'ctest-vn1-32922142', 'tenant_id': '4e94576d440348e19eb779f51b90691d', 'project_id': '4e94576d440348e19eb779f51b90691d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-54277199', 'ctest-vn1-32922142'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 17:13:51,791 - DEBUG - Response for create_subnet : {'subnet': {'id': '0812b5ed-03ce-44ba-a8a1-aa9282e9cd6a', 'name': '', 'tenant_id': '4e94576d440348e19eb779f51b90691d', 'network_id': '152f70a2-e8e1-43fa-b283-831487bf4de4', 'ip_version': 4, 'cidr': '141.74.154.0/26', 'allocation_pools': [{'start': '141.74.154.2', 'end': '141.74.154.62'}], 'gateway_ip': '141.74.154.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.74.154.2', 'tags': [], 'project_id': '4e94576d440348e19eb779f51b90691d'}} 2025-09-04 17:13:51,968 - DEBUG - Response for create_subnet : {'subnet': {'id': '52a8f2ec-132a-4d25-893a-e19835ecb40d', 'name': '', 'tenant_id': '4e94576d440348e19eb779f51b90691d', 'network_id': '152f70a2-e8e1-43fa-b283-831487bf4de4', 'ip_version': 4, 'cidr': '162.62.216.128/26', 'allocation_pools': [{'start': '162.62.216.130', 'end': '162.62.216.190'}], 'gateway_ip': '162.62.216.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.62.216.130', 'tags': [], 'project_id': '4e94576d440348e19eb779f51b90691d'}} 2025-09-04 17:13:51,986 - INFO - Created VN ctest-vn1-32922142 2025-09-04 17:13:52,038 - DEBUG - VN ctest-vn1-32922142 UUID is 152f70a2-e8e1-43fa-b283-831487bf4de4 2025-09-04 17:13:52,324 - DEBUG - Response for create_port : {'port': {'name': '39021b73-86bd-46d4-b11b-75d4a9af3ca9', 'id': '39021b73-86bd-46d4-b11b-75d4a9af3ca9', 'tenant_id': '4e94576d440348e19eb779f51b90691d', 'network_id': '152f70a2-e8e1-43fa-b283-831487bf4de4', 'mac_address': '02:39:02:1b:73:86', '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': '141.74.154.5', 'subnet_id': '0812b5ed-03ce-44ba-a8a1-aa9282e9cd6a'}], 'security_groups': ['ace36e9c-4a20-472f-9fcb-0b9ae0660bc6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4e94576d440348e19eb779f51b90691d'}} 2025-09-04 17:13:52,489 - DEBUG - Response for create_port : {'port': {'name': 'a24071e6-4adf-4b00-ae2b-5d51fb3daed6', 'id': 'a24071e6-4adf-4b00-ae2b-5d51fb3daed6', 'tenant_id': '4e94576d440348e19eb779f51b90691d', 'network_id': '152f70a2-e8e1-43fa-b283-831487bf4de4', 'mac_address': '02:a2:40:71:e6:4a', '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': '162.62.216.133', 'subnet_id': '52a8f2ec-132a-4d25-893a-e19835ecb40d'}], 'security_groups': ['ace36e9c-4a20-472f-9fcb-0b9ae0660bc6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4e94576d440348e19eb779f51b90691d'}} 2025-09-04 17:13:52,545 - DEBUG - Services list from nova: [, , ] 2025-09-04 17:13:52,877 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4018-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4018-1) 2025-09-04 17:13:53,235 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4018-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4018-1) 2025-09-04 17:13:53,236 - INFO - Waiting for VM ctest-vn1-vm1-61005888 to be up.. 2025-09-04 17:13:53,277 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-04 17:13:58,351 - DEBUG - VM is in ACTIVE state now 2025-09-04 17:13:58,351 - INFO - VM name : ctest-vn1-vm1-61005888 2025-09-04 17:13:58,417 - DEBUG - VM ctest-vn1-vm1-61005888 ID is 8ef89807-48af-44f0-b57f-7aa32ffd7e0a 2025-09-04 17:13:58,434 - DEBUG - VM ctest-vn1-vm1-61005888 launched on Node cn-jenkins-deploy-platform-ansible-os-4018-1 2025-09-04 17:13:58,509 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8ef89807-48af-44f0-b57f-7aa32ffd7e0a 2025-09-04 17:13:58,518 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/39021b73-86bd-46d4-b11b-75d4a9af3ca9 2025-09-04 17:14:01,756 - 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 1002ms') 2025-09-04 17:14:01,756 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61005888 failed! 2025-09-04 17:14:01,810 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-54277199:ctest-vn1-32922142 is 141.74.154.1 and allocation pool is NOT set 2025-09-04 17:14:01,810 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-54277199:ctest-vn1-32922142 is 162.62.216.129 and allocation pool is NOT set 2025-09-04 17:14:03,879 - 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=2.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.47 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 = 2.474/2.544/2.615/0.070 ms') 2025-09-04 17:14:03,879 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61005888 passed 2025-09-04 17:14:04,026 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 17:14:04,026 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-61005888, IP 141.74.154.5, Port 22 2025-09-04 17:14:04,080 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-09-04 17:14:04,149 - DEBUG - VM ctest-vn1-vm1-61005888 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-04 17:14:09,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 17:14:09,150 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-61005888, IP 141.74.154.5, Port 22 2025-09-04 17:14:09,305 - DEBUG - VM ctest-vn1-vm1-61005888 is ready for SSH connections 2025-09-04 17:14:09,305 - INFO - Waiting for VM ctest-vn1-vm2-34436292 to be up.. 2025-09-04 17:14:09,376 - DEBUG - VM is in ACTIVE state now 2025-09-04 17:14:09,376 - INFO - VM name : ctest-vn1-vm2-34436292 2025-09-04 17:14:09,443 - DEBUG - VM ctest-vn1-vm2-34436292 ID is f11d82b7-1cb4-4292-8075-71b4b18e1e1f 2025-09-04 17:14:09,444 - DEBUG - VM ctest-vn1-vm2-34436292 launched on Node cn-jenkins-deploy-platform-ansible-os-4018-1 2025-09-04 17:14:09,511 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f11d82b7-1cb4-4292-8075-71b4b18e1e1f 2025-09-04 17:14:09,521 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a24071e6-4adf-4b00-ae2b-5d51fb3daed6 2025-09-04 17:14:10,760 - 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.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.405 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.405/1.823/3.241/1.418 ms') 2025-09-04 17:14:10,760 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-34436292 passed 2025-09-04 17:14:10,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 17:14:10,910 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-34436292, IP 162.62.216.133, Port 22 2025-09-04 17:14:11,065 - DEBUG - VM ctest-vn1-vm2-34436292 is ready for SSH connections 2025-09-04 17:14:11,065 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 17:14:11,066 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 17:14:11,066 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 17:14:11,066 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.74.154.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-04 17:14:11,066 - DEBUG - ping -s 56 -c 3 -W 1 141.74.154.5 2025-09-04 17:14:13,728 - DEBUG - PING 141.74.154.5 (141.74.154.5): 56 data bytes 64 bytes from 141.74.154.5: seq=0 ttl=63 time=3.296 ms 64 bytes from 141.74.154.5: seq=1 ttl=63 time=0.816 ms 64 bytes from 141.74.154.5: seq=2 ttl=63 time=0.981 ms --- 141.74.154.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.816/1.697/3.296 ms 2025-09-04 17:14:13,728 - INFO - Ping to IP 141.74.154.5 from VM ctest-vn1-vm2-34436292 passed 2025-09-04 17:14:13,728 - INFO - Detaching port a24071e6-4adf-4b00-ae2b-5d51fb3daed6 from VM ctest-vn1-vm2-34436292 2025-09-04 17:14:13,774 - INFO - Deleting VM ctest-vn1-vm2-34436292 2025-09-04 17:14:13,841 - INFO - Detaching port 39021b73-86bd-46d4-b11b-75d4a9af3ca9 from VM ctest-vn1-vm1-61005888 2025-09-04 17:14:13,877 - INFO - Deleting VM ctest-vn1-vm1-61005888 2025-09-04 17:14:14,128 - DEBUG - Response for delete_port : () 2025-09-04 17:14:14,288 - DEBUG - Response for delete_port : () 2025-09-04 17:14:14,288 - INFO - Deleting VN ctest-vn1-32922142 2025-09-04 17:14:14,437 - DEBUG - Response for deleting network () 2025-09-04 17:14:14,694 - DEBUG - No XMPP flaps were noticed during the test 2025-09-04 17:14:14,694 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23] 2025-09-04 17:14:14,694 - INFO - -------------------------------------------------------------------------------- 2025-09-04 17:14:15,404 - INFO - Deleted project: ctest-TestPorts-54277199, ID : 4e94576d-4403-48e1-9eb7-79f51b90691d