2026-09-09 09:48:52,571 - INFO - Domain Default found not creating 2026-09-09 09:48:52,734 - INFO - Project ctest-TestRoutersBasic-28984752 not found, creating it 2026-09-09 09:48:53,199 - INFO - Created Project:ctest-TestRoutersBasic-28984752, ID : 0186e869-c067-442c-b6cf-7ac60ce410c1 2026-09-09 09:48:54,803 - INFO - ================================================================================ 2026-09-09 09:48:54,803 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-09 09:48:54,803 - 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-09-09 09:48:55,078 - DEBUG - Nothing to compare xmpp stats {'10.0.0.250': {'10.20.0.25': '0'}} with 2026-09-09 09:48:55,078 - INFO - Initial checks done. Running the testcase now 2026-09-09 09:48:55,078 - INFO - 2026-09-09 09:48:55,892 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-28984752 2026-09-09 09:48:55,995 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-28984752 2026-09-09 09:48:56,323 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28984752', 'default']} 2026-09-09 09:48:56,621 - DEBUG - Response for create_network : {'network': {'id': 'ee3174af-0d63-440f-9692-82639185235e', 'name': 'ctest-vn-33023482', 'tenant_id': '0186e869c067442cb6cf7ac60ce410c1', 'project_id': '0186e869c067442cb6cf7ac60ce410c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28984752', 'ctest-vn-33023482'], 'port_security_enabled': True, 'description': ''}} 2026-09-09 09:48:56,847 - DEBUG - Response for create_subnet : {'subnet': {'id': '9cf53254-aca9-4326-bee2-eca2bd7f02bb', 'name': '', 'tenant_id': '0186e869c067442cb6cf7ac60ce410c1', 'network_id': 'ee3174af-0d63-440f-9692-82639185235e', 'ip_version': 4, 'cidr': '9.210.230.128/26', 'allocation_pools': [{'start': '9.210.230.130', 'end': '9.210.230.190'}], 'gateway_ip': '9.210.230.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.210.230.130', 'tags': [], 'project_id': '0186e869c067442cb6cf7ac60ce410c1'}} 2026-09-09 09:48:56,865 - INFO - Created VN ctest-vn-33023482 2026-09-09 09:48:56,919 - DEBUG - VN ctest-vn-33023482 UUID is ee3174af-0d63-440f-9692-82639185235e 2026-09-09 09:48:57,301 - DEBUG - Response for create_network : {'network': {'id': 'd0a35105-29fb-4c3b-ae61-536b491ef771', 'name': 'ctest-ext_vn-35109528', 'tenant_id': '0186e869c067442cb6cf7ac60ce410c1', 'project_id': '0186e869c067442cb6cf7ac60ce410c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28984752', 'ctest-ext_vn-35109528'], 'port_security_enabled': True, 'description': ''}} 2026-09-09 09:48:57,502 - DEBUG - Response for create_subnet : {'subnet': {'id': '71b94a45-f4b9-4884-88a5-2c2f63889bcf', 'name': '', 'tenant_id': '0186e869c067442cb6cf7ac60ce410c1', 'network_id': 'd0a35105-29fb-4c3b-ae61-536b491ef771', 'ip_version': 4, 'cidr': '68.125.15.0/26', 'allocation_pools': [{'start': '68.125.15.2', 'end': '68.125.15.62'}], 'gateway_ip': '68.125.15.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.125.15.2', 'tags': [], 'project_id': '0186e869c067442cb6cf7ac60ce410c1'}} 2026-09-09 09:48:57,520 - INFO - Created VN ctest-ext_vn-35109528 2026-09-09 09:48:57,571 - DEBUG - VN ctest-ext_vn-35109528 UUID is d0a35105-29fb-4c3b-ae61-536b491ef771 2026-09-09 09:48:57,752 - DEBUG - Services list from nova: [, , ] 2026-09-09 09:48:58,094 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6265-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6265-1) 2026-09-09 09:48:58,522 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6265-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6265-1) 2026-09-09 09:48:58,591 - INFO - Setting gateway for router 52588b44-75aa-48e4-9aa4-c4cadbf2f5ca to network d0a35105-29fb-4c3b-ae61-536b491ef771 2026-09-09 09:48:58,646 - INFO - Adding interface with subnet_id 9cf53254-aca9-4326-bee2-eca2bd7f02bb, port_id None to router 52588b44-75aa-48e4-9aa4-c4cadbf2f5ca 2026-09-09 09:48:58,965 - INFO - Waiting for VM ctest-TestRoutersBasic-28984752-58341789 to be up.. 2026-09-09 09:48:59,041 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 09:49:04,127 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 09:49:09,225 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 09:49:14,305 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 09:49:19,393 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 09:49:24,529 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 09:49:29,606 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 09:49:34,681 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-09 09:49:39,766 - DEBUG - VM is in ACTIVE state now 2026-09-09 09:49:39,766 - INFO - VM name : ctest-TestRoutersBasic-28984752-58341789 2026-09-09 09:49:39,849 - DEBUG - VM ctest-TestRoutersBasic-28984752-58341789 ID is 4f8a5dc0-1ef4-4b10-95bc-dfb22974d4bd 2026-09-09 09:49:39,871 - DEBUG - VM ctest-TestRoutersBasic-28984752-58341789 launched on Node cn-jenkins-deploy-platform-ansible-os-6265-1 2026-09-09 09:49:39,955 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/4f8a5dc0-1ef4-4b10-95bc-dfb22974d4bd 2026-09-09 09:49:40,298 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/4f8a5dc0-1ef4-4b10-95bc-dfb22974d4bd 2026-09-09 09:49:40,333 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/1d060093-f4a9-4a9e-8525-8f6f8dcad777 2026-09-09 09:49:41,586 - 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=11.1 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.730 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 = 0.730/5.916/11.102/5.186 ms') 2026-09-09 09:49:41,586 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-28984752-58341789 passed 2026-09-09 09:49:41,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 09:49:41,747 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28984752-58341789, IP 9.210.230.131, Port 22 2026-09-09 09:49:41,813 - 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-09-09 09:49:41,887 - DEBUG - VM ctest-TestRoutersBasic-28984752-58341789 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-09 09:49:46,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 09:49:46,888 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28984752-58341789, IP 9.210.230.131, Port 22 2026-09-09 09:49:47,053 - DEBUG - VM ctest-TestRoutersBasic-28984752-58341789 is ready for SSH connections 2026-09-09 09:49:47,053 - INFO - Waiting for VM ctest-TestRoutersBasic-28984752-96696732 to be up.. 2026-09-09 09:49:47,124 - DEBUG - VM is in ACTIVE state now 2026-09-09 09:49:47,124 - INFO - VM name : ctest-TestRoutersBasic-28984752-96696732 2026-09-09 09:49:47,201 - DEBUG - VM ctest-TestRoutersBasic-28984752-96696732 ID is e4cca732-6156-4773-ae03-b0804b99438d 2026-09-09 09:49:47,201 - DEBUG - VM ctest-TestRoutersBasic-28984752-96696732 launched on Node cn-jenkins-deploy-platform-ansible-os-6265-1 2026-09-09 09:49:47,289 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/e4cca732-6156-4773-ae03-b0804b99438d 2026-09-09 09:49:47,300 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/f4f698fd-b17a-4c02-9100-c8b49163097a 2026-09-09 09:49:48,555 - 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.39 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.561 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.561/1.977/3.394/1.416 ms') 2026-09-09 09:49:48,555 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-28984752-96696732 passed 2026-09-09 09:49:48,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 09:49:48,711 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28984752-96696732, IP 68.125.15.4, Port 22 2026-09-09 09:49:48,881 - DEBUG - VM ctest-TestRoutersBasic-28984752-96696732 is ready for SSH connections 2026-09-09 09:49:48,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-09 09:49:48,881 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.125.15.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.250, gateway password: c0ntrail123 2026-09-09 09:49:48,882 - DEBUG - ping -s 56 -c 3 -W 1 68.125.15.4 2026-09-09 09:49:51,998 - DEBUG - PING 68.125.15.4 (68.125.15.4): 56 data bytes 64 bytes from 68.125.15.4: seq=0 ttl=62 time=6.341 ms 64 bytes from 68.125.15.4: seq=1 ttl=62 time=1.006 ms 64 bytes from 68.125.15.4: seq=2 ttl=62 time=1.276 ms --- 68.125.15.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.006/2.874/6.341 ms 2026-09-09 09:49:51,998 - INFO - Ping to IP 68.125.15.4 from VM ctest-TestRoutersBasic-28984752-58341789 passed 2026-09-09 09:49:51,998 - INFO - Deleting interface with subnet_id 9cf53254-aca9-4326-bee2-eca2bd7f02bb, port_id None from router 52588b44-75aa-48e4-9aa4-c4cadbf2f5ca 2026-09-09 09:49:52,239 - INFO - Deleting VM ctest-TestRoutersBasic-28984752-96696732 2026-09-09 09:49:52,327 - INFO - Deleting VM ctest-TestRoutersBasic-28984752-58341789 2026-09-09 09:49:52,411 - INFO - Deleting VN ctest-ext_vn-35109528 2026-09-09 09:49:52,488 - DEBUG - VN d0a35105-29fb-4c3b-ae61-536b491ef771 still in use: Unable to complete operation on network d0a35105-29fb-4c3b-ae61-536b491ef771. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2b2ef1df-82b7-4f6a-bb12-84c3e8054e05'] 2026-09-09 09:49:52,488 - WARNING - Deleting VN ctest-ext_vn-35109528 failed..Will retry 2026-09-09 09:49:54,733 - DEBUG - Response for deleting network () 2026-09-09 09:49:54,733 - INFO - Deleting VN ctest-vn-33023482 2026-09-09 09:49:54,854 - DEBUG - Response for deleting network () 2026-09-09 09:49:55,114 - DEBUG - No XMPP flaps were noticed during the test
2026-09-09 09:49:55,114 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:01]
2026-09-09 09:49:55,114 - INFO - -------------------------------------------------------------------------------- 2026-09-09 09:49:55,854 - INFO - Deleted project: ctest-TestRoutersBasic-28984752, ID : 0186e869-c067-442c-b6cf-7ac60ce410c1