2026-02-11 17:42:57,440 - INFO - Domain Default found not creating 2026-02-11 17:42:57,643 - INFO - Project ctest-TestPorts-67129735 not found, creating it 2026-02-11 17:42:58,107 - INFO - Created Project:ctest-TestPorts-67129735, ID : 5e80165b-8883-4f93-b411-69dc9164256a 2026-02-11 17:42:59,606 - INFO - ================================================================================ 2026-02-11 17:42:59,606 - INFO - STARTING TEST : test_ports_bindings 2026-02-11 17:42:59,606 - 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-11 17:42:59,862 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-02-11 17:42:59,862 - INFO - Initial checks done. Running the testcase now 2026-02-11 17:42:59,862 - INFO - 2026-02-11 17:43:00,482 - DEBUG - Response for create_network : {'network': {'id': 'e1a8e676-01ae-4b0d-9aeb-d9dffc265fff', 'name': 'ctest-vn-40377894', 'tenant_id': '5e80165b88834f93b41169dc9164256a', 'project_id': '5e80165b88834f93b41169dc9164256a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-67129735', 'ctest-vn-40377894'], 'port_security_enabled': True, 'description': ''}} 2026-02-11 17:43:00,670 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e7197035-fa2d-487e-9585-c8b49d50bdbb', 'name': '', 'tenant_id': '5e80165b88834f93b41169dc9164256a', 'network_id': 'e1a8e676-01ae-4b0d-9aeb-d9dffc265fff', 'ip_version': 4, 'cidr': '22.18.105.64/26', 'allocation_pools': [{'start': '22.18.105.66', 'end': '22.18.105.126'}], 'gateway_ip': '22.18.105.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.18.105.66', 'tags': [], 'project_id': '5e80165b88834f93b41169dc9164256a'}} 2026-02-11 17:43:00,689 - INFO - Created VN ctest-vn-40377894 2026-02-11 17:43:00,744 - DEBUG - VN ctest-vn-40377894 UUID is e1a8e676-01ae-4b0d-9aeb-d9dffc265fff 2026-02-11 17:43:00,864 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-67129735', 'ctest-vmi-42868316']} 2026-02-11 17:43:01,105 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-42868316', 'id': '51bfae52-5098-4e83-8eb2-301105509bad', 'tenant_id': '5e80165b88834f93b41169dc9164256a', 'network_id': 'e1a8e676-01ae-4b0d-9aeb-d9dffc265fff', 'mac_address': '02:51:bf:ae:52:50', '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': '22.18.105.67', 'subnet_id': 'e7197035-fa2d-487e-9585-c8b49d50bdbb'}], 'security_groups': ['82f08457-4739-48f4-bbf5-6d59b45753ee'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5e80165b88834f93b41169dc9164256a'}} 2026-02-11 17:43:01,105 - DEBUG - Created port 51bfae52-5098-4e83-8eb2-301105509bad 2026-02-11 17:43:01,212 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/51bfae52-5098-4e83-8eb2-301105509bad 2026-02-11 17:43:01,518 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/51bfae52-5098-4e83-8eb2-301105509bad 2026-02-11 17:43:01,564 - INFO - VMI 51bfae52-5098-4e83-8eb2-301105509bad verification in API Server passed 2026-02-11 17:43:01,660 - DEBUG - Response for delete_port : () 2026-02-11 17:43:01,660 - INFO - Deleted port 51bfae52-5098-4e83-8eb2-301105509bad 2026-02-11 17:43:01,660 - INFO - Deleting VN ctest-vn-40377894 2026-02-11 17:43:01,774 - DEBUG - Response for deleting network () 2026-02-11 17:43:02,031 - DEBUG - No XMPP flaps were noticed during the test
2026-02-11 17:43:02,031 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-02-11 17:43:02,031 - INFO - -------------------------------------------------------------------------------- 2026-02-11 17:43:02,035 - INFO - ================================================================================ 2026-02-11 17:43:02,035 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-02-11 17:43:02,035 - 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-11 17:43:02,332 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-02-11 17:43:02,332 - INFO - Initial checks done. Running the testcase now 2026-02-11 17:43:02,332 - INFO - 2026-02-11 17:43:02,526 - DEBUG - Response for create_network : {'network': {'id': 'ce66f61e-05ab-41d1-b7ce-cbb9090f619c', 'name': 'ctest-vn1-15028174', 'tenant_id': '5e80165b88834f93b41169dc9164256a', 'project_id': '5e80165b88834f93b41169dc9164256a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-67129735', 'ctest-vn1-15028174'], 'port_security_enabled': True, 'description': ''}} 2026-02-11 17:43:02,738 - DEBUG - Response for create_subnet : {'subnet': {'id': '208d068a-6e02-43d0-9f16-0e23fad3f552', 'name': '', 'tenant_id': '5e80165b88834f93b41169dc9164256a', 'network_id': 'ce66f61e-05ab-41d1-b7ce-cbb9090f619c', 'ip_version': 4, 'cidr': '65.254.171.0/26', 'allocation_pools': [{'start': '65.254.171.2', 'end': '65.254.171.62'}], 'gateway_ip': '65.254.171.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.254.171.2', 'tags': [], 'project_id': '5e80165b88834f93b41169dc9164256a'}} 2026-02-11 17:43:02,951 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dbe9aab4-142e-453a-90cd-5f52f157f22e', 'name': '', 'tenant_id': '5e80165b88834f93b41169dc9164256a', 'network_id': 'ce66f61e-05ab-41d1-b7ce-cbb9090f619c', 'ip_version': 4, 'cidr': '144.253.118.192/26', 'allocation_pools': [{'start': '144.253.118.194', 'end': '144.253.118.254'}], 'gateway_ip': '144.253.118.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.253.118.194', 'tags': [], 'project_id': '5e80165b88834f93b41169dc9164256a'}} 2026-02-11 17:43:02,973 - INFO - Created VN ctest-vn1-15028174 2026-02-11 17:43:03,024 - DEBUG - VN ctest-vn1-15028174 UUID is ce66f61e-05ab-41d1-b7ce-cbb9090f619c 2026-02-11 17:43:03,336 - DEBUG - Response for create_port : {'port': {'name': '819a50bc-2fba-425b-8008-76303f22f988', 'id': '819a50bc-2fba-425b-8008-76303f22f988', 'tenant_id': '5e80165b88834f93b41169dc9164256a', 'network_id': 'ce66f61e-05ab-41d1-b7ce-cbb9090f619c', 'mac_address': '02:81:9a:50:bc:2f', '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': '65.254.171.5', 'subnet_id': '208d068a-6e02-43d0-9f16-0e23fad3f552'}], 'security_groups': ['82f08457-4739-48f4-bbf5-6d59b45753ee'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5e80165b88834f93b41169dc9164256a'}} 2026-02-11 17:43:03,519 - DEBUG - Response for create_port : {'port': {'name': 'c6c1212a-c10e-4db2-9797-88d194e33c2e', 'id': 'c6c1212a-c10e-4db2-9797-88d194e33c2e', 'tenant_id': '5e80165b88834f93b41169dc9164256a', 'network_id': 'ce66f61e-05ab-41d1-b7ce-cbb9090f619c', 'mac_address': '02:c6:c1:21:2a:c1', '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': '144.253.118.197', 'subnet_id': 'dbe9aab4-142e-453a-90cd-5f52f157f22e'}], 'security_groups': ['82f08457-4739-48f4-bbf5-6d59b45753ee'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5e80165b88834f93b41169dc9164256a'}} 2026-02-11 17:43:03,579 - DEBUG - Services list from nova: [, , ] 2026-02-11 17:43:03,992 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5297-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5297-30) 2026-02-11 17:43:04,468 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5297-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5297-30) 2026-02-11 17:43:04,468 - INFO - Waiting for VM ctest-vn1-vm1-06289107 to be up.. 2026-02-11 17:43:04,515 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-11 17:43:09,593 - DEBUG - VM is in ACTIVE state now 2026-02-11 17:43:09,593 - INFO - VM name : ctest-vn1-vm1-06289107 2026-02-11 17:43:09,670 - DEBUG - VM ctest-vn1-vm1-06289107 ID is 37ac0ff4-b829-49f9-9126-72a8586e9b67 2026-02-11 17:43:09,689 - DEBUG - VM ctest-vn1-vm1-06289107 launched on Node cn-jenkins-deploy-platform-ansible-os-5297-30 2026-02-11 17:43:09,762 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/37ac0ff4-b829-49f9-9126-72a8586e9b67 2026-02-11 17:43:09,770 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/819a50bc-2fba-425b-8008-76303f22f988 2026-02-11 17:43:13,022 - 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 1011ms') 2026-02-11 17:43:13,022 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06289107 failed! 2026-02-11 17:43:13,076 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-67129735:ctest-vn1-15028174 is 65.254.171.1 and allocation pool is NOT set 2026-02-11 17:43:13,076 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-67129735:ctest-vn1-15028174 is 144.253.118.193 and allocation pool is NOT set 2026-02-11 17:43:15,141 - 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=10.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.19 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.188/6.141/10.094/3.953 ms') 2026-02-11 17:43:15,141 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06289107 passed 2026-02-11 17:43:15,296 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 17:43:15,296 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-06289107, IP 65.254.171.5, Port 22 2026-02-11 17:43:15,352 - 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-11 17:43:15,465 - DEBUG - VM ctest-vn1-vm1-06289107 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-11 17:43:20,466 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 17:43:20,466 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-06289107, IP 65.254.171.5, Port 22 2026-02-11 17:43:20,632 - DEBUG - VM ctest-vn1-vm1-06289107 is ready for SSH connections 2026-02-11 17:43:20,632 - INFO - Waiting for VM ctest-vn1-vm2-54910004 to be up.. 2026-02-11 17:43:20,711 - DEBUG - VM is in ACTIVE state now 2026-02-11 17:43:20,711 - INFO - VM name : ctest-vn1-vm2-54910004 2026-02-11 17:43:20,785 - DEBUG - VM ctest-vn1-vm2-54910004 ID is 263ac10b-cf6a-448e-a77b-81e1fc7f1663 2026-02-11 17:43:20,785 - DEBUG - VM ctest-vn1-vm2-54910004 launched on Node cn-jenkins-deploy-platform-ansible-os-5297-30 2026-02-11 17:43:20,865 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/263ac10b-cf6a-448e-a77b-81e1fc7f1663 2026-02-11 17:43:20,876 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c6c1212a-c10e-4db2-9797-88d194e33c2e 2026-02-11 17:43:22,117 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.426 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.426/2.165/3.905/1.739 ms') 2026-02-11 17:43:22,117 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-54910004 passed 2026-02-11 17:43:22,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 17:43:22,272 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-54910004, IP 144.253.118.197, Port 22 2026-02-11 17:43:22,428 - DEBUG - VM ctest-vn1-vm2-54910004 is ready for SSH connections 2026-02-11 17:43:22,428 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 17:43:22,428 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 17:43:22,428 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 17:43:22,428 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.254.171.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-11 17:43:22,429 - DEBUG - ping -s 56 -c 3 -W 1 65.254.171.5 2026-02-11 17:43:25,107 - DEBUG - PING 65.254.171.5 (65.254.171.5): 56 data bytes 64 bytes from 65.254.171.5: seq=0 ttl=63 time=4.101 ms 64 bytes from 65.254.171.5: seq=1 ttl=63 time=1.132 ms 64 bytes from 65.254.171.5: seq=2 ttl=63 time=1.186 ms --- 65.254.171.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.132/2.139/4.101 ms 2026-02-11 17:43:25,108 - INFO - Ping to IP 65.254.171.5 from VM ctest-vn1-vm2-54910004 passed 2026-02-11 17:43:25,108 - INFO - Detaching port c6c1212a-c10e-4db2-9797-88d194e33c2e from VM ctest-vn1-vm2-54910004 2026-02-11 17:43:25,159 - INFO - Deleting VM ctest-vn1-vm2-54910004 2026-02-11 17:43:25,230 - INFO - Detaching port 819a50bc-2fba-425b-8008-76303f22f988 from VM ctest-vn1-vm1-06289107 2026-02-11 17:43:25,268 - INFO - Deleting VM ctest-vn1-vm1-06289107 2026-02-11 17:43:25,526 - DEBUG - Response for delete_port : () 2026-02-11 17:43:25,705 - DEBUG - Response for delete_port : () 2026-02-11 17:43:25,705 - INFO - Deleting VN ctest-vn1-15028174 2026-02-11 17:43:25,857 - DEBUG - Response for deleting network () 2026-02-11 17:43:26,118 - DEBUG - No XMPP flaps were noticed during the test
2026-02-11 17:43:26,118 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-02-11 17:43:26,118 - INFO - -------------------------------------------------------------------------------- 2026-02-11 17:43:26,840 - INFO - Deleted project: ctest-TestPorts-67129735, ID : 5e80165b-8883-4f93-b411-69dc9164256a