2026-09-23 16:12:02,995 - INFO - Domain Default found not creating
2026-09-23 16:12:03,213 - INFO - Project ctest-TestPorts-99981692 not found, creating it
2026-09-23 16:12:03,759 - INFO - Created Project:ctest-TestPorts-99981692, ID : 3302a10b-7a6d-42ce-8fc3-bb208a60e979
2026-09-23 16:12:05,814 - INFO - ================================================================================
2026-09-23 16:12:05,814 - INFO - STARTING TEST : test_ports_bindings
2026-09-23 16:12:05,814 - 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-09-23 16:12:06,098 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.25': '0'}} with
2026-09-23 16:12:06,098 - INFO - Initial checks done. Running the testcase now
2026-09-23 16:12:06,098 - INFO -
2026-09-23 16:12:06,892 - DEBUG - Response for create_network : {'network': {'id': '91ac840d-5b9f-436c-9d97-5a18adfab24e', 'name': 'ctest-vn-13827942', 'tenant_id': '3302a10b7a6d42ce8fc3bb208a60e979', 'project_id': '3302a10b7a6d42ce8fc3bb208a60e979', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99981692', 'ctest-vn-13827942'], 'port_security_enabled': True, 'description': ''}}
2026-09-23 16:12:07,166 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e90eaff1-9be8-4599-8d8c-bec149a4ad55', 'name': '', 'tenant_id': '3302a10b7a6d42ce8fc3bb208a60e979', 'network_id': '91ac840d-5b9f-436c-9d97-5a18adfab24e', 'ip_version': 4, 'cidr': '69.193.105.0/26', 'allocation_pools': [{'start': '69.193.105.2', 'end': '69.193.105.62'}], 'gateway_ip': '69.193.105.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.193.105.2', 'tags': [], 'project_id': '3302a10b7a6d42ce8fc3bb208a60e979'}}
2026-09-23 16:12:07,199 - INFO - Created VN ctest-vn-13827942
2026-09-23 16:12:07,258 - DEBUG - VN ctest-vn-13827942 UUID is 91ac840d-5b9f-436c-9d97-5a18adfab24e
2026-09-23 16:12:07,386 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-99981692', 'ctest-vmi-34658817']}
2026-09-23 16:12:07,760 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-34658817', 'id': '707d3796-7161-4002-9798-f6f9af4630da', 'tenant_id': '3302a10b7a6d42ce8fc3bb208a60e979', 'network_id': '91ac840d-5b9f-436c-9d97-5a18adfab24e', 'mac_address': '02:70:7d:37:96:71', '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': '69.193.105.3', 'subnet_id': 'e90eaff1-9be8-4599-8d8c-bec149a4ad55'}], 'security_groups': ['f701cdbf-8e4d-4164-b4df-f022bfc43d0d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '3302a10b7a6d42ce8fc3bb208a60e979'}}
2026-09-23 16:12:07,760 - DEBUG - Created port 707d3796-7161-4002-9798-f6f9af4630da
2026-09-23 16:12:07,886 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/707d3796-7161-4002-9798-f6f9af4630da
2026-09-23 16:12:08,297 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/707d3796-7161-4002-9798-f6f9af4630da
2026-09-23 16:12:08,345 - INFO - VMI 707d3796-7161-4002-9798-f6f9af4630da verification in API Server passed
2026-09-23 16:12:08,505 - DEBUG - Response for delete_port : ()
2026-09-23 16:12:08,506 - INFO - Deleted port 707d3796-7161-4002-9798-f6f9af4630da
2026-09-23 16:12:08,506 - INFO - Deleting VN ctest-vn-13827942
2026-09-23 16:12:08,680 - DEBUG - Response for deleting network ()
2026-09-23 16:12:08,964 - DEBUG - No XMPP flaps were noticed during the test
2026-09-23 16:12:08,965 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-09-23 16:12:08,965 - INFO - --------------------------------------------------------------------------------
2026-09-23 16:12:08,968 - INFO - ================================================================================
2026-09-23 16:12:08,969 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-09-23 16:12:08,969 - 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-09-23 16:12:09,273 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.25': '0'}} with
2026-09-23 16:12:09,273 - INFO - Initial checks done. Running the testcase now
2026-09-23 16:12:09,273 - INFO -
2026-09-23 16:12:09,578 - DEBUG - Response for create_network : {'network': {'id': '9370aa3d-f0a7-42ed-9365-88bb22bcb221', 'name': 'ctest-vn1-67356968', 'tenant_id': '3302a10b7a6d42ce8fc3bb208a60e979', 'project_id': '3302a10b7a6d42ce8fc3bb208a60e979', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99981692', 'ctest-vn1-67356968'], 'port_security_enabled': True, 'description': ''}}
2026-09-23 16:12:09,841 - DEBUG - Response for create_subnet : {'subnet': {'id': '38c56d1e-a577-473f-82bd-b04670465232', 'name': '', 'tenant_id': '3302a10b7a6d42ce8fc3bb208a60e979', 'network_id': '9370aa3d-f0a7-42ed-9365-88bb22bcb221', 'ip_version': 4, 'cidr': '208.122.2.192/26', 'allocation_pools': [{'start': '208.122.2.194', 'end': '208.122.2.254'}], 'gateway_ip': '208.122.2.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.122.2.194', 'tags': [], 'project_id': '3302a10b7a6d42ce8fc3bb208a60e979'}}
2026-09-23 16:12:10,097 - DEBUG - Response for create_subnet : {'subnet': {'id': '09ec3c6d-6c9d-454a-bf40-6df4009f186e', 'name': '', 'tenant_id': '3302a10b7a6d42ce8fc3bb208a60e979', 'network_id': '9370aa3d-f0a7-42ed-9365-88bb22bcb221', 'ip_version': 4, 'cidr': '79.123.19.0/26', 'allocation_pools': [{'start': '79.123.19.2', 'end': '79.123.19.62'}], 'gateway_ip': '79.123.19.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.123.19.2', 'tags': [], 'project_id': '3302a10b7a6d42ce8fc3bb208a60e979'}}
2026-09-23 16:12:10,123 - INFO - Created VN ctest-vn1-67356968
2026-09-23 16:12:10,186 - DEBUG - VN ctest-vn1-67356968 UUID is 9370aa3d-f0a7-42ed-9365-88bb22bcb221
2026-09-23 16:12:10,609 - DEBUG - Response for create_port : {'port': {'name': '8c6de25b-0b32-4d74-9ab0-f58e2277f74f', 'id': '8c6de25b-0b32-4d74-9ab0-f58e2277f74f', 'tenant_id': '3302a10b7a6d42ce8fc3bb208a60e979', 'network_id': '9370aa3d-f0a7-42ed-9365-88bb22bcb221', 'mac_address': '02:8c:6d:e2:5b:0b', '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': '208.122.2.197', 'subnet_id': '38c56d1e-a577-473f-82bd-b04670465232'}], 'security_groups': ['f701cdbf-8e4d-4164-b4df-f022bfc43d0d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '3302a10b7a6d42ce8fc3bb208a60e979'}}
2026-09-23 16:12:10,881 - DEBUG - Response for create_port : {'port': {'name': 'c9903dd2-938f-4cbc-a1df-435bf4564aff', 'id': 'c9903dd2-938f-4cbc-a1df-435bf4564aff', 'tenant_id': '3302a10b7a6d42ce8fc3bb208a60e979', 'network_id': '9370aa3d-f0a7-42ed-9365-88bb22bcb221', 'mac_address': '02:c9:90:3d:d2:93', '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': '79.123.19.5', 'subnet_id': '09ec3c6d-6c9d-454a-bf40-6df4009f186e'}], 'security_groups': ['f701cdbf-8e4d-4164-b4df-f022bfc43d0d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '3302a10b7a6d42ce8fc3bb208a60e979'}}
2026-09-23 16:12:10,975 - DEBUG - Services list from nova: [, , ]
2026-09-23 16:12:11,485 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6321-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6321-1)
2026-09-23 16:12:12,112 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6321-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6321-1)
2026-09-23 16:12:12,112 - INFO - Waiting for VM ctest-vn1-vm1-96221999 to be up..
2026-09-23 16:12:12,177 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-23 16:12:17,290 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-23 16:12:22,425 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-23 16:12:27,538 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-23 16:12:32,654 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-23 16:12:37,769 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-23 16:12:42,885 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-23 16:12:48,004 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-23 16:12:53,120 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-23 16:12:58,244 - DEBUG - VM is in ACTIVE state now
2026-09-23 16:12:58,244 - INFO - VM name : ctest-vn1-vm1-96221999
2026-09-23 16:12:58,365 - DEBUG - VM ctest-vn1-vm1-96221999 ID is ec5422a9-94fa-41f8-aa75-ba15f5bf89cd
2026-09-23 16:12:58,400 - DEBUG - VM ctest-vn1-vm1-96221999 launched on Node cn-jenkins-deploy-platform-ansible-os-6321-1
2026-09-23 16:12:58,551 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/ec5422a9-94fa-41f8-aa75-ba15f5bf89cd
2026-09-23 16:12:58,565 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/8c6de25b-0b32-4d74-9ab0-f58e2277f74f
2026-09-23 16:13:01,854 - 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-09-23 16:13:01,854 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-96221999 failed!
2026-09-23 16:13:01,914 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99981692:ctest-vn1-67356968 is 208.122.2.193 and allocation pool is NOT set
2026-09-23 16:13:01,914 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99981692:ctest-vn1-67356968 is 79.123.19.1 and allocation pool is NOT set
2026-09-23 16:13:06,013 - 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=2 ttl=63 time=5.79 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1030ms\r\nrtt min/avg/max/mdev = 5.790/5.790/5.790/0.000 ms')
2026-09-23 16:13:06,014 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-96221999 passed
2026-09-23 16:13:06,174 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-23 16:13:06,174 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-96221999, IP 208.122.2.197, Port 22
2026-09-23 16:13:06,241 - 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-09-23 16:13:06,359 - DEBUG - VM ctest-vn1-vm1-96221999 is NOT ready for SSH connections, VM status: ACTIVE
2026-09-23 16:13:11,360 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-23 16:13:11,360 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-96221999, IP 208.122.2.197, Port 22
2026-09-23 16:13:11,540 - DEBUG - VM ctest-vn1-vm1-96221999 is ready for SSH connections
2026-09-23 16:13:11,540 - INFO - Waiting for VM ctest-vn1-vm2-63804224 to be up..
2026-09-23 16:13:11,651 - DEBUG - VM is in ACTIVE state now
2026-09-23 16:13:11,652 - INFO - VM name : ctest-vn1-vm2-63804224
2026-09-23 16:13:11,749 - DEBUG - VM ctest-vn1-vm2-63804224 ID is 87fce554-2e9b-4656-9f69-43f13190e37a
2026-09-23 16:13:11,749 - DEBUG - VM ctest-vn1-vm2-63804224 launched on Node cn-jenkins-deploy-platform-ansible-os-6321-1
2026-09-23 16:13:11,860 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/87fce554-2e9b-4656-9f69-43f13190e37a
2026-09-23 16:13:11,873 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/c9903dd2-938f-4cbc-a1df-435bf4564aff
2026-09-23 16:13:13,142 - 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=5.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.668 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.668/3.132/5.597/2.464 ms')
2026-09-23 16:13:13,142 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-63804224 passed
2026-09-23 16:13:13,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-23 16:13:13,310 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-63804224, IP 79.123.19.5, Port 22
2026-09-23 16:13:13,489 - DEBUG - VM ctest-vn1-vm2-63804224 is ready for SSH connections
2026-09-23 16:13:13,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-23 16:13:13,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-23 16:13:13,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-23 16:13:13,489 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.122.2.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123
2026-09-23 16:13:13,489 - DEBUG - ping -s 56 -c 3 -W 1 208.122.2.197
2026-09-23 16:13:16,859 - DEBUG - PING 208.122.2.197 (208.122.2.197): 56 data bytes
64 bytes from 208.122.2.197: seq=0 ttl=63 time=8.014 ms
64 bytes from 208.122.2.197: seq=1 ttl=63 time=1.772 ms
64 bytes from 208.122.2.197: seq=2 ttl=63 time=1.411 ms
--- 208.122.2.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.411/3.732/8.014 ms
2026-09-23 16:13:16,859 - INFO - Ping to IP 208.122.2.197 from VM ctest-vn1-vm2-63804224 passed
2026-09-23 16:13:16,859 - INFO - Detaching port c9903dd2-938f-4cbc-a1df-435bf4564aff from VM ctest-vn1-vm2-63804224
2026-09-23 16:13:16,940 - INFO - Deleting VM ctest-vn1-vm2-63804224
2026-09-23 16:13:17,053 - INFO - Detaching port 8c6de25b-0b32-4d74-9ab0-f58e2277f74f from VM ctest-vn1-vm1-96221999
2026-09-23 16:13:17,105 - INFO - Deleting VM ctest-vn1-vm1-96221999
2026-09-23 16:13:17,453 - DEBUG - Response for delete_port : ()
2026-09-23 16:13:17,719 - DEBUG - Response for delete_port : ()
2026-09-23 16:13:17,719 - INFO - Deleting VN ctest-vn1-67356968
2026-09-23 16:13:17,971 - DEBUG - Response for deleting network ()
2026-09-23 16:13:18,261 - DEBUG - No XMPP flaps were noticed during the test
2026-09-23 16:13:18,261 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:01:10]
2026-09-23 16:13:18,261 - INFO - --------------------------------------------------------------------------------
2026-09-23 16:13:19,150 - INFO - Deleted project: ctest-TestPorts-99981692, ID : 3302a10b-7a6d-42ce-8fc3-bb208a60e979