2025-09-11 09:24:03,863 - INFO - Domain Default found not creating 2025-09-11 09:24:04,007 - INFO - Project ctest-TestPorts-23705373 not found, creating it 2025-09-11 09:24:04,433 - INFO - Created Project:ctest-TestPorts-23705373, ID : 49aac834-4544-466a-8c73-2e46cc31f86d 2025-09-11 09:24:05,752 - INFO - ================================================================================ 2025-09-11 09:24:05,752 - INFO - STARTING TEST : test_ports_bindings 2025-09-11 09:24:05,752 - 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-11 09:24:06,012 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-09-11 09:24:06,012 - INFO - Initial checks done. Running the testcase now 2025-09-11 09:24:06,012 - INFO - 2025-09-11 09:24:06,616 - DEBUG - Response for create_network : {'network': {'id': '77f71a3c-9210-479f-9f29-85ccc27bfcf2', 'name': 'ctest-vn-20150232', 'tenant_id': '49aac8344544466a8c732e46cc31f86d', 'project_id': '49aac8344544466a8c732e46cc31f86d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-23705373', 'ctest-vn-20150232'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 09:24:06,779 - DEBUG - Response for create_subnet : {'subnet': {'id': '428f56c5-1367-4e89-bec5-1d17a3b3cdf2', 'name': '', 'tenant_id': '49aac8344544466a8c732e46cc31f86d', 'network_id': '77f71a3c-9210-479f-9f29-85ccc27bfcf2', 'ip_version': 4, 'cidr': '90.134.238.192/26', 'allocation_pools': [{'start': '90.134.238.194', 'end': '90.134.238.254'}], 'gateway_ip': '90.134.238.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.134.238.194', 'tags': [], 'project_id': '49aac8344544466a8c732e46cc31f86d'}} 2025-09-11 09:24:06,794 - INFO - Created VN ctest-vn-20150232 2025-09-11 09:24:06,843 - DEBUG - VN ctest-vn-20150232 UUID is 77f71a3c-9210-479f-9f29-85ccc27bfcf2 2025-09-11 09:24:06,942 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-23705373', 'ctest-vmi-42981012']} 2025-09-11 09:24:07,209 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-42981012', 'id': '86066bde-bf65-4345-8ada-7bce547a8204', 'tenant_id': '49aac8344544466a8c732e46cc31f86d', 'network_id': '77f71a3c-9210-479f-9f29-85ccc27bfcf2', 'mac_address': '02:86:06:6b:de:bf', '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': '90.134.238.195', 'subnet_id': '428f56c5-1367-4e89-bec5-1d17a3b3cdf2'}], 'security_groups': ['451dae04-b907-4d99-afcc-2a75c3d2e03d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '49aac8344544466a8c732e46cc31f86d'}} 2025-09-11 09:24:07,209 - DEBUG - Created port 86066bde-bf65-4345-8ada-7bce547a8204 2025-09-11 09:24:07,311 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/86066bde-bf65-4345-8ada-7bce547a8204 2025-09-11 09:24:07,600 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/86066bde-bf65-4345-8ada-7bce547a8204 2025-09-11 09:24:07,628 - INFO - VMI 86066bde-bf65-4345-8ada-7bce547a8204 verification in API Server passed 2025-09-11 09:24:07,712 - DEBUG - Response for delete_port : () 2025-09-11 09:24:07,712 - INFO - Deleted port 86066bde-bf65-4345-8ada-7bce547a8204 2025-09-11 09:24:07,712 - INFO - Deleting VN ctest-vn-20150232 2025-09-11 09:24:07,793 - DEBUG - Response for deleting network () 2025-09-11 09:24:08,047 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 09:24:08,047 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-09-11 09:24:08,048 - INFO - -------------------------------------------------------------------------------- 2025-09-11 09:24:08,051 - INFO - ================================================================================ 2025-09-11 09:24:08,051 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-11 09:24:08,051 - 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-11 09:24:08,340 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-09-11 09:24:08,340 - INFO - Initial checks done. Running the testcase now 2025-09-11 09:24:08,341 - INFO - 2025-09-11 09:24:08,518 - DEBUG - Response for create_network : {'network': {'id': 'ee45e350-8abd-4487-9179-36d502973d40', 'name': 'ctest-vn1-59468591', 'tenant_id': '49aac8344544466a8c732e46cc31f86d', 'project_id': '49aac8344544466a8c732e46cc31f86d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-23705373', 'ctest-vn1-59468591'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 09:24:08,676 - DEBUG - Response for create_subnet : {'subnet': {'id': '6df5612c-3f8d-4690-945a-0f4b096c4264', 'name': '', 'tenant_id': '49aac8344544466a8c732e46cc31f86d', 'network_id': 'ee45e350-8abd-4487-9179-36d502973d40', 'ip_version': 4, 'cidr': '133.38.235.192/26', 'allocation_pools': [{'start': '133.38.235.194', 'end': '133.38.235.254'}], 'gateway_ip': '133.38.235.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.38.235.194', 'tags': [], 'project_id': '49aac8344544466a8c732e46cc31f86d'}} 2025-09-11 09:24:08,870 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a612d243-8f4c-40d9-a0ce-572d521b78e2', 'name': '', 'tenant_id': '49aac8344544466a8c732e46cc31f86d', 'network_id': 'ee45e350-8abd-4487-9179-36d502973d40', 'ip_version': 4, 'cidr': '222.165.13.192/26', 'allocation_pools': [{'start': '222.165.13.194', 'end': '222.165.13.254'}], 'gateway_ip': '222.165.13.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.165.13.194', 'tags': [], 'project_id': '49aac8344544466a8c732e46cc31f86d'}} 2025-09-11 09:24:08,887 - INFO - Created VN ctest-vn1-59468591 2025-09-11 09:24:08,935 - DEBUG - VN ctest-vn1-59468591 UUID is ee45e350-8abd-4487-9179-36d502973d40 2025-09-11 09:24:09,208 - DEBUG - Response for create_port : {'port': {'name': '2bcd2104-508d-406a-85e2-d1a343ec3c2e', 'id': '2bcd2104-508d-406a-85e2-d1a343ec3c2e', 'tenant_id': '49aac8344544466a8c732e46cc31f86d', 'network_id': 'ee45e350-8abd-4487-9179-36d502973d40', 'mac_address': '02:2b:cd:21:04:50', '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': '133.38.235.197', 'subnet_id': '6df5612c-3f8d-4690-945a-0f4b096c4264'}], 'security_groups': ['451dae04-b907-4d99-afcc-2a75c3d2e03d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '49aac8344544466a8c732e46cc31f86d'}} 2025-09-11 09:24:09,365 - DEBUG - Response for create_port : {'port': {'name': '27a5458d-0cae-4719-b616-a7faa4ac2e2f', 'id': '27a5458d-0cae-4719-b616-a7faa4ac2e2f', 'tenant_id': '49aac8344544466a8c732e46cc31f86d', 'network_id': 'ee45e350-8abd-4487-9179-36d502973d40', 'mac_address': '02:27:a5:45:8d:0c', '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': '222.165.13.197', 'subnet_id': 'a612d243-8f4c-40d9-a0ce-572d521b78e2'}], 'security_groups': ['451dae04-b907-4d99-afcc-2a75c3d2e03d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '49aac8344544466a8c732e46cc31f86d'}} 2025-09-11 09:24:09,419 - DEBUG - Services list from nova: [, , ] 2025-09-11 09:24:09,713 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4087-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4087-1) 2025-09-11 09:24:10,064 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4087-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4087-1) 2025-09-11 09:24:10,064 - INFO - Waiting for VM ctest-vn1-vm1-17074145 to be up.. 2025-09-11 09:24:10,097 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 09:24:15,165 - DEBUG - VM is in ACTIVE state now 2025-09-11 09:24:15,165 - INFO - VM name : ctest-vn1-vm1-17074145 2025-09-11 09:24:15,227 - DEBUG - VM ctest-vn1-vm1-17074145 ID is 19a2710a-53d1-4bd7-b458-0d6fc56627f7 2025-09-11 09:24:15,244 - DEBUG - VM ctest-vn1-vm1-17074145 launched on Node cn-jenkins-deploy-platform-ansible-os-4087-1 2025-09-11 09:24:15,307 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/19a2710a-53d1-4bd7-b458-0d6fc56627f7 2025-09-11 09:24:15,315 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2bcd2104-508d-406a-85e2-d1a343ec3c2e 2025-09-11 09:24:18,553 - 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 1006ms') 2025-09-11 09:24:18,553 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17074145 failed! 2025-09-11 09:24:18,607 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-23705373:ctest-vn1-59468591 is 133.38.235.193 and allocation pool is NOT set 2025-09-11 09:24:18,607 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-23705373:ctest-vn1-59468591 is 222.165.13.193 and allocation pool is NOT set 2025-09-11 09:24:20,670 - 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=9.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.00 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 = 1.999/5.817/9.636/3.818 ms') 2025-09-11 09:24:20,670 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17074145 passed 2025-09-11 09:24:20,819 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 09:24:20,819 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17074145, IP 133.38.235.197, Port 22 2025-09-11 09:24:20,874 - 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-11 09:24:20,950 - DEBUG - VM ctest-vn1-vm1-17074145 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-11 09:24:25,951 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 09:24:25,951 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17074145, IP 133.38.235.197, Port 22 2025-09-11 09:24:26,107 - DEBUG - VM ctest-vn1-vm1-17074145 is ready for SSH connections 2025-09-11 09:24:26,107 - INFO - Waiting for VM ctest-vn1-vm2-38891271 to be up.. 2025-09-11 09:24:26,176 - DEBUG - VM is in ACTIVE state now 2025-09-11 09:24:26,176 - INFO - VM name : ctest-vn1-vm2-38891271 2025-09-11 09:24:26,250 - DEBUG - VM ctest-vn1-vm2-38891271 ID is e8d261a7-e81d-4d92-bd28-381cd7c87b94 2025-09-11 09:24:26,250 - DEBUG - VM ctest-vn1-vm2-38891271 launched on Node cn-jenkins-deploy-platform-ansible-os-4087-1 2025-09-11 09:24:26,327 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e8d261a7-e81d-4d92-bd28-381cd7c87b94 2025-09-11 09:24:26,336 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/27a5458d-0cae-4719-b616-a7faa4ac2e2f 2025-09-11 09:24:27,572 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.324 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.324/1.574/2.825/1.250 ms') 2025-09-11 09:24:27,572 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-38891271 passed 2025-09-11 09:24:27,719 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 09:24:27,719 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-38891271, IP 222.165.13.197, Port 22 2025-09-11 09:24:27,871 - DEBUG - VM ctest-vn1-vm2-38891271 is ready for SSH connections 2025-09-11 09:24:27,871 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 09:24:27,871 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 09:24:27,871 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 09:24:27,871 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.38.235.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 09:24:27,871 - DEBUG - ping -s 56 -c 3 -W 1 133.38.235.197 2025-09-11 09:24:30,873 - DEBUG - PING 133.38.235.197 (133.38.235.197): 56 data bytes 64 bytes from 133.38.235.197: seq=0 ttl=63 time=4.248 ms 64 bytes from 133.38.235.197: seq=1 ttl=63 time=0.765 ms 64 bytes from 133.38.235.197: seq=2 ttl=63 time=0.857 ms --- 133.38.235.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.765/1.956/4.248 ms 2025-09-11 09:24:30,873 - INFO - Ping to IP 133.38.235.197 from VM ctest-vn1-vm2-38891271 passed 2025-09-11 09:24:30,873 - INFO - Detaching port 27a5458d-0cae-4719-b616-a7faa4ac2e2f from VM ctest-vn1-vm2-38891271 2025-09-11 09:24:30,918 - INFO - Deleting VM ctest-vn1-vm2-38891271 2025-09-11 09:24:30,978 - INFO - Detaching port 2bcd2104-508d-406a-85e2-d1a343ec3c2e from VM ctest-vn1-vm1-17074145 2025-09-11 09:24:31,012 - INFO - Deleting VM ctest-vn1-vm1-17074145 2025-09-11 09:24:31,226 - DEBUG - Response for delete_port : () 2025-09-11 09:24:31,372 - DEBUG - Response for delete_port : () 2025-09-11 09:24:31,372 - INFO - Deleting VN ctest-vn1-59468591 2025-09-11 09:24:31,480 - DEBUG - Response for deleting network () 2025-09-11 09:24:31,736 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 09:24:31,736 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23] 2025-09-11 09:24:31,736 - INFO - -------------------------------------------------------------------------------- 2025-09-11 09:24:32,403 - INFO - Deleted project: ctest-TestPorts-23705373, ID : 49aac834-4544-466a-8c73-2e46cc31f86d