2026-01-29 02:08:21,475 - INFO - Domain Default found not creating 2026-01-29 02:08:21,651 - INFO - Project ctest-TestRoutersBasic-33294519 not found, creating it 2026-01-29 02:08:22,146 - INFO - Created Project:ctest-TestRoutersBasic-33294519, ID : 02586f4f-07c1-474b-ace7-a6903931001f 2026-01-29 02:08:23,584 - INFO - ================================================================================ 2026-01-29 02:08:23,584 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-29 02:08:23,584 - 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-29 02:08:23,839 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.209': '0'}} with 2026-01-29 02:08:23,839 - INFO - Initial checks done. Running the testcase now 2026-01-29 02:08:23,839 - INFO - 2026-01-29 02:08:24,555 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-33294519 2026-01-29 02:08:24,657 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-33294519 2026-01-29 02:08:24,981 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33294519', 'default']} 2026-01-29 02:08:25,278 - DEBUG - Response for create_network : {'network': {'id': 'f49108d7-3152-42c5-b2bb-ea20b057b618', 'name': 'ctest-vn-34721828', 'tenant_id': '02586f4f07c1474bace7a6903931001f', 'project_id': '02586f4f07c1474bace7a6903931001f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33294519', 'ctest-vn-34721828'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 02:08:25,490 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7284b39-a1a2-4c61-9d99-09a0a5d408a2', 'name': '', 'tenant_id': '02586f4f07c1474bace7a6903931001f', 'network_id': 'f49108d7-3152-42c5-b2bb-ea20b057b618', 'ip_version': 4, 'cidr': '154.164.185.64/26', 'allocation_pools': [{'start': '154.164.185.66', 'end': '154.164.185.126'}], 'gateway_ip': '154.164.185.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.164.185.66', 'tags': [], 'project_id': '02586f4f07c1474bace7a6903931001f'}} 2026-01-29 02:08:25,512 - INFO - Created VN ctest-vn-34721828 2026-01-29 02:08:25,573 - DEBUG - VN ctest-vn-34721828 UUID is f49108d7-3152-42c5-b2bb-ea20b057b618 2026-01-29 02:08:25,902 - DEBUG - Response for create_network : {'network': {'id': '9267ded3-e589-4375-9630-9d11366dde57', 'name': 'ctest-ext_vn-28473517', 'tenant_id': '02586f4f07c1474bace7a6903931001f', 'project_id': '02586f4f07c1474bace7a6903931001f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33294519', 'ctest-ext_vn-28473517'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 02:08:26,068 - DEBUG - Response for create_subnet : {'subnet': {'id': '5acc64ae-9f39-49ab-849a-85ee66c06405', 'name': '', 'tenant_id': '02586f4f07c1474bace7a6903931001f', 'network_id': '9267ded3-e589-4375-9630-9d11366dde57', 'ip_version': 4, 'cidr': '217.63.55.64/26', 'allocation_pools': [{'start': '217.63.55.66', 'end': '217.63.55.126'}], 'gateway_ip': '217.63.55.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.63.55.66', 'tags': [], 'project_id': '02586f4f07c1474bace7a6903931001f'}} 2026-01-29 02:08:26,088 - INFO - Created VN ctest-ext_vn-28473517 2026-01-29 02:08:26,141 - DEBUG - VN ctest-ext_vn-28473517 UUID is 9267ded3-e589-4375-9630-9d11366dde57 2026-01-29 02:08:26,340 - DEBUG - Services list from nova: [, , ] 2026-01-29 02:08:27,319 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5114-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5114-1) 2026-01-29 02:08:28,480 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5114-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5114-1) 2026-01-29 02:08:28,548 - INFO - Setting gateway for router d868d902-d484-4f37-9826-c5952ceff316 to network 9267ded3-e589-4375-9630-9d11366dde57 2026-01-29 02:08:28,627 - INFO - Adding interface with subnet_id f7284b39-a1a2-4c61-9d99-09a0a5d408a2, port_id None to router d868d902-d484-4f37-9826-c5952ceff316 2026-01-29 02:08:28,947 - INFO - Waiting for VM ctest-TestRoutersBasic-33294519-95291317 to be up.. 2026-01-29 02:08:29,145 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-29 02:08:34,229 - DEBUG - VM is in ACTIVE state now 2026-01-29 02:08:34,229 - INFO - VM name : ctest-TestRoutersBasic-33294519-95291317 2026-01-29 02:08:34,308 - DEBUG - VM ctest-TestRoutersBasic-33294519-95291317 ID is c6ac59fc-b8fe-4bf8-86ed-3e5904a3586d 2026-01-29 02:08:34,327 - DEBUG - VM ctest-TestRoutersBasic-33294519-95291317 launched on Node cn-jenkins-deploy-platform-ansible-os-5114-1 2026-01-29 02:08:34,436 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/c6ac59fc-b8fe-4bf8-86ed-3e5904a3586d 2026-01-29 02:08:34,736 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/c6ac59fc-b8fe-4bf8-86ed-3e5904a3586d 2026-01-29 02:08:34,771 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/e11cab44-b5ec-4bca-9b78-9103c22c71e2 2026-01-29 02:08:38,008 - 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 1001ms') 2026-01-29 02:08:38,008 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33294519-95291317 failed! 2026-01-29 02:08:38,063 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-33294519:ctest-vn-34721828 is 154.164.185.65 and allocation pool is NOT set 2026-01-29 02:08:40,130 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.49 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 = 1.487/3.138/4.790/1.651 ms') 2026-01-29 02:08:40,130 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33294519-95291317 passed 2026-01-29 02:08:40,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 02:08:40,277 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33294519-95291317, IP 154.164.185.67, Port 22 2026-01-29 02:08:40,444 - DEBUG - VM ctest-TestRoutersBasic-33294519-95291317 is ready for SSH connections 2026-01-29 02:08:40,444 - INFO - Waiting for VM ctest-TestRoutersBasic-33294519-23612248 to be up.. 2026-01-29 02:08:40,529 - DEBUG - VM is in ACTIVE state now 2026-01-29 02:08:40,529 - INFO - VM name : ctest-TestRoutersBasic-33294519-23612248 2026-01-29 02:08:40,606 - DEBUG - VM ctest-TestRoutersBasic-33294519-23612248 ID is 2cb24486-446c-43d6-a5b9-4073f2747d0f 2026-01-29 02:08:40,606 - DEBUG - VM ctest-TestRoutersBasic-33294519-23612248 launched on Node cn-jenkins-deploy-platform-ansible-os-5114-1 2026-01-29 02:08:40,680 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/2cb24486-446c-43d6-a5b9-4073f2747d0f 2026-01-29 02:08:40,688 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/550996d5-363f-4cc5-915d-5b17374b3ba4 2026-01-29 02:08:41,925 - 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=2.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.413 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.413/1.640/2.868/1.227 ms') 2026-01-29 02:08:41,925 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-33294519-23612248 passed 2026-01-29 02:08:42,077 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 02:08:42,077 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33294519-23612248, IP 217.63.55.67, Port 22 2026-01-29 02:08:42,233 - DEBUG - VM ctest-TestRoutersBasic-33294519-23612248 is ready for SSH connections 2026-01-29 02:08:42,233 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 02:08:42,233 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 217.63.55.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-29 02:08:42,233 - DEBUG - ping -s 56 -c 3 -W 1 217.63.55.67 2026-01-29 02:08:45,979 - DEBUG - PING 217.63.55.67 (217.63.55.67): 56 data bytes 64 bytes from 217.63.55.67: seq=0 ttl=62 time=5.666 ms 64 bytes from 217.63.55.67: seq=1 ttl=62 time=0.944 ms 64 bytes from 217.63.55.67: seq=2 ttl=62 time=0.952 ms --- 217.63.55.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.944/2.520/5.666 ms 2026-01-29 02:08:45,979 - INFO - Ping to IP 217.63.55.67 from VM ctest-TestRoutersBasic-33294519-95291317 passed 2026-01-29 02:08:45,979 - INFO - Deleting interface with subnet_id f7284b39-a1a2-4c61-9d99-09a0a5d408a2, port_id None from router d868d902-d484-4f37-9826-c5952ceff316 2026-01-29 02:08:46,154 - INFO - Deleting VM ctest-TestRoutersBasic-33294519-23612248 2026-01-29 02:08:46,221 - INFO - Deleting VM ctest-TestRoutersBasic-33294519-95291317 2026-01-29 02:08:46,309 - INFO - Deleting VN ctest-ext_vn-28473517 2026-01-29 02:08:46,382 - DEBUG - VN 9267ded3-e589-4375-9630-9d11366dde57 still in use: Unable to complete operation on network 9267ded3-e589-4375-9630-9d11366dde57. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f47650ed-f2df-4faa-a5c5-e87775f67f36'] 2026-01-29 02:08:46,382 - WARNING - Deleting VN ctest-ext_vn-28473517 failed..Will retry 2026-01-29 02:08:48,485 - DEBUG - Response for deleting network () 2026-01-29 02:08:48,485 - INFO - Deleting VN ctest-vn-34721828 2026-01-29 02:08:48,583 - DEBUG - Response for deleting network () 2026-01-29 02:08:48,849 - DEBUG - No XMPP flaps were noticed during the test
2026-01-29 02:08:48,849 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-01-29 02:08:48,849 - INFO - -------------------------------------------------------------------------------- 2026-01-29 02:08:49,530 - INFO - Deleted project: ctest-TestRoutersBasic-33294519, ID : 02586f4f-07c1-474b-ace7-a6903931001f