2025-09-18 01:49:25,308 - INFO - Domain Default found not creating 2025-09-18 01:49:25,454 - INFO - Project ctest-TestRoutersBasic-68574134 not found, creating it 2025-09-18 01:49:25,888 - INFO - Created Project:ctest-TestRoutersBasic-68574134, ID : 7be66b82-d3f0-483d-a3dc-b4671b403d3e 2025-09-18 01:49:27,287 - INFO - ================================================================================ 2025-09-18 01:49:27,287 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-18 01:49:27,287 - 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-18 01:49:27,547 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with 2025-09-18 01:49:27,547 - INFO - Initial checks done. Running the testcase now 2025-09-18 01:49:27,547 - INFO - 2025-09-18 01:49:28,223 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-68574134 2025-09-18 01:49:28,317 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-68574134 2025-09-18 01:49:28,653 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68574134', 'default']} 2025-09-18 01:49:28,911 - DEBUG - Response for create_network : {'network': {'id': '3092504a-e056-4708-bef3-e3606ab89288', 'name': 'ctest-vn-19587035', 'tenant_id': '7be66b82d3f0483da3dcb4671b403d3e', 'project_id': '7be66b82d3f0483da3dcb4671b403d3e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68574134', 'ctest-vn-19587035'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 01:49:29,041 - DEBUG - Response for create_subnet : {'subnet': {'id': '39fbf442-03a9-47e2-ba9f-4f2d16ad7347', 'name': '', 'tenant_id': '7be66b82d3f0483da3dcb4671b403d3e', 'network_id': '3092504a-e056-4708-bef3-e3606ab89288', 'ip_version': 4, 'cidr': '19.161.249.192/26', 'allocation_pools': [{'start': '19.161.249.194', 'end': '19.161.249.254'}], 'gateway_ip': '19.161.249.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.161.249.194', 'tags': [], 'project_id': '7be66b82d3f0483da3dcb4671b403d3e'}} 2025-09-18 01:49:29,057 - INFO - Created VN ctest-vn-19587035 2025-09-18 01:49:29,109 - DEBUG - VN ctest-vn-19587035 UUID is 3092504a-e056-4708-bef3-e3606ab89288 2025-09-18 01:49:29,431 - DEBUG - Response for create_network : {'network': {'id': '95560f17-b332-468d-9678-56bd3b1360ca', 'name': 'ctest-ext_vn-17527720', 'tenant_id': '7be66b82d3f0483da3dcb4671b403d3e', 'project_id': '7be66b82d3f0483da3dcb4671b403d3e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68574134', 'ctest-ext_vn-17527720'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 01:49:29,585 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f41e488-d642-4dde-a016-f02e7ac6ae55', 'name': '', 'tenant_id': '7be66b82d3f0483da3dcb4671b403d3e', 'network_id': '95560f17-b332-468d-9678-56bd3b1360ca', 'ip_version': 4, 'cidr': '22.166.233.0/26', 'allocation_pools': [{'start': '22.166.233.2', 'end': '22.166.233.62'}], 'gateway_ip': '22.166.233.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.166.233.2', 'tags': [], 'project_id': '7be66b82d3f0483da3dcb4671b403d3e'}} 2025-09-18 01:49:29,599 - INFO - Created VN ctest-ext_vn-17527720 2025-09-18 01:49:29,649 - DEBUG - VN ctest-ext_vn-17527720 UUID is 95560f17-b332-468d-9678-56bd3b1360ca 2025-09-18 01:49:29,843 - DEBUG - Services list from nova: [, , ] 2025-09-18 01:49:30,811 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4133-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4133-1) 2025-09-18 01:49:31,889 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4133-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4133-1) 2025-09-18 01:49:31,960 - INFO - Setting gateway for router 005ec770-7916-4647-9650-9125833de57e to network 95560f17-b332-468d-9678-56bd3b1360ca 2025-09-18 01:49:32,015 - INFO - Adding interface with subnet_id 39fbf442-03a9-47e2-ba9f-4f2d16ad7347, port_id None to router 005ec770-7916-4647-9650-9125833de57e 2025-09-18 01:49:32,311 - INFO - Waiting for VM ctest-TestRoutersBasic-68574134-46853112 to be up.. 2025-09-18 01:49:32,456 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 01:49:37,522 - DEBUG - VM is in ACTIVE state now 2025-09-18 01:49:37,522 - INFO - VM name : ctest-TestRoutersBasic-68574134-46853112 2025-09-18 01:49:37,599 - DEBUG - VM ctest-TestRoutersBasic-68574134-46853112 ID is 3e1147ed-2713-4634-acaf-90362cd20243 2025-09-18 01:49:37,619 - DEBUG - VM ctest-TestRoutersBasic-68574134-46853112 launched on Node cn-jenkins-deploy-platform-ansible-os-4133-1 2025-09-18 01:49:37,684 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/3e1147ed-2713-4634-acaf-90362cd20243 2025-09-18 01:49:37,981 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/3e1147ed-2713-4634-acaf-90362cd20243 2025-09-18 01:49:38,010 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/7286301f-653c-4f4d-b929-ac718c04b2b9 2025-09-18 01:49:41,270 - 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 1016ms') 2025-09-18 01:49:41,270 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68574134-46853112 failed! 2025-09-18 01:49:41,321 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-68574134:ctest-vn-19587035 is 19.161.249.193 and allocation pool is NOT set 2025-09-18 01:49:43,380 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.437 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.437/1.570/2.703/1.133 ms') 2025-09-18 01:49:43,380 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68574134-46853112 passed 2025-09-18 01:49:43,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 01:49:43,489 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68574134-46853112, IP 19.161.249.195, Port 22 2025-09-18 01:49:43,641 - DEBUG - VM ctest-TestRoutersBasic-68574134-46853112 is ready for SSH connections 2025-09-18 01:49:43,641 - INFO - Waiting for VM ctest-TestRoutersBasic-68574134-85335703 to be up.. 2025-09-18 01:49:43,719 - DEBUG - VM is in ACTIVE state now 2025-09-18 01:49:43,719 - INFO - VM name : ctest-TestRoutersBasic-68574134-85335703 2025-09-18 01:49:43,783 - DEBUG - VM ctest-TestRoutersBasic-68574134-85335703 ID is c4f35ea0-8df7-4423-9604-b6eb6378cf78 2025-09-18 01:49:43,783 - DEBUG - VM ctest-TestRoutersBasic-68574134-85335703 launched on Node cn-jenkins-deploy-platform-ansible-os-4133-1 2025-09-18 01:49:43,845 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/c4f35ea0-8df7-4423-9604-b6eb6378cf78 2025-09-18 01:49:43,852 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/603fe794-7697-42cb-aba6-6c1c5bd75ea0 2025-09-18 01:49:45,081 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.488 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.488/2.082/3.676/1.594 ms') 2025-09-18 01:49:45,081 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-68574134-85335703 passed 2025-09-18 01:49:45,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 01:49:45,229 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68574134-85335703, IP 22.166.233.3, Port 22 2025-09-18 01:49:45,388 - DEBUG - VM ctest-TestRoutersBasic-68574134-85335703 is ready for SSH connections 2025-09-18 01:49:45,388 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 01:49:45,388 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.166.233.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-09-18 01:49:45,388 - DEBUG - ping -s 56 -c 3 -W 1 22.166.233.3 2025-09-18 01:49:49,395 - DEBUG - PING 22.166.233.3 (22.166.233.3): 56 data bytes 64 bytes from 22.166.233.3: seq=0 ttl=62 time=7.457 ms 64 bytes from 22.166.233.3: seq=1 ttl=62 time=1.179 ms 64 bytes from 22.166.233.3: seq=2 ttl=62 time=0.829 ms --- 22.166.233.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.829/3.155/7.457 ms 2025-09-18 01:49:49,395 - INFO - Ping to IP 22.166.233.3 from VM ctest-TestRoutersBasic-68574134-46853112 passed 2025-09-18 01:49:49,395 - INFO - Deleting interface with subnet_id 39fbf442-03a9-47e2-ba9f-4f2d16ad7347, port_id None from router 005ec770-7916-4647-9650-9125833de57e 2025-09-18 01:49:49,571 - INFO - Deleting VM ctest-TestRoutersBasic-68574134-85335703 2025-09-18 01:49:49,633 - INFO - Deleting VM ctest-TestRoutersBasic-68574134-46853112 2025-09-18 01:49:49,698 - INFO - Deleting VN ctest-ext_vn-17527720 2025-09-18 01:49:49,762 - DEBUG - VN 95560f17-b332-468d-9678-56bd3b1360ca still in use: Unable to complete operation on network 95560f17-b332-468d-9678-56bd3b1360ca. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d911e1b1-fe5f-4961-b210-aa800e4b1abb'] 2025-09-18 01:49:49,762 - WARNING - Deleting VN ctest-ext_vn-17527720 failed..Will retry 2025-09-18 01:49:51,843 - DEBUG - Response for deleting network () 2025-09-18 01:49:51,843 - INFO - Deleting VN ctest-vn-19587035 2025-09-18 01:49:51,932 - DEBUG - Response for deleting network () 2025-09-18 01:49:52,189 - DEBUG - No XMPP flaps were noticed during the test 2025-09-18 01:49:52,189 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-09-18 01:49:52,189 - INFO - -------------------------------------------------------------------------------- 2025-09-18 01:49:52,829 - INFO - Deleted project: ctest-TestRoutersBasic-68574134, ID : 7be66b82-d3f0-483d-a3dc-b4671b403d3e