2026-02-05 10:28:10,434 - INFO - Domain Default found not creating 2026-02-05 10:28:10,589 - INFO - Project ctest-TestPorts-04150721 not found, creating it 2026-02-05 10:28:11,043 - INFO - Created Project:ctest-TestPorts-04150721, ID : db0abd4c-44c1-4598-a1be-f9ed04061104 2026-02-05 10:28:12,483 - INFO - ================================================================================ 2026-02-05 10:28:12,483 - INFO - STARTING TEST : test_ports_bindings 2026-02-05 10:28:12,484 - 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-05 10:28:12,740 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2026-02-05 10:28:12,741 - INFO - Initial checks done. Running the testcase now 2026-02-05 10:28:12,741 - INFO - 2026-02-05 10:28:13,262 - DEBUG - Response for create_network : {'network': {'id': '03f9f77e-29b8-47f8-90e0-8a09c5b8b8ba', 'name': 'ctest-vn-41840338', 'tenant_id': 'db0abd4c44c14598a1bef9ed04061104', 'project_id': 'db0abd4c44c14598a1bef9ed04061104', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-04150721', 'ctest-vn-41840338'], 'port_security_enabled': True, 'description': ''}} 2026-02-05 10:28:13,414 - DEBUG - Response for create_subnet : {'subnet': {'id': '9ab4b779-24cd-484d-b0e9-ffb73bda2f43', 'name': '', 'tenant_id': 'db0abd4c44c14598a1bef9ed04061104', 'network_id': '03f9f77e-29b8-47f8-90e0-8a09c5b8b8ba', 'ip_version': 4, 'cidr': '132.220.134.192/26', 'allocation_pools': [{'start': '132.220.134.194', 'end': '132.220.134.254'}], 'gateway_ip': '132.220.134.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.220.134.194', 'tags': [], 'project_id': 'db0abd4c44c14598a1bef9ed04061104'}} 2026-02-05 10:28:13,430 - INFO - Created VN ctest-vn-41840338 2026-02-05 10:28:13,483 - DEBUG - VN ctest-vn-41840338 UUID is 03f9f77e-29b8-47f8-90e0-8a09c5b8b8ba 2026-02-05 10:28:13,586 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-04150721', 'ctest-vmi-55609618']} 2026-02-05 10:28:13,848 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-55609618', 'id': 'c7855bf8-6469-4601-8398-66b2f232bc65', 'tenant_id': 'db0abd4c44c14598a1bef9ed04061104', 'network_id': '03f9f77e-29b8-47f8-90e0-8a09c5b8b8ba', 'mac_address': '02:c7:85:5b:f8:64', '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': '132.220.134.195', 'subnet_id': '9ab4b779-24cd-484d-b0e9-ffb73bda2f43'}], 'security_groups': ['8d4ba783-0fae-4cb2-ab8a-aa1321de1752'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'db0abd4c44c14598a1bef9ed04061104'}} 2026-02-05 10:28:13,849 - DEBUG - Created port c7855bf8-6469-4601-8398-66b2f232bc65 2026-02-05 10:28:13,951 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c7855bf8-6469-4601-8398-66b2f232bc65 2026-02-05 10:28:14,241 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c7855bf8-6469-4601-8398-66b2f232bc65 2026-02-05 10:28:14,276 - INFO - VMI c7855bf8-6469-4601-8398-66b2f232bc65 verification in API Server passed 2026-02-05 10:28:14,365 - DEBUG - Response for delete_port : () 2026-02-05 10:28:14,365 - INFO - Deleted port c7855bf8-6469-4601-8398-66b2f232bc65 2026-02-05 10:28:14,365 - INFO - Deleting VN ctest-vn-41840338 2026-02-05 10:28:14,476 - DEBUG - Response for deleting network () 2026-02-05 10:28:14,738 - DEBUG - No XMPP flaps were noticed during the test
2026-02-05 10:28:14,738 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-02-05 10:28:14,738 - INFO - -------------------------------------------------------------------------------- 2026-02-05 10:28:14,740 - INFO - ================================================================================ 2026-02-05 10:28:14,740 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-02-05 10:28:14,740 - 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-05 10:28:15,036 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2026-02-05 10:28:15,036 - INFO - Initial checks done. Running the testcase now 2026-02-05 10:28:15,036 - INFO - 2026-02-05 10:28:15,392 - DEBUG - Response for create_network : {'network': {'id': '2bda73e4-5b5b-467f-8b65-150e745fc3e8', 'name': 'ctest-vn1-92146402', 'tenant_id': 'db0abd4c44c14598a1bef9ed04061104', 'project_id': 'db0abd4c44c14598a1bef9ed04061104', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-04150721', 'ctest-vn1-92146402'], 'port_security_enabled': True, 'description': ''}} 2026-02-05 10:28:15,641 - DEBUG - Response for create_subnet : {'subnet': {'id': '267191a6-adad-4f86-8549-902d0588147c', 'name': '', 'tenant_id': 'db0abd4c44c14598a1bef9ed04061104', 'network_id': '2bda73e4-5b5b-467f-8b65-150e745fc3e8', 'ip_version': 4, 'cidr': '168.138.67.64/26', 'allocation_pools': [{'start': '168.138.67.66', 'end': '168.138.67.126'}], 'gateway_ip': '168.138.67.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.138.67.66', 'tags': [], 'project_id': 'db0abd4c44c14598a1bef9ed04061104'}} 2026-02-05 10:28:15,822 - DEBUG - Response for create_subnet : {'subnet': {'id': '01d0d0bc-c161-406a-910a-6d4f4ac42e1b', 'name': '', 'tenant_id': 'db0abd4c44c14598a1bef9ed04061104', 'network_id': '2bda73e4-5b5b-467f-8b65-150e745fc3e8', 'ip_version': 4, 'cidr': '204.100.152.192/26', 'allocation_pools': [{'start': '204.100.152.194', 'end': '204.100.152.254'}], 'gateway_ip': '204.100.152.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.100.152.194', 'tags': [], 'project_id': 'db0abd4c44c14598a1bef9ed04061104'}} 2026-02-05 10:28:15,840 - INFO - Created VN ctest-vn1-92146402 2026-02-05 10:28:15,891 - DEBUG - VN ctest-vn1-92146402 UUID is 2bda73e4-5b5b-467f-8b65-150e745fc3e8 2026-02-05 10:28:16,187 - DEBUG - Response for create_port : {'port': {'name': '7e572736-e3b4-4ae9-a0d2-8ce0a1fd9a05', 'id': '7e572736-e3b4-4ae9-a0d2-8ce0a1fd9a05', 'tenant_id': 'db0abd4c44c14598a1bef9ed04061104', 'network_id': '2bda73e4-5b5b-467f-8b65-150e745fc3e8', 'mac_address': '02:7e:57:27:36:e3', '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': '168.138.67.69', 'subnet_id': '267191a6-adad-4f86-8549-902d0588147c'}], 'security_groups': ['8d4ba783-0fae-4cb2-ab8a-aa1321de1752'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'db0abd4c44c14598a1bef9ed04061104'}} 2026-02-05 10:28:16,359 - DEBUG - Response for create_port : {'port': {'name': 'de6ab7f4-63be-4e6d-9c39-913922f28a27', 'id': 'de6ab7f4-63be-4e6d-9c39-913922f28a27', 'tenant_id': 'db0abd4c44c14598a1bef9ed04061104', 'network_id': '2bda73e4-5b5b-467f-8b65-150e745fc3e8', 'mac_address': '02:de:6a:b7:f4:63', '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': '204.100.152.197', 'subnet_id': '01d0d0bc-c161-406a-910a-6d4f4ac42e1b'}], 'security_groups': ['8d4ba783-0fae-4cb2-ab8a-aa1321de1752'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'db0abd4c44c14598a1bef9ed04061104'}} 2026-02-05 10:28:16,412 - DEBUG - Services list from nova: [, , ] 2026-02-05 10:28:16,732 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5218-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5218-1) 2026-02-05 10:28:17,096 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5218-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5218-1) 2026-02-05 10:28:17,096 - INFO - Waiting for VM ctest-vn1-vm1-43394832 to be up.. 2026-02-05 10:28:17,133 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-05 10:28:22,211 - DEBUG - VM is in ACTIVE state now 2026-02-05 10:28:22,211 - INFO - VM name : ctest-vn1-vm1-43394832 2026-02-05 10:28:22,282 - DEBUG - VM ctest-vn1-vm1-43394832 ID is 7128dd1c-cd6b-40bf-8919-6d6a938933a8 2026-02-05 10:28:22,301 - DEBUG - VM ctest-vn1-vm1-43394832 launched on Node cn-jenkins-deploy-platform-ansible-os-5218-1 2026-02-05 10:28:22,371 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/7128dd1c-cd6b-40bf-8919-6d6a938933a8 2026-02-05 10:28:22,379 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/7e572736-e3b4-4ae9-a0d2-8ce0a1fd9a05 2026-02-05 10:28:25,640 - 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 1027ms') 2026-02-05 10:28:25,640 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-43394832 failed! 2026-02-05 10:28:25,695 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-04150721:ctest-vn1-92146402 is 168.138.67.65 and allocation pool is NOT set 2026-02-05 10:28:25,695 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-04150721:ctest-vn1-92146402 is 204.100.152.193 and allocation pool is NOT set 2026-02-05 10:28:27,760 - 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=7.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.76 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.756/5.084/7.412/2.328 ms') 2026-02-05 10:28:27,760 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-43394832 passed 2026-02-05 10:28:27,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 10:28:27,907 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-43394832, IP 168.138.67.69, Port 22 2026-02-05 10:28:27,963 - 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-05 10:28:28,036 - DEBUG - VM ctest-vn1-vm1-43394832 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-05 10:28:33,036 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 10:28:33,036 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-43394832, IP 168.138.67.69, Port 22 2026-02-05 10:28:33,191 - DEBUG - VM ctest-vn1-vm1-43394832 is ready for SSH connections 2026-02-05 10:28:33,191 - INFO - Waiting for VM ctest-vn1-vm2-97457328 to be up.. 2026-02-05 10:28:33,266 - DEBUG - VM is in ACTIVE state now 2026-02-05 10:28:33,267 - INFO - VM name : ctest-vn1-vm2-97457328 2026-02-05 10:28:33,352 - DEBUG - VM ctest-vn1-vm2-97457328 ID is 9acc4cbe-edd4-427a-924b-3c8672b0b3b5 2026-02-05 10:28:33,352 - DEBUG - VM ctest-vn1-vm2-97457328 launched on Node cn-jenkins-deploy-platform-ansible-os-5218-1 2026-02-05 10:28:33,425 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9acc4cbe-edd4-427a-924b-3c8672b0b3b5 2026-02-05 10:28:33,433 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/de6ab7f4-63be-4e6d-9c39-913922f28a27 2026-02-05 10:28:34,676 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.372 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.372/2.067/3.762/1.695 ms') 2026-02-05 10:28:34,676 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-97457328 passed 2026-02-05 10:28:34,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 10:28:34,823 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-97457328, IP 204.100.152.197, Port 22 2026-02-05 10:28:34,974 - DEBUG - VM ctest-vn1-vm2-97457328 is ready for SSH connections 2026-02-05 10:28:34,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 10:28:34,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 10:28:34,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 10:28:34,974 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.138.67.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-02-05 10:28:34,974 - DEBUG - ping -s 56 -c 3 -W 1 168.138.67.69 2026-02-05 10:28:37,651 - DEBUG - PING 168.138.67.69 (168.138.67.69): 56 data bytes 64 bytes from 168.138.67.69: seq=0 ttl=63 time=3.761 ms 64 bytes from 168.138.67.69: seq=1 ttl=63 time=1.256 ms 64 bytes from 168.138.67.69: seq=2 ttl=63 time=0.830 ms --- 168.138.67.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.830/1.949/3.761 ms 2026-02-05 10:28:37,651 - INFO - Ping to IP 168.138.67.69 from VM ctest-vn1-vm2-97457328 passed 2026-02-05 10:28:37,651 - INFO - Detaching port de6ab7f4-63be-4e6d-9c39-913922f28a27 from VM ctest-vn1-vm2-97457328 2026-02-05 10:28:37,711 - INFO - Deleting VM ctest-vn1-vm2-97457328 2026-02-05 10:28:37,780 - INFO - Detaching port 7e572736-e3b4-4ae9-a0d2-8ce0a1fd9a05 from VM ctest-vn1-vm1-43394832 2026-02-05 10:28:37,813 - INFO - Deleting VM ctest-vn1-vm1-43394832 2026-02-05 10:28:38,041 - DEBUG - Response for delete_port : () 2026-02-05 10:28:38,192 - DEBUG - Response for delete_port : () 2026-02-05 10:28:38,192 - INFO - Deleting VN ctest-vn1-92146402 2026-02-05 10:28:38,310 - DEBUG - Response for deleting network () 2026-02-05 10:28:38,568 - DEBUG - No XMPP flaps were noticed during the test
2026-02-05 10:28:38,568 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-02-05 10:28:38,568 - INFO - -------------------------------------------------------------------------------- 2026-02-05 10:28:39,256 - INFO - Deleted project: ctest-TestPorts-04150721, ID : db0abd4c-44c1-4598-a1be-f9ed04061104