2026-08-03 02:52:54,982 - INFO - Domain Default found not creating 2026-08-03 02:52:55,242 - INFO - Project ctest-TestRoutersBasic-82579002 not found, creating it 2026-08-03 02:52:55,997 - INFO - Created Project:ctest-TestRoutersBasic-82579002, ID : 17bc2959-2861-48ca-877b-7d7b5b6b7cd3 2026-08-03 02:52:57,940 - INFO - ================================================================================ 2026-08-03 02:52:57,940 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-03 02:52:57,940 - 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-08-03 02:52:59,294 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0', '10.20.0.29': '0'}, '10.0.0.19': {'10.20.0.25': '0', '10.20.0.29': '0'}} with 2026-08-03 02:52:59,294 - INFO - Initial checks done. Running the testcase now 2026-08-03 02:52:59,294 - INFO - 2026-08-03 02:53:00,282 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-82579002 2026-08-03 02:53:00,356 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-82579002 2026-08-03 02:53:00,719 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82579002', 'default']} 2026-08-03 02:53:01,298 - DEBUG - Response for create_network : {'network': {'id': '4aeaba7a-dc53-4be0-a9a0-cf7d0c46a427', 'name': 'ctest-vn-67229855', 'tenant_id': '17bc2959286148ca877b7d7b5b6b7cd3', 'project_id': '17bc2959286148ca877b7d7b5b6b7cd3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82579002', 'ctest-vn-67229855'], 'port_security_enabled': True, 'description': ''}} 2026-08-03 02:53:01,675 - DEBUG - Response for create_subnet : {'subnet': {'id': '4df16d67-7455-4a57-9058-52efb90a17bf', 'name': '', 'tenant_id': '17bc2959286148ca877b7d7b5b6b7cd3', 'network_id': '4aeaba7a-dc53-4be0-a9a0-cf7d0c46a427', 'ip_version': 4, 'cidr': '208.57.136.64/26', 'allocation_pools': [{'start': '208.57.136.66', 'end': '208.57.136.126'}], 'gateway_ip': '208.57.136.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.57.136.66', 'tags': [], 'project_id': '17bc2959286148ca877b7d7b5b6b7cd3'}} 2026-08-03 02:53:01,709 - INFO - Created VN ctest-vn-67229855 2026-08-03 02:53:01,727 - DEBUG - VN ctest-vn-67229855 UUID is 4aeaba7a-dc53-4be0-a9a0-cf7d0c46a427 2026-08-03 02:53:02,309 - DEBUG - Response for create_network : {'network': {'id': '9277cf6c-464c-4d26-8b3e-e129cd45fb91', 'name': 'ctest-ext_vn-22926146', 'tenant_id': '17bc2959286148ca877b7d7b5b6b7cd3', 'project_id': '17bc2959286148ca877b7d7b5b6b7cd3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82579002', 'ctest-ext_vn-22926146'], 'port_security_enabled': True, 'description': ''}} 2026-08-03 02:53:02,628 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd8ae4968-418f-4f4c-81de-bca7a9c3bf83', 'name': '', 'tenant_id': '17bc2959286148ca877b7d7b5b6b7cd3', 'network_id': '9277cf6c-464c-4d26-8b3e-e129cd45fb91', 'ip_version': 4, 'cidr': '51.77.238.192/26', 'allocation_pools': [{'start': '51.77.238.194', 'end': '51.77.238.254'}], 'gateway_ip': '51.77.238.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.77.238.194', 'tags': [], 'project_id': '17bc2959286148ca877b7d7b5b6b7cd3'}} 2026-08-03 02:53:02,652 - INFO - Created VN ctest-ext_vn-22926146 2026-08-03 02:53:02,668 - DEBUG - VN ctest-ext_vn-22926146 UUID is 9277cf6c-464c-4d26-8b3e-e129cd45fb91 2026-08-03 02:53:02,825 - DEBUG - Services list from nova: [, , , ] 2026-08-03 02:53:03,409 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6129-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6129-2) 2026-08-03 02:53:03,976 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6129-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6129-1) 2026-08-03 02:53:04,137 - INFO - Setting gateway for router 1f337de7-0672-44c5-850f-6e9ecc72be72 to network 9277cf6c-464c-4d26-8b3e-e129cd45fb91 2026-08-03 02:53:04,277 - INFO - Adding interface with subnet_id 4df16d67-7455-4a57-9058-52efb90a17bf, port_id None to router 1f337de7-0672-44c5-850f-6e9ecc72be72 2026-08-03 02:53:05,119 - INFO - Waiting for VM ctest-TestRoutersBasic-82579002-75101232 to be up.. 2026-08-03 02:53:05,289 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-03 02:53:10,415 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-03 02:53:15,511 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-03 02:53:20,613 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-03 02:53:25,704 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-03 02:53:30,804 - DEBUG - VM is in ACTIVE state now 2026-08-03 02:53:30,804 - INFO - VM name : ctest-TestRoutersBasic-82579002-75101232 2026-08-03 02:53:30,898 - DEBUG - VM ctest-TestRoutersBasic-82579002-75101232 ID is e3d86064-fa52-4410-9097-8c21a3f13fcc 2026-08-03 02:53:30,931 - DEBUG - VM ctest-TestRoutersBasic-82579002-75101232 launched on Node an-jenkins-deploy-platform-ansible-os-6129-2 2026-08-03 02:53:31,023 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/e3d86064-fa52-4410-9097-8c21a3f13fcc 2026-08-03 02:53:31,405 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/e3d86064-fa52-4410-9097-8c21a3f13fcc 2026-08-03 02:53:31,439 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/1611dcb7-79c8-400d-919c-c220b39acf54 2026-08-03 02:53:34,632 - 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 1017ms') 2026-08-03 02:53:34,633 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-82579002-75101232 failed! 2026-08-03 02:53:34,649 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-82579002:ctest-vn-67229855 is 208.57.136.65 and allocation pool is NOT set 2026-08-03 02:53:38,725 - 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=2 ttl=63 time=12.5 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1012ms\r\nrtt min/avg/max/mdev = 12.486/12.486/12.486/0.000 ms') 2026-08-03 02:53:38,725 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-82579002-75101232 passed 2026-08-03 02:53:38,802 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-03 02:53:38,802 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82579002-75101232, IP 208.57.136.67, Port 22 2026-08-03 02:53:38,974 - DEBUG - VM ctest-TestRoutersBasic-82579002-75101232 is ready for SSH connections 2026-08-03 02:53:38,974 - INFO - Waiting for VM ctest-TestRoutersBasic-82579002-51362585 to be up.. 2026-08-03 02:53:39,073 - DEBUG - VM is in ACTIVE state now 2026-08-03 02:53:39,073 - INFO - VM name : ctest-TestRoutersBasic-82579002-51362585 2026-08-03 02:53:39,177 - DEBUG - VM ctest-TestRoutersBasic-82579002-51362585 ID is 3e51b947-4820-4f32-a699-ff7f9ad8f420 2026-08-03 02:53:39,177 - DEBUG - VM ctest-TestRoutersBasic-82579002-51362585 launched on Node an-jenkins-deploy-platform-ansible-os-6129-1 2026-08-03 02:53:39,273 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/3e51b947-4820-4f32-a699-ff7f9ad8f420 2026-08-03 02:53:39,288 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/1b2ba671-e408-4c8e-b579-13aff2b2f9c5 2026-08-03 02:53:40,473 - 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=8.44 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.694 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.694/4.565/8.437/3.871 ms') 2026-08-03 02:53:40,474 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-82579002-51362585 passed 2026-08-03 02:53:40,550 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-03 02:53:40,550 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82579002-51362585, IP 51.77.238.196, Port 22 2026-08-03 02:53:40,618 - 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-08-03 02:53:40,706 - DEBUG - VM ctest-TestRoutersBasic-82579002-51362585 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-03 02:53:45,707 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-03 02:53:45,707 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82579002-51362585, IP 51.77.238.196, Port 22 2026-08-03 02:53:45,882 - DEBUG - VM ctest-TestRoutersBasic-82579002-51362585 is ready for SSH connections 2026-08-03 02:53:45,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-03 02:53:45,882 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 51.77.238.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-08-03 02:53:45,883 - DEBUG - ping -s 56 -c 3 -W 1 51.77.238.196 2026-08-03 02:53:48,880 - DEBUG - PING 51.77.238.196 (51.77.238.196): 56 data bytes 64 bytes from 51.77.238.196: seq=0 ttl=62 time=9.217 ms 64 bytes from 51.77.238.196: seq=1 ttl=62 time=1.651 ms 64 bytes from 51.77.238.196: seq=2 ttl=62 time=1.868 ms --- 51.77.238.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.651/4.245/9.217 ms 2026-08-03 02:53:48,880 - INFO - Ping to IP 51.77.238.196 from VM ctest-TestRoutersBasic-82579002-75101232 passed 2026-08-03 02:53:48,880 - INFO - Deleting interface with subnet_id 4df16d67-7455-4a57-9058-52efb90a17bf, port_id None from router 1f337de7-0672-44c5-850f-6e9ecc72be72 2026-08-03 02:53:49,337 - INFO - Deleting VM ctest-TestRoutersBasic-82579002-51362585 2026-08-03 02:53:49,446 - INFO - Deleting VM ctest-TestRoutersBasic-82579002-75101232 2026-08-03 02:53:49,606 - INFO - Deleting VN ctest-ext_vn-22926146 2026-08-03 02:53:49,799 - DEBUG - VN 9277cf6c-464c-4d26-8b3e-e129cd45fb91 still in use: Unable to complete operation on network 9277cf6c-464c-4d26-8b3e-e129cd45fb91. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d406afd1-dcba-4de8-8cb8-114ff8f81c60'] 2026-08-03 02:53:49,799 - WARNING - Deleting VN ctest-ext_vn-22926146 failed..Will retry 2026-08-03 02:53:52,104 - DEBUG - Response for deleting network () 2026-08-03 02:53:52,104 - INFO - Deleting VN ctest-vn-67229855 2026-08-03 02:53:52,369 - DEBUG - Response for deleting network () 2026-08-03 02:53:53,709 - DEBUG - No XMPP flaps were noticed during the test
2026-08-03 02:53:53,709 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:56]
2026-08-03 02:53:53,710 - INFO - -------------------------------------------------------------------------------- 2026-08-03 02:53:54,669 - INFO - Deleted project: ctest-TestRoutersBasic-82579002, ID : 17bc2959-2861-48ca-877b-7d7b5b6b7cd3