2025-12-11 02:28:39,661 - INFO - Domain Default found not creating
2025-12-11 02:28:39,806 - INFO - Project ctest-TestRoutersBasic-53777167 not found, creating it
2025-12-11 02:28:40,347 - INFO - Created Project:ctest-TestRoutersBasic-53777167, ID : 28b70a36-dcb7-4aeb-91a6-dc004f76e16f
2025-12-11 02:28:41,868 - INFO - ================================================================================
2025-12-11 02:28:41,868 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-12-11 02:28:41,869 - 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
2025-12-11 02:28:43,136 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.18': '0', '10.20.0.252': '0'}, '10.0.0.23': {'10.20.0.18': '0', '10.20.0.252': '0'}} with
2025-12-11 02:28:43,137 - INFO - Initial checks done. Running the testcase now
2025-12-11 02:28:43,137 - INFO -
2025-12-11 02:28:43,859 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-53777167
2025-12-11 02:28:43,916 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-53777167
2025-12-11 02:28:44,213 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53777167', 'default']}
2025-12-11 02:28:44,663 - DEBUG - Response for create_network : {'network': {'id': 'd458b36c-be13-4c34-946d-c2ce4ada6238', 'name': 'ctest-vn-67271316', 'tenant_id': '28b70a36dcb74aeb91a6dc004f76e16f', 'project_id': '28b70a36dcb74aeb91a6dc004f76e16f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53777167', 'ctest-vn-67271316'], 'port_security_enabled': True, 'description': ''}}
2025-12-11 02:28:44,921 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f61b04f-5790-479d-a498-36295fe21492', 'name': '', 'tenant_id': '28b70a36dcb74aeb91a6dc004f76e16f', 'network_id': 'd458b36c-be13-4c34-946d-c2ce4ada6238', 'ip_version': 4, 'cidr': '166.60.97.192/26', 'allocation_pools': [{'start': '166.60.97.194', 'end': '166.60.97.254'}], 'gateway_ip': '166.60.97.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.60.97.194', 'tags': [], 'project_id': '28b70a36dcb74aeb91a6dc004f76e16f'}}
2025-12-11 02:28:44,939 - INFO - Created VN ctest-vn-67271316
2025-12-11 02:28:44,947 - DEBUG - VN ctest-vn-67271316 UUID is d458b36c-be13-4c34-946d-c2ce4ada6238
2025-12-11 02:28:45,333 - DEBUG - Response for create_network : {'network': {'id': '7287722c-85cd-44d6-80ff-962087b2f7e9', 'name': 'ctest-ext_vn-63479725', 'tenant_id': '28b70a36dcb74aeb91a6dc004f76e16f', 'project_id': '28b70a36dcb74aeb91a6dc004f76e16f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53777167', 'ctest-ext_vn-63479725'], 'port_security_enabled': True, 'description': ''}}
2025-12-11 02:28:45,528 - DEBUG - Response for create_subnet : {'subnet': {'id': '461a15c8-5071-4e38-9c08-88a6e817b4ea', 'name': '', 'tenant_id': '28b70a36dcb74aeb91a6dc004f76e16f', 'network_id': '7287722c-85cd-44d6-80ff-962087b2f7e9', 'ip_version': 4, 'cidr': '92.215.89.64/26', 'allocation_pools': [{'start': '92.215.89.66', 'end': '92.215.89.126'}], 'gateway_ip': '92.215.89.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.215.89.66', 'tags': [], 'project_id': '28b70a36dcb74aeb91a6dc004f76e16f'}}
2025-12-11 02:28:45,556 - INFO - Created VN ctest-ext_vn-63479725
2025-12-11 02:28:45,571 - DEBUG - VN ctest-ext_vn-63479725 UUID is 7287722c-85cd-44d6-80ff-962087b2f7e9
2025-12-11 02:28:45,742 - DEBUG - Services list from nova: [, , , ]
2025-12-11 02:28:46,777 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4883-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4883-2)
2025-12-11 02:28:48,102 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4883-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4883-1)
2025-12-11 02:28:48,207 - INFO - Setting gateway for router c191c635-90d1-4f03-82f1-08e6735d1be0 to network 7287722c-85cd-44d6-80ff-962087b2f7e9
2025-12-11 02:28:48,282 - INFO - Adding interface with subnet_id 1f61b04f-5790-479d-a498-36295fe21492, port_id None to router c191c635-90d1-4f03-82f1-08e6735d1be0
2025-12-11 02:28:48,635 - INFO - Waiting for VM ctest-TestRoutersBasic-53777167-54169671 to be up..
2025-12-11 02:28:48,818 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-11 02:28:53,912 - DEBUG - VM is in ACTIVE state now
2025-12-11 02:28:53,912 - INFO - VM name : ctest-TestRoutersBasic-53777167-54169671
2025-12-11 02:28:53,995 - DEBUG - VM ctest-TestRoutersBasic-53777167-54169671 ID is 7e0036da-1041-4b8b-9494-77c3222da8d7
2025-12-11 02:28:54,020 - DEBUG - VM ctest-TestRoutersBasic-53777167-54169671 launched on Node an-jenkins-deploy-platform-ansible-os-4883-2
2025-12-11 02:28:54,102 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/7e0036da-1041-4b8b-9494-77c3222da8d7
2025-12-11 02:28:54,401 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/7e0036da-1041-4b8b-9494-77c3222da8d7
2025-12-11 02:28:54,437 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/1a6b1b5e-e4a0-4d85-96f0-f91078185ec6
2025-12-11 02:28:57,627 - 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 1027ms')
2025-12-11 02:28:57,627 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-53777167-54169671 failed!
2025-12-11 02:28:57,639 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-53777167:ctest-vn-67271316 is 166.60.97.193 and allocation pool is NOT set
2025-12-11 02:28:59,706 - 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=3.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.463 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.463/2.160/3.857/1.697 ms')
2025-12-11 02:28:59,706 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-53777167-54169671 passed
2025-12-11 02:28:59,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-11 02:28:59,776 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53777167-54169671, IP 166.60.97.195, Port 22
2025-12-11 02:28:59,934 - DEBUG - VM ctest-TestRoutersBasic-53777167-54169671 is ready for SSH connections
2025-12-11 02:28:59,934 - INFO - Waiting for VM ctest-TestRoutersBasic-53777167-99438580 to be up..
2025-12-11 02:29:00,011 - DEBUG - VM is in ACTIVE state now
2025-12-11 02:29:00,012 - INFO - VM name : ctest-TestRoutersBasic-53777167-99438580
2025-12-11 02:29:00,086 - DEBUG - VM ctest-TestRoutersBasic-53777167-99438580 ID is b775a01d-cf0c-49cc-9c01-0d107fd78804
2025-12-11 02:29:00,086 - DEBUG - VM ctest-TestRoutersBasic-53777167-99438580 launched on Node an-jenkins-deploy-platform-ansible-os-4883-1
2025-12-11 02:29:00,170 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/b775a01d-cf0c-49cc-9c01-0d107fd78804
2025-12-11 02:29:00,179 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/2b34254a-8919-4c2e-8013-92c7414deb69
2025-12-11 02:29:01,337 - 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=6.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.571 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.571/3.578/6.586/3.007 ms')
2025-12-11 02:29:01,337 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-53777167-99438580 passed
2025-12-11 02:29:01,413 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-11 02:29:01,413 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53777167-99438580, IP 92.215.89.67, Port 22
2025-12-11 02:29:01,578 - DEBUG - VM ctest-TestRoutersBasic-53777167-99438580 is ready for SSH connections
2025-12-11 02:29:01,578 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-11 02:29:01,578 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.215.89.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123
2025-12-11 02:29:01,578 - DEBUG - ping -s 56 -c 3 -W 1 92.215.89.67
2025-12-11 02:29:05,266 - DEBUG - PING 92.215.89.67 (92.215.89.67): 56 data bytes
64 bytes from 92.215.89.67: seq=0 ttl=62 time=7.706 ms
64 bytes from 92.215.89.67: seq=1 ttl=62 time=1.514 ms
64 bytes from 92.215.89.67: seq=2 ttl=62 time=1.281 ms
--- 92.215.89.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.281/3.500/7.706 ms
2025-12-11 02:29:05,267 - INFO - Ping to IP 92.215.89.67 from VM ctest-TestRoutersBasic-53777167-54169671 passed
2025-12-11 02:29:05,267 - INFO - Deleting interface with subnet_id 1f61b04f-5790-479d-a498-36295fe21492, port_id None from router c191c635-90d1-4f03-82f1-08e6735d1be0
2025-12-11 02:29:05,591 - INFO - Deleting VM ctest-TestRoutersBasic-53777167-99438580
2025-12-11 02:29:05,727 - INFO - Deleting VM ctest-TestRoutersBasic-53777167-54169671
2025-12-11 02:29:05,821 - INFO - Deleting VN ctest-ext_vn-63479725
2025-12-11 02:29:05,921 - DEBUG - VN 7287722c-85cd-44d6-80ff-962087b2f7e9 still in use: Unable to complete operation on network 7287722c-85cd-44d6-80ff-962087b2f7e9. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-78b639b9-ec38-4a91-a8a8-a94d108b2d0e']
2025-12-11 02:29:05,921 - WARNING - Deleting VN ctest-ext_vn-63479725 failed..Will retry
2025-12-11 02:29:08,089 - DEBUG - Response for deleting network ()
2025-12-11 02:29:08,090 - INFO - Deleting VN ctest-vn-67271316
2025-12-11 02:29:08,246 - DEBUG - Response for deleting network ()
2025-12-11 02:29:09,508 - DEBUG - No XMPP flaps were noticed during the test
2025-12-11 02:29:09,508 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-12-11 02:29:09,508 - INFO - --------------------------------------------------------------------------------
2025-12-11 02:29:10,246 - INFO - Deleted project: ctest-TestRoutersBasic-53777167, ID : 28b70a36-dcb7-4aeb-91a6-dc004f76e16f