2025-09-11 08:27:05,691 - INFO - Domain Default found not creating 2025-09-11 08:27:05,827 - INFO - Project ctest-TestPorts-01397151 not found, creating it 2025-09-11 08:27:06,297 - INFO - Created Project:ctest-TestPorts-01397151, ID : b56c21b1-7f2f-4c9e-8858-46e065cb1c49 2025-09-11 08:27:07,739 - INFO - ================================================================================ 2025-09-11 08:27:07,739 - INFO - STARTING TEST : test_ports_bindings 2025-09-11 08:27:07,739 - 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-09-11 08:27:07,992 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2025-09-11 08:27:07,992 - INFO - Initial checks done. Running the testcase now 2025-09-11 08:27:07,992 - INFO - 2025-09-11 08:27:08,523 - DEBUG - Response for create_network : {'network': {'id': 'd08b2812-2ad8-4e20-b95d-48cdf69e8a77', 'name': 'ctest-vn-34616772', 'tenant_id': 'b56c21b17f2f4c9e885846e065cb1c49', 'project_id': 'b56c21b17f2f4c9e885846e065cb1c49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-01397151', 'ctest-vn-34616772'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 08:27:08,745 - DEBUG - Response for create_subnet : {'subnet': {'id': '351bb8f6-a7b9-48ea-9273-fbdf73e2499e', 'name': '', 'tenant_id': 'b56c21b17f2f4c9e885846e065cb1c49', 'network_id': 'd08b2812-2ad8-4e20-b95d-48cdf69e8a77', 'ip_version': 4, 'cidr': '80.15.110.192/26', 'allocation_pools': [{'start': '80.15.110.194', 'end': '80.15.110.254'}], 'gateway_ip': '80.15.110.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.15.110.194', 'tags': [], 'project_id': 'b56c21b17f2f4c9e885846e065cb1c49'}} 2025-09-11 08:27:08,764 - INFO - Created VN ctest-vn-34616772 2025-09-11 08:27:08,815 - DEBUG - VN ctest-vn-34616772 UUID is d08b2812-2ad8-4e20-b95d-48cdf69e8a77 2025-09-11 08:27:09,044 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-01397151', 'ctest-vmi-52089099']} 2025-09-11 08:27:09,268 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-52089099', 'id': 'becb999b-d053-482f-ac78-1932e6681bc0', 'tenant_id': 'b56c21b17f2f4c9e885846e065cb1c49', 'network_id': 'd08b2812-2ad8-4e20-b95d-48cdf69e8a77', 'mac_address': '02:be:cb:99:9b:d0', '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': '80.15.110.195', 'subnet_id': '351bb8f6-a7b9-48ea-9273-fbdf73e2499e'}], 'security_groups': ['e866ffe1-bf36-4267-8996-afd71becad4d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b56c21b17f2f4c9e885846e065cb1c49'}} 2025-09-11 08:27:09,268 - DEBUG - Created port becb999b-d053-482f-ac78-1932e6681bc0 2025-09-11 08:27:09,371 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/becb999b-d053-482f-ac78-1932e6681bc0 2025-09-11 08:27:09,661 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/becb999b-d053-482f-ac78-1932e6681bc0 2025-09-11 08:27:09,692 - INFO - VMI becb999b-d053-482f-ac78-1932e6681bc0 verification in API Server passed 2025-09-11 08:27:09,786 - DEBUG - Response for delete_port : () 2025-09-11 08:27:09,786 - INFO - Deleted port becb999b-d053-482f-ac78-1932e6681bc0 2025-09-11 08:27:09,786 - INFO - Deleting VN ctest-vn-34616772 2025-09-11 08:27:09,891 - DEBUG - Response for deleting network () 2025-09-11 08:27:10,144 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 08:27:10,145 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-09-11 08:27:10,145 - INFO - -------------------------------------------------------------------------------- 2025-09-11 08:27:10,147 - INFO - ================================================================================ 2025-09-11 08:27:10,147 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-11 08:27:10,147 - 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-09-11 08:27:10,433 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2025-09-11 08:27:10,433 - INFO - Initial checks done. Running the testcase now 2025-09-11 08:27:10,434 - INFO - 2025-09-11 08:27:10,601 - DEBUG - Response for create_network : {'network': {'id': '221d00ed-869e-445e-8b1e-90e625fb3bc5', 'name': 'ctest-vn1-11392052', 'tenant_id': 'b56c21b17f2f4c9e885846e065cb1c49', 'project_id': 'b56c21b17f2f4c9e885846e065cb1c49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-01397151', 'ctest-vn1-11392052'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 08:27:10,809 - DEBUG - Response for create_subnet : {'subnet': {'id': '53c62e6b-d941-460a-8e5c-2794df064629', 'name': '', 'tenant_id': 'b56c21b17f2f4c9e885846e065cb1c49', 'network_id': '221d00ed-869e-445e-8b1e-90e625fb3bc5', 'ip_version': 4, 'cidr': '201.130.58.128/26', 'allocation_pools': [{'start': '201.130.58.130', 'end': '201.130.58.190'}], 'gateway_ip': '201.130.58.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.130.58.130', 'tags': [], 'project_id': 'b56c21b17f2f4c9e885846e065cb1c49'}} 2025-09-11 08:27:10,962 - DEBUG - Response for create_subnet : {'subnet': {'id': '76740a8d-b126-40b4-8412-e8f9eab1d401', 'name': '', 'tenant_id': 'b56c21b17f2f4c9e885846e065cb1c49', 'network_id': '221d00ed-869e-445e-8b1e-90e625fb3bc5', 'ip_version': 4, 'cidr': '66.115.24.64/26', 'allocation_pools': [{'start': '66.115.24.66', 'end': '66.115.24.126'}], 'gateway_ip': '66.115.24.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.115.24.66', 'tags': [], 'project_id': 'b56c21b17f2f4c9e885846e065cb1c49'}} 2025-09-11 08:27:10,982 - INFO - Created VN ctest-vn1-11392052 2025-09-11 08:27:11,031 - DEBUG - VN ctest-vn1-11392052 UUID is 221d00ed-869e-445e-8b1e-90e625fb3bc5 2025-09-11 08:27:11,322 - DEBUG - Response for create_port : {'port': {'name': 'a661a84f-04f5-4255-a90d-288b73772dff', 'id': 'a661a84f-04f5-4255-a90d-288b73772dff', 'tenant_id': 'b56c21b17f2f4c9e885846e065cb1c49', 'network_id': '221d00ed-869e-445e-8b1e-90e625fb3bc5', 'mac_address': '02:a6:61:a8:4f:04', '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': '201.130.58.133', 'subnet_id': '53c62e6b-d941-460a-8e5c-2794df064629'}], 'security_groups': ['e866ffe1-bf36-4267-8996-afd71becad4d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b56c21b17f2f4c9e885846e065cb1c49'}} 2025-09-11 08:27:11,498 - DEBUG - Response for create_port : {'port': {'name': '24a9c5af-e68a-4abc-a997-26f015af297d', 'id': '24a9c5af-e68a-4abc-a997-26f015af297d', 'tenant_id': 'b56c21b17f2f4c9e885846e065cb1c49', 'network_id': '221d00ed-869e-445e-8b1e-90e625fb3bc5', 'mac_address': '02:24:a9:c5:af:e6', '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': '66.115.24.69', 'subnet_id': '76740a8d-b126-40b4-8412-e8f9eab1d401'}], 'security_groups': ['e866ffe1-bf36-4267-8996-afd71becad4d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b56c21b17f2f4c9e885846e065cb1c49'}} 2025-09-11 08:27:11,553 - DEBUG - Services list from nova: [, , ] 2025-09-11 08:27:11,866 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4084-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4084-1) 2025-09-11 08:27:12,225 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4084-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4084-1) 2025-09-11 08:27:12,225 - INFO - Waiting for VM ctest-vn1-vm1-74370203 to be up.. 2025-09-11 08:27:12,263 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 08:27:17,338 - DEBUG - VM is in ACTIVE state now 2025-09-11 08:27:17,339 - INFO - VM name : ctest-vn1-vm1-74370203 2025-09-11 08:27:17,426 - DEBUG - VM ctest-vn1-vm1-74370203 ID is 6d676fa1-2bb5-49b6-9e79-457e1556c436 2025-09-11 08:27:17,447 - DEBUG - VM ctest-vn1-vm1-74370203 launched on Node cn-jenkins-deploy-platform-ansible-os-4084-1 2025-09-11 08:27:17,527 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/6d676fa1-2bb5-49b6-9e79-457e1556c436 2025-09-11 08:27:17,539 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/a661a84f-04f5-4255-a90d-288b73772dff 2025-09-11 08:27:20,813 - 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 1031ms') 2025-09-11 08:27:20,813 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-74370203 failed! 2025-09-11 08:27:20,867 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-01397151:ctest-vn1-11392052 is 201.130.58.129 and allocation pool is NOT set 2025-09-11 08:27:20,867 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-01397151:ctest-vn1-11392052 is 66.115.24.65 and allocation pool is NOT set 2025-09-11 08:27:22,923 - 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=14.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.312 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 = 0.312/7.480/14.649/7.168 ms') 2025-09-11 08:27:22,923 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-74370203 passed 2025-09-11 08:27:23,071 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 08:27:23,071 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-74370203, IP 201.130.58.133, Port 22 2025-09-11 08:27:23,227 - DEBUG - VM ctest-vn1-vm1-74370203 is ready for SSH connections 2025-09-11 08:27:23,227 - INFO - Waiting for VM ctest-vn1-vm2-22809354 to be up.. 2025-09-11 08:27:23,301 - DEBUG - VM is in ACTIVE state now 2025-09-11 08:27:23,302 - INFO - VM name : ctest-vn1-vm2-22809354 2025-09-11 08:27:23,367 - DEBUG - VM ctest-vn1-vm2-22809354 ID is 0a421249-cd6d-4d63-a855-b9d00279e2c0 2025-09-11 08:27:23,367 - DEBUG - VM ctest-vn1-vm2-22809354 launched on Node cn-jenkins-deploy-platform-ansible-os-4084-1 2025-09-11 08:27:23,435 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/0a421249-cd6d-4d63-a855-b9d00279e2c0 2025-09-11 08:27:23,445 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/24a9c5af-e68a-4abc-a997-26f015af297d 2025-09-11 08:27:24,693 - 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.39 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.68 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 = 1.684/3.036/4.389/1.352 ms') 2025-09-11 08:27:24,693 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-22809354 passed 2025-09-11 08:27:24,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 08:27:24,847 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-22809354, IP 66.115.24.69, Port 22 2025-09-11 08:27:25,007 - DEBUG - VM ctest-vn1-vm2-22809354 is ready for SSH connections 2025-09-11 08:27:25,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 08:27:25,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 08:27:25,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 08:27:25,007 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 201.130.58.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-09-11 08:27:25,007 - DEBUG - ping -s 56 -c 3 -W 1 201.130.58.133 2025-09-11 08:27:28,046 - DEBUG - PING 201.130.58.133 (201.130.58.133): 56 data bytes 64 bytes from 201.130.58.133: seq=0 ttl=63 time=4.630 ms 64 bytes from 201.130.58.133: seq=1 ttl=63 time=0.876 ms 64 bytes from 201.130.58.133: seq=2 ttl=63 time=0.766 ms --- 201.130.58.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.766/2.090/4.630 ms 2025-09-11 08:27:28,046 - INFO - Ping to IP 201.130.58.133 from VM ctest-vn1-vm2-22809354 passed 2025-09-11 08:27:28,046 - INFO - Detaching port 24a9c5af-e68a-4abc-a997-26f015af297d from VM ctest-vn1-vm2-22809354 2025-09-11 08:27:28,095 - INFO - Deleting VM ctest-vn1-vm2-22809354 2025-09-11 08:27:28,160 - INFO - Detaching port a661a84f-04f5-4255-a90d-288b73772dff from VM ctest-vn1-vm1-74370203 2025-09-11 08:27:28,192 - INFO - Deleting VM ctest-vn1-vm1-74370203 2025-09-11 08:27:28,421 - DEBUG - Response for delete_port : () 2025-09-11 08:27:28,584 - DEBUG - Response for delete_port : () 2025-09-11 08:27:28,584 - INFO - Deleting VN ctest-vn1-11392052 2025-09-11 08:27:28,735 - DEBUG - Response for deleting network () 2025-09-11 08:27:28,988 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 08:27:28,988 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-09-11 08:27:28,988 - INFO - -------------------------------------------------------------------------------- 2025-09-11 08:27:29,692 - INFO - Deleted project: ctest-TestPorts-01397151, ID : b56c21b1-7f2f-4c9e-8858-46e065cb1c49