2026-01-07 12:13:36,022 - INFO - Domain Default found not creating 2026-01-07 12:13:36,173 - INFO - Project ctest-TestRoutersBasic-95080122 not found, creating it 2026-01-07 12:13:36,614 - INFO - Created Project:ctest-TestRoutersBasic-95080122, ID : 1f2f74d8-6b54-4df5-a018-f52e54ef1d2a 2026-01-07 12:13:38,062 - INFO - ================================================================================ 2026-01-07 12:13:38,062 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-07 12:13:38,062 - 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-01-07 12:13:38,316 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-01-07 12:13:38,316 - INFO - Initial checks done. Running the testcase now 2026-01-07 12:13:38,317 - INFO - 2026-01-07 12:13:39,009 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-95080122 2026-01-07 12:13:39,103 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-95080122 2026-01-07 12:13:39,423 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95080122', 'default']} 2026-01-07 12:13:39,695 - DEBUG - Response for create_network : {'network': {'id': '97adb357-334c-47e1-87e5-1b8bfe770ecc', 'name': 'ctest-vn-88172968', 'tenant_id': '1f2f74d86b544df5a018f52e54ef1d2a', 'project_id': '1f2f74d86b544df5a018f52e54ef1d2a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95080122', 'ctest-vn-88172968'], 'port_security_enabled': True, 'description': ''}} 2026-01-07 12:13:39,896 - DEBUG - Response for create_subnet : {'subnet': {'id': '7519ddca-6bf1-42b7-ab18-0715e3f434f1', 'name': '', 'tenant_id': '1f2f74d86b544df5a018f52e54ef1d2a', 'network_id': '97adb357-334c-47e1-87e5-1b8bfe770ecc', 'ip_version': 4, 'cidr': '192.80.196.192/26', 'allocation_pools': [{'start': '192.80.196.194', 'end': '192.80.196.254'}], 'gateway_ip': '192.80.196.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.80.196.194', 'tags': [], 'project_id': '1f2f74d86b544df5a018f52e54ef1d2a'}} 2026-01-07 12:13:39,914 - INFO - Created VN ctest-vn-88172968 2026-01-07 12:13:39,963 - DEBUG - VN ctest-vn-88172968 UUID is 97adb357-334c-47e1-87e5-1b8bfe770ecc 2026-01-07 12:13:40,312 - DEBUG - Response for create_network : {'network': {'id': '7d9d97f5-12ae-434d-a557-4e0afcd30f1c', 'name': 'ctest-ext_vn-64985219', 'tenant_id': '1f2f74d86b544df5a018f52e54ef1d2a', 'project_id': '1f2f74d86b544df5a018f52e54ef1d2a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95080122', 'ctest-ext_vn-64985219'], 'port_security_enabled': True, 'description': ''}} 2026-01-07 12:13:40,521 - DEBUG - Response for create_subnet : {'subnet': {'id': '6394a9e8-de50-4b08-97d6-ea6bfaa1061a', 'name': '', 'tenant_id': '1f2f74d86b544df5a018f52e54ef1d2a', 'network_id': '7d9d97f5-12ae-434d-a557-4e0afcd30f1c', 'ip_version': 4, 'cidr': '157.251.186.64/26', 'allocation_pools': [{'start': '157.251.186.66', 'end': '157.251.186.126'}], 'gateway_ip': '157.251.186.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.251.186.66', 'tags': [], 'project_id': '1f2f74d86b544df5a018f52e54ef1d2a'}} 2026-01-07 12:13:40,537 - INFO - Created VN ctest-ext_vn-64985219 2026-01-07 12:13:40,587 - DEBUG - VN ctest-ext_vn-64985219 UUID is 7d9d97f5-12ae-434d-a557-4e0afcd30f1c 2026-01-07 12:13:40,781 - DEBUG - Services list from nova: [, , ] 2026-01-07 12:13:41,772 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4972-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4972-1) 2026-01-07 12:13:42,917 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4972-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4972-1) 2026-01-07 12:13:42,980 - INFO - Setting gateway for router b8c8fe8c-44ad-4735-915f-8327f2039546 to network 7d9d97f5-12ae-434d-a557-4e0afcd30f1c 2026-01-07 12:13:43,032 - INFO - Adding interface with subnet_id 7519ddca-6bf1-42b7-ab18-0715e3f434f1, port_id None to router b8c8fe8c-44ad-4735-915f-8327f2039546 2026-01-07 12:13:43,413 - INFO - Waiting for VM ctest-TestRoutersBasic-95080122-70983279 to be up.. 2026-01-07 12:13:43,595 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-07 12:13:48,665 - DEBUG - VM is in ACTIVE state now 2026-01-07 12:13:48,665 - INFO - VM name : ctest-TestRoutersBasic-95080122-70983279 2026-01-07 12:13:48,736 - DEBUG - VM ctest-TestRoutersBasic-95080122-70983279 ID is d31514df-3512-4bc5-855f-fcf159ecf866 2026-01-07 12:13:48,758 - DEBUG - VM ctest-TestRoutersBasic-95080122-70983279 launched on Node cn-jenkins-deploy-platform-ansible-os-4972-1 2026-01-07 12:13:48,834 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d31514df-3512-4bc5-855f-fcf159ecf866 2026-01-07 12:13:49,127 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d31514df-3512-4bc5-855f-fcf159ecf866 2026-01-07 12:13:49,160 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5bf27c04-1100-43bd-bf02-268e94d59d95 2026-01-07 12:13:52,399 - 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 1004ms') 2026-01-07 12:13:52,399 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-95080122-70983279 failed! 2026-01-07 12:13:52,451 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-95080122:ctest-vn-88172968 is 192.80.196.193 and allocation pool is NOT set 2026-01-07 12:13:54,509 - 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=2.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.456 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 = 0.456/1.482/2.509/1.026 ms') 2026-01-07 12:13:54,509 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-95080122-70983279 passed 2026-01-07 12:13:54,659 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 12:13:54,660 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-95080122-70983279, IP 192.80.196.195, Port 22 2026-01-07 12:13:54,811 - DEBUG - VM ctest-TestRoutersBasic-95080122-70983279 is ready for SSH connections 2026-01-07 12:13:54,811 - INFO - Waiting for VM ctest-TestRoutersBasic-95080122-93199576 to be up.. 2026-01-07 12:13:54,884 - DEBUG - VM is in ACTIVE state now 2026-01-07 12:13:54,884 - INFO - VM name : ctest-TestRoutersBasic-95080122-93199576 2026-01-07 12:13:54,951 - DEBUG - VM ctest-TestRoutersBasic-95080122-93199576 ID is 49b7478c-4720-47c5-adad-3405ecdd7f03 2026-01-07 12:13:54,951 - DEBUG - VM ctest-TestRoutersBasic-95080122-93199576 launched on Node cn-jenkins-deploy-platform-ansible-os-4972-1 2026-01-07 12:13:55,018 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/49b7478c-4720-47c5-adad-3405ecdd7f03 2026-01-07 12:13:55,025 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cd2a3633-1307-4594-8aab-8909e1319fa3 2026-01-07 12:13:56,250 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.447 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.447/1.803/3.159/1.356 ms') 2026-01-07 12:13:56,251 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-95080122-93199576 passed 2026-01-07 12:13:56,399 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 12:13:56,399 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-95080122-93199576, IP 157.251.186.67, Port 22 2026-01-07 12:13:56,555 - DEBUG - VM ctest-TestRoutersBasic-95080122-93199576 is ready for SSH connections 2026-01-07 12:13:56,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 12:13:56,555 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.251.186.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-07 12:13:56,555 - DEBUG - ping -s 56 -c 3 -W 1 157.251.186.67 2026-01-07 12:14:00,568 - DEBUG - PING 157.251.186.67 (157.251.186.67): 56 data bytes 64 bytes from 157.251.186.67: seq=0 ttl=62 time=6.491 ms 64 bytes from 157.251.186.67: seq=1 ttl=62 time=0.822 ms 64 bytes from 157.251.186.67: seq=2 ttl=62 time=0.852 ms --- 157.251.186.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.822/2.721/6.491 ms 2026-01-07 12:14:00,568 - INFO - Ping to IP 157.251.186.67 from VM ctest-TestRoutersBasic-95080122-70983279 passed 2026-01-07 12:14:00,568 - INFO - Deleting interface with subnet_id 7519ddca-6bf1-42b7-ab18-0715e3f434f1, port_id None from router b8c8fe8c-44ad-4735-915f-8327f2039546 2026-01-07 12:14:00,735 - INFO - Deleting VM ctest-TestRoutersBasic-95080122-93199576 2026-01-07 12:14:00,825 - INFO - Deleting VM ctest-TestRoutersBasic-95080122-70983279 2026-01-07 12:14:00,894 - INFO - Deleting VN ctest-ext_vn-64985219 2026-01-07 12:14:00,958 - DEBUG - VN 7d9d97f5-12ae-434d-a557-4e0afcd30f1c still in use: Unable to complete operation on network 7d9d97f5-12ae-434d-a557-4e0afcd30f1c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a8c55266-08c4-4ce9-a766-7c1d9e5ec00e'] 2026-01-07 12:14:00,958 - WARNING - Deleting VN ctest-ext_vn-64985219 failed..Will retry 2026-01-07 12:14:03,055 - DEBUG - Response for deleting network () 2026-01-07 12:14:03,055 - INFO - Deleting VN ctest-vn-88172968 2026-01-07 12:14:03,145 - DEBUG - Response for deleting network () 2026-01-07 12:14:03,401 - DEBUG - No XMPP flaps were noticed during the test 2026-01-07 12:14:03,401 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-01-07 12:14:03,401 - INFO - -------------------------------------------------------------------------------- 2026-01-07 12:14:04,076 - INFO - Deleted project: ctest-TestRoutersBasic-95080122, ID : 1f2f74d8-6b54-4df5-a018-f52e54ef1d2a