2025-07-23 06:23:51,909 - INFO - Domain Default found not creating 2025-07-23 06:23:52,083 - INFO - Project ctest-TestRoutersBasic-18491046 not found, creating it 2025-07-23 06:23:52,574 - INFO - Created Project:ctest-TestRoutersBasic-18491046, ID : d1c130a7-e6ff-4855-86f4-c5d351fcae01 2025-07-23 06:23:54,114 - INFO - ================================================================================ 2025-07-23 06:23:54,114 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-23 06:23:54,114 - 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 06:23:54,376 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-07-23 06:23:54,376 - INFO - Initial checks done. Running the testcase now 2025-07-23 06:23:54,376 - INFO - 2025-07-23 06:23:55,077 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-18491046 2025-07-23 06:23:55,173 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-18491046 2025-07-23 06:23:55,500 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18491046', 'default']} 2025-07-23 06:23:55,827 - DEBUG - Response for create_network : {'network': {'id': '703122fe-3815-4fb2-b00a-45843e089d3a', 'name': 'ctest-vn-81867153', 'tenant_id': 'd1c130a7e6ff485586f4c5d351fcae01', 'project_id': 'd1c130a7e6ff485586f4c5d351fcae01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18491046', 'ctest-vn-81867153'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 06:23:56,026 - DEBUG - Response for create_subnet : {'subnet': {'id': '3404a1b6-7d3b-4957-b02a-e23db853a22b', 'name': '', 'tenant_id': 'd1c130a7e6ff485586f4c5d351fcae01', 'network_id': '703122fe-3815-4fb2-b00a-45843e089d3a', 'ip_version': 4, 'cidr': '196.139.82.192/26', 'allocation_pools': [{'start': '196.139.82.194', 'end': '196.139.82.254'}], 'gateway_ip': '196.139.82.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.139.82.194', 'tags': [], 'project_id': 'd1c130a7e6ff485586f4c5d351fcae01'}} 2025-07-23 06:23:56,045 - INFO - Created VN ctest-vn-81867153 2025-07-23 06:23:56,104 - DEBUG - VN ctest-vn-81867153 UUID is 703122fe-3815-4fb2-b00a-45843e089d3a 2025-07-23 06:23:56,436 - DEBUG - Response for create_network : {'network': {'id': 'fb88f019-5d98-4d0d-ac7c-d43b3adfe0fc', 'name': 'ctest-ext_vn-42197898', 'tenant_id': 'd1c130a7e6ff485586f4c5d351fcae01', 'project_id': 'd1c130a7e6ff485586f4c5d351fcae01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18491046', 'ctest-ext_vn-42197898'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 06:23:56,641 - DEBUG - Response for create_subnet : {'subnet': {'id': '752d1cc4-2dd6-429a-88c7-da604d767448', 'name': '', 'tenant_id': 'd1c130a7e6ff485586f4c5d351fcae01', 'network_id': 'fb88f019-5d98-4d0d-ac7c-d43b3adfe0fc', 'ip_version': 4, 'cidr': '3.245.87.192/26', 'allocation_pools': [{'start': '3.245.87.194', 'end': '3.245.87.254'}], 'gateway_ip': '3.245.87.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.245.87.194', 'tags': [], 'project_id': 'd1c130a7e6ff485586f4c5d351fcae01'}} 2025-07-23 06:23:56,661 - INFO - Created VN ctest-ext_vn-42197898 2025-07-23 06:23:56,717 - DEBUG - VN ctest-ext_vn-42197898 UUID is fb88f019-5d98-4d0d-ac7c-d43b3adfe0fc 2025-07-23 06:23:56,924 - DEBUG - Services list from nova: [, , ] 2025-07-23 06:23:57,964 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3698-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3698-1) 2025-07-23 06:23:59,233 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3698-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3698-1) 2025-07-23 06:23:59,349 - INFO - Setting gateway for router a51e5a69-fecc-4274-9598-7457c13db925 to network fb88f019-5d98-4d0d-ac7c-d43b3adfe0fc 2025-07-23 06:23:59,411 - INFO - Adding interface with subnet_id 3404a1b6-7d3b-4957-b02a-e23db853a22b, port_id None to router a51e5a69-fecc-4274-9598-7457c13db925 2025-07-23 06:23:59,775 - INFO - Waiting for VM ctest-TestRoutersBasic-18491046-70499530 to be up.. 2025-07-23 06:23:59,937 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-23 06:24:05,019 - DEBUG - VM is in ACTIVE state now 2025-07-23 06:24:05,019 - INFO - VM name : ctest-TestRoutersBasic-18491046-70499530 2025-07-23 06:24:05,097 - DEBUG - VM ctest-TestRoutersBasic-18491046-70499530 ID is 0d33dea2-a7b7-48f6-a52b-a9d0f0ae8847 2025-07-23 06:24:05,118 - DEBUG - VM ctest-TestRoutersBasic-18491046-70499530 launched on Node cn-jenkins-deploy-platform-ansible-os-3698-1 2025-07-23 06:24:05,200 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/0d33dea2-a7b7-48f6-a52b-a9d0f0ae8847 2025-07-23 06:24:05,494 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/0d33dea2-a7b7-48f6-a52b-a9d0f0ae8847 2025-07-23 06:24:05,530 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/60743025-202a-4afb-8fdc-3dcc0e62d1c0 2025-07-23 06:24:08,805 - 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 1027ms') 2025-07-23 06:24:08,805 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18491046-70499530 failed! 2025-07-23 06:24:08,861 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-18491046:ctest-vn-81867153 is 196.139.82.193 and allocation pool is NOT set 2025-07-23 06:24:10,926 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.27 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 = 2.624/2.946/3.269/0.322 ms') 2025-07-23 06:24:10,927 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18491046-70499530 passed 2025-07-23 06:24:11,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 06:24:11,081 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18491046-70499530, IP 196.139.82.195, Port 22 2025-07-23 06:24:11,236 - DEBUG - VM ctest-TestRoutersBasic-18491046-70499530 is ready for SSH connections 2025-07-23 06:24:11,236 - INFO - Waiting for VM ctest-TestRoutersBasic-18491046-46686870 to be up.. 2025-07-23 06:24:11,317 - DEBUG - VM is in ACTIVE state now 2025-07-23 06:24:11,317 - INFO - VM name : ctest-TestRoutersBasic-18491046-46686870 2025-07-23 06:24:11,397 - DEBUG - VM ctest-TestRoutersBasic-18491046-46686870 ID is 43b8fa10-997a-4ca8-a061-22bfc2042df9 2025-07-23 06:24:11,397 - DEBUG - VM ctest-TestRoutersBasic-18491046-46686870 launched on Node cn-jenkins-deploy-platform-ansible-os-3698-1 2025-07-23 06:24:11,483 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/43b8fa10-997a-4ca8-a061-22bfc2042df9 2025-07-23 06:24:11,493 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/dba1e61c-c357-4fd2-bb70-a095e708a99c 2025-07-23 06:24:12,750 - 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.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.64 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.640/2.948/3.256/0.308 ms') 2025-07-23 06:24:12,750 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-18491046-46686870 passed 2025-07-23 06:24:12,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 06:24:12,901 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18491046-46686870, IP 3.245.87.195, Port 22 2025-07-23 06:24:13,056 - DEBUG - VM ctest-TestRoutersBasic-18491046-46686870 is ready for SSH connections 2025-07-23 06:24:13,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 06:24:13,056 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.245.87.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-07-23 06:24:13,057 - DEBUG - ping -s 56 -c 3 -W 1 3.245.87.195 2025-07-23 06:24:16,857 - DEBUG - PING 3.245.87.195 (3.245.87.195): 56 data bytes 64 bytes from 3.245.87.195: seq=0 ttl=62 time=5.874 ms 64 bytes from 3.245.87.195: seq=1 ttl=62 time=0.860 ms 64 bytes from 3.245.87.195: seq=2 ttl=62 time=1.091 ms --- 3.245.87.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.860/2.608/5.874 ms 2025-07-23 06:24:16,857 - INFO - Ping to IP 3.245.87.195 from VM ctest-TestRoutersBasic-18491046-70499530 passed 2025-07-23 06:24:16,857 - INFO - Deleting interface with subnet_id 3404a1b6-7d3b-4957-b02a-e23db853a22b, port_id None from router a51e5a69-fecc-4274-9598-7457c13db925 2025-07-23 06:24:17,067 - INFO - Deleting VM ctest-TestRoutersBasic-18491046-46686870 2025-07-23 06:24:17,139 - INFO - Deleting VM ctest-TestRoutersBasic-18491046-70499530 2025-07-23 06:24:17,219 - INFO - Deleting VN ctest-ext_vn-42197898 2025-07-23 06:24:17,310 - DEBUG - VN fb88f019-5d98-4d0d-ac7c-d43b3adfe0fc still in use: Unable to complete operation on network fb88f019-5d98-4d0d-ac7c-d43b3adfe0fc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5b6b9309-c984-41a3-8b96-c1c53c82b5e1'] 2025-07-23 06:24:17,310 - WARNING - Deleting VN ctest-ext_vn-42197898 failed..Will retry 2025-07-23 06:24:19,435 - DEBUG - Response for deleting network () 2025-07-23 06:24:19,435 - INFO - Deleting VN ctest-vn-81867153 2025-07-23 06:24:19,558 - DEBUG - Response for deleting network () 2025-07-23 06:24:19,820 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 06:24:19,820 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-07-23 06:24:19,820 - INFO - -------------------------------------------------------------------------------- 2025-07-23 06:24:20,498 - INFO - Deleted project: ctest-TestRoutersBasic-18491046, ID : d1c130a7-e6ff-4855-86f4-c5d351fcae01