2025-10-30 13:49:59,599 - INFO - Domain Default found not creating 2025-10-30 13:49:59,740 - INFO - Project ctest-TestRoutersBasic-96512001 not found, creating it 2025-10-30 13:50:00,164 - INFO - Created Project:ctest-TestRoutersBasic-96512001, ID : 90bf38d7-d3d7-4a9d-b8be-5a3ea2c1176d 2025-10-30 13:50:01,526 - INFO - ================================================================================ 2025-10-30 13:50:01,526 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-30 13:50:01,526 - 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-30 13:50:01,785 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with 2025-10-30 13:50:01,785 - INFO - Initial checks done. Running the testcase now 2025-10-30 13:50:01,785 - INFO - 2025-10-30 13:50:02,478 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-96512001 2025-10-30 13:50:02,576 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-96512001 2025-10-30 13:50:02,900 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96512001', 'default']} 2025-10-30 13:50:03,180 - DEBUG - Response for create_network : {'network': {'id': '23318170-7786-445c-a153-8c36d3dbfbca', 'name': 'ctest-vn-67404604', 'tenant_id': '90bf38d7d3d74a9db8be5a3ea2c1176d', 'project_id': '90bf38d7d3d74a9db8be5a3ea2c1176d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96512001', 'ctest-vn-67404604'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 13:50:03,366 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c76a9d6-aacd-493e-92a5-800efaedda0a', 'name': '', 'tenant_id': '90bf38d7d3d74a9db8be5a3ea2c1176d', 'network_id': '23318170-7786-445c-a153-8c36d3dbfbca', 'ip_version': 4, 'cidr': '151.18.54.0/26', 'allocation_pools': [{'start': '151.18.54.2', 'end': '151.18.54.62'}], 'gateway_ip': '151.18.54.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.18.54.2', 'tags': [], 'project_id': '90bf38d7d3d74a9db8be5a3ea2c1176d'}} 2025-10-30 13:50:03,383 - INFO - Created VN ctest-vn-67404604 2025-10-30 13:50:03,432 - DEBUG - VN ctest-vn-67404604 UUID is 23318170-7786-445c-a153-8c36d3dbfbca 2025-10-30 13:50:03,771 - DEBUG - Response for create_network : {'network': {'id': 'c0b2d5d1-116c-40ef-b8bb-072d7d780b7c', 'name': 'ctest-ext_vn-44698507', 'tenant_id': '90bf38d7d3d74a9db8be5a3ea2c1176d', 'project_id': '90bf38d7d3d74a9db8be5a3ea2c1176d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96512001', 'ctest-ext_vn-44698507'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 13:50:03,917 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c3a2cf14-8db6-480e-ada7-368e818fbbe7', 'name': '', 'tenant_id': '90bf38d7d3d74a9db8be5a3ea2c1176d', 'network_id': 'c0b2d5d1-116c-40ef-b8bb-072d7d780b7c', 'ip_version': 4, 'cidr': '123.154.226.64/26', 'allocation_pools': [{'start': '123.154.226.66', 'end': '123.154.226.126'}], 'gateway_ip': '123.154.226.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.154.226.66', 'tags': [], 'project_id': '90bf38d7d3d74a9db8be5a3ea2c1176d'}} 2025-10-30 13:50:03,933 - INFO - Created VN ctest-ext_vn-44698507 2025-10-30 13:50:03,984 - DEBUG - VN ctest-ext_vn-44698507 UUID is c0b2d5d1-116c-40ef-b8bb-072d7d780b7c 2025-10-30 13:50:04,177 - DEBUG - Services list from nova: [, , ] 2025-10-30 13:50:05,150 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4543-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4543-1) 2025-10-30 13:50:06,230 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4543-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4543-1) 2025-10-30 13:50:06,292 - INFO - Setting gateway for router 5ae21996-325c-4fba-ae51-71ff6f59280b to network c0b2d5d1-116c-40ef-b8bb-072d7d780b7c 2025-10-30 13:50:06,343 - INFO - Adding interface with subnet_id 9c76a9d6-aacd-493e-92a5-800efaedda0a, port_id None to router 5ae21996-325c-4fba-ae51-71ff6f59280b 2025-10-30 13:50:06,673 - INFO - Waiting for VM ctest-TestRoutersBasic-96512001-94444730 to be up.. 2025-10-30 13:50:06,787 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 13:50:11,876 - DEBUG - VM is in ACTIVE state now 2025-10-30 13:50:11,877 - INFO - VM name : ctest-TestRoutersBasic-96512001-94444730 2025-10-30 13:50:11,962 - DEBUG - VM ctest-TestRoutersBasic-96512001-94444730 ID is 755f727a-b7da-4207-a388-372065aa813b 2025-10-30 13:50:11,980 - DEBUG - VM ctest-TestRoutersBasic-96512001-94444730 launched on Node cn-jenkins-deploy-platform-ansible-os-4543-1 2025-10-30 13:50:12,049 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/755f727a-b7da-4207-a388-372065aa813b 2025-10-30 13:50:12,356 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/755f727a-b7da-4207-a388-372065aa813b 2025-10-30 13:50:12,384 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/2174c9c2-e196-43e5-9770-e3a9cf0de846 2025-10-30 13:50:15,622 - 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 1002ms') 2025-10-30 13:50:15,622 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96512001-94444730 failed! 2025-10-30 13:50:15,676 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-96512001:ctest-vn-67404604 is 151.18.54.1 and allocation pool is NOT set 2025-10-30 13:50:17,733 - 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.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.500 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.500/1.922/3.344/1.422 ms') 2025-10-30 13:50:17,733 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96512001-94444730 passed 2025-10-30 13:50:17,880 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 13:50:17,880 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96512001-94444730, IP 151.18.54.3, Port 22 2025-10-30 13:50:18,036 - DEBUG - VM ctest-TestRoutersBasic-96512001-94444730 is ready for SSH connections 2025-10-30 13:50:18,036 - INFO - Waiting for VM ctest-TestRoutersBasic-96512001-02573524 to be up.. 2025-10-30 13:50:18,107 - DEBUG - VM is in ACTIVE state now 2025-10-30 13:50:18,108 - INFO - VM name : ctest-TestRoutersBasic-96512001-02573524 2025-10-30 13:50:18,176 - DEBUG - VM ctest-TestRoutersBasic-96512001-02573524 ID is 3ec2a0e8-e310-4ff4-a000-7ab3aeb26f11 2025-10-30 13:50:18,176 - DEBUG - VM ctest-TestRoutersBasic-96512001-02573524 launched on Node cn-jenkins-deploy-platform-ansible-os-4543-1 2025-10-30 13:50:18,243 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/3ec2a0e8-e310-4ff4-a000-7ab3aeb26f11 2025-10-30 13:50:18,250 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/2744feec-157c-4884-af9b-79b5a36e0a17 2025-10-30 13:50:19,483 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 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.410/1.600/2.791/1.190 ms') 2025-10-30 13:50:19,483 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-96512001-02573524 passed 2025-10-30 13:50:19,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 13:50:19,632 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96512001-02573524, IP 123.154.226.67, Port 22 2025-10-30 13:50:19,791 - DEBUG - VM ctest-TestRoutersBasic-96512001-02573524 is ready for SSH connections 2025-10-30 13:50:19,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 13:50:19,792 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.154.226.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-30 13:50:19,792 - DEBUG - ping -s 56 -c 3 -W 1 123.154.226.67 2025-10-30 13:50:23,775 - DEBUG - PING 123.154.226.67 (123.154.226.67): 56 data bytes 64 bytes from 123.154.226.67: seq=0 ttl=62 time=5.969 ms 64 bytes from 123.154.226.67: seq=1 ttl=62 time=1.164 ms 64 bytes from 123.154.226.67: seq=2 ttl=62 time=0.877 ms --- 123.154.226.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.877/2.670/5.969 ms 2025-10-30 13:50:23,775 - INFO - Ping to IP 123.154.226.67 from VM ctest-TestRoutersBasic-96512001-94444730 passed 2025-10-30 13:50:23,775 - INFO - Deleting interface with subnet_id 9c76a9d6-aacd-493e-92a5-800efaedda0a, port_id None from router 5ae21996-325c-4fba-ae51-71ff6f59280b 2025-10-30 13:50:23,943 - INFO - Deleting VM ctest-TestRoutersBasic-96512001-02573524 2025-10-30 13:50:24,006 - INFO - Deleting VM ctest-TestRoutersBasic-96512001-94444730 2025-10-30 13:50:24,080 - INFO - Deleting VN ctest-ext_vn-44698507 2025-10-30 13:50:24,136 - DEBUG - VN c0b2d5d1-116c-40ef-b8bb-072d7d780b7c still in use: Unable to complete operation on network c0b2d5d1-116c-40ef-b8bb-072d7d780b7c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7f3f280f-db9a-43a4-9edc-b2887f967529'] 2025-10-30 13:50:24,136 - WARNING - Deleting VN ctest-ext_vn-44698507 failed..Will retry 2025-10-30 13:50:26,235 - DEBUG - Response for deleting network () 2025-10-30 13:50:26,236 - INFO - Deleting VN ctest-vn-67404604 2025-10-30 13:50:26,341 - DEBUG - Response for deleting network () 2025-10-30 13:50:26,601 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 13:50:26,601 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-30 13:50:26,601 - INFO - -------------------------------------------------------------------------------- 2025-10-30 13:50:27,253 - INFO - Deleted project: ctest-TestRoutersBasic-96512001, ID : 90bf38d7-d3d7-4a9d-b8be-5a3ea2c1176d