2025-11-07 20:13:09,423 - INFO - Domain Default found not creating 2025-11-07 20:13:09,719 - INFO - Project ctest-TestRoutersBasic-72475128 not found, creating it 2025-11-07 20:13:10,352 - INFO - Created Project:ctest-TestRoutersBasic-72475128, ID : 972919b0-867b-46af-a5b2-6cbe6f7aedea 2025-11-07 20:13:12,676 - INFO - ================================================================================ 2025-11-07 20:13:12,676 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-07 20:13:12,676 - 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-07 20:13:13,002 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.252': '0'}} with 2025-11-07 20:13:13,002 - INFO - Initial checks done. Running the testcase now 2025-11-07 20:13:13,003 - INFO - 2025-11-07 20:13:13,897 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-72475128 2025-11-07 20:13:14,002 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-72475128 2025-11-07 20:13:14,382 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72475128', 'default']} 2025-11-07 20:13:14,752 - DEBUG - Response for create_network : {'network': {'id': '09cbb1d0-e0d8-45c6-978b-fcc087aecb63', 'name': 'ctest-vn-84988037', 'tenant_id': '972919b0867b46afa5b26cbe6f7aedea', 'project_id': '972919b0867b46afa5b26cbe6f7aedea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72475128', 'ctest-vn-84988037'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 20:13:14,923 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c60bf44-92f5-4f95-ba8a-de1737b0d5cc', 'name': '', 'tenant_id': '972919b0867b46afa5b26cbe6f7aedea', 'network_id': '09cbb1d0-e0d8-45c6-978b-fcc087aecb63', 'ip_version': 4, 'cidr': '176.204.15.128/26', 'allocation_pools': [{'start': '176.204.15.130', 'end': '176.204.15.190'}], 'gateway_ip': '176.204.15.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.204.15.130', 'tags': [], 'project_id': '972919b0867b46afa5b26cbe6f7aedea'}} 2025-11-07 20:13:14,940 - INFO - Created VN ctest-vn-84988037 2025-11-07 20:13:14,994 - DEBUG - VN ctest-vn-84988037 UUID is 09cbb1d0-e0d8-45c6-978b-fcc087aecb63 2025-11-07 20:13:15,441 - DEBUG - Response for create_network : {'network': {'id': 'd0fdcf30-6dd3-4592-ac30-dc23b90dc13e', 'name': 'ctest-ext_vn-43689009', 'tenant_id': '972919b0867b46afa5b26cbe6f7aedea', 'project_id': '972919b0867b46afa5b26cbe6f7aedea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72475128', 'ctest-ext_vn-43689009'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 20:13:15,658 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e6ab7fc9-0218-4369-8b45-a8e29a4c4587', 'name': '', 'tenant_id': '972919b0867b46afa5b26cbe6f7aedea', 'network_id': 'd0fdcf30-6dd3-4592-ac30-dc23b90dc13e', 'ip_version': 4, 'cidr': '49.241.250.192/26', 'allocation_pools': [{'start': '49.241.250.194', 'end': '49.241.250.254'}], 'gateway_ip': '49.241.250.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.241.250.194', 'tags': [], 'project_id': '972919b0867b46afa5b26cbe6f7aedea'}} 2025-11-07 20:13:15,685 - INFO - Created VN ctest-ext_vn-43689009 2025-11-07 20:13:15,746 - DEBUG - VN ctest-ext_vn-43689009 UUID is d0fdcf30-6dd3-4592-ac30-dc23b90dc13e 2025-11-07 20:13:15,996 - DEBUG - Services list from nova: [, , ] 2025-11-07 20:13:17,442 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4672-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4672-1) 2025-11-07 20:13:18,735 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4672-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4672-1) 2025-11-07 20:13:18,829 - INFO - Setting gateway for router cb5f308a-c283-47ed-83ac-c4f41ac8a637 to network d0fdcf30-6dd3-4592-ac30-dc23b90dc13e 2025-11-07 20:13:18,892 - INFO - Adding interface with subnet_id 5c60bf44-92f5-4f95-ba8a-de1737b0d5cc, port_id None to router cb5f308a-c283-47ed-83ac-c4f41ac8a637 2025-11-07 20:13:19,262 - INFO - Waiting for VM ctest-TestRoutersBasic-72475128-77075363 to be up.. 2025-11-07 20:13:19,383 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-07 20:13:24,539 - DEBUG - VM is in ACTIVE state now 2025-11-07 20:13:24,539 - INFO - VM name : ctest-TestRoutersBasic-72475128-77075363 2025-11-07 20:13:24,694 - DEBUG - VM ctest-TestRoutersBasic-72475128-77075363 ID is 4285bdda-eca4-45a4-aa6f-3e1f19969b4e 2025-11-07 20:13:24,724 - DEBUG - VM ctest-TestRoutersBasic-72475128-77075363 launched on Node cn-jenkins-deploy-platform-ansible-os-4672-1 2025-11-07 20:13:24,900 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/4285bdda-eca4-45a4-aa6f-3e1f19969b4e 2025-11-07 20:13:25,251 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/4285bdda-eca4-45a4-aa6f-3e1f19969b4e 2025-11-07 20:13:25,311 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/55febc35-a426-47d0-bb4b-5809495bbadb 2025-11-07 20:13:28,614 - 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 1014ms') 2025-11-07 20:13:28,614 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-72475128-77075363 failed! 2025-11-07 20:13:28,691 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-72475128:ctest-vn-84988037 is 176.204.15.129 and allocation pool is NOT set 2025-11-07 20:13:30,772 - 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=7.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.58 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.584/4.822/7.061/2.238 ms') 2025-11-07 20:13:30,772 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-72475128-77075363 passed 2025-11-07 20:13:30,955 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 20:13:30,955 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72475128-77075363, IP 176.204.15.131, Port 22 2025-11-07 20:13:31,148 - DEBUG - VM ctest-TestRoutersBasic-72475128-77075363 is ready for SSH connections 2025-11-07 20:13:31,148 - INFO - Waiting for VM ctest-TestRoutersBasic-72475128-21399390 to be up.. 2025-11-07 20:13:31,332 - DEBUG - VM is in ACTIVE state now 2025-11-07 20:13:31,332 - INFO - VM name : ctest-TestRoutersBasic-72475128-21399390 2025-11-07 20:13:31,466 - DEBUG - VM ctest-TestRoutersBasic-72475128-21399390 ID is 25dc1ee3-f6ef-4ca5-97ae-6954ae9f7f55 2025-11-07 20:13:31,466 - DEBUG - VM ctest-TestRoutersBasic-72475128-21399390 launched on Node cn-jenkins-deploy-platform-ansible-os-4672-1 2025-11-07 20:13:31,592 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/25dc1ee3-f6ef-4ca5-97ae-6954ae9f7f55 2025-11-07 20:13:31,608 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/f6bdf6d0-9420-4cc6-aed8-54ddd45d5784 2025-11-07 20:13:32,944 - 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=5.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.32 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.321/4.049/5.778/1.728 ms') 2025-11-07 20:13:32,944 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-72475128-21399390 passed 2025-11-07 20:13:33,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 20:13:33,122 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72475128-21399390, IP 49.241.250.195, Port 22 2025-11-07 20:13:33,289 - DEBUG - VM ctest-TestRoutersBasic-72475128-21399390 is ready for SSH connections 2025-11-07 20:13:33,290 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 20:13:33,290 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.241.250.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-11-07 20:13:33,290 - DEBUG - ping -s 56 -c 3 -W 1 49.241.250.195 2025-11-07 20:13:37,524 - DEBUG - PING 49.241.250.195 (49.241.250.195): 56 data bytes 64 bytes from 49.241.250.195: seq=0 ttl=62 time=13.585 ms 64 bytes from 49.241.250.195: seq=1 ttl=62 time=1.785 ms 64 bytes from 49.241.250.195: seq=2 ttl=62 time=1.917 ms --- 49.241.250.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.785/5.762/13.585 ms 2025-11-07 20:13:37,524 - INFO - Ping to IP 49.241.250.195 from VM ctest-TestRoutersBasic-72475128-77075363 passed 2025-11-07 20:13:37,525 - INFO - Deleting interface with subnet_id 5c60bf44-92f5-4f95-ba8a-de1737b0d5cc, port_id None from router cb5f308a-c283-47ed-83ac-c4f41ac8a637 2025-11-07 20:13:37,866 - INFO - Deleting VM ctest-TestRoutersBasic-72475128-21399390 2025-11-07 20:13:37,957 - INFO - Deleting VM ctest-TestRoutersBasic-72475128-77075363 2025-11-07 20:13:38,044 - INFO - Deleting VN ctest-ext_vn-43689009 2025-11-07 20:13:38,123 - DEBUG - VN d0fdcf30-6dd3-4592-ac30-dc23b90dc13e still in use: Unable to complete operation on network d0fdcf30-6dd3-4592-ac30-dc23b90dc13e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-29e12c8a-718d-4293-8fa3-eb2b5c57f8d4'] 2025-11-07 20:13:38,123 - WARNING - Deleting VN ctest-ext_vn-43689009 failed..Will retry 2025-11-07 20:13:40,360 - DEBUG - Response for deleting network () 2025-11-07 20:13:40,360 - INFO - Deleting VN ctest-vn-84988037 2025-11-07 20:13:40,502 - DEBUG - Response for deleting network () 2025-11-07 20:13:40,817 - DEBUG - No XMPP flaps were noticed during the test
2025-11-07 20:13:40,817 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-11-07 20:13:40,818 - INFO - -------------------------------------------------------------------------------- 2025-11-07 20:13:41,674 - INFO - Deleted project: ctest-TestRoutersBasic-72475128, ID : 972919b0-867b-46af-a5b2-6cbe6f7aedea