2025-11-03 17:14:06,450 - INFO - Domain Default found not creating 2025-11-03 17:14:06,617 - INFO - Project ctest-TestPorts-63472971 not found, creating it 2025-11-03 17:14:07,069 - INFO - Created Project:ctest-TestPorts-63472971, ID : f50130fe-d3da-4b11-8d02-1e42636b242b 2025-11-03 17:14:08,480 - INFO - ================================================================================ 2025-11-03 17:14:08,481 - INFO - STARTING TEST : test_ports_bindings 2025-11-03 17:14:08,481 - 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-11-03 17:14:08,735 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-11-03 17:14:08,735 - INFO - Initial checks done. Running the testcase now 2025-11-03 17:14:08,735 - INFO - 2025-11-03 17:14:09,403 - DEBUG - Response for create_network : {'network': {'id': 'ba056ce0-9e52-4781-9aff-5a1e70d5b27a', 'name': 'ctest-vn-13269816', 'tenant_id': 'f50130fed3da4b118d021e42636b242b', 'project_id': 'f50130fed3da4b118d021e42636b242b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-63472971', 'ctest-vn-13269816'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 17:14:09,581 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b34718ad-b8bd-44ec-a287-18ceedf8c203', 'name': '', 'tenant_id': 'f50130fed3da4b118d021e42636b242b', 'network_id': 'ba056ce0-9e52-4781-9aff-5a1e70d5b27a', 'ip_version': 4, 'cidr': '71.38.236.0/26', 'allocation_pools': [{'start': '71.38.236.2', 'end': '71.38.236.62'}], 'gateway_ip': '71.38.236.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.38.236.2', 'tags': [], 'project_id': 'f50130fed3da4b118d021e42636b242b'}} 2025-11-03 17:14:09,603 - INFO - Created VN ctest-vn-13269816 2025-11-03 17:14:09,653 - DEBUG - VN ctest-vn-13269816 UUID is ba056ce0-9e52-4781-9aff-5a1e70d5b27a 2025-11-03 17:14:09,767 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-63472971', 'ctest-vmi-46205006']} 2025-11-03 17:14:10,011 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-46205006', 'id': '6f19326b-f2c7-4464-8acf-feb873842175', 'tenant_id': 'f50130fed3da4b118d021e42636b242b', 'network_id': 'ba056ce0-9e52-4781-9aff-5a1e70d5b27a', 'mac_address': '02:6f:19:32:6b:f2', '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': '71.38.236.3', 'subnet_id': 'b34718ad-b8bd-44ec-a287-18ceedf8c203'}], 'security_groups': ['18d9e4f2-aa43-4168-8e7f-603c05468768'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f50130fed3da4b118d021e42636b242b'}} 2025-11-03 17:14:10,011 - DEBUG - Created port 6f19326b-f2c7-4464-8acf-feb873842175 2025-11-03 17:14:10,117 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6f19326b-f2c7-4464-8acf-feb873842175 2025-11-03 17:14:10,410 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6f19326b-f2c7-4464-8acf-feb873842175 2025-11-03 17:14:10,441 - INFO - VMI 6f19326b-f2c7-4464-8acf-feb873842175 verification in API Server passed 2025-11-03 17:14:10,518 - DEBUG - Response for delete_port : () 2025-11-03 17:14:10,518 - INFO - Deleted port 6f19326b-f2c7-4464-8acf-feb873842175 2025-11-03 17:14:10,518 - INFO - Deleting VN ctest-vn-13269816 2025-11-03 17:14:10,605 - DEBUG - Response for deleting network () 2025-11-03 17:14:10,858 - DEBUG - No XMPP flaps were noticed during the test 2025-11-03 17:14:10,858 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-03 17:14:10,858 - INFO - -------------------------------------------------------------------------------- 2025-11-03 17:14:10,861 - INFO - ================================================================================ 2025-11-03 17:14:10,861 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-03 17:14:10,861 - 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-11-03 17:14:11,146 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-11-03 17:14:11,146 - INFO - Initial checks done. Running the testcase now 2025-11-03 17:14:11,146 - INFO - 2025-11-03 17:14:11,318 - DEBUG - Response for create_network : {'network': {'id': 'ac770762-fd14-4d0a-9ce3-c5b25d32d88e', 'name': 'ctest-vn1-53332654', 'tenant_id': 'f50130fed3da4b118d021e42636b242b', 'project_id': 'f50130fed3da4b118d021e42636b242b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-63472971', 'ctest-vn1-53332654'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 17:14:11,530 - DEBUG - Response for create_subnet : {'subnet': {'id': '04a86395-3d48-415f-8979-fff9992004fd', 'name': '', 'tenant_id': 'f50130fed3da4b118d021e42636b242b', 'network_id': 'ac770762-fd14-4d0a-9ce3-c5b25d32d88e', 'ip_version': 4, 'cidr': '22.54.177.64/26', 'allocation_pools': [{'start': '22.54.177.66', 'end': '22.54.177.126'}], 'gateway_ip': '22.54.177.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.54.177.66', 'tags': [], 'project_id': 'f50130fed3da4b118d021e42636b242b'}} 2025-11-03 17:14:11,676 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ce43ffa-450b-4753-b8af-1e810e99e9fe', 'name': '', 'tenant_id': 'f50130fed3da4b118d021e42636b242b', 'network_id': 'ac770762-fd14-4d0a-9ce3-c5b25d32d88e', 'ip_version': 4, 'cidr': '221.209.188.64/26', 'allocation_pools': [{'start': '221.209.188.66', 'end': '221.209.188.126'}], 'gateway_ip': '221.209.188.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.209.188.66', 'tags': [], 'project_id': 'f50130fed3da4b118d021e42636b242b'}} 2025-11-03 17:14:11,695 - INFO - Created VN ctest-vn1-53332654 2025-11-03 17:14:11,745 - DEBUG - VN ctest-vn1-53332654 UUID is ac770762-fd14-4d0a-9ce3-c5b25d32d88e 2025-11-03 17:14:12,042 - DEBUG - Response for create_port : {'port': {'name': '3ca85d7c-3ea7-4e9d-ad7f-9eacb7d2c49c', 'id': '3ca85d7c-3ea7-4e9d-ad7f-9eacb7d2c49c', 'tenant_id': 'f50130fed3da4b118d021e42636b242b', 'network_id': 'ac770762-fd14-4d0a-9ce3-c5b25d32d88e', 'mac_address': '02:3c:a8:5d:7c:3e', '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': '22.54.177.69', 'subnet_id': '04a86395-3d48-415f-8979-fff9992004fd'}], 'security_groups': ['18d9e4f2-aa43-4168-8e7f-603c05468768'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f50130fed3da4b118d021e42636b242b'}} 2025-11-03 17:14:12,207 - DEBUG - Response for create_port : {'port': {'name': '7bccb4d4-bdfa-46c0-8cd9-6392be968323', 'id': '7bccb4d4-bdfa-46c0-8cd9-6392be968323', 'tenant_id': 'f50130fed3da4b118d021e42636b242b', 'network_id': 'ac770762-fd14-4d0a-9ce3-c5b25d32d88e', 'mac_address': '02:7b:cc:b4:d4:bd', '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': '221.209.188.69', 'subnet_id': '1ce43ffa-450b-4753-b8af-1e810e99e9fe'}], 'security_groups': ['18d9e4f2-aa43-4168-8e7f-603c05468768'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f50130fed3da4b118d021e42636b242b'}} 2025-11-03 17:14:12,268 - DEBUG - Services list from nova: [, , ] 2025-11-03 17:14:12,616 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4609-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4609-1) 2025-11-03 17:14:13,027 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4609-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4609-1) 2025-11-03 17:14:13,027 - INFO - Waiting for VM ctest-vn1-vm1-18466027 to be up.. 2025-11-03 17:14:13,064 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 17:14:18,178 - DEBUG - VM is in ACTIVE state now 2025-11-03 17:14:18,178 - INFO - VM name : ctest-vn1-vm1-18466027 2025-11-03 17:14:18,269 - DEBUG - VM ctest-vn1-vm1-18466027 ID is 8f51c9d1-77a0-4550-a879-ee7fc7f46518 2025-11-03 17:14:18,292 - DEBUG - VM ctest-vn1-vm1-18466027 launched on Node cn-jenkins-deploy-platform-ansible-os-4609-1 2025-11-03 17:14:18,373 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/8f51c9d1-77a0-4550-a879-ee7fc7f46518 2025-11-03 17:14:18,382 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/3ca85d7c-3ea7-4e9d-ad7f-9eacb7d2c49c 2025-11-03 17:14:21,662 - 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 1030ms') 2025-11-03 17:14:21,662 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-18466027 failed! 2025-11-03 17:14:21,717 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-63472971:ctest-vn1-53332654 is 22.54.177.65 and allocation pool is NOT set 2025-11-03 17:14:21,717 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-63472971:ctest-vn1-53332654 is 221.209.188.65 and allocation pool is NOT set 2025-11-03 17:14:23,783 - 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=11.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.70 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.699/7.137/11.575/4.438 ms') 2025-11-03 17:14:23,783 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-18466027 passed 2025-11-03 17:14:23,937 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 17:14:23,937 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-18466027, IP 22.54.177.69, Port 22 2025-11-03 17:14:23,992 - 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-11-03 17:14:24,062 - DEBUG - VM ctest-vn1-vm1-18466027 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-03 17:14:29,063 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 17:14:29,063 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-18466027, IP 22.54.177.69, Port 22 2025-11-03 17:14:29,217 - DEBUG - VM ctest-vn1-vm1-18466027 is ready for SSH connections 2025-11-03 17:14:29,217 - INFO - Waiting for VM ctest-vn1-vm2-46090956 to be up.. 2025-11-03 17:14:29,297 - DEBUG - VM is in ACTIVE state now 2025-11-03 17:14:29,297 - INFO - VM name : ctest-vn1-vm2-46090956 2025-11-03 17:14:29,375 - DEBUG - VM ctest-vn1-vm2-46090956 ID is e6b4be8e-5a33-4c3e-89da-37f45687a2b5 2025-11-03 17:14:29,375 - DEBUG - VM ctest-vn1-vm2-46090956 launched on Node cn-jenkins-deploy-platform-ansible-os-4609-1 2025-11-03 17:14:29,449 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e6b4be8e-5a33-4c3e-89da-37f45687a2b5 2025-11-03 17:14:29,456 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/7bccb4d4-bdfa-46c0-8cd9-6392be968323 2025-11-03 17:14:30,694 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.432 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.432/1.746/3.061/1.314 ms') 2025-11-03 17:14:30,694 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-46090956 passed 2025-11-03 17:14:30,845 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 17:14:30,845 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-46090956, IP 221.209.188.69, Port 22 2025-11-03 17:14:31,004 - DEBUG - VM ctest-vn1-vm2-46090956 is ready for SSH connections 2025-11-03 17:14:31,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 17:14:31,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 17:14:31,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 17:14:31,005 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.54.177.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-03 17:14:31,005 - DEBUG - ping -s 56 -c 3 -W 1 22.54.177.69 2025-11-03 17:14:33,960 - DEBUG - PING 22.54.177.69 (22.54.177.69): 56 data bytes 64 bytes from 22.54.177.69: seq=0 ttl=63 time=3.674 ms 64 bytes from 22.54.177.69: seq=1 ttl=63 time=0.988 ms 64 bytes from 22.54.177.69: seq=2 ttl=63 time=1.031 ms --- 22.54.177.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.988/1.897/3.674 ms 2025-11-03 17:14:33,960 - INFO - Ping to IP 22.54.177.69 from VM ctest-vn1-vm2-46090956 passed 2025-11-03 17:14:33,960 - INFO - Detaching port 7bccb4d4-bdfa-46c0-8cd9-6392be968323 from VM ctest-vn1-vm2-46090956 2025-11-03 17:14:34,009 - INFO - Deleting VM ctest-vn1-vm2-46090956 2025-11-03 17:14:34,078 - INFO - Detaching port 3ca85d7c-3ea7-4e9d-ad7f-9eacb7d2c49c from VM ctest-vn1-vm1-18466027 2025-11-03 17:14:34,112 - INFO - Deleting VM ctest-vn1-vm1-18466027 2025-11-03 17:14:34,331 - DEBUG - Response for delete_port : () 2025-11-03 17:14:34,492 - DEBUG - Response for delete_port : () 2025-11-03 17:14:34,492 - INFO - Deleting VN ctest-vn1-53332654 2025-11-03 17:14:34,630 - DEBUG - Response for deleting network () 2025-11-03 17:14:34,889 - DEBUG - No XMPP flaps were noticed during the test 2025-11-03 17:14:34,889 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-11-03 17:14:34,889 - INFO - -------------------------------------------------------------------------------- 2025-11-03 17:14:35,559 - INFO - Deleted project: ctest-TestPorts-63472971, ID : f50130fe-d3da-4b11-8d02-1e42636b242b