2026-02-02 02:07:14,941 - INFO - Domain Default found not creating 2026-02-02 02:07:15,122 - INFO - Project ctest-TestRoutersBasic-84826783 not found, creating it 2026-02-02 02:07:15,593 - INFO - Created Project:ctest-TestRoutersBasic-84826783, ID : 9a8c2ab9-e501-4059-85dd-1db834d945ed 2026-02-02 02:07:17,276 - INFO - ================================================================================ 2026-02-02 02:07:17,277 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-02 02:07:17,277 - 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-02-02 02:07:17,536 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with 2026-02-02 02:07:17,536 - INFO - Initial checks done. Running the testcase now 2026-02-02 02:07:17,536 - INFO - 2026-02-02 02:07:18,343 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-84826783 2026-02-02 02:07:18,447 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-84826783 2026-02-02 02:07:18,767 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84826783', 'default']} 2026-02-02 02:07:19,065 - DEBUG - Response for create_network : {'network': {'id': 'b3de186d-0221-4050-a516-feee4f398bd8', 'name': 'ctest-vn-72779607', 'tenant_id': '9a8c2ab9e501405985dd1db834d945ed', 'project_id': '9a8c2ab9e501405985dd1db834d945ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84826783', 'ctest-vn-72779607'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 02:07:19,248 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da0896f5-a24d-4a36-976d-ec67a36c2127', 'name': '', 'tenant_id': '9a8c2ab9e501405985dd1db834d945ed', 'network_id': 'b3de186d-0221-4050-a516-feee4f398bd8', 'ip_version': 4, 'cidr': '109.227.58.64/26', 'allocation_pools': [{'start': '109.227.58.66', 'end': '109.227.58.126'}], 'gateway_ip': '109.227.58.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.227.58.66', 'tags': [], 'project_id': '9a8c2ab9e501405985dd1db834d945ed'}} 2026-02-02 02:07:19,267 - INFO - Created VN ctest-vn-72779607 2026-02-02 02:07:19,319 - DEBUG - VN ctest-vn-72779607 UUID is b3de186d-0221-4050-a516-feee4f398bd8 2026-02-02 02:07:19,661 - DEBUG - Response for create_network : {'network': {'id': 'f3ef8344-ed74-46a0-999a-f06c146a2103', 'name': 'ctest-ext_vn-00156158', 'tenant_id': '9a8c2ab9e501405985dd1db834d945ed', 'project_id': '9a8c2ab9e501405985dd1db834d945ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84826783', 'ctest-ext_vn-00156158'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 02:07:19,861 - DEBUG - Response for create_subnet : {'subnet': {'id': '306d7d63-718b-4c69-b4b8-628dea360f12', 'name': '', 'tenant_id': '9a8c2ab9e501405985dd1db834d945ed', 'network_id': 'f3ef8344-ed74-46a0-999a-f06c146a2103', 'ip_version': 4, 'cidr': '72.213.202.128/26', 'allocation_pools': [{'start': '72.213.202.130', 'end': '72.213.202.190'}], 'gateway_ip': '72.213.202.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.213.202.130', 'tags': [], 'project_id': '9a8c2ab9e501405985dd1db834d945ed'}} 2026-02-02 02:07:19,881 - INFO - Created VN ctest-ext_vn-00156158 2026-02-02 02:07:19,935 - DEBUG - VN ctest-ext_vn-00156158 UUID is f3ef8344-ed74-46a0-999a-f06c146a2103 2026-02-02 02:07:20,110 - DEBUG - Services list from nova: [, , ] 2026-02-02 02:07:21,267 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5166-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5166-1) 2026-02-02 02:07:22,567 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5166-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5166-1) 2026-02-02 02:07:22,670 - INFO - Setting gateway for router 2fb1be8e-6528-4e93-8441-317a22b7ab2d to network f3ef8344-ed74-46a0-999a-f06c146a2103 2026-02-02 02:07:22,767 - INFO - Adding interface with subnet_id da0896f5-a24d-4a36-976d-ec67a36c2127, port_id None to router 2fb1be8e-6528-4e93-8441-317a22b7ab2d 2026-02-02 02:07:23,113 - INFO - Waiting for VM ctest-TestRoutersBasic-84826783-77155613 to be up.. 2026-02-02 02:07:23,276 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-02 02:07:28,369 - DEBUG - VM is in ACTIVE state now 2026-02-02 02:07:28,370 - INFO - VM name : ctest-TestRoutersBasic-84826783-77155613 2026-02-02 02:07:28,463 - DEBUG - VM ctest-TestRoutersBasic-84826783-77155613 ID is 858c996d-d11f-4377-ad83-18a427255d5e 2026-02-02 02:07:28,485 - DEBUG - VM ctest-TestRoutersBasic-84826783-77155613 launched on Node cn-jenkins-deploy-platform-ansible-os-5166-1 2026-02-02 02:07:28,567 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/858c996d-d11f-4377-ad83-18a427255d5e 2026-02-02 02:07:28,913 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/858c996d-d11f-4377-ad83-18a427255d5e 2026-02-02 02:07:28,949 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/2f181860-02bf-44f8-ab79-821242fb3c64 2026-02-02 02:07:32,217 - 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 1018ms') 2026-02-02 02:07:32,217 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84826783-77155613 failed! 2026-02-02 02:07:32,271 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-84826783:ctest-vn-72779607 is 109.227.58.65 and allocation pool is NOT set 2026-02-02 02:07:34,334 - 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=3.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.437 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 = 0.437/1.947/3.458/1.510 ms') 2026-02-02 02:07:34,334 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84826783-77155613 passed 2026-02-02 02:07:34,483 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 02:07:34,483 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84826783-77155613, IP 109.227.58.67, Port 22 2026-02-02 02:07:34,638 - DEBUG - VM ctest-TestRoutersBasic-84826783-77155613 is ready for SSH connections 2026-02-02 02:07:34,638 - INFO - Waiting for VM ctest-TestRoutersBasic-84826783-43972559 to be up.. 2026-02-02 02:07:34,724 - DEBUG - VM is in ACTIVE state now 2026-02-02 02:07:34,724 - INFO - VM name : ctest-TestRoutersBasic-84826783-43972559 2026-02-02 02:07:34,809 - DEBUG - VM ctest-TestRoutersBasic-84826783-43972559 ID is a4234559-2420-44c5-83ee-7e58bc4b3784 2026-02-02 02:07:34,809 - DEBUG - VM ctest-TestRoutersBasic-84826783-43972559 launched on Node cn-jenkins-deploy-platform-ansible-os-5166-1 2026-02-02 02:07:34,898 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/a4234559-2420-44c5-83ee-7e58bc4b3784 2026-02-02 02:07:34,906 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/44159290-1f5f-4e26-a487-1f2ac2f262ab 2026-02-02 02:07:36,149 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.610 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.610/1.948/3.287/1.338 ms') 2026-02-02 02:07:36,149 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-84826783-43972559 passed 2026-02-02 02:07:36,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 02:07:36,307 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84826783-43972559, IP 72.213.202.131, Port 22 2026-02-02 02:07:36,462 - DEBUG - VM ctest-TestRoutersBasic-84826783-43972559 is ready for SSH connections 2026-02-02 02:07:36,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 02:07:36,462 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.213.202.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-02-02 02:07:36,462 - DEBUG - ping -s 56 -c 3 -W 1 72.213.202.131 2026-02-02 02:07:40,232 - DEBUG - PING 72.213.202.131 (72.213.202.131): 56 data bytes 64 bytes from 72.213.202.131: seq=0 ttl=62 time=7.083 ms 64 bytes from 72.213.202.131: seq=1 ttl=62 time=0.951 ms 64 bytes from 72.213.202.131: seq=2 ttl=62 time=1.272 ms --- 72.213.202.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.951/3.102/7.083 ms 2026-02-02 02:07:40,232 - INFO - Ping to IP 72.213.202.131 from VM ctest-TestRoutersBasic-84826783-77155613 passed 2026-02-02 02:07:40,232 - INFO - Deleting interface with subnet_id da0896f5-a24d-4a36-976d-ec67a36c2127, port_id None from router 2fb1be8e-6528-4e93-8441-317a22b7ab2d 2026-02-02 02:07:40,436 - INFO - Deleting VM ctest-TestRoutersBasic-84826783-43972559 2026-02-02 02:07:40,513 - INFO - Deleting VM ctest-TestRoutersBasic-84826783-77155613 2026-02-02 02:07:40,606 - INFO - Deleting VN ctest-ext_vn-00156158 2026-02-02 02:07:40,673 - DEBUG - VN f3ef8344-ed74-46a0-999a-f06c146a2103 still in use: Unable to complete operation on network f3ef8344-ed74-46a0-999a-f06c146a2103. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5102128c-9128-40b6-b090-2cb564e8d065'] 2026-02-02 02:07:40,673 - WARNING - Deleting VN ctest-ext_vn-00156158 failed..Will retry 2026-02-02 02:07:42,785 - DEBUG - Response for deleting network () 2026-02-02 02:07:42,785 - INFO - Deleting VN ctest-vn-72779607 2026-02-02 02:07:42,889 - DEBUG - Response for deleting network () 2026-02-02 02:07:43,146 - DEBUG - No XMPP flaps were noticed during the test
2026-02-02 02:07:43,146 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-02-02 02:07:43,146 - INFO - -------------------------------------------------------------------------------- 2026-02-02 02:07:43,887 - INFO - Deleted project: ctest-TestRoutersBasic-84826783, ID : 9a8c2ab9-e501-4059-85dd-1db834d945ed