2026-09-17 08:49:56,985 - INFO - Domain Default found not creating 2026-09-17 08:49:57,157 - INFO - Project ctest-TestRoutersBasic-35920020 not found, creating it 2026-09-17 08:49:57,654 - INFO - Created Project:ctest-TestRoutersBasic-35920020, ID : 20d63839-2cad-4eb9-abfb-619fc0117267 2026-09-17 08:49:59,546 - INFO - ================================================================================ 2026-09-17 08:49:59,546 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-17 08:49:59,546 - 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-09-17 08:49:59,802 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.17': '0'}} with 2026-09-17 08:49:59,802 - INFO - Initial checks done. Running the testcase now 2026-09-17 08:49:59,802 - INFO - 2026-09-17 08:50:00,680 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-35920020 2026-09-17 08:50:00,779 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-35920020 2026-09-17 08:50:01,107 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35920020', 'default']} 2026-09-17 08:50:01,423 - DEBUG - Response for create_network : {'network': {'id': '665964d9-a4b9-4cca-a8a9-889ce92eb904', 'name': 'ctest-vn-71584874', 'tenant_id': '20d638392cad4eb9abfb619fc0117267', 'project_id': '20d638392cad4eb9abfb619fc0117267', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35920020', 'ctest-vn-71584874'], 'port_security_enabled': True, 'description': ''}} 2026-09-17 08:50:01,647 - DEBUG - Response for create_subnet : {'subnet': {'id': '72ca60ac-d97d-45e5-81b9-cd58dedeb74f', 'name': '', 'tenant_id': '20d638392cad4eb9abfb619fc0117267', 'network_id': '665964d9-a4b9-4cca-a8a9-889ce92eb904', 'ip_version': 4, 'cidr': '31.86.113.64/26', 'allocation_pools': [{'start': '31.86.113.66', 'end': '31.86.113.126'}], 'gateway_ip': '31.86.113.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.86.113.66', 'tags': [], 'project_id': '20d638392cad4eb9abfb619fc0117267'}} 2026-09-17 08:50:01,668 - INFO - Created VN ctest-vn-71584874 2026-09-17 08:50:01,724 - DEBUG - VN ctest-vn-71584874 UUID is 665964d9-a4b9-4cca-a8a9-889ce92eb904 2026-09-17 08:50:02,102 - DEBUG - Response for create_network : {'network': {'id': '64ae40a5-2017-4216-91bd-3a0a700ca897', 'name': 'ctest-ext_vn-15335261', 'tenant_id': '20d638392cad4eb9abfb619fc0117267', 'project_id': '20d638392cad4eb9abfb619fc0117267', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35920020', 'ctest-ext_vn-15335261'], 'port_security_enabled': True, 'description': ''}} 2026-09-17 08:50:02,326 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad9dea9f-8a5e-471e-bda1-0b830fa86a44', 'name': '', 'tenant_id': '20d638392cad4eb9abfb619fc0117267', 'network_id': '64ae40a5-2017-4216-91bd-3a0a700ca897', 'ip_version': 4, 'cidr': '43.154.200.0/26', 'allocation_pools': [{'start': '43.154.200.2', 'end': '43.154.200.62'}], 'gateway_ip': '43.154.200.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.154.200.2', 'tags': [], 'project_id': '20d638392cad4eb9abfb619fc0117267'}} 2026-09-17 08:50:02,347 - INFO - Created VN ctest-ext_vn-15335261 2026-09-17 08:50:02,399 - DEBUG - VN ctest-ext_vn-15335261 UUID is 64ae40a5-2017-4216-91bd-3a0a700ca897 2026-09-17 08:50:02,573 - DEBUG - Services list from nova: [, , ] 2026-09-17 08:50:02,943 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6296-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6296-1) 2026-09-17 08:50:03,419 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6296-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6296-1) 2026-09-17 08:50:03,493 - INFO - Setting gateway for router eb01b96d-b2b3-4700-bb3c-7b7343d48af5 to network 64ae40a5-2017-4216-91bd-3a0a700ca897 2026-09-17 08:50:03,553 - INFO - Adding interface with subnet_id 72ca60ac-d97d-45e5-81b9-cd58dedeb74f, port_id None to router eb01b96d-b2b3-4700-bb3c-7b7343d48af5 2026-09-17 08:50:03,873 - INFO - Waiting for VM ctest-TestRoutersBasic-35920020-68161278 to be up.. 2026-09-17 08:50:03,948 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 08:50:09,031 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 08:50:14,191 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 08:50:19,284 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 08:50:24,375 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 08:50:29,467 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 08:50:34,562 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 08:50:39,654 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 08:50:44,737 - DEBUG - VM is in ACTIVE state now 2026-09-17 08:50:44,737 - INFO - VM name : ctest-TestRoutersBasic-35920020-68161278 2026-09-17 08:50:44,832 - DEBUG - VM ctest-TestRoutersBasic-35920020-68161278 ID is d52487b2-8fc7-44da-970d-18f87b8cb1af 2026-09-17 08:50:44,856 - DEBUG - VM ctest-TestRoutersBasic-35920020-68161278 launched on Node cn-jenkins-deploy-platform-ansible-os-6296-1 2026-09-17 08:50:44,942 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/d52487b2-8fc7-44da-970d-18f87b8cb1af 2026-09-17 08:50:45,317 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/d52487b2-8fc7-44da-970d-18f87b8cb1af 2026-09-17 08:50:45,350 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/344d3db2-1244-45f3-aa21-cb0d23c20896 2026-09-17 08:50:48,619 - 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=3.92 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 = 3.918/3.918/3.918/0.000 ms') 2026-09-17 08:50:48,620 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-35920020-68161278 passed 2026-09-17 08:50:48,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 08:50:48,771 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35920020-68161278, IP 31.86.113.67, Port 22 2026-09-17 08:50:48,937 - DEBUG - VM ctest-TestRoutersBasic-35920020-68161278 is ready for SSH connections 2026-09-17 08:50:48,937 - INFO - Waiting for VM ctest-TestRoutersBasic-35920020-88444334 to be up.. 2026-09-17 08:50:49,023 - DEBUG - VM is in ACTIVE state now 2026-09-17 08:50:49,024 - INFO - VM name : ctest-TestRoutersBasic-35920020-88444334 2026-09-17 08:50:49,110 - DEBUG - VM ctest-TestRoutersBasic-35920020-88444334 ID is 43531434-382b-4d12-b51d-f10320bc9221 2026-09-17 08:50:49,110 - DEBUG - VM ctest-TestRoutersBasic-35920020-88444334 launched on Node cn-jenkins-deploy-platform-ansible-os-6296-1 2026-09-17 08:50:49,194 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/43531434-382b-4d12-b51d-f10320bc9221 2026-09-17 08:50:49,205 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/ab90e886-2013-4688-a3d5-e2127391a738 2026-09-17 08:50:52,461 - 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 1005ms') 2026-09-17 08:50:52,461 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-35920020-88444334 failed! 2026-09-17 08:50:52,520 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-35920020:ctest-ext_vn-15335261 is 43.154.200.1 and allocation pool is NOT set 2026-09-17 08:50:54,589 - 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=16.0 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=3.05 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 = 3.048/9.547/16.046/6.499 ms') 2026-09-17 08:50:54,589 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-35920020-88444334 passed 2026-09-17 08:50:54,743 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 08:50:54,744 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35920020-88444334, IP 43.154.200.4, Port 22 2026-09-17 08:50:54,810 - DEBUG - Error on ssh to cirros@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-09-17 08:50:54,900 - DEBUG - VM ctest-TestRoutersBasic-35920020-88444334 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-17 08:50:59,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 08:50:59,901 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35920020-88444334, IP 43.154.200.4, Port 22 2026-09-17 08:51:00,098 - DEBUG - VM ctest-TestRoutersBasic-35920020-88444334 is ready for SSH connections 2026-09-17 08:51:00,098 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 08:51:00,098 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.154.200.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-09-17 08:51:00,098 - DEBUG - ping -s 56 -c 3 -W 1 43.154.200.4 2026-09-17 08:51:03,130 - DEBUG - PING 43.154.200.4 (43.154.200.4): 56 data bytes 64 bytes from 43.154.200.4: seq=0 ttl=62 time=6.701 ms 64 bytes from 43.154.200.4: seq=1 ttl=62 time=1.156 ms 64 bytes from 43.154.200.4: seq=2 ttl=62 time=1.171 ms --- 43.154.200.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.156/3.009/6.701 ms 2026-09-17 08:51:03,131 - INFO - Ping to IP 43.154.200.4 from VM ctest-TestRoutersBasic-35920020-68161278 passed 2026-09-17 08:51:03,131 - INFO - Deleting interface with subnet_id 72ca60ac-d97d-45e5-81b9-cd58dedeb74f, port_id None from router eb01b96d-b2b3-4700-bb3c-7b7343d48af5 2026-09-17 08:51:03,361 - INFO - Deleting VM ctest-TestRoutersBasic-35920020-88444334 2026-09-17 08:51:03,443 - INFO - Deleting VM ctest-TestRoutersBasic-35920020-68161278 2026-09-17 08:51:03,536 - INFO - Deleting VN ctest-ext_vn-15335261 2026-09-17 08:51:03,616 - DEBUG - VN 64ae40a5-2017-4216-91bd-3a0a700ca897 still in use: Unable to complete operation on network 64ae40a5-2017-4216-91bd-3a0a700ca897. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7ec4f0c5-5e37-4c6a-9aac-2ac646ee95ca'] 2026-09-17 08:51:03,616 - WARNING - Deleting VN ctest-ext_vn-15335261 failed..Will retry 2026-09-17 08:51:05,676 - DEBUG - VN 64ae40a5-2017-4216-91bd-3a0a700ca897 still in use: Unable to complete operation on network 64ae40a5-2017-4216-91bd-3a0a700ca897. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9c6e8941-716e-416c-a29c-4f4c4746c72a'] 2026-09-17 08:51:05,676 - WARNING - Deleting VN ctest-ext_vn-15335261 failed..Will retry 2026-09-17 08:51:07,790 - DEBUG - Response for deleting network () 2026-09-17 08:51:07,791 - INFO - Deleting VN ctest-vn-71584874 2026-09-17 08:51:07,914 - DEBUG - Response for deleting network () 2026-09-17 08:51:08,185 - DEBUG - No XMPP flaps were noticed during the test 2026-09-17 08:51:08,185 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:09] 2026-09-17 08:51:08,185 - INFO - -------------------------------------------------------------------------------- 2026-09-17 08:51:09,023 - INFO - Deleted project: ctest-TestRoutersBasic-35920020, ID : 20d63839-2cad-4eb9-abfb-619fc0117267