2025-09-25 10:11:37,344 - INFO - Domain Default found not creating 2025-09-25 10:11:37,482 - INFO - Project ctest-TestRoutersBasic-70698091 not found, creating it 2025-09-25 10:11:37,918 - INFO - Created Project:ctest-TestRoutersBasic-70698091, ID : e631a9d4-358c-41e6-8185-cc53703dd1cf 2025-09-25 10:11:39,338 - INFO - ================================================================================ 2025-09-25 10:11:39,338 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-25 10:11:39,339 - 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-09-25 10:11:39,598 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-09-25 10:11:39,598 - INFO - Initial checks done. Running the testcase now 2025-09-25 10:11:39,598 - INFO - 2025-09-25 10:11:40,285 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-70698091 2025-09-25 10:11:40,381 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-70698091 2025-09-25 10:11:40,701 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70698091', 'default']} 2025-09-25 10:11:40,978 - DEBUG - Response for create_network : {'network': {'id': '7e794fab-8339-44a5-ab32-c8476c0025ed', 'name': 'ctest-vn-79549346', 'tenant_id': 'e631a9d4358c41e68185cc53703dd1cf', 'project_id': 'e631a9d4358c41e68185cc53703dd1cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70698091', 'ctest-vn-79549346'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 10:11:41,137 - DEBUG - Response for create_subnet : {'subnet': {'id': '26144466-3e80-4805-9f82-5b7782761f7e', 'name': '', 'tenant_id': 'e631a9d4358c41e68185cc53703dd1cf', 'network_id': '7e794fab-8339-44a5-ab32-c8476c0025ed', 'ip_version': 4, 'cidr': '60.210.83.0/26', 'allocation_pools': [{'start': '60.210.83.2', 'end': '60.210.83.62'}], 'gateway_ip': '60.210.83.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.210.83.2', 'tags': [], 'project_id': 'e631a9d4358c41e68185cc53703dd1cf'}} 2025-09-25 10:11:41,153 - INFO - Created VN ctest-vn-79549346 2025-09-25 10:11:41,205 - DEBUG - VN ctest-vn-79549346 UUID is 7e794fab-8339-44a5-ab32-c8476c0025ed 2025-09-25 10:11:41,540 - DEBUG - Response for create_network : {'network': {'id': '9e15ffe3-030e-42d9-9e4a-4fdcc377e07b', 'name': 'ctest-ext_vn-53995729', 'tenant_id': 'e631a9d4358c41e68185cc53703dd1cf', 'project_id': 'e631a9d4358c41e68185cc53703dd1cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70698091', 'ctest-ext_vn-53995729'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 10:11:41,729 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ebd20f52-83bb-4c20-8dd6-5f7fc9b0d774', 'name': '', 'tenant_id': 'e631a9d4358c41e68185cc53703dd1cf', 'network_id': '9e15ffe3-030e-42d9-9e4a-4fdcc377e07b', 'ip_version': 4, 'cidr': '188.26.226.192/26', 'allocation_pools': [{'start': '188.26.226.194', 'end': '188.26.226.254'}], 'gateway_ip': '188.26.226.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.26.226.194', 'tags': [], 'project_id': 'e631a9d4358c41e68185cc53703dd1cf'}} 2025-09-25 10:11:41,746 - INFO - Created VN ctest-ext_vn-53995729 2025-09-25 10:11:41,797 - DEBUG - VN ctest-ext_vn-53995729 UUID is 9e15ffe3-030e-42d9-9e4a-4fdcc377e07b 2025-09-25 10:11:42,004 - DEBUG - Services list from nova: [, , ] 2025-09-25 10:11:43,001 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4191-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4191-1) 2025-09-25 10:11:44,078 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4191-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4191-1) 2025-09-25 10:11:44,148 - INFO - Setting gateway for router 45270927-cb91-44f3-a7de-bc8917fb5a8b to network 9e15ffe3-030e-42d9-9e4a-4fdcc377e07b 2025-09-25 10:11:44,223 - INFO - Adding interface with subnet_id 26144466-3e80-4805-9f82-5b7782761f7e, port_id None to router 45270927-cb91-44f3-a7de-bc8917fb5a8b 2025-09-25 10:11:44,548 - INFO - Waiting for VM ctest-TestRoutersBasic-70698091-63329489 to be up.. 2025-09-25 10:11:44,660 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-25 10:11:49,733 - DEBUG - VM is in ACTIVE state now 2025-09-25 10:11:49,733 - INFO - VM name : ctest-TestRoutersBasic-70698091-63329489 2025-09-25 10:11:49,804 - DEBUG - VM ctest-TestRoutersBasic-70698091-63329489 ID is 16476442-e339-4abf-bfd7-fd94a348a7b6 2025-09-25 10:11:49,820 - DEBUG - VM ctest-TestRoutersBasic-70698091-63329489 launched on Node cn-jenkins-deploy-platform-ansible-os-4191-1 2025-09-25 10:11:49,888 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/16476442-e339-4abf-bfd7-fd94a348a7b6 2025-09-25 10:11:50,182 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/16476442-e339-4abf-bfd7-fd94a348a7b6 2025-09-25 10:11:50,211 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/64259541-f981-4927-8b87-473b4d16e491 2025-09-25 10:11:53,446 - 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 1003ms') 2025-09-25 10:11:53,447 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70698091-63329489 failed! 2025-09-25 10:11:53,501 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-70698091:ctest-vn-79549346 is 60.210.83.1 and allocation pool is NOT set 2025-09-25 10:11:55,569 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.51 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.505/2.572/2.640/0.067 ms') 2025-09-25 10:11:55,569 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70698091-63329489 passed 2025-09-25 10:11:55,721 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 10:11:55,721 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70698091-63329489, IP 60.210.83.3, Port 22 2025-09-25 10:11:55,880 - DEBUG - VM ctest-TestRoutersBasic-70698091-63329489 is ready for SSH connections 2025-09-25 10:11:55,881 - INFO - Waiting for VM ctest-TestRoutersBasic-70698091-02111006 to be up.. 2025-09-25 10:11:55,955 - DEBUG - VM is in ACTIVE state now 2025-09-25 10:11:55,955 - INFO - VM name : ctest-TestRoutersBasic-70698091-02111006 2025-09-25 10:11:56,027 - DEBUG - VM ctest-TestRoutersBasic-70698091-02111006 ID is 6893eb0c-e1ac-4a11-b6d6-ed7345144a41 2025-09-25 10:11:56,028 - DEBUG - VM ctest-TestRoutersBasic-70698091-02111006 launched on Node cn-jenkins-deploy-platform-ansible-os-4191-1 2025-09-25 10:11:56,093 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6893eb0c-e1ac-4a11-b6d6-ed7345144a41 2025-09-25 10:11:56,101 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fafe2776-c15c-4775-8bb8-a60adb63cae7 2025-09-25 10:11:57,334 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.630 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.630/2.603/4.576/1.973 ms') 2025-09-25 10:11:57,334 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-70698091-02111006 passed 2025-09-25 10:11:57,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 10:11:57,485 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70698091-02111006, IP 188.26.226.195, Port 22 2025-09-25 10:11:57,641 - DEBUG - VM ctest-TestRoutersBasic-70698091-02111006 is ready for SSH connections 2025-09-25 10:11:57,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 10:11:57,641 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.26.226.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-25 10:11:57,641 - DEBUG - ping -s 56 -c 3 -W 1 188.26.226.195 2025-09-25 10:12:01,612 - DEBUG - PING 188.26.226.195 (188.26.226.195): 56 data bytes 64 bytes from 188.26.226.195: seq=0 ttl=62 time=6.065 ms 64 bytes from 188.26.226.195: seq=1 ttl=62 time=0.939 ms 64 bytes from 188.26.226.195: seq=2 ttl=62 time=0.861 ms --- 188.26.226.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.861/2.621/6.065 ms 2025-09-25 10:12:01,612 - INFO - Ping to IP 188.26.226.195 from VM ctest-TestRoutersBasic-70698091-63329489 passed 2025-09-25 10:12:01,612 - INFO - Deleting interface with subnet_id 26144466-3e80-4805-9f82-5b7782761f7e, port_id None from router 45270927-cb91-44f3-a7de-bc8917fb5a8b 2025-09-25 10:12:01,778 - INFO - Deleting VM ctest-TestRoutersBasic-70698091-02111006 2025-09-25 10:12:01,848 - INFO - Deleting VM ctest-TestRoutersBasic-70698091-63329489 2025-09-25 10:12:01,925 - INFO - Deleting VN ctest-ext_vn-53995729 2025-09-25 10:12:01,982 - DEBUG - VN 9e15ffe3-030e-42d9-9e4a-4fdcc377e07b still in use: Unable to complete operation on network 9e15ffe3-030e-42d9-9e4a-4fdcc377e07b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-81001fa8-9655-4aac-b5b9-df00b80fe8f0'] 2025-09-25 10:12:01,983 - WARNING - Deleting VN ctest-ext_vn-53995729 failed..Will retry 2025-09-25 10:12:04,072 - DEBUG - Response for deleting network () 2025-09-25 10:12:04,072 - INFO - Deleting VN ctest-vn-79549346 2025-09-25 10:12:04,157 - DEBUG - Response for deleting network () 2025-09-25 10:12:04,413 - DEBUG - No XMPP flaps were noticed during the test 2025-09-25 10:12:04,413 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-09-25 10:12:04,414 - INFO - -------------------------------------------------------------------------------- 2025-09-25 10:12:05,074 - INFO - Deleted project: ctest-TestRoutersBasic-70698091, ID : e631a9d4-358c-41e6-8185-cc53703dd1cf