2026-05-14 02:11:10,555 - INFO - Reading existing Domain with UUID d251bbb1-a677-4b52-8c85-ab79c9809042 2026-05-14 02:11:10,567 - INFO - Using existing domain ['admin_domain'](d251bbb1-a677-4b52-8c85-ab79c9809042) 2026-05-14 02:11:10,818 - INFO - Project ctest-TestRoutersBasic-99852161 not found, creating it 2026-05-14 02:11:11,337 - INFO - Created Project:ctest-TestRoutersBasic-99852161, ID : d0eff831-6634-4472-a9bf-af5e271d726a 2026-05-14 02:11:13,764 - INFO - ================================================================================ 2026-05-14 02:11:13,764 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-14 02:11:13,764 - 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-05-14 02:11:14,164 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.0.0.241': '0'}} with 2026-05-14 02:11:14,164 - INFO - Initial checks done. Running the testcase now 2026-05-14 02:11:14,164 - INFO - 2026-05-14 02:11:14,990 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-99852161 2026-05-14 02:11:15,094 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-99852161 2026-05-14 02:11:15,454 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-99852161', 'default']} 2026-05-14 02:11:16,068 - DEBUG - Response for create_network : {'network': {'id': 'b1820045-0743-4d68-8cce-edd7a15ae337', 'name': 'ctest-vn-87693246', 'tenant_id': 'd0eff83166344472a9bfaf5e271d726a', 'project_id': 'd0eff83166344472a9bfaf5e271d726a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-99852161', 'ctest-vn-87693246'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-05-14 02:11:16,445 - DEBUG - Response for create_subnet : {'subnet': {'id': '6fd8f220-16a2-4396-845c-c23a447bf7d6', 'name': '', 'tenant_id': 'd0eff83166344472a9bfaf5e271d726a', 'network_id': 'b1820045-0743-4d68-8cce-edd7a15ae337', 'ip_version': 4, 'cidr': '79.55.93.192/26', 'allocation_pools': [{'start': '79.55.93.194', 'end': '79.55.93.254'}], 'gateway_ip': '79.55.93.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-05-14T02:11:16.336781', 'updated_at': '2026-05-14T02:11:16.336781', 'dns_server_address': '79.55.93.194', 'tags': [], 'project_id': 'd0eff83166344472a9bfaf5e271d726a'}} 2026-05-14 02:11:16,512 - INFO - Created VN ctest-vn-87693246 2026-05-14 02:11:16,566 - DEBUG - VN ctest-vn-87693246 UUID is b1820045-0743-4d68-8cce-edd7a15ae337 2026-05-14 02:11:17,099 - DEBUG - Response for create_network : {'network': {'id': 'acca2d4b-5758-43a6-b353-87cd214f1a89', 'name': 'ctest-ext_vn-08167016', 'tenant_id': 'd0eff83166344472a9bfaf5e271d726a', 'project_id': 'd0eff83166344472a9bfaf5e271d726a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-99852161', 'ctest-ext_vn-08167016'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-05-14 02:11:17,383 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f5c54b8c-a70c-4ed2-af48-3bd4719122a9', 'name': '', 'tenant_id': 'd0eff83166344472a9bfaf5e271d726a', 'network_id': 'acca2d4b-5758-43a6-b353-87cd214f1a89', 'ip_version': 4, 'cidr': '45.142.126.64/26', 'allocation_pools': [{'start': '45.142.126.66', 'end': '45.142.126.126'}], 'gateway_ip': '45.142.126.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-05-14T02:11:17.244318', 'updated_at': '2026-05-14T02:11:17.244318', 'dns_server_address': '45.142.126.66', 'tags': [], 'project_id': 'd0eff83166344472a9bfaf5e271d726a'}} 2026-05-14 02:11:17,449 - INFO - Created VN ctest-ext_vn-08167016 2026-05-14 02:11:17,502 - DEBUG - VN ctest-ext_vn-08167016 UUID is acca2d4b-5758-43a6-b353-87cd214f1a89 2026-05-14 02:11:17,778 - DEBUG - Services list from nova: [, , ] 2026-05-14 02:11:19,005 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-703-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-703-1) 2026-05-14 02:11:20,293 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-703-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-703-1) 2026-05-14 02:11:20,436 - INFO - Setting gateway for router 2d1060aa-467b-439a-a5b4-47ce28708535 to network acca2d4b-5758-43a6-b353-87cd214f1a89 2026-05-14 02:11:20,600 - INFO - Adding interface with subnet_id 6fd8f220-16a2-4396-845c-c23a447bf7d6, port_id None to router 2d1060aa-467b-439a-a5b4-47ce28708535 2026-05-14 02:11:21,105 - INFO - Waiting for VM ctest-TestRoutersBasic-99852161-58104295 to be up.. 2026-05-14 02:11:21,321 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-14 02:11:26,470 - DEBUG - VM is in ACTIVE state now 2026-05-14 02:11:26,470 - INFO - VM name : ctest-TestRoutersBasic-99852161-58104295 2026-05-14 02:11:26,616 - DEBUG - VM ctest-TestRoutersBasic-99852161-58104295 ID is 54e3f297-bc55-45cd-bb7d-925649d97daa 2026-05-14 02:11:26,642 - DEBUG - VM ctest-TestRoutersBasic-99852161-58104295 launched on Node cn-jenkins-deploy-platform-juju-os-703-1 2026-05-14 02:11:26,790 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/54e3f297-bc55-45cd-bb7d-925649d97daa 2026-05-14 02:11:27,145 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/54e3f297-bc55-45cd-bb7d-925649d97daa 2026-05-14 02:11:27,239 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/ccb7cbcd-f51a-4ffd-b5fd-8cfafcceaf4b 2026-05-14 02:11:30,701 - 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 1003ms') 2026-05-14 02:11:30,701 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-99852161-58104295 failed! 2026-05-14 02:11:30,762 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-99852161:ctest-vn-87693246 is 79.55.93.193 and allocation pool is NOT set 2026-05-14 02:11:32,862 - 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=15.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.85 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.854/8.995/15.136/6.141 ms') 2026-05-14 02:11:32,862 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-99852161-58104295 passed 2026-05-14 02:11:33,018 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 02:11:33,018 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99852161-58104295, IP 79.55.93.195, Port 22 2026-05-14 02:11:33,120 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-05-14 02:11:33,265 - DEBUG - VM ctest-TestRoutersBasic-99852161-58104295 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-14 02:11:38,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 02:11:38,267 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99852161-58104295, IP 79.55.93.195, Port 22 2026-05-14 02:11:38,481 - DEBUG - VM ctest-TestRoutersBasic-99852161-58104295 is ready for SSH connections 2026-05-14 02:11:38,481 - INFO - Waiting for VM ctest-TestRoutersBasic-99852161-71607815 to be up.. 2026-05-14 02:11:38,634 - DEBUG - VM is in ACTIVE state now 2026-05-14 02:11:38,634 - INFO - VM name : ctest-TestRoutersBasic-99852161-71607815 2026-05-14 02:11:38,777 - DEBUG - VM ctest-TestRoutersBasic-99852161-71607815 ID is f1350453-e5e8-4128-9e46-c178b22fea1d 2026-05-14 02:11:38,777 - DEBUG - VM ctest-TestRoutersBasic-99852161-71607815 launched on Node cn-jenkins-deploy-platform-juju-os-703-1 2026-05-14 02:11:38,930 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/f1350453-e5e8-4128-9e46-c178b22fea1d 2026-05-14 02:11:38,983 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/1a1721b2-cc56-4a04-abc4-62c6c05271a6 2026-05-14 02:11:40,447 - 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.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.481 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.481/1.965/3.450/1.484 ms') 2026-05-14 02:11:40,447 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-99852161-71607815 passed 2026-05-14 02:11:40,602 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 02:11:40,602 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99852161-71607815, IP 45.142.126.67, Port 22 2026-05-14 02:11:40,817 - DEBUG - VM ctest-TestRoutersBasic-99852161-71607815 is ready for SSH connections 2026-05-14 02:11:40,817 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 02:11:40,817 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.142.126.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-05-14 02:11:40,817 - DEBUG - ping -s 56 -c 3 -W 1 45.142.126.67 2026-05-14 02:11:44,971 - DEBUG - PING 45.142.126.67 (45.142.126.67): 56 data bytes 64 bytes from 45.142.126.67: seq=0 ttl=62 time=8.339 ms 64 bytes from 45.142.126.67: seq=1 ttl=62 time=1.098 ms 64 bytes from 45.142.126.67: seq=2 ttl=62 time=1.001 ms --- 45.142.126.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.001/3.479/8.339 ms 2026-05-14 02:11:44,971 - INFO - Ping to IP 45.142.126.67 from VM ctest-TestRoutersBasic-99852161-58104295 passed 2026-05-14 02:11:44,971 - INFO - Deleting interface with subnet_id 6fd8f220-16a2-4396-845c-c23a447bf7d6, port_id None from router 2d1060aa-467b-439a-a5b4-47ce28708535 2026-05-14 02:11:45,346 - INFO - Deleting VM ctest-TestRoutersBasic-99852161-71607815 2026-05-14 02:11:45,461 - INFO - Deleting VM ctest-TestRoutersBasic-99852161-58104295 2026-05-14 02:11:45,592 - INFO - Deleting VN ctest-ext_vn-08167016 2026-05-14 02:11:45,778 - DEBUG - VN acca2d4b-5758-43a6-b353-87cd214f1a89 still in use: Unable to complete operation on network acca2d4b-5758-43a6-b353-87cd214f1a89. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a67ccee5-9372-4e8c-a859-ffff4f508abe'] 2026-05-14 02:11:45,778 - WARNING - Deleting VN ctest-ext_vn-08167016 failed..Will retry 2026-05-14 02:11:47,976 - DEBUG - Response for deleting network () 2026-05-14 02:11:47,976 - INFO - Deleting VN ctest-vn-87693246 2026-05-14 02:11:48,168 - DEBUG - Response for deleting network () 2026-05-14 02:11:48,575 - DEBUG - No XMPP flaps were noticed during the test 2026-05-14 02:11:48,576 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:35] 2026-05-14 02:11:48,576 - INFO - -------------------------------------------------------------------------------- 2026-05-14 02:11:49,347 - INFO - Deleted project: ctest-TestRoutersBasic-99852161, ID : d0eff831-6634-4472-a9bf-af5e271d726a