2025-10-11 21:40:56,298 - INFO - Domain Default found not creating 2025-10-11 21:40:56,421 - INFO - Project ctest-TestRoutersBasic-85677696 not found, creating it 2025-10-11 21:40:56,832 - INFO - Created Project:ctest-TestRoutersBasic-85677696, ID : bad40359-9dea-4d13-bb1b-c9b7739dbfaa 2025-10-11 21:40:58,175 - INFO - ================================================================================ 2025-10-11 21:40:58,175 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-11 21:40:58,175 - 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-10-11 21:40:58,428 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-10-11 21:40:58,428 - INFO - Initial checks done. Running the testcase now 2025-10-11 21:40:58,428 - INFO - 2025-10-11 21:40:59,099 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-85677696 2025-10-11 21:40:59,195 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-85677696 2025-10-11 21:40:59,515 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85677696', 'default']} 2025-10-11 21:40:59,780 - DEBUG - Response for create_network : {'network': {'id': 'cdefe5df-e516-403a-924e-5281e559a477', 'name': 'ctest-vn-94464990', 'tenant_id': 'bad403599dea4d13bb1bc9b7739dbfaa', 'project_id': 'bad403599dea4d13bb1bc9b7739dbfaa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85677696', 'ctest-vn-94464990'], 'port_security_enabled': True, 'description': ''}} 2025-10-11 21:40:59,979 - DEBUG - Response for create_subnet : {'subnet': {'id': '383470f1-2fb9-467b-8d94-8a0256263e58', 'name': '', 'tenant_id': 'bad403599dea4d13bb1bc9b7739dbfaa', 'network_id': 'cdefe5df-e516-403a-924e-5281e559a477', 'ip_version': 4, 'cidr': '200.178.107.128/26', 'allocation_pools': [{'start': '200.178.107.130', 'end': '200.178.107.190'}], 'gateway_ip': '200.178.107.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.178.107.130', 'tags': [], 'project_id': 'bad403599dea4d13bb1bc9b7739dbfaa'}} 2025-10-11 21:40:59,995 - INFO - Created VN ctest-vn-94464990 2025-10-11 21:41:00,051 - DEBUG - VN ctest-vn-94464990 UUID is cdefe5df-e516-403a-924e-5281e559a477 2025-10-11 21:41:00,387 - DEBUG - Response for create_network : {'network': {'id': 'eba97ad6-f805-4890-be27-22c082ebf9ab', 'name': 'ctest-ext_vn-35120903', 'tenant_id': 'bad403599dea4d13bb1bc9b7739dbfaa', 'project_id': 'bad403599dea4d13bb1bc9b7739dbfaa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85677696', 'ctest-ext_vn-35120903'], 'port_security_enabled': True, 'description': ''}} 2025-10-11 21:41:00,566 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ab7f3aa-4bae-4620-900d-f6aaeb6b1af6', 'name': '', 'tenant_id': 'bad403599dea4d13bb1bc9b7739dbfaa', 'network_id': 'eba97ad6-f805-4890-be27-22c082ebf9ab', 'ip_version': 4, 'cidr': '55.145.211.128/26', 'allocation_pools': [{'start': '55.145.211.130', 'end': '55.145.211.190'}], 'gateway_ip': '55.145.211.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.145.211.130', 'tags': [], 'project_id': 'bad403599dea4d13bb1bc9b7739dbfaa'}} 2025-10-11 21:41:00,580 - INFO - Created VN ctest-ext_vn-35120903 2025-10-11 21:41:00,631 - DEBUG - VN ctest-ext_vn-35120903 UUID is eba97ad6-f805-4890-be27-22c082ebf9ab 2025-10-11 21:41:00,820 - DEBUG - Services list from nova: [, , ] 2025-10-11 21:41:01,783 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4289-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4289-1) 2025-10-11 21:41:02,877 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4289-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4289-1) 2025-10-11 21:41:02,958 - INFO - Setting gateway for router 843e4345-a7b9-4958-9b82-c63bf640d86a to network eba97ad6-f805-4890-be27-22c082ebf9ab 2025-10-11 21:41:03,015 - INFO - Adding interface with subnet_id 383470f1-2fb9-467b-8d94-8a0256263e58, port_id None to router 843e4345-a7b9-4958-9b82-c63bf640d86a 2025-10-11 21:41:03,348 - INFO - Waiting for VM ctest-TestRoutersBasic-85677696-08514599 to be up.. 2025-10-11 21:41:03,498 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-11 21:41:08,565 - DEBUG - VM is in ACTIVE state now 2025-10-11 21:41:08,566 - INFO - VM name : ctest-TestRoutersBasic-85677696-08514599 2025-10-11 21:41:08,634 - DEBUG - VM ctest-TestRoutersBasic-85677696-08514599 ID is cb70ae1c-7919-4a9e-a644-e48116550e60 2025-10-11 21:41:08,652 - DEBUG - VM ctest-TestRoutersBasic-85677696-08514599 launched on Node cn-jenkins-deploy-platform-ansible-os-4289-1 2025-10-11 21:41:08,717 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cb70ae1c-7919-4a9e-a644-e48116550e60 2025-10-11 21:41:09,004 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cb70ae1c-7919-4a9e-a644-e48116550e60 2025-10-11 21:41:09,031 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/27f9c270-337c-4ec1-82e4-970b03d127c8 2025-10-11 21:41:12,297 - 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 1028ms') 2025-10-11 21:41:12,297 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-85677696-08514599 failed! 2025-10-11 21:41:12,347 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-85677696:ctest-vn-94464990 is 200.178.107.129 and allocation pool is NOT set 2025-10-11 21:41:14,404 - 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=7.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.342 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 = 0.342/4.032/7.723/3.690 ms') 2025-10-11 21:41:14,404 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-85677696-08514599 passed 2025-10-11 21:41:14,559 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 21:41:14,559 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-85677696-08514599, IP 200.178.107.131, Port 22 2025-10-11 21:41:14,711 - DEBUG - VM ctest-TestRoutersBasic-85677696-08514599 is ready for SSH connections 2025-10-11 21:41:14,711 - INFO - Waiting for VM ctest-TestRoutersBasic-85677696-55856808 to be up.. 2025-10-11 21:41:14,770 - DEBUG - VM is in ACTIVE state now 2025-10-11 21:41:14,770 - INFO - VM name : ctest-TestRoutersBasic-85677696-55856808 2025-10-11 21:41:14,832 - DEBUG - VM ctest-TestRoutersBasic-85677696-55856808 ID is ee08c665-36ce-45e4-b747-a8828ec2b151 2025-10-11 21:41:14,832 - DEBUG - VM ctest-TestRoutersBasic-85677696-55856808 launched on Node cn-jenkins-deploy-platform-ansible-os-4289-1 2025-10-11 21:41:14,890 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ee08c665-36ce-45e4-b747-a8828ec2b151 2025-10-11 21:41:14,896 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/49613af9-f0df-468e-85cb-21bdebbc4795 2025-10-11 21:41:16,118 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.346 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.346/1.477/2.609/1.131 ms') 2025-10-11 21:41:16,118 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-85677696-55856808 passed 2025-10-11 21:41:16,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 21:41:16,263 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-85677696-55856808, IP 55.145.211.131, Port 22 2025-10-11 21:41:16,414 - DEBUG - VM ctest-TestRoutersBasic-85677696-55856808 is ready for SSH connections 2025-10-11 21:41:16,414 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 21:41:16,415 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 55.145.211.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-11 21:41:16,415 - DEBUG - ping -s 56 -c 3 -W 1 55.145.211.131 2025-10-11 21:41:20,364 - DEBUG - PING 55.145.211.131 (55.145.211.131): 56 data bytes 64 bytes from 55.145.211.131: seq=0 ttl=62 time=7.702 ms 64 bytes from 55.145.211.131: seq=1 ttl=62 time=0.777 ms 64 bytes from 55.145.211.131: seq=2 ttl=62 time=0.775 ms --- 55.145.211.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.775/3.084/7.702 ms 2025-10-11 21:41:20,365 - INFO - Ping to IP 55.145.211.131 from VM ctest-TestRoutersBasic-85677696-08514599 passed 2025-10-11 21:41:20,365 - INFO - Deleting interface with subnet_id 383470f1-2fb9-467b-8d94-8a0256263e58, port_id None from router 843e4345-a7b9-4958-9b82-c63bf640d86a 2025-10-11 21:41:20,547 - INFO - Deleting VM ctest-TestRoutersBasic-85677696-55856808 2025-10-11 21:41:20,608 - INFO - Deleting VM ctest-TestRoutersBasic-85677696-08514599 2025-10-11 21:41:20,684 - INFO - Deleting VN ctest-ext_vn-35120903 2025-10-11 21:41:20,737 - DEBUG - VN eba97ad6-f805-4890-be27-22c082ebf9ab still in use: Unable to complete operation on network eba97ad6-f805-4890-be27-22c082ebf9ab. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5b940663-2112-40b3-889f-60082bf149b6'] 2025-10-11 21:41:20,737 - WARNING - Deleting VN ctest-ext_vn-35120903 failed..Will retry 2025-10-11 21:41:22,822 - DEBUG - Response for deleting network () 2025-10-11 21:41:22,822 - INFO - Deleting VN ctest-vn-94464990 2025-10-11 21:41:22,904 - DEBUG - Response for deleting network () 2025-10-11 21:41:23,155 - DEBUG - No XMPP flaps were noticed during the test 2025-10-11 21:41:23,156 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-11 21:41:23,156 - INFO - -------------------------------------------------------------------------------- 2025-10-11 21:41:23,792 - INFO - Deleted project: ctest-TestRoutersBasic-85677696, ID : bad40359-9dea-4d13-bb1b-c9b7739dbfaa