2026-10-06 11:46:32,242 - INFO - Domain Default found not creating 2026-10-06 11:46:32,398 - INFO - Project ctest-TestRoutersBasic-41209944 not found, creating it 2026-10-06 11:46:32,847 - INFO - Created Project:ctest-TestRoutersBasic-41209944, ID : 9fd58977-e83b-40de-b07f-cda60b8b980c 2026-10-06 11:46:34,553 - INFO - ================================================================================ 2026-10-06 11:46:34,553 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-06 11:46:34,553 - 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-10-06 11:46:34,807 - DEBUG - Nothing to compare xmpp stats {'10.0.0.163': {'10.20.0.25': '0'}} with 2026-10-06 11:46:34,807 - INFO - Initial checks done. Running the testcase now 2026-10-06 11:46:34,807 - INFO - 2026-10-06 11:46:35,668 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-41209944 2026-10-06 11:46:35,765 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-41209944 2026-10-06 11:46:36,097 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41209944', 'default']} 2026-10-06 11:46:36,391 - DEBUG - Response for create_network : {'network': {'id': '5222b52c-1116-4944-8be2-5bb8f8d501aa', 'name': 'ctest-vn-70628670', 'tenant_id': '9fd58977e83b40deb07fcda60b8b980c', 'project_id': '9fd58977e83b40deb07fcda60b8b980c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41209944', 'ctest-vn-70628670'], 'port_security_enabled': True, 'description': ''}} 2026-10-06 11:46:36,601 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c403bbdb-08c8-4066-93fa-ee35c4dc8633', 'name': '', 'tenant_id': '9fd58977e83b40deb07fcda60b8b980c', 'network_id': '5222b52c-1116-4944-8be2-5bb8f8d501aa', 'ip_version': 4, 'cidr': '74.210.137.128/26', 'allocation_pools': [{'start': '74.210.137.130', 'end': '74.210.137.190'}], 'gateway_ip': '74.210.137.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.210.137.130', 'tags': [], 'project_id': '9fd58977e83b40deb07fcda60b8b980c'}} 2026-10-06 11:46:36,614 - INFO - Created VN ctest-vn-70628670 2026-10-06 11:46:36,669 - DEBUG - VN ctest-vn-70628670 UUID is 5222b52c-1116-4944-8be2-5bb8f8d501aa 2026-10-06 11:46:37,015 - DEBUG - Response for create_network : {'network': {'id': '92790fdb-713b-420c-9f21-2febd9b2e8f8', 'name': 'ctest-ext_vn-01699422', 'tenant_id': '9fd58977e83b40deb07fcda60b8b980c', 'project_id': '9fd58977e83b40deb07fcda60b8b980c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41209944', 'ctest-ext_vn-01699422'], 'port_security_enabled': True, 'description': ''}} 2026-10-06 11:46:37,164 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd5babdf3-2f30-475b-8402-e4f32c8af17c', 'name': '', 'tenant_id': '9fd58977e83b40deb07fcda60b8b980c', 'network_id': '92790fdb-713b-420c-9f21-2febd9b2e8f8', 'ip_version': 4, 'cidr': '222.230.177.128/26', 'allocation_pools': [{'start': '222.230.177.130', 'end': '222.230.177.190'}], 'gateway_ip': '222.230.177.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.230.177.130', 'tags': [], 'project_id': '9fd58977e83b40deb07fcda60b8b980c'}} 2026-10-06 11:46:37,179 - INFO - Created VN ctest-ext_vn-01699422 2026-10-06 11:46:37,237 - DEBUG - VN ctest-ext_vn-01699422 UUID is 92790fdb-713b-420c-9f21-2febd9b2e8f8 2026-10-06 11:46:37,423 - DEBUG - Services list from nova: [, , ] 2026-10-06 11:46:37,703 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6350-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6350-1) 2026-10-06 11:46:38,026 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6350-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6350-1) 2026-10-06 11:46:38,095 - INFO - Setting gateway for router 14025f86-28b8-4c57-a43c-7fe8ba4110db to network 92790fdb-713b-420c-9f21-2febd9b2e8f8 2026-10-06 11:46:38,170 - INFO - Adding interface with subnet_id c403bbdb-08c8-4066-93fa-ee35c4dc8633, port_id None to router 14025f86-28b8-4c57-a43c-7fe8ba4110db 2026-10-06 11:46:38,452 - INFO - Waiting for VM ctest-TestRoutersBasic-41209944-07233122 to be up.. 2026-10-06 11:46:38,506 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 11:46:43,575 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 11:46:48,643 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 11:46:53,711 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 11:46:58,833 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 11:47:03,903 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 11:47:08,977 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 11:47:14,046 - DEBUG - VM is in ACTIVE state now 2026-10-06 11:47:14,046 - INFO - VM name : ctest-TestRoutersBasic-41209944-07233122 2026-10-06 11:47:14,110 - DEBUG - VM ctest-TestRoutersBasic-41209944-07233122 ID is b8e2dc57-9214-4775-8051-d951e1ad3306 2026-10-06 11:47:14,128 - DEBUG - VM ctest-TestRoutersBasic-41209944-07233122 launched on Node cn-jenkins-deploy-platform-ansible-os-6350-1 2026-10-06 11:47:14,199 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/b8e2dc57-9214-4775-8051-d951e1ad3306 2026-10-06 11:47:14,568 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/b8e2dc57-9214-4775-8051-d951e1ad3306 2026-10-06 11:47:14,595 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/1290e58d-74fa-42ab-b289-1570e65ca743 2026-10-06 11:47:17,838 - 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 1002ms') 2026-10-06 11:47:17,838 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-41209944-07233122 failed! 2026-10-06 11:47:17,893 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-41209944:ctest-vn-70628670 is 74.210.137.129 and allocation pool is NOT set 2026-10-06 11:47:19,957 - 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=15.9 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=2.48 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 = 2.484/9.211/15.939/6.727 ms') 2026-10-06 11:47:19,957 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-41209944-07233122 passed 2026-10-06 11:47:20,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-06 11:47:20,109 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41209944-07233122, IP 74.210.137.131, Port 22 2026-10-06 11:47:20,264 - DEBUG - VM ctest-TestRoutersBasic-41209944-07233122 is ready for SSH connections 2026-10-06 11:47:20,264 - INFO - Waiting for VM ctest-TestRoutersBasic-41209944-21886261 to be up.. 2026-10-06 11:47:20,331 - DEBUG - VM is in ACTIVE state now 2026-10-06 11:47:20,331 - INFO - VM name : ctest-TestRoutersBasic-41209944-21886261 2026-10-06 11:47:20,400 - DEBUG - VM ctest-TestRoutersBasic-41209944-21886261 ID is 9cba05cb-1ad6-4f3a-8908-b3eededf938b 2026-10-06 11:47:20,400 - DEBUG - VM ctest-TestRoutersBasic-41209944-21886261 launched on Node cn-jenkins-deploy-platform-ansible-os-6350-1 2026-10-06 11:47:20,466 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/9cba05cb-1ad6-4f3a-8908-b3eededf938b 2026-10-06 11:47:20,473 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/3d9ccf36-f4fe-4efd-878b-81c254e14877 2026-10-06 11:47:23,721 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2026-10-06 11:47:23,721 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-41209944-21886261 failed! 2026-10-06 11:47:23,773 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-41209944:ctest-ext_vn-01699422 is 222.230.177.129 and allocation pool is NOT set 2026-10-06 11:47:25,835 - 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=4.49 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.998 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.998/2.744/4.490/1.746 ms') 2026-10-06 11:47:25,835 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-41209944-21886261 passed 2026-10-06 11:47:25,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-06 11:47:25,989 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41209944-21886261, IP 222.230.177.132, Port 22 2026-10-06 11:47:26,145 - DEBUG - VM ctest-TestRoutersBasic-41209944-21886261 is ready for SSH connections 2026-10-06 11:47:26,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-06 11:47:26,145 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.230.177.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123 2026-10-06 11:47:26,145 - DEBUG - ping -s 56 -c 3 -W 1 222.230.177.132 2026-10-06 11:47:29,080 - DEBUG - PING 222.230.177.132 (222.230.177.132): 56 data bytes 64 bytes from 222.230.177.132: seq=0 ttl=62 time=6.636 ms 64 bytes from 222.230.177.132: seq=1 ttl=62 time=0.848 ms 64 bytes from 222.230.177.132: seq=2 ttl=62 time=1.145 ms --- 222.230.177.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.848/2.876/6.636 ms 2026-10-06 11:47:29,080 - INFO - Ping to IP 222.230.177.132 from VM ctest-TestRoutersBasic-41209944-07233122 passed 2026-10-06 11:47:29,080 - INFO - Deleting interface with subnet_id c403bbdb-08c8-4066-93fa-ee35c4dc8633, port_id None from router 14025f86-28b8-4c57-a43c-7fe8ba4110db 2026-10-06 11:47:29,261 - INFO - Deleting VM ctest-TestRoutersBasic-41209944-21886261 2026-10-06 11:47:29,333 - INFO - Deleting VM ctest-TestRoutersBasic-41209944-07233122 2026-10-06 11:47:29,405 - INFO - Deleting VN ctest-ext_vn-01699422 2026-10-06 11:47:29,461 - DEBUG - VN 92790fdb-713b-420c-9f21-2febd9b2e8f8 still in use: Unable to complete operation on network 92790fdb-713b-420c-9f21-2febd9b2e8f8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-65bce111-6916-4833-b51c-e09af0e56320'] 2026-10-06 11:47:29,461 - WARNING - Deleting VN ctest-ext_vn-01699422 failed..Will retry 2026-10-06 11:47:31,641 - DEBUG - Response for deleting network () 2026-10-06 11:47:31,641 - INFO - Deleting VN ctest-vn-70628670 2026-10-06 11:47:31,732 - DEBUG - Response for deleting network () 2026-10-06 11:47:31,993 - DEBUG - No XMPP flaps were noticed during the test 2026-10-06 11:47:31,993 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:57] 2026-10-06 11:47:31,993 - INFO - -------------------------------------------------------------------------------- 2026-10-06 11:47:32,762 - INFO - Deleted project: ctest-TestRoutersBasic-41209944, ID : 9fd58977-e83b-40de-b07f-cda60b8b980c