2026-05-18 01:51:06,646 - INFO - Reading existing Domain with UUID 2d41c0d2-849f-4e48-95a3-b6637df9305b 2026-05-18 01:51:06,659 - INFO - Using existing domain ['admin_domain'](2d41c0d2-849f-4e48-95a3-b6637df9305b) 2026-05-18 01:51:06,874 - INFO - Project ctest-TestRoutersBasic-00973649 not found, creating it 2026-05-18 01:51:07,408 - INFO - Created Project:ctest-TestRoutersBasic-00973649, ID : 8ae9f17f-fac8-4e25-8b76-ed703806d34c 2026-05-18 01:51:09,271 - INFO - ================================================================================ 2026-05-18 01:51:09,272 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-18 01:51:09,272 - 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-18 01:51:09,665 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.0.0.241': '0'}} with 2026-05-18 01:51:09,665 - INFO - Initial checks done. Running the testcase now 2026-05-18 01:51:09,665 - INFO - 2026-05-18 01:51:10,507 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-00973649 2026-05-18 01:51:10,603 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-00973649 2026-05-18 01:51:10,927 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-00973649', 'default']} 2026-05-18 01:51:11,468 - DEBUG - Response for create_network : {'network': {'id': 'ade616a1-25c6-4f30-bb46-0d699340000e', 'name': 'ctest-vn-96681384', 'tenant_id': '8ae9f17ffac84e258b76ed703806d34c', 'project_id': '8ae9f17ffac84e258b76ed703806d34c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-00973649', 'ctest-vn-96681384'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-05-18 01:51:11,732 - DEBUG - Response for create_subnet : {'subnet': {'id': '355db7a5-72f9-4a16-96f0-36cc9bb588df', 'name': '', 'tenant_id': '8ae9f17ffac84e258b76ed703806d34c', 'network_id': 'ade616a1-25c6-4f30-bb46-0d699340000e', 'ip_version': 4, 'cidr': '67.21.54.0/26', 'allocation_pools': [{'start': '67.21.54.2', 'end': '67.21.54.62'}], 'gateway_ip': '67.21.54.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-05-18T01:51:11.630681', 'updated_at': '2026-05-18T01:51:11.630681', 'dns_server_address': '67.21.54.2', 'tags': [], 'project_id': '8ae9f17ffac84e258b76ed703806d34c'}} 2026-05-18 01:51:11,797 - INFO - Created VN ctest-vn-96681384 2026-05-18 01:51:11,851 - DEBUG - VN ctest-vn-96681384 UUID is ade616a1-25c6-4f30-bb46-0d699340000e 2026-05-18 01:51:12,408 - DEBUG - Response for create_network : {'network': {'id': '82c87152-667a-474d-8fca-f0dc51d0ed23', 'name': 'ctest-ext_vn-72546972', 'tenant_id': '8ae9f17ffac84e258b76ed703806d34c', 'project_id': '8ae9f17ffac84e258b76ed703806d34c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-00973649', 'ctest-ext_vn-72546972'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-05-18 01:51:12,688 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d8b07ba-6184-4a04-b517-dbac7c5307f8', 'name': '', 'tenant_id': '8ae9f17ffac84e258b76ed703806d34c', 'network_id': '82c87152-667a-474d-8fca-f0dc51d0ed23', 'ip_version': 4, 'cidr': '166.236.8.128/26', 'allocation_pools': [{'start': '166.236.8.130', 'end': '166.236.8.190'}], 'gateway_ip': '166.236.8.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-05-18T01:51:12.578552', 'updated_at': '2026-05-18T01:51:12.578552', 'dns_server_address': '166.236.8.130', 'tags': [], 'project_id': '8ae9f17ffac84e258b76ed703806d34c'}} 2026-05-18 01:51:12,757 - INFO - Created VN ctest-ext_vn-72546972 2026-05-18 01:51:12,811 - DEBUG - VN ctest-ext_vn-72546972 UUID is 82c87152-667a-474d-8fca-f0dc51d0ed23 2026-05-18 01:51:13,092 - DEBUG - Services list from nova: [, , ] 2026-05-18 01:51:14,351 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-704-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-704-1) 2026-05-18 01:51:15,651 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-704-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-704-1) 2026-05-18 01:51:15,793 - INFO - Setting gateway for router 384988cb-7b6b-49e7-86ec-00e70f9ce37c to network 82c87152-667a-474d-8fca-f0dc51d0ed23 2026-05-18 01:51:15,943 - INFO - Adding interface with subnet_id 355db7a5-72f9-4a16-96f0-36cc9bb588df, port_id None to router 384988cb-7b6b-49e7-86ec-00e70f9ce37c 2026-05-18 01:51:16,501 - INFO - Waiting for VM ctest-TestRoutersBasic-00973649-15879124 to be up.. 2026-05-18 01:51:16,658 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-18 01:51:21,814 - DEBUG - VM is in ACTIVE state now 2026-05-18 01:51:21,814 - INFO - VM name : ctest-TestRoutersBasic-00973649-15879124 2026-05-18 01:51:21,963 - DEBUG - VM ctest-TestRoutersBasic-00973649-15879124 ID is ab6f0260-4892-4a81-9313-cbf6213639db 2026-05-18 01:51:21,995 - DEBUG - VM ctest-TestRoutersBasic-00973649-15879124 launched on Node cn-jenkins-deploy-platform-juju-os-704-1 2026-05-18 01:51:22,145 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/ab6f0260-4892-4a81-9313-cbf6213639db 2026-05-18 01:51:22,570 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/ab6f0260-4892-4a81-9313-cbf6213639db 2026-05-18 01:51:22,668 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/88362dca-1bab-41c3-9775-3a598d1f001f 2026-05-18 01:51:26,166 - 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 1010ms') 2026-05-18 01:51:26,167 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-00973649-15879124 failed! 2026-05-18 01:51:26,227 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-00973649:ctest-vn-96681384 is 67.21.54.1 and allocation pool is NOT set 2026-05-18 01:51:28,319 - 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=8.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.58 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.576/5.690/8.804/3.114 ms') 2026-05-18 01:51:28,320 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-00973649-15879124 passed 2026-05-18 01:51:28,479 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 01:51:28,479 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00973649-15879124, IP 67.21.54.3, Port 22 2026-05-18 01:51:28,705 - DEBUG - VM ctest-TestRoutersBasic-00973649-15879124 is ready for SSH connections 2026-05-18 01:51:28,705 - INFO - Waiting for VM ctest-TestRoutersBasic-00973649-83074150 to be up.. 2026-05-18 01:51:28,881 - DEBUG - VM is in ACTIVE state now 2026-05-18 01:51:28,881 - INFO - VM name : ctest-TestRoutersBasic-00973649-83074150 2026-05-18 01:51:29,040 - DEBUG - VM ctest-TestRoutersBasic-00973649-83074150 ID is 80904712-a992-401a-b1cc-2cacbfaf7af2 2026-05-18 01:51:29,041 - DEBUG - VM ctest-TestRoutersBasic-00973649-83074150 launched on Node cn-jenkins-deploy-platform-juju-os-704-1 2026-05-18 01:51:29,205 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/80904712-a992-401a-b1cc-2cacbfaf7af2 2026-05-18 01:51:29,265 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/bd84428b-24c5-4414-beda-d1193f746513 2026-05-18 01:51:30,757 - 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=5.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.46 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 = 2.462/3.787/5.113/1.325 ms') 2026-05-18 01:51:30,757 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-00973649-83074150 passed 2026-05-18 01:51:30,923 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 01:51:30,923 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00973649-83074150, IP 166.236.8.131, Port 22 2026-05-18 01:51:31,144 - DEBUG - VM ctest-TestRoutersBasic-00973649-83074150 is ready for SSH connections 2026-05-18 01:51:31,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 01:51:31,144 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.236.8.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-05-18 01:51:31,144 - DEBUG - ping -s 56 -c 3 -W 1 166.236.8.131 2026-05-18 01:51:35,399 - DEBUG - PING 166.236.8.131 (166.236.8.131): 56 data bytes 64 bytes from 166.236.8.131: seq=0 ttl=62 time=7.313 ms 64 bytes from 166.236.8.131: seq=1 ttl=62 time=1.141 ms 64 bytes from 166.236.8.131: seq=2 ttl=62 time=1.408 ms --- 166.236.8.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.141/3.287/7.313 ms 2026-05-18 01:51:35,399 - INFO - Ping to IP 166.236.8.131 from VM ctest-TestRoutersBasic-00973649-15879124 passed 2026-05-18 01:51:35,399 - INFO - Deleting interface with subnet_id 355db7a5-72f9-4a16-96f0-36cc9bb588df, port_id None from router 384988cb-7b6b-49e7-86ec-00e70f9ce37c 2026-05-18 01:51:35,831 - INFO - Deleting VM ctest-TestRoutersBasic-00973649-83074150 2026-05-18 01:51:35,945 - INFO - Deleting VM ctest-TestRoutersBasic-00973649-15879124 2026-05-18 01:51:36,082 - INFO - Deleting VN ctest-ext_vn-72546972 2026-05-18 01:51:36,299 - DEBUG - VN 82c87152-667a-474d-8fca-f0dc51d0ed23 still in use: Unable to complete operation on network 82c87152-667a-474d-8fca-f0dc51d0ed23. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-65329746-da7a-43a0-a90b-2ac7e662055c'] 2026-05-18 01:51:36,300 - WARNING - Deleting VN ctest-ext_vn-72546972 failed..Will retry 2026-05-18 01:51:38,487 - DEBUG - Response for deleting network () 2026-05-18 01:51:38,488 - INFO - Deleting VN ctest-vn-96681384 2026-05-18 01:51:38,671 - DEBUG - Response for deleting network () 2026-05-18 01:51:39,069 - DEBUG - No XMPP flaps were noticed during the test 2026-05-18 01:51:39,069 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30] 2026-05-18 01:51:39,069 - INFO - -------------------------------------------------------------------------------- 2026-05-18 01:51:39,867 - INFO - Deleted project: ctest-TestRoutersBasic-00973649, ID : 8ae9f17f-fac8-4e25-8b76-ed703806d34c