2025-10-20 16:00:25,449 - INFO - Domain Default found not creating 2025-10-20 16:00:25,601 - INFO - Project ctest-TestPorts-37416774 not found, creating it 2025-10-20 16:00:26,054 - INFO - Created Project:ctest-TestPorts-37416774, ID : ca76d2bb-2cde-420f-a184-7b7d5f936fa0 2025-10-20 16:00:27,479 - INFO - ================================================================================ 2025-10-20 16:00:27,479 - INFO - STARTING TEST : test_ports_bindings 2025-10-20 16:00:27,479 - 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-20 16:00:27,734 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.18': '0'}} with 2025-10-20 16:00:27,734 - INFO - Initial checks done. Running the testcase now 2025-10-20 16:00:27,734 - INFO - 2025-10-20 16:00:28,274 - DEBUG - Response for create_network : {'network': {'id': '2341b072-b03f-4514-8218-e7772bc75c45', 'name': 'ctest-vn-57331162', 'tenant_id': 'ca76d2bb2cde420fa1847b7d5f936fa0', 'project_id': 'ca76d2bb2cde420fa1847b7d5f936fa0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-37416774', 'ctest-vn-57331162'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 16:00:28,463 - DEBUG - Response for create_subnet : {'subnet': {'id': '8d93cf0a-42a1-48e3-b4c4-caa1034cfcbc', 'name': '', 'tenant_id': 'ca76d2bb2cde420fa1847b7d5f936fa0', 'network_id': '2341b072-b03f-4514-8218-e7772bc75c45', 'ip_version': 4, 'cidr': '210.243.30.0/26', 'allocation_pools': [{'start': '210.243.30.2', 'end': '210.243.30.62'}], 'gateway_ip': '210.243.30.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.243.30.2', 'tags': [], 'project_id': 'ca76d2bb2cde420fa1847b7d5f936fa0'}} 2025-10-20 16:00:28,480 - INFO - Created VN ctest-vn-57331162 2025-10-20 16:00:28,532 - DEBUG - VN ctest-vn-57331162 UUID is 2341b072-b03f-4514-8218-e7772bc75c45 2025-10-20 16:00:28,637 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-37416774', 'ctest-vmi-69961003']} 2025-10-20 16:00:28,899 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-69961003', 'id': 'dc5e5b4a-2860-4801-bc43-e428e45150f5', 'tenant_id': 'ca76d2bb2cde420fa1847b7d5f936fa0', 'network_id': '2341b072-b03f-4514-8218-e7772bc75c45', 'mac_address': '02:dc:5e:5b:4a:28', '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': '210.243.30.3', 'subnet_id': '8d93cf0a-42a1-48e3-b4c4-caa1034cfcbc'}], 'security_groups': ['eafe93d8-3d1f-4832-b0a5-0d09e5463aaf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ca76d2bb2cde420fa1847b7d5f936fa0'}} 2025-10-20 16:00:28,899 - DEBUG - Created port dc5e5b4a-2860-4801-bc43-e428e45150f5 2025-10-20 16:00:29,004 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/dc5e5b4a-2860-4801-bc43-e428e45150f5 2025-10-20 16:00:29,296 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/dc5e5b4a-2860-4801-bc43-e428e45150f5 2025-10-20 16:00:29,327 - INFO - VMI dc5e5b4a-2860-4801-bc43-e428e45150f5 verification in API Server passed 2025-10-20 16:00:29,405 - DEBUG - Response for delete_port : () 2025-10-20 16:00:29,405 - INFO - Deleted port dc5e5b4a-2860-4801-bc43-e428e45150f5 2025-10-20 16:00:29,405 - INFO - Deleting VN ctest-vn-57331162 2025-10-20 16:00:29,494 - DEBUG - Response for deleting network () 2025-10-20 16:00:29,750 - DEBUG - No XMPP flaps were noticed during the test 2025-10-20 16:00:29,750 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-20 16:00:29,750 - INFO - -------------------------------------------------------------------------------- 2025-10-20 16:00:29,753 - INFO - ================================================================================ 2025-10-20 16:00:29,753 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-20 16:00:29,753 - 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-20 16:00:30,052 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.18': '0'}} with 2025-10-20 16:00:30,052 - INFO - Initial checks done. Running the testcase now 2025-10-20 16:00:30,052 - INFO - 2025-10-20 16:00:30,242 - DEBUG - Response for create_network : {'network': {'id': '7d0de0ee-f1f9-4776-97d2-28bb9a42450f', 'name': 'ctest-vn1-50056064', 'tenant_id': 'ca76d2bb2cde420fa1847b7d5f936fa0', 'project_id': 'ca76d2bb2cde420fa1847b7d5f936fa0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-37416774', 'ctest-vn1-50056064'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 16:00:30,405 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff56979b-51ba-4485-82c6-9f22db4efa5c', 'name': '', 'tenant_id': 'ca76d2bb2cde420fa1847b7d5f936fa0', 'network_id': '7d0de0ee-f1f9-4776-97d2-28bb9a42450f', 'ip_version': 4, 'cidr': '137.182.7.192/26', 'allocation_pools': [{'start': '137.182.7.194', 'end': '137.182.7.254'}], 'gateway_ip': '137.182.7.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.182.7.194', 'tags': [], 'project_id': 'ca76d2bb2cde420fa1847b7d5f936fa0'}} 2025-10-20 16:00:30,610 - DEBUG - Response for create_subnet : {'subnet': {'id': '6536328d-0d78-4352-a83c-8d35264837f3', 'name': '', 'tenant_id': 'ca76d2bb2cde420fa1847b7d5f936fa0', 'network_id': '7d0de0ee-f1f9-4776-97d2-28bb9a42450f', 'ip_version': 4, 'cidr': '164.204.123.192/26', 'allocation_pools': [{'start': '164.204.123.194', 'end': '164.204.123.254'}], 'gateway_ip': '164.204.123.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.204.123.194', 'tags': [], 'project_id': 'ca76d2bb2cde420fa1847b7d5f936fa0'}} 2025-10-20 16:00:30,635 - INFO - Created VN ctest-vn1-50056064 2025-10-20 16:00:30,688 - DEBUG - VN ctest-vn1-50056064 UUID is 7d0de0ee-f1f9-4776-97d2-28bb9a42450f 2025-10-20 16:00:31,040 - DEBUG - Response for create_port : {'port': {'name': 'ac825f36-a9bb-4611-92ce-437273ce1854', 'id': 'ac825f36-a9bb-4611-92ce-437273ce1854', 'tenant_id': 'ca76d2bb2cde420fa1847b7d5f936fa0', 'network_id': '7d0de0ee-f1f9-4776-97d2-28bb9a42450f', 'mac_address': '02:ac:82:5f:36:a9', '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': '137.182.7.197', 'subnet_id': 'ff56979b-51ba-4485-82c6-9f22db4efa5c'}], 'security_groups': ['eafe93d8-3d1f-4832-b0a5-0d09e5463aaf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ca76d2bb2cde420fa1847b7d5f936fa0'}} 2025-10-20 16:00:31,240 - DEBUG - Response for create_port : {'port': {'name': '7d75fb49-8d86-4370-8ff3-02b7e2478ec2', 'id': '7d75fb49-8d86-4370-8ff3-02b7e2478ec2', 'tenant_id': 'ca76d2bb2cde420fa1847b7d5f936fa0', 'network_id': '7d0de0ee-f1f9-4776-97d2-28bb9a42450f', 'mac_address': '02:7d:75:fb:49:8d', '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': '164.204.123.197', 'subnet_id': '6536328d-0d78-4352-a83c-8d35264837f3'}], 'security_groups': ['eafe93d8-3d1f-4832-b0a5-0d09e5463aaf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ca76d2bb2cde420fa1847b7d5f936fa0'}} 2025-10-20 16:00:31,331 - DEBUG - Services list from nova: [, , ] 2025-10-20 16:00:31,774 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4383-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4383-1) 2025-10-20 16:00:32,276 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4383-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4383-1) 2025-10-20 16:00:32,276 - INFO - Waiting for VM ctest-vn1-vm1-74234736 to be up.. 2025-10-20 16:00:32,323 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-20 16:00:37,406 - DEBUG - VM is in ACTIVE state now 2025-10-20 16:00:37,406 - INFO - VM name : ctest-vn1-vm1-74234736 2025-10-20 16:00:37,487 - DEBUG - VM ctest-vn1-vm1-74234736 ID is 713d4436-86d4-4c43-9859-805e297a001f 2025-10-20 16:00:37,511 - DEBUG - VM ctest-vn1-vm1-74234736 launched on Node cn-jenkins-deploy-platform-ansible-os-4383-1 2025-10-20 16:00:37,590 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/713d4436-86d4-4c43-9859-805e297a001f 2025-10-20 16:00:37,598 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/ac825f36-a9bb-4611-92ce-437273ce1854 2025-10-20 16:00:40,871 - 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-10-20 16:00:40,871 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-74234736 failed! 2025-10-20 16:00:40,928 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-37416774:ctest-vn1-50056064 is 137.182.7.193 and allocation pool is NOT set 2025-10-20 16:00:40,928 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-37416774:ctest-vn1-50056064 is 164.204.123.193 and allocation pool is NOT set 2025-10-20 16:00:45,009 - 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=2 ttl=63 time=8.86 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 8.863/8.863/8.863/0.000 ms') 2025-10-20 16:00:45,009 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-74234736 passed 2025-10-20 16:00:45,156 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 16:00:45,156 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-74234736, IP 137.182.7.197, Port 22 2025-10-20 16:00:45,222 - 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-20 16:00:45,340 - DEBUG - VM ctest-vn1-vm1-74234736 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-20 16:00:50,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 16:00:50,341 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-74234736, IP 137.182.7.197, Port 22 2025-10-20 16:00:50,495 - DEBUG - VM ctest-vn1-vm1-74234736 is ready for SSH connections 2025-10-20 16:00:50,495 - INFO - Waiting for VM ctest-vn1-vm2-61183765 to be up.. 2025-10-20 16:00:50,568 - DEBUG - VM is in ACTIVE state now 2025-10-20 16:00:50,569 - INFO - VM name : ctest-vn1-vm2-61183765 2025-10-20 16:00:50,640 - DEBUG - VM ctest-vn1-vm2-61183765 ID is 431d6b66-d864-46cf-bae6-0f276cf72d31 2025-10-20 16:00:50,640 - DEBUG - VM ctest-vn1-vm2-61183765 launched on Node cn-jenkins-deploy-platform-ansible-os-4383-1 2025-10-20 16:00:50,715 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/431d6b66-d864-46cf-bae6-0f276cf72d31 2025-10-20 16:00:50,724 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/7d75fb49-8d86-4370-8ff3-02b7e2478ec2 2025-10-20 16:00:51,963 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.510 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 = 0.510/2.057/3.604/1.547 ms') 2025-10-20 16:00:51,963 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-61183765 passed 2025-10-20 16:00:52,112 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 16:00:52,112 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-61183765, IP 164.204.123.197, Port 22 2025-10-20 16:00:52,267 - DEBUG - VM ctest-vn1-vm2-61183765 is ready for SSH connections 2025-10-20 16:00:52,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 16:00:52,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 16:00:52,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 16:00:52,268 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.182.7.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-20 16:00:52,268 - DEBUG - ping -s 56 -c 3 -W 1 137.182.7.197 2025-10-20 16:00:55,322 - DEBUG - PING 137.182.7.197 (137.182.7.197): 56 data bytes 64 bytes from 137.182.7.197: seq=0 ttl=63 time=3.809 ms 64 bytes from 137.182.7.197: seq=1 ttl=63 time=1.005 ms 64 bytes from 137.182.7.197: seq=2 ttl=63 time=1.191 ms --- 137.182.7.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.005/2.001/3.809 ms 2025-10-20 16:00:55,323 - INFO - Ping to IP 137.182.7.197 from VM ctest-vn1-vm2-61183765 passed 2025-10-20 16:00:55,323 - INFO - Detaching port 7d75fb49-8d86-4370-8ff3-02b7e2478ec2 from VM ctest-vn1-vm2-61183765 2025-10-20 16:00:55,387 - INFO - Deleting VM ctest-vn1-vm2-61183765 2025-10-20 16:00:55,465 - INFO - Detaching port ac825f36-a9bb-4611-92ce-437273ce1854 from VM ctest-vn1-vm1-74234736 2025-10-20 16:00:55,514 - INFO - Deleting VM ctest-vn1-vm1-74234736 2025-10-20 16:00:55,785 - DEBUG - Response for delete_port : () 2025-10-20 16:00:55,965 - DEBUG - Response for delete_port : () 2025-10-20 16:00:55,965 - INFO - Deleting VN ctest-vn1-50056064 2025-10-20 16:00:56,149 - DEBUG - Response for deleting network () 2025-10-20 16:00:56,402 - DEBUG - No XMPP flaps were noticed during the test 2025-10-20 16:00:56,402 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27] 2025-10-20 16:00:56,402 - INFO - -------------------------------------------------------------------------------- 2025-10-20 16:00:57,098 - INFO - Deleted project: ctest-TestPorts-37416774, ID : ca76d2bb-2cde-420f-a184-7b7d5f936fa0