2025-09-02 22:36:21,740 - INFO - Domain Default found not creating 2025-09-02 22:36:21,880 - INFO - Project ctest-TestRoutersBasic-27063077 not found, creating it 2025-09-02 22:36:22,322 - INFO - Created Project:ctest-TestRoutersBasic-27063077, ID : efc426dc-a557-4d47-8ab8-cc86080eb487 2025-09-02 22:36:23,985 - INFO - ================================================================================ 2025-09-02 22:36:23,985 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-02 22:36:23,986 - 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-02 22:36:24,240 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-09-02 22:36:24,240 - INFO - Initial checks done. Running the testcase now 2025-09-02 22:36:24,240 - INFO - 2025-09-02 22:36:24,925 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-27063077 2025-09-02 22:36:25,019 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-27063077 2025-09-02 22:36:25,335 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27063077', 'default']} 2025-09-02 22:36:25,606 - DEBUG - Response for create_network : {'network': {'id': '1cd4d103-f2c2-458b-a94d-b53aac875c20', 'name': 'ctest-vn-95011138', 'tenant_id': 'efc426dca5574d478ab8cc86080eb487', 'project_id': 'efc426dca5574d478ab8cc86080eb487', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27063077', 'ctest-vn-95011138'], 'port_security_enabled': True, 'description': ''}} 2025-09-02 22:36:25,811 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d6eae1d-2f29-47ca-9654-5bd80790f716', 'name': '', 'tenant_id': 'efc426dca5574d478ab8cc86080eb487', 'network_id': '1cd4d103-f2c2-458b-a94d-b53aac875c20', 'ip_version': 4, 'cidr': '177.43.222.0/26', 'allocation_pools': [{'start': '177.43.222.2', 'end': '177.43.222.62'}], 'gateway_ip': '177.43.222.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.43.222.2', 'tags': [], 'project_id': 'efc426dca5574d478ab8cc86080eb487'}} 2025-09-02 22:36:25,828 - INFO - Created VN ctest-vn-95011138 2025-09-02 22:36:25,879 - DEBUG - VN ctest-vn-95011138 UUID is 1cd4d103-f2c2-458b-a94d-b53aac875c20 2025-09-02 22:36:26,215 - DEBUG - Response for create_network : {'network': {'id': 'd009902a-658d-4698-8c94-d92a30b06e11', 'name': 'ctest-ext_vn-48582121', 'tenant_id': 'efc426dca5574d478ab8cc86080eb487', 'project_id': 'efc426dca5574d478ab8cc86080eb487', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27063077', 'ctest-ext_vn-48582121'], 'port_security_enabled': True, 'description': ''}} 2025-09-02 22:36:26,422 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd654b0ff-9184-4b5a-8f96-89d084479622', 'name': '', 'tenant_id': 'efc426dca5574d478ab8cc86080eb487', 'network_id': 'd009902a-658d-4698-8c94-d92a30b06e11', 'ip_version': 4, 'cidr': '125.219.147.0/26', 'allocation_pools': [{'start': '125.219.147.2', 'end': '125.219.147.62'}], 'gateway_ip': '125.219.147.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.219.147.2', 'tags': [], 'project_id': 'efc426dca5574d478ab8cc86080eb487'}} 2025-09-02 22:36:26,438 - INFO - Created VN ctest-ext_vn-48582121 2025-09-02 22:36:26,487 - DEBUG - VN ctest-ext_vn-48582121 UUID is d009902a-658d-4698-8c94-d92a30b06e11 2025-09-02 22:36:26,685 - DEBUG - Services list from nova: [, , ] 2025-09-02 22:36:27,655 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4003-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4003-1) 2025-09-02 22:36:28,823 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4003-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4003-1) 2025-09-02 22:36:28,904 - INFO - Setting gateway for router ffd3faca-0ebe-44ba-8bed-00794cef3f33 to network d009902a-658d-4698-8c94-d92a30b06e11 2025-09-02 22:36:28,977 - INFO - Adding interface with subnet_id 3d6eae1d-2f29-47ca-9654-5bd80790f716, port_id None to router ffd3faca-0ebe-44ba-8bed-00794cef3f33 2025-09-02 22:36:29,412 - INFO - Waiting for VM ctest-TestRoutersBasic-27063077-75356751 to be up.. 2025-09-02 22:36:29,569 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-02 22:36:34,633 - DEBUG - VM is in ACTIVE state now 2025-09-02 22:36:34,633 - INFO - VM name : ctest-TestRoutersBasic-27063077-75356751 2025-09-02 22:36:34,697 - DEBUG - VM ctest-TestRoutersBasic-27063077-75356751 ID is 2100cccf-82b9-40ce-a4bd-8653f27797fe 2025-09-02 22:36:34,715 - DEBUG - VM ctest-TestRoutersBasic-27063077-75356751 launched on Node cn-jenkins-deploy-platform-ansible-os-4003-1 2025-09-02 22:36:34,776 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/2100cccf-82b9-40ce-a4bd-8653f27797fe 2025-09-02 22:36:35,069 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/2100cccf-82b9-40ce-a4bd-8653f27797fe 2025-09-02 22:36:35,096 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/74f5718a-8fc6-4aeb-b485-ae7a14c3f475 2025-09-02 22:36:38,329 - 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 1007ms') 2025-09-02 22:36:38,329 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-27063077-75356751 failed! 2025-09-02 22:36:38,387 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-27063077:ctest-vn-95011138 is 177.43.222.1 and allocation pool is NOT set 2025-09-02 22:36:40,449 - 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=3.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.44 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 = 1.439/2.685/3.931/1.246 ms') 2025-09-02 22:36:40,450 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-27063077-75356751 passed 2025-09-02 22:36:40,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-02 22:36:40,591 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-27063077-75356751, IP 177.43.222.3, Port 22 2025-09-02 22:36:40,751 - DEBUG - VM ctest-TestRoutersBasic-27063077-75356751 is ready for SSH connections 2025-09-02 22:36:40,751 - INFO - Waiting for VM ctest-TestRoutersBasic-27063077-60366263 to be up.. 2025-09-02 22:36:40,823 - DEBUG - VM is in ACTIVE state now 2025-09-02 22:36:40,823 - INFO - VM name : ctest-TestRoutersBasic-27063077-60366263 2025-09-02 22:36:40,887 - DEBUG - VM ctest-TestRoutersBasic-27063077-60366263 ID is 6d35bd47-c451-4d27-b733-8baf3d75ca50 2025-09-02 22:36:40,887 - DEBUG - VM ctest-TestRoutersBasic-27063077-60366263 launched on Node cn-jenkins-deploy-platform-ansible-os-4003-1 2025-09-02 22:36:40,954 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/6d35bd47-c451-4d27-b733-8baf3d75ca50 2025-09-02 22:36:40,961 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/2117545e-5f17-4d24-b2ff-18b32edf9f61 2025-09-02 22:36:42,191 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.394 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.394/1.547/2.700/1.153 ms') 2025-09-02 22:36:42,191 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-27063077-60366263 passed 2025-09-02 22:36:42,339 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-02 22:36:42,339 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-27063077-60366263, IP 125.219.147.3, Port 22 2025-09-02 22:36:42,495 - DEBUG - VM ctest-TestRoutersBasic-27063077-60366263 is ready for SSH connections 2025-09-02 22:36:42,495 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-02 22:36:42,495 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.219.147.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-02 22:36:42,495 - DEBUG - ping -s 56 -c 3 -W 1 125.219.147.3 2025-09-02 22:36:46,466 - DEBUG - PING 125.219.147.3 (125.219.147.3): 56 data bytes 64 bytes from 125.219.147.3: seq=0 ttl=62 time=5.724 ms 64 bytes from 125.219.147.3: seq=1 ttl=62 time=0.984 ms 64 bytes from 125.219.147.3: seq=2 ttl=62 time=0.869 ms --- 125.219.147.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.869/2.525/5.724 ms 2025-09-02 22:36:46,466 - INFO - Ping to IP 125.219.147.3 from VM ctest-TestRoutersBasic-27063077-75356751 passed 2025-09-02 22:36:46,466 - INFO - Deleting interface with subnet_id 3d6eae1d-2f29-47ca-9654-5bd80790f716, port_id None from router ffd3faca-0ebe-44ba-8bed-00794cef3f33 2025-09-02 22:36:46,632 - INFO - Deleting VM ctest-TestRoutersBasic-27063077-60366263 2025-09-02 22:36:46,697 - INFO - Deleting VM ctest-TestRoutersBasic-27063077-75356751 2025-09-02 22:36:46,765 - INFO - Deleting VN ctest-ext_vn-48582121 2025-09-02 22:36:46,824 - DEBUG - VN d009902a-658d-4698-8c94-d92a30b06e11 still in use: Unable to complete operation on network d009902a-658d-4698-8c94-d92a30b06e11. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e245e164-bbbc-4ba2-a0d3-02e6b6720bcd'] 2025-09-02 22:36:46,824 - WARNING - Deleting VN ctest-ext_vn-48582121 failed..Will retry 2025-09-02 22:36:48,923 - DEBUG - Response for deleting network () 2025-09-02 22:36:48,923 - INFO - Deleting VN ctest-vn-95011138 2025-09-02 22:36:49,022 - DEBUG - Response for deleting network () 2025-09-02 22:36:49,276 - DEBUG - No XMPP flaps were noticed during the test 2025-09-02 22:36:49,276 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-09-02 22:36:49,276 - INFO - -------------------------------------------------------------------------------- 2025-09-02 22:36:49,925 - INFO - Deleted project: ctest-TestRoutersBasic-27063077, ID : efc426dc-a557-4d47-8ab8-cc86080eb487