2025-07-23 15:48:18,896 - INFO - Domain Default found not creating
2025-07-23 15:48:19,056 - INFO - Project ctest-TestRoutersBasic-58513785 not found, creating it
2025-07-23 15:48:19,601 - INFO - Created Project:ctest-TestRoutersBasic-58513785, ID : c8cd1a4c-3d10-44dd-a7f4-e55f5358d556
2025-07-23 15:48:21,068 - INFO - ================================================================================
2025-07-23 15:48:21,068 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-23 15:48:21,068 - 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-07-23 15:48:22,434 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0', '10.20.0.17': '0'}, '10.0.0.130': {'10.20.0.17': '0', '10.20.0.254': '0'}} with
2025-07-23 15:48:22,434 - INFO - Initial checks done. Running the testcase now
2025-07-23 15:48:22,434 - INFO -
2025-07-23 15:48:23,151 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-58513785
2025-07-23 15:48:23,210 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-58513785
2025-07-23 15:48:23,528 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58513785', 'default']}
2025-07-23 15:48:23,975 - DEBUG - Response for create_network : {'network': {'id': '70b5aa0e-1185-4275-b4d1-d5dcc582e46d', 'name': 'ctest-vn-71013420', 'tenant_id': 'c8cd1a4c3d1044dda7f4e55f5358d556', 'project_id': 'c8cd1a4c3d1044dda7f4e55f5358d556', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58513785', 'ctest-vn-71013420'], 'port_security_enabled': True, 'description': ''}}
2025-07-23 15:48:24,220 - DEBUG - Response for create_subnet : {'subnet': {'id': '37a27a59-2dce-453e-8f40-e72278bb8e9a', 'name': '', 'tenant_id': 'c8cd1a4c3d1044dda7f4e55f5358d556', 'network_id': '70b5aa0e-1185-4275-b4d1-d5dcc582e46d', 'ip_version': 4, 'cidr': '28.58.198.192/26', 'allocation_pools': [{'start': '28.58.198.194', 'end': '28.58.198.254'}], 'gateway_ip': '28.58.198.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.58.198.194', 'tags': [], 'project_id': 'c8cd1a4c3d1044dda7f4e55f5358d556'}}
2025-07-23 15:48:24,243 - INFO - Created VN ctest-vn-71013420
2025-07-23 15:48:24,260 - DEBUG - VN ctest-vn-71013420 UUID is 70b5aa0e-1185-4275-b4d1-d5dcc582e46d
2025-07-23 15:48:24,659 - DEBUG - Response for create_network : {'network': {'id': '62c87338-ec20-45d0-8079-c3e726c7126f', 'name': 'ctest-ext_vn-95961584', 'tenant_id': 'c8cd1a4c3d1044dda7f4e55f5358d556', 'project_id': 'c8cd1a4c3d1044dda7f4e55f5358d556', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58513785', 'ctest-ext_vn-95961584'], 'port_security_enabled': True, 'description': ''}}
2025-07-23 15:48:24,960 - DEBUG - Response for create_subnet : {'subnet': {'id': '29d5f031-05ec-49ee-8267-baa91e2ecd76', 'name': '', 'tenant_id': 'c8cd1a4c3d1044dda7f4e55f5358d556', 'network_id': '62c87338-ec20-45d0-8079-c3e726c7126f', 'ip_version': 4, 'cidr': '24.30.201.128/26', 'allocation_pools': [{'start': '24.30.201.130', 'end': '24.30.201.190'}], 'gateway_ip': '24.30.201.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.30.201.130', 'tags': [], 'project_id': 'c8cd1a4c3d1044dda7f4e55f5358d556'}}
2025-07-23 15:48:24,986 - INFO - Created VN ctest-ext_vn-95961584
2025-07-23 15:48:25,001 - DEBUG - VN ctest-ext_vn-95961584 UUID is 62c87338-ec20-45d0-8079-c3e726c7126f
2025-07-23 15:48:25,170 - DEBUG - Services list from nova: [, , , ]
2025-07-23 15:48:26,306 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3704-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3704-2)
2025-07-23 15:48:27,988 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3704-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3704-1)
2025-07-23 15:48:28,158 - INFO - Setting gateway for router bb4dcfbf-45e8-4f5c-8448-440447aacd00 to network 62c87338-ec20-45d0-8079-c3e726c7126f
2025-07-23 15:48:28,255 - INFO - Adding interface with subnet_id 37a27a59-2dce-453e-8f40-e72278bb8e9a, port_id None to router bb4dcfbf-45e8-4f5c-8448-440447aacd00
2025-07-23 15:48:28,823 - INFO - Waiting for VM ctest-TestRoutersBasic-58513785-06069142 to be up..
2025-07-23 15:48:29,043 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-23 15:48:34,135 - DEBUG - VM is in ACTIVE state now
2025-07-23 15:48:34,136 - INFO - VM name : ctest-TestRoutersBasic-58513785-06069142
2025-07-23 15:48:34,229 - DEBUG - VM ctest-TestRoutersBasic-58513785-06069142 ID is 9b013ffa-76a7-43e5-a746-d5ebfa865e5a
2025-07-23 15:48:34,257 - DEBUG - VM ctest-TestRoutersBasic-58513785-06069142 launched on Node an-jenkins-deploy-platform-ansible-os-3704-2
2025-07-23 15:48:34,341 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/9b013ffa-76a7-43e5-a746-d5ebfa865e5a
2025-07-23 15:48:34,636 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/9b013ffa-76a7-43e5-a746-d5ebfa865e5a
2025-07-23 15:48:34,670 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/af87c643-f047-4a96-bee0-cc920a3d77c0
2025-07-23 15:48:37,890 - 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 1013ms')
2025-07-23 15:48:37,890 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58513785-06069142 failed!
2025-07-23 15:48:37,909 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-58513785:ctest-vn-71013420 is 28.58.198.193 and allocation pool is NOT set
2025-07-23 15:48:39,976 - 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=2.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.451 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 = 0.451/1.607/2.764/1.156 ms')
2025-07-23 15:48:39,976 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58513785-06069142 passed
2025-07-23 15:48:40,092 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 15:48:40,092 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58513785-06069142, IP 28.58.198.195, Port 22
2025-07-23 15:48:40,250 - DEBUG - VM ctest-TestRoutersBasic-58513785-06069142 is ready for SSH connections
2025-07-23 15:48:40,250 - INFO - Waiting for VM ctest-TestRoutersBasic-58513785-62224468 to be up..
2025-07-23 15:48:40,357 - DEBUG - VM is in ACTIVE state now
2025-07-23 15:48:40,357 - INFO - VM name : ctest-TestRoutersBasic-58513785-62224468
2025-07-23 15:48:40,444 - DEBUG - VM ctest-TestRoutersBasic-58513785-62224468 ID is c0e15b2c-ce26-47cd-b83b-7da0d7fd8a5f
2025-07-23 15:48:40,444 - DEBUG - VM ctest-TestRoutersBasic-58513785-62224468 launched on Node an-jenkins-deploy-platform-ansible-os-3704-1
2025-07-23 15:48:40,536 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/c0e15b2c-ce26-47cd-b83b-7da0d7fd8a5f
2025-07-23 15:48:40,548 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/1301ad60-ebe9-4920-ae95-dc19f29bc6fe
2025-07-23 15:48:41,811 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.03 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 = 1.029/2.835/4.641/1.806 ms')
2025-07-23 15:48:41,811 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58513785-62224468 passed
2025-07-23 15:48:41,940 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 15:48:41,940 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58513785-62224468, IP 24.30.201.131, Port 22
2025-07-23 15:48:42,149 - DEBUG - VM ctest-TestRoutersBasic-58513785-62224468 is ready for SSH connections
2025-07-23 15:48:42,149 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 15:48:42,150 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.30.201.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-07-23 15:48:42,150 - DEBUG - ping -s 56 -c 3 -W 1 24.30.201.131
2025-07-23 15:48:46,069 - DEBUG - PING 24.30.201.131 (24.30.201.131): 56 data bytes
64 bytes from 24.30.201.131: seq=0 ttl=62 time=16.350 ms
64 bytes from 24.30.201.131: seq=1 ttl=62 time=1.691 ms
64 bytes from 24.30.201.131: seq=2 ttl=62 time=2.088 ms
--- 24.30.201.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.691/6.709/16.350 ms
2025-07-23 15:48:46,069 - INFO - Ping to IP 24.30.201.131 from VM ctest-TestRoutersBasic-58513785-06069142 passed
2025-07-23 15:48:46,069 - INFO - Deleting interface with subnet_id 37a27a59-2dce-453e-8f40-e72278bb8e9a, port_id None from router bb4dcfbf-45e8-4f5c-8448-440447aacd00
2025-07-23 15:48:46,469 - INFO - Deleting VM ctest-TestRoutersBasic-58513785-62224468
2025-07-23 15:48:46,597 - INFO - Deleting VM ctest-TestRoutersBasic-58513785-06069142
2025-07-23 15:48:46,735 - INFO - Deleting VN ctest-ext_vn-95961584
2025-07-23 15:48:46,864 - DEBUG - VN 62c87338-ec20-45d0-8079-c3e726c7126f still in use: Unable to complete operation on network 62c87338-ec20-45d0-8079-c3e726c7126f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-4100a573-87df-4507-b250-a8f6173ec5ab']
2025-07-23 15:48:46,864 - WARNING - Deleting VN ctest-ext_vn-95961584 failed..Will retry
2025-07-23 15:48:49,050 - DEBUG - Response for deleting network ()
2025-07-23 15:48:49,050 - INFO - Deleting VN ctest-vn-71013420
2025-07-23 15:48:49,212 - DEBUG - Response for deleting network ()
2025-07-23 15:48:50,528 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 15:48:50,528 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29]
2025-07-23 15:48:50,528 - INFO - --------------------------------------------------------------------------------
2025-07-23 15:48:51,241 - INFO - Deleted project: ctest-TestRoutersBasic-58513785, ID : c8cd1a4c-3d10-44dd-a7f4-e55f5358d556