2025-09-08 09:45:11,884 - INFO - Domain Default found not creating 2025-09-08 09:45:12,063 - INFO - Project ctest-TestRoutersBasic-22742764 not found, creating it 2025-09-08 09:45:12,520 - INFO - Created Project:ctest-TestRoutersBasic-22742764, ID : 2f9bc1ce-401d-4044-b29b-832c96768cc3 2025-09-08 09:45:14,282 - INFO - ================================================================================ 2025-09-08 09:45:14,282 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-08 09:45:14,282 - 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-09-08 09:45:14,540 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-09-08 09:45:14,540 - INFO - Initial checks done. Running the testcase now 2025-09-08 09:45:14,540 - INFO - 2025-09-08 09:45:15,232 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-22742764 2025-09-08 09:45:15,331 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-22742764 2025-09-08 09:45:15,650 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22742764', 'default']} 2025-09-08 09:45:15,924 - DEBUG - Response for create_network : {'network': {'id': '6520c5bf-535c-4e0f-a3b7-4e3b581af0ee', 'name': 'ctest-vn-52750427', 'tenant_id': '2f9bc1ce401d4044b29b832c96768cc3', 'project_id': '2f9bc1ce401d4044b29b832c96768cc3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22742764', 'ctest-vn-52750427'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 09:45:16,151 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c993ea43-eb93-43b5-9843-e9a6e37ed896', 'name': '', 'tenant_id': '2f9bc1ce401d4044b29b832c96768cc3', 'network_id': '6520c5bf-535c-4e0f-a3b7-4e3b581af0ee', 'ip_version': 4, 'cidr': '39.157.58.0/26', 'allocation_pools': [{'start': '39.157.58.2', 'end': '39.157.58.62'}], 'gateway_ip': '39.157.58.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.157.58.2', 'tags': [], 'project_id': '2f9bc1ce401d4044b29b832c96768cc3'}} 2025-09-08 09:45:16,167 - INFO - Created VN ctest-vn-52750427 2025-09-08 09:45:16,219 - DEBUG - VN ctest-vn-52750427 UUID is 6520c5bf-535c-4e0f-a3b7-4e3b581af0ee 2025-09-08 09:45:16,522 - DEBUG - Response for create_network : {'network': {'id': 'e118714a-ff24-4696-b3be-079e5567e456', 'name': 'ctest-ext_vn-73505026', 'tenant_id': '2f9bc1ce401d4044b29b832c96768cc3', 'project_id': '2f9bc1ce401d4044b29b832c96768cc3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22742764', 'ctest-ext_vn-73505026'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 09:45:16,698 - DEBUG - Response for create_subnet : {'subnet': {'id': '8aa324a8-5f9c-4931-982d-dad041ed92e2', 'name': '', 'tenant_id': '2f9bc1ce401d4044b29b832c96768cc3', 'network_id': 'e118714a-ff24-4696-b3be-079e5567e456', 'ip_version': 4, 'cidr': '185.130.75.0/26', 'allocation_pools': [{'start': '185.130.75.2', 'end': '185.130.75.62'}], 'gateway_ip': '185.130.75.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.130.75.2', 'tags': [], 'project_id': '2f9bc1ce401d4044b29b832c96768cc3'}} 2025-09-08 09:45:16,714 - INFO - Created VN ctest-ext_vn-73505026 2025-09-08 09:45:16,766 - DEBUG - VN ctest-ext_vn-73505026 UUID is e118714a-ff24-4696-b3be-079e5567e456 2025-09-08 09:45:16,963 - DEBUG - Services list from nova: [, , ] 2025-09-08 09:45:17,968 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4043-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4043-1) 2025-09-08 09:45:19,083 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4043-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4043-1) 2025-09-08 09:45:19,158 - INFO - Setting gateway for router 43c40863-937a-47f8-b43b-6dac56b9f958 to network e118714a-ff24-4696-b3be-079e5567e456 2025-09-08 09:45:19,232 - INFO - Adding interface with subnet_id c993ea43-eb93-43b5-9843-e9a6e37ed896, port_id None to router 43c40863-937a-47f8-b43b-6dac56b9f958 2025-09-08 09:45:19,520 - INFO - Waiting for VM ctest-TestRoutersBasic-22742764-62153440 to be up.. 2025-09-08 09:45:19,622 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-08 09:45:24,692 - DEBUG - VM is in ACTIVE state now 2025-09-08 09:45:24,693 - INFO - VM name : ctest-TestRoutersBasic-22742764-62153440 2025-09-08 09:45:24,764 - DEBUG - VM ctest-TestRoutersBasic-22742764-62153440 ID is 265b69bd-99cb-4e32-9b12-96aa40c3c989 2025-09-08 09:45:24,782 - DEBUG - VM ctest-TestRoutersBasic-22742764-62153440 launched on Node cn-jenkins-deploy-platform-ansible-os-4043-1 2025-09-08 09:45:24,857 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/265b69bd-99cb-4e32-9b12-96aa40c3c989 2025-09-08 09:45:25,156 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/265b69bd-99cb-4e32-9b12-96aa40c3c989 2025-09-08 09:45:25,186 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/a663d705-b6b8-4c4b-908d-09f6973d471e 2025-09-08 09:45:28,424 - 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 1003ms') 2025-09-08 09:45:28,424 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-22742764-62153440 failed! 2025-09-08 09:45:28,479 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-22742764:ctest-vn-52750427 is 39.157.58.1 and allocation pool is NOT set 2025-09-08 09:45:30,535 - 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.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.453 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.453/2.483/4.514/2.030 ms') 2025-09-08 09:45:30,535 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-22742764-62153440 passed 2025-09-08 09:45:30,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 09:45:30,683 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22742764-62153440, IP 39.157.58.3, Port 22 2025-09-08 09:45:30,846 - DEBUG - VM ctest-TestRoutersBasic-22742764-62153440 is ready for SSH connections 2025-09-08 09:45:30,846 - INFO - Waiting for VM ctest-TestRoutersBasic-22742764-57918479 to be up.. 2025-09-08 09:45:30,913 - DEBUG - VM is in ACTIVE state now 2025-09-08 09:45:30,913 - INFO - VM name : ctest-TestRoutersBasic-22742764-57918479 2025-09-08 09:45:30,977 - DEBUG - VM ctest-TestRoutersBasic-22742764-57918479 ID is 7ea12232-d326-474c-be13-ed3630766d75 2025-09-08 09:45:30,977 - DEBUG - VM ctest-TestRoutersBasic-22742764-57918479 launched on Node cn-jenkins-deploy-platform-ansible-os-4043-1 2025-09-08 09:45:31,041 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/7ea12232-d326-474c-be13-ed3630766d75 2025-09-08 09:45:31,048 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/aec3b693-6906-49e1-846c-0668631df77b 2025-09-08 09:45:32,273 - 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.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.389 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 = 0.389/1.866/3.343/1.477 ms') 2025-09-08 09:45:32,273 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-22742764-57918479 passed 2025-09-08 09:45:32,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 09:45:32,419 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22742764-57918479, IP 185.130.75.3, Port 22 2025-09-08 09:45:32,570 - DEBUG - VM ctest-TestRoutersBasic-22742764-57918479 is ready for SSH connections 2025-09-08 09:45:32,570 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 09:45:32,570 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.130.75.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-09-08 09:45:32,570 - DEBUG - ping -s 56 -c 3 -W 1 185.130.75.3 2025-09-08 09:45:36,564 - DEBUG - PING 185.130.75.3 (185.130.75.3): 56 data bytes 64 bytes from 185.130.75.3: seq=0 ttl=62 time=5.313 ms 64 bytes from 185.130.75.3: seq=1 ttl=62 time=1.162 ms 64 bytes from 185.130.75.3: seq=2 ttl=62 time=0.725 ms --- 185.130.75.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.725/2.400/5.313 ms 2025-09-08 09:45:36,564 - INFO - Ping to IP 185.130.75.3 from VM ctest-TestRoutersBasic-22742764-62153440 passed 2025-09-08 09:45:36,564 - INFO - Deleting interface with subnet_id c993ea43-eb93-43b5-9843-e9a6e37ed896, port_id None from router 43c40863-937a-47f8-b43b-6dac56b9f958 2025-09-08 09:45:36,732 - INFO - Deleting VM ctest-TestRoutersBasic-22742764-57918479 2025-09-08 09:45:36,795 - INFO - Deleting VM ctest-TestRoutersBasic-22742764-62153440 2025-09-08 09:45:36,868 - INFO - Deleting VN ctest-ext_vn-73505026 2025-09-08 09:45:36,936 - DEBUG - VN e118714a-ff24-4696-b3be-079e5567e456 still in use: Unable to complete operation on network e118714a-ff24-4696-b3be-079e5567e456. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a2d50a93-dba6-421d-b4b5-73a278f63244'] 2025-09-08 09:45:36,936 - WARNING - Deleting VN ctest-ext_vn-73505026 failed..Will retry 2025-09-08 09:45:39,032 - DEBUG - Response for deleting network () 2025-09-08 09:45:39,032 - INFO - Deleting VN ctest-vn-52750427 2025-09-08 09:45:39,135 - DEBUG - Response for deleting network () 2025-09-08 09:45:39,388 - DEBUG - No XMPP flaps were noticed during the test 2025-09-08 09:45:39,388 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-09-08 09:45:39,389 - INFO - -------------------------------------------------------------------------------- 2025-09-08 09:45:40,084 - INFO - Deleted project: ctest-TestRoutersBasic-22742764, ID : 2f9bc1ce-401d-4044-b29b-832c96768cc3