2026-02-03 12:57:49,541 - INFO - Domain Default found not creating 2026-02-03 12:57:49,735 - INFO - Project ctest-TestRoutersBasic-91727568 not found, creating it 2026-02-03 12:57:50,241 - INFO - Created Project:ctest-TestRoutersBasic-91727568, ID : 6f5b3d35-f2a3-4407-9eeb-b7178db00e63 2026-02-03 12:57:51,938 - INFO - ================================================================================ 2026-02-03 12:57:51,938 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-03 12:57:51,938 - 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-03 12:57:52,198 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.254': '0'}} with 2026-02-03 12:57:52,198 - INFO - Initial checks done. Running the testcase now 2026-02-03 12:57:52,198 - INFO - 2026-02-03 12:57:53,689 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-91727568 2026-02-03 12:57:53,792 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-91727568 2026-02-03 12:57:54,123 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91727568', 'default']} 2026-02-03 12:57:54,476 - DEBUG - Response for create_network : {'network': {'id': '6bff5281-8db1-4a91-a923-fd492d5dd6cc', 'name': 'ctest-vn-07131810', 'tenant_id': '6f5b3d35f2a344079eebb7178db00e63', 'project_id': '6f5b3d35f2a344079eebb7178db00e63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91727568', 'ctest-vn-07131810'], 'port_security_enabled': True, 'description': ''}} 2026-02-03 12:57:54,665 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd4ce70f1-3c54-4863-89dc-6f7873153dc9', 'name': '', 'tenant_id': '6f5b3d35f2a344079eebb7178db00e63', 'network_id': '6bff5281-8db1-4a91-a923-fd492d5dd6cc', 'ip_version': 4, 'cidr': '91.110.127.0/26', 'allocation_pools': [{'start': '91.110.127.2', 'end': '91.110.127.62'}], 'gateway_ip': '91.110.127.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.110.127.2', 'tags': [], 'project_id': '6f5b3d35f2a344079eebb7178db00e63'}} 2026-02-03 12:57:54,688 - INFO - Created VN ctest-vn-07131810 2026-02-03 12:57:54,743 - DEBUG - VN ctest-vn-07131810 UUID is 6bff5281-8db1-4a91-a923-fd492d5dd6cc 2026-02-03 12:57:55,103 - DEBUG - Response for create_network : {'network': {'id': '65fa5db7-4c7c-4eaa-97f8-27813807829e', 'name': 'ctest-ext_vn-38524096', 'tenant_id': '6f5b3d35f2a344079eebb7178db00e63', 'project_id': '6f5b3d35f2a344079eebb7178db00e63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91727568', 'ctest-ext_vn-38524096'], 'port_security_enabled': True, 'description': ''}} 2026-02-03 12:57:55,319 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c777d3d1-7aea-4d04-8964-d287db0a8d5e', 'name': '', 'tenant_id': '6f5b3d35f2a344079eebb7178db00e63', 'network_id': '65fa5db7-4c7c-4eaa-97f8-27813807829e', 'ip_version': 4, 'cidr': '117.12.98.64/26', 'allocation_pools': [{'start': '117.12.98.66', 'end': '117.12.98.126'}], 'gateway_ip': '117.12.98.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.12.98.66', 'tags': [], 'project_id': '6f5b3d35f2a344079eebb7178db00e63'}} 2026-02-03 12:57:55,344 - INFO - Created VN ctest-ext_vn-38524096 2026-02-03 12:57:55,399 - DEBUG - VN ctest-ext_vn-38524096 UUID is 65fa5db7-4c7c-4eaa-97f8-27813807829e 2026-02-03 12:57:55,602 - DEBUG - Services list from nova: [, , ] 2026-02-03 12:57:56,752 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5188-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5188-1) 2026-02-03 12:57:57,986 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5188-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5188-1) 2026-02-03 12:57:58,058 - INFO - Setting gateway for router 1e5c8e61-9229-4343-a6bf-09c2814a2412 to network 65fa5db7-4c7c-4eaa-97f8-27813807829e 2026-02-03 12:57:58,119 - INFO - Adding interface with subnet_id d4ce70f1-3c54-4863-89dc-6f7873153dc9, port_id None to router 1e5c8e61-9229-4343-a6bf-09c2814a2412 2026-02-03 12:57:58,498 - INFO - Waiting for VM ctest-TestRoutersBasic-91727568-89668224 to be up.. 2026-02-03 12:57:58,655 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-03 12:58:03,764 - DEBUG - VM is in ACTIVE state now 2026-02-03 12:58:03,764 - INFO - VM name : ctest-TestRoutersBasic-91727568-89668224 2026-02-03 12:58:03,866 - DEBUG - VM ctest-TestRoutersBasic-91727568-89668224 ID is ec6b0387-3869-4e6e-b2a3-3ca2239463d9 2026-02-03 12:58:03,896 - DEBUG - VM ctest-TestRoutersBasic-91727568-89668224 launched on Node cn-jenkins-deploy-platform-ansible-os-5188-1 2026-02-03 12:58:03,995 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/ec6b0387-3869-4e6e-b2a3-3ca2239463d9 2026-02-03 12:58:04,307 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/ec6b0387-3869-4e6e-b2a3-3ca2239463d9 2026-02-03 12:58:04,361 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/dc852b47-ac54-4535-8e5b-925fd8df545c 2026-02-03 12:58:07,641 - 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 1025ms') 2026-02-03 12:58:07,642 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91727568-89668224 failed! 2026-02-03 12:58:07,703 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-91727568:ctest-vn-07131810 is 91.110.127.1 and allocation pool is NOT set 2026-02-03 12:58:09,767 - 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=5.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.06 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 = 1.062/3.037/5.013/1.975 ms') 2026-02-03 12:58:09,767 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91727568-89668224 passed 2026-02-03 12:58:09,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 12:58:09,927 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91727568-89668224, IP 91.110.127.3, Port 22 2026-02-03 12:58:09,993 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-03 12:58:10,095 - DEBUG - VM ctest-TestRoutersBasic-91727568-89668224 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-03 12:58:15,096 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 12:58:15,097 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91727568-89668224, IP 91.110.127.3, Port 22 2026-02-03 12:58:15,265 - DEBUG - VM ctest-TestRoutersBasic-91727568-89668224 is ready for SSH connections 2026-02-03 12:58:15,265 - INFO - Waiting for VM ctest-TestRoutersBasic-91727568-43061412 to be up.. 2026-02-03 12:58:15,363 - DEBUG - VM is in ACTIVE state now 2026-02-03 12:58:15,363 - INFO - VM name : ctest-TestRoutersBasic-91727568-43061412 2026-02-03 12:58:15,467 - DEBUG - VM ctest-TestRoutersBasic-91727568-43061412 ID is 6981959e-8a77-4992-bade-9da7c0c7294e 2026-02-03 12:58:15,467 - DEBUG - VM ctest-TestRoutersBasic-91727568-43061412 launched on Node cn-jenkins-deploy-platform-ansible-os-5188-1 2026-02-03 12:58:15,556 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/6981959e-8a77-4992-bade-9da7c0c7294e 2026-02-03 12:58:15,568 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/eceef83e-25b7-424e-9558-9b64d86a191f 2026-02-03 12:58:16,827 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.397 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.397/2.062/3.727/1.665 ms') 2026-02-03 12:58:16,827 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-91727568-43061412 passed 2026-02-03 12:58:16,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 12:58:16,983 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91727568-43061412, IP 117.12.98.67, Port 22 2026-02-03 12:58:17,161 - DEBUG - VM ctest-TestRoutersBasic-91727568-43061412 is ready for SSH connections 2026-02-03 12:58:17,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 12:58:17,162 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.12.98.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-02-03 12:58:17,162 - DEBUG - ping -s 56 -c 3 -W 1 117.12.98.67 2026-02-03 12:58:20,943 - DEBUG - PING 117.12.98.67 (117.12.98.67): 56 data bytes 64 bytes from 117.12.98.67: seq=0 ttl=62 time=7.794 ms 64 bytes from 117.12.98.67: seq=1 ttl=62 time=1.518 ms 64 bytes from 117.12.98.67: seq=2 ttl=62 time=1.349 ms --- 117.12.98.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.349/3.553/7.794 ms 2026-02-03 12:58:20,943 - INFO - Ping to IP 117.12.98.67 from VM ctest-TestRoutersBasic-91727568-89668224 passed 2026-02-03 12:58:20,943 - INFO - Deleting interface with subnet_id d4ce70f1-3c54-4863-89dc-6f7873153dc9, port_id None from router 1e5c8e61-9229-4343-a6bf-09c2814a2412 2026-02-03 12:58:21,162 - INFO - Deleting VM ctest-TestRoutersBasic-91727568-43061412 2026-02-03 12:58:21,255 - INFO - Deleting VM ctest-TestRoutersBasic-91727568-89668224 2026-02-03 12:58:21,356 - INFO - Deleting VN ctest-ext_vn-38524096 2026-02-03 12:58:21,463 - DEBUG - VN 65fa5db7-4c7c-4eaa-97f8-27813807829e still in use: Unable to complete operation on network 65fa5db7-4c7c-4eaa-97f8-27813807829e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cea9d6a9-3ad3-45ad-b60f-51f3b4b9ccd4'] 2026-02-03 12:58:21,463 - WARNING - Deleting VN ctest-ext_vn-38524096 failed..Will retry 2026-02-03 12:58:23,583 - DEBUG - Response for deleting network () 2026-02-03 12:58:23,583 - INFO - Deleting VN ctest-vn-07131810 2026-02-03 12:58:23,705 - DEBUG - Response for deleting network () 2026-02-03 12:58:23,982 - DEBUG - No XMPP flaps were noticed during the test 2026-02-03 12:58:23,982 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32] 2026-02-03 12:58:23,982 - INFO - -------------------------------------------------------------------------------- 2026-02-03 12:58:24,730 - INFO - Deleted project: ctest-TestRoutersBasic-91727568, ID : 6f5b3d35-f2a3-4407-9eeb-b7178db00e63