2026-07-29 15:02:17,602 - INFO - Domain Default found not creating 2026-07-29 15:02:17,825 - INFO - Project ctest-TestRoutersBasic-91713871 not found, creating it 2026-07-29 15:02:18,411 - INFO - Created Project:ctest-TestRoutersBasic-91713871, ID : a91b8b83-abe9-4eb2-a0b7-9df1ec30f9ae 2026-07-29 15:02:20,447 - INFO - ================================================================================ 2026-07-29 15:02:20,447 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-07-29 15:02:20,447 - 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-07-29 15:02:20,728 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0'}} with 2026-07-29 15:02:20,728 - INFO - Initial checks done. Running the testcase now 2026-07-29 15:02:20,728 - INFO - 2026-07-29 15:02:21,682 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-91713871 2026-07-29 15:02:21,784 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-91713871 2026-07-29 15:02:22,128 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91713871', 'default']} 2026-07-29 15:02:22,467 - DEBUG - Response for create_network : {'network': {'id': '1370568a-7bb7-419f-a628-093e6557edcb', 'name': 'ctest-vn-08547089', 'tenant_id': 'a91b8b83abe94eb2a0b79df1ec30f9ae', 'project_id': 'a91b8b83abe94eb2a0b79df1ec30f9ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91713871', 'ctest-vn-08547089'], 'port_security_enabled': True, 'description': ''}} 2026-07-29 15:02:22,687 - DEBUG - Response for create_subnet : {'subnet': {'id': '6153d4fd-b57e-4520-87c1-fe21221b4462', 'name': '', 'tenant_id': 'a91b8b83abe94eb2a0b79df1ec30f9ae', 'network_id': '1370568a-7bb7-419f-a628-093e6557edcb', 'ip_version': 4, 'cidr': '77.105.223.128/26', 'allocation_pools': [{'start': '77.105.223.130', 'end': '77.105.223.190'}], 'gateway_ip': '77.105.223.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.105.223.130', 'tags': [], 'project_id': 'a91b8b83abe94eb2a0b79df1ec30f9ae'}} 2026-07-29 15:02:22,707 - INFO - Created VN ctest-vn-08547089 2026-07-29 15:02:22,760 - DEBUG - VN ctest-vn-08547089 UUID is 1370568a-7bb7-419f-a628-093e6557edcb 2026-07-29 15:02:23,162 - DEBUG - Response for create_network : {'network': {'id': '746b384b-5d6f-458d-a6f2-eedc1a08d38e', 'name': 'ctest-ext_vn-69645498', 'tenant_id': 'a91b8b83abe94eb2a0b79df1ec30f9ae', 'project_id': 'a91b8b83abe94eb2a0b79df1ec30f9ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91713871', 'ctest-ext_vn-69645498'], 'port_security_enabled': True, 'description': ''}} 2026-07-29 15:02:23,371 - DEBUG - Response for create_subnet : {'subnet': {'id': '2cc65099-466a-4591-a25f-dd1d88fce407', 'name': '', 'tenant_id': 'a91b8b83abe94eb2a0b79df1ec30f9ae', 'network_id': '746b384b-5d6f-458d-a6f2-eedc1a08d38e', 'ip_version': 4, 'cidr': '194.253.71.192/26', 'allocation_pools': [{'start': '194.253.71.194', 'end': '194.253.71.254'}], 'gateway_ip': '194.253.71.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.253.71.194', 'tags': [], 'project_id': 'a91b8b83abe94eb2a0b79df1ec30f9ae'}} 2026-07-29 15:02:23,391 - INFO - Created VN ctest-ext_vn-69645498 2026-07-29 15:02:23,448 - DEBUG - VN ctest-ext_vn-69645498 UUID is 746b384b-5d6f-458d-a6f2-eedc1a08d38e 2026-07-29 15:02:23,645 - DEBUG - Services list from nova: [, , ] 2026-07-29 15:02:24,069 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6119-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6119-1) 2026-07-29 15:02:24,547 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6119-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6119-1) 2026-07-29 15:02:24,657 - INFO - Setting gateway for router e92c68fd-aea3-4017-9162-0019e2224ca0 to network 746b384b-5d6f-458d-a6f2-eedc1a08d38e 2026-07-29 15:02:24,734 - INFO - Adding interface with subnet_id 6153d4fd-b57e-4520-87c1-fe21221b4462, port_id None to router e92c68fd-aea3-4017-9162-0019e2224ca0 2026-07-29 15:02:25,157 - INFO - Waiting for VM ctest-TestRoutersBasic-91713871-41432218 to be up.. 2026-07-29 15:02:25,268 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 15:02:30,491 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 15:02:35,592 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 15:02:40,689 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 15:02:45,800 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 15:02:50,907 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 15:02:56,016 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 15:03:01,157 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-29 15:03:06,287 - DEBUG - VM is in ACTIVE state now 2026-07-29 15:03:06,288 - INFO - VM name : ctest-TestRoutersBasic-91713871-41432218 2026-07-29 15:03:06,408 - DEBUG - VM ctest-TestRoutersBasic-91713871-41432218 ID is 4ecbf53e-05e3-4c9d-9227-6a206578d1e3 2026-07-29 15:03:06,444 - DEBUG - VM ctest-TestRoutersBasic-91713871-41432218 launched on Node cn-jenkins-deploy-platform-ansible-os-6119-1 2026-07-29 15:03:06,571 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/4ecbf53e-05e3-4c9d-9227-6a206578d1e3 2026-07-29 15:03:07,010 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/4ecbf53e-05e3-4c9d-9227-6a206578d1e3 2026-07-29 15:03:07,069 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2c1fa6bd-e62c-447c-834d-a7f75a29ba4f 2026-07-29 15:03:10,375 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms') 2026-07-29 15:03:10,375 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-91713871-41432218 failed! 2026-07-29 15:03:10,444 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-91713871:ctest-vn-08547089 is 77.105.223.129 and allocation pool is NOT set 2026-07-29 15:03:12,511 - 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=1 ttl=63 time=5.62 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.27 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.270/3.443/5.617/2.173 ms') 2026-07-29 15:03:12,511 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-91713871-41432218 passed 2026-07-29 15:03:12,676 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-29 15:03:12,676 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91713871-41432218, IP 77.105.223.131, Port 22 2026-07-29 15:03:12,851 - DEBUG - VM ctest-TestRoutersBasic-91713871-41432218 is ready for SSH connections 2026-07-29 15:03:12,851 - INFO - Waiting for VM ctest-TestRoutersBasic-91713871-86500673 to be up.. 2026-07-29 15:03:12,955 - DEBUG - VM is in ACTIVE state now 2026-07-29 15:03:12,955 - INFO - VM name : ctest-TestRoutersBasic-91713871-86500673 2026-07-29 15:03:13,068 - DEBUG - VM ctest-TestRoutersBasic-91713871-86500673 ID is 836e4fa2-80b7-492f-8263-1a3efd15907e 2026-07-29 15:03:13,068 - DEBUG - VM ctest-TestRoutersBasic-91713871-86500673 launched on Node cn-jenkins-deploy-platform-ansible-os-6119-1 2026-07-29 15:03:13,169 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/836e4fa2-80b7-492f-8263-1a3efd15907e 2026-07-29 15:03:13,181 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c128b315-f42e-425f-9f45-4b89914a6b47 2026-07-29 15:03:16,454 - 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 1007ms') 2026-07-29 15:03:16,454 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-91713871-86500673 failed! 2026-07-29 15:03:16,516 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-91713871:ctest-ext_vn-69645498 is 194.253.71.193 and allocation pool is NOT set 2026-07-29 15:03:18,581 - 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=5.01 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.425 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.425/2.715/5.005/2.290 ms') 2026-07-29 15:03:18,581 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-91713871-86500673 passed 2026-07-29 15:03:18,740 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-29 15:03:18,740 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91713871-86500673, IP 194.253.71.196, Port 22 2026-07-29 15:03:18,915 - DEBUG - VM ctest-TestRoutersBasic-91713871-86500673 is ready for SSH connections 2026-07-29 15:03:18,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-29 15:03:18,915 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.253.71.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-07-29 15:03:18,915 - DEBUG - ping -s 56 -c 3 -W 1 194.253.71.196 2026-07-29 15:03:22,135 - DEBUG - PING 194.253.71.196 (194.253.71.196): 56 data bytes 64 bytes from 194.253.71.196: seq=0 ttl=62 time=6.860 ms 64 bytes from 194.253.71.196: seq=1 ttl=62 time=1.884 ms 64 bytes from 194.253.71.196: seq=2 ttl=62 time=1.524 ms --- 194.253.71.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.524/3.422/6.860 ms 2026-07-29 15:03:22,135 - INFO - Ping to IP 194.253.71.196 from VM ctest-TestRoutersBasic-91713871-41432218 passed 2026-07-29 15:03:22,136 - INFO - Deleting interface with subnet_id 6153d4fd-b57e-4520-87c1-fe21221b4462, port_id None from router e92c68fd-aea3-4017-9162-0019e2224ca0 2026-07-29 15:03:22,443 - INFO - Deleting VM ctest-TestRoutersBasic-91713871-86500673 2026-07-29 15:03:22,541 - INFO - Deleting VM ctest-TestRoutersBasic-91713871-41432218 2026-07-29 15:03:22,638 - INFO - Deleting VN ctest-ext_vn-69645498 2026-07-29 15:03:22,737 - DEBUG - VN 746b384b-5d6f-458d-a6f2-eedc1a08d38e still in use: Unable to complete operation on network 746b384b-5d6f-458d-a6f2-eedc1a08d38e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-00efba3a-9a61-4199-b2e2-9b2e6bbf7dea'] 2026-07-29 15:03:22,738 - WARNING - Deleting VN ctest-ext_vn-69645498 failed..Will retry 2026-07-29 15:03:24,982 - DEBUG - Response for deleting network () 2026-07-29 15:03:24,982 - INFO - Deleting VN ctest-vn-08547089 2026-07-29 15:03:25,151 - DEBUG - Response for deleting network () 2026-07-29 15:03:25,427 - DEBUG - No XMPP flaps were noticed during the test 2026-07-29 15:03:25,427 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:05] 2026-07-29 15:03:25,428 - INFO - -------------------------------------------------------------------------------- 2026-07-29 15:03:26,287 - INFO - Deleted project: ctest-TestRoutersBasic-91713871, ID : a91b8b83-abe9-4eb2-a0b7-9df1ec30f9ae