2025-10-15 07:18:42,706 - INFO - Domain Default found not creating 2025-10-15 07:18:42,858 - INFO - Project ctest-TestRoutersBasic-08940555 not found, creating it 2025-10-15 07:18:43,304 - INFO - Created Project:ctest-TestRoutersBasic-08940555, ID : a2e48f43-6116-4dd7-ab28-d8a2fa130335 2025-10-15 07:18:44,695 - INFO - ================================================================================ 2025-10-15 07:18:44,695 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-15 07:18:44,695 - INFO - TEST DESCRIPTION : Create an external network, a router set router-gateway to external network launch a private network and attach it to router validate left vm pinging right vm through Snat 2025-10-15 07:18:44,947 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.5': '0'}} with 2025-10-15 07:18:44,948 - INFO - Initial checks done. Running the testcase now 2025-10-15 07:18:44,948 - INFO - 2025-10-15 07:18:45,630 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-08940555 2025-10-15 07:18:45,723 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-08940555 2025-10-15 07:18:46,039 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08940555', 'default']} 2025-10-15 07:18:46,305 - DEBUG - Response for create_network : {'network': {'id': '439cb97f-3ce3-47eb-a6c3-99c7b3a138b7', 'name': 'ctest-vn-91800758', 'tenant_id': 'a2e48f4361164dd7ab28d8a2fa130335', 'project_id': 'a2e48f4361164dd7ab28d8a2fa130335', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08940555', 'ctest-vn-91800758'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 07:18:46,496 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd09037d8-28dc-4a5a-b38b-92b086e472b7', 'name': '', 'tenant_id': 'a2e48f4361164dd7ab28d8a2fa130335', 'network_id': '439cb97f-3ce3-47eb-a6c3-99c7b3a138b7', 'ip_version': 4, 'cidr': '172.201.179.64/26', 'allocation_pools': [{'start': '172.201.179.66', 'end': '172.201.179.126'}], 'gateway_ip': '172.201.179.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.201.179.66', 'tags': [], 'project_id': 'a2e48f4361164dd7ab28d8a2fa130335'}} 2025-10-15 07:18:46,513 - INFO - Created VN ctest-vn-91800758 2025-10-15 07:18:46,567 - DEBUG - VN ctest-vn-91800758 UUID is 439cb97f-3ce3-47eb-a6c3-99c7b3a138b7 2025-10-15 07:18:46,885 - DEBUG - Response for create_network : {'network': {'id': '95644be1-e183-48aa-903e-4a8decf73a20', 'name': 'ctest-ext_vn-00324608', 'tenant_id': 'a2e48f4361164dd7ab28d8a2fa130335', 'project_id': 'a2e48f4361164dd7ab28d8a2fa130335', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08940555', 'ctest-ext_vn-00324608'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 07:18:47,062 - DEBUG - Response for create_subnet : {'subnet': {'id': '99e7284b-03be-4270-9c03-6da18655f2c6', 'name': '', 'tenant_id': 'a2e48f4361164dd7ab28d8a2fa130335', 'network_id': '95644be1-e183-48aa-903e-4a8decf73a20', 'ip_version': 4, 'cidr': '14.213.147.128/26', 'allocation_pools': [{'start': '14.213.147.130', 'end': '14.213.147.190'}], 'gateway_ip': '14.213.147.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.213.147.130', 'tags': [], 'project_id': 'a2e48f4361164dd7ab28d8a2fa130335'}} 2025-10-15 07:18:47,078 - INFO - Created VN ctest-ext_vn-00324608 2025-10-15 07:18:47,131 - DEBUG - VN ctest-ext_vn-00324608 UUID is 95644be1-e183-48aa-903e-4a8decf73a20 2025-10-15 07:18:47,323 - DEBUG - Services list from nova: [, , ] 2025-10-15 07:18:48,329 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4321-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4321-1) 2025-10-15 07:18:49,518 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4321-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4321-1) 2025-10-15 07:18:49,611 - INFO - Setting gateway for router 3d427f28-cfe4-4d17-b5e4-91894c7215a2 to network 95644be1-e183-48aa-903e-4a8decf73a20 2025-10-15 07:18:49,697 - INFO - Adding interface with subnet_id d09037d8-28dc-4a5a-b38b-92b086e472b7, port_id None to router 3d427f28-cfe4-4d17-b5e4-91894c7215a2 2025-10-15 07:18:50,138 - INFO - Waiting for VM ctest-TestRoutersBasic-08940555-74348019 to be up.. 2025-10-15 07:18:50,295 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-15 07:18:55,370 - DEBUG - VM is in ACTIVE state now 2025-10-15 07:18:55,370 - INFO - VM name : ctest-TestRoutersBasic-08940555-74348019 2025-10-15 07:18:55,437 - DEBUG - VM ctest-TestRoutersBasic-08940555-74348019 ID is eedc3a4e-2112-4438-90ba-4659e2bc779e 2025-10-15 07:18:55,455 - DEBUG - VM ctest-TestRoutersBasic-08940555-74348019 launched on Node cn-jenkins-deploy-platform-ansible-os-4321-1 2025-10-15 07:18:55,526 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/eedc3a4e-2112-4438-90ba-4659e2bc779e 2025-10-15 07:18:55,823 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/eedc3a4e-2112-4438-90ba-4659e2bc779e 2025-10-15 07:18:55,851 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/b2a1bcd1-6fb3-4c51-9f01-aae1dae5d3af 2025-10-15 07:18:59,093 - 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 1011ms') 2025-10-15 07:18:59,093 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08940555-74348019 failed! 2025-10-15 07:18:59,147 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-08940555:ctest-vn-91800758 is 172.201.179.65 and allocation pool is NOT set 2025-10-15 07:19:01,211 - 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.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.09 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.085/2.649/3.213/0.564 ms') 2025-10-15 07:19:01,211 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08940555-74348019 passed 2025-10-15 07:19:01,363 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 07:19:01,363 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08940555-74348019, IP 172.201.179.67, Port 22 2025-10-15 07:19:01,518 - DEBUG - VM ctest-TestRoutersBasic-08940555-74348019 is ready for SSH connections 2025-10-15 07:19:01,518 - INFO - Waiting for VM ctest-TestRoutersBasic-08940555-72911935 to be up.. 2025-10-15 07:19:01,595 - DEBUG - VM is in ACTIVE state now 2025-10-15 07:19:01,595 - INFO - VM name : ctest-TestRoutersBasic-08940555-72911935 2025-10-15 07:19:01,667 - DEBUG - VM ctest-TestRoutersBasic-08940555-72911935 ID is 78c9b0c2-3511-41a0-9fc7-224d011076b1 2025-10-15 07:19:01,667 - DEBUG - VM ctest-TestRoutersBasic-08940555-72911935 launched on Node cn-jenkins-deploy-platform-ansible-os-4321-1 2025-10-15 07:19:01,740 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/78c9b0c2-3511-41a0-9fc7-224d011076b1 2025-10-15 07:19:01,749 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/adb6dc74-f814-42d7-b36d-33da3aa719cd 2025-10-15 07:19:02,991 - 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.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.833 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.833/2.545/4.258/1.712 ms') 2025-10-15 07:19:02,991 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-08940555-72911935 passed 2025-10-15 07:19:03,139 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 07:19:03,139 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08940555-72911935, IP 14.213.147.131, Port 22 2025-10-15 07:19:03,313 - DEBUG - VM ctest-TestRoutersBasic-08940555-72911935 is ready for SSH connections 2025-10-15 07:19:03,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 07:19:03,313 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.213.147.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-15 07:19:03,313 - DEBUG - ping -s 56 -c 3 -W 1 14.213.147.131 2025-10-15 07:19:06,992 - DEBUG - PING 14.213.147.131 (14.213.147.131): 56 data bytes 64 bytes from 14.213.147.131: seq=0 ttl=62 time=5.496 ms 64 bytes from 14.213.147.131: seq=1 ttl=62 time=0.913 ms 64 bytes from 14.213.147.131: seq=2 ttl=62 time=1.063 ms --- 14.213.147.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.913/2.490/5.496 ms 2025-10-15 07:19:06,992 - INFO - Ping to IP 14.213.147.131 from VM ctest-TestRoutersBasic-08940555-74348019 passed 2025-10-15 07:19:06,992 - INFO - Deleting interface with subnet_id d09037d8-28dc-4a5a-b38b-92b086e472b7, port_id None from router 3d427f28-cfe4-4d17-b5e4-91894c7215a2 2025-10-15 07:19:07,169 - INFO - Deleting VM ctest-TestRoutersBasic-08940555-72911935 2025-10-15 07:19:07,235 - INFO - Deleting VM ctest-TestRoutersBasic-08940555-74348019 2025-10-15 07:19:07,300 - INFO - Deleting VN ctest-ext_vn-00324608 2025-10-15 07:19:07,363 - DEBUG - VN 95644be1-e183-48aa-903e-4a8decf73a20 still in use: Unable to complete operation on network 95644be1-e183-48aa-903e-4a8decf73a20. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8d674171-e41e-4b64-af01-cde7ba5949be'] 2025-10-15 07:19:07,363 - WARNING - Deleting VN ctest-ext_vn-00324608 failed..Will retry 2025-10-15 07:19:09,467 - DEBUG - Response for deleting network () 2025-10-15 07:19:09,467 - INFO - Deleting VN ctest-vn-91800758 2025-10-15 07:19:09,571 - DEBUG - Response for deleting network () 2025-10-15 07:19:09,823 - DEBUG - No XMPP flaps were noticed during the test
2025-10-15 07:19:09,823 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-15 07:19:09,823 - INFO - -------------------------------------------------------------------------------- 2025-10-15 07:19:10,489 - INFO - Deleted project: ctest-TestRoutersBasic-08940555, ID : a2e48f43-6116-4dd7-ab28-d8a2fa130335