2026-02-12 16:23:19,592 - INFO - Domain Default found not creating
2026-02-12 16:23:19,758 - INFO - Project ctest-TestPorts-32444114 not found, creating it
2026-02-12 16:23:20,221 - INFO - Created Project:ctest-TestPorts-32444114, ID : fec5d616-1381-4aa6-85ac-9b69f660192b
2026-02-12 16:23:21,689 - INFO - ================================================================================
2026-02-12 16:23:21,689 - INFO - STARTING TEST : test_ports_bindings
2026-02-12 16:23:21,689 - 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-12 16:23:21,956 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-02-12 16:23:21,956 - INFO - Initial checks done. Running the testcase now
2026-02-12 16:23:21,956 - INFO -
2026-02-12 16:23:22,496 - DEBUG - Response for create_network : {'network': {'id': 'a928f853-b1d9-43ab-9aad-3debc1d9c374', 'name': 'ctest-vn-53373919', 'tenant_id': 'fec5d61613814aa685ac9b69f660192b', 'project_id': 'fec5d61613814aa685ac9b69f660192b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-32444114', 'ctest-vn-53373919'], 'port_security_enabled': True, 'description': ''}}
2026-02-12 16:23:22,706 - DEBUG - Response for create_subnet : {'subnet': {'id': '95e9641a-ae0d-420d-b57a-49852d487932', 'name': '', 'tenant_id': 'fec5d61613814aa685ac9b69f660192b', 'network_id': 'a928f853-b1d9-43ab-9aad-3debc1d9c374', 'ip_version': 4, 'cidr': '189.180.166.64/26', 'allocation_pools': [{'start': '189.180.166.66', 'end': '189.180.166.126'}], 'gateway_ip': '189.180.166.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.180.166.66', 'tags': [], 'project_id': 'fec5d61613814aa685ac9b69f660192b'}}
2026-02-12 16:23:22,727 - INFO - Created VN ctest-vn-53373919
2026-02-12 16:23:22,779 - DEBUG - VN ctest-vn-53373919 UUID is a928f853-b1d9-43ab-9aad-3debc1d9c374
2026-02-12 16:23:22,896 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-32444114', 'ctest-vmi-02169718']}
2026-02-12 16:23:23,142 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-02169718', 'id': '58d48020-9de9-438a-adc7-0e0750839870', 'tenant_id': 'fec5d61613814aa685ac9b69f660192b', 'network_id': 'a928f853-b1d9-43ab-9aad-3debc1d9c374', 'mac_address': '02:58:d4:80:20:9d', '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': '189.180.166.67', 'subnet_id': '95e9641a-ae0d-420d-b57a-49852d487932'}], 'security_groups': ['f9779d63-01b1-4d1b-a761-7804efd40f53'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fec5d61613814aa685ac9b69f660192b'}}
2026-02-12 16:23:23,142 - DEBUG - Created port 58d48020-9de9-438a-adc7-0e0750839870
2026-02-12 16:23:23,251 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/58d48020-9de9-438a-adc7-0e0750839870
2026-02-12 16:23:23,555 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/58d48020-9de9-438a-adc7-0e0750839870
2026-02-12 16:23:23,594 - INFO - VMI 58d48020-9de9-438a-adc7-0e0750839870 verification in API Server passed
2026-02-12 16:23:23,692 - DEBUG - Response for delete_port : ()
2026-02-12 16:23:23,692 - INFO - Deleted port 58d48020-9de9-438a-adc7-0e0750839870
2026-02-12 16:23:23,693 - INFO - Deleting VN ctest-vn-53373919
2026-02-12 16:23:23,805 - DEBUG - Response for deleting network ()
2026-02-12 16:23:24,069 - DEBUG - No XMPP flaps were noticed during the test
2026-02-12 16:23:24,069 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-02-12 16:23:24,069 - INFO - --------------------------------------------------------------------------------
2026-02-12 16:23:24,071 - INFO - ================================================================================
2026-02-12 16:23:24,071 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-02-12 16:23:24,071 - 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-12 16:23:24,355 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-02-12 16:23:24,355 - INFO - Initial checks done. Running the testcase now
2026-02-12 16:23:24,355 - INFO -
2026-02-12 16:23:24,532 - DEBUG - Response for create_network : {'network': {'id': '6deaa012-a864-4ccf-95a6-4dc8882a381f', 'name': 'ctest-vn1-26861286', 'tenant_id': 'fec5d61613814aa685ac9b69f660192b', 'project_id': 'fec5d61613814aa685ac9b69f660192b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-32444114', 'ctest-vn1-26861286'], 'port_security_enabled': True, 'description': ''}}
2026-02-12 16:23:24,725 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3f890f5-6d33-495c-b767-0195fd69e1a9', 'name': '', 'tenant_id': 'fec5d61613814aa685ac9b69f660192b', 'network_id': '6deaa012-a864-4ccf-95a6-4dc8882a381f', 'ip_version': 4, 'cidr': '173.105.198.128/26', 'allocation_pools': [{'start': '173.105.198.130', 'end': '173.105.198.190'}], 'gateway_ip': '173.105.198.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.105.198.130', 'tags': [], 'project_id': 'fec5d61613814aa685ac9b69f660192b'}}
2026-02-12 16:23:24,880 - DEBUG - Response for create_subnet : {'subnet': {'id': '06c5f436-fa7e-458a-b5c6-5a6bb0f37e01', 'name': '', 'tenant_id': 'fec5d61613814aa685ac9b69f660192b', 'network_id': '6deaa012-a864-4ccf-95a6-4dc8882a381f', 'ip_version': 4, 'cidr': '77.92.100.192/26', 'allocation_pools': [{'start': '77.92.100.194', 'end': '77.92.100.254'}], 'gateway_ip': '77.92.100.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.92.100.194', 'tags': [], 'project_id': 'fec5d61613814aa685ac9b69f660192b'}}
2026-02-12 16:23:24,899 - INFO - Created VN ctest-vn1-26861286
2026-02-12 16:23:24,951 - DEBUG - VN ctest-vn1-26861286 UUID is 6deaa012-a864-4ccf-95a6-4dc8882a381f
2026-02-12 16:23:25,252 - DEBUG - Response for create_port : {'port': {'name': '238a10a6-dddf-429a-b847-2e7626e61abb', 'id': '238a10a6-dddf-429a-b847-2e7626e61abb', 'tenant_id': 'fec5d61613814aa685ac9b69f660192b', 'network_id': '6deaa012-a864-4ccf-95a6-4dc8882a381f', 'mac_address': '02:23:8a:10:a6:dd', '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': '173.105.198.133', 'subnet_id': 'e3f890f5-6d33-495c-b767-0195fd69e1a9'}], 'security_groups': ['f9779d63-01b1-4d1b-a761-7804efd40f53'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fec5d61613814aa685ac9b69f660192b'}}
2026-02-12 16:23:25,422 - DEBUG - Response for create_port : {'port': {'name': '847ab8b1-2416-4889-ad2b-385d70a0bdd9', 'id': '847ab8b1-2416-4889-ad2b-385d70a0bdd9', 'tenant_id': 'fec5d61613814aa685ac9b69f660192b', 'network_id': '6deaa012-a864-4ccf-95a6-4dc8882a381f', 'mac_address': '02:84:7a:b8:b1:24', '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': '77.92.100.197', 'subnet_id': '06c5f436-fa7e-458a-b5c6-5a6bb0f37e01'}], 'security_groups': ['f9779d63-01b1-4d1b-a761-7804efd40f53'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fec5d61613814aa685ac9b69f660192b'}}
2026-02-12 16:23:25,488 - DEBUG - Services list from nova: [, , ]
2026-02-12 16:23:25,862 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5321-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5321-1)
2026-02-12 16:23:26,297 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5321-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5321-1)
2026-02-12 16:23:26,297 - INFO - Waiting for VM ctest-vn1-vm1-05429674 to be up..
2026-02-12 16:23:26,345 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-12 16:23:31,535 - DEBUG - VM is in ACTIVE state now
2026-02-12 16:23:31,535 - INFO - VM name : ctest-vn1-vm1-05429674
2026-02-12 16:23:31,694 - DEBUG - VM ctest-vn1-vm1-05429674 ID is 669be95d-cc76-4365-bbf2-2cbdb33afc86
2026-02-12 16:23:31,742 - DEBUG - VM ctest-vn1-vm1-05429674 launched on Node cn-jenkins-deploy-platform-ansible-os-5321-1
2026-02-12 16:23:31,854 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/669be95d-cc76-4365-bbf2-2cbdb33afc86
2026-02-12 16:23:31,864 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/238a10a6-dddf-429a-b847-2e7626e61abb
2026-02-12 16:23:35,103 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms')
2026-02-12 16:23:35,103 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-05429674 failed!
2026-02-12 16:23:35,159 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-32444114:ctest-vn1-26861286 is 173.105.198.129 and allocation pool is NOT set
2026-02-12 16:23:35,159 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-32444114:ctest-vn1-26861286 is 77.92.100.193 and allocation pool is NOT set
2026-02-12 16:23:37,221 - 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=12.5 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.12 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 = 1.120/6.820/12.520/5.700 ms')
2026-02-12 16:23:37,221 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-05429674 passed
2026-02-12 16:23:37,375 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-12 16:23:37,375 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05429674, IP 173.105.198.133, Port 22
2026-02-12 16:23:37,441 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-02-12 16:23:37,512 - DEBUG - VM ctest-vn1-vm1-05429674 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-12 16:23:42,513 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-12 16:23:42,513 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05429674, IP 173.105.198.133, Port 22
2026-02-12 16:23:42,670 - DEBUG - VM ctest-vn1-vm1-05429674 is ready for SSH connections
2026-02-12 16:23:42,670 - INFO - Waiting for VM ctest-vn1-vm2-40736496 to be up..
2026-02-12 16:23:42,744 - DEBUG - VM is in ACTIVE state now
2026-02-12 16:23:42,744 - INFO - VM name : ctest-vn1-vm2-40736496
2026-02-12 16:23:42,816 - DEBUG - VM ctest-vn1-vm2-40736496 ID is af41690e-5c07-41ac-b8c6-475c8c18d409
2026-02-12 16:23:42,816 - DEBUG - VM ctest-vn1-vm2-40736496 launched on Node cn-jenkins-deploy-platform-ansible-os-5321-1
2026-02-12 16:23:42,894 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/af41690e-5c07-41ac-b8c6-475c8c18d409
2026-02-12 16:23:42,902 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/847ab8b1-2416-4889-ad2b-385d70a0bdd9
2026-02-12 16:23:44,132 - 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=2.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.409 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 = 0.409/1.666/2.924/1.257 ms')
2026-02-12 16:23:44,133 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-40736496 passed
2026-02-12 16:23:44,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-12 16:23:44,287 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-40736496, IP 77.92.100.197, Port 22
2026-02-12 16:23:44,442 - DEBUG - VM ctest-vn1-vm2-40736496 is ready for SSH connections
2026-02-12 16:23:44,442 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-12 16:23:44,442 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-12 16:23:44,442 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-12 16:23:44,443 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.105.198.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-02-12 16:23:44,443 - DEBUG - ping -s 56 -c 3 -W 1 173.105.198.133
2026-02-12 16:23:48,185 - DEBUG - PING 173.105.198.133 (173.105.198.133): 56 data bytes
64 bytes from 173.105.198.133: seq=0 ttl=63 time=3.755 ms
64 bytes from 173.105.198.133: seq=1 ttl=63 time=0.863 ms
64 bytes from 173.105.198.133: seq=2 ttl=63 time=0.842 ms
--- 173.105.198.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.842/1.820/3.755 ms
2026-02-12 16:23:48,185 - INFO - Ping to IP 173.105.198.133 from VM ctest-vn1-vm2-40736496 passed
2026-02-12 16:23:48,185 - INFO - Detaching port 847ab8b1-2416-4889-ad2b-385d70a0bdd9 from VM ctest-vn1-vm2-40736496
2026-02-12 16:23:48,232 - INFO - Deleting VM ctest-vn1-vm2-40736496
2026-02-12 16:23:48,298 - INFO - Detaching port 238a10a6-dddf-429a-b847-2e7626e61abb from VM ctest-vn1-vm1-05429674
2026-02-12 16:23:48,337 - INFO - Deleting VM ctest-vn1-vm1-05429674
2026-02-12 16:23:48,609 - DEBUG - Response for delete_port : ()
2026-02-12 16:23:48,808 - DEBUG - Response for delete_port : ()
2026-02-12 16:23:48,808 - INFO - Deleting VN ctest-vn1-26861286
2026-02-12 16:23:48,939 - DEBUG - Response for deleting network ()
2026-02-12 16:23:49,196 - DEBUG - No XMPP flaps were noticed during the test
2026-02-12 16:23:49,196 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2026-02-12 16:23:49,196 - INFO - --------------------------------------------------------------------------------
2026-02-12 16:23:49,904 - INFO - Deleted project: ctest-TestPorts-32444114, ID : fec5d616-1381-4aa6-85ac-9b69f660192b