2025-11-21 17:50:32,030 - INFO - Domain Default found not creating 2025-11-21 17:50:32,211 - INFO - Project ctest-TestRoutersBasic-26734253 not found, creating it 2025-11-21 17:50:32,705 - INFO - Created Project:ctest-TestRoutersBasic-26734253, ID : d855b4f7-d681-45d9-b5d0-bc9ee8edca78 2025-11-21 17:50:34,337 - INFO - ================================================================================ 2025-11-21 17:50:34,337 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-21 17:50:34,337 - 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-11-21 17:50:34,601 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-11-21 17:50:34,601 - INFO - Initial checks done. Running the testcase now 2025-11-21 17:50:34,601 - INFO - 2025-11-21 17:50:35,404 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-26734253 2025-11-21 17:50:35,503 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-26734253 2025-11-21 17:50:35,834 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26734253', 'default']} 2025-11-21 17:50:36,141 - DEBUG - Response for create_network : {'network': {'id': '360375fe-1c23-4160-ba18-146cda32e4e5', 'name': 'ctest-vn-33203454', 'tenant_id': 'd855b4f7d68145d9b5d0bc9ee8edca78', 'project_id': 'd855b4f7d68145d9b5d0bc9ee8edca78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26734253', 'ctest-vn-33203454'], 'port_security_enabled': True, 'description': ''}} 2025-11-21 17:50:36,346 - DEBUG - Response for create_subnet : {'subnet': {'id': '1365db5f-3cf9-4ea7-a97d-c2100734913e', 'name': '', 'tenant_id': 'd855b4f7d68145d9b5d0bc9ee8edca78', 'network_id': '360375fe-1c23-4160-ba18-146cda32e4e5', 'ip_version': 4, 'cidr': '198.101.181.0/26', 'allocation_pools': [{'start': '198.101.181.2', 'end': '198.101.181.62'}], 'gateway_ip': '198.101.181.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.101.181.2', 'tags': [], 'project_id': 'd855b4f7d68145d9b5d0bc9ee8edca78'}} 2025-11-21 17:50:36,365 - INFO - Created VN ctest-vn-33203454 2025-11-21 17:50:36,415 - DEBUG - VN ctest-vn-33203454 UUID is 360375fe-1c23-4160-ba18-146cda32e4e5 2025-11-21 17:50:36,805 - DEBUG - Response for create_network : {'network': {'id': 'c9fb2fb5-b59e-4b48-b610-d0e9a8db176f', 'name': 'ctest-ext_vn-21743122', 'tenant_id': 'd855b4f7d68145d9b5d0bc9ee8edca78', 'project_id': 'd855b4f7d68145d9b5d0bc9ee8edca78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26734253', 'ctest-ext_vn-21743122'], 'port_security_enabled': True, 'description': ''}} 2025-11-21 17:50:36,962 - DEBUG - Response for create_subnet : {'subnet': {'id': '885e25a3-9fa3-4fe2-8735-34180023d66b', 'name': '', 'tenant_id': 'd855b4f7d68145d9b5d0bc9ee8edca78', 'network_id': 'c9fb2fb5-b59e-4b48-b610-d0e9a8db176f', 'ip_version': 4, 'cidr': '21.159.235.192/26', 'allocation_pools': [{'start': '21.159.235.194', 'end': '21.159.235.254'}], 'gateway_ip': '21.159.235.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.159.235.194', 'tags': [], 'project_id': 'd855b4f7d68145d9b5d0bc9ee8edca78'}} 2025-11-21 17:50:36,981 - INFO - Created VN ctest-ext_vn-21743122 2025-11-21 17:50:37,035 - DEBUG - VN ctest-ext_vn-21743122 UUID is c9fb2fb5-b59e-4b48-b610-d0e9a8db176f 2025-11-21 17:50:37,206 - DEBUG - Services list from nova: [, , ] 2025-11-21 17:50:38,347 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4792-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4792-1) 2025-11-21 17:50:39,668 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4792-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4792-1) 2025-11-21 17:50:39,753 - INFO - Setting gateway for router f52a65ec-01d8-4f4a-ad2b-1f697cac1596 to network c9fb2fb5-b59e-4b48-b610-d0e9a8db176f 2025-11-21 17:50:39,843 - INFO - Adding interface with subnet_id 1365db5f-3cf9-4ea7-a97d-c2100734913e, port_id None to router f52a65ec-01d8-4f4a-ad2b-1f697cac1596 2025-11-21 17:50:40,422 - INFO - Waiting for VM ctest-TestRoutersBasic-26734253-90460768 to be up.. 2025-11-21 17:50:40,595 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-21 17:50:45,691 - DEBUG - VM is in ACTIVE state now 2025-11-21 17:50:45,691 - INFO - VM name : ctest-TestRoutersBasic-26734253-90460768 2025-11-21 17:50:45,786 - DEBUG - VM ctest-TestRoutersBasic-26734253-90460768 ID is 53741aca-34b2-4295-8e43-5962861ac337 2025-11-21 17:50:45,810 - DEBUG - VM ctest-TestRoutersBasic-26734253-90460768 launched on Node cn-jenkins-deploy-platform-ansible-os-4792-1 2025-11-21 17:50:45,898 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/53741aca-34b2-4295-8e43-5962861ac337 2025-11-21 17:50:46,240 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/53741aca-34b2-4295-8e43-5962861ac337 2025-11-21 17:50:46,283 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6ce9acbc-38cb-47f5-be11-0d383d606ad3 2025-11-21 17:50:49,539 - 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 1001ms') 2025-11-21 17:50:49,540 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-26734253-90460768 failed! 2025-11-21 17:50:49,607 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-26734253:ctest-vn-33203454 is 198.101.181.1 and allocation pool is NOT set 2025-11-21 17:50:51,678 - 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=5.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.34 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 = 2.343/3.775/5.208/1.432 ms') 2025-11-21 17:50:51,678 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-26734253-90460768 passed 2025-11-21 17:50:51,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:50:51,835 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-26734253-90460768, IP 198.101.181.3, Port 22 2025-11-21 17:50:52,005 - DEBUG - VM ctest-TestRoutersBasic-26734253-90460768 is ready for SSH connections 2025-11-21 17:50:52,005 - INFO - Waiting for VM ctest-TestRoutersBasic-26734253-18125588 to be up.. 2025-11-21 17:50:52,108 - DEBUG - VM is in ACTIVE state now 2025-11-21 17:50:52,108 - INFO - VM name : ctest-TestRoutersBasic-26734253-18125588 2025-11-21 17:50:52,214 - DEBUG - VM ctest-TestRoutersBasic-26734253-18125588 ID is c41e255e-a372-49e1-aa43-9446d441681b 2025-11-21 17:50:52,215 - DEBUG - VM ctest-TestRoutersBasic-26734253-18125588 launched on Node cn-jenkins-deploy-platform-ansible-os-4792-1 2025-11-21 17:50:52,311 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c41e255e-a372-49e1-aa43-9446d441681b 2025-11-21 17:50:52,321 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/34e84e94-5a29-417a-8bea-da7a426b85a6 2025-11-21 17:50:53,574 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.20 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 3.197/3.875/4.554/0.678 ms') 2025-11-21 17:50:53,575 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-26734253-18125588 passed 2025-11-21 17:50:53,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:50:53,735 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-26734253-18125588, IP 21.159.235.195, Port 22 2025-11-21 17:50:53,901 - DEBUG - VM ctest-TestRoutersBasic-26734253-18125588 is ready for SSH connections 2025-11-21 17:50:53,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:50:53,901 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.159.235.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-21 17:50:53,901 - DEBUG - ping -s 56 -c 3 -W 1 21.159.235.195 2025-11-21 17:50:57,795 - DEBUG - PING 21.159.235.195 (21.159.235.195): 56 data bytes 64 bytes from 21.159.235.195: seq=0 ttl=62 time=7.118 ms 64 bytes from 21.159.235.195: seq=1 ttl=62 time=1.214 ms 64 bytes from 21.159.235.195: seq=2 ttl=62 time=1.279 ms --- 21.159.235.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.214/3.203/7.118 ms 2025-11-21 17:50:57,795 - INFO - Ping to IP 21.159.235.195 from VM ctest-TestRoutersBasic-26734253-90460768 passed 2025-11-21 17:50:57,796 - INFO - Deleting interface with subnet_id 1365db5f-3cf9-4ea7-a97d-c2100734913e, port_id None from router f52a65ec-01d8-4f4a-ad2b-1f697cac1596 2025-11-21 17:50:58,017 - INFO - Deleting VM ctest-TestRoutersBasic-26734253-18125588 2025-11-21 17:50:58,110 - INFO - Deleting VM ctest-TestRoutersBasic-26734253-90460768 2025-11-21 17:50:58,205 - INFO - Deleting VN ctest-ext_vn-21743122 2025-11-21 17:50:58,288 - DEBUG - VN c9fb2fb5-b59e-4b48-b610-d0e9a8db176f still in use: Unable to complete operation on network c9fb2fb5-b59e-4b48-b610-d0e9a8db176f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f514689a-3240-430b-ad5d-630d73d3961d'] 2025-11-21 17:50:58,288 - WARNING - Deleting VN ctest-ext_vn-21743122 failed..Will retry 2025-11-21 17:51:00,401 - DEBUG - Response for deleting network () 2025-11-21 17:51:00,401 - INFO - Deleting VN ctest-vn-33203454 2025-11-21 17:51:00,529 - DEBUG - Response for deleting network () 2025-11-21 17:51:00,798 - DEBUG - No XMPP flaps were noticed during the test
2025-11-21 17:51:00,798 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-11-21 17:51:00,798 - INFO - -------------------------------------------------------------------------------- 2025-11-21 17:51:01,566 - INFO - Deleted project: ctest-TestRoutersBasic-26734253, ID : d855b4f7-d681-45d9-b5d0-bc9ee8edca78