2025-10-09 20:27:39,548 - INFO - Domain Default found not creating 2025-10-09 20:27:39,902 - INFO - Project ctest-TestPorts-42077451 not found, creating it 2025-10-09 20:27:40,661 - INFO - Created Project:ctest-TestPorts-42077451, ID : ef6d38ef-a3e6-47bf-80c8-f3f8f9ad5aaf 2025-10-09 20:27:42,836 - INFO - ================================================================================ 2025-10-09 20:27:42,836 - INFO - STARTING TEST : test_ports_bindings 2025-10-09 20:27:42,836 - 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-09 20:27:43,130 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-09 20:27:43,130 - INFO - Initial checks done. Running the testcase now 2025-10-09 20:27:43,130 - INFO - 2025-10-09 20:27:43,935 - DEBUG - Response for create_network : {'network': {'id': 'a4794f62-c054-471f-af67-133f8afa0a44', 'name': 'ctest-vn-68555079', 'tenant_id': 'ef6d38efa3e647bf80c8f3f8f9ad5aaf', 'project_id': 'ef6d38efa3e647bf80c8f3f8f9ad5aaf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-42077451', 'ctest-vn-68555079'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 20:27:44,179 - DEBUG - Response for create_subnet : {'subnet': {'id': '41d5e118-bfc7-44ca-a69a-b038cc1808b6', 'name': '', 'tenant_id': 'ef6d38efa3e647bf80c8f3f8f9ad5aaf', 'network_id': 'a4794f62-c054-471f-af67-133f8afa0a44', 'ip_version': 4, 'cidr': '166.74.197.128/26', 'allocation_pools': [{'start': '166.74.197.130', 'end': '166.74.197.190'}], 'gateway_ip': '166.74.197.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.74.197.130', 'tags': [], 'project_id': 'ef6d38efa3e647bf80c8f3f8f9ad5aaf'}} 2025-10-09 20:27:44,205 - INFO - Created VN ctest-vn-68555079 2025-10-09 20:27:44,263 - DEBUG - VN ctest-vn-68555079 UUID is a4794f62-c054-471f-af67-133f8afa0a44 2025-10-09 20:27:44,457 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-42077451', 'ctest-vmi-16660999']} 2025-10-09 20:27:44,806 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-16660999', 'id': '356aa8a3-1531-432a-9412-b6946102aa58', 'tenant_id': 'ef6d38efa3e647bf80c8f3f8f9ad5aaf', 'network_id': 'a4794f62-c054-471f-af67-133f8afa0a44', 'mac_address': '02:35:6a:a8:a3:15', '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': '166.74.197.131', 'subnet_id': '41d5e118-bfc7-44ca-a69a-b038cc1808b6'}], 'security_groups': ['25396b5e-5786-4e0f-bc74-79a7258e9218'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ef6d38efa3e647bf80c8f3f8f9ad5aaf'}} 2025-10-09 20:27:44,806 - DEBUG - Created port 356aa8a3-1531-432a-9412-b6946102aa58 2025-10-09 20:27:44,915 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/356aa8a3-1531-432a-9412-b6946102aa58 2025-10-09 20:27:45,272 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/356aa8a3-1531-432a-9412-b6946102aa58 2025-10-09 20:27:45,332 - INFO - VMI 356aa8a3-1531-432a-9412-b6946102aa58 verification in API Server passed 2025-10-09 20:27:45,484 - DEBUG - Response for delete_port : () 2025-10-09 20:27:45,485 - INFO - Deleted port 356aa8a3-1531-432a-9412-b6946102aa58 2025-10-09 20:27:45,485 - INFO - Deleting VN ctest-vn-68555079 2025-10-09 20:27:45,601 - DEBUG - Response for deleting network () 2025-10-09 20:27:45,901 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 20:27:45,901 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-09 20:27:45,902 - INFO - -------------------------------------------------------------------------------- 2025-10-09 20:27:45,905 - INFO - ================================================================================ 2025-10-09 20:27:45,905 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-09 20:27:45,905 - 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-09 20:27:46,244 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-09 20:27:46,244 - INFO - Initial checks done. Running the testcase now 2025-10-09 20:27:46,244 - INFO - 2025-10-09 20:27:46,574 - DEBUG - Response for create_network : {'network': {'id': '6e3a5922-1733-45b7-9d09-1b196b21f81b', 'name': 'ctest-vn1-17253520', 'tenant_id': 'ef6d38efa3e647bf80c8f3f8f9ad5aaf', 'project_id': 'ef6d38efa3e647bf80c8f3f8f9ad5aaf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-42077451', 'ctest-vn1-17253520'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 20:27:46,810 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd542a5c4-42aa-4dda-a52e-ecef6c3a44a0', 'name': '', 'tenant_id': 'ef6d38efa3e647bf80c8f3f8f9ad5aaf', 'network_id': '6e3a5922-1733-45b7-9d09-1b196b21f81b', 'ip_version': 4, 'cidr': '198.134.202.128/26', 'allocation_pools': [{'start': '198.134.202.130', 'end': '198.134.202.190'}], 'gateway_ip': '198.134.202.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.134.202.130', 'tags': [], 'project_id': 'ef6d38efa3e647bf80c8f3f8f9ad5aaf'}} 2025-10-09 20:27:47,015 - DEBUG - Response for create_subnet : {'subnet': {'id': '2504c438-c7c5-4b91-a84b-b8a9e579dca5', 'name': '', 'tenant_id': 'ef6d38efa3e647bf80c8f3f8f9ad5aaf', 'network_id': '6e3a5922-1733-45b7-9d09-1b196b21f81b', 'ip_version': 4, 'cidr': '107.179.27.128/26', 'allocation_pools': [{'start': '107.179.27.130', 'end': '107.179.27.190'}], 'gateway_ip': '107.179.27.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.179.27.130', 'tags': [], 'project_id': 'ef6d38efa3e647bf80c8f3f8f9ad5aaf'}} 2025-10-09 20:27:47,040 - INFO - Created VN ctest-vn1-17253520 2025-10-09 20:27:47,102 - DEBUG - VN ctest-vn1-17253520 UUID is 6e3a5922-1733-45b7-9d09-1b196b21f81b 2025-10-09 20:27:47,512 - DEBUG - Response for create_port : {'port': {'name': '94dc4691-d471-4d11-b653-93c4a5ec18e3', 'id': '94dc4691-d471-4d11-b653-93c4a5ec18e3', 'tenant_id': 'ef6d38efa3e647bf80c8f3f8f9ad5aaf', 'network_id': '6e3a5922-1733-45b7-9d09-1b196b21f81b', 'mac_address': '02:94:dc:46:91:d4', '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': '198.134.202.133', 'subnet_id': 'd542a5c4-42aa-4dda-a52e-ecef6c3a44a0'}], 'security_groups': ['25396b5e-5786-4e0f-bc74-79a7258e9218'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ef6d38efa3e647bf80c8f3f8f9ad5aaf'}} 2025-10-09 20:27:47,728 - DEBUG - Response for create_port : {'port': {'name': '6b3b3eb8-a874-4ede-b87d-40e5231d854a', 'id': '6b3b3eb8-a874-4ede-b87d-40e5231d854a', 'tenant_id': 'ef6d38efa3e647bf80c8f3f8f9ad5aaf', 'network_id': '6e3a5922-1733-45b7-9d09-1b196b21f81b', 'mac_address': '02:6b:3b:3e:b8:a8', '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': '107.179.27.133', 'subnet_id': '2504c438-c7c5-4b91-a84b-b8a9e579dca5'}], 'security_groups': ['25396b5e-5786-4e0f-bc74-79a7258e9218'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ef6d38efa3e647bf80c8f3f8f9ad5aaf'}} 2025-10-09 20:27:47,791 - DEBUG - Services list from nova: [, , ] 2025-10-09 20:27:48,262 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4277-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4277-1) 2025-10-09 20:27:49,025 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4277-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4277-1) 2025-10-09 20:27:49,025 - INFO - Waiting for VM ctest-vn1-vm1-71529010 to be up.. 2025-10-09 20:27:49,109 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 20:27:54,326 - DEBUG - VM is in ACTIVE state now 2025-10-09 20:27:54,327 - INFO - VM name : ctest-vn1-vm1-71529010 2025-10-09 20:27:54,489 - DEBUG - VM ctest-vn1-vm1-71529010 ID is c93ed640-87bf-44fc-8b5b-7ee8ea61de5a 2025-10-09 20:27:54,524 - DEBUG - VM ctest-vn1-vm1-71529010 launched on Node cn-jenkins-deploy-platform-ansible-os-4277-1 2025-10-09 20:27:54,668 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/c93ed640-87bf-44fc-8b5b-7ee8ea61de5a 2025-10-09 20:27:54,687 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/94dc4691-d471-4d11-b653-93c4a5ec18e3 2025-10-09 20:27:57,990 - 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 1020ms') 2025-10-09 20:27:57,991 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-71529010 failed! 2025-10-09 20:27:58,086 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-42077451:ctest-vn1-17253520 is 198.134.202.129 and allocation pool is NOT set 2025-10-09 20:27:58,086 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-42077451:ctest-vn1-17253520 is 107.179.27.129 and allocation pool is NOT set 2025-10-09 20:28:02,189 - 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=24.1 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1016ms\r\nrtt min/avg/max/mdev = 24.063/24.063/24.063/0.000 ms') 2025-10-09 20:28:02,189 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-71529010 passed 2025-10-09 20:28:02,367 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:28:02,368 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-71529010, IP 198.134.202.133, Port 22 2025-10-09 20:28:02,450 - 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-09 20:28:02,595 - DEBUG - VM ctest-vn1-vm1-71529010 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-09 20:28:07,596 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:28:07,597 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-71529010, IP 198.134.202.133, Port 22 2025-10-09 20:28:07,787 - DEBUG - VM ctest-vn1-vm1-71529010 is ready for SSH connections 2025-10-09 20:28:07,788 - INFO - Waiting for VM ctest-vn1-vm2-54127722 to be up.. 2025-10-09 20:28:07,968 - DEBUG - VM is in ACTIVE state now 2025-10-09 20:28:07,968 - INFO - VM name : ctest-vn1-vm2-54127722 2025-10-09 20:28:08,112 - DEBUG - VM ctest-vn1-vm2-54127722 ID is 574bdf2b-24da-40d1-8ca7-9ae4c6b8546e 2025-10-09 20:28:08,113 - DEBUG - VM ctest-vn1-vm2-54127722 launched on Node cn-jenkins-deploy-platform-ansible-os-4277-1 2025-10-09 20:28:08,286 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/574bdf2b-24da-40d1-8ca7-9ae4c6b8546e 2025-10-09 20:28:08,309 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/6b3b3eb8-a874-4ede-b87d-40e5231d854a 2025-10-09 20:28:09,652 - 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=10.2 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.694 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.694/5.455/10.217/4.761 ms') 2025-10-09 20:28:09,653 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-54127722 passed 2025-10-09 20:28:09,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:28:09,835 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-54127722, IP 107.179.27.133, Port 22 2025-10-09 20:28:10,045 - DEBUG - VM ctest-vn1-vm2-54127722 is ready for SSH connections 2025-10-09 20:28:10,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:28:10,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:28:10,047 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:28:10,047 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.134.202.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-09 20:28:10,048 - DEBUG - ping -s 56 -c 3 -W 1 198.134.202.133 2025-10-09 20:28:13,109 - DEBUG - PING 198.134.202.133 (198.134.202.133): 56 data bytes 64 bytes from 198.134.202.133: seq=0 ttl=63 time=4.812 ms 64 bytes from 198.134.202.133: seq=1 ttl=63 time=2.206 ms 64 bytes from 198.134.202.133: seq=2 ttl=63 time=1.073 ms --- 198.134.202.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.073/2.697/4.812 ms 2025-10-09 20:28:13,109 - INFO - Ping to IP 198.134.202.133 from VM ctest-vn1-vm2-54127722 passed 2025-10-09 20:28:13,109 - INFO - Detaching port 6b3b3eb8-a874-4ede-b87d-40e5231d854a from VM ctest-vn1-vm2-54127722 2025-10-09 20:28:13,181 - INFO - Deleting VM ctest-vn1-vm2-54127722 2025-10-09 20:28:13,317 - INFO - Detaching port 94dc4691-d471-4d11-b653-93c4a5ec18e3 from VM ctest-vn1-vm1-71529010 2025-10-09 20:28:13,366 - INFO - Deleting VM ctest-vn1-vm1-71529010 2025-10-09 20:28:13,737 - DEBUG - Response for delete_port : () 2025-10-09 20:28:13,940 - DEBUG - Response for delete_port : () 2025-10-09 20:28:13,940 - INFO - Deleting VN ctest-vn1-17253520 2025-10-09 20:28:14,098 - DEBUG - Response for deleting network () 2025-10-09 20:28:14,366 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 20:28:14,366 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:29] 2025-10-09 20:28:14,367 - INFO - -------------------------------------------------------------------------------- 2025-10-09 20:28:15,241 - INFO - Deleted project: ctest-TestPorts-42077451, ID : ef6d38ef-a3e6-47bf-80c8-f3f8f9ad5aaf