2026-10-28 12:46:32,311 - INFO - Domain Default found not creating 2026-10-28 12:46:32,506 - INFO - Project ctest-TestRoutersBasic-44080269 not found, creating it 2026-10-28 12:46:33,032 - INFO - Created Project:ctest-TestRoutersBasic-44080269, ID : 9aa7284c-99ae-4281-aaad-cec987937940 2026-10-28 12:46:34,819 - INFO - ================================================================================ 2026-10-28 12:46:34,819 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-28 12:46:34,820 - 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-10-28 12:46:35,083 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.31': '0'}} with 2026-10-28 12:46:35,083 - INFO - Initial checks done. Running the testcase now 2026-10-28 12:46:35,083 - INFO - 2026-10-28 12:46:35,984 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-44080269 2026-10-28 12:46:36,087 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-44080269 2026-10-28 12:46:36,418 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44080269', 'default']} 2026-10-28 12:46:36,731 - DEBUG - Response for create_network : {'network': {'id': '19dc7b65-c583-4cae-9f20-b3f87e92dedb', 'name': 'ctest-vn-82364201', 'tenant_id': '9aa7284c99ae4281aaadcec987937940', 'project_id': '9aa7284c99ae4281aaadcec987937940', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44080269', 'ctest-vn-82364201'], 'port_security_enabled': True, 'description': ''}} 2026-10-28 12:46:36,910 - DEBUG - Response for create_subnet : {'subnet': {'id': '4808a0bc-41d6-41e3-ad38-0de12611e7b3', 'name': '', 'tenant_id': '9aa7284c99ae4281aaadcec987937940', 'network_id': '19dc7b65-c583-4cae-9f20-b3f87e92dedb', 'ip_version': 4, 'cidr': '97.236.238.192/26', 'allocation_pools': [{'start': '97.236.238.194', 'end': '97.236.238.254'}], 'gateway_ip': '97.236.238.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.236.238.194', 'tags': [], 'project_id': '9aa7284c99ae4281aaadcec987937940'}} 2026-10-28 12:46:36,929 - INFO - Created VN ctest-vn-82364201 2026-10-28 12:46:36,983 - DEBUG - VN ctest-vn-82364201 UUID is 19dc7b65-c583-4cae-9f20-b3f87e92dedb 2026-10-28 12:46:37,339 - DEBUG - Response for create_network : {'network': {'id': '74fab7f3-b901-4130-b704-d979acfb8fd5', 'name': 'ctest-ext_vn-98452862', 'tenant_id': '9aa7284c99ae4281aaadcec987937940', 'project_id': '9aa7284c99ae4281aaadcec987937940', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44080269', 'ctest-ext_vn-98452862'], 'port_security_enabled': True, 'description': ''}} 2026-10-28 12:46:37,525 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf1b58e5-6016-4cf7-b035-295df623acfb', 'name': '', 'tenant_id': '9aa7284c99ae4281aaadcec987937940', 'network_id': '74fab7f3-b901-4130-b704-d979acfb8fd5', 'ip_version': 4, 'cidr': '148.229.89.192/26', 'allocation_pools': [{'start': '148.229.89.194', 'end': '148.229.89.254'}], 'gateway_ip': '148.229.89.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.229.89.194', 'tags': [], 'project_id': '9aa7284c99ae4281aaadcec987937940'}} 2026-10-28 12:46:37,543 - INFO - Created VN ctest-ext_vn-98452862 2026-10-28 12:46:37,599 - DEBUG - VN ctest-ext_vn-98452862 UUID is 74fab7f3-b901-4130-b704-d979acfb8fd5 2026-10-28 12:46:37,768 - DEBUG - Services list from nova: [, , ] 2026-10-28 12:46:38,158 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6433-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6433-1) 2026-10-28 12:46:38,587 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6433-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6433-1) 2026-10-28 12:46:38,656 - INFO - Setting gateway for router 5b4c4fec-2c88-40d5-aadc-09face6c1f4c to network 74fab7f3-b901-4130-b704-d979acfb8fd5 2026-10-28 12:46:38,712 - INFO - Adding interface with subnet_id 4808a0bc-41d6-41e3-ad38-0de12611e7b3, port_id None to router 5b4c4fec-2c88-40d5-aadc-09face6c1f4c 2026-10-28 12:46:39,030 - INFO - Waiting for VM ctest-TestRoutersBasic-44080269-75637144 to be up.. 2026-10-28 12:46:39,088 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 12:46:44,223 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 12:46:49,313 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 12:46:54,391 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 12:46:59,473 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 12:47:04,566 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 12:47:09,739 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 12:47:14,824 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 12:47:19,920 - DEBUG - VM is in ACTIVE state now 2026-10-28 12:47:19,920 - INFO - VM name : ctest-TestRoutersBasic-44080269-75637144 2026-10-28 12:47:20,028 - DEBUG - VM ctest-TestRoutersBasic-44080269-75637144 ID is b2cddf97-2a75-43ea-9a99-506f5410abcc 2026-10-28 12:47:20,060 - DEBUG - VM ctest-TestRoutersBasic-44080269-75637144 launched on Node cn-jenkins-deploy-platform-ansible-os-6433-1 2026-10-28 12:47:20,174 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b2cddf97-2a75-43ea-9a99-506f5410abcc 2026-10-28 12:47:20,564 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b2cddf97-2a75-43ea-9a99-506f5410abcc 2026-10-28 12:47:20,596 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/1d5f6e0a-feeb-4aa7-ac64-66bda20d3a6b 2026-10-28 12:47:23,878 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms') 2026-10-28 12:47:23,878 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-44080269-75637144 failed! 2026-10-28 12:47:23,947 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-44080269:ctest-vn-82364201 is 97.236.238.193 and allocation pool is NOT set 2026-10-28 12:47:28,029 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=12.3 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1021ms\r\nrtt min/avg/max/mdev = 12.283/12.283/12.283/0.000 ms') 2026-10-28 12:47:28,029 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-44080269-75637144 passed 2026-10-28 12:47:28,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-28 12:47:28,223 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44080269-75637144, IP 97.236.238.195, Port 22 2026-10-28 12:47:28,290 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-28 12:47:28,411 - DEBUG - VM ctest-TestRoutersBasic-44080269-75637144 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-28 12:47:33,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-28 12:47:33,412 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44080269-75637144, IP 97.236.238.195, Port 22 2026-10-28 12:47:33,571 - DEBUG - VM ctest-TestRoutersBasic-44080269-75637144 is ready for SSH connections 2026-10-28 12:47:33,572 - INFO - Waiting for VM ctest-TestRoutersBasic-44080269-67713136 to be up.. 2026-10-28 12:47:33,650 - DEBUG - VM is in ACTIVE state now 2026-10-28 12:47:33,650 - INFO - VM name : ctest-TestRoutersBasic-44080269-67713136 2026-10-28 12:47:33,723 - DEBUG - VM ctest-TestRoutersBasic-44080269-67713136 ID is 892fd57d-9fff-43fd-833c-ab76937b19aa 2026-10-28 12:47:33,723 - DEBUG - VM ctest-TestRoutersBasic-44080269-67713136 launched on Node cn-jenkins-deploy-platform-ansible-os-6433-1 2026-10-28 12:47:33,801 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/892fd57d-9fff-43fd-833c-ab76937b19aa 2026-10-28 12:47:33,811 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/e74b95f5-e3bd-4df7-83ea-296eadeabc71 2026-10-28 12:47:35,061 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=3.86 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.669 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.669/2.266/3.864/1.597 ms') 2026-10-28 12:47:35,061 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-44080269-67713136 passed 2026-10-28 12:47:35,215 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-28 12:47:35,215 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44080269-67713136, IP 148.229.89.196, Port 22 2026-10-28 12:47:35,379 - DEBUG - VM ctest-TestRoutersBasic-44080269-67713136 is ready for SSH connections 2026-10-28 12:47:35,379 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-28 12:47:35,379 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.229.89.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-10-28 12:47:35,380 - DEBUG - ping -s 56 -c 3 -W 1 148.229.89.196 2026-10-28 12:47:38,845 - DEBUG - PING 148.229.89.196 (148.229.89.196): 56 data bytes 64 bytes from 148.229.89.196: seq=0 ttl=62 time=8.721 ms 64 bytes from 148.229.89.196: seq=1 ttl=62 time=1.898 ms 64 bytes from 148.229.89.196: seq=2 ttl=62 time=1.441 ms --- 148.229.89.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.441/4.020/8.721 ms 2026-10-28 12:47:38,845 - INFO - Ping to IP 148.229.89.196 from VM ctest-TestRoutersBasic-44080269-75637144 passed 2026-10-28 12:47:38,846 - INFO - Deleting interface with subnet_id 4808a0bc-41d6-41e3-ad38-0de12611e7b3, port_id None from router 5b4c4fec-2c88-40d5-aadc-09face6c1f4c 2026-10-28 12:47:39,102 - INFO - Deleting VM ctest-TestRoutersBasic-44080269-67713136 2026-10-28 12:47:39,197 - INFO - Deleting VM ctest-TestRoutersBasic-44080269-75637144 2026-10-28 12:47:39,276 - INFO - Deleting VN ctest-ext_vn-98452862 2026-10-28 12:47:39,379 - DEBUG - VN 74fab7f3-b901-4130-b704-d979acfb8fd5 still in use: Unable to complete operation on network 74fab7f3-b901-4130-b704-d979acfb8fd5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-147e634c-252f-4234-b5f6-b7cc65d91795'] 2026-10-28 12:47:39,379 - WARNING - Deleting VN ctest-ext_vn-98452862 failed..Will retry 2026-10-28 12:47:41,414 - DEBUG - VN 74fab7f3-b901-4130-b704-d979acfb8fd5 still in use: Unable to complete operation on network 74fab7f3-b901-4130-b704-d979acfb8fd5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3ac2c7df-909c-40f0-b49c-a5874da5fcf0'] 2026-10-28 12:47:41,415 - WARNING - Deleting VN ctest-ext_vn-98452862 failed..Will retry 2026-10-28 12:47:43,552 - DEBUG - Response for deleting network () 2026-10-28 12:47:43,552 - INFO - Deleting VN ctest-vn-82364201 2026-10-28 12:47:43,681 - DEBUG - Response for deleting network () 2026-10-28 12:47:43,967 - DEBUG - No XMPP flaps were noticed during the test 2026-10-28 12:47:43,967 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:09] 2026-10-28 12:47:43,967 - INFO - -------------------------------------------------------------------------------- 2026-10-28 12:47:44,818 - INFO - Deleted project: ctest-TestRoutersBasic-44080269, ID : 9aa7284c-99ae-4281-aaad-cec987937940