2026-08-20 03:46:37,257 - INFO - Domain Default found not creating 2026-08-20 03:46:37,424 - INFO - Project ctest-TestRoutersBasic-79981396 not found, creating it 2026-08-20 03:46:37,903 - INFO - Created Project:ctest-TestRoutersBasic-79981396, ID : 5edb6f1f-b037-4bf1-a5e3-750427731a09 2026-08-20 03:46:39,549 - INFO - ================================================================================ 2026-08-20 03:46:39,549 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-20 03:46:39,549 - 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 2026-08-20 03:46:39,809 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-08-20 03:46:39,810 - INFO - Initial checks done. Running the testcase now 2026-08-20 03:46:39,810 - INFO - 2026-08-20 03:46:40,590 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-79981396 2026-08-20 03:46:40,688 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-79981396 2026-08-20 03:46:41,012 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79981396', 'default']} 2026-08-20 03:46:41,297 - DEBUG - Response for create_network : {'network': {'id': '3c5169a6-c079-4a1c-8ecc-546d3ce73d9e', 'name': 'ctest-vn-64526067', 'tenant_id': '5edb6f1fb0374bf1a5e3750427731a09', 'project_id': '5edb6f1fb0374bf1a5e3750427731a09', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79981396', 'ctest-vn-64526067'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 03:46:41,511 - DEBUG - Response for create_subnet : {'subnet': {'id': 'decfa34b-db7a-4947-8717-f2e2f8e5de8b', 'name': '', 'tenant_id': '5edb6f1fb0374bf1a5e3750427731a09', 'network_id': '3c5169a6-c079-4a1c-8ecc-546d3ce73d9e', 'ip_version': 4, 'cidr': '82.64.197.64/26', 'allocation_pools': [{'start': '82.64.197.66', 'end': '82.64.197.126'}], 'gateway_ip': '82.64.197.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.64.197.66', 'tags': [], 'project_id': '5edb6f1fb0374bf1a5e3750427731a09'}} 2026-08-20 03:46:41,527 - INFO - Created VN ctest-vn-64526067 2026-08-20 03:46:41,576 - DEBUG - VN ctest-vn-64526067 UUID is 3c5169a6-c079-4a1c-8ecc-546d3ce73d9e 2026-08-20 03:46:41,924 - DEBUG - Response for create_network : {'network': {'id': '6f0ef128-92ee-42ea-96af-5e325f512565', 'name': 'ctest-ext_vn-69985056', 'tenant_id': '5edb6f1fb0374bf1a5e3750427731a09', 'project_id': '5edb6f1fb0374bf1a5e3750427731a09', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79981396', 'ctest-ext_vn-69985056'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 03:46:42,131 - DEBUG - Response for create_subnet : {'subnet': {'id': '7447f768-9e99-4f0c-8f55-2dcc7b943c16', 'name': '', 'tenant_id': '5edb6f1fb0374bf1a5e3750427731a09', 'network_id': '6f0ef128-92ee-42ea-96af-5e325f512565', 'ip_version': 4, 'cidr': '105.109.134.0/26', 'allocation_pools': [{'start': '105.109.134.2', 'end': '105.109.134.62'}], 'gateway_ip': '105.109.134.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.109.134.2', 'tags': [], 'project_id': '5edb6f1fb0374bf1a5e3750427731a09'}} 2026-08-20 03:46:42,147 - INFO - Created VN ctest-ext_vn-69985056 2026-08-20 03:46:42,200 - DEBUG - VN ctest-ext_vn-69985056 UUID is 6f0ef128-92ee-42ea-96af-5e325f512565 2026-08-20 03:46:42,394 - DEBUG - Services list from nova: [, , ] 2026-08-20 03:46:42,687 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6181-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6181-1) 2026-08-20 03:46:43,050 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6181-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6181-1) 2026-08-20 03:46:43,135 - INFO - Setting gateway for router 702a6824-ba8b-4f9d-9bd0-5699d081e58f to network 6f0ef128-92ee-42ea-96af-5e325f512565 2026-08-20 03:46:43,185 - INFO - Adding interface with subnet_id decfa34b-db7a-4947-8717-f2e2f8e5de8b, port_id None to router 702a6824-ba8b-4f9d-9bd0-5699d081e58f 2026-08-20 03:46:43,476 - INFO - Waiting for VM ctest-TestRoutersBasic-79981396-44614718 to be up.. 2026-08-20 03:46:43,533 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 03:46:48,606 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 03:46:53,682 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 03:46:58,757 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 03:47:03,851 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 03:47:08,934 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 03:47:14,067 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 03:47:19,140 - DEBUG - VM is in ACTIVE state now 2026-08-20 03:47:19,140 - INFO - VM name : ctest-TestRoutersBasic-79981396-44614718 2026-08-20 03:47:19,210 - DEBUG - VM ctest-TestRoutersBasic-79981396-44614718 ID is e725cb16-4a08-4a85-a219-00ebcd1ab585 2026-08-20 03:47:19,231 - DEBUG - VM ctest-TestRoutersBasic-79981396-44614718 launched on Node cn-jenkins-deploy-platform-ansible-os-6181-1 2026-08-20 03:47:19,319 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e725cb16-4a08-4a85-a219-00ebcd1ab585 2026-08-20 03:47:19,650 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e725cb16-4a08-4a85-a219-00ebcd1ab585 2026-08-20 03:47:19,681 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/838d2baa-c770-4ef1-8be1-60f75fd10066 2026-08-20 03:47:22,946 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=11.0 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1021ms\r\nrtt min/avg/max/mdev = 10.967/10.967/10.967/0.000 ms') 2026-08-20 03:47:22,946 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-79981396-44614718 passed 2026-08-20 03:47:23,100 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 03:47:23,100 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79981396-44614718, IP 82.64.197.67, Port 22 2026-08-20 03:47:23,260 - DEBUG - VM ctest-TestRoutersBasic-79981396-44614718 is ready for SSH connections 2026-08-20 03:47:23,260 - INFO - Waiting for VM ctest-TestRoutersBasic-79981396-64586761 to be up.. 2026-08-20 03:47:23,333 - DEBUG - VM is in ACTIVE state now 2026-08-20 03:47:23,333 - INFO - VM name : ctest-TestRoutersBasic-79981396-64586761 2026-08-20 03:47:23,407 - DEBUG - VM ctest-TestRoutersBasic-79981396-64586761 ID is 436d900f-dabe-47f8-9077-4780aeadae2e 2026-08-20 03:47:23,410 - DEBUG - VM ctest-TestRoutersBasic-79981396-64586761 launched on Node cn-jenkins-deploy-platform-ansible-os-6181-1 2026-08-20 03:47:23,481 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/436d900f-dabe-47f8-9077-4780aeadae2e 2026-08-20 03:47:23,492 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8cab56f8-e810-4dea-af09-9d07c943e916 2026-08-20 03:47:26,730 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1002ms') 2026-08-20 03:47:26,730 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-79981396-64586761 failed! 2026-08-20 03:47:26,784 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-79981396:ctest-ext_vn-69985056 is 105.109.134.1 and allocation pool is NOT set 2026-08-20 03:47:28,848 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=4.51 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=2.54 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.544/3.525/4.507/0.981 ms') 2026-08-20 03:47:28,848 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-79981396-64586761 passed 2026-08-20 03:47:28,996 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 03:47:28,996 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79981396-64586761, IP 105.109.134.4, Port 22 2026-08-20 03:47:29,168 - DEBUG - VM ctest-TestRoutersBasic-79981396-64586761 is ready for SSH connections 2026-08-20 03:47:29,169 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 03:47:29,169 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.109.134.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-20 03:47:29,169 - DEBUG - ping -s 56 -c 3 -W 1 105.109.134.4 2026-08-20 03:47:32,114 - DEBUG - PING 105.109.134.4 (105.109.134.4): 56 data bytes 64 bytes from 105.109.134.4: seq=0 ttl=62 time=7.794 ms 64 bytes from 105.109.134.4: seq=1 ttl=62 time=1.359 ms 64 bytes from 105.109.134.4: seq=2 ttl=62 time=1.049 ms --- 105.109.134.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.049/3.400/7.794 ms 2026-08-20 03:47:32,114 - INFO - Ping to IP 105.109.134.4 from VM ctest-TestRoutersBasic-79981396-44614718 passed 2026-08-20 03:47:32,114 - INFO - Deleting interface with subnet_id decfa34b-db7a-4947-8717-f2e2f8e5de8b, port_id None from router 702a6824-ba8b-4f9d-9bd0-5699d081e58f 2026-08-20 03:47:32,315 - INFO - Deleting VM ctest-TestRoutersBasic-79981396-64586761 2026-08-20 03:47:32,399 - INFO - Deleting VM ctest-TestRoutersBasic-79981396-44614718 2026-08-20 03:47:32,477 - INFO - Deleting VN ctest-ext_vn-69985056 2026-08-20 03:47:32,563 - DEBUG - VN 6f0ef128-92ee-42ea-96af-5e325f512565 still in use: Unable to complete operation on network 6f0ef128-92ee-42ea-96af-5e325f512565. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-50e69173-1d55-4daf-ab99-001680a827f2'] 2026-08-20 03:47:32,563 - WARNING - Deleting VN ctest-ext_vn-69985056 failed..Will retry 2026-08-20 03:47:34,692 - DEBUG - Response for deleting network () 2026-08-20 03:47:34,692 - INFO - Deleting VN ctest-vn-64526067 2026-08-20 03:47:34,792 - DEBUG - Response for deleting network () 2026-08-20 03:47:35,052 - DEBUG - No XMPP flaps were noticed during the test 2026-08-20 03:47:35,052 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:56] 2026-08-20 03:47:35,052 - INFO - -------------------------------------------------------------------------------- 2026-08-20 03:47:35,795 - INFO - Deleted project: ctest-TestRoutersBasic-79981396, ID : 5edb6f1f-b037-4bf1-a5e3-750427731a09