2025-08-28 17:14:06,648 - INFO - Domain Default found not creating 2025-08-28 17:14:06,758 - INFO - Project ctest-TestRoutersBasic-83068856 not found, creating it 2025-08-28 17:14:07,233 - INFO - Created Project:ctest-TestRoutersBasic-83068856, ID : 034b6e27-4396-445c-82bc-914d9a12ef77 2025-08-28 17:14:08,525 - INFO - ================================================================================ 2025-08-28 17:14:08,525 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-28 17:14:08,525 - 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-08-28 17:14:08,773 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-08-28 17:14:08,773 - INFO - Initial checks done. Running the testcase now 2025-08-28 17:14:08,773 - INFO - 2025-08-28 17:14:09,438 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-83068856 2025-08-28 17:14:09,533 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-83068856 2025-08-28 17:14:09,857 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83068856', 'default']} 2025-08-28 17:14:10,115 - DEBUG - Response for create_network : {'network': {'id': '4d302859-0bb9-4aa7-a283-68f89771c35f', 'name': 'ctest-vn-58575413', 'tenant_id': '034b6e274396445c82bc914d9a12ef77', 'project_id': '034b6e274396445c82bc914d9a12ef77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83068856', 'ctest-vn-58575413'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 17:14:10,264 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1c35291-6df3-4ab8-bcd9-229bc11072c2', 'name': '', 'tenant_id': '034b6e274396445c82bc914d9a12ef77', 'network_id': '4d302859-0bb9-4aa7-a283-68f89771c35f', 'ip_version': 4, 'cidr': '128.5.87.192/26', 'allocation_pools': [{'start': '128.5.87.194', 'end': '128.5.87.254'}], 'gateway_ip': '128.5.87.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.5.87.194', 'tags': [], 'project_id': '034b6e274396445c82bc914d9a12ef77'}} 2025-08-28 17:14:10,277 - INFO - Created VN ctest-vn-58575413 2025-08-28 17:14:10,329 - DEBUG - VN ctest-vn-58575413 UUID is 4d302859-0bb9-4aa7-a283-68f89771c35f 2025-08-28 17:14:10,635 - DEBUG - Response for create_network : {'network': {'id': 'b25c62a9-d35f-4862-8e4d-f98ce4f2573f', 'name': 'ctest-ext_vn-27271406', 'tenant_id': '034b6e274396445c82bc914d9a12ef77', 'project_id': '034b6e274396445c82bc914d9a12ef77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83068856', 'ctest-ext_vn-27271406'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 17:14:10,763 - DEBUG - Response for create_subnet : {'subnet': {'id': '26a9612f-0662-46a0-8cff-a67ce4a26ead', 'name': '', 'tenant_id': '034b6e274396445c82bc914d9a12ef77', 'network_id': 'b25c62a9-d35f-4862-8e4d-f98ce4f2573f', 'ip_version': 4, 'cidr': '12.223.227.192/26', 'allocation_pools': [{'start': '12.223.227.194', 'end': '12.223.227.254'}], 'gateway_ip': '12.223.227.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.223.227.194', 'tags': [], 'project_id': '034b6e274396445c82bc914d9a12ef77'}} 2025-08-28 17:14:10,777 - INFO - Created VN ctest-ext_vn-27271406 2025-08-28 17:14:10,829 - DEBUG - VN ctest-ext_vn-27271406 UUID is b25c62a9-d35f-4862-8e4d-f98ce4f2573f 2025-08-28 17:14:11,015 - DEBUG - Services list from nova: [, , ] 2025-08-28 17:14:11,938 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3962-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3962-1) 2025-08-28 17:14:13,163 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3962-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3962-1) 2025-08-28 17:14:13,223 - INFO - Setting gateway for router 867d03d9-22c7-429a-b035-efd3ebf4adb7 to network b25c62a9-d35f-4862-8e4d-f98ce4f2573f 2025-08-28 17:14:13,290 - INFO - Adding interface with subnet_id c1c35291-6df3-4ab8-bcd9-229bc11072c2, port_id None to router 867d03d9-22c7-429a-b035-efd3ebf4adb7 2025-08-28 17:14:13,579 - INFO - Waiting for VM ctest-TestRoutersBasic-83068856-03710939 to be up.. 2025-08-28 17:14:13,751 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-28 17:14:18,819 - DEBUG - VM is in ACTIVE state now 2025-08-28 17:14:18,819 - INFO - VM name : ctest-TestRoutersBasic-83068856-03710939 2025-08-28 17:14:18,897 - DEBUG - VM ctest-TestRoutersBasic-83068856-03710939 ID is 794d0dbd-1ae6-46f1-9c66-9e118d68b4ab 2025-08-28 17:14:18,912 - DEBUG - VM ctest-TestRoutersBasic-83068856-03710939 launched on Node cn-jenkins-deploy-platform-ansible-os-3962-1 2025-08-28 17:14:18,978 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/794d0dbd-1ae6-46f1-9c66-9e118d68b4ab 2025-08-28 17:14:19,288 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/794d0dbd-1ae6-46f1-9c66-9e118d68b4ab 2025-08-28 17:14:19,319 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/57232c38-c501-4129-96b7-5326dc86c7fc 2025-08-28 17:14:22,574 - 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 1024ms') 2025-08-28 17:14:22,575 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-83068856-03710939 failed! 2025-08-28 17:14:22,625 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-83068856:ctest-vn-58575413 is 128.5.87.193 and allocation pool is NOT set 2025-08-28 17:14:24,682 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.372 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.372/1.523/2.675/1.151 ms') 2025-08-28 17:14:24,682 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-83068856-03710939 passed 2025-08-28 17:14:24,825 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:14:24,825 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83068856-03710939, IP 128.5.87.195, Port 22 2025-08-28 17:14:24,980 - DEBUG - VM ctest-TestRoutersBasic-83068856-03710939 is ready for SSH connections 2025-08-28 17:14:24,980 - INFO - Waiting for VM ctest-TestRoutersBasic-83068856-00201211 to be up.. 2025-08-28 17:14:25,041 - DEBUG - VM is in ACTIVE state now 2025-08-28 17:14:25,041 - INFO - VM name : ctest-TestRoutersBasic-83068856-00201211 2025-08-28 17:14:25,099 - DEBUG - VM ctest-TestRoutersBasic-83068856-00201211 ID is 524856de-e318-496a-a8b2-ca8cee72b8be 2025-08-28 17:14:25,100 - DEBUG - VM ctest-TestRoutersBasic-83068856-00201211 launched on Node cn-jenkins-deploy-platform-ansible-os-3962-1 2025-08-28 17:14:25,157 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/524856de-e318-496a-a8b2-ca8cee72b8be 2025-08-28 17:14:25,163 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/fd8a0c47-c76a-4e36-b059-5ad058a269ae 2025-08-28 17:14:26,386 - 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=2.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.332 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.332/1.498/2.665/1.166 ms') 2025-08-28 17:14:26,386 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-83068856-00201211 passed 2025-08-28 17:14:26,537 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:14:26,537 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83068856-00201211, IP 12.223.227.195, Port 22 2025-08-28 17:14:26,692 - DEBUG - VM ctest-TestRoutersBasic-83068856-00201211 is ready for SSH connections 2025-08-28 17:14:26,692 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:14:26,692 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.223.227.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-28 17:14:26,692 - DEBUG - ping -s 56 -c 3 -W 1 12.223.227.195 2025-08-28 17:14:30,634 - DEBUG - PING 12.223.227.195 (12.223.227.195): 56 data bytes 64 bytes from 12.223.227.195: seq=0 ttl=62 time=6.788 ms 64 bytes from 12.223.227.195: seq=1 ttl=62 time=0.797 ms 64 bytes from 12.223.227.195: seq=2 ttl=62 time=0.920 ms --- 12.223.227.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.797/2.835/6.788 ms 2025-08-28 17:14:30,634 - INFO - Ping to IP 12.223.227.195 from VM ctest-TestRoutersBasic-83068856-03710939 passed 2025-08-28 17:14:30,634 - INFO - Deleting interface with subnet_id c1c35291-6df3-4ab8-bcd9-229bc11072c2, port_id None from router 867d03d9-22c7-429a-b035-efd3ebf4adb7 2025-08-28 17:14:30,781 - INFO - Deleting VM ctest-TestRoutersBasic-83068856-00201211 2025-08-28 17:14:30,841 - INFO - Deleting VM ctest-TestRoutersBasic-83068856-03710939 2025-08-28 17:14:30,913 - INFO - Deleting VN ctest-ext_vn-27271406 2025-08-28 17:14:30,973 - DEBUG - VN b25c62a9-d35f-4862-8e4d-f98ce4f2573f still in use: Unable to complete operation on network b25c62a9-d35f-4862-8e4d-f98ce4f2573f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c8ed583e-fcbe-4717-be61-d541f7ee90d1'] 2025-08-28 17:14:30,974 - WARNING - Deleting VN ctest-ext_vn-27271406 failed..Will retry 2025-08-28 17:14:33,059 - DEBUG - Response for deleting network () 2025-08-28 17:14:33,059 - INFO - Deleting VN ctest-vn-58575413 2025-08-28 17:14:33,134 - DEBUG - Response for deleting network () 2025-08-28 17:14:33,385 - DEBUG - No XMPP flaps were noticed during the test
2025-08-28 17:14:33,385 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-08-28 17:14:33,385 - INFO - -------------------------------------------------------------------------------- 2025-08-28 17:14:34,001 - INFO - Deleted project: ctest-TestRoutersBasic-83068856, ID : 034b6e27-4396-445c-82bc-914d9a12ef77