2026-02-06 16:02:54,821 - INFO - Domain Default found not creating 2026-02-06 16:02:55,088 - INFO - Project ctest-TestRoutersBasic-00292431 not found, creating it 2026-02-06 16:02:55,760 - INFO - Created Project:ctest-TestRoutersBasic-00292431, ID : 4aff3952-ba70-4f16-b62e-7fde9bacf303 2026-02-06 16:02:58,203 - INFO - ================================================================================ 2026-02-06 16:02:58,203 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-06 16:02:58,204 - 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-06 16:02:58,516 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-06 16:02:58,516 - INFO - Initial checks done. Running the testcase now 2026-02-06 16:02:58,516 - INFO - 2026-02-06 16:02:59,402 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-00292431 2026-02-06 16:02:59,508 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-00292431 2026-02-06 16:02:59,874 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00292431', 'default']} 2026-02-06 16:03:00,224 - DEBUG - Response for create_network : {'network': {'id': 'a7078e36-2b4f-462c-89aa-ebeef03bd211', 'name': 'ctest-vn-96366673', 'tenant_id': '4aff3952ba704f16b62e7fde9bacf303', 'project_id': '4aff3952ba704f16b62e7fde9bacf303', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00292431', 'ctest-vn-96366673'], 'port_security_enabled': True, 'description': ''}} 2026-02-06 16:03:00,396 - DEBUG - Response for create_subnet : {'subnet': {'id': '86b4bd82-0feb-48f0-8cb9-b3bd4cc6c0d6', 'name': '', 'tenant_id': '4aff3952ba704f16b62e7fde9bacf303', 'network_id': 'a7078e36-2b4f-462c-89aa-ebeef03bd211', 'ip_version': 4, 'cidr': '5.93.61.192/26', 'allocation_pools': [{'start': '5.93.61.194', 'end': '5.93.61.254'}], 'gateway_ip': '5.93.61.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.93.61.194', 'tags': [], 'project_id': '4aff3952ba704f16b62e7fde9bacf303'}} 2026-02-06 16:03:00,412 - INFO - Created VN ctest-vn-96366673 2026-02-06 16:03:00,471 - DEBUG - VN ctest-vn-96366673 UUID is a7078e36-2b4f-462c-89aa-ebeef03bd211 2026-02-06 16:03:00,837 - DEBUG - Response for create_network : {'network': {'id': 'bab3060d-372c-4f32-8f1d-afe7d9f68ee4', 'name': 'ctest-ext_vn-42674055', 'tenant_id': '4aff3952ba704f16b62e7fde9bacf303', 'project_id': '4aff3952ba704f16b62e7fde9bacf303', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00292431', 'ctest-ext_vn-42674055'], 'port_security_enabled': True, 'description': ''}} 2026-02-06 16:03:01,021 - DEBUG - Response for create_subnet : {'subnet': {'id': '21c5111e-2e4c-4da8-a7b8-b83f69ace47a', 'name': '', 'tenant_id': '4aff3952ba704f16b62e7fde9bacf303', 'network_id': 'bab3060d-372c-4f32-8f1d-afe7d9f68ee4', 'ip_version': 4, 'cidr': '155.170.254.192/26', 'allocation_pools': [{'start': '155.170.254.194', 'end': '155.170.254.254'}], 'gateway_ip': '155.170.254.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.170.254.194', 'tags': [], 'project_id': '4aff3952ba704f16b62e7fde9bacf303'}} 2026-02-06 16:03:01,044 - INFO - Created VN ctest-ext_vn-42674055 2026-02-06 16:03:01,099 - DEBUG - VN ctest-ext_vn-42674055 UUID is bab3060d-372c-4f32-8f1d-afe7d9f68ee4 2026-02-06 16:03:01,373 - DEBUG - Services list from nova: [, , ] 2026-02-06 16:03:02,748 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5227-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5227-1) 2026-02-06 16:03:04,131 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5227-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5227-1) 2026-02-06 16:03:04,217 - INFO - Setting gateway for router 665e5a97-e943-480c-bc31-ea279a4d03c0 to network bab3060d-372c-4f32-8f1d-afe7d9f68ee4 2026-02-06 16:03:04,286 - INFO - Adding interface with subnet_id 86b4bd82-0feb-48f0-8cb9-b3bd4cc6c0d6, port_id None to router 665e5a97-e943-480c-bc31-ea279a4d03c0 2026-02-06 16:03:04,578 - INFO - Waiting for VM ctest-TestRoutersBasic-00292431-15538565 to be up.. 2026-02-06 16:03:04,702 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-06 16:03:09,802 - DEBUG - VM is in ACTIVE state now 2026-02-06 16:03:09,803 - INFO - VM name : ctest-TestRoutersBasic-00292431-15538565 2026-02-06 16:03:09,897 - DEBUG - VM ctest-TestRoutersBasic-00292431-15538565 ID is 3d847585-136b-46dd-9190-860ecf12e43c 2026-02-06 16:03:09,921 - DEBUG - VM ctest-TestRoutersBasic-00292431-15538565 launched on Node cn-jenkins-deploy-platform-ansible-os-5227-1 2026-02-06 16:03:10,001 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3d847585-136b-46dd-9190-860ecf12e43c 2026-02-06 16:03:10,301 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3d847585-136b-46dd-9190-860ecf12e43c 2026-02-06 16:03:10,348 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c00d20b8-a132-48ae-bad4-58372cb09076 2026-02-06 16:03:13,606 - 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 1006ms') 2026-02-06 16:03:13,606 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-00292431-15538565 failed! 2026-02-06 16:03:13,675 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-00292431:ctest-vn-96366673 is 5.93.61.193 and allocation pool is NOT set 2026-02-06 16:03:15,752 - 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=7.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.05 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 = 2.047/4.769/7.491/2.722 ms') 2026-02-06 16:03:15,752 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-00292431-15538565 passed 2026-02-06 16:03:15,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 16:03:15,931 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00292431-15538565, IP 5.93.61.195, Port 22 2026-02-06 16:03:16,012 - 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-06 16:03:16,141 - DEBUG - VM ctest-TestRoutersBasic-00292431-15538565 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-06 16:03:21,143 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 16:03:21,143 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00292431-15538565, IP 5.93.61.195, Port 22 2026-02-06 16:03:21,351 - DEBUG - VM ctest-TestRoutersBasic-00292431-15538565 is ready for SSH connections 2026-02-06 16:03:21,351 - INFO - Waiting for VM ctest-TestRoutersBasic-00292431-59157924 to be up.. 2026-02-06 16:03:21,500 - DEBUG - VM is in ACTIVE state now 2026-02-06 16:03:21,500 - INFO - VM name : ctest-TestRoutersBasic-00292431-59157924 2026-02-06 16:03:21,632 - DEBUG - VM ctest-TestRoutersBasic-00292431-59157924 ID is 2dffb9e5-e9fb-46ee-a1c3-a34faed41be1 2026-02-06 16:03:21,633 - DEBUG - VM ctest-TestRoutersBasic-00292431-59157924 launched on Node cn-jenkins-deploy-platform-ansible-os-5227-1 2026-02-06 16:03:21,727 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2dffb9e5-e9fb-46ee-a1c3-a34faed41be1 2026-02-06 16:03:21,736 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ff95d53e-987c-48b0-a560-4523fc541215 2026-02-06 16:03:23,030 - 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=10.9 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.396 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.396/5.624/10.853/5.228 ms') 2026-02-06 16:03:23,030 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-00292431-59157924 passed 2026-02-06 16:03:23,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 16:03:23,203 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00292431-59157924, IP 155.170.254.195, Port 22 2026-02-06 16:03:23,404 - DEBUG - VM ctest-TestRoutersBasic-00292431-59157924 is ready for SSH connections 2026-02-06 16:03:23,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 16:03:23,405 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.170.254.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-06 16:03:23,405 - DEBUG - ping -s 56 -c 3 -W 1 155.170.254.195 2026-02-06 16:03:27,385 - DEBUG - PING 155.170.254.195 (155.170.254.195): 56 data bytes 64 bytes from 155.170.254.195: seq=0 ttl=62 time=8.153 ms 64 bytes from 155.170.254.195: seq=1 ttl=62 time=2.289 ms 64 bytes from 155.170.254.195: seq=2 ttl=62 time=1.581 ms --- 155.170.254.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.581/4.007/8.153 ms 2026-02-06 16:03:27,385 - INFO - Ping to IP 155.170.254.195 from VM ctest-TestRoutersBasic-00292431-15538565 passed 2026-02-06 16:03:27,386 - INFO - Deleting interface with subnet_id 86b4bd82-0feb-48f0-8cb9-b3bd4cc6c0d6, port_id None from router 665e5a97-e943-480c-bc31-ea279a4d03c0 2026-02-06 16:03:27,702 - INFO - Deleting VM ctest-TestRoutersBasic-00292431-59157924 2026-02-06 16:03:27,775 - INFO - Deleting VM ctest-TestRoutersBasic-00292431-15538565 2026-02-06 16:03:27,866 - INFO - Deleting VN ctest-ext_vn-42674055 2026-02-06 16:03:27,956 - DEBUG - VN bab3060d-372c-4f32-8f1d-afe7d9f68ee4 still in use: Unable to complete operation on network bab3060d-372c-4f32-8f1d-afe7d9f68ee4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b3df8221-bfb9-4f9e-ab5d-a4419d380943'] 2026-02-06 16:03:27,956 - WARNING - Deleting VN ctest-ext_vn-42674055 failed..Will retry 2026-02-06 16:03:30,195 - DEBUG - Response for deleting network () 2026-02-06 16:03:30,196 - INFO - Deleting VN ctest-vn-96366673 2026-02-06 16:03:30,321 - DEBUG - Response for deleting network () 2026-02-06 16:03:30,620 - DEBUG - No XMPP flaps were noticed during the test
2026-02-06 16:03:30,620 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2026-02-06 16:03:30,620 - INFO - -------------------------------------------------------------------------------- 2026-02-06 16:03:31,488 - INFO - Deleted project: ctest-TestRoutersBasic-00292431, ID : 4aff3952-ba70-4f16-b62e-7fde9bacf303