2025-10-27 04:07:02,840 - INFO - Domain Default found not creating 2025-10-27 04:07:02,991 - INFO - Project ctest-TestPorts-59515351 not found, creating it 2025-10-27 04:07:03,455 - INFO - Created Project:ctest-TestPorts-59515351, ID : 18e7c758-d373-450b-b4ad-f1354b4672ce 2025-10-27 04:07:04,873 - INFO - ================================================================================ 2025-10-27 04:07:04,873 - INFO - STARTING TEST : test_ports_bindings 2025-10-27 04:07:04,873 - 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-27 04:07:05,125 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2025-10-27 04:07:05,126 - INFO - Initial checks done. Running the testcase now 2025-10-27 04:07:05,126 - INFO - 2025-10-27 04:07:05,679 - DEBUG - Response for create_network : {'network': {'id': '3524a6f9-0d44-4a21-bd35-7e854e0dd5b5', 'name': 'ctest-vn-81398909', 'tenant_id': '18e7c758d373450bb4adf1354b4672ce', 'project_id': '18e7c758d373450bb4adf1354b4672ce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-59515351', 'ctest-vn-81398909'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 04:07:05,840 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a1903ed0-3507-4772-8760-d1d63eb10757', 'name': '', 'tenant_id': '18e7c758d373450bb4adf1354b4672ce', 'network_id': '3524a6f9-0d44-4a21-bd35-7e854e0dd5b5', 'ip_version': 4, 'cidr': '129.42.199.0/26', 'allocation_pools': [{'start': '129.42.199.2', 'end': '129.42.199.62'}], 'gateway_ip': '129.42.199.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.42.199.2', 'tags': [], 'project_id': '18e7c758d373450bb4adf1354b4672ce'}} 2025-10-27 04:07:05,857 - INFO - Created VN ctest-vn-81398909 2025-10-27 04:07:05,908 - DEBUG - VN ctest-vn-81398909 UUID is 3524a6f9-0d44-4a21-bd35-7e854e0dd5b5 2025-10-27 04:07:06,016 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-59515351', 'ctest-vmi-12676212']} 2025-10-27 04:07:06,256 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-12676212', 'id': 'b0a9230d-ecfb-469e-a8eb-7f3fe0af9787', 'tenant_id': '18e7c758d373450bb4adf1354b4672ce', 'network_id': '3524a6f9-0d44-4a21-bd35-7e854e0dd5b5', 'mac_address': '02:b0:a9:23:0d:ec', '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': '129.42.199.3', 'subnet_id': 'a1903ed0-3507-4772-8760-d1d63eb10757'}], 'security_groups': ['b96c40f4-4f61-40e6-af6a-d80bd077090d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '18e7c758d373450bb4adf1354b4672ce'}} 2025-10-27 04:07:06,256 - DEBUG - Created port b0a9230d-ecfb-469e-a8eb-7f3fe0af9787 2025-10-27 04:07:06,360 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/b0a9230d-ecfb-469e-a8eb-7f3fe0af9787 2025-10-27 04:07:06,861 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/b0a9230d-ecfb-469e-a8eb-7f3fe0af9787 2025-10-27 04:07:06,905 - INFO - VMI b0a9230d-ecfb-469e-a8eb-7f3fe0af9787 verification in API Server passed 2025-10-27 04:07:07,003 - DEBUG - Response for delete_port : () 2025-10-27 04:07:07,003 - INFO - Deleted port b0a9230d-ecfb-469e-a8eb-7f3fe0af9787 2025-10-27 04:07:07,003 - INFO - Deleting VN ctest-vn-81398909 2025-10-27 04:07:07,107 - DEBUG - Response for deleting network () 2025-10-27 04:07:07,361 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 04:07:07,361 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-27 04:07:07,361 - INFO - -------------------------------------------------------------------------------- 2025-10-27 04:07:07,365 - INFO - ================================================================================ 2025-10-27 04:07:07,365 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-27 04:07:07,365 - 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-27 04:07:07,655 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2025-10-27 04:07:07,655 - INFO - Initial checks done. Running the testcase now 2025-10-27 04:07:07,655 - INFO - 2025-10-27 04:07:07,834 - DEBUG - Response for create_network : {'network': {'id': '2b7a478b-a171-4145-9c62-ca99df49528f', 'name': 'ctest-vn1-73105596', 'tenant_id': '18e7c758d373450bb4adf1354b4672ce', 'project_id': '18e7c758d373450bb4adf1354b4672ce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-59515351', 'ctest-vn1-73105596'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 04:07:08,010 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db97415b-8afd-45df-b030-bf741952c73f', 'name': '', 'tenant_id': '18e7c758d373450bb4adf1354b4672ce', 'network_id': '2b7a478b-a171-4145-9c62-ca99df49528f', 'ip_version': 4, 'cidr': '8.164.235.192/26', 'allocation_pools': [{'start': '8.164.235.194', 'end': '8.164.235.254'}], 'gateway_ip': '8.164.235.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.164.235.194', 'tags': [], 'project_id': '18e7c758d373450bb4adf1354b4672ce'}} 2025-10-27 04:07:08,156 - DEBUG - Response for create_subnet : {'subnet': {'id': '67f4f0a3-d8ea-450a-a9ef-efcac5f1e5eb', 'name': '', 'tenant_id': '18e7c758d373450bb4adf1354b4672ce', 'network_id': '2b7a478b-a171-4145-9c62-ca99df49528f', 'ip_version': 4, 'cidr': '130.70.249.64/26', 'allocation_pools': [{'start': '130.70.249.66', 'end': '130.70.249.126'}], 'gateway_ip': '130.70.249.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.70.249.66', 'tags': [], 'project_id': '18e7c758d373450bb4adf1354b4672ce'}} 2025-10-27 04:07:08,182 - INFO - Created VN ctest-vn1-73105596 2025-10-27 04:07:08,236 - DEBUG - VN ctest-vn1-73105596 UUID is 2b7a478b-a171-4145-9c62-ca99df49528f 2025-10-27 04:07:08,539 - DEBUG - Response for create_port : {'port': {'name': '2c8b6092-192a-4596-9478-45ec8a3ad5a3', 'id': '2c8b6092-192a-4596-9478-45ec8a3ad5a3', 'tenant_id': '18e7c758d373450bb4adf1354b4672ce', 'network_id': '2b7a478b-a171-4145-9c62-ca99df49528f', 'mac_address': '02:2c:8b:60:92:19', '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': '8.164.235.197', 'subnet_id': 'db97415b-8afd-45df-b030-bf741952c73f'}], 'security_groups': ['b96c40f4-4f61-40e6-af6a-d80bd077090d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '18e7c758d373450bb4adf1354b4672ce'}} 2025-10-27 04:07:08,716 - DEBUG - Response for create_port : {'port': {'name': '5c3306b2-9fd2-45c6-a3ab-c92901133d45', 'id': '5c3306b2-9fd2-45c6-a3ab-c92901133d45', 'tenant_id': '18e7c758d373450bb4adf1354b4672ce', 'network_id': '2b7a478b-a171-4145-9c62-ca99df49528f', 'mac_address': '02:5c:33:06:b2:9f', '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': '130.70.249.69', 'subnet_id': '67f4f0a3-d8ea-450a-a9ef-efcac5f1e5eb'}], 'security_groups': ['b96c40f4-4f61-40e6-af6a-d80bd077090d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '18e7c758d373450bb4adf1354b4672ce'}} 2025-10-27 04:07:08,771 - DEBUG - Services list from nova: [, , ] 2025-10-27 04:07:09,109 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4491-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4491-1) 2025-10-27 04:07:09,520 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4491-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4491-1) 2025-10-27 04:07:09,521 - INFO - Waiting for VM ctest-vn1-vm1-73751956 to be up.. 2025-10-27 04:07:09,706 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 04:07:14,786 - DEBUG - VM is in ACTIVE state now 2025-10-27 04:07:14,786 - INFO - VM name : ctest-vn1-vm1-73751956 2025-10-27 04:07:14,861 - DEBUG - VM ctest-vn1-vm1-73751956 ID is 2e6d8819-51a8-45bf-b948-1b090d878bc8 2025-10-27 04:07:14,883 - DEBUG - VM ctest-vn1-vm1-73751956 launched on Node cn-jenkins-deploy-platform-ansible-os-4491-1 2025-10-27 04:07:14,957 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/2e6d8819-51a8-45bf-b948-1b090d878bc8 2025-10-27 04:07:14,965 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/2c8b6092-192a-4596-9478-45ec8a3ad5a3 2025-10-27 04:07:18,213 - 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 1014ms') 2025-10-27 04:07:18,213 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73751956 failed! 2025-10-27 04:07:18,268 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-59515351:ctest-vn1-73105596 is 8.164.235.193 and allocation pool is NOT set 2025-10-27 04:07:18,268 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-59515351:ctest-vn1-73105596 is 130.70.249.65 and allocation pool is NOT set 2025-10-27 04:07:20,329 - 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=6.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.89 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 = 2.888/4.640/6.393/1.752 ms') 2025-10-27 04:07:20,329 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73751956 passed 2025-10-27 04:07:20,492 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 04:07:20,493 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-73751956, IP 8.164.235.197, Port 22 2025-10-27 04:07:20,548 - 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-10-27 04:07:20,624 - DEBUG - VM ctest-vn1-vm1-73751956 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 04:07:25,624 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 04:07:25,624 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-73751956, IP 8.164.235.197, Port 22 2025-10-27 04:07:25,787 - DEBUG - VM ctest-vn1-vm1-73751956 is ready for SSH connections 2025-10-27 04:07:25,787 - INFO - Waiting for VM ctest-vn1-vm2-32009893 to be up.. 2025-10-27 04:07:25,857 - DEBUG - VM is in ACTIVE state now 2025-10-27 04:07:25,857 - INFO - VM name : ctest-vn1-vm2-32009893 2025-10-27 04:07:25,922 - DEBUG - VM ctest-vn1-vm2-32009893 ID is d729a897-ddba-4ebe-848d-201ce66a3c6a 2025-10-27 04:07:25,922 - DEBUG - VM ctest-vn1-vm2-32009893 launched on Node cn-jenkins-deploy-platform-ansible-os-4491-1 2025-10-27 04:07:25,992 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/d729a897-ddba-4ebe-848d-201ce66a3c6a 2025-10-27 04:07:26,000 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/5c3306b2-9fd2-45c6-a3ab-c92901133d45 2025-10-27 04:07:27,233 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.379 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.379/1.616/2.854/1.237 ms') 2025-10-27 04:07:27,233 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-32009893 passed 2025-10-27 04:07:27,384 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 04:07:27,384 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-32009893, IP 130.70.249.69, Port 22 2025-10-27 04:07:27,551 - DEBUG - VM ctest-vn1-vm2-32009893 is ready for SSH connections 2025-10-27 04:07:27,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 04:07:27,552 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 04:07:27,552 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 04:07:27,552 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.164.235.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-27 04:07:27,552 - DEBUG - ping -s 56 -c 3 -W 1 8.164.235.197 2025-10-27 04:07:30,222 - DEBUG - PING 8.164.235.197 (8.164.235.197): 56 data bytes 64 bytes from 8.164.235.197: seq=0 ttl=63 time=3.372 ms 64 bytes from 8.164.235.197: seq=1 ttl=63 time=1.124 ms 64 bytes from 8.164.235.197: seq=2 ttl=63 time=0.942 ms --- 8.164.235.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.942/1.812/3.372 ms 2025-10-27 04:07:30,222 - INFO - Ping to IP 8.164.235.197 from VM ctest-vn1-vm2-32009893 passed 2025-10-27 04:07:30,223 - INFO - Detaching port 5c3306b2-9fd2-45c6-a3ab-c92901133d45 from VM ctest-vn1-vm2-32009893 2025-10-27 04:07:30,272 - INFO - Deleting VM ctest-vn1-vm2-32009893 2025-10-27 04:07:30,339 - INFO - Detaching port 2c8b6092-192a-4596-9478-45ec8a3ad5a3 from VM ctest-vn1-vm1-73751956 2025-10-27 04:07:30,370 - INFO - Deleting VM ctest-vn1-vm1-73751956 2025-10-27 04:07:30,591 - DEBUG - Response for delete_port : () 2025-10-27 04:07:30,756 - DEBUG - Response for delete_port : () 2025-10-27 04:07:30,756 - INFO - Deleting VN ctest-vn1-73105596 2025-10-27 04:07:30,878 - DEBUG - Response for deleting network () 2025-10-27 04:07:31,146 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 04:07:31,146 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-10-27 04:07:31,146 - INFO - -------------------------------------------------------------------------------- 2025-10-27 04:07:31,817 - INFO - Deleted project: ctest-TestPorts-59515351, ID : 18e7c758-d373-450b-b4ad-f1354b4672ce