2026-03-20 21:13:09,539 - INFO - Domain Default found not creating 2026-03-20 21:13:09,682 - INFO - Project ctest-TestPorts-14177999 not found, creating it 2026-03-20 21:13:10,126 - INFO - Created Project:ctest-TestPorts-14177999, ID : 9c40b97b-dd38-4dcf-9232-f4b2541b468e 2026-03-20 21:13:12,126 - INFO - ================================================================================ 2026-03-20 21:13:12,126 - INFO - STARTING TEST : test_ports_bindings 2026-03-20 21:13:12,126 - 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-03-20 21:13:12,382 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-03-20 21:13:12,383 - INFO - Initial checks done. Running the testcase now 2026-03-20 21:13:12,383 - INFO - 2026-03-20 21:13:12,899 - DEBUG - Response for create_network : {'network': {'id': 'dfab186f-f8e9-4313-9c78-12c82e7c5156', 'name': 'ctest-vn-99563430', 'tenant_id': '9c40b97bdd384dcf9232f4b2541b468e', 'project_id': '9c40b97bdd384dcf9232f4b2541b468e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-14177999', 'ctest-vn-99563430'], 'port_security_enabled': True, 'description': ''}} 2026-03-20 21:13:13,054 - DEBUG - Response for create_subnet : {'subnet': {'id': '1249e624-026a-44bc-a8d0-3ef0e83879fe', 'name': '', 'tenant_id': '9c40b97bdd384dcf9232f4b2541b468e', 'network_id': 'dfab186f-f8e9-4313-9c78-12c82e7c5156', 'ip_version': 4, 'cidr': '172.89.194.192/26', 'allocation_pools': [{'start': '172.89.194.194', 'end': '172.89.194.254'}], 'gateway_ip': '172.89.194.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.89.194.194', 'tags': [], 'project_id': '9c40b97bdd384dcf9232f4b2541b468e'}} 2026-03-20 21:13:13,069 - INFO - Created VN ctest-vn-99563430 2026-03-20 21:13:13,122 - DEBUG - VN ctest-vn-99563430 UUID is dfab186f-f8e9-4313-9c78-12c82e7c5156 2026-03-20 21:13:13,219 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-14177999', 'ctest-vmi-85790453']} 2026-03-20 21:13:13,524 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-85790453', 'id': '9df6f1ea-00f0-413a-a992-a40fe18f9954', 'tenant_id': '9c40b97bdd384dcf9232f4b2541b468e', 'network_id': 'dfab186f-f8e9-4313-9c78-12c82e7c5156', 'mac_address': '02:9d:f6:f1:ea:00', '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': '172.89.194.195', 'subnet_id': '1249e624-026a-44bc-a8d0-3ef0e83879fe'}], 'security_groups': ['feec6e39-a84a-4c42-b786-5be5b1a96722'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9c40b97bdd384dcf9232f4b2541b468e'}} 2026-03-20 21:13:13,524 - DEBUG - Created port 9df6f1ea-00f0-413a-a992-a40fe18f9954 2026-03-20 21:13:13,626 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9df6f1ea-00f0-413a-a992-a40fe18f9954 2026-03-20 21:13:13,912 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9df6f1ea-00f0-413a-a992-a40fe18f9954 2026-03-20 21:13:13,942 - INFO - VMI 9df6f1ea-00f0-413a-a992-a40fe18f9954 verification in API Server passed 2026-03-20 21:13:14,029 - DEBUG - Response for delete_port : () 2026-03-20 21:13:14,029 - INFO - Deleted port 9df6f1ea-00f0-413a-a992-a40fe18f9954 2026-03-20 21:13:14,029 - INFO - Deleting VN ctest-vn-99563430 2026-03-20 21:13:14,126 - DEBUG - Response for deleting network () 2026-03-20 21:13:14,384 - DEBUG - No XMPP flaps were noticed during the test
2026-03-20 21:13:14,384 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-03-20 21:13:14,384 - INFO - -------------------------------------------------------------------------------- 2026-03-20 21:13:14,387 - INFO - ================================================================================ 2026-03-20 21:13:14,387 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-03-20 21:13:14,387 - 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-03-20 21:13:14,675 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-03-20 21:13:14,675 - INFO - Initial checks done. Running the testcase now 2026-03-20 21:13:14,676 - INFO - 2026-03-20 21:13:14,831 - DEBUG - Response for create_network : {'network': {'id': '4c018d6d-058b-48e1-9710-5f605a9d43b0', 'name': 'ctest-vn1-47076735', 'tenant_id': '9c40b97bdd384dcf9232f4b2541b468e', 'project_id': '9c40b97bdd384dcf9232f4b2541b468e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-14177999', 'ctest-vn1-47076735'], 'port_security_enabled': True, 'description': ''}} 2026-03-20 21:13:14,996 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad43f54f-6992-48e2-96c2-02415d0d13f6', 'name': '', 'tenant_id': '9c40b97bdd384dcf9232f4b2541b468e', 'network_id': '4c018d6d-058b-48e1-9710-5f605a9d43b0', 'ip_version': 4, 'cidr': '221.33.90.192/26', 'allocation_pools': [{'start': '221.33.90.194', 'end': '221.33.90.254'}], 'gateway_ip': '221.33.90.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.33.90.194', 'tags': [], 'project_id': '9c40b97bdd384dcf9232f4b2541b468e'}} 2026-03-20 21:13:15,197 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3c0ad8d-4b2a-4091-9fc5-6cae1173aea7', 'name': '', 'tenant_id': '9c40b97bdd384dcf9232f4b2541b468e', 'network_id': '4c018d6d-058b-48e1-9710-5f605a9d43b0', 'ip_version': 4, 'cidr': '92.170.251.128/26', 'allocation_pools': [{'start': '92.170.251.130', 'end': '92.170.251.190'}], 'gateway_ip': '92.170.251.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.170.251.130', 'tags': [], 'project_id': '9c40b97bdd384dcf9232f4b2541b468e'}} 2026-03-20 21:13:15,213 - INFO - Created VN ctest-vn1-47076735 2026-03-20 21:13:15,266 - DEBUG - VN ctest-vn1-47076735 UUID is 4c018d6d-058b-48e1-9710-5f605a9d43b0 2026-03-20 21:13:15,530 - DEBUG - Response for create_port : {'port': {'name': 'a2d5d8a4-175d-42e9-ad76-7e9a7f303a87', 'id': 'a2d5d8a4-175d-42e9-ad76-7e9a7f303a87', 'tenant_id': '9c40b97bdd384dcf9232f4b2541b468e', 'network_id': '4c018d6d-058b-48e1-9710-5f605a9d43b0', 'mac_address': '02:a2:d5:d8:a4:17', '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': '221.33.90.197', 'subnet_id': 'ad43f54f-6992-48e2-96c2-02415d0d13f6'}], 'security_groups': ['feec6e39-a84a-4c42-b786-5be5b1a96722'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9c40b97bdd384dcf9232f4b2541b468e'}} 2026-03-20 21:13:15,693 - DEBUG - Response for create_port : {'port': {'name': '8fba89ff-8c52-49f1-869d-dd0e7e0822d0', 'id': '8fba89ff-8c52-49f1-869d-dd0e7e0822d0', 'tenant_id': '9c40b97bdd384dcf9232f4b2541b468e', 'network_id': '4c018d6d-058b-48e1-9710-5f605a9d43b0', 'mac_address': '02:8f:ba:89:ff:8c', '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': '92.170.251.133', 'subnet_id': 'b3c0ad8d-4b2a-4091-9fc5-6cae1173aea7'}], 'security_groups': ['feec6e39-a84a-4c42-b786-5be5b1a96722'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9c40b97bdd384dcf9232f4b2541b468e'}} 2026-03-20 21:13:15,743 - DEBUG - Services list from nova: [, , ] 2026-03-20 21:13:16,064 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5507-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5507-1) 2026-03-20 21:13:16,533 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5507-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5507-1) 2026-03-20 21:13:16,533 - INFO - Waiting for VM ctest-vn1-vm1-51863972 to be up.. 2026-03-20 21:13:16,569 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-20 21:13:21,647 - DEBUG - VM is in ACTIVE state now 2026-03-20 21:13:21,647 - INFO - VM name : ctest-vn1-vm1-51863972 2026-03-20 21:13:21,725 - DEBUG - VM ctest-vn1-vm1-51863972 ID is 67045a8c-e418-4573-9432-942f6c4f3a85 2026-03-20 21:13:21,744 - DEBUG - VM ctest-vn1-vm1-51863972 launched on Node cn-jenkins-deploy-platform-ansible-os-5507-1 2026-03-20 21:13:21,816 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/67045a8c-e418-4573-9432-942f6c4f3a85 2026-03-20 21:13:21,824 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a2d5d8a4-175d-42e9-ad76-7e9a7f303a87 2026-03-20 21:13:25,091 - 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 1035ms') 2026-03-20 21:13:25,091 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51863972 failed! 2026-03-20 21:13:25,142 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-14177999:ctest-vn1-47076735 is 221.33.90.193 and allocation pool is NOT set 2026-03-20 21:13:25,142 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-14177999:ctest-vn1-47076735 is 92.170.251.129 and allocation pool is NOT set 2026-03-20 21:13:27,201 - 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=2.49 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 = 2.490/2.705/2.921/0.215 ms') 2026-03-20 21:13:27,201 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51863972 passed 2026-03-20 21:13:27,354 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-20 21:13:27,354 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-51863972, IP 221.33.90.197, Port 22 2026-03-20 21:13:27,410 - 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-03-20 21:13:27,476 - DEBUG - VM ctest-vn1-vm1-51863972 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-20 21:13:32,477 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-20 21:13:32,478 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-51863972, IP 221.33.90.197, Port 22 2026-03-20 21:13:32,629 - DEBUG - VM ctest-vn1-vm1-51863972 is ready for SSH connections 2026-03-20 21:13:32,630 - INFO - Waiting for VM ctest-vn1-vm2-50289584 to be up.. 2026-03-20 21:13:32,696 - DEBUG - VM is in ACTIVE state now 2026-03-20 21:13:32,697 - INFO - VM name : ctest-vn1-vm2-50289584 2026-03-20 21:13:32,761 - DEBUG - VM ctest-vn1-vm2-50289584 ID is e17289d1-b787-4f77-8ac1-32bbf6a232df 2026-03-20 21:13:32,761 - DEBUG - VM ctest-vn1-vm2-50289584 launched on Node cn-jenkins-deploy-platform-ansible-os-5507-1 2026-03-20 21:13:32,823 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e17289d1-b787-4f77-8ac1-32bbf6a232df 2026-03-20 21:13:32,830 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8fba89ff-8c52-49f1-869d-dd0e7e0822d0 2026-03-20 21:13:34,058 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.356 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.356/1.520/2.685/1.164 ms') 2026-03-20 21:13:34,058 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-50289584 passed 2026-03-20 21:13:34,210 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-20 21:13:34,210 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-50289584, IP 92.170.251.133, Port 22 2026-03-20 21:13:34,373 - DEBUG - VM ctest-vn1-vm2-50289584 is ready for SSH connections 2026-03-20 21:13:34,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-20 21:13:34,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-20 21:13:34,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-20 21:13:34,374 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.33.90.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-20 21:13:34,374 - DEBUG - ping -s 56 -c 3 -W 1 221.33.90.197 2026-03-20 21:13:37,313 - DEBUG - PING 221.33.90.197 (221.33.90.197): 56 data bytes 64 bytes from 221.33.90.197: seq=0 ttl=63 time=3.912 ms 64 bytes from 221.33.90.197: seq=1 ttl=63 time=0.864 ms 64 bytes from 221.33.90.197: seq=2 ttl=63 time=0.830 ms --- 221.33.90.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.830/1.868/3.912 ms 2026-03-20 21:13:37,313 - INFO - Ping to IP 221.33.90.197 from VM ctest-vn1-vm2-50289584 passed 2026-03-20 21:13:37,314 - INFO - Detaching port 8fba89ff-8c52-49f1-869d-dd0e7e0822d0 from VM ctest-vn1-vm2-50289584 2026-03-20 21:13:37,357 - INFO - Deleting VM ctest-vn1-vm2-50289584 2026-03-20 21:13:37,419 - INFO - Detaching port a2d5d8a4-175d-42e9-ad76-7e9a7f303a87 from VM ctest-vn1-vm1-51863972 2026-03-20 21:13:37,455 - INFO - Deleting VM ctest-vn1-vm1-51863972 2026-03-20 21:13:37,669 - DEBUG - Response for delete_port : () 2026-03-20 21:13:37,822 - DEBUG - Response for delete_port : () 2026-03-20 21:13:37,822 - INFO - Deleting VN ctest-vn1-47076735 2026-03-20 21:13:37,954 - DEBUG - Response for deleting network () 2026-03-20 21:13:38,215 - DEBUG - No XMPP flaps were noticed during the test
2026-03-20 21:13:38,215 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-03-20 21:13:38,215 - INFO - -------------------------------------------------------------------------------- 2026-03-20 21:13:38,870 - INFO - Deleted project: ctest-TestPorts-14177999, ID : 9c40b97b-dd38-4dcf-9232-f4b2541b468e