2026-02-09 20:32:00,106 - INFO - Domain Default found not creating
2026-02-09 20:32:00,260 - INFO - Project ctest-TestPorts-13383316 not found, creating it
2026-02-09 20:32:00,697 - INFO - Created Project:ctest-TestPorts-13383316, ID : 2b954a62-80bf-43cc-a5d5-c5d6f32a9714
2026-02-09 20:32:02,105 - INFO - ================================================================================
2026-02-09 20:32:02,105 - INFO - STARTING TEST : test_ports_bindings
2026-02-09 20:32:02,105 - 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-09 20:32:02,358 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.254': '0'}} with
2026-02-09 20:32:02,358 - INFO - Initial checks done. Running the testcase now
2026-02-09 20:32:02,358 - INFO -
2026-02-09 20:32:02,983 - DEBUG - Response for create_network : {'network': {'id': '6b08941f-16a1-4bc6-b157-569394d2f7e5', 'name': 'ctest-vn-11611851', 'tenant_id': '2b954a6280bf43cca5d5c5d6f32a9714', 'project_id': '2b954a6280bf43cca5d5c5d6f32a9714', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-13383316', 'ctest-vn-11611851'], 'port_security_enabled': True, 'description': ''}}
2026-02-09 20:32:03,170 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6e06214-62e3-455e-bd13-fb2fd66f78ab', 'name': '', 'tenant_id': '2b954a6280bf43cca5d5c5d6f32a9714', 'network_id': '6b08941f-16a1-4bc6-b157-569394d2f7e5', 'ip_version': 4, 'cidr': '78.136.94.128/26', 'allocation_pools': [{'start': '78.136.94.130', 'end': '78.136.94.190'}], 'gateway_ip': '78.136.94.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.136.94.130', 'tags': [], 'project_id': '2b954a6280bf43cca5d5c5d6f32a9714'}}
2026-02-09 20:32:03,186 - INFO - Created VN ctest-vn-11611851
2026-02-09 20:32:03,237 - DEBUG - VN ctest-vn-11611851 UUID is 6b08941f-16a1-4bc6-b157-569394d2f7e5
2026-02-09 20:32:03,332 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-13383316', 'ctest-vmi-00315394']}
2026-02-09 20:32:03,593 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-00315394', 'id': '6568f1e2-7ad2-4c3c-a759-4878e0fca3d6', 'tenant_id': '2b954a6280bf43cca5d5c5d6f32a9714', 'network_id': '6b08941f-16a1-4bc6-b157-569394d2f7e5', 'mac_address': '02:65:68:f1:e2:7a', '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': '78.136.94.131', 'subnet_id': 'f6e06214-62e3-455e-bd13-fb2fd66f78ab'}], 'security_groups': ['b62ab396-cf50-46e6-b730-f13867ec9b0a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2b954a6280bf43cca5d5c5d6f32a9714'}}
2026-02-09 20:32:03,593 - DEBUG - Created port 6568f1e2-7ad2-4c3c-a759-4878e0fca3d6
2026-02-09 20:32:03,693 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/6568f1e2-7ad2-4c3c-a759-4878e0fca3d6
2026-02-09 20:32:03,982 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/6568f1e2-7ad2-4c3c-a759-4878e0fca3d6
2026-02-09 20:32:04,012 - INFO - VMI 6568f1e2-7ad2-4c3c-a759-4878e0fca3d6 verification in API Server passed
2026-02-09 20:32:04,090 - DEBUG - Response for delete_port : ()
2026-02-09 20:32:04,091 - INFO - Deleted port 6568f1e2-7ad2-4c3c-a759-4878e0fca3d6
2026-02-09 20:32:04,091 - INFO - Deleting VN ctest-vn-11611851
2026-02-09 20:32:04,176 - DEBUG - Response for deleting network ()
2026-02-09 20:32:04,429 - DEBUG - No XMPP flaps were noticed during the test
2026-02-09 20:32:04,429 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-02-09 20:32:04,429 - INFO - --------------------------------------------------------------------------------
2026-02-09 20:32:04,431 - INFO - ================================================================================
2026-02-09 20:32:04,431 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-02-09 20:32:04,431 - 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-09 20:32:04,718 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.254': '0'}} with
2026-02-09 20:32:04,718 - INFO - Initial checks done. Running the testcase now
2026-02-09 20:32:04,718 - INFO -
2026-02-09 20:32:04,876 - DEBUG - Response for create_network : {'network': {'id': 'a673835d-0da5-4b2f-b05c-db2493f01f97', 'name': 'ctest-vn1-16611870', 'tenant_id': '2b954a6280bf43cca5d5c5d6f32a9714', 'project_id': '2b954a6280bf43cca5d5c5d6f32a9714', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-13383316', 'ctest-vn1-16611870'], 'port_security_enabled': True, 'description': ''}}
2026-02-09 20:32:05,058 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a21dbc36-9204-47c8-8690-149beec59e5c', 'name': '', 'tenant_id': '2b954a6280bf43cca5d5c5d6f32a9714', 'network_id': 'a673835d-0da5-4b2f-b05c-db2493f01f97', 'ip_version': 4, 'cidr': '17.174.86.128/26', 'allocation_pools': [{'start': '17.174.86.130', 'end': '17.174.86.190'}], 'gateway_ip': '17.174.86.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.174.86.130', 'tags': [], 'project_id': '2b954a6280bf43cca5d5c5d6f32a9714'}}
2026-02-09 20:32:05,199 - DEBUG - Response for create_subnet : {'subnet': {'id': '031981bf-8b8f-456b-b9db-bcbc3ba8769d', 'name': '', 'tenant_id': '2b954a6280bf43cca5d5c5d6f32a9714', 'network_id': 'a673835d-0da5-4b2f-b05c-db2493f01f97', 'ip_version': 4, 'cidr': '177.48.197.0/26', 'allocation_pools': [{'start': '177.48.197.2', 'end': '177.48.197.62'}], 'gateway_ip': '177.48.197.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.48.197.2', 'tags': [], 'project_id': '2b954a6280bf43cca5d5c5d6f32a9714'}}
2026-02-09 20:32:05,215 - INFO - Created VN ctest-vn1-16611870
2026-02-09 20:32:05,265 - DEBUG - VN ctest-vn1-16611870 UUID is a673835d-0da5-4b2f-b05c-db2493f01f97
2026-02-09 20:32:05,553 - DEBUG - Response for create_port : {'port': {'name': '3ca3c352-81c6-47e7-b2bd-c8b23a0129bd', 'id': '3ca3c352-81c6-47e7-b2bd-c8b23a0129bd', 'tenant_id': '2b954a6280bf43cca5d5c5d6f32a9714', 'network_id': 'a673835d-0da5-4b2f-b05c-db2493f01f97', 'mac_address': '02:3c:a3:c3:52:81', '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': '17.174.86.133', 'subnet_id': 'a21dbc36-9204-47c8-8690-149beec59e5c'}], 'security_groups': ['b62ab396-cf50-46e6-b730-f13867ec9b0a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2b954a6280bf43cca5d5c5d6f32a9714'}}
2026-02-09 20:32:05,712 - DEBUG - Response for create_port : {'port': {'name': 'f0efa68b-858d-4e58-8cf4-b887b6363c45', 'id': 'f0efa68b-858d-4e58-8cf4-b887b6363c45', 'tenant_id': '2b954a6280bf43cca5d5c5d6f32a9714', 'network_id': 'a673835d-0da5-4b2f-b05c-db2493f01f97', 'mac_address': '02:f0:ef:a6:8b:85', '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.48.197.5', 'subnet_id': '031981bf-8b8f-456b-b9db-bcbc3ba8769d'}], 'security_groups': ['b62ab396-cf50-46e6-b730-f13867ec9b0a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2b954a6280bf43cca5d5c5d6f32a9714'}}
2026-02-09 20:32:05,759 - DEBUG - Services list from nova: [, , ]
2026-02-09 20:32:06,049 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5249-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5249-1)
2026-02-09 20:32:06,386 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5249-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5249-1)
2026-02-09 20:32:06,386 - INFO - Waiting for VM ctest-vn1-vm1-87044753 to be up..
2026-02-09 20:32:06,420 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-09 20:32:11,486 - DEBUG - VM is in ACTIVE state now
2026-02-09 20:32:11,487 - INFO - VM name : ctest-vn1-vm1-87044753
2026-02-09 20:32:11,551 - DEBUG - VM ctest-vn1-vm1-87044753 ID is 17ecce56-61d6-42e0-b8c3-ed7204ff3e0b
2026-02-09 20:32:11,568 - DEBUG - VM ctest-vn1-vm1-87044753 launched on Node cn-jenkins-deploy-platform-ansible-os-5249-1
2026-02-09 20:32:11,749 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/17ecce56-61d6-42e0-b8c3-ed7204ff3e0b
2026-02-09 20:32:11,756 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/3ca3c352-81c6-47e7-b2bd-c8b23a0129bd
2026-02-09 20:32:15,001 - 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 1020ms')
2026-02-09 20:32:15,001 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-87044753 failed!
2026-02-09 20:32:15,053 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-13383316:ctest-vn1-16611870 is 17.174.86.129 and allocation pool is NOT set
2026-02-09 20:32:15,053 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-13383316:ctest-vn1-16611870 is 177.48.197.1 and allocation pool is NOT set
2026-02-09 20:32:17,116 - 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=3.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.18 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 = 1.177/2.538/3.900/1.361 ms')
2026-02-09 20:32:17,117 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-87044753 passed
2026-02-09 20:32:17,265 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-09 20:32:17,265 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-87044753, IP 17.174.86.133, Port 22
2026-02-09 20:32:17,320 - 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-09 20:32:17,388 - DEBUG - VM ctest-vn1-vm1-87044753 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-09 20:32:22,390 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-09 20:32:22,390 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-87044753, IP 17.174.86.133, Port 22
2026-02-09 20:32:22,540 - DEBUG - VM ctest-vn1-vm1-87044753 is ready for SSH connections
2026-02-09 20:32:22,540 - INFO - Waiting for VM ctest-vn1-vm2-07175517 to be up..
2026-02-09 20:32:22,607 - DEBUG - VM is in ACTIVE state now
2026-02-09 20:32:22,608 - INFO - VM name : ctest-vn1-vm2-07175517
2026-02-09 20:32:22,672 - DEBUG - VM ctest-vn1-vm2-07175517 ID is 753a3aad-0a17-4ec7-927c-3233d42aaaaa
2026-02-09 20:32:22,672 - DEBUG - VM ctest-vn1-vm2-07175517 launched on Node cn-jenkins-deploy-platform-ansible-os-5249-1
2026-02-09 20:32:22,738 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/753a3aad-0a17-4ec7-927c-3233d42aaaaa
2026-02-09 20:32:22,745 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/f0efa68b-858d-4e58-8cf4-b887b6363c45
2026-02-09 20:32:23,981 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.341 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.341/1.502/2.664/1.161 ms')
2026-02-09 20:32:23,981 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-07175517 passed
2026-02-09 20:32:24,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-09 20:32:24,133 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-07175517, IP 177.48.197.5, Port 22
2026-02-09 20:32:24,286 - DEBUG - VM ctest-vn1-vm2-07175517 is ready for SSH connections
2026-02-09 20:32:24,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-09 20:32:24,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-09 20:32:24,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-09 20:32:24,286 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.174.86.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123
2026-02-09 20:32:24,286 - DEBUG - ping -s 56 -c 3 -W 1 17.174.86.133
2026-02-09 20:32:27,262 - DEBUG - PING 17.174.86.133 (17.174.86.133): 56 data bytes
64 bytes from 17.174.86.133: seq=0 ttl=63 time=4.484 ms
64 bytes from 17.174.86.133: seq=1 ttl=63 time=0.913 ms
64 bytes from 17.174.86.133: seq=2 ttl=63 time=0.852 ms
--- 17.174.86.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.852/2.083/4.484 ms
2026-02-09 20:32:27,262 - INFO - Ping to IP 17.174.86.133 from VM ctest-vn1-vm2-07175517 passed
2026-02-09 20:32:27,262 - INFO - Detaching port f0efa68b-858d-4e58-8cf4-b887b6363c45 from VM ctest-vn1-vm2-07175517
2026-02-09 20:32:27,308 - INFO - Deleting VM ctest-vn1-vm2-07175517
2026-02-09 20:32:27,380 - INFO - Detaching port 3ca3c352-81c6-47e7-b2bd-c8b23a0129bd from VM ctest-vn1-vm1-87044753
2026-02-09 20:32:27,419 - INFO - Deleting VM ctest-vn1-vm1-87044753
2026-02-09 20:32:27,624 - DEBUG - Response for delete_port : ()
2026-02-09 20:32:27,756 - DEBUG - Response for delete_port : ()
2026-02-09 20:32:27,756 - INFO - Deleting VN ctest-vn1-16611870
2026-02-09 20:32:27,875 - DEBUG - Response for deleting network ()
2026-02-09 20:32:28,129 - DEBUG - No XMPP flaps were noticed during the test
2026-02-09 20:32:28,129 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-02-09 20:32:28,130 - INFO - --------------------------------------------------------------------------------
2026-02-09 20:32:28,800 - INFO - Deleted project: ctest-TestPorts-13383316, ID : 2b954a62-80bf-43cc-a5d5-c5d6f32a9714