2026-05-28 15:48:01,942 - INFO - Domain Default found not creating 2026-05-28 15:48:02,121 - INFO - Project ctest-TestRoutersBasic-15363776 not found, creating it 2026-05-28 15:48:02,709 - INFO - Created Project:ctest-TestRoutersBasic-15363776, ID : b431c1ae-536f-4599-b8a9-562bb874f264 2026-05-28 15:48:04,325 - INFO - ================================================================================ 2026-05-28 15:48:04,326 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-28 15:48:04,326 - 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-05-28 15:48:05,638 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.25': '0', '10.20.0.254': '0'}, '10.0.0.73': {'10.20.0.25': '0', '10.20.0.254': '0'}} with 2026-05-28 15:48:05,638 - INFO - Initial checks done. Running the testcase now 2026-05-28 15:48:05,638 - INFO - 2026-05-28 15:48:06,437 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-15363776 2026-05-28 15:48:06,498 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-15363776 2026-05-28 15:48:06,816 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15363776', 'default']} 2026-05-28 15:48:07,272 - DEBUG - Response for create_network : {'network': {'id': '8475baa2-628a-41d2-9793-cb878e2d5ec0', 'name': 'ctest-vn-08452066', 'tenant_id': 'b431c1ae536f4599b8a9562bb874f264', 'project_id': 'b431c1ae536f4599b8a9562bb874f264', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15363776', 'ctest-vn-08452066'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 15:48:07,623 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c6b9a383-1914-451a-aa64-e53a6711f7e8', 'name': '', 'tenant_id': 'b431c1ae536f4599b8a9562bb874f264', 'network_id': '8475baa2-628a-41d2-9793-cb878e2d5ec0', 'ip_version': 4, 'cidr': '107.207.63.192/26', 'allocation_pools': [{'start': '107.207.63.194', 'end': '107.207.63.254'}], 'gateway_ip': '107.207.63.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.207.63.194', 'tags': [], 'project_id': 'b431c1ae536f4599b8a9562bb874f264'}} 2026-05-28 15:48:07,658 - INFO - Created VN ctest-vn-08452066 2026-05-28 15:48:07,673 - DEBUG - VN ctest-vn-08452066 UUID is 8475baa2-628a-41d2-9793-cb878e2d5ec0 2026-05-28 15:48:08,227 - DEBUG - Response for create_network : {'network': {'id': 'd2f8c18e-9b35-42f3-9ebe-a6a1c5b8f193', 'name': 'ctest-ext_vn-62618064', 'tenant_id': 'b431c1ae536f4599b8a9562bb874f264', 'project_id': 'b431c1ae536f4599b8a9562bb874f264', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15363776', 'ctest-ext_vn-62618064'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 15:48:08,536 - DEBUG - Response for create_subnet : {'subnet': {'id': '380d72e1-9258-40a1-91a4-9dd32ed46b5e', 'name': '', 'tenant_id': 'b431c1ae536f4599b8a9562bb874f264', 'network_id': 'd2f8c18e-9b35-42f3-9ebe-a6a1c5b8f193', 'ip_version': 4, 'cidr': '197.179.233.192/26', 'allocation_pools': [{'start': '197.179.233.194', 'end': '197.179.233.254'}], 'gateway_ip': '197.179.233.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.179.233.194', 'tags': [], 'project_id': 'b431c1ae536f4599b8a9562bb874f264'}} 2026-05-28 15:48:08,562 - INFO - Created VN ctest-ext_vn-62618064 2026-05-28 15:48:08,577 - DEBUG - VN ctest-ext_vn-62618064 UUID is d2f8c18e-9b35-42f3-9ebe-a6a1c5b8f193 2026-05-28 15:48:08,725 - DEBUG - Services list from nova: [, , , ] 2026-05-28 15:48:09,851 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5845-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5845-1) 2026-05-28 15:48:11,252 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5845-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5845-2) 2026-05-28 15:48:11,388 - INFO - Setting gateway for router 50d58aa2-609e-4bbb-8bc8-0ba77223e522 to network d2f8c18e-9b35-42f3-9ebe-a6a1c5b8f193 2026-05-28 15:48:11,482 - INFO - Adding interface with subnet_id c6b9a383-1914-451a-aa64-e53a6711f7e8, port_id None to router 50d58aa2-609e-4bbb-8bc8-0ba77223e522 2026-05-28 15:48:12,035 - INFO - Waiting for VM ctest-TestRoutersBasic-15363776-13123127 to be up.. 2026-05-28 15:48:12,234 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-28 15:48:17,332 - DEBUG - VM is in ACTIVE state now 2026-05-28 15:48:17,332 - INFO - VM name : ctest-TestRoutersBasic-15363776-13123127 2026-05-28 15:48:17,415 - DEBUG - VM ctest-TestRoutersBasic-15363776-13123127 ID is f446c132-99cb-4e9e-aedf-3f1db24a6f22 2026-05-28 15:48:17,440 - DEBUG - VM ctest-TestRoutersBasic-15363776-13123127 launched on Node an-jenkins-deploy-platform-ansible-os-5845-1 2026-05-28 15:48:17,528 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f446c132-99cb-4e9e-aedf-3f1db24a6f22 2026-05-28 15:48:17,826 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f446c132-99cb-4e9e-aedf-3f1db24a6f22 2026-05-28 15:48:17,868 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/6d179482-38f5-4786-9fbd-7103b7479fd5 2026-05-28 15:48:21,053 - 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 1016ms') 2026-05-28 15:48:21,053 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-15363776-13123127 failed! 2026-05-28 15:48:21,069 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-15363776:ctest-vn-08452066 is 107.207.63.193 and allocation pool is NOT set 2026-05-28 15:48:23,130 - 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=4.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.530 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.530/2.485/4.441/1.955 ms') 2026-05-28 15:48:23,130 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-15363776-13123127 passed 2026-05-28 15:48:23,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 15:48:23,200 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15363776-13123127, IP 107.207.63.195, Port 22 2026-05-28 15:48:23,360 - DEBUG - VM ctest-TestRoutersBasic-15363776-13123127 is ready for SSH connections 2026-05-28 15:48:23,360 - INFO - Waiting for VM ctest-TestRoutersBasic-15363776-10430795 to be up.. 2026-05-28 15:48:23,456 - DEBUG - VM is in ACTIVE state now 2026-05-28 15:48:23,456 - INFO - VM name : ctest-TestRoutersBasic-15363776-10430795 2026-05-28 15:48:23,550 - DEBUG - VM ctest-TestRoutersBasic-15363776-10430795 ID is 6271b64c-6a2f-4bfe-9ef7-b1195823c852 2026-05-28 15:48:23,551 - DEBUG - VM ctest-TestRoutersBasic-15363776-10430795 launched on Node an-jenkins-deploy-platform-ansible-os-5845-2 2026-05-28 15:48:23,639 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6271b64c-6a2f-4bfe-9ef7-b1195823c852 2026-05-28 15:48:23,655 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/4ac67e79-b050-41cf-b411-f2b4ba5592fe 2026-05-28 15:48:24,832 - 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=4.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.67 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 = 1.674/3.048/4.423/1.374 ms') 2026-05-28 15:48:24,832 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-15363776-10430795 passed 2026-05-28 15:48:24,905 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 15:48:24,905 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15363776-10430795, IP 197.179.233.195, Port 22 2026-05-28 15:48:25,081 - DEBUG - VM ctest-TestRoutersBasic-15363776-10430795 is ready for SSH connections 2026-05-28 15:48:25,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 15:48:25,081 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.179.233.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-05-28 15:48:25,081 - DEBUG - ping -s 56 -c 3 -W 1 197.179.233.195 2026-05-28 15:48:28,804 - DEBUG - PING 197.179.233.195 (197.179.233.195): 56 data bytes 64 bytes from 197.179.233.195: seq=0 ttl=62 time=8.810 ms 64 bytes from 197.179.233.195: seq=1 ttl=62 time=1.480 ms 64 bytes from 197.179.233.195: seq=2 ttl=62 time=2.153 ms --- 197.179.233.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.480/4.147/8.810 ms 2026-05-28 15:48:28,804 - INFO - Ping to IP 197.179.233.195 from VM ctest-TestRoutersBasic-15363776-13123127 passed 2026-05-28 15:48:28,804 - INFO - Deleting interface with subnet_id c6b9a383-1914-451a-aa64-e53a6711f7e8, port_id None from router 50d58aa2-609e-4bbb-8bc8-0ba77223e522 2026-05-28 15:48:29,218 - INFO - Deleting VM ctest-TestRoutersBasic-15363776-10430795 2026-05-28 15:48:29,336 - INFO - Deleting VM ctest-TestRoutersBasic-15363776-13123127 2026-05-28 15:48:29,432 - INFO - Deleting VN ctest-ext_vn-62618064 2026-05-28 15:48:29,591 - DEBUG - VN d2f8c18e-9b35-42f3-9ebe-a6a1c5b8f193 still in use: Unable to complete operation on network d2f8c18e-9b35-42f3-9ebe-a6a1c5b8f193. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e31d9a3c-f6de-4b7a-9876-638309bb0046'] 2026-05-28 15:48:29,591 - WARNING - Deleting VN ctest-ext_vn-62618064 failed..Will retry 2026-05-28 15:48:31,808 - DEBUG - Response for deleting network () 2026-05-28 15:48:31,808 - INFO - Deleting VN ctest-vn-08452066 2026-05-28 15:48:32,015 - DEBUG - Response for deleting network () 2026-05-28 15:48:33,289 - DEBUG - No XMPP flaps were noticed during the test 2026-05-28 15:48:33,290 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29] 2026-05-28 15:48:33,290 - INFO - -------------------------------------------------------------------------------- 2026-05-28 15:48:34,175 - INFO - Deleted project: ctest-TestRoutersBasic-15363776, ID : b431c1ae-536f-4599-b8a9-562bb874f264