2025-10-09 19:15:03,153 - INFO - Domain Default found not creating 2025-10-09 19:15:03,314 - INFO - Project ctest-TestPorts-81019143 not found, creating it 2025-10-09 19:15:03,786 - INFO - Created Project:ctest-TestPorts-81019143, ID : a466362a-c8c7-4f9a-88ad-42708b147e7f 2025-10-09 19:15:05,241 - INFO - ================================================================================ 2025-10-09 19:15:05,241 - INFO - STARTING TEST : test_ports_bindings 2025-10-09 19:15:05,241 - 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 2025-10-09 19:15:05,497 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2025-10-09 19:15:05,497 - INFO - Initial checks done. Running the testcase now 2025-10-09 19:15:05,497 - INFO - 2025-10-09 19:15:06,098 - DEBUG - Response for create_network : {'network': {'id': '0ed0f3df-8a1d-4350-8c33-ff0908343c39', 'name': 'ctest-vn-33231233', 'tenant_id': 'a466362ac8c74f9a88ad42708b147e7f', 'project_id': 'a466362ac8c74f9a88ad42708b147e7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-81019143', 'ctest-vn-33231233'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 19:15:06,284 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7c06b3b-f0e7-4726-b200-6a23e5154260', 'name': '', 'tenant_id': 'a466362ac8c74f9a88ad42708b147e7f', 'network_id': '0ed0f3df-8a1d-4350-8c33-ff0908343c39', 'ip_version': 4, 'cidr': '156.50.94.192/26', 'allocation_pools': [{'start': '156.50.94.194', 'end': '156.50.94.254'}], 'gateway_ip': '156.50.94.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.50.94.194', 'tags': [], 'project_id': 'a466362ac8c74f9a88ad42708b147e7f'}} 2025-10-09 19:15:06,304 - INFO - Created VN ctest-vn-33231233 2025-10-09 19:15:06,355 - DEBUG - VN ctest-vn-33231233 UUID is 0ed0f3df-8a1d-4350-8c33-ff0908343c39 2025-10-09 19:15:06,466 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-81019143', 'ctest-vmi-94241989']} 2025-10-09 19:15:06,717 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-94241989', 'id': '11775007-5338-413d-ab1b-9a17546559bc', 'tenant_id': 'a466362ac8c74f9a88ad42708b147e7f', 'network_id': '0ed0f3df-8a1d-4350-8c33-ff0908343c39', 'mac_address': '02:11:77:50:07:53', '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': '156.50.94.195', 'subnet_id': 'f7c06b3b-f0e7-4726-b200-6a23e5154260'}], 'security_groups': ['366ac16e-1073-4b7f-a6ed-35dfd6e37747'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a466362ac8c74f9a88ad42708b147e7f'}} 2025-10-09 19:15:06,718 - DEBUG - Created port 11775007-5338-413d-ab1b-9a17546559bc 2025-10-09 19:15:06,823 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/11775007-5338-413d-ab1b-9a17546559bc 2025-10-09 19:15:07,113 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/11775007-5338-413d-ab1b-9a17546559bc 2025-10-09 19:15:07,145 - INFO - VMI 11775007-5338-413d-ab1b-9a17546559bc verification in API Server passed 2025-10-09 19:15:07,239 - DEBUG - Response for delete_port : () 2025-10-09 19:15:07,239 - INFO - Deleted port 11775007-5338-413d-ab1b-9a17546559bc 2025-10-09 19:15:07,239 - INFO - Deleting VN ctest-vn-33231233 2025-10-09 19:15:07,344 - DEBUG - Response for deleting network () 2025-10-09 19:15:07,596 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 19:15:07,596 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-09 19:15:07,596 - INFO - -------------------------------------------------------------------------------- 2025-10-09 19:15:07,598 - INFO - ================================================================================ 2025-10-09 19:15:07,598 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-09 19:15:07,598 - 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 2025-10-09 19:15:07,884 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2025-10-09 19:15:07,884 - INFO - Initial checks done. Running the testcase now 2025-10-09 19:15:07,884 - INFO - 2025-10-09 19:15:08,080 - DEBUG - Response for create_network : {'network': {'id': '2807d21c-f68b-4c4e-a108-2abc319c8a17', 'name': 'ctest-vn1-51317009', 'tenant_id': 'a466362ac8c74f9a88ad42708b147e7f', 'project_id': 'a466362ac8c74f9a88ad42708b147e7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-81019143', 'ctest-vn1-51317009'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 19:15:08,300 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d5f5532-08d6-4db0-bceb-81eb5ecd4f27', 'name': '', 'tenant_id': 'a466362ac8c74f9a88ad42708b147e7f', 'network_id': '2807d21c-f68b-4c4e-a108-2abc319c8a17', 'ip_version': 4, 'cidr': '14.97.167.0/26', 'allocation_pools': [{'start': '14.97.167.2', 'end': '14.97.167.62'}], 'gateway_ip': '14.97.167.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.97.167.2', 'tags': [], 'project_id': 'a466362ac8c74f9a88ad42708b147e7f'}} 2025-10-09 19:15:08,467 - DEBUG - Response for create_subnet : {'subnet': {'id': '470a82f0-a6c5-4586-9df1-71bef6219c0e', 'name': '', 'tenant_id': 'a466362ac8c74f9a88ad42708b147e7f', 'network_id': '2807d21c-f68b-4c4e-a108-2abc319c8a17', 'ip_version': 4, 'cidr': '43.238.209.64/26', 'allocation_pools': [{'start': '43.238.209.66', 'end': '43.238.209.126'}], 'gateway_ip': '43.238.209.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.238.209.66', 'tags': [], 'project_id': 'a466362ac8c74f9a88ad42708b147e7f'}} 2025-10-09 19:15:08,486 - INFO - Created VN ctest-vn1-51317009 2025-10-09 19:15:08,547 - DEBUG - VN ctest-vn1-51317009 UUID is 2807d21c-f68b-4c4e-a108-2abc319c8a17 2025-10-09 19:15:08,847 - DEBUG - Response for create_port : {'port': {'name': '9df61cdd-cc18-477e-9fa9-17b4ac629255', 'id': '9df61cdd-cc18-477e-9fa9-17b4ac629255', 'tenant_id': 'a466362ac8c74f9a88ad42708b147e7f', 'network_id': '2807d21c-f68b-4c4e-a108-2abc319c8a17', 'mac_address': '02:9d:f6:1c:dd:cc', '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': '14.97.167.5', 'subnet_id': '3d5f5532-08d6-4db0-bceb-81eb5ecd4f27'}], 'security_groups': ['366ac16e-1073-4b7f-a6ed-35dfd6e37747'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a466362ac8c74f9a88ad42708b147e7f'}} 2025-10-09 19:15:09,029 - DEBUG - Response for create_port : {'port': {'name': '79602371-2076-4476-94c9-a341e7f101ef', 'id': '79602371-2076-4476-94c9-a341e7f101ef', 'tenant_id': 'a466362ac8c74f9a88ad42708b147e7f', 'network_id': '2807d21c-f68b-4c4e-a108-2abc319c8a17', 'mac_address': '02:79:60:23:71:20', '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': '43.238.209.69', 'subnet_id': '470a82f0-a6c5-4586-9df1-71bef6219c0e'}], 'security_groups': ['366ac16e-1073-4b7f-a6ed-35dfd6e37747'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a466362ac8c74f9a88ad42708b147e7f'}} 2025-10-09 19:15:09,089 - DEBUG - Services list from nova: [, , ] 2025-10-09 19:15:09,424 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4275-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4275-1) 2025-10-09 19:15:09,809 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4275-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4275-1) 2025-10-09 19:15:09,809 - INFO - Waiting for VM ctest-vn1-vm1-45246319 to be up.. 2025-10-09 19:15:09,848 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 19:15:14,926 - DEBUG - VM is in ACTIVE state now 2025-10-09 19:15:14,926 - INFO - VM name : ctest-vn1-vm1-45246319 2025-10-09 19:15:15,005 - DEBUG - VM ctest-vn1-vm1-45246319 ID is ec522307-52b6-46a1-9eaf-9b296c48fbb6 2025-10-09 19:15:15,026 - DEBUG - VM ctest-vn1-vm1-45246319 launched on Node cn-jenkins-deploy-platform-ansible-os-4275-1 2025-10-09 19:15:15,102 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/ec522307-52b6-46a1-9eaf-9b296c48fbb6 2025-10-09 19:15:15,112 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/9df61cdd-cc18-477e-9fa9-17b4ac629255 2025-10-09 19:15:18,374 - 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 1027ms') 2025-10-09 19:15:18,374 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45246319 failed! 2025-10-09 19:15:18,431 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-81019143:ctest-vn1-51317009 is 14.97.167.1 and allocation pool is NOT set 2025-10-09 19:15:18,431 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-81019143:ctest-vn1-51317009 is 43.238.209.65 and allocation pool is NOT set 2025-10-09 19:15:20,498 - 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=4.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.68 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.679/3.412/4.146/0.733 ms') 2025-10-09 19:15:20,498 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45246319 passed 2025-10-09 19:15:20,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 19:15:20,651 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-45246319, IP 14.97.167.5, Port 22 2025-10-09 19:15:20,706 - 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': ''} 2025-10-09 19:15:20,942 - DEBUG - VM ctest-vn1-vm1-45246319 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-09 19:15:25,942 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 19:15:25,943 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-45246319, IP 14.97.167.5, Port 22 2025-10-09 19:15:26,102 - DEBUG - VM ctest-vn1-vm1-45246319 is ready for SSH connections 2025-10-09 19:15:26,102 - INFO - Waiting for VM ctest-vn1-vm2-22411256 to be up.. 2025-10-09 19:15:26,174 - DEBUG - VM is in ACTIVE state now 2025-10-09 19:15:26,174 - INFO - VM name : ctest-vn1-vm2-22411256 2025-10-09 19:15:26,250 - DEBUG - VM ctest-vn1-vm2-22411256 ID is 39eccd6d-79a7-40ec-8497-ccca5e6d7ffa 2025-10-09 19:15:26,250 - DEBUG - VM ctest-vn1-vm2-22411256 launched on Node cn-jenkins-deploy-platform-ansible-os-4275-1 2025-10-09 19:15:26,321 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/39eccd6d-79a7-40ec-8497-ccca5e6d7ffa 2025-10-09 19:15:26,331 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/79602371-2076-4476-94c9-a341e7f101ef 2025-10-09 19:15:27,579 - 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=3.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.457 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.457/1.784/3.112/1.327 ms') 2025-10-09 19:15:27,579 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-22411256 passed 2025-10-09 19:15:27,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 19:15:27,727 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-22411256, IP 43.238.209.69, Port 22 2025-10-09 19:15:27,893 - DEBUG - VM ctest-vn1-vm2-22411256 is ready for SSH connections 2025-10-09 19:15:27,893 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 19:15:27,893 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 19:15:27,893 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 19:15:27,893 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.97.167.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-09 19:15:27,893 - DEBUG - ping -s 56 -c 3 -W 1 14.97.167.5 2025-10-09 19:15:30,917 - DEBUG - PING 14.97.167.5 (14.97.167.5): 56 data bytes 64 bytes from 14.97.167.5: seq=0 ttl=63 time=3.615 ms 64 bytes from 14.97.167.5: seq=1 ttl=63 time=0.982 ms 64 bytes from 14.97.167.5: seq=2 ttl=63 time=1.249 ms --- 14.97.167.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.982/1.948/3.615 ms 2025-10-09 19:15:30,918 - INFO - Ping to IP 14.97.167.5 from VM ctest-vn1-vm2-22411256 passed 2025-10-09 19:15:30,918 - INFO - Detaching port 79602371-2076-4476-94c9-a341e7f101ef from VM ctest-vn1-vm2-22411256 2025-10-09 19:15:30,967 - INFO - Deleting VM ctest-vn1-vm2-22411256 2025-10-09 19:15:31,040 - INFO - Detaching port 9df61cdd-cc18-477e-9fa9-17b4ac629255 from VM ctest-vn1-vm1-45246319 2025-10-09 19:15:31,074 - INFO - Deleting VM ctest-vn1-vm1-45246319 2025-10-09 19:15:31,309 - DEBUG - Response for delete_port : () 2025-10-09 19:15:31,473 - DEBUG - Response for delete_port : () 2025-10-09 19:15:31,473 - INFO - Deleting VN ctest-vn1-51317009 2025-10-09 19:15:31,658 - DEBUG - Response for deleting network () 2025-10-09 19:15:31,912 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 19:15:31,912 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-10-09 19:15:31,912 - INFO - -------------------------------------------------------------------------------- 2025-10-09 19:15:32,569 - INFO - Deleted project: ctest-TestPorts-81019143, ID : a466362a-c8c7-4f9a-88ad-42708b147e7f