2026-04-22 12:02:29,685 - INFO - Domain Default found not creating
2026-04-22 12:02:29,855 - INFO - Project ctest-TestPorts-99807940 not found, creating it
2026-04-22 12:02:30,332 - INFO - Created Project:ctest-TestPorts-99807940, ID : 409c83e9-875c-4e7a-b260-6ad96f46fad2
2026-04-22 12:02:31,935 - INFO - ================================================================================
2026-04-22 12:02:31,935 - INFO - STARTING TEST : test_ports_bindings
2026-04-22 12:02:31,935 - 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-04-22 12:02:32,194 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2026-04-22 12:02:32,194 - INFO - Initial checks done. Running the testcase now
2026-04-22 12:02:32,194 - INFO -
2026-04-22 12:02:32,745 - DEBUG - Response for create_network : {'network': {'id': 'c686258a-fab8-4824-8981-2ccc734801b9', 'name': 'ctest-vn-44441102', 'tenant_id': '409c83e9875c4e7ab2606ad96f46fad2', 'project_id': '409c83e9875c4e7ab2606ad96f46fad2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99807940', 'ctest-vn-44441102'], 'port_security_enabled': True, 'description': ''}}
2026-04-22 12:02:32,957 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b1bd0c1-8122-4cde-81c0-89834be5d8ce', 'name': '', 'tenant_id': '409c83e9875c4e7ab2606ad96f46fad2', 'network_id': 'c686258a-fab8-4824-8981-2ccc734801b9', 'ip_version': 4, 'cidr': '42.133.182.0/26', 'allocation_pools': [{'start': '42.133.182.2', 'end': '42.133.182.62'}], 'gateway_ip': '42.133.182.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.133.182.2', 'tags': [], 'project_id': '409c83e9875c4e7ab2606ad96f46fad2'}}
2026-04-22 12:02:32,979 - INFO - Created VN ctest-vn-44441102
2026-04-22 12:02:33,036 - DEBUG - VN ctest-vn-44441102 UUID is c686258a-fab8-4824-8981-2ccc734801b9
2026-04-22 12:02:33,161 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-99807940', 'ctest-vmi-49435517']}
2026-04-22 12:02:33,426 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-49435517', 'id': 'f19d6ed8-9d46-4347-8e24-5888312eae94', 'tenant_id': '409c83e9875c4e7ab2606ad96f46fad2', 'network_id': 'c686258a-fab8-4824-8981-2ccc734801b9', 'mac_address': '02:f1:9d:6e:d8: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': '42.133.182.3', 'subnet_id': '4b1bd0c1-8122-4cde-81c0-89834be5d8ce'}], 'security_groups': ['e6ae98bf-4c81-4062-be9e-22c3f2c6e4f2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '409c83e9875c4e7ab2606ad96f46fad2'}}
2026-04-22 12:02:33,426 - DEBUG - Created port f19d6ed8-9d46-4347-8e24-5888312eae94
2026-04-22 12:02:33,532 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f19d6ed8-9d46-4347-8e24-5888312eae94
2026-04-22 12:02:33,852 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f19d6ed8-9d46-4347-8e24-5888312eae94
2026-04-22 12:02:33,888 - INFO - VMI f19d6ed8-9d46-4347-8e24-5888312eae94 verification in API Server passed
2026-04-22 12:02:33,983 - DEBUG - Response for delete_port : ()
2026-04-22 12:02:33,983 - INFO - Deleted port f19d6ed8-9d46-4347-8e24-5888312eae94
2026-04-22 12:02:33,983 - INFO - Deleting VN ctest-vn-44441102
2026-04-22 12:02:34,086 - DEBUG - Response for deleting network ()
2026-04-22 12:02:34,340 - DEBUG - No XMPP flaps were noticed during the test
2026-04-22 12:02:34,340 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-04-22 12:02:34,340 - INFO - --------------------------------------------------------------------------------
2026-04-22 12:02:34,344 - INFO - ================================================================================
2026-04-22 12:02:34,344 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-04-22 12:02:34,344 - 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-04-22 12:02:34,632 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2026-04-22 12:02:34,632 - INFO - Initial checks done. Running the testcase now
2026-04-22 12:02:34,632 - INFO -
2026-04-22 12:02:34,801 - DEBUG - Response for create_network : {'network': {'id': '7832ee72-78c2-40a4-9171-b742c18f1f79', 'name': 'ctest-vn1-04717782', 'tenant_id': '409c83e9875c4e7ab2606ad96f46fad2', 'project_id': '409c83e9875c4e7ab2606ad96f46fad2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99807940', 'ctest-vn1-04717782'], 'port_security_enabled': True, 'description': ''}}
2026-04-22 12:02:35,011 - DEBUG - Response for create_subnet : {'subnet': {'id': '26cd9a78-1dba-49c1-a8d8-faea8cb3531f', 'name': '', 'tenant_id': '409c83e9875c4e7ab2606ad96f46fad2', 'network_id': '7832ee72-78c2-40a4-9171-b742c18f1f79', 'ip_version': 4, 'cidr': '166.141.83.64/26', 'allocation_pools': [{'start': '166.141.83.66', 'end': '166.141.83.126'}], 'gateway_ip': '166.141.83.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.141.83.66', 'tags': [], 'project_id': '409c83e9875c4e7ab2606ad96f46fad2'}}
2026-04-22 12:02:35,187 - DEBUG - Response for create_subnet : {'subnet': {'id': '171797f7-9ded-4cc1-afec-a1fe7dee1bff', 'name': '', 'tenant_id': '409c83e9875c4e7ab2606ad96f46fad2', 'network_id': '7832ee72-78c2-40a4-9171-b742c18f1f79', 'ip_version': 4, 'cidr': '168.184.191.128/26', 'allocation_pools': [{'start': '168.184.191.130', 'end': '168.184.191.190'}], 'gateway_ip': '168.184.191.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.184.191.130', 'tags': [], 'project_id': '409c83e9875c4e7ab2606ad96f46fad2'}}
2026-04-22 12:02:35,205 - INFO - Created VN ctest-vn1-04717782
2026-04-22 12:02:35,256 - DEBUG - VN ctest-vn1-04717782 UUID is 7832ee72-78c2-40a4-9171-b742c18f1f79
2026-04-22 12:02:35,550 - DEBUG - Response for create_port : {'port': {'name': 'a8e5bf3e-86e0-4e34-8d32-5915a40b52a5', 'id': 'a8e5bf3e-86e0-4e34-8d32-5915a40b52a5', 'tenant_id': '409c83e9875c4e7ab2606ad96f46fad2', 'network_id': '7832ee72-78c2-40a4-9171-b742c18f1f79', 'mac_address': '02:a8:e5:bf:3e:86', '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': '166.141.83.69', 'subnet_id': '26cd9a78-1dba-49c1-a8d8-faea8cb3531f'}], 'security_groups': ['e6ae98bf-4c81-4062-be9e-22c3f2c6e4f2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '409c83e9875c4e7ab2606ad96f46fad2'}}
2026-04-22 12:02:35,712 - DEBUG - Response for create_port : {'port': {'name': '07bad762-468b-4315-ade0-c3ab24cb1ca4', 'id': '07bad762-468b-4315-ade0-c3ab24cb1ca4', 'tenant_id': '409c83e9875c4e7ab2606ad96f46fad2', 'network_id': '7832ee72-78c2-40a4-9171-b742c18f1f79', 'mac_address': '02:07:ba:d7:62:46', '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.184.191.133', 'subnet_id': '171797f7-9ded-4cc1-afec-a1fe7dee1bff'}], 'security_groups': ['e6ae98bf-4c81-4062-be9e-22c3f2c6e4f2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '409c83e9875c4e7ab2606ad96f46fad2'}}
2026-04-22 12:02:35,774 - DEBUG - Services list from nova: [, , ]
2026-04-22 12:02:36,129 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5665-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5665-1)
2026-04-22 12:02:36,525 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5665-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5665-1)
2026-04-22 12:02:36,525 - INFO - Waiting for VM ctest-vn1-vm1-67609050 to be up..
2026-04-22 12:02:36,572 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-22 12:02:41,657 - DEBUG - VM is in ACTIVE state now
2026-04-22 12:02:41,657 - INFO - VM name : ctest-vn1-vm1-67609050
2026-04-22 12:02:41,738 - DEBUG - VM ctest-vn1-vm1-67609050 ID is 02576c75-7037-49e4-bf70-b2402e2e9ef1
2026-04-22 12:02:41,758 - DEBUG - VM ctest-vn1-vm1-67609050 launched on Node cn-jenkins-deploy-platform-ansible-os-5665-1
2026-04-22 12:02:41,830 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/02576c75-7037-49e4-bf70-b2402e2e9ef1
2026-04-22 12:02:41,841 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/a8e5bf3e-86e0-4e34-8d32-5915a40b52a5
2026-04-22 12:02:45,081 - 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 1003ms')
2026-04-22 12:02:45,081 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67609050 failed!
2026-04-22 12:02:45,140 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99807940:ctest-vn1-04717782 is 166.141.83.65 and allocation pool is NOT set
2026-04-22 12:02:45,140 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99807940:ctest-vn1-04717782 is 168.184.191.129 and allocation pool is NOT set
2026-04-22 12:02:47,197 - 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=8.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.36 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.362/5.655/8.948/3.293 ms')
2026-04-22 12:02:47,197 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67609050 passed
2026-04-22 12:02:47,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-22 12:02:47,352 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-67609050, IP 166.141.83.69, Port 22
2026-04-22 12:02:47,418 - 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-04-22 12:02:47,507 - DEBUG - VM ctest-vn1-vm1-67609050 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-22 12:02:52,508 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-22 12:02:52,508 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-67609050, IP 166.141.83.69, Port 22
2026-04-22 12:02:52,671 - DEBUG - VM ctest-vn1-vm1-67609050 is ready for SSH connections
2026-04-22 12:02:52,671 - INFO - Waiting for VM ctest-vn1-vm2-40663181 to be up..
2026-04-22 12:02:52,750 - DEBUG - VM is in ACTIVE state now
2026-04-22 12:02:52,750 - INFO - VM name : ctest-vn1-vm2-40663181
2026-04-22 12:02:52,832 - DEBUG - VM ctest-vn1-vm2-40663181 ID is 064f86b0-054c-48e9-85f4-1b301f67f249
2026-04-22 12:02:52,832 - DEBUG - VM ctest-vn1-vm2-40663181 launched on Node cn-jenkins-deploy-platform-ansible-os-5665-1
2026-04-22 12:02:52,915 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/064f86b0-054c-48e9-85f4-1b301f67f249
2026-04-22 12:02:52,923 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/07bad762-468b-4315-ade0-c3ab24cb1ca4
2026-04-22 12:02:54,161 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.474 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.474/1.702/2.930/1.228 ms')
2026-04-22 12:02:54,161 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-40663181 passed
2026-04-22 12:02:54,312 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-22 12:02:54,312 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-40663181, IP 168.184.191.133, Port 22
2026-04-22 12:02:54,478 - DEBUG - VM ctest-vn1-vm2-40663181 is ready for SSH connections
2026-04-22 12:02:54,478 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-22 12:02:54,478 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-22 12:02:54,478 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-22 12:02:54,478 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.141.83.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2026-04-22 12:02:54,479 - DEBUG - ping -s 56 -c 3 -W 1 166.141.83.69
2026-04-22 12:02:57,157 - DEBUG - PING 166.141.83.69 (166.141.83.69): 56 data bytes
64 bytes from 166.141.83.69: seq=0 ttl=63 time=4.470 ms
64 bytes from 166.141.83.69: seq=1 ttl=63 time=0.793 ms
64 bytes from 166.141.83.69: seq=2 ttl=63 time=1.152 ms
--- 166.141.83.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.793/2.138/4.470 ms
2026-04-22 12:02:57,157 - INFO - Ping to IP 166.141.83.69 from VM ctest-vn1-vm2-40663181 passed
2026-04-22 12:02:57,157 - INFO - Detaching port 07bad762-468b-4315-ade0-c3ab24cb1ca4 from VM ctest-vn1-vm2-40663181
2026-04-22 12:02:57,232 - INFO - Deleting VM ctest-vn1-vm2-40663181
2026-04-22 12:02:57,327 - INFO - Detaching port a8e5bf3e-86e0-4e34-8d32-5915a40b52a5 from VM ctest-vn1-vm1-67609050
2026-04-22 12:02:57,359 - INFO - Deleting VM ctest-vn1-vm1-67609050
2026-04-22 12:02:57,618 - DEBUG - Response for delete_port : ()
2026-04-22 12:02:57,776 - DEBUG - Response for delete_port : ()
2026-04-22 12:02:57,776 - INFO - Deleting VN ctest-vn1-04717782
2026-04-22 12:02:57,908 - DEBUG - Response for deleting network ()
2026-04-22 12:02:58,168 - DEBUG - No XMPP flaps were noticed during the test
2026-04-22 12:02:58,168 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-04-22 12:02:58,168 - INFO - --------------------------------------------------------------------------------
2026-04-22 12:02:58,867 - INFO - Deleted project: ctest-TestPorts-99807940, ID : 409c83e9-875c-4e7a-b260-6ad96f46fad2