2026-04-02 11:38:49,415 - INFO - Domain Default found not creating 2026-04-02 11:38:49,604 - INFO - Project ctest-TestRoutersBasic-93474400 not found, creating it 2026-04-02 11:38:50,100 - INFO - Created Project:ctest-TestRoutersBasic-93474400, ID : 9b6fac15-5ce9-4f3e-afd9-01702a661dbd 2026-04-02 11:38:51,640 - INFO - ================================================================================ 2026-04-02 11:38:51,640 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-02 11:38:51,640 - 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-04-02 11:38:51,896 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2026-04-02 11:38:51,896 - INFO - Initial checks done. Running the testcase now 2026-04-02 11:38:51,896 - INFO - 2026-04-02 11:38:52,589 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-93474400 2026-04-02 11:38:52,691 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-93474400 2026-04-02 11:38:53,018 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93474400', 'default']} 2026-04-02 11:38:53,324 - DEBUG - Response for create_network : {'network': {'id': '5a5b8490-6eea-4ae8-b763-e79782f7e4c7', 'name': 'ctest-vn-65072513', 'tenant_id': '9b6fac155ce94f3eafd901702a661dbd', 'project_id': '9b6fac155ce94f3eafd901702a661dbd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93474400', 'ctest-vn-65072513'], 'port_security_enabled': True, 'description': ''}} 2026-04-02 11:38:53,487 - DEBUG - Response for create_subnet : {'subnet': {'id': '5306a7ad-d03a-4fd5-8daf-1fe0c7a557aa', 'name': '', 'tenant_id': '9b6fac155ce94f3eafd901702a661dbd', 'network_id': '5a5b8490-6eea-4ae8-b763-e79782f7e4c7', 'ip_version': 4, 'cidr': '163.176.87.192/26', 'allocation_pools': [{'start': '163.176.87.194', 'end': '163.176.87.254'}], 'gateway_ip': '163.176.87.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.176.87.194', 'tags': [], 'project_id': '9b6fac155ce94f3eafd901702a661dbd'}} 2026-04-02 11:38:53,506 - INFO - Created VN ctest-vn-65072513 2026-04-02 11:38:53,559 - DEBUG - VN ctest-vn-65072513 UUID is 5a5b8490-6eea-4ae8-b763-e79782f7e4c7 2026-04-02 11:38:53,886 - DEBUG - Response for create_network : {'network': {'id': 'c5536ec6-8a50-4e50-994c-5e2b72fc31b2', 'name': 'ctest-ext_vn-37452163', 'tenant_id': '9b6fac155ce94f3eafd901702a661dbd', 'project_id': '9b6fac155ce94f3eafd901702a661dbd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93474400', 'ctest-ext_vn-37452163'], 'port_security_enabled': True, 'description': ''}} 2026-04-02 11:38:54,062 - DEBUG - Response for create_subnet : {'subnet': {'id': '17470960-fe9e-491b-8efb-78cac8e5b661', 'name': '', 'tenant_id': '9b6fac155ce94f3eafd901702a661dbd', 'network_id': 'c5536ec6-8a50-4e50-994c-5e2b72fc31b2', 'ip_version': 4, 'cidr': '151.254.31.128/26', 'allocation_pools': [{'start': '151.254.31.130', 'end': '151.254.31.190'}], 'gateway_ip': '151.254.31.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.254.31.130', 'tags': [], 'project_id': '9b6fac155ce94f3eafd901702a661dbd'}} 2026-04-02 11:38:54,080 - INFO - Created VN ctest-ext_vn-37452163 2026-04-02 11:38:54,134 - DEBUG - VN ctest-ext_vn-37452163 UUID is c5536ec6-8a50-4e50-994c-5e2b72fc31b2 2026-04-02 11:38:54,321 - DEBUG - Services list from nova: [, , ] 2026-04-02 11:38:55,353 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5579-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5579-1) 2026-04-02 11:38:56,537 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5579-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5579-1) 2026-04-02 11:38:56,609 - INFO - Setting gateway for router f430fd5f-fc19-4d4d-a83d-c8183be6ad48 to network c5536ec6-8a50-4e50-994c-5e2b72fc31b2 2026-04-02 11:38:56,703 - INFO - Adding interface with subnet_id 5306a7ad-d03a-4fd5-8daf-1fe0c7a557aa, port_id None to router f430fd5f-fc19-4d4d-a83d-c8183be6ad48 2026-04-02 11:38:57,140 - INFO - Waiting for VM ctest-TestRoutersBasic-93474400-13562554 to be up.. 2026-04-02 11:38:57,351 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-02 11:39:02,460 - DEBUG - VM is in ACTIVE state now 2026-04-02 11:39:02,461 - INFO - VM name : ctest-TestRoutersBasic-93474400-13562554 2026-04-02 11:39:02,573 - DEBUG - VM ctest-TestRoutersBasic-93474400-13562554 ID is b3eae940-36f8-4c32-a76a-d182f53b740e 2026-04-02 11:39:02,600 - DEBUG - VM ctest-TestRoutersBasic-93474400-13562554 launched on Node cn-jenkins-deploy-platform-ansible-os-5579-1 2026-04-02 11:39:02,707 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/b3eae940-36f8-4c32-a76a-d182f53b740e 2026-04-02 11:39:02,992 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/b3eae940-36f8-4c32-a76a-d182f53b740e 2026-04-02 11:39:03,037 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/13ee5c21-d0b3-4328-98f5-ed8db3c0264e 2026-04-02 11:39:06,298 - 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 1009ms') 2026-04-02 11:39:06,299 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-93474400-13562554 failed! 2026-04-02 11:39:06,355 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-93474400:ctest-vn-65072513 is 163.176.87.193 and allocation pool is NOT set 2026-04-02 11:39:08,418 - 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.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.03 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.032/2.810/4.589/1.778 ms') 2026-04-02 11:39:08,418 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-93474400-13562554 passed 2026-04-02 11:39:08,571 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 11:39:08,571 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-93474400-13562554, IP 163.176.87.195, Port 22 2026-04-02 11:39:08,726 - DEBUG - VM ctest-TestRoutersBasic-93474400-13562554 is ready for SSH connections 2026-04-02 11:39:08,726 - INFO - Waiting for VM ctest-TestRoutersBasic-93474400-44373240 to be up.. 2026-04-02 11:39:08,810 - DEBUG - VM is in ACTIVE state now 2026-04-02 11:39:08,811 - INFO - VM name : ctest-TestRoutersBasic-93474400-44373240 2026-04-02 11:39:08,899 - DEBUG - VM ctest-TestRoutersBasic-93474400-44373240 ID is e27e2379-0047-4095-b641-6b54421a884e 2026-04-02 11:39:08,900 - DEBUG - VM ctest-TestRoutersBasic-93474400-44373240 launched on Node cn-jenkins-deploy-platform-ansible-os-5579-1 2026-04-02 11:39:08,985 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/e27e2379-0047-4095-b641-6b54421a884e 2026-04-02 11:39:08,994 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/7772e9f8-225e-456d-94d9-cdc183381528 2026-04-02 11:39:10,260 - 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=4.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.48 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 = 1.477/3.216/4.956/1.739 ms') 2026-04-02 11:39:10,260 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-93474400-44373240 passed 2026-04-02 11:39:10,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 11:39:10,419 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-93474400-44373240, IP 151.254.31.131, Port 22 2026-04-02 11:39:10,484 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-04-02 11:39:10,570 - DEBUG - VM ctest-TestRoutersBasic-93474400-44373240 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-02 11:39:15,570 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 11:39:15,570 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-93474400-44373240, IP 151.254.31.131, Port 22 2026-04-02 11:39:15,726 - DEBUG - VM ctest-TestRoutersBasic-93474400-44373240 is ready for SSH connections 2026-04-02 11:39:15,726 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 11:39:15,726 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.254.31.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-04-02 11:39:15,726 - DEBUG - ping -s 56 -c 3 -W 1 151.254.31.131 2026-04-02 11:39:19,470 - DEBUG - PING 151.254.31.131 (151.254.31.131): 56 data bytes 64 bytes from 151.254.31.131: seq=0 ttl=62 time=5.908 ms 64 bytes from 151.254.31.131: seq=1 ttl=62 time=1.564 ms 64 bytes from 151.254.31.131: seq=2 ttl=62 time=1.298 ms --- 151.254.31.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.298/2.923/5.908 ms 2026-04-02 11:39:19,470 - INFO - Ping to IP 151.254.31.131 from VM ctest-TestRoutersBasic-93474400-13562554 passed 2026-04-02 11:39:19,470 - INFO - Deleting interface with subnet_id 5306a7ad-d03a-4fd5-8daf-1fe0c7a557aa, port_id None from router f430fd5f-fc19-4d4d-a83d-c8183be6ad48 2026-04-02 11:39:19,678 - INFO - Deleting VM ctest-TestRoutersBasic-93474400-44373240 2026-04-02 11:39:19,755 - INFO - Deleting VM ctest-TestRoutersBasic-93474400-13562554 2026-04-02 11:39:19,864 - INFO - Deleting VN ctest-ext_vn-37452163 2026-04-02 11:39:19,943 - DEBUG - VN c5536ec6-8a50-4e50-994c-5e2b72fc31b2 still in use: Unable to complete operation on network c5536ec6-8a50-4e50-994c-5e2b72fc31b2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d93c410d-2150-43c5-b694-02d78a3cd8c1'] 2026-04-02 11:39:19,943 - WARNING - Deleting VN ctest-ext_vn-37452163 failed..Will retry 2026-04-02 11:39:22,049 - DEBUG - Response for deleting network () 2026-04-02 11:39:22,049 - INFO - Deleting VN ctest-vn-65072513 2026-04-02 11:39:22,165 - DEBUG - Response for deleting network () 2026-04-02 11:39:22,435 - DEBUG - No XMPP flaps were noticed during the test 2026-04-02 11:39:22,435 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31] 2026-04-02 11:39:22,435 - INFO - -------------------------------------------------------------------------------- 2026-04-02 11:39:23,117 - INFO - Deleted project: ctest-TestRoutersBasic-93474400, ID : 9b6fac15-5ce9-4f3e-afd9-01702a661dbd