2025-04-07 09:38:43,151 - INFO - Domain Default found not creating 2025-04-07 09:38:43,297 - INFO - Project ctest-TestRoutersBasic-33124684 not found, creating it 2025-04-07 09:38:43,797 - INFO - Created Project:ctest-TestRoutersBasic-33124684, ID : 698ae2e9-212a-477b-8418-085ab6e8199d 2025-04-07 09:38:45,217 - INFO - ================================================================================ 2025-04-07 09:38:45,217 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-07 09:38:45,217 - 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-04-07 09:38:45,476 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.32': '0'}} with 2025-04-07 09:38:45,476 - INFO - Initial checks done. Running the testcase now 2025-04-07 09:38:45,476 - INFO - 2025-04-07 09:38:46,172 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-33124684 2025-04-07 09:38:46,271 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-33124684 2025-04-07 09:38:46,602 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33124684', 'default']} 2025-04-07 09:38:46,915 - DEBUG - Response for create_network : {'network': {'id': 'ee12bf46-7a93-4140-9caf-a55bf1f77423', 'name': 'ctest-vn-09794796', 'tenant_id': '698ae2e9212a477b8418085ab6e8199d', 'project_id': '698ae2e9212a477b8418085ab6e8199d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33124684', 'ctest-vn-09794796'], 'port_security_enabled': True, 'description': ''}} 2025-04-07 09:38:47,148 - DEBUG - Response for create_subnet : {'subnet': {'id': '03622b7e-1cb7-47a5-8a76-d58a1954eac1', 'name': '', 'tenant_id': '698ae2e9212a477b8418085ab6e8199d', 'network_id': 'ee12bf46-7a93-4140-9caf-a55bf1f77423', 'ip_version': 4, 'cidr': '122.10.78.192/26', 'allocation_pools': [{'start': '122.10.78.194', 'end': '122.10.78.254'}], 'gateway_ip': '122.10.78.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.10.78.194', 'tags': [], 'project_id': '698ae2e9212a477b8418085ab6e8199d'}} 2025-04-07 09:38:47,167 - INFO - Created VN ctest-vn-09794796 2025-04-07 09:38:47,222 - DEBUG - VN ctest-vn-09794796 UUID is ee12bf46-7a93-4140-9caf-a55bf1f77423 2025-04-07 09:38:47,578 - DEBUG - Response for create_network : {'network': {'id': '6b8d2270-0fe5-43e7-9680-57ed1633b113', 'name': 'ctest-ext_vn-05394274', 'tenant_id': '698ae2e9212a477b8418085ab6e8199d', 'project_id': '698ae2e9212a477b8418085ab6e8199d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33124684', 'ctest-ext_vn-05394274'], 'port_security_enabled': True, 'description': ''}} 2025-04-07 09:38:47,751 - DEBUG - Response for create_subnet : {'subnet': {'id': '8893720c-1b47-4579-984a-3c8a53e56519', 'name': '', 'tenant_id': '698ae2e9212a477b8418085ab6e8199d', 'network_id': '6b8d2270-0fe5-43e7-9680-57ed1633b113', 'ip_version': 4, 'cidr': '58.153.226.0/26', 'allocation_pools': [{'start': '58.153.226.2', 'end': '58.153.226.62'}], 'gateway_ip': '58.153.226.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.153.226.2', 'tags': [], 'project_id': '698ae2e9212a477b8418085ab6e8199d'}} 2025-04-07 09:38:47,769 - INFO - Created VN ctest-ext_vn-05394274 2025-04-07 09:38:47,822 - DEBUG - VN ctest-ext_vn-05394274 UUID is 6b8d2270-0fe5-43e7-9680-57ed1633b113 2025-04-07 09:38:47,987 - DEBUG - Services list from nova: [, , ] 2025-04-07 09:38:49,000 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3045-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3045-1) 2025-04-07 09:38:50,165 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3045-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3045-1) 2025-04-07 09:38:50,268 - INFO - Setting gateway for router 003fdae6-1fc9-4731-bfe1-844370300dfc to network 6b8d2270-0fe5-43e7-9680-57ed1633b113 2025-04-07 09:38:50,334 - INFO - Adding interface with subnet_id 03622b7e-1cb7-47a5-8a76-d58a1954eac1, port_id None to router 003fdae6-1fc9-4731-bfe1-844370300dfc 2025-04-07 09:38:50,741 - INFO - Waiting for VM ctest-TestRoutersBasic-33124684-17216796 to be up.. 2025-04-07 09:38:50,905 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-07 09:38:56,051 - DEBUG - VM is in ACTIVE state now 2025-04-07 09:38:56,051 - INFO - VM name : ctest-TestRoutersBasic-33124684-17216796 2025-04-07 09:38:56,203 - DEBUG - VM ctest-TestRoutersBasic-33124684-17216796 ID is beeb8d4b-7ef6-4aee-8d2f-fc7da59dcf70 2025-04-07 09:38:56,234 - DEBUG - VM ctest-TestRoutersBasic-33124684-17216796 launched on Node cn-jenkins-deploy-platform-ansible-os-3045-1 2025-04-07 09:38:56,363 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/beeb8d4b-7ef6-4aee-8d2f-fc7da59dcf70 2025-04-07 09:38:56,666 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/beeb8d4b-7ef6-4aee-8d2f-fc7da59dcf70 2025-04-07 09:38:56,707 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/21266822-c135-4572-af56-08d7c25b978c 2025-04-07 09:38:59,983 - 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 1019ms') 2025-04-07 09:38:59,983 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33124684-17216796 failed! 2025-04-07 09:39:00,038 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-33124684:ctest-vn-09794796 is 122.10.78.193 and allocation pool is NOT set 2025-04-07 09:39:02,101 - 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.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.664 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.664/1.878/3.092/1.214 ms') 2025-04-07 09:39:02,101 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33124684-17216796 passed 2025-04-07 09:39:02,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 09:39:02,266 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33124684-17216796, IP 122.10.78.195, Port 22 2025-04-07 09:39:02,426 - DEBUG - VM ctest-TestRoutersBasic-33124684-17216796 is ready for SSH connections 2025-04-07 09:39:02,426 - INFO - Waiting for VM ctest-TestRoutersBasic-33124684-88109943 to be up.. 2025-04-07 09:39:02,512 - DEBUG - VM is in ACTIVE state now 2025-04-07 09:39:02,512 - INFO - VM name : ctest-TestRoutersBasic-33124684-88109943 2025-04-07 09:39:02,600 - DEBUG - VM ctest-TestRoutersBasic-33124684-88109943 ID is 167f6b3d-61bd-478e-84a6-837cdbf384c6 2025-04-07 09:39:02,601 - DEBUG - VM ctest-TestRoutersBasic-33124684-88109943 launched on Node cn-jenkins-deploy-platform-ansible-os-3045-1 2025-04-07 09:39:02,687 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/167f6b3d-61bd-478e-84a6-837cdbf384c6 2025-04-07 09:39:02,696 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/80761adb-9897-43b4-a35c-0aa81a0a6861 2025-04-07 09:39:03,941 - 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=3.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.378 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 = 0.378/1.923/3.468/1.545 ms') 2025-04-07 09:39:03,942 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-33124684-88109943 passed 2025-04-07 09:39:04,098 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 09:39:04,098 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33124684-88109943, IP 58.153.226.3, Port 22 2025-04-07 09:39:04,254 - DEBUG - VM ctest-TestRoutersBasic-33124684-88109943 is ready for SSH connections 2025-04-07 09:39:04,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 09:39:04,254 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.153.226.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2025-04-07 09:39:04,254 - DEBUG - ping -s 56 -c 3 -W 1 58.153.226.3 2025-04-07 09:39:07,953 - DEBUG - PING 58.153.226.3 (58.153.226.3): 56 data bytes 64 bytes from 58.153.226.3: seq=0 ttl=62 time=6.202 ms 64 bytes from 58.153.226.3: seq=1 ttl=62 time=0.906 ms 64 bytes from 58.153.226.3: seq=2 ttl=62 time=1.038 ms --- 58.153.226.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.906/2.715/6.202 ms 2025-04-07 09:39:07,954 - INFO - Ping to IP 58.153.226.3 from VM ctest-TestRoutersBasic-33124684-17216796 passed 2025-04-07 09:39:07,954 - INFO - Deleting interface with subnet_id 03622b7e-1cb7-47a5-8a76-d58a1954eac1, port_id None from router 003fdae6-1fc9-4731-bfe1-844370300dfc 2025-04-07 09:39:08,311 - INFO - Deleting VM ctest-TestRoutersBasic-33124684-88109943 2025-04-07 09:39:08,378 - INFO - Deleting VM ctest-TestRoutersBasic-33124684-17216796 2025-04-07 09:39:08,455 - INFO - Deleting VN ctest-ext_vn-05394274 2025-04-07 09:39:08,547 - DEBUG - VN 6b8d2270-0fe5-43e7-9680-57ed1633b113 still in use: Unable to complete operation on network 6b8d2270-0fe5-43e7-9680-57ed1633b113. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c781c9cb-1c59-41be-8e51-a33288a5d061'] 2025-04-07 09:39:08,547 - WARNING - Deleting VN ctest-ext_vn-05394274 failed..Will retry 2025-04-07 09:39:10,665 - DEBUG - Response for deleting network () 2025-04-07 09:39:10,665 - INFO - Deleting VN ctest-vn-09794796 2025-04-07 09:39:10,799 - DEBUG - Response for deleting network () 2025-04-07 09:39:11,068 - DEBUG - No XMPP flaps were noticed during the test
2025-04-07 09:39:11,068 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-04-07 09:39:11,069 - INFO - -------------------------------------------------------------------------------- 2025-04-07 09:39:11,757 - INFO - Deleted project: ctest-TestRoutersBasic-33124684, ID : 698ae2e9-212a-477b-8418-085ab6e8199d