2025-10-27 11:50:15,752 - INFO - Domain Default found not creating 2025-10-27 11:50:15,965 - INFO - Project ctest-TestPorts-48069999 not found, creating it 2025-10-27 11:50:16,446 - INFO - Created Project:ctest-TestPorts-48069999, ID : 924c3c88-d9b1-4864-b5e1-92322c1684b5 2025-10-27 11:50:18,089 - INFO - ================================================================================ 2025-10-27 11:50:18,089 - INFO - STARTING TEST : test_ports_bindings 2025-10-27 11:50:18,089 - 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-27 11:50:18,349 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.25': '0'}} with 2025-10-27 11:50:18,349 - INFO - Initial checks done. Running the testcase now 2025-10-27 11:50:18,349 - INFO - 2025-10-27 11:50:18,945 - DEBUG - Response for create_network : {'network': {'id': '3f55fc8e-c24c-4e17-83ce-deb967d12619', 'name': 'ctest-vn-15789404', 'tenant_id': '924c3c88d9b14864b5e192322c1684b5', 'project_id': '924c3c88d9b14864b5e192322c1684b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-48069999', 'ctest-vn-15789404'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:50:19,154 - DEBUG - Response for create_subnet : {'subnet': {'id': '69d5d225-4404-44fb-95d1-38cf6bfce7e8', 'name': '', 'tenant_id': '924c3c88d9b14864b5e192322c1684b5', 'network_id': '3f55fc8e-c24c-4e17-83ce-deb967d12619', 'ip_version': 4, 'cidr': '52.229.234.192/26', 'allocation_pools': [{'start': '52.229.234.194', 'end': '52.229.234.254'}], 'gateway_ip': '52.229.234.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.229.234.194', 'tags': [], 'project_id': '924c3c88d9b14864b5e192322c1684b5'}} 2025-10-27 11:50:19,173 - INFO - Created VN ctest-vn-15789404 2025-10-27 11:50:19,226 - DEBUG - VN ctest-vn-15789404 UUID is 3f55fc8e-c24c-4e17-83ce-deb967d12619 2025-10-27 11:50:19,337 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-48069999', 'ctest-vmi-80357615']} 2025-10-27 11:50:19,585 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-80357615', 'id': '768e38be-0fee-4765-abd2-788a049d65a1', 'tenant_id': '924c3c88d9b14864b5e192322c1684b5', 'network_id': '3f55fc8e-c24c-4e17-83ce-deb967d12619', 'mac_address': '02:76:8e:38:be:0f', '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': '52.229.234.195', 'subnet_id': '69d5d225-4404-44fb-95d1-38cf6bfce7e8'}], 'security_groups': ['6f085f0c-2fb0-4dc9-bd16-2e8d2bd593b3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '924c3c88d9b14864b5e192322c1684b5'}} 2025-10-27 11:50:19,585 - DEBUG - Created port 768e38be-0fee-4765-abd2-788a049d65a1 2025-10-27 11:50:19,690 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/768e38be-0fee-4765-abd2-788a049d65a1 2025-10-27 11:50:20,026 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/768e38be-0fee-4765-abd2-788a049d65a1 2025-10-27 11:50:20,064 - INFO - VMI 768e38be-0fee-4765-abd2-788a049d65a1 verification in API Server passed 2025-10-27 11:50:20,167 - DEBUG - Response for delete_port : () 2025-10-27 11:50:20,167 - INFO - Deleted port 768e38be-0fee-4765-abd2-788a049d65a1 2025-10-27 11:50:20,167 - INFO - Deleting VN ctest-vn-15789404 2025-10-27 11:50:20,274 - DEBUG - Response for deleting network () 2025-10-27 11:50:20,532 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 11:50:20,533 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-27 11:50:20,533 - INFO - -------------------------------------------------------------------------------- 2025-10-27 11:50:20,536 - INFO - ================================================================================ 2025-10-27 11:50:20,536 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-27 11:50:20,536 - 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-27 11:50:20,825 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.25': '0'}} with 2025-10-27 11:50:20,826 - INFO - Initial checks done. Running the testcase now 2025-10-27 11:50:20,826 - INFO - 2025-10-27 11:50:21,008 - DEBUG - Response for create_network : {'network': {'id': '53c8b477-b491-4a35-a6e9-6c2700342540', 'name': 'ctest-vn1-81027745', 'tenant_id': '924c3c88d9b14864b5e192322c1684b5', 'project_id': '924c3c88d9b14864b5e192322c1684b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-48069999', 'ctest-vn1-81027745'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:50:21,247 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c2dfaa6-1f90-4ab5-a076-9f0ffff90ccf', 'name': '', 'tenant_id': '924c3c88d9b14864b5e192322c1684b5', 'network_id': '53c8b477-b491-4a35-a6e9-6c2700342540', 'ip_version': 4, 'cidr': '136.245.147.0/26', 'allocation_pools': [{'start': '136.245.147.2', 'end': '136.245.147.62'}], 'gateway_ip': '136.245.147.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.245.147.2', 'tags': [], 'project_id': '924c3c88d9b14864b5e192322c1684b5'}} 2025-10-27 11:50:21,499 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fec8150a-6f8e-43a6-a791-902afa3bf71d', 'name': '', 'tenant_id': '924c3c88d9b14864b5e192322c1684b5', 'network_id': '53c8b477-b491-4a35-a6e9-6c2700342540', 'ip_version': 4, 'cidr': '71.140.94.128/26', 'allocation_pools': [{'start': '71.140.94.130', 'end': '71.140.94.190'}], 'gateway_ip': '71.140.94.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.140.94.130', 'tags': [], 'project_id': '924c3c88d9b14864b5e192322c1684b5'}} 2025-10-27 11:50:21,524 - INFO - Created VN ctest-vn1-81027745 2025-10-27 11:50:21,578 - DEBUG - VN ctest-vn1-81027745 UUID is 53c8b477-b491-4a35-a6e9-6c2700342540 2025-10-27 11:50:21,914 - DEBUG - Response for create_port : {'port': {'name': '4be24df7-e9f2-4456-a493-e1e4bfcaf907', 'id': '4be24df7-e9f2-4456-a493-e1e4bfcaf907', 'tenant_id': '924c3c88d9b14864b5e192322c1684b5', 'network_id': '53c8b477-b491-4a35-a6e9-6c2700342540', 'mac_address': '02:4b:e2:4d:f7:e9', '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': '136.245.147.5', 'subnet_id': '5c2dfaa6-1f90-4ab5-a076-9f0ffff90ccf'}], 'security_groups': ['6f085f0c-2fb0-4dc9-bd16-2e8d2bd593b3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '924c3c88d9b14864b5e192322c1684b5'}} 2025-10-27 11:50:22,120 - DEBUG - Response for create_port : {'port': {'name': '4ebe65a2-5023-4e99-9d67-0cd65fc8e84e', 'id': '4ebe65a2-5023-4e99-9d67-0cd65fc8e84e', 'tenant_id': '924c3c88d9b14864b5e192322c1684b5', 'network_id': '53c8b477-b491-4a35-a6e9-6c2700342540', 'mac_address': '02:4e:be:65:a2:50', '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': '71.140.94.133', 'subnet_id': 'fec8150a-6f8e-43a6-a791-902afa3bf71d'}], 'security_groups': ['6f085f0c-2fb0-4dc9-bd16-2e8d2bd593b3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '924c3c88d9b14864b5e192322c1684b5'}} 2025-10-27 11:50:22,196 - DEBUG - Services list from nova: [, , ] 2025-10-27 11:50:22,577 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4502-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4502-1) 2025-10-27 11:50:23,021 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4502-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4502-1) 2025-10-27 11:50:23,021 - INFO - Waiting for VM ctest-vn1-vm1-39786800 to be up.. 2025-10-27 11:50:23,065 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 11:50:28,155 - DEBUG - VM is in ACTIVE state now 2025-10-27 11:50:28,156 - INFO - VM name : ctest-vn1-vm1-39786800 2025-10-27 11:50:28,248 - DEBUG - VM ctest-vn1-vm1-39786800 ID is d0c91108-9bed-4922-b691-c1a4079674b9 2025-10-27 11:50:28,268 - DEBUG - VM ctest-vn1-vm1-39786800 launched on Node cn-jenkins-deploy-platform-ansible-os-4502-1 2025-10-27 11:50:28,355 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/d0c91108-9bed-4922-b691-c1a4079674b9 2025-10-27 11:50:28,369 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/4be24df7-e9f2-4456-a493-e1e4bfcaf907 2025-10-27 11:50:31,620 - 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 1009ms') 2025-10-27 11:50:31,620 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39786800 failed! 2025-10-27 11:50:31,674 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48069999:ctest-vn1-81027745 is 136.245.147.1 and allocation pool is NOT set 2025-10-27 11:50:31,675 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48069999:ctest-vn1-81027745 is 71.140.94.129 and allocation pool is NOT set 2025-10-27 11:50:35,752 - 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 1013ms') 2025-10-27 11:50:35,752 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39786800 failed! 2025-10-27 11:50:35,806 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48069999:ctest-vn1-81027745 is 136.245.147.1 and allocation pool is NOT set 2025-10-27 11:50:35,806 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48069999:ctest-vn1-81027745 is 71.140.94.129 and allocation pool is NOT set 2025-10-27 11:50:37,869 - 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=3.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.596 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.596/2.158/3.720/1.562 ms') 2025-10-27 11:50:37,869 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39786800 passed 2025-10-27 11:50:38,018 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:50:38,019 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-39786800, IP 136.245.147.5, Port 22 2025-10-27 11:50:38,190 - DEBUG - VM ctest-vn1-vm1-39786800 is ready for SSH connections 2025-10-27 11:50:38,190 - INFO - Waiting for VM ctest-vn1-vm2-36598929 to be up.. 2025-10-27 11:50:38,272 - DEBUG - VM is in ACTIVE state now 2025-10-27 11:50:38,272 - INFO - VM name : ctest-vn1-vm2-36598929 2025-10-27 11:50:38,352 - DEBUG - VM ctest-vn1-vm2-36598929 ID is 18e82eda-b03e-448f-9124-ffde7e9f925f 2025-10-27 11:50:38,353 - DEBUG - VM ctest-vn1-vm2-36598929 launched on Node cn-jenkins-deploy-platform-ansible-os-4502-1 2025-10-27 11:50:38,435 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/18e82eda-b03e-448f-9124-ffde7e9f925f 2025-10-27 11:50:38,446 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/4ebe65a2-5023-4e99-9d67-0cd65fc8e84e 2025-10-27 11:50:39,683 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.392 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.392/2.099/3.806/1.707 ms') 2025-10-27 11:50:39,683 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-36598929 passed 2025-10-27 11:50:39,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:50:39,838 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-36598929, IP 71.140.94.133, Port 22 2025-10-27 11:50:40,004 - DEBUG - VM ctest-vn1-vm2-36598929 is ready for SSH connections 2025-10-27 11:50:40,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:50:40,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:50:40,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:50:40,005 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.245.147.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-27 11:50:40,005 - DEBUG - ping -s 56 -c 3 -W 1 136.245.147.5 2025-10-27 11:50:42,747 - DEBUG - PING 136.245.147.5 (136.245.147.5): 56 data bytes 64 bytes from 136.245.147.5: seq=0 ttl=63 time=3.865 ms 64 bytes from 136.245.147.5: seq=1 ttl=63 time=0.962 ms 64 bytes from 136.245.147.5: seq=2 ttl=63 time=0.935 ms --- 136.245.147.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.935/1.920/3.865 ms 2025-10-27 11:50:42,747 - INFO - Ping to IP 136.245.147.5 from VM ctest-vn1-vm2-36598929 passed 2025-10-27 11:50:42,747 - INFO - Detaching port 4ebe65a2-5023-4e99-9d67-0cd65fc8e84e from VM ctest-vn1-vm2-36598929 2025-10-27 11:50:42,803 - INFO - Deleting VM ctest-vn1-vm2-36598929 2025-10-27 11:50:42,881 - INFO - Detaching port 4be24df7-e9f2-4456-a493-e1e4bfcaf907 from VM ctest-vn1-vm1-39786800 2025-10-27 11:50:42,919 - INFO - Deleting VM ctest-vn1-vm1-39786800 2025-10-27 11:50:43,199 - DEBUG - Response for delete_port : () 2025-10-27 11:50:43,395 - DEBUG - Response for delete_port : () 2025-10-27 11:50:43,395 - INFO - Deleting VN ctest-vn1-81027745 2025-10-27 11:50:43,558 - DEBUG - Response for deleting network () 2025-10-27 11:50:43,821 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 11:50:43,821 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23] 2025-10-27 11:50:43,821 - INFO - -------------------------------------------------------------------------------- 2025-10-27 11:50:44,587 - INFO - Deleted project: ctest-TestPorts-48069999, ID : 924c3c88-d9b1-4864-b5e1-92322c1684b5