2026-04-21 15:54:03,978 - INFO - Domain Default found not creating 2026-04-21 15:54:04,185 - INFO - Project ctest-TestPorts-89226215 not found, creating it 2026-04-21 15:54:04,677 - INFO - Created Project:ctest-TestPorts-89226215, ID : 1af068f7-dcac-4750-b2cb-036a03a97e18 2026-04-21 15:54:06,304 - INFO - ================================================================================ 2026-04-21 15:54:06,304 - INFO - STARTING TEST : test_ports_bindings 2026-04-21 15:54:06,304 - 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-21 15:54:06,573 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-04-21 15:54:06,573 - INFO - Initial checks done. Running the testcase now 2026-04-21 15:54:06,573 - INFO - 2026-04-21 15:54:07,201 - DEBUG - Response for create_network : {'network': {'id': 'dd7d6078-19dc-42c4-8a5a-e1ec60a73c16', 'name': 'ctest-vn-31296453', 'tenant_id': '1af068f7dcac4750b2cb036a03a97e18', 'project_id': '1af068f7dcac4750b2cb036a03a97e18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-89226215', 'ctest-vn-31296453'], 'port_security_enabled': True, 'description': ''}} 2026-04-21 15:54:07,378 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4abd653-1587-4a35-84b3-2fd31571f1b9', 'name': '', 'tenant_id': '1af068f7dcac4750b2cb036a03a97e18', 'network_id': 'dd7d6078-19dc-42c4-8a5a-e1ec60a73c16', 'ip_version': 4, 'cidr': '121.119.214.0/26', 'allocation_pools': [{'start': '121.119.214.2', 'end': '121.119.214.62'}], 'gateway_ip': '121.119.214.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.119.214.2', 'tags': [], 'project_id': '1af068f7dcac4750b2cb036a03a97e18'}} 2026-04-21 15:54:07,401 - INFO - Created VN ctest-vn-31296453 2026-04-21 15:54:07,456 - DEBUG - VN ctest-vn-31296453 UUID is dd7d6078-19dc-42c4-8a5a-e1ec60a73c16 2026-04-21 15:54:07,586 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-89226215', 'ctest-vmi-71202617']} 2026-04-21 15:54:07,844 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-71202617', 'id': 'dad47109-142d-4605-8190-cd8579d24802', 'tenant_id': '1af068f7dcac4750b2cb036a03a97e18', 'network_id': 'dd7d6078-19dc-42c4-8a5a-e1ec60a73c16', 'mac_address': '02:da:d4:71:09:14', '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': '121.119.214.3', 'subnet_id': 'b4abd653-1587-4a35-84b3-2fd31571f1b9'}], 'security_groups': ['be68df44-ab34-4d07-a8f4-cb9d1a02af1e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1af068f7dcac4750b2cb036a03a97e18'}} 2026-04-21 15:54:07,844 - DEBUG - Created port dad47109-142d-4605-8190-cd8579d24802 2026-04-21 15:54:07,952 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/dad47109-142d-4605-8190-cd8579d24802 2026-04-21 15:54:08,273 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/dad47109-142d-4605-8190-cd8579d24802 2026-04-21 15:54:08,322 - INFO - VMI dad47109-142d-4605-8190-cd8579d24802 verification in API Server passed 2026-04-21 15:54:08,422 - DEBUG - Response for delete_port : () 2026-04-21 15:54:08,422 - INFO - Deleted port dad47109-142d-4605-8190-cd8579d24802 2026-04-21 15:54:08,423 - INFO - Deleting VN ctest-vn-31296453 2026-04-21 15:54:08,542 - DEBUG - Response for deleting network () 2026-04-21 15:54:08,803 - DEBUG - No XMPP flaps were noticed during the test 2026-04-21 15:54:08,803 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2026-04-21 15:54:08,803 - INFO - -------------------------------------------------------------------------------- 2026-04-21 15:54:08,806 - INFO - ================================================================================ 2026-04-21 15:54:08,806 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-04-21 15:54:08,806 - 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-21 15:54:09,101 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-04-21 15:54:09,101 - INFO - Initial checks done. Running the testcase now 2026-04-21 15:54:09,101 - INFO - 2026-04-21 15:54:09,562 - DEBUG - Response for create_network : {'network': {'id': '5140bc9d-357c-4197-860d-00784011a7a5', 'name': 'ctest-vn1-08168837', 'tenant_id': '1af068f7dcac4750b2cb036a03a97e18', 'project_id': '1af068f7dcac4750b2cb036a03a97e18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-89226215', 'ctest-vn1-08168837'], 'port_security_enabled': True, 'description': ''}} 2026-04-21 15:54:09,846 - DEBUG - Response for create_subnet : {'subnet': {'id': '556e240c-bb58-4b91-a7a0-a57428e84ba8', 'name': '', 'tenant_id': '1af068f7dcac4750b2cb036a03a97e18', 'network_id': '5140bc9d-357c-4197-860d-00784011a7a5', 'ip_version': 4, 'cidr': '126.57.62.0/26', 'allocation_pools': [{'start': '126.57.62.2', 'end': '126.57.62.62'}], 'gateway_ip': '126.57.62.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.57.62.2', 'tags': [], 'project_id': '1af068f7dcac4750b2cb036a03a97e18'}} 2026-04-21 15:54:10,027 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b347d1c3-c344-4fa4-890e-9c6bf858c3af', 'name': '', 'tenant_id': '1af068f7dcac4750b2cb036a03a97e18', 'network_id': '5140bc9d-357c-4197-860d-00784011a7a5', 'ip_version': 4, 'cidr': '85.8.185.192/26', 'allocation_pools': [{'start': '85.8.185.194', 'end': '85.8.185.254'}], 'gateway_ip': '85.8.185.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.8.185.194', 'tags': [], 'project_id': '1af068f7dcac4750b2cb036a03a97e18'}} 2026-04-21 15:54:10,052 - INFO - Created VN ctest-vn1-08168837 2026-04-21 15:54:10,104 - DEBUG - VN ctest-vn1-08168837 UUID is 5140bc9d-357c-4197-860d-00784011a7a5 2026-04-21 15:54:10,466 - DEBUG - Response for create_port : {'port': {'name': '284f21e2-7eef-4a5a-96d5-2b2884e4e55d', 'id': '284f21e2-7eef-4a5a-96d5-2b2884e4e55d', 'tenant_id': '1af068f7dcac4750b2cb036a03a97e18', 'network_id': '5140bc9d-357c-4197-860d-00784011a7a5', 'mac_address': '02:28:4f:21:e2:7e', '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': '126.57.62.5', 'subnet_id': '556e240c-bb58-4b91-a7a0-a57428e84ba8'}], 'security_groups': ['be68df44-ab34-4d07-a8f4-cb9d1a02af1e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1af068f7dcac4750b2cb036a03a97e18'}} 2026-04-21 15:54:10,679 - DEBUG - Response for create_port : {'port': {'name': '0846c778-e051-48d1-bf94-de86bc2cca7b', 'id': '0846c778-e051-48d1-bf94-de86bc2cca7b', 'tenant_id': '1af068f7dcac4750b2cb036a03a97e18', 'network_id': '5140bc9d-357c-4197-860d-00784011a7a5', 'mac_address': '02:08:46:c7:78:e0', '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': '85.8.185.197', 'subnet_id': 'b347d1c3-c344-4fa4-890e-9c6bf858c3af'}], 'security_groups': ['be68df44-ab34-4d07-a8f4-cb9d1a02af1e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1af068f7dcac4750b2cb036a03a97e18'}} 2026-04-21 15:54:10,752 - DEBUG - Services list from nova: [, , ] 2026-04-21 15:54:11,160 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5660-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5660-1) 2026-04-21 15:54:11,638 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5660-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5660-1) 2026-04-21 15:54:11,638 - INFO - Waiting for VM ctest-vn1-vm1-96483696 to be up.. 2026-04-21 15:54:11,692 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-21 15:54:16,788 - DEBUG - VM is in ACTIVE state now 2026-04-21 15:54:16,788 - INFO - VM name : ctest-vn1-vm1-96483696 2026-04-21 15:54:16,874 - DEBUG - VM ctest-vn1-vm1-96483696 ID is 5243be28-2dec-4e50-a177-195b3fe5ce96 2026-04-21 15:54:16,899 - DEBUG - VM ctest-vn1-vm1-96483696 launched on Node cn-jenkins-deploy-platform-ansible-os-5660-1 2026-04-21 15:54:16,981 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5243be28-2dec-4e50-a177-195b3fe5ce96 2026-04-21 15:54:16,992 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/284f21e2-7eef-4a5a-96d5-2b2884e4e55d 2026-04-21 15:54:20,260 - 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 1026ms') 2026-04-21 15:54:20,260 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-96483696 failed! 2026-04-21 15:54:20,316 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-89226215:ctest-vn1-08168837 is 126.57.62.1 and allocation pool is NOT set 2026-04-21 15:54:20,316 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-89226215:ctest-vn1-08168837 is 85.8.185.193 and allocation pool is NOT set 2026-04-21 15:54:24,385 - 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=8.80 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 8.801/8.801/8.801/0.000 ms') 2026-04-21 15:54:24,385 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-96483696 passed 2026-04-21 15:54:24,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 15:54:24,545 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-96483696, IP 126.57.62.5, Port 22 2026-04-21 15:54:24,615 - 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-21 15:54:24,721 - DEBUG - VM ctest-vn1-vm1-96483696 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-21 15:54:29,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 15:54:29,723 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-96483696, IP 126.57.62.5, Port 22 2026-04-21 15:54:29,894 - DEBUG - VM ctest-vn1-vm1-96483696 is ready for SSH connections 2026-04-21 15:54:29,895 - INFO - Waiting for VM ctest-vn1-vm2-29696552 to be up.. 2026-04-21 15:54:29,983 - DEBUG - VM is in ACTIVE state now 2026-04-21 15:54:29,983 - INFO - VM name : ctest-vn1-vm2-29696552 2026-04-21 15:54:30,075 - DEBUG - VM ctest-vn1-vm2-29696552 ID is 014c42b2-93dd-4990-8e95-84277a7f3952 2026-04-21 15:54:30,076 - DEBUG - VM ctest-vn1-vm2-29696552 launched on Node cn-jenkins-deploy-platform-ansible-os-5660-1 2026-04-21 15:54:30,173 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/014c42b2-93dd-4990-8e95-84277a7f3952 2026-04-21 15:54:30,184 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0846c778-e051-48d1-bf94-de86bc2cca7b 2026-04-21 15:54:31,458 - 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=4.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.537 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.537/2.417/4.297/1.880 ms') 2026-04-21 15:54:31,459 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-29696552 passed 2026-04-21 15:54:31,624 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 15:54:31,624 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-29696552, IP 85.8.185.197, Port 22 2026-04-21 15:54:31,790 - DEBUG - VM ctest-vn1-vm2-29696552 is ready for SSH connections 2026-04-21 15:54:31,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 15:54:31,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 15:54:31,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 15:54:31,791 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.57.62.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-21 15:54:31,791 - DEBUG - ping -s 56 -c 3 -W 1 126.57.62.5 2026-04-21 15:54:34,458 - DEBUG - PING 126.57.62.5 (126.57.62.5): 56 data bytes 64 bytes from 126.57.62.5: seq=0 ttl=63 time=3.838 ms 64 bytes from 126.57.62.5: seq=1 ttl=63 time=1.216 ms 64 bytes from 126.57.62.5: seq=2 ttl=63 time=1.199 ms --- 126.57.62.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.199/2.084/3.838 ms 2026-04-21 15:54:34,458 - INFO - Ping to IP 126.57.62.5 from VM ctest-vn1-vm2-29696552 passed 2026-04-21 15:54:34,458 - INFO - Detaching port 0846c778-e051-48d1-bf94-de86bc2cca7b from VM ctest-vn1-vm2-29696552 2026-04-21 15:54:34,522 - INFO - Deleting VM ctest-vn1-vm2-29696552 2026-04-21 15:54:34,623 - INFO - Detaching port 284f21e2-7eef-4a5a-96d5-2b2884e4e55d from VM ctest-vn1-vm1-96483696 2026-04-21 15:54:34,671 - INFO - Deleting VM ctest-vn1-vm1-96483696 2026-04-21 15:54:34,993 - DEBUG - Response for delete_port : () 2026-04-21 15:54:35,167 - DEBUG - Response for delete_port : () 2026-04-21 15:54:35,167 - INFO - Deleting VN ctest-vn1-08168837 2026-04-21 15:54:35,332 - DEBUG - Response for deleting network () 2026-04-21 15:54:35,594 - DEBUG - No XMPP flaps were noticed during the test 2026-04-21 15:54:35,594 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27] 2026-04-21 15:54:35,594 - INFO - -------------------------------------------------------------------------------- 2026-04-21 15:54:36,331 - INFO - Deleted project: ctest-TestPorts-89226215, ID : 1af068f7-dcac-4750-b2cb-036a03a97e18