2025-06-30 11:44:12,633 - INFO - Domain Default found not creating 2025-06-30 11:44:12,774 - INFO - Project ctest-TestRoutersBasic-03936645 not found, creating it 2025-06-30 11:44:13,218 - INFO - Created Project:ctest-TestRoutersBasic-03936645, ID : 7a36e07d-493a-45ec-9bb9-2d63a24995bc 2025-06-30 11:44:14,592 - INFO - ================================================================================ 2025-06-30 11:44:14,593 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-30 11:44:14,593 - 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-06-30 11:44:14,850 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2025-06-30 11:44:14,850 - INFO - Initial checks done. Running the testcase now 2025-06-30 11:44:14,850 - INFO - 2025-06-30 11:44:15,534 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-03936645 2025-06-30 11:44:15,628 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-03936645 2025-06-30 11:44:15,948 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03936645', 'default']} 2025-06-30 11:44:16,231 - DEBUG - Response for create_network : {'network': {'id': '0eaa9178-6dcc-4c74-997c-f738df4a20e8', 'name': 'ctest-vn-90526670', 'tenant_id': '7a36e07d493a45ec9bb92d63a24995bc', 'project_id': '7a36e07d493a45ec9bb92d63a24995bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03936645', 'ctest-vn-90526670'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 11:44:16,372 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac069fb3-8300-46e5-a431-a9d8a228d91e', 'name': '', 'tenant_id': '7a36e07d493a45ec9bb92d63a24995bc', 'network_id': '0eaa9178-6dcc-4c74-997c-f738df4a20e8', 'ip_version': 4, 'cidr': '141.46.159.128/26', 'allocation_pools': [{'start': '141.46.159.130', 'end': '141.46.159.190'}], 'gateway_ip': '141.46.159.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.46.159.130', 'tags': [], 'project_id': '7a36e07d493a45ec9bb92d63a24995bc'}} 2025-06-30 11:44:16,389 - INFO - Created VN ctest-vn-90526670 2025-06-30 11:44:16,440 - DEBUG - VN ctest-vn-90526670 UUID is 0eaa9178-6dcc-4c74-997c-f738df4a20e8 2025-06-30 11:44:16,782 - DEBUG - Response for create_network : {'network': {'id': 'fcc3606b-dc3e-436d-901a-a44ed878a93d', 'name': 'ctest-ext_vn-33374272', 'tenant_id': '7a36e07d493a45ec9bb92d63a24995bc', 'project_id': '7a36e07d493a45ec9bb92d63a24995bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03936645', 'ctest-ext_vn-33374272'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 11:44:16,964 - DEBUG - Response for create_subnet : {'subnet': {'id': '8e41cf57-37a3-446b-82df-d79b6c3595bc', 'name': '', 'tenant_id': '7a36e07d493a45ec9bb92d63a24995bc', 'network_id': 'fcc3606b-dc3e-436d-901a-a44ed878a93d', 'ip_version': 4, 'cidr': '72.51.186.192/26', 'allocation_pools': [{'start': '72.51.186.194', 'end': '72.51.186.254'}], 'gateway_ip': '72.51.186.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.51.186.194', 'tags': [], 'project_id': '7a36e07d493a45ec9bb92d63a24995bc'}} 2025-06-30 11:44:16,981 - INFO - Created VN ctest-ext_vn-33374272 2025-06-30 11:44:17,032 - DEBUG - VN ctest-ext_vn-33374272 UUID is fcc3606b-dc3e-436d-901a-a44ed878a93d 2025-06-30 11:44:17,236 - DEBUG - Services list from nova: [, , ] 2025-06-30 11:44:18,318 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3573-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3573-1) 2025-06-30 11:44:19,440 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3573-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3573-1) 2025-06-30 11:44:19,512 - INFO - Setting gateway for router fd954f5a-13b0-426c-9ac8-d0347becb85c to network fcc3606b-dc3e-436d-901a-a44ed878a93d 2025-06-30 11:44:19,588 - INFO - Adding interface with subnet_id ac069fb3-8300-46e5-a431-a9d8a228d91e, port_id None to router fd954f5a-13b0-426c-9ac8-d0347becb85c 2025-06-30 11:44:19,989 - INFO - Waiting for VM ctest-TestRoutersBasic-03936645-90894342 to be up.. 2025-06-30 11:44:20,162 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-30 11:44:25,235 - DEBUG - VM is in ACTIVE state now 2025-06-30 11:44:25,235 - INFO - VM name : ctest-TestRoutersBasic-03936645-90894342 2025-06-30 11:44:25,317 - DEBUG - VM ctest-TestRoutersBasic-03936645-90894342 ID is 07d4328e-0b7b-43ba-8dcc-49e0885d5b0d 2025-06-30 11:44:25,338 - DEBUG - VM ctest-TestRoutersBasic-03936645-90894342 launched on Node cn-jenkins-deploy-platform-ansible-os-3573-1 2025-06-30 11:44:25,421 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/07d4328e-0b7b-43ba-8dcc-49e0885d5b0d 2025-06-30 11:44:25,713 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/07d4328e-0b7b-43ba-8dcc-49e0885d5b0d 2025-06-30 11:44:25,748 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/07aa4d43-754a-47dd-a486-f016cde814c4 2025-06-30 11:44:29,005 - 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-06-30 11:44:29,005 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03936645-90894342 failed! 2025-06-30 11:44:29,064 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-03936645:ctest-vn-90526670 is 141.46.159.129 and allocation pool is NOT set 2025-06-30 11:44:31,129 - 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.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.537 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.537/1.730/2.923/1.193 ms') 2025-06-30 11:44:31,129 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03936645-90894342 passed 2025-06-30 11:44:31,284 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 11:44:31,284 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03936645-90894342, IP 141.46.159.131, Port 22 2025-06-30 11:44:31,436 - DEBUG - VM ctest-TestRoutersBasic-03936645-90894342 is ready for SSH connections 2025-06-30 11:44:31,437 - INFO - Waiting for VM ctest-TestRoutersBasic-03936645-63610944 to be up.. 2025-06-30 11:44:31,582 - DEBUG - VM is in ACTIVE state now 2025-06-30 11:44:31,582 - INFO - VM name : ctest-TestRoutersBasic-03936645-63610944 2025-06-30 11:44:31,677 - DEBUG - VM ctest-TestRoutersBasic-03936645-63610944 ID is 52a2c389-d0b3-4a47-97da-bba13bbbfbbe 2025-06-30 11:44:31,677 - DEBUG - VM ctest-TestRoutersBasic-03936645-63610944 launched on Node cn-jenkins-deploy-platform-ansible-os-3573-1 2025-06-30 11:44:31,807 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/52a2c389-d0b3-4a47-97da-bba13bbbfbbe 2025-06-30 11:44:31,829 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/df959a46-8464-4f09-9d82-3e569ec5796d 2025-06-30 11:44:33,104 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.520 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.520/2.005/3.490/1.485 ms') 2025-06-30 11:44:33,104 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-03936645-63610944 passed 2025-06-30 11:44:33,260 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 11:44:33,260 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03936645-63610944, IP 72.51.186.195, Port 22 2025-06-30 11:44:33,412 - DEBUG - VM ctest-TestRoutersBasic-03936645-63610944 is ready for SSH connections 2025-06-30 11:44:33,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 11:44:33,412 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.51.186.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-06-30 11:44:33,412 - DEBUG - ping -s 56 -c 3 -W 1 72.51.186.195 2025-06-30 11:44:37,364 - DEBUG - PING 72.51.186.195 (72.51.186.195): 56 data bytes 64 bytes from 72.51.186.195: seq=0 ttl=62 time=4.563 ms 64 bytes from 72.51.186.195: seq=1 ttl=62 time=0.805 ms 64 bytes from 72.51.186.195: seq=2 ttl=62 time=0.873 ms --- 72.51.186.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.805/2.080/4.563 ms 2025-06-30 11:44:37,364 - INFO - Ping to IP 72.51.186.195 from VM ctest-TestRoutersBasic-03936645-90894342 passed 2025-06-30 11:44:37,364 - INFO - Deleting interface with subnet_id ac069fb3-8300-46e5-a431-a9d8a228d91e, port_id None from router fd954f5a-13b0-426c-9ac8-d0347becb85c 2025-06-30 11:44:37,591 - INFO - Deleting VM ctest-TestRoutersBasic-03936645-63610944 2025-06-30 11:44:37,658 - INFO - Deleting VM ctest-TestRoutersBasic-03936645-90894342 2025-06-30 11:44:37,733 - INFO - Deleting VN ctest-ext_vn-33374272 2025-06-30 11:44:37,818 - DEBUG - VN fcc3606b-dc3e-436d-901a-a44ed878a93d still in use: Unable to complete operation on network fcc3606b-dc3e-436d-901a-a44ed878a93d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4346d8b8-d954-4a3a-9232-a82041c8b5b9'] 2025-06-30 11:44:37,818 - WARNING - Deleting VN ctest-ext_vn-33374272 failed..Will retry 2025-06-30 11:44:39,935 - DEBUG - Response for deleting network () 2025-06-30 11:44:39,936 - INFO - Deleting VN ctest-vn-90526670 2025-06-30 11:44:40,055 - DEBUG - Response for deleting network () 2025-06-30 11:44:40,317 - DEBUG - No XMPP flaps were noticed during the test
2025-06-30 11:44:40,317 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-06-30 11:44:40,317 - INFO - -------------------------------------------------------------------------------- 2025-06-30 11:44:40,979 - INFO - Deleted project: ctest-TestRoutersBasic-03936645, ID : 7a36e07d-493a-45ec-9bb9-2d63a24995bc