2026-02-16 02:03:02,945 - INFO - Domain Default found not creating
2026-02-16 02:03:03,095 - INFO - Project ctest-TestPorts-87706122 not found, creating it
2026-02-16 02:03:03,531 - INFO - Created Project:ctest-TestPorts-87706122, ID : d073ccd7-fe18-43a2-a4b4-30b68eb36b1c
2026-02-16 02:03:05,001 - INFO - ================================================================================
2026-02-16 02:03:05,001 - INFO - STARTING TEST : test_ports_bindings
2026-02-16 02:03:05,001 - 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-16 02:03:05,260 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.252': '0'}} with
2026-02-16 02:03:05,260 - INFO - Initial checks done. Running the testcase now
2026-02-16 02:03:05,260 - INFO -
2026-02-16 02:03:05,782 - DEBUG - Response for create_network : {'network': {'id': 'b88ce53a-7d3a-457b-8325-405c8171e09a', 'name': 'ctest-vn-33218705', 'tenant_id': 'd073ccd7fe1843a2a4b430b68eb36b1c', 'project_id': 'd073ccd7fe1843a2a4b430b68eb36b1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-87706122', 'ctest-vn-33218705'], 'port_security_enabled': True, 'description': ''}}
2026-02-16 02:03:05,950 - DEBUG - Response for create_subnet : {'subnet': {'id': '15a5ec68-ab00-44a2-82d4-ce1767dfc0bb', 'name': '', 'tenant_id': 'd073ccd7fe1843a2a4b430b68eb36b1c', 'network_id': 'b88ce53a-7d3a-457b-8325-405c8171e09a', 'ip_version': 4, 'cidr': '177.107.26.128/26', 'allocation_pools': [{'start': '177.107.26.130', 'end': '177.107.26.190'}], 'gateway_ip': '177.107.26.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.107.26.130', 'tags': [], 'project_id': 'd073ccd7fe1843a2a4b430b68eb36b1c'}}
2026-02-16 02:03:05,965 - INFO - Created VN ctest-vn-33218705
2026-02-16 02:03:06,016 - DEBUG - VN ctest-vn-33218705 UUID is b88ce53a-7d3a-457b-8325-405c8171e09a
2026-02-16 02:03:06,114 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-87706122', 'ctest-vmi-58630679']}
2026-02-16 02:03:06,379 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-58630679', 'id': 'fa1b056c-f6dc-4488-bfc8-96060d082074', 'tenant_id': 'd073ccd7fe1843a2a4b430b68eb36b1c', 'network_id': 'b88ce53a-7d3a-457b-8325-405c8171e09a', 'mac_address': '02:fa:1b:05:6c:f6', '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': '177.107.26.131', 'subnet_id': '15a5ec68-ab00-44a2-82d4-ce1767dfc0bb'}], 'security_groups': ['34aa0995-51c0-4270-a7e0-f3f0e5aa7c55'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd073ccd7fe1843a2a4b430b68eb36b1c'}}
2026-02-16 02:03:06,379 - DEBUG - Created port fa1b056c-f6dc-4488-bfc8-96060d082074
2026-02-16 02:03:06,480 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/fa1b056c-f6dc-4488-bfc8-96060d082074
2026-02-16 02:03:06,771 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/fa1b056c-f6dc-4488-bfc8-96060d082074
2026-02-16 02:03:06,801 - INFO - VMI fa1b056c-f6dc-4488-bfc8-96060d082074 verification in API Server passed
2026-02-16 02:03:06,899 - DEBUG - Response for delete_port : ()
2026-02-16 02:03:06,899 - INFO - Deleted port fa1b056c-f6dc-4488-bfc8-96060d082074
2026-02-16 02:03:06,900 - INFO - Deleting VN ctest-vn-33218705
2026-02-16 02:03:06,997 - DEBUG - Response for deleting network ()
2026-02-16 02:03:07,252 - DEBUG - No XMPP flaps were noticed during the test
2026-02-16 02:03:07,252 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-02-16 02:03:07,252 - INFO - --------------------------------------------------------------------------------
2026-02-16 02:03:07,254 - INFO - ================================================================================
2026-02-16 02:03:07,254 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-02-16 02:03:07,254 - 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-16 02:03:07,540 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.252': '0'}} with
2026-02-16 02:03:07,540 - INFO - Initial checks done. Running the testcase now
2026-02-16 02:03:07,540 - INFO -
2026-02-16 02:03:07,693 - DEBUG - Response for create_network : {'network': {'id': '6156642f-4b1b-411b-bb3a-f0e8da3c2631', 'name': 'ctest-vn1-24421357', 'tenant_id': 'd073ccd7fe1843a2a4b430b68eb36b1c', 'project_id': 'd073ccd7fe1843a2a4b430b68eb36b1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-87706122', 'ctest-vn1-24421357'], 'port_security_enabled': True, 'description': ''}}
2026-02-16 02:03:07,855 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0a60745-a25d-416d-82c4-82dd1da1c72d', 'name': '', 'tenant_id': 'd073ccd7fe1843a2a4b430b68eb36b1c', 'network_id': '6156642f-4b1b-411b-bb3a-f0e8da3c2631', 'ip_version': 4, 'cidr': '212.148.60.192/26', 'allocation_pools': [{'start': '212.148.60.194', 'end': '212.148.60.254'}], 'gateway_ip': '212.148.60.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.148.60.194', 'tags': [], 'project_id': 'd073ccd7fe1843a2a4b430b68eb36b1c'}}
2026-02-16 02:03:07,994 - DEBUG - Response for create_subnet : {'subnet': {'id': '98d6d3bc-049c-4b4f-aa79-d5d313813811', 'name': '', 'tenant_id': 'd073ccd7fe1843a2a4b430b68eb36b1c', 'network_id': '6156642f-4b1b-411b-bb3a-f0e8da3c2631', 'ip_version': 4, 'cidr': '95.37.40.192/26', 'allocation_pools': [{'start': '95.37.40.194', 'end': '95.37.40.254'}], 'gateway_ip': '95.37.40.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.37.40.194', 'tags': [], 'project_id': 'd073ccd7fe1843a2a4b430b68eb36b1c'}}
2026-02-16 02:03:08,010 - INFO - Created VN ctest-vn1-24421357
2026-02-16 02:03:08,060 - DEBUG - VN ctest-vn1-24421357 UUID is 6156642f-4b1b-411b-bb3a-f0e8da3c2631
2026-02-16 02:03:08,348 - DEBUG - Response for create_port : {'port': {'name': 'd5f74857-d89b-4c4a-98cf-34f66bd6450d', 'id': 'd5f74857-d89b-4c4a-98cf-34f66bd6450d', 'tenant_id': 'd073ccd7fe1843a2a4b430b68eb36b1c', 'network_id': '6156642f-4b1b-411b-bb3a-f0e8da3c2631', 'mac_address': '02:d5:f7:48:57:d8', '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': '212.148.60.197', 'subnet_id': 'b0a60745-a25d-416d-82c4-82dd1da1c72d'}], 'security_groups': ['34aa0995-51c0-4270-a7e0-f3f0e5aa7c55'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd073ccd7fe1843a2a4b430b68eb36b1c'}}
2026-02-16 02:03:08,507 - DEBUG - Response for create_port : {'port': {'name': 'df39b93a-9213-45b9-8674-7757151f5c41', 'id': 'df39b93a-9213-45b9-8674-7757151f5c41', 'tenant_id': 'd073ccd7fe1843a2a4b430b68eb36b1c', 'network_id': '6156642f-4b1b-411b-bb3a-f0e8da3c2631', 'mac_address': '02:df:39:b9:3a:92', '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': '95.37.40.197', 'subnet_id': '98d6d3bc-049c-4b4f-aa79-d5d313813811'}], 'security_groups': ['34aa0995-51c0-4270-a7e0-f3f0e5aa7c55'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd073ccd7fe1843a2a4b430b68eb36b1c'}}
2026-02-16 02:03:08,560 - DEBUG - Services list from nova: [, , ]
2026-02-16 02:03:08,871 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5326-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5326-1)
2026-02-16 02:03:09,236 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5326-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5326-1)
2026-02-16 02:03:09,237 - INFO - Waiting for VM ctest-vn1-vm1-81172206 to be up..
2026-02-16 02:03:09,403 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-16 02:03:14,473 - DEBUG - VM is in ACTIVE state now
2026-02-16 02:03:14,473 - INFO - VM name : ctest-vn1-vm1-81172206
2026-02-16 02:03:14,556 - DEBUG - VM ctest-vn1-vm1-81172206 ID is 3efe41d4-d839-44c3-9ceb-a7505b70dc6a
2026-02-16 02:03:14,576 - DEBUG - VM ctest-vn1-vm1-81172206 launched on Node cn-jenkins-deploy-platform-ansible-os-5326-1
2026-02-16 02:03:14,655 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/3efe41d4-d839-44c3-9ceb-a7505b70dc6a
2026-02-16 02:03:14,664 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/d5f74857-d89b-4c4a-98cf-34f66bd6450d
2026-02-16 02:03:17,927 - 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 1032ms')
2026-02-16 02:03:17,927 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81172206 failed!
2026-02-16 02:03:17,981 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-87706122:ctest-vn1-24421357 is 212.148.60.193 and allocation pool is NOT set
2026-02-16 02:03:17,981 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-87706122:ctest-vn1-24421357 is 95.37.40.193 and allocation pool is NOT set
2026-02-16 02:03:20,047 - 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=4.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.89 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 = 1.885/3.150/4.416/1.265 ms')
2026-02-16 02:03:20,047 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81172206 passed
2026-02-16 02:03:20,196 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-16 02:03:20,196 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-81172206, IP 212.148.60.197, Port 22
2026-02-16 02:03:20,262 - 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-16 02:03:20,337 - DEBUG - VM ctest-vn1-vm1-81172206 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-16 02:03:25,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-16 02:03:25,337 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-81172206, IP 212.148.60.197, Port 22
2026-02-16 02:03:25,492 - DEBUG - VM ctest-vn1-vm1-81172206 is ready for SSH connections
2026-02-16 02:03:25,492 - INFO - Waiting for VM ctest-vn1-vm2-45610069 to be up..
2026-02-16 02:03:25,557 - DEBUG - VM is in ACTIVE state now
2026-02-16 02:03:25,558 - INFO - VM name : ctest-vn1-vm2-45610069
2026-02-16 02:03:25,625 - DEBUG - VM ctest-vn1-vm2-45610069 ID is cbf79306-7298-4aa5-9202-d7038c526af8
2026-02-16 02:03:25,625 - DEBUG - VM ctest-vn1-vm2-45610069 launched on Node cn-jenkins-deploy-platform-ansible-os-5326-1
2026-02-16 02:03:25,697 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/cbf79306-7298-4aa5-9202-d7038c526af8
2026-02-16 02:03:25,705 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/df39b93a-9213-45b9-8674-7757151f5c41
2026-02-16 02:03:26,941 - 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=2.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.380 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.380/1.475/2.571/1.095 ms')
2026-02-16 02:03:26,941 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-45610069 passed
2026-02-16 02:03:27,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-16 02:03:27,088 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-45610069, IP 95.37.40.197, Port 22
2026-02-16 02:03:27,248 - DEBUG - VM ctest-vn1-vm2-45610069 is ready for SSH connections
2026-02-16 02:03:27,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-16 02:03:27,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-16 02:03:27,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-16 02:03:27,248 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.148.60.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2026-02-16 02:03:27,248 - DEBUG - ping -s 56 -c 3 -W 1 212.148.60.197
2026-02-16 02:03:30,174 - DEBUG - PING 212.148.60.197 (212.148.60.197): 56 data bytes
64 bytes from 212.148.60.197: seq=0 ttl=63 time=3.937 ms
64 bytes from 212.148.60.197: seq=1 ttl=63 time=0.927 ms
64 bytes from 212.148.60.197: seq=2 ttl=63 time=0.861 ms
--- 212.148.60.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.861/1.908/3.937 ms
2026-02-16 02:03:30,174 - INFO - Ping to IP 212.148.60.197 from VM ctest-vn1-vm2-45610069 passed
2026-02-16 02:03:30,174 - INFO - Detaching port df39b93a-9213-45b9-8674-7757151f5c41 from VM ctest-vn1-vm2-45610069
2026-02-16 02:03:30,221 - INFO - Deleting VM ctest-vn1-vm2-45610069
2026-02-16 02:03:30,283 - INFO - Detaching port d5f74857-d89b-4c4a-98cf-34f66bd6450d from VM ctest-vn1-vm1-81172206
2026-02-16 02:03:30,319 - INFO - Deleting VM ctest-vn1-vm1-81172206
2026-02-16 02:03:30,574 - DEBUG - Response for delete_port : ()
2026-02-16 02:03:30,751 - DEBUG - Response for delete_port : ()
2026-02-16 02:03:30,751 - INFO - Deleting VN ctest-vn1-24421357
2026-02-16 02:03:30,907 - DEBUG - Response for deleting network ()
2026-02-16 02:03:31,161 - DEBUG - No XMPP flaps were noticed during the test
2026-02-16 02:03:31,162 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-02-16 02:03:31,162 - INFO - --------------------------------------------------------------------------------
2026-02-16 02:03:31,826 - INFO - Deleted project: ctest-TestPorts-87706122, ID : d073ccd7-fe18-43a2-a4b4-30b68eb36b1c