2025-08-04 02:22:50,055 - INFO - Domain Default found not creating 2025-08-04 02:22:50,231 - INFO - Project ctest-TestRoutersBasic-73860735 not found, creating it 2025-08-04 02:22:50,725 - INFO - Created Project:ctest-TestRoutersBasic-73860735, ID : a2f2f443-10e2-4da4-a683-ac0ddc419fdc 2025-08-04 02:22:52,263 - INFO - ================================================================================ 2025-08-04 02:22:52,263 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-04 02:22:52,263 - 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-04 02:22:52,518 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-08-04 02:22:52,518 - INFO - Initial checks done. Running the testcase now 2025-08-04 02:22:52,518 - INFO - 2025-08-04 02:22:53,249 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-73860735 2025-08-04 02:22:53,347 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-73860735 2025-08-04 02:22:53,680 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73860735', 'default']} 2025-08-04 02:22:54,015 - DEBUG - Response for create_network : {'network': {'id': '5f81cf3a-31d1-48a5-843b-d5c0fc169e1f', 'name': 'ctest-vn-58396711', 'tenant_id': 'a2f2f44310e24da4a683ac0ddc419fdc', 'project_id': 'a2f2f44310e24da4a683ac0ddc419fdc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73860735', 'ctest-vn-58396711'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 02:22:54,234 - DEBUG - Response for create_subnet : {'subnet': {'id': '5eaa0a3c-ba9a-4852-8f01-9aa320e27754', 'name': '', 'tenant_id': 'a2f2f44310e24da4a683ac0ddc419fdc', 'network_id': '5f81cf3a-31d1-48a5-843b-d5c0fc169e1f', 'ip_version': 4, 'cidr': '5.108.39.0/26', 'allocation_pools': [{'start': '5.108.39.2', 'end': '5.108.39.62'}], 'gateway_ip': '5.108.39.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.108.39.2', 'tags': [], 'project_id': 'a2f2f44310e24da4a683ac0ddc419fdc'}} 2025-08-04 02:22:54,255 - INFO - Created VN ctest-vn-58396711 2025-08-04 02:22:54,307 - DEBUG - VN ctest-vn-58396711 UUID is 5f81cf3a-31d1-48a5-843b-d5c0fc169e1f 2025-08-04 02:22:54,659 - DEBUG - Response for create_network : {'network': {'id': 'bdb09f82-750f-4694-9b47-4f854e6496a9', 'name': 'ctest-ext_vn-83491420', 'tenant_id': 'a2f2f44310e24da4a683ac0ddc419fdc', 'project_id': 'a2f2f44310e24da4a683ac0ddc419fdc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73860735', 'ctest-ext_vn-83491420'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 02:22:54,873 - DEBUG - Response for create_subnet : {'subnet': {'id': '53cb3a03-3d7d-4b75-8bb6-d29109f9f520', 'name': '', 'tenant_id': 'a2f2f44310e24da4a683ac0ddc419fdc', 'network_id': 'bdb09f82-750f-4694-9b47-4f854e6496a9', 'ip_version': 4, 'cidr': '27.230.42.128/26', 'allocation_pools': [{'start': '27.230.42.130', 'end': '27.230.42.190'}], 'gateway_ip': '27.230.42.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.230.42.130', 'tags': [], 'project_id': 'a2f2f44310e24da4a683ac0ddc419fdc'}} 2025-08-04 02:22:54,894 - INFO - Created VN ctest-ext_vn-83491420 2025-08-04 02:22:54,947 - DEBUG - VN ctest-ext_vn-83491420 UUID is bdb09f82-750f-4694-9b47-4f854e6496a9 2025-08-04 02:22:55,117 - DEBUG - Services list from nova: [, , ] 2025-08-04 02:22:56,180 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3747-1) 2025-08-04 02:22:57,337 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3747-1) 2025-08-04 02:22:57,421 - INFO - Setting gateway for router 0015f826-fa49-4f3e-bc2f-811cb459e63b to network bdb09f82-750f-4694-9b47-4f854e6496a9 2025-08-04 02:22:57,527 - INFO - Adding interface with subnet_id 5eaa0a3c-ba9a-4852-8f01-9aa320e27754, port_id None to router 0015f826-fa49-4f3e-bc2f-811cb459e63b 2025-08-04 02:22:57,867 - INFO - Waiting for VM ctest-TestRoutersBasic-73860735-13567298 to be up.. 2025-08-04 02:22:58,007 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-04 02:23:03,092 - DEBUG - VM is in ACTIVE state now 2025-08-04 02:23:03,092 - INFO - VM name : ctest-TestRoutersBasic-73860735-13567298 2025-08-04 02:23:03,177 - DEBUG - VM ctest-TestRoutersBasic-73860735-13567298 ID is af8405f9-f68d-41bc-9e4d-1aa50e884650 2025-08-04 02:23:03,201 - DEBUG - VM ctest-TestRoutersBasic-73860735-13567298 launched on Node cn-jenkins-deploy-platform-ansible-os-3747-1 2025-08-04 02:23:03,307 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/af8405f9-f68d-41bc-9e4d-1aa50e884650 2025-08-04 02:23:03,619 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/af8405f9-f68d-41bc-9e4d-1aa50e884650 2025-08-04 02:23:03,659 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9460e90b-a96e-47b1-98fe-947912c881a0 2025-08-04 02:23:06,944 - 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 1026ms') 2025-08-04 02:23:06,944 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-73860735-13567298 failed! 2025-08-04 02:23:07,003 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-73860735:ctest-vn-58396711 is 5.108.39.1 and allocation pool is NOT set 2025-08-04 02:23:09,063 - 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=5.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.12 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.124/3.886/5.648/1.762 ms') 2025-08-04 02:23:09,063 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-73860735-13567298 passed 2025-08-04 02:23:09,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:23:09,180 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73860735-13567298, IP 5.108.39.3, Port 22 2025-08-04 02:23:09,346 - DEBUG - VM ctest-TestRoutersBasic-73860735-13567298 is ready for SSH connections 2025-08-04 02:23:09,346 - INFO - Waiting for VM ctest-TestRoutersBasic-73860735-73302963 to be up.. 2025-08-04 02:23:09,440 - DEBUG - VM is in ACTIVE state now 2025-08-04 02:23:09,440 - INFO - VM name : ctest-TestRoutersBasic-73860735-73302963 2025-08-04 02:23:09,527 - DEBUG - VM ctest-TestRoutersBasic-73860735-73302963 ID is 425deb48-6dfd-41ae-a028-1b6b1b67c0c7 2025-08-04 02:23:09,527 - DEBUG - VM ctest-TestRoutersBasic-73860735-73302963 launched on Node cn-jenkins-deploy-platform-ansible-os-3747-1 2025-08-04 02:23:09,605 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/425deb48-6dfd-41ae-a028-1b6b1b67c0c7 2025-08-04 02:23:09,617 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3e304d23-05f5-4205-ad33-84e0002bde68 2025-08-04 02:23:10,866 - 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=4.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.866 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.866/2.766/4.667/1.900 ms') 2025-08-04 02:23:10,866 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-73860735-73302963 passed 2025-08-04 02:23:11,023 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:23:11,023 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73860735-73302963, IP 27.230.42.131, Port 22 2025-08-04 02:23:11,183 - DEBUG - VM ctest-TestRoutersBasic-73860735-73302963 is ready for SSH connections 2025-08-04 02:23:11,183 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:23:11,183 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.230.42.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-04 02:23:11,183 - DEBUG - ping -s 56 -c 3 -W 1 27.230.42.131 2025-08-04 02:23:15,282 - DEBUG - PING 27.230.42.131 (27.230.42.131): 56 data bytes 64 bytes from 27.230.42.131: seq=0 ttl=62 time=8.835 ms 64 bytes from 27.230.42.131: seq=1 ttl=62 time=0.867 ms 64 bytes from 27.230.42.131: seq=2 ttl=62 time=1.422 ms --- 27.230.42.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.867/3.708/8.835 ms 2025-08-04 02:23:15,282 - INFO - Ping to IP 27.230.42.131 from VM ctest-TestRoutersBasic-73860735-13567298 passed 2025-08-04 02:23:15,282 - INFO - Deleting interface with subnet_id 5eaa0a3c-ba9a-4852-8f01-9aa320e27754, port_id None from router 0015f826-fa49-4f3e-bc2f-811cb459e63b 2025-08-04 02:23:15,495 - INFO - Deleting VM ctest-TestRoutersBasic-73860735-73302963 2025-08-04 02:23:15,570 - INFO - Deleting VM ctest-TestRoutersBasic-73860735-13567298 2025-08-04 02:23:15,655 - INFO - Deleting VN ctest-ext_vn-83491420 2025-08-04 02:23:15,726 - DEBUG - VN bdb09f82-750f-4694-9b47-4f854e6496a9 still in use: Unable to complete operation on network bdb09f82-750f-4694-9b47-4f854e6496a9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8e339368-12c3-4b28-8017-92540d9ea5e9'] 2025-08-04 02:23:15,726 - WARNING - Deleting VN ctest-ext_vn-83491420 failed..Will retry 2025-08-04 02:23:17,847 - DEBUG - Response for deleting network () 2025-08-04 02:23:17,848 - INFO - Deleting VN ctest-vn-58396711 2025-08-04 02:23:17,973 - DEBUG - Response for deleting network () 2025-08-04 02:23:18,230 - DEBUG - No XMPP flaps were noticed during the test 2025-08-04 02:23:18,230 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-08-04 02:23:18,230 - INFO - -------------------------------------------------------------------------------- 2025-08-04 02:23:18,929 - INFO - Deleted project: ctest-TestRoutersBasic-73860735, ID : a2f2f443-10e2-4da4-a683-ac0ddc419fdc