2026-04-30 02:12:13,062 - INFO - Reading existing Domain with UUID 54f544c9-c831-4d04-9bb9-e86845e32e36 2026-04-30 02:12:13,073 - INFO - Using existing domain ['admin_domain'](54f544c9-c831-4d04-9bb9-e86845e32e36) 2026-04-30 02:12:13,411 - INFO - Project ctest-TestRoutersBasic-48767342 not found, creating it 2026-04-30 02:12:13,927 - INFO - Created Project:ctest-TestRoutersBasic-48767342, ID : 401830c6-7108-4edb-b931-c3e16f08b8ac 2026-04-30 02:12:15,701 - INFO - ================================================================================ 2026-04-30 02:12:15,701 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-30 02:12:15,701 - 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-04-30 02:12:16,082 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.0.0.27': '0'}} with 2026-04-30 02:12:16,082 - INFO - Initial checks done. Running the testcase now 2026-04-30 02:12:16,082 - INFO - 2026-04-30 02:12:16,881 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-48767342 2026-04-30 02:12:16,981 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-48767342 2026-04-30 02:12:17,320 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-48767342', 'default']} 2026-04-30 02:12:17,834 - DEBUG - Response for create_network : {'network': {'id': 'db9c4374-f047-46ca-8c87-27a32faa9fa0', 'name': 'ctest-vn-05170398', 'tenant_id': '401830c671084edbb931c3e16f08b8ac', 'project_id': '401830c671084edbb931c3e16f08b8ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-48767342', 'ctest-vn-05170398'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-04-30 02:12:18,058 - DEBUG - Response for create_subnet : {'subnet': {'id': '93c0777b-e4b6-46a9-9668-4f3fa0ea6648', 'name': '', 'tenant_id': '401830c671084edbb931c3e16f08b8ac', 'network_id': 'db9c4374-f047-46ca-8c87-27a32faa9fa0', 'ip_version': 4, 'cidr': '139.218.99.192/26', 'allocation_pools': [{'start': '139.218.99.194', 'end': '139.218.99.254'}], 'gateway_ip': '139.218.99.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-04-30T02:12:17.943496', 'updated_at': '2026-04-30T02:12:17.943496', 'dns_server_address': '139.218.99.194', 'tags': [], 'project_id': '401830c671084edbb931c3e16f08b8ac'}} 2026-04-30 02:12:18,123 - INFO - Created VN ctest-vn-05170398 2026-04-30 02:12:18,177 - DEBUG - VN ctest-vn-05170398 UUID is db9c4374-f047-46ca-8c87-27a32faa9fa0 2026-04-30 02:12:18,717 - DEBUG - Response for create_network : {'network': {'id': '45527bea-4657-48dc-a306-1cc83dbc16f5', 'name': 'ctest-ext_vn-21610872', 'tenant_id': '401830c671084edbb931c3e16f08b8ac', 'project_id': '401830c671084edbb931c3e16f08b8ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-48767342', 'ctest-ext_vn-21610872'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-04-30 02:12:19,002 - DEBUG - Response for create_subnet : {'subnet': {'id': '2342a0e6-7529-4268-a53a-637e0ed06a4e', 'name': '', 'tenant_id': '401830c671084edbb931c3e16f08b8ac', 'network_id': '45527bea-4657-48dc-a306-1cc83dbc16f5', 'ip_version': 4, 'cidr': '196.86.167.0/26', 'allocation_pools': [{'start': '196.86.167.2', 'end': '196.86.167.62'}], 'gateway_ip': '196.86.167.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-04-30T02:12:18.896352', 'updated_at': '2026-04-30T02:12:18.896352', 'dns_server_address': '196.86.167.2', 'tags': [], 'project_id': '401830c671084edbb931c3e16f08b8ac'}} 2026-04-30 02:12:19,071 - INFO - Created VN ctest-ext_vn-21610872 2026-04-30 02:12:19,125 - DEBUG - VN ctest-ext_vn-21610872 UUID is 45527bea-4657-48dc-a306-1cc83dbc16f5 2026-04-30 02:12:19,406 - DEBUG - Services list from nova: [, , ] 2026-04-30 02:12:20,606 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-699-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-699-1) 2026-04-30 02:12:22,068 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-699-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-699-1) 2026-04-30 02:12:22,233 - INFO - Setting gateway for router 7a52e571-0d6a-41db-9078-21cc588a06da to network 45527bea-4657-48dc-a306-1cc83dbc16f5 2026-04-30 02:12:22,398 - INFO - Adding interface with subnet_id 93c0777b-e4b6-46a9-9668-4f3fa0ea6648, port_id None to router 7a52e571-0d6a-41db-9078-21cc588a06da 2026-04-30 02:12:23,063 - INFO - Waiting for VM ctest-TestRoutersBasic-48767342-69616031 to be up.. 2026-04-30 02:12:23,247 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-30 02:12:28,504 - DEBUG - VM is in ACTIVE state now 2026-04-30 02:12:28,504 - INFO - VM name : ctest-TestRoutersBasic-48767342-69616031 2026-04-30 02:12:28,651 - DEBUG - VM ctest-TestRoutersBasic-48767342-69616031 ID is af8e5009-fd3d-4775-a94e-b8f6260f9beb 2026-04-30 02:12:28,701 - DEBUG - VM ctest-TestRoutersBasic-48767342-69616031 launched on Node cn-jenkins-deploy-platform-juju-os-699-1 2026-04-30 02:12:28,874 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine/af8e5009-fd3d-4775-a94e-b8f6260f9beb 2026-04-30 02:12:29,225 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine/af8e5009-fd3d-4775-a94e-b8f6260f9beb 2026-04-30 02:12:29,313 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine-interface/189478c5-e74d-4951-b91f-0fe75d9dd9b5 2026-04-30 02:12:32,781 - 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 1013ms') 2026-04-30 02:12:32,781 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-48767342-69616031 failed! 2026-04-30 02:12:32,837 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-48767342:ctest-vn-05170398 is 139.218.99.193 and allocation pool is NOT set 2026-04-30 02:12:34,923 - 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=4.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.25 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.253/3.208/4.164/0.955 ms') 2026-04-30 02:12:34,923 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-48767342-69616031 passed 2026-04-30 02:12:35,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 02:12:35,081 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-48767342-69616031, IP 139.218.99.195, Port 22 2026-04-30 02:12:35,295 - DEBUG - VM ctest-TestRoutersBasic-48767342-69616031 is ready for SSH connections 2026-04-30 02:12:35,295 - INFO - Waiting for VM ctest-TestRoutersBasic-48767342-76540299 to be up.. 2026-04-30 02:12:35,438 - DEBUG - VM is in ACTIVE state now 2026-04-30 02:12:35,438 - INFO - VM name : ctest-TestRoutersBasic-48767342-76540299 2026-04-30 02:12:35,575 - DEBUG - VM ctest-TestRoutersBasic-48767342-76540299 ID is ec251848-5fac-4c19-bba0-a09abfc477ac 2026-04-30 02:12:35,575 - DEBUG - VM ctest-TestRoutersBasic-48767342-76540299 launched on Node cn-jenkins-deploy-platform-juju-os-699-1 2026-04-30 02:12:35,718 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine/ec251848-5fac-4c19-bba0-a09abfc477ac 2026-04-30 02:12:35,773 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine-interface/46d6d769-201b-45bb-a92e-c27d83d6bd38 2026-04-30 02:12:37,231 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.459 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.459/1.787/3.115/1.328 ms') 2026-04-30 02:12:37,231 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-48767342-76540299 passed 2026-04-30 02:12:37,396 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 02:12:37,397 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-48767342-76540299, IP 196.86.167.3, Port 22 2026-04-30 02:12:37,611 - DEBUG - VM ctest-TestRoutersBasic-48767342-76540299 is ready for SSH connections 2026-04-30 02:12:37,611 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 02:12:37,611 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.86.167.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-04-30 02:12:37,611 - DEBUG - ping -s 56 -c 3 -W 1 196.86.167.3 2026-04-30 02:12:41,349 - DEBUG - PING 196.86.167.3 (196.86.167.3): 56 data bytes 64 bytes from 196.86.167.3: seq=0 ttl=62 time=4.405 ms 64 bytes from 196.86.167.3: seq=1 ttl=62 time=1.161 ms 64 bytes from 196.86.167.3: seq=2 ttl=62 time=1.053 ms --- 196.86.167.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.053/2.206/4.405 ms 2026-04-30 02:12:41,349 - INFO - Ping to IP 196.86.167.3 from VM ctest-TestRoutersBasic-48767342-69616031 passed 2026-04-30 02:12:41,350 - INFO - Deleting interface with subnet_id 93c0777b-e4b6-46a9-9668-4f3fa0ea6648, port_id None from router 7a52e571-0d6a-41db-9078-21cc588a06da 2026-04-30 02:12:41,737 - INFO - Deleting VM ctest-TestRoutersBasic-48767342-76540299 2026-04-30 02:12:41,851 - INFO - Deleting VM ctest-TestRoutersBasic-48767342-69616031 2026-04-30 02:12:41,968 - INFO - Deleting VN ctest-ext_vn-21610872 2026-04-30 02:12:42,180 - DEBUG - VN 45527bea-4657-48dc-a306-1cc83dbc16f5 still in use: Unable to complete operation on network 45527bea-4657-48dc-a306-1cc83dbc16f5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e20b30d8-4c31-4b75-9e46-8d714d678752'] 2026-04-30 02:12:42,181 - WARNING - Deleting VN ctest-ext_vn-21610872 failed..Will retry 2026-04-30 02:12:44,381 - DEBUG - Response for deleting network () 2026-04-30 02:12:44,381 - INFO - Deleting VN ctest-vn-05170398 2026-04-30 02:12:44,565 - DEBUG - Response for deleting network () 2026-04-30 02:12:44,954 - DEBUG - No XMPP flaps were noticed during the test 2026-04-30 02:12:44,954 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29] 2026-04-30 02:12:44,954 - INFO - -------------------------------------------------------------------------------- 2026-04-30 02:12:45,797 - INFO - Deleted project: ctest-TestRoutersBasic-48767342, ID : 401830c6-7108-4edb-b931-c3e16f08b8ac