2026-11-06 08:05:51,597 - INFO - Domain Default found not creating 2026-11-06 08:05:51,849 - INFO - Project ctest-TestRoutersBasic-88682022 not found, creating it 2026-11-06 08:05:52,414 - INFO - Created Project:ctest-TestRoutersBasic-88682022, ID : 5a5000d2-d681-4a93-b1ae-4c666b4589cb 2026-11-06 08:05:54,315 - INFO - ================================================================================ 2026-11-06 08:05:54,315 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-06 08:05:54,315 - 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-06 08:05:54,584 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-11-06 08:05:54,584 - INFO - Initial checks done. Running the testcase now 2026-11-06 08:05:54,584 - INFO - 2026-11-06 08:05:55,460 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-88682022 2026-11-06 08:05:55,559 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-88682022 2026-11-06 08:05:55,891 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88682022', 'default']} 2026-11-06 08:05:56,197 - DEBUG - Response for create_network : {'network': {'id': 'b1c8968d-41ba-4bf1-b6b0-fab142fa24fe', 'name': 'ctest-vn-59731839', 'tenant_id': '5a5000d2d6814a93b1ae4c666b4589cb', 'project_id': '5a5000d2d6814a93b1ae4c666b4589cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88682022', 'ctest-vn-59731839'], 'port_security_enabled': True, 'description': ''}} 2026-11-06 08:05:56,364 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d62e7c8-2e8c-4b90-9a55-e10850e5d908', 'name': '', 'tenant_id': '5a5000d2d6814a93b1ae4c666b4589cb', 'network_id': 'b1c8968d-41ba-4bf1-b6b0-fab142fa24fe', 'ip_version': 4, 'cidr': '174.115.135.0/26', 'allocation_pools': [{'start': '174.115.135.2', 'end': '174.115.135.62'}], 'gateway_ip': '174.115.135.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.115.135.2', 'tags': [], 'project_id': '5a5000d2d6814a93b1ae4c666b4589cb'}} 2026-11-06 08:05:56,384 - INFO - Created VN ctest-vn-59731839 2026-11-06 08:05:56,439 - DEBUG - VN ctest-vn-59731839 UUID is b1c8968d-41ba-4bf1-b6b0-fab142fa24fe 2026-11-06 08:05:56,799 - DEBUG - Response for create_network : {'network': {'id': 'ec62bf9b-d767-4796-adfb-33fc6de6ffa8', 'name': 'ctest-ext_vn-86229331', 'tenant_id': '5a5000d2d6814a93b1ae4c666b4589cb', 'project_id': '5a5000d2d6814a93b1ae4c666b4589cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88682022', 'ctest-ext_vn-86229331'], 'port_security_enabled': True, 'description': ''}} 2026-11-06 08:05:57,027 - DEBUG - Response for create_subnet : {'subnet': {'id': '10b7f1a0-9593-41b8-af07-b7d8b691e159', 'name': '', 'tenant_id': '5a5000d2d6814a93b1ae4c666b4589cb', 'network_id': 'ec62bf9b-d767-4796-adfb-33fc6de6ffa8', 'ip_version': 4, 'cidr': '189.231.236.0/26', 'allocation_pools': [{'start': '189.231.236.2', 'end': '189.231.236.62'}], 'gateway_ip': '189.231.236.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.231.236.2', 'tags': [], 'project_id': '5a5000d2d6814a93b1ae4c666b4589cb'}} 2026-11-06 08:05:57,050 - INFO - Created VN ctest-ext_vn-86229331 2026-11-06 08:05:57,103 - DEBUG - VN ctest-ext_vn-86229331 UUID is ec62bf9b-d767-4796-adfb-33fc6de6ffa8 2026-11-06 08:05:57,300 - DEBUG - Services list from nova: [, , ] 2026-11-06 08:05:57,902 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6486-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6486-1) 2026-11-06 08:05:58,368 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6486-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6486-1) 2026-11-06 08:05:58,459 - INFO - Setting gateway for router 91d990c3-f357-4797-9450-79efe562b9dc to network ec62bf9b-d767-4796-adfb-33fc6de6ffa8 2026-11-06 08:05:58,538 - INFO - Adding interface with subnet_id 3d62e7c8-2e8c-4b90-9a55-e10850e5d908, port_id None to router 91d990c3-f357-4797-9450-79efe562b9dc 2026-11-06 08:05:58,899 - INFO - Waiting for VM ctest-TestRoutersBasic-88682022-70058859 to be up.. 2026-11-06 08:05:58,973 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 08:06:04,067 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 08:06:09,163 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 08:06:14,282 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 08:06:19,376 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 08:06:24,476 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 08:06:29,587 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 08:06:34,686 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 08:06:39,791 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 08:06:44,890 - DEBUG - VM is in ACTIVE state now 2026-11-06 08:06:44,890 - INFO - VM name : ctest-TestRoutersBasic-88682022-70058859 2026-11-06 08:06:45,000 - DEBUG - VM ctest-TestRoutersBasic-88682022-70058859 ID is aa8f58b7-ffc3-4995-8d78-88ab3a990f62 2026-11-06 08:06:45,024 - DEBUG - VM ctest-TestRoutersBasic-88682022-70058859 launched on Node cn-jenkins-deploy-platform-ansible-os-6486-1 2026-11-06 08:06:45,121 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/aa8f58b7-ffc3-4995-8d78-88ab3a990f62 2026-11-06 08:06:45,500 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/aa8f58b7-ffc3-4995-8d78-88ab3a990f62 2026-11-06 08:06:45,532 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2ec26e19-4234-4519-b612-45dd99fcaa02 2026-11-06 08:06:48,801 - 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 1020ms') 2026-11-06 08:06:48,804 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-88682022-70058859 failed! 2026-11-06 08:06:48,941 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-88682022:ctest-vn-59731839 is 174.115.135.1 and allocation pool is NOT set 2026-11-06 08:06:51,002 - 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=5.95 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.908 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.908/3.430/5.952/2.522 ms') 2026-11-06 08:06:51,003 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-88682022-70058859 passed 2026-11-06 08:06:51,159 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 08:06:51,159 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88682022-70058859, IP 174.115.135.3, Port 22 2026-11-06 08:06:51,337 - DEBUG - VM ctest-TestRoutersBasic-88682022-70058859 is ready for SSH connections 2026-11-06 08:06:51,337 - INFO - Waiting for VM ctest-TestRoutersBasic-88682022-52207383 to be up.. 2026-11-06 08:06:51,506 - DEBUG - VM is in ACTIVE state now 2026-11-06 08:06:51,506 - INFO - VM name : ctest-TestRoutersBasic-88682022-52207383 2026-11-06 08:06:51,605 - DEBUG - VM ctest-TestRoutersBasic-88682022-52207383 ID is e559adab-60d3-4140-a647-c77a20b53c33 2026-11-06 08:06:51,605 - DEBUG - VM ctest-TestRoutersBasic-88682022-52207383 launched on Node cn-jenkins-deploy-platform-ansible-os-6486-1 2026-11-06 08:06:51,706 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e559adab-60d3-4140-a647-c77a20b53c33 2026-11-06 08:06:51,718 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/053989c7-29cf-4eb1-8d4a-b9f06ea237e3 2026-11-06 08:06:52,977 - 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.49 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.480 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.480/1.985/3.491/1.505 ms') 2026-11-06 08:06:52,978 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-88682022-52207383 passed 2026-11-06 08:06:53,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 08:06:53,131 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88682022-52207383, IP 189.231.236.4, Port 22 2026-11-06 08:06:53,309 - DEBUG - VM ctest-TestRoutersBasic-88682022-52207383 is ready for SSH connections 2026-11-06 08:06:53,309 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 08:06:53,309 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.231.236.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-11-06 08:06:53,309 - DEBUG - ping -s 56 -c 3 -W 1 189.231.236.4 2026-11-06 08:06:56,422 - DEBUG - PING 189.231.236.4 (189.231.236.4): 56 data bytes 64 bytes from 189.231.236.4: seq=0 ttl=62 time=6.774 ms 64 bytes from 189.231.236.4: seq=1 ttl=62 time=1.669 ms 64 bytes from 189.231.236.4: seq=2 ttl=62 time=1.657 ms --- 189.231.236.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.657/3.366/6.774 ms 2026-11-06 08:06:56,422 - INFO - Ping to IP 189.231.236.4 from VM ctest-TestRoutersBasic-88682022-70058859 passed 2026-11-06 08:06:56,422 - INFO - Deleting interface with subnet_id 3d62e7c8-2e8c-4b90-9a55-e10850e5d908, port_id None from router 91d990c3-f357-4797-9450-79efe562b9dc 2026-11-06 08:06:56,681 - INFO - Deleting VM ctest-TestRoutersBasic-88682022-52207383 2026-11-06 08:06:56,778 - INFO - Deleting VM ctest-TestRoutersBasic-88682022-70058859 2026-11-06 08:06:56,869 - INFO - Deleting VN ctest-ext_vn-86229331 2026-11-06 08:06:56,957 - DEBUG - VN ec62bf9b-d767-4796-adfb-33fc6de6ffa8 still in use: Unable to complete operation on network ec62bf9b-d767-4796-adfb-33fc6de6ffa8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4bc22c9b-c8d3-464b-b3ff-0c8f7f0b6036'] 2026-11-06 08:06:56,957 - WARNING - Deleting VN ctest-ext_vn-86229331 failed..Will retry 2026-11-06 08:06:59,024 - DEBUG - VN ec62bf9b-d767-4796-adfb-33fc6de6ffa8 still in use: Unable to complete operation on network ec62bf9b-d767-4796-adfb-33fc6de6ffa8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7113ab3e-7c0e-4f16-a17d-cd8af5344e29'] 2026-11-06 08:06:59,024 - WARNING - Deleting VN ctest-ext_vn-86229331 failed..Will retry 2026-11-06 08:07:01,148 - DEBUG - Response for deleting network () 2026-11-06 08:07:01,148 - INFO - Deleting VN ctest-vn-59731839 2026-11-06 08:07:01,272 - DEBUG - Response for deleting network () 2026-11-06 08:07:01,601 - DEBUG - No XMPP flaps were noticed during the test
2026-11-06 08:07:01,601 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:07]
2026-11-06 08:07:01,601 - INFO - -------------------------------------------------------------------------------- 2026-11-06 08:07:02,546 - INFO - Deleted project: ctest-TestRoutersBasic-88682022, ID : 5a5000d2-d681-4a93-b1ae-4c666b4589cb