2026-02-26 02:22:52,687 - INFO - Domain Default found not creating 2026-02-26 02:22:52,896 - INFO - Project ctest-TestPorts-50872245 not found, creating it 2026-02-26 02:22:53,456 - INFO - Created Project:ctest-TestPorts-50872245, ID : 591fd576-d505-4690-a6ff-90a94333becf 2026-02-26 02:22:55,298 - INFO - ================================================================================ 2026-02-26 02:22:55,298 - INFO - STARTING TEST : test_ports_bindings 2026-02-26 02:22:55,298 - 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 2026-02-26 02:22:56,607 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.129': '0', '10.20.0.254': '0'}, '10.0.0.48': {'10.20.0.129': '0', '10.20.0.25': '0'}} with 2026-02-26 02:22:56,607 - INFO - Initial checks done. Running the testcase now 2026-02-26 02:22:56,607 - INFO - 2026-02-26 02:22:57,418 - DEBUG - Response for create_network : {'network': {'id': '2ce52adb-16fe-4ec6-a216-e5eb2bbb1b71', 'name': 'ctest-vn-37630716', 'tenant_id': '591fd576d5054690a6ff90a94333becf', 'project_id': '591fd576d5054690a6ff90a94333becf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-50872245', 'ctest-vn-37630716'], 'port_security_enabled': True, 'description': ''}} 2026-02-26 02:22:57,772 - DEBUG - Response for create_subnet : {'subnet': {'id': '56720523-2350-45db-bb79-585e6534de00', 'name': '', 'tenant_id': '591fd576d5054690a6ff90a94333becf', 'network_id': '2ce52adb-16fe-4ec6-a216-e5eb2bbb1b71', 'ip_version': 4, 'cidr': '172.179.147.128/26', 'allocation_pools': [{'start': '172.179.147.130', 'end': '172.179.147.190'}], 'gateway_ip': '172.179.147.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.179.147.130', 'tags': [], 'project_id': '591fd576d5054690a6ff90a94333becf'}} 2026-02-26 02:22:57,799 - INFO - Created VN ctest-vn-37630716 2026-02-26 02:22:57,809 - DEBUG - VN ctest-vn-37630716 UUID is 2ce52adb-16fe-4ec6-a216-e5eb2bbb1b71 2026-02-26 02:22:57,893 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-50872245', 'ctest-vmi-83412075']} 2026-02-26 02:22:58,232 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-83412075', 'id': '2df4e665-0ef6-4d7e-b2ff-03a11c3895a1', 'tenant_id': '591fd576d5054690a6ff90a94333becf', 'network_id': '2ce52adb-16fe-4ec6-a216-e5eb2bbb1b71', 'mac_address': '02:2d:f4:e6:65:0e', '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': '172.179.147.131', 'subnet_id': '56720523-2350-45db-bb79-585e6534de00'}], 'security_groups': ['47e4a7e3-f66f-412c-9019-a54b255c88b0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '591fd576d5054690a6ff90a94333becf'}} 2026-02-26 02:22:58,232 - DEBUG - Created port 2df4e665-0ef6-4d7e-b2ff-03a11c3895a1 2026-02-26 02:22:58,306 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/2df4e665-0ef6-4d7e-b2ff-03a11c3895a1 2026-02-26 02:22:58,667 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/2df4e665-0ef6-4d7e-b2ff-03a11c3895a1 2026-02-26 02:22:58,712 - INFO - VMI 2df4e665-0ef6-4d7e-b2ff-03a11c3895a1 verification in API Server passed 2026-02-26 02:22:58,863 - DEBUG - Response for delete_port : () 2026-02-26 02:22:58,863 - INFO - Deleted port 2df4e665-0ef6-4d7e-b2ff-03a11c3895a1 2026-02-26 02:22:58,863 - INFO - Deleting VN ctest-vn-37630716 2026-02-26 02:22:59,007 - DEBUG - Response for deleting network () 2026-02-26 02:23:00,279 - DEBUG - No XMPP flaps were noticed during the test 2026-02-26 02:23:00,279 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05] 2026-02-26 02:23:00,279 - INFO - -------------------------------------------------------------------------------- 2026-02-26 02:23:00,282 - INFO - ================================================================================ 2026-02-26 02:23:00,282 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-02-26 02:23:00,282 - 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 2026-02-26 02:23:01,625 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.129': '0', '10.20.0.254': '0'}, '10.0.0.48': {'10.20.0.129': '0', '10.20.0.25': '0'}} with 2026-02-26 02:23:01,625 - INFO - Initial checks done. Running the testcase now 2026-02-26 02:23:01,625 - INFO - 2026-02-26 02:23:01,974 - DEBUG - Response for create_network : {'network': {'id': 'aea2839e-35e5-404d-b354-ec659d5e1da1', 'name': 'ctest-vn1-43758249', 'tenant_id': '591fd576d5054690a6ff90a94333becf', 'project_id': '591fd576d5054690a6ff90a94333becf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-50872245', 'ctest-vn1-43758249'], 'port_security_enabled': True, 'description': ''}} 2026-02-26 02:23:02,237 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd95ccdac-dc9e-48dd-bf58-d9a1dda93fc4', 'name': '', 'tenant_id': '591fd576d5054690a6ff90a94333becf', 'network_id': 'aea2839e-35e5-404d-b354-ec659d5e1da1', 'ip_version': 4, 'cidr': '29.106.151.64/26', 'allocation_pools': [{'start': '29.106.151.66', 'end': '29.106.151.126'}], 'gateway_ip': '29.106.151.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.106.151.66', 'tags': [], 'project_id': '591fd576d5054690a6ff90a94333becf'}} 2026-02-26 02:23:02,506 - DEBUG - Response for create_subnet : {'subnet': {'id': '823269ef-18dc-4a44-8da0-05036fbd183e', 'name': '', 'tenant_id': '591fd576d5054690a6ff90a94333becf', 'network_id': 'aea2839e-35e5-404d-b354-ec659d5e1da1', 'ip_version': 4, 'cidr': '160.53.21.128/26', 'allocation_pools': [{'start': '160.53.21.130', 'end': '160.53.21.190'}], 'gateway_ip': '160.53.21.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.53.21.130', 'tags': [], 'project_id': '591fd576d5054690a6ff90a94333becf'}} 2026-02-26 02:23:02,553 - INFO - Created VN ctest-vn1-43758249 2026-02-26 02:23:02,567 - DEBUG - VN ctest-vn1-43758249 UUID is aea2839e-35e5-404d-b354-ec659d5e1da1 2026-02-26 02:23:03,028 - DEBUG - Response for create_port : {'port': {'name': 'a707b9da-004f-441b-8b67-138892687e50', 'id': 'a707b9da-004f-441b-8b67-138892687e50', 'tenant_id': '591fd576d5054690a6ff90a94333becf', 'network_id': 'aea2839e-35e5-404d-b354-ec659d5e1da1', 'mac_address': '02:a7:07:b9:da:00', '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': '29.106.151.69', 'subnet_id': 'd95ccdac-dc9e-48dd-bf58-d9a1dda93fc4'}], 'security_groups': ['47e4a7e3-f66f-412c-9019-a54b255c88b0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '591fd576d5054690a6ff90a94333becf'}} 2026-02-26 02:23:03,422 - DEBUG - Response for create_port : {'port': {'name': 'c1b709cf-0c89-45c4-94db-dd31c6c55e10', 'id': 'c1b709cf-0c89-45c4-94db-dd31c6c55e10', 'tenant_id': '591fd576d5054690a6ff90a94333becf', 'network_id': 'aea2839e-35e5-404d-b354-ec659d5e1da1', 'mac_address': '02:c1:b7:09:cf:0c', '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': '160.53.21.133', 'subnet_id': '823269ef-18dc-4a44-8da0-05036fbd183e'}], 'security_groups': ['47e4a7e3-f66f-412c-9019-a54b255c88b0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '591fd576d5054690a6ff90a94333becf'}} 2026-02-26 02:23:03,510 - DEBUG - Services list from nova: [, , , ] 2026-02-26 02:23:04,205 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5402-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5402-2) 2026-02-26 02:23:04,922 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5402-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5402-1) 2026-02-26 02:23:04,923 - INFO - Waiting for VM ctest-vn1-vm1-22374573 to be up.. 2026-02-26 02:23:04,984 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-26 02:23:10,081 - DEBUG - VM is in ACTIVE state now 2026-02-26 02:23:10,082 - INFO - VM name : ctest-vn1-vm1-22374573 2026-02-26 02:23:10,182 - DEBUG - VM ctest-vn1-vm1-22374573 ID is ced325d9-695f-4b7d-974e-ed196f9f9537 2026-02-26 02:23:10,211 - DEBUG - VM ctest-vn1-vm1-22374573 launched on Node an-jenkins-deploy-platform-ansible-os-5402-2 2026-02-26 02:23:10,301 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/ced325d9-695f-4b7d-974e-ed196f9f9537 2026-02-26 02:23:10,663 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/ced325d9-695f-4b7d-974e-ed196f9f9537 2026-02-26 02:23:10,705 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/a707b9da-004f-441b-8b67-138892687e50 2026-02-26 02:23:13,881 - 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 1017ms') 2026-02-26 02:23:13,881 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22374573 failed! 2026-02-26 02:23:13,899 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-50872245:ctest-vn1-43758249 is 29.106.151.65 and allocation pool is NOT set 2026-02-26 02:23:13,899 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-50872245:ctest-vn1-43758249 is 160.53.21.129 and allocation pool is NOT set 2026-02-26 02:23:15,971 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.60 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.595/3.166/3.738/0.571 ms') 2026-02-26 02:23:15,971 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22374573 passed 2026-02-26 02:23:16,039 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 02:23:16,040 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-22374573, IP 29.106.151.69, Port 22 2026-02-26 02:23:16,099 - 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': ''} 2026-02-26 02:23:16,217 - DEBUG - VM ctest-vn1-vm1-22374573 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-26 02:23:21,218 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 02:23:21,218 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-22374573, IP 29.106.151.69, Port 22 2026-02-26 02:23:21,389 - DEBUG - VM ctest-vn1-vm1-22374573 is ready for SSH connections 2026-02-26 02:23:21,389 - INFO - Waiting for VM ctest-vn1-vm2-28164519 to be up.. 2026-02-26 02:23:21,618 - DEBUG - VM is in ACTIVE state now 2026-02-26 02:23:21,618 - INFO - VM name : ctest-vn1-vm2-28164519 2026-02-26 02:23:21,725 - DEBUG - VM ctest-vn1-vm2-28164519 ID is e68f6fe3-7c88-44e6-9306-d8aa185b5e52 2026-02-26 02:23:21,725 - DEBUG - VM ctest-vn1-vm2-28164519 launched on Node an-jenkins-deploy-platform-ansible-os-5402-1 2026-02-26 02:23:21,826 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/e68f6fe3-7c88-44e6-9306-d8aa185b5e52 2026-02-26 02:23:21,836 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/c1b709cf-0c89-45c4-94db-dd31c6c55e10 2026-02-26 02:23:23,001 - 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.492 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 = 0.492/2.041/3.590/1.549 ms') 2026-02-26 02:23:23,001 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-28164519 passed 2026-02-26 02:23:23,072 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 02:23:23,072 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-28164519, IP 160.53.21.133, Port 22 2026-02-26 02:23:23,243 - DEBUG - VM ctest-vn1-vm2-28164519 is ready for SSH connections 2026-02-26 02:23:23,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 02:23:23,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 02:23:23,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 02:23:23,243 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.106.151.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-02-26 02:23:23,244 - DEBUG - ping -s 56 -c 3 -W 1 29.106.151.69 2026-02-26 02:23:26,341 - DEBUG - PING 29.106.151.69 (29.106.151.69): 56 data bytes 64 bytes from 29.106.151.69: seq=0 ttl=63 time=5.883 ms 64 bytes from 29.106.151.69: seq=1 ttl=63 time=1.275 ms 64 bytes from 29.106.151.69: seq=2 ttl=63 time=1.497 ms --- 29.106.151.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.275/2.885/5.883 ms 2026-02-26 02:23:26,341 - INFO - Ping to IP 29.106.151.69 from VM ctest-vn1-vm2-28164519 passed 2026-02-26 02:23:26,341 - INFO - Detaching port c1b709cf-0c89-45c4-94db-dd31c6c55e10 from VM ctest-vn1-vm2-28164519 2026-02-26 02:23:26,403 - INFO - Deleting VM ctest-vn1-vm2-28164519 2026-02-26 02:23:26,497 - INFO - Detaching port a707b9da-004f-441b-8b67-138892687e50 from VM ctest-vn1-vm1-22374573 2026-02-26 02:23:26,536 - INFO - Deleting VM ctest-vn1-vm1-22374573 2026-02-26 02:23:26,904 - DEBUG - Response for delete_port : () 2026-02-26 02:23:27,188 - DEBUG - Response for delete_port : () 2026-02-26 02:23:27,188 - INFO - Deleting VN ctest-vn1-43758249 2026-02-26 02:23:27,376 - DEBUG - Response for deleting network () 2026-02-26 02:23:28,703 - DEBUG - No XMPP flaps were noticed during the test 2026-02-26 02:23:28,703 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:28] 2026-02-26 02:23:28,703 - INFO - -------------------------------------------------------------------------------- 2026-02-26 02:23:29,511 - INFO - Deleted project: ctest-TestPorts-50872245, ID : 591fd576-d505-4690-a6ff-90a94333becf