2025-10-09 08:26:56,744 - INFO - Domain Default found not creating 2025-10-09 08:26:56,893 - INFO - Project ctest-TestRoutersBasic-37966704 not found, creating it 2025-10-09 08:26:57,335 - INFO - Created Project:ctest-TestRoutersBasic-37966704, ID : 8fd1c8f3-7c9f-452f-903e-abab329373b3 2025-10-09 08:26:58,717 - INFO - ================================================================================ 2025-10-09 08:26:58,717 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-09 08:26:58,717 - 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-09 08:26:58,973 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-09 08:26:58,973 - INFO - Initial checks done. Running the testcase now 2025-10-09 08:26:58,973 - INFO - 2025-10-09 08:26:59,653 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-37966704 2025-10-09 08:26:59,748 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-37966704 2025-10-09 08:27:00,059 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37966704', 'default']} 2025-10-09 08:27:00,327 - DEBUG - Response for create_network : {'network': {'id': 'b6387e16-e5fc-49ad-b529-b7b6f3c93d53', 'name': 'ctest-vn-71524463', 'tenant_id': '8fd1c8f37c9f452f903eabab329373b3', 'project_id': '8fd1c8f37c9f452f903eabab329373b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37966704', 'ctest-vn-71524463'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 08:27:00,527 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a2b993ec-c6d1-4e39-ac74-b14aa50e6e6e', 'name': '', 'tenant_id': '8fd1c8f37c9f452f903eabab329373b3', 'network_id': 'b6387e16-e5fc-49ad-b529-b7b6f3c93d53', 'ip_version': 4, 'cidr': '124.16.169.192/26', 'allocation_pools': [{'start': '124.16.169.194', 'end': '124.16.169.254'}], 'gateway_ip': '124.16.169.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.16.169.194', 'tags': [], 'project_id': '8fd1c8f37c9f452f903eabab329373b3'}} 2025-10-09 08:27:00,544 - INFO - Created VN ctest-vn-71524463 2025-10-09 08:27:00,595 - DEBUG - VN ctest-vn-71524463 UUID is b6387e16-e5fc-49ad-b529-b7b6f3c93d53 2025-10-09 08:27:00,928 - DEBUG - Response for create_network : {'network': {'id': 'b531c690-9e15-4ac4-8a39-02cb8e29d7f0', 'name': 'ctest-ext_vn-77194765', 'tenant_id': '8fd1c8f37c9f452f903eabab329373b3', 'project_id': '8fd1c8f37c9f452f903eabab329373b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37966704', 'ctest-ext_vn-77194765'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 08:27:01,095 - DEBUG - Response for create_subnet : {'subnet': {'id': '6fe3ebf7-66ab-45e6-ae64-241224793de3', 'name': '', 'tenant_id': '8fd1c8f37c9f452f903eabab329373b3', 'network_id': 'b531c690-9e15-4ac4-8a39-02cb8e29d7f0', 'ip_version': 4, 'cidr': '84.142.166.64/26', 'allocation_pools': [{'start': '84.142.166.66', 'end': '84.142.166.126'}], 'gateway_ip': '84.142.166.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.142.166.66', 'tags': [], 'project_id': '8fd1c8f37c9f452f903eabab329373b3'}} 2025-10-09 08:27:01,112 - INFO - Created VN ctest-ext_vn-77194765 2025-10-09 08:27:01,163 - DEBUG - VN ctest-ext_vn-77194765 UUID is b531c690-9e15-4ac4-8a39-02cb8e29d7f0 2025-10-09 08:27:01,357 - DEBUG - Services list from nova: [, , ] 2025-10-09 08:27:02,330 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4254-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4254-1) 2025-10-09 08:27:03,450 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4254-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4254-1) 2025-10-09 08:27:03,527 - INFO - Setting gateway for router e05ea54c-6ba3-4220-a8e8-081b6c371793 to network b531c690-9e15-4ac4-8a39-02cb8e29d7f0 2025-10-09 08:27:03,588 - INFO - Adding interface with subnet_id a2b993ec-c6d1-4e39-ac74-b14aa50e6e6e, port_id None to router e05ea54c-6ba3-4220-a8e8-081b6c371793 2025-10-09 08:27:04,022 - INFO - Waiting for VM ctest-TestRoutersBasic-37966704-54528861 to be up.. 2025-10-09 08:27:04,237 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 08:27:09,303 - DEBUG - VM is in ACTIVE state now 2025-10-09 08:27:09,303 - INFO - VM name : ctest-TestRoutersBasic-37966704-54528861 2025-10-09 08:27:09,372 - DEBUG - VM ctest-TestRoutersBasic-37966704-54528861 ID is 0454151f-48ad-4c36-b60c-1a58c7bcf929 2025-10-09 08:27:09,389 - DEBUG - VM ctest-TestRoutersBasic-37966704-54528861 launched on Node cn-jenkins-deploy-platform-ansible-os-4254-1 2025-10-09 08:27:09,454 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0454151f-48ad-4c36-b60c-1a58c7bcf929 2025-10-09 08:27:09,749 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0454151f-48ad-4c36-b60c-1a58c7bcf929 2025-10-09 08:27:09,778 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1ad395ea-c078-433e-a0de-d49dc98b9b1d 2025-10-09 08:27:13,037 - 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 1018ms') 2025-10-09 08:27:13,037 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37966704-54528861 failed! 2025-10-09 08:27:13,091 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-37966704:ctest-vn-71524463 is 124.16.169.193 and allocation pool is NOT set 2025-10-09 08:27:15,155 - 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.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.582 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.582/1.836/3.090/1.254 ms') 2025-10-09 08:27:15,155 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37966704-54528861 passed 2025-10-09 08:27:15,311 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 08:27:15,312 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37966704-54528861, IP 124.16.169.195, Port 22 2025-10-09 08:27:15,482 - DEBUG - VM ctest-TestRoutersBasic-37966704-54528861 is ready for SSH connections 2025-10-09 08:27:15,482 - INFO - Waiting for VM ctest-TestRoutersBasic-37966704-46013847 to be up.. 2025-10-09 08:27:15,557 - DEBUG - VM is in ACTIVE state now 2025-10-09 08:27:15,557 - INFO - VM name : ctest-TestRoutersBasic-37966704-46013847 2025-10-09 08:27:15,643 - DEBUG - VM ctest-TestRoutersBasic-37966704-46013847 ID is df7fb2e2-d334-494b-b3e2-5611b17548d5 2025-10-09 08:27:15,643 - DEBUG - VM ctest-TestRoutersBasic-37966704-46013847 launched on Node cn-jenkins-deploy-platform-ansible-os-4254-1 2025-10-09 08:27:15,725 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/df7fb2e2-d334-494b-b3e2-5611b17548d5 2025-10-09 08:27:15,733 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/60fa4341-4a28-408a-b1e2-35f86c419b36 2025-10-09 08:27:16,975 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.447 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.447/1.517/2.587/1.070 ms') 2025-10-09 08:27:16,975 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-37966704-46013847 passed 2025-10-09 08:27:17,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 08:27:17,124 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37966704-46013847, IP 84.142.166.67, Port 22 2025-10-09 08:27:17,278 - DEBUG - VM ctest-TestRoutersBasic-37966704-46013847 is ready for SSH connections 2025-10-09 08:27:17,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 08:27:17,279 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.142.166.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-09 08:27:17,279 - DEBUG - ping -s 56 -c 3 -W 1 84.142.166.67 2025-10-09 08:27:21,277 - DEBUG - PING 84.142.166.67 (84.142.166.67): 56 data bytes 64 bytes from 84.142.166.67: seq=0 ttl=62 time=11.252 ms 64 bytes from 84.142.166.67: seq=1 ttl=62 time=0.862 ms 64 bytes from 84.142.166.67: seq=2 ttl=62 time=0.872 ms --- 84.142.166.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.862/4.328/11.252 ms 2025-10-09 08:27:21,277 - INFO - Ping to IP 84.142.166.67 from VM ctest-TestRoutersBasic-37966704-54528861 passed 2025-10-09 08:27:21,277 - INFO - Deleting interface with subnet_id a2b993ec-c6d1-4e39-ac74-b14aa50e6e6e, port_id None from router e05ea54c-6ba3-4220-a8e8-081b6c371793 2025-10-09 08:27:21,446 - INFO - Deleting VM ctest-TestRoutersBasic-37966704-46013847 2025-10-09 08:27:21,509 - INFO - Deleting VM ctest-TestRoutersBasic-37966704-54528861 2025-10-09 08:27:21,570 - INFO - Deleting VN ctest-ext_vn-77194765 2025-10-09 08:27:21,634 - DEBUG - VN b531c690-9e15-4ac4-8a39-02cb8e29d7f0 still in use: Unable to complete operation on network b531c690-9e15-4ac4-8a39-02cb8e29d7f0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-830c6144-f945-4c05-a3db-8a75443dd822'] 2025-10-09 08:27:21,635 - WARNING - Deleting VN ctest-ext_vn-77194765 failed..Will retry 2025-10-09 08:27:23,730 - DEBUG - Response for deleting network () 2025-10-09 08:27:23,730 - INFO - Deleting VN ctest-vn-71524463 2025-10-09 08:27:23,830 - DEBUG - Response for deleting network () 2025-10-09 08:27:24,084 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 08:27:24,084 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-10-09 08:27:24,084 - INFO - -------------------------------------------------------------------------------- 2025-10-09 08:27:24,743 - INFO - Deleted project: ctest-TestRoutersBasic-37966704, ID : 8fd1c8f3-7c9f-452f-903e-abab329373b3