2026-11-02 18:00:49,498 - INFO - Domain Default found not creating 2026-11-02 18:00:49,674 - INFO - Project ctest-TestRoutersBasic-89134286 not found, creating it 2026-11-02 18:00:50,162 - INFO - Created Project:ctest-TestRoutersBasic-89134286, ID : 5cb228e5-127f-4c9b-bc07-15312812b4f7 2026-11-02 18:00:51,734 - INFO - ================================================================================ 2026-11-02 18:00:51,734 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-02 18:00:51,734 - 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-11-02 18:00:51,992 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.17': '0'}} with 2026-11-02 18:00:51,992 - INFO - Initial checks done. Running the testcase now 2026-11-02 18:00:51,992 - INFO - 2026-11-02 18:00:52,750 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-89134286 2026-11-02 18:00:52,850 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-89134286 2026-11-02 18:00:53,178 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89134286', 'default']} 2026-11-02 18:00:53,458 - DEBUG - Response for create_network : {'network': {'id': 'f72644cf-4797-4c15-93ab-b58a3ac220a4', 'name': 'ctest-vn-33880569', 'tenant_id': '5cb228e5127f4c9bbc0715312812b4f7', 'project_id': '5cb228e5127f4c9bbc0715312812b4f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89134286', 'ctest-vn-33880569'], 'port_security_enabled': True, 'description': ''}} 2026-11-02 18:00:53,675 - DEBUG - Response for create_subnet : {'subnet': {'id': '1cfba193-dd30-4ad1-9161-68838740eebe', 'name': '', 'tenant_id': '5cb228e5127f4c9bbc0715312812b4f7', 'network_id': 'f72644cf-4797-4c15-93ab-b58a3ac220a4', 'ip_version': 4, 'cidr': '221.39.149.192/26', 'allocation_pools': [{'start': '221.39.149.194', 'end': '221.39.149.254'}], 'gateway_ip': '221.39.149.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.39.149.194', 'tags': [], 'project_id': '5cb228e5127f4c9bbc0715312812b4f7'}} 2026-11-02 18:00:53,691 - INFO - Created VN ctest-vn-33880569 2026-11-02 18:00:53,746 - DEBUG - VN ctest-vn-33880569 UUID is f72644cf-4797-4c15-93ab-b58a3ac220a4 2026-11-02 18:00:54,063 - DEBUG - Response for create_network : {'network': {'id': 'c998c9ba-d61b-4460-b4f7-37ce92b63a6b', 'name': 'ctest-ext_vn-15422670', 'tenant_id': '5cb228e5127f4c9bbc0715312812b4f7', 'project_id': '5cb228e5127f4c9bbc0715312812b4f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89134286', 'ctest-ext_vn-15422670'], 'port_security_enabled': True, 'description': ''}} 2026-11-02 18:00:54,265 - DEBUG - Response for create_subnet : {'subnet': {'id': '142b33c3-cc36-4b45-8881-00976e26cd92', 'name': '', 'tenant_id': '5cb228e5127f4c9bbc0715312812b4f7', 'network_id': 'c998c9ba-d61b-4460-b4f7-37ce92b63a6b', 'ip_version': 4, 'cidr': '56.175.24.0/26', 'allocation_pools': [{'start': '56.175.24.2', 'end': '56.175.24.62'}], 'gateway_ip': '56.175.24.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.175.24.2', 'tags': [], 'project_id': '5cb228e5127f4c9bbc0715312812b4f7'}} 2026-11-02 18:00:54,280 - INFO - Created VN ctest-ext_vn-15422670 2026-11-02 18:00:54,334 - DEBUG - VN ctest-ext_vn-15422670 UUID is c998c9ba-d61b-4460-b4f7-37ce92b63a6b 2026-11-02 18:00:54,535 - DEBUG - Services list from nova: [, , ] 2026-11-02 18:00:54,862 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6468-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6468-1) 2026-11-02 18:00:55,266 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6468-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6468-1) 2026-11-02 18:00:55,334 - INFO - Setting gateway for router f01bfa9e-ad4f-4e2b-8b4f-fbdf85a0985c to network c998c9ba-d61b-4460-b4f7-37ce92b63a6b 2026-11-02 18:00:55,399 - INFO - Adding interface with subnet_id 1cfba193-dd30-4ad1-9161-68838740eebe, port_id None to router f01bfa9e-ad4f-4e2b-8b4f-fbdf85a0985c 2026-11-02 18:00:55,639 - INFO - Waiting for VM ctest-TestRoutersBasic-89134286-70160906 to be up.. 2026-11-02 18:00:55,711 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 18:01:00,785 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 18:01:05,858 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 18:01:10,926 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 18:01:16,003 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 18:01:21,137 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 18:01:26,208 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 18:01:31,276 - DEBUG - VM is in ACTIVE state now 2026-11-02 18:01:31,277 - INFO - VM name : ctest-TestRoutersBasic-89134286-70160906 2026-11-02 18:01:31,367 - DEBUG - VM ctest-TestRoutersBasic-89134286-70160906 ID is c2e939cd-4e64-4235-8a6a-2bdc2c393168 2026-11-02 18:01:31,391 - DEBUG - VM ctest-TestRoutersBasic-89134286-70160906 launched on Node cn-jenkins-deploy-platform-ansible-os-6468-1 2026-11-02 18:01:31,458 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/c2e939cd-4e64-4235-8a6a-2bdc2c393168 2026-11-02 18:01:31,778 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/c2e939cd-4e64-4235-8a6a-2bdc2c393168 2026-11-02 18:01:31,808 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/62da5915-cf68-4960-8395-21cd03b1325d 2026-11-02 18:01:35,065 - 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 1015ms') 2026-11-02 18:01:35,066 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-89134286-70160906 failed! 2026-11-02 18:01:35,122 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-89134286:ctest-vn-33880569 is 221.39.149.193 and allocation pool is NOT set 2026-11-02 18:01:37,184 - 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=1 ttl=63 time=10.0 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.34 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.336/5.692/10.049/4.356 ms') 2026-11-02 18:01:37,184 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-89134286-70160906 passed 2026-11-02 18:01:37,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 18:01:37,334 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89134286-70160906, IP 221.39.149.195, Port 22 2026-11-02 18:01:37,399 - 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-11-02 18:01:37,470 - DEBUG - VM ctest-TestRoutersBasic-89134286-70160906 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-02 18:01:42,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 18:01:42,471 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89134286-70160906, IP 221.39.149.195, Port 22 2026-11-02 18:01:42,629 - DEBUG - VM ctest-TestRoutersBasic-89134286-70160906 is ready for SSH connections 2026-11-02 18:01:42,629 - INFO - Waiting for VM ctest-TestRoutersBasic-89134286-85956101 to be up.. 2026-11-02 18:01:42,697 - DEBUG - VM is in ACTIVE state now 2026-11-02 18:01:42,697 - INFO - VM name : ctest-TestRoutersBasic-89134286-85956101 2026-11-02 18:01:42,766 - DEBUG - VM ctest-TestRoutersBasic-89134286-85956101 ID is 42c7961a-e69b-447d-abc5-e90f32ecdcff 2026-11-02 18:01:42,767 - DEBUG - VM ctest-TestRoutersBasic-89134286-85956101 launched on Node cn-jenkins-deploy-platform-ansible-os-6468-1 2026-11-02 18:01:42,833 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/42c7961a-e69b-447d-abc5-e90f32ecdcff 2026-11-02 18:01:42,841 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/00e823e6-800c-465f-85b0-424ed923b452 2026-11-02 18:01:44,079 - 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.42 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.393 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.393/1.906/3.420/1.513 ms') 2026-11-02 18:01:44,079 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-89134286-85956101 passed 2026-11-02 18:01:44,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 18:01:44,230 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89134286-85956101, IP 56.175.24.4, Port 22 2026-11-02 18:01:44,399 - DEBUG - VM ctest-TestRoutersBasic-89134286-85956101 is ready for SSH connections 2026-11-02 18:01:44,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 18:01:44,400 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.175.24.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-11-02 18:01:44,400 - DEBUG - ping -s 56 -c 3 -W 1 56.175.24.4 2026-11-02 18:01:47,313 - DEBUG - PING 56.175.24.4 (56.175.24.4): 56 data bytes 64 bytes from 56.175.24.4: seq=0 ttl=62 time=9.398 ms 64 bytes from 56.175.24.4: seq=1 ttl=62 time=0.987 ms 64 bytes from 56.175.24.4: seq=2 ttl=62 time=1.083 ms --- 56.175.24.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.987/3.822/9.398 ms 2026-11-02 18:01:47,313 - INFO - Ping to IP 56.175.24.4 from VM ctest-TestRoutersBasic-89134286-70160906 passed 2026-11-02 18:01:47,314 - INFO - Deleting interface with subnet_id 1cfba193-dd30-4ad1-9161-68838740eebe, port_id None from router f01bfa9e-ad4f-4e2b-8b4f-fbdf85a0985c 2026-11-02 18:01:47,576 - INFO - Deleting VM ctest-TestRoutersBasic-89134286-85956101 2026-11-02 18:01:47,651 - INFO - Deleting VM ctest-TestRoutersBasic-89134286-70160906 2026-11-02 18:01:47,721 - INFO - Deleting VN ctest-ext_vn-15422670 2026-11-02 18:01:47,830 - DEBUG - VN c998c9ba-d61b-4460-b4f7-37ce92b63a6b still in use: Unable to complete operation on network c998c9ba-d61b-4460-b4f7-37ce92b63a6b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-11752ba2-e574-4649-a905-2105e309a2d5'] 2026-11-02 18:01:47,830 - WARNING - Deleting VN ctest-ext_vn-15422670 failed..Will retry 2026-11-02 18:01:49,867 - DEBUG - VN c998c9ba-d61b-4460-b4f7-37ce92b63a6b still in use: Unable to complete operation on network c998c9ba-d61b-4460-b4f7-37ce92b63a6b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-586013ae-ea68-4e9e-85c9-1b1a7e6a158b'] 2026-11-02 18:01:49,867 - WARNING - Deleting VN ctest-ext_vn-15422670 failed..Will retry 2026-11-02 18:01:51,973 - DEBUG - Response for deleting network () 2026-11-02 18:01:51,973 - INFO - Deleting VN ctest-vn-33880569 2026-11-02 18:01:52,065 - DEBUG - Response for deleting network () 2026-11-02 18:01:52,319 - DEBUG - No XMPP flaps were noticed during the test 2026-11-02 18:01:52,319 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:01] 2026-11-02 18:01:52,319 - INFO - -------------------------------------------------------------------------------- 2026-11-02 18:01:53,023 - INFO - Deleted project: ctest-TestRoutersBasic-89134286, ID : 5cb228e5-127f-4c9b-bc07-15312812b4f7