2025-08-20 09:06:54,065 - INFO - Domain Default found not creating 2025-08-20 09:06:54,189 - INFO - Project ctest-TestPorts-47862935 not found, creating it 2025-08-20 09:06:54,607 - INFO - Created Project:ctest-TestPorts-47862935, ID : a045bba8-8701-4030-b630-8f480c2a7caa 2025-08-20 09:06:55,961 - INFO - ================================================================================ 2025-08-20 09:06:55,961 - INFO - STARTING TEST : test_ports_bindings 2025-08-20 09:06:55,961 - 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-20 09:06:56,216 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.0.0.50': '0'}} with 2025-08-20 09:06:56,216 - INFO - Initial checks done. Running the testcase now 2025-08-20 09:06:56,216 - INFO - 2025-08-20 09:06:56,834 - DEBUG - Response for create_network : {'network': {'id': '36364c48-7a22-470b-8d4b-5f4b8208e409', 'name': 'ctest-vn-49828722', 'tenant_id': 'a045bba887014030b6308f480c2a7caa', 'project_id': 'a045bba887014030b6308f480c2a7caa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-47862935', 'ctest-vn-49828722'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 09:06:57,011 - DEBUG - Response for create_subnet : {'subnet': {'id': '12a1572d-4067-4b51-978f-50546beaddbc', 'name': '', 'tenant_id': 'a045bba887014030b6308f480c2a7caa', 'network_id': '36364c48-7a22-470b-8d4b-5f4b8208e409', 'ip_version': 4, 'cidr': '5.75.57.192/26', 'allocation_pools': [{'start': '5.75.57.194', 'end': '5.75.57.254'}], 'gateway_ip': '5.75.57.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.75.57.194', 'tags': [], 'project_id': 'a045bba887014030b6308f480c2a7caa'}} 2025-08-20 09:06:57,026 - INFO - Created VN ctest-vn-49828722 2025-08-20 09:06:57,079 - DEBUG - VN ctest-vn-49828722 UUID is 36364c48-7a22-470b-8d4b-5f4b8208e409 2025-08-20 09:06:57,176 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-47862935', 'ctest-vmi-08383296']} 2025-08-20 09:06:57,449 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-08383296', 'id': '2a9f8130-0232-4f9e-baa7-5e0977d168ac', 'tenant_id': 'a045bba887014030b6308f480c2a7caa', 'network_id': '36364c48-7a22-470b-8d4b-5f4b8208e409', 'mac_address': '02:2a:9f:81:30:02', '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': '5.75.57.195', 'subnet_id': '12a1572d-4067-4b51-978f-50546beaddbc'}], 'security_groups': ['9623d3cf-49e7-49ba-97b8-8601d2b2d7cd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a045bba887014030b6308f480c2a7caa'}} 2025-08-20 09:06:57,449 - DEBUG - Created port 2a9f8130-0232-4f9e-baa7-5e0977d168ac 2025-08-20 09:06:57,551 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2a9f8130-0232-4f9e-baa7-5e0977d168ac 2025-08-20 09:06:57,842 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2a9f8130-0232-4f9e-baa7-5e0977d168ac 2025-08-20 09:06:57,869 - INFO - VMI 2a9f8130-0232-4f9e-baa7-5e0977d168ac verification in API Server passed 2025-08-20 09:06:57,950 - DEBUG - Response for delete_port : () 2025-08-20 09:06:57,950 - INFO - Deleted port 2a9f8130-0232-4f9e-baa7-5e0977d168ac 2025-08-20 09:06:57,951 - INFO - Deleting VN ctest-vn-49828722 2025-08-20 09:06:58,045 - DEBUG - Response for deleting network () 2025-08-20 09:06:58,308 - DEBUG - No XMPP flaps were noticed during the test 2025-08-20 09:06:58,308 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-08-20 09:06:58,308 - INFO - -------------------------------------------------------------------------------- 2025-08-20 09:06:58,310 - INFO - ================================================================================ 2025-08-20 09:06:58,310 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-20 09:06:58,310 - 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-20 09:06:58,604 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.0.0.50': '0'}} with 2025-08-20 09:06:58,604 - INFO - Initial checks done. Running the testcase now 2025-08-20 09:06:58,604 - INFO - 2025-08-20 09:06:58,772 - DEBUG - Response for create_network : {'network': {'id': '6a813285-bda4-43e4-9919-561c4a1361be', 'name': 'ctest-vn1-66605024', 'tenant_id': 'a045bba887014030b6308f480c2a7caa', 'project_id': 'a045bba887014030b6308f480c2a7caa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-47862935', 'ctest-vn1-66605024'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 09:06:58,955 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c8e12e00-6f4d-4d45-8075-15342edfb133', 'name': '', 'tenant_id': 'a045bba887014030b6308f480c2a7caa', 'network_id': '6a813285-bda4-43e4-9919-561c4a1361be', 'ip_version': 4, 'cidr': '170.95.194.128/26', 'allocation_pools': [{'start': '170.95.194.130', 'end': '170.95.194.190'}], 'gateway_ip': '170.95.194.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.95.194.130', 'tags': [], 'project_id': 'a045bba887014030b6308f480c2a7caa'}} 2025-08-20 09:06:59,099 - DEBUG - Response for create_subnet : {'subnet': {'id': 'be1ae44e-7000-42cc-98e1-ce21d128e450', 'name': '', 'tenant_id': 'a045bba887014030b6308f480c2a7caa', 'network_id': '6a813285-bda4-43e4-9919-561c4a1361be', 'ip_version': 4, 'cidr': '55.135.147.192/26', 'allocation_pools': [{'start': '55.135.147.194', 'end': '55.135.147.254'}], 'gateway_ip': '55.135.147.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.135.147.194', 'tags': [], 'project_id': 'a045bba887014030b6308f480c2a7caa'}} 2025-08-20 09:06:59,115 - INFO - Created VN ctest-vn1-66605024 2025-08-20 09:06:59,167 - DEBUG - VN ctest-vn1-66605024 UUID is 6a813285-bda4-43e4-9919-561c4a1361be 2025-08-20 09:06:59,838 - DEBUG - Response for create_port : {'port': {'name': 'aa263bdb-eb45-47b1-8d5b-dfd7ea59f5de', 'id': 'aa263bdb-eb45-47b1-8d5b-dfd7ea59f5de', 'tenant_id': 'a045bba887014030b6308f480c2a7caa', 'network_id': '6a813285-bda4-43e4-9919-561c4a1361be', 'mac_address': '02:aa:26:3b:db:eb', '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': '170.95.194.133', 'subnet_id': 'c8e12e00-6f4d-4d45-8075-15342edfb133'}], 'security_groups': ['9623d3cf-49e7-49ba-97b8-8601d2b2d7cd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a045bba887014030b6308f480c2a7caa'}} 2025-08-20 09:07:00,045 - DEBUG - Response for create_port : {'port': {'name': 'c5426341-0be7-49b7-81bd-f0ce5f2e48a4', 'id': 'c5426341-0be7-49b7-81bd-f0ce5f2e48a4', 'tenant_id': 'a045bba887014030b6308f480c2a7caa', 'network_id': '6a813285-bda4-43e4-9919-561c4a1361be', 'mac_address': '02:c5:42:63:41:0b', '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': '55.135.147.197', 'subnet_id': 'be1ae44e-7000-42cc-98e1-ce21d128e450'}], 'security_groups': ['9623d3cf-49e7-49ba-97b8-8601d2b2d7cd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a045bba887014030b6308f480c2a7caa'}} 2025-08-20 09:07:00,096 - DEBUG - Services list from nova: [, , ] 2025-08-20 09:07:00,364 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3889-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3889-1) 2025-08-20 09:07:00,706 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3889-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3889-1) 2025-08-20 09:07:00,706 - INFO - Waiting for VM ctest-vn1-vm1-71912792 to be up.. 2025-08-20 09:07:00,743 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-20 09:07:05,811 - DEBUG - VM is in ACTIVE state now 2025-08-20 09:07:05,811 - INFO - VM name : ctest-vn1-vm1-71912792 2025-08-20 09:07:05,882 - DEBUG - VM ctest-vn1-vm1-71912792 ID is 97d0a613-ad1d-45a5-a0cc-00756fc32e32 2025-08-20 09:07:05,899 - DEBUG - VM ctest-vn1-vm1-71912792 launched on Node cn-jenkins-deploy-platform-ansible-os-3889-1. 2025-08-20 09:07:05,963 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/97d0a613-ad1d-45a5-a0cc-00756fc32e32 2025-08-20 09:07:05,970 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/aa263bdb-eb45-47b1-8d5b-dfd7ea59f5de 2025-08-20 09:07:09,239 - 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 1036ms') 2025-08-20 09:07:09,239 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-71912792 failed! 2025-08-20 09:07:09,291 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-47862935:ctest-vn1-66605024 is 170.95.194.129 and allocation pool is NOT set 2025-08-20 09:07:09,291 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-47862935:ctest-vn1-66605024 is 55.135.147.193 and allocation pool is NOT set 2025-08-20 09:07:11,356 - 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.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.402 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.402/1.997/3.592/1.595 ms') 2025-08-20 09:07:11,356 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-71912792 passed 2025-08-20 09:07:11,503 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:07:11,503 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-71912792, IP 170.95.194.133, Port 22 2025-08-20 09:07:11,559 - 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-08-20 09:07:11,625 - DEBUG - VM ctest-vn1-vm1-71912792 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-20 09:07:16,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:07:16,626 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-71912792, IP 170.95.194.133, Port 22 2025-08-20 09:07:16,778 - DEBUG - VM ctest-vn1-vm1-71912792 is ready for SSH connections 2025-08-20 09:07:16,778 - INFO - Waiting for VM ctest-vn1-vm2-59210234 to be up.. 2025-08-20 09:07:16,841 - DEBUG - VM is in ACTIVE state now 2025-08-20 09:07:16,841 - INFO - VM name : ctest-vn1-vm2-59210234 2025-08-20 09:07:16,901 - DEBUG - VM ctest-vn1-vm2-59210234 ID is d8127040-52b1-4c1c-b3eb-19f2288abbb6 2025-08-20 09:07:16,901 - DEBUG - VM ctest-vn1-vm2-59210234 launched on Node cn-jenkins-deploy-platform-ansible-os-3889-1. 2025-08-20 09:07:16,962 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d8127040-52b1-4c1c-b3eb-19f2288abbb6 2025-08-20 09:07:16,968 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c5426341-0be7-49b7-81bd-f0ce5f2e48a4 2025-08-20 09:07:18,209 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=4.18 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 = 2.541/3.359/4.177/0.818 ms') 2025-08-20 09:07:18,209 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-59210234 passed 2025-08-20 09:07:18,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:07:18,355 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-59210234, IP 55.135.147.197, Port 22 2025-08-20 09:07:18,511 - DEBUG - VM ctest-vn1-vm2-59210234 is ready for SSH connections 2025-08-20 09:07:18,511 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:07:18,511 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:07:18,511 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:07:18,511 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.95.194.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-20 09:07:18,511 - DEBUG - ping -s 56 -c 3 -W 1 170.95.194.133 2025-08-20 09:07:21,428 - DEBUG - PING 170.95.194.133 (170.95.194.133): 56 data bytes 64 bytes from 170.95.194.133: seq=0 ttl=63 time=3.656 ms 64 bytes from 170.95.194.133: seq=1 ttl=63 time=0.944 ms 64 bytes from 170.95.194.133: seq=2 ttl=63 time=0.773 ms --- 170.95.194.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.773/1.791/3.656 ms 2025-08-20 09:07:21,428 - INFO - Ping to IP 170.95.194.133 from VM ctest-vn1-vm2-59210234 passed 2025-08-20 09:07:21,428 - INFO - Detaching port c5426341-0be7-49b7-81bd-f0ce5f2e48a4 from VM ctest-vn1-vm2-59210234 2025-08-20 09:07:21,485 - INFO - Deleting VM ctest-vn1-vm2-59210234 2025-08-20 09:07:21,557 - INFO - Detaching port aa263bdb-eb45-47b1-8d5b-dfd7ea59f5de from VM ctest-vn1-vm1-71912792 2025-08-20 09:07:21,590 - INFO - Deleting VM ctest-vn1-vm1-71912792 2025-08-20 09:07:21,774 - DEBUG - Response for delete_port : () 2025-08-20 09:07:21,911 - DEBUG - Response for delete_port : () 2025-08-20 09:07:21,911 - INFO - Deleting VN ctest-vn1-66605024 2025-08-20 09:07:22,027 - DEBUG - Response for deleting network () 2025-08-20 09:07:22,280 - DEBUG - No XMPP flaps were noticed during the test 2025-08-20 09:07:22,280 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-08-20 09:07:22,280 - INFO - -------------------------------------------------------------------------------- 2025-08-20 09:07:22,915 - INFO - Deleted project: ctest-TestPorts-47862935, ID : a045bba8-8701-4030-b630-8f480c2a7caa