2025-10-02 01:55:32,354 - INFO - Domain Default found not creating 2025-10-02 01:55:32,500 - INFO - Project ctest-TestRoutersBasic-13499167 not found, creating it 2025-10-02 01:55:32,957 - INFO - Created Project:ctest-TestRoutersBasic-13499167, ID : fcb3a2b3-9891-4593-be43-26b1f07da523 2025-10-02 01:55:34,360 - INFO - ================================================================================ 2025-10-02 01:55:34,360 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-02 01:55:34,360 - 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-02 01:55:34,618 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.18': '0'}} with 2025-10-02 01:55:34,618 - INFO - Initial checks done. Running the testcase now 2025-10-02 01:55:34,618 - INFO - 2025-10-02 01:55:35,338 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-13499167 2025-10-02 01:55:35,434 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-13499167 2025-10-02 01:55:35,750 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13499167', 'default']} 2025-10-02 01:55:36,028 - DEBUG - Response for create_network : {'network': {'id': 'a207bb20-2fe2-4c6f-bf2a-5bb24e2f6fa2', 'name': 'ctest-vn-07613458', 'tenant_id': 'fcb3a2b398914593be4326b1f07da523', 'project_id': 'fcb3a2b398914593be4326b1f07da523', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13499167', 'ctest-vn-07613458'], 'port_security_enabled': True, 'description': ''}} 2025-10-02 01:55:36,251 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dacab66f-87c7-4e90-a9f8-a82b10eddff4', 'name': '', 'tenant_id': 'fcb3a2b398914593be4326b1f07da523', 'network_id': 'a207bb20-2fe2-4c6f-bf2a-5bb24e2f6fa2', 'ip_version': 4, 'cidr': '59.201.37.192/26', 'allocation_pools': [{'start': '59.201.37.194', 'end': '59.201.37.254'}], 'gateway_ip': '59.201.37.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.201.37.194', 'tags': [], 'project_id': 'fcb3a2b398914593be4326b1f07da523'}} 2025-10-02 01:55:36,268 - INFO - Created VN ctest-vn-07613458 2025-10-02 01:55:36,318 - DEBUG - VN ctest-vn-07613458 UUID is a207bb20-2fe2-4c6f-bf2a-5bb24e2f6fa2 2025-10-02 01:55:36,658 - DEBUG - Response for create_network : {'network': {'id': '5bd3d6bd-83da-4401-b0cc-790feb72d9be', 'name': 'ctest-ext_vn-20557425', 'tenant_id': 'fcb3a2b398914593be4326b1f07da523', 'project_id': 'fcb3a2b398914593be4326b1f07da523', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13499167', 'ctest-ext_vn-20557425'], 'port_security_enabled': True, 'description': ''}} 2025-10-02 01:55:36,814 - DEBUG - Response for create_subnet : {'subnet': {'id': '0af2f8fd-1678-4295-a960-de03a644f7c3', 'name': '', 'tenant_id': 'fcb3a2b398914593be4326b1f07da523', 'network_id': '5bd3d6bd-83da-4401-b0cc-790feb72d9be', 'ip_version': 4, 'cidr': '209.101.121.192/26', 'allocation_pools': [{'start': '209.101.121.194', 'end': '209.101.121.254'}], 'gateway_ip': '209.101.121.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.101.121.194', 'tags': [], 'project_id': 'fcb3a2b398914593be4326b1f07da523'}} 2025-10-02 01:55:36,831 - INFO - Created VN ctest-ext_vn-20557425 2025-10-02 01:55:36,882 - DEBUG - VN ctest-ext_vn-20557425 UUID is 5bd3d6bd-83da-4401-b0cc-790feb72d9be 2025-10-02 01:55:37,042 - DEBUG - Services list from nova: [, , ] 2025-10-02 01:55:38,041 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4209-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4209-1) 2025-10-02 01:55:39,192 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4209-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4209-1) 2025-10-02 01:55:39,258 - INFO - Setting gateway for router 2f92dbde-6701-43f5-9041-faaea29f8b3f to network 5bd3d6bd-83da-4401-b0cc-790feb72d9be 2025-10-02 01:55:39,308 - INFO - Adding interface with subnet_id dacab66f-87c7-4e90-a9f8-a82b10eddff4, port_id None to router 2f92dbde-6701-43f5-9041-faaea29f8b3f 2025-10-02 01:55:39,628 - INFO - Waiting for VM ctest-TestRoutersBasic-13499167-53821488 to be up.. 2025-10-02 01:55:39,805 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-02 01:55:44,872 - DEBUG - VM is in ACTIVE state now 2025-10-02 01:55:44,872 - INFO - VM name : ctest-TestRoutersBasic-13499167-53821488 2025-10-02 01:55:44,946 - DEBUG - VM ctest-TestRoutersBasic-13499167-53821488 ID is 247247c9-7764-4ff5-b632-2de7d1a301f1 2025-10-02 01:55:44,968 - DEBUG - VM ctest-TestRoutersBasic-13499167-53821488 launched on Node cn-jenkins-deploy-platform-ansible-os-4209-1 2025-10-02 01:55:45,044 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/247247c9-7764-4ff5-b632-2de7d1a301f1 2025-10-02 01:55:45,339 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/247247c9-7764-4ff5-b632-2de7d1a301f1 2025-10-02 01:55:45,367 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/8ef7a1d7-c834-4418-a6df-44ead6a8cf62 2025-10-02 01:55:48,603 - 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-10-02 01:55:48,603 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13499167-53821488 failed! 2025-10-02 01:55:48,658 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-13499167:ctest-vn-07613458 is 59.201.37.193 and allocation pool is NOT set 2025-10-02 01:55:50,719 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.440 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.440/1.555/2.670/1.115 ms') 2025-10-02 01:55:50,719 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13499167-53821488 passed 2025-10-02 01:55:50,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 01:55:50,822 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13499167-53821488, IP 59.201.37.195, Port 22 2025-10-02 01:55:50,992 - DEBUG - VM ctest-TestRoutersBasic-13499167-53821488 is ready for SSH connections 2025-10-02 01:55:50,992 - INFO - Waiting for VM ctest-TestRoutersBasic-13499167-74215856 to be up.. 2025-10-02 01:55:51,062 - DEBUG - VM is in ACTIVE state now 2025-10-02 01:55:51,062 - INFO - VM name : ctest-TestRoutersBasic-13499167-74215856 2025-10-02 01:55:51,136 - DEBUG - VM ctest-TestRoutersBasic-13499167-74215856 ID is db7fdc54-5c20-4564-a016-f22ce3c27c56 2025-10-02 01:55:51,137 - DEBUG - VM ctest-TestRoutersBasic-13499167-74215856 launched on Node cn-jenkins-deploy-platform-ansible-os-4209-1 2025-10-02 01:55:51,208 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/db7fdc54-5c20-4564-a016-f22ce3c27c56 2025-10-02 01:55:51,221 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/290aed6d-3424-4cc2-bcb3-1da9967b0cfd 2025-10-02 01:55:52,461 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.858 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.858/2.349/3.841/1.491 ms') 2025-10-02 01:55:52,461 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-13499167-74215856 passed 2025-10-02 01:55:52,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 01:55:52,610 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13499167-74215856, IP 209.101.121.195, Port 22 2025-10-02 01:55:52,762 - DEBUG - VM ctest-TestRoutersBasic-13499167-74215856 is ready for SSH connections 2025-10-02 01:55:52,762 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 01:55:52,762 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.101.121.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-02 01:55:52,762 - DEBUG - ping -s 56 -c 3 -W 1 209.101.121.195 2025-10-02 01:55:56,436 - DEBUG - PING 209.101.121.195 (209.101.121.195): 56 data bytes 64 bytes from 209.101.121.195: seq=0 ttl=62 time=7.928 ms 64 bytes from 209.101.121.195: seq=1 ttl=62 time=0.784 ms 64 bytes from 209.101.121.195: seq=2 ttl=62 time=1.040 ms --- 209.101.121.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.784/3.250/7.928 ms 2025-10-02 01:55:56,436 - INFO - Ping to IP 209.101.121.195 from VM ctest-TestRoutersBasic-13499167-53821488 passed 2025-10-02 01:55:56,436 - INFO - Deleting interface with subnet_id dacab66f-87c7-4e90-a9f8-a82b10eddff4, port_id None from router 2f92dbde-6701-43f5-9041-faaea29f8b3f 2025-10-02 01:55:56,616 - INFO - Deleting VM ctest-TestRoutersBasic-13499167-74215856 2025-10-02 01:55:56,679 - INFO - Deleting VM ctest-TestRoutersBasic-13499167-53821488 2025-10-02 01:55:56,757 - INFO - Deleting VN ctest-ext_vn-20557425 2025-10-02 01:55:56,824 - DEBUG - VN 5bd3d6bd-83da-4401-b0cc-790feb72d9be still in use: Unable to complete operation on network 5bd3d6bd-83da-4401-b0cc-790feb72d9be. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e0c9a294-37ae-47b8-9907-1b28e7f599c5'] 2025-10-02 01:55:56,824 - WARNING - Deleting VN ctest-ext_vn-20557425 failed..Will retry 2025-10-02 01:55:58,914 - DEBUG - Response for deleting network () 2025-10-02 01:55:58,914 - INFO - Deleting VN ctest-vn-07613458 2025-10-02 01:55:59,017 - DEBUG - Response for deleting network () 2025-10-02 01:55:59,270 - DEBUG - No XMPP flaps were noticed during the test 2025-10-02 01:55:59,270 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-02 01:55:59,270 - INFO - -------------------------------------------------------------------------------- 2025-10-02 01:55:59,925 - INFO - Deleted project: ctest-TestRoutersBasic-13499167, ID : fcb3a2b3-9891-4593-be43-26b1f07da523