2025-11-05 14:04:57,587 - INFO - Domain Default found not creating 2025-11-05 14:04:57,751 - INFO - Project ctest-TestRoutersBasic-78233924 not found, creating it 2025-11-05 14:04:58,258 - INFO - Created Project:ctest-TestRoutersBasic-78233924, ID : ab5373a9-b30d-4476-8bd8-d65bd7fe8e80 2025-11-05 14:05:00,093 - INFO - ================================================================================ 2025-11-05 14:05:00,093 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-05 14:05:00,093 - 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-11-05 14:05:00,359 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.201': '0'}} with 2025-11-05 14:05:00,359 - INFO - Initial checks done. Running the testcase now 2025-11-05 14:05:00,359 - INFO - 2025-11-05 14:05:01,182 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-78233924 2025-11-05 14:05:01,282 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-78233924 2025-11-05 14:05:01,610 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78233924', 'default']} 2025-11-05 14:05:01,959 - DEBUG - Response for create_network : {'network': {'id': '8ea16841-e2d1-4401-9bd6-04d05d37289a', 'name': 'ctest-vn-79891755', 'tenant_id': 'ab5373a9b30d44768bd8d65bd7fe8e80', 'project_id': 'ab5373a9b30d44768bd8d65bd7fe8e80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78233924', 'ctest-vn-79891755'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 14:05:02,185 - DEBUG - Response for create_subnet : {'subnet': {'id': '837f6dbd-7fc6-4a20-a57c-5e5811190687', 'name': '', 'tenant_id': 'ab5373a9b30d44768bd8d65bd7fe8e80', 'network_id': '8ea16841-e2d1-4401-9bd6-04d05d37289a', 'ip_version': 4, 'cidr': '78.44.138.192/26', 'allocation_pools': [{'start': '78.44.138.194', 'end': '78.44.138.254'}], 'gateway_ip': '78.44.138.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.44.138.194', 'tags': [], 'project_id': 'ab5373a9b30d44768bd8d65bd7fe8e80'}} 2025-11-05 14:05:02,206 - INFO - Created VN ctest-vn-79891755 2025-11-05 14:05:02,258 - DEBUG - VN ctest-vn-79891755 UUID is 8ea16841-e2d1-4401-9bd6-04d05d37289a 2025-11-05 14:05:02,595 - DEBUG - Response for create_network : {'network': {'id': 'eff0fe82-d0a3-469b-afb5-d7b23373e59e', 'name': 'ctest-ext_vn-48526951', 'tenant_id': 'ab5373a9b30d44768bd8d65bd7fe8e80', 'project_id': 'ab5373a9b30d44768bd8d65bd7fe8e80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78233924', 'ctest-ext_vn-48526951'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 14:05:02,781 - DEBUG - Response for create_subnet : {'subnet': {'id': '7eae6528-ead7-4b84-81d5-cde0a2a06235', 'name': '', 'tenant_id': 'ab5373a9b30d44768bd8d65bd7fe8e80', 'network_id': 'eff0fe82-d0a3-469b-afb5-d7b23373e59e', 'ip_version': 4, 'cidr': '185.184.25.0/26', 'allocation_pools': [{'start': '185.184.25.2', 'end': '185.184.25.62'}], 'gateway_ip': '185.184.25.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.184.25.2', 'tags': [], 'project_id': 'ab5373a9b30d44768bd8d65bd7fe8e80'}} 2025-11-05 14:05:02,805 - INFO - Created VN ctest-ext_vn-48526951 2025-11-05 14:05:02,858 - DEBUG - VN ctest-ext_vn-48526951 UUID is eff0fe82-d0a3-469b-afb5-d7b23373e59e 2025-11-05 14:05:03,047 - DEBUG - Services list from nova: [, , ] 2025-11-05 14:05:04,194 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4643-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4643-1) 2025-11-05 14:05:05,660 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4643-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4643-1) 2025-11-05 14:05:05,737 - INFO - Setting gateway for router dedfb0fd-0db3-4ce9-8ce9-d9df56109ab0 to network eff0fe82-d0a3-469b-afb5-d7b23373e59e 2025-11-05 14:05:05,835 - INFO - Adding interface with subnet_id 837f6dbd-7fc6-4a20-a57c-5e5811190687, port_id None to router dedfb0fd-0db3-4ce9-8ce9-d9df56109ab0 2025-11-05 14:05:06,228 - INFO - Waiting for VM ctest-TestRoutersBasic-78233924-54997468 to be up.. 2025-11-05 14:05:06,396 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 14:05:11,482 - DEBUG - VM is in ACTIVE state now 2025-11-05 14:05:11,482 - INFO - VM name : ctest-TestRoutersBasic-78233924-54997468 2025-11-05 14:05:11,559 - DEBUG - VM ctest-TestRoutersBasic-78233924-54997468 ID is c16aac0f-cfb5-4f2c-b342-6fc6f48c9ace 2025-11-05 14:05:11,579 - DEBUG - VM ctest-TestRoutersBasic-78233924-54997468 launched on Node cn-jenkins-deploy-platform-ansible-os-4643-1 2025-11-05 14:05:11,654 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c16aac0f-cfb5-4f2c-b342-6fc6f48c9ace 2025-11-05 14:05:11,987 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c16aac0f-cfb5-4f2c-b342-6fc6f48c9ace 2025-11-05 14:05:12,018 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d5f92d17-1170-4db1-9ff0-6e551d84089a 2025-11-05 14:05:15,272 - 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 1015ms') 2025-11-05 14:05:15,272 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78233924-54997468 failed! 2025-11-05 14:05:15,326 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-78233924:ctest-vn-79891755 is 78.44.138.193 and allocation pool is NOT set 2025-11-05 14:05:17,388 - 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=5.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.27 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 = 2.272/3.894/5.517/1.622 ms') 2025-11-05 14:05:17,389 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78233924-54997468 passed 2025-11-05 14:05:17,542 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 14:05:17,542 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78233924-54997468, IP 78.44.138.195, Port 22 2025-11-05 14:05:17,698 - DEBUG - VM ctest-TestRoutersBasic-78233924-54997468 is ready for SSH connections 2025-11-05 14:05:17,698 - INFO - Waiting for VM ctest-TestRoutersBasic-78233924-23725597 to be up.. 2025-11-05 14:05:17,776 - DEBUG - VM is in ACTIVE state now 2025-11-05 14:05:17,776 - INFO - VM name : ctest-TestRoutersBasic-78233924-23725597 2025-11-05 14:05:17,848 - DEBUG - VM ctest-TestRoutersBasic-78233924-23725597 ID is c139ee32-7a06-4616-8643-48b26d192a88 2025-11-05 14:05:17,848 - DEBUG - VM ctest-TestRoutersBasic-78233924-23725597 launched on Node cn-jenkins-deploy-platform-ansible-os-4643-1 2025-11-05 14:05:17,922 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c139ee32-7a06-4616-8643-48b26d192a88 2025-11-05 14:05:17,931 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ffcc59c6-afc3-4433-a9f6-9e616f4dcd46 2025-11-05 14:05:19,171 - 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=4.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.620 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.620/2.694/4.769/2.074 ms') 2025-11-05 14:05:19,171 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-78233924-23725597 passed 2025-11-05 14:05:19,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 14:05:19,318 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78233924-23725597, IP 185.184.25.3, Port 22 2025-11-05 14:05:19,484 - DEBUG - VM ctest-TestRoutersBasic-78233924-23725597 is ready for SSH connections 2025-11-05 14:05:19,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 14:05:19,485 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.184.25.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-05 14:05:19,485 - DEBUG - ping -s 56 -c 3 -W 1 185.184.25.3 2025-11-05 14:05:23,291 - DEBUG - PING 185.184.25.3 (185.184.25.3): 56 data bytes 64 bytes from 185.184.25.3: seq=0 ttl=62 time=4.575 ms 64 bytes from 185.184.25.3: seq=1 ttl=62 time=0.958 ms 64 bytes from 185.184.25.3: seq=2 ttl=62 time=1.302 ms --- 185.184.25.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.958/2.278/4.575 ms 2025-11-05 14:05:23,291 - INFO - Ping to IP 185.184.25.3 from VM ctest-TestRoutersBasic-78233924-54997468 passed 2025-11-05 14:05:23,292 - INFO - Deleting interface with subnet_id 837f6dbd-7fc6-4a20-a57c-5e5811190687, port_id None from router dedfb0fd-0db3-4ce9-8ce9-d9df56109ab0 2025-11-05 14:05:23,487 - INFO - Deleting VM ctest-TestRoutersBasic-78233924-23725597 2025-11-05 14:05:23,568 - INFO - Deleting VM ctest-TestRoutersBasic-78233924-54997468 2025-11-05 14:05:23,646 - INFO - Deleting VN ctest-ext_vn-48526951 2025-11-05 14:05:23,730 - DEBUG - VN eff0fe82-d0a3-469b-afb5-d7b23373e59e still in use: Unable to complete operation on network eff0fe82-d0a3-469b-afb5-d7b23373e59e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-36477b9d-ddf7-41fc-8225-dcdd27fd539d'] 2025-11-05 14:05:23,730 - WARNING - Deleting VN ctest-ext_vn-48526951 failed..Will retry 2025-11-05 14:05:25,836 - DEBUG - Response for deleting network () 2025-11-05 14:05:25,836 - INFO - Deleting VN ctest-vn-79891755 2025-11-05 14:05:25,939 - DEBUG - Response for deleting network () 2025-11-05 14:05:26,196 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 14:05:26,196 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-11-05 14:05:26,197 - INFO - -------------------------------------------------------------------------------- 2025-11-05 14:05:26,920 - INFO - Deleted project: ctest-TestRoutersBasic-78233924, ID : ab5373a9-b30d-4476-8bd8-d65bd7fe8e80