2025-10-29 19:36:28,693 - INFO - Domain Default found not creating 2025-10-29 19:36:28,845 - INFO - Project ctest-TestRoutersBasic-02114108 not found, creating it 2025-10-29 19:36:29,307 - INFO - Created Project:ctest-TestRoutersBasic-02114108, ID : f0f0c063-9ba9-4688-b2c9-6f8cab6b822f 2025-10-29 19:36:30,843 - INFO - ================================================================================ 2025-10-29 19:36:30,843 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-29 19:36:30,843 - 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-29 19:36:31,105 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.130': '0'}} with 2025-10-29 19:36:31,105 - INFO - Initial checks done. Running the testcase now 2025-10-29 19:36:31,105 - INFO - 2025-10-29 19:36:31,885 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-02114108 2025-10-29 19:36:31,979 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-02114108 2025-10-29 19:36:32,307 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02114108', 'default']} 2025-10-29 19:36:32,645 - DEBUG - Response for create_network : {'network': {'id': 'aba74809-81e8-431d-878f-d7e01520652c', 'name': 'ctest-vn-13872868', 'tenant_id': 'f0f0c0639ba94688b2c96f8cab6b822f', 'project_id': 'f0f0c0639ba94688b2c96f8cab6b822f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02114108', 'ctest-vn-13872868'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 19:36:32,867 - DEBUG - Response for create_subnet : {'subnet': {'id': '833cbdcc-c719-45de-a491-ee3e5a7674fd', 'name': '', 'tenant_id': 'f0f0c0639ba94688b2c96f8cab6b822f', 'network_id': 'aba74809-81e8-431d-878f-d7e01520652c', 'ip_version': 4, 'cidr': '196.13.82.128/26', 'allocation_pools': [{'start': '196.13.82.130', 'end': '196.13.82.190'}], 'gateway_ip': '196.13.82.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.13.82.130', 'tags': [], 'project_id': 'f0f0c0639ba94688b2c96f8cab6b822f'}} 2025-10-29 19:36:32,887 - INFO - Created VN ctest-vn-13872868 2025-10-29 19:36:32,939 - DEBUG - VN ctest-vn-13872868 UUID is aba74809-81e8-431d-878f-d7e01520652c 2025-10-29 19:36:33,291 - DEBUG - Response for create_network : {'network': {'id': '49d92528-04f9-4ba5-ad43-72ddab3c1b93', 'name': 'ctest-ext_vn-84248596', 'tenant_id': 'f0f0c0639ba94688b2c96f8cab6b822f', 'project_id': 'f0f0c0639ba94688b2c96f8cab6b822f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02114108', 'ctest-ext_vn-84248596'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 19:36:33,465 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a5ea781-2860-4444-a2b2-19bb61966404', 'name': '', 'tenant_id': 'f0f0c0639ba94688b2c96f8cab6b822f', 'network_id': '49d92528-04f9-4ba5-ad43-72ddab3c1b93', 'ip_version': 4, 'cidr': '116.152.246.64/26', 'allocation_pools': [{'start': '116.152.246.66', 'end': '116.152.246.126'}], 'gateway_ip': '116.152.246.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.152.246.66', 'tags': [], 'project_id': 'f0f0c0639ba94688b2c96f8cab6b822f'}} 2025-10-29 19:36:33,486 - INFO - Created VN ctest-ext_vn-84248596 2025-10-29 19:36:33,539 - DEBUG - VN ctest-ext_vn-84248596 UUID is 49d92528-04f9-4ba5-ad43-72ddab3c1b93 2025-10-29 19:36:33,744 - DEBUG - Services list from nova: [, , ] 2025-10-29 19:36:34,876 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4528-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4528-1) 2025-10-29 19:36:36,127 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4528-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4528-1) 2025-10-29 19:36:36,216 - INFO - Setting gateway for router 6859bbd6-3fbd-454f-9a63-42c993ffac66 to network 49d92528-04f9-4ba5-ad43-72ddab3c1b93 2025-10-29 19:36:36,272 - INFO - Adding interface with subnet_id 833cbdcc-c719-45de-a491-ee3e5a7674fd, port_id None to router 6859bbd6-3fbd-454f-9a63-42c993ffac66 2025-10-29 19:36:36,622 - INFO - Waiting for VM ctest-TestRoutersBasic-02114108-40009912 to be up.. 2025-10-29 19:36:36,754 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-29 19:36:41,830 - DEBUG - VM is in ACTIVE state now 2025-10-29 19:36:41,830 - INFO - VM name : ctest-TestRoutersBasic-02114108-40009912 2025-10-29 19:36:41,904 - DEBUG - VM ctest-TestRoutersBasic-02114108-40009912 ID is 1ca66a8d-920c-4a64-a77c-a692569c4b31 2025-10-29 19:36:41,924 - DEBUG - VM ctest-TestRoutersBasic-02114108-40009912 launched on Node cn-jenkins-deploy-platform-ansible-os-4528-1 2025-10-29 19:36:42,006 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1ca66a8d-920c-4a64-a77c-a692569c4b31 2025-10-29 19:36:42,354 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1ca66a8d-920c-4a64-a77c-a692569c4b31 2025-10-29 19:36:42,389 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c9cdeb7f-231b-4a32-a6d4-9e2218276ee4 2025-10-29 19:36:45,654 - 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 1022ms') 2025-10-29 19:36:45,654 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02114108-40009912 failed! 2025-10-29 19:36:45,715 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-02114108:ctest-vn-13872868 is 196.13.82.129 and allocation pool is NOT set 2025-10-29 19:36:47,781 - 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.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.605 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.605/2.034/3.463/1.429 ms') 2025-10-29 19:36:47,781 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02114108-40009912 passed 2025-10-29 19:36:47,931 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 19:36:47,931 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02114108-40009912, IP 196.13.82.131, Port 22 2025-10-29 19:36:48,095 - DEBUG - VM ctest-TestRoutersBasic-02114108-40009912 is ready for SSH connections 2025-10-29 19:36:48,095 - INFO - Waiting for VM ctest-TestRoutersBasic-02114108-67413143 to be up.. 2025-10-29 19:36:48,172 - DEBUG - VM is in ACTIVE state now 2025-10-29 19:36:48,172 - INFO - VM name : ctest-TestRoutersBasic-02114108-67413143 2025-10-29 19:36:48,244 - DEBUG - VM ctest-TestRoutersBasic-02114108-67413143 ID is 051b1fc6-146d-4810-81b6-dbaed3d5ea0d 2025-10-29 19:36:48,244 - DEBUG - VM ctest-TestRoutersBasic-02114108-67413143 launched on Node cn-jenkins-deploy-platform-ansible-os-4528-1 2025-10-29 19:36:48,314 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/051b1fc6-146d-4810-81b6-dbaed3d5ea0d 2025-10-29 19:36:48,321 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4495bada-3909-465a-bafc-be38985940fa 2025-10-29 19:36:49,562 - 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=3.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.437 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.437/1.761/3.086/1.324 ms') 2025-10-29 19:36:49,563 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-02114108-67413143 passed 2025-10-29 19:36:49,715 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 19:36:49,715 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02114108-67413143, IP 116.152.246.67, Port 22 2025-10-29 19:36:49,875 - DEBUG - VM ctest-TestRoutersBasic-02114108-67413143 is ready for SSH connections 2025-10-29 19:36:49,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 19:36:49,875 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.152.246.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-29 19:36:49,875 - DEBUG - ping -s 56 -c 3 -W 1 116.152.246.67 2025-10-29 19:36:53,643 - DEBUG - PING 116.152.246.67 (116.152.246.67): 56 data bytes 64 bytes from 116.152.246.67: seq=0 ttl=62 time=6.800 ms 64 bytes from 116.152.246.67: seq=1 ttl=62 time=1.155 ms 64 bytes from 116.152.246.67: seq=2 ttl=62 time=1.006 ms --- 116.152.246.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.006/2.987/6.800 ms 2025-10-29 19:36:53,643 - INFO - Ping to IP 116.152.246.67 from VM ctest-TestRoutersBasic-02114108-40009912 passed 2025-10-29 19:36:53,643 - INFO - Deleting interface with subnet_id 833cbdcc-c719-45de-a491-ee3e5a7674fd, port_id None from router 6859bbd6-3fbd-454f-9a63-42c993ffac66 2025-10-29 19:36:54,035 - INFO - Deleting VM ctest-TestRoutersBasic-02114108-67413143 2025-10-29 19:36:54,133 - INFO - Deleting VM ctest-TestRoutersBasic-02114108-40009912 2025-10-29 19:36:54,222 - INFO - Deleting VN ctest-ext_vn-84248596 2025-10-29 19:36:54,295 - DEBUG - VN 49d92528-04f9-4ba5-ad43-72ddab3c1b93 still in use: Unable to complete operation on network 49d92528-04f9-4ba5-ad43-72ddab3c1b93. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cfca358d-f01d-4a9d-9e67-be4ab0d17e67'] 2025-10-29 19:36:54,295 - WARNING - Deleting VN ctest-ext_vn-84248596 failed..Will retry 2025-10-29 19:36:56,388 - DEBUG - Response for deleting network () 2025-10-29 19:36:56,388 - INFO - Deleting VN ctest-vn-13872868 2025-10-29 19:36:56,482 - DEBUG - Response for deleting network () 2025-10-29 19:36:56,736 - DEBUG - No XMPP flaps were noticed during the test 2025-10-29 19:36:56,736 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-10-29 19:36:56,736 - INFO - -------------------------------------------------------------------------------- 2025-10-29 19:36:57,437 - INFO - Deleted project: ctest-TestRoutersBasic-02114108, ID : f0f0c063-9ba9-4688-b2c9-6f8cab6b822f