2025-09-11 11:21:49,647 - INFO - Domain Default found not creating
2025-09-11 11:21:49,796 - INFO - Project ctest-TestRoutersBasic-16687087 not found, creating it
2025-09-11 11:21:50,265 - INFO - Created Project:ctest-TestRoutersBasic-16687087, ID : 1b71a9d1-2ab2-40b7-a1db-eae80ca82800
2025-09-11 11:21:51,718 - INFO - ================================================================================
2025-09-11 11:21:51,718 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-09-11 11:21:51,719 - 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-11 11:21:51,985 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-09-11 11:21:51,985 - INFO - Initial checks done. Running the testcase now
2025-09-11 11:21:51,986 - INFO -
2025-09-11 11:21:52,701 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-16687087
2025-09-11 11:21:52,797 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-16687087
2025-09-11 11:21:53,116 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16687087', 'default']}
2025-09-11 11:21:53,414 - DEBUG - Response for create_network : {'network': {'id': 'c88bc8e8-b0a2-48ef-a334-d22da19619eb', 'name': 'ctest-vn-56351278', 'tenant_id': '1b71a9d12ab240b7a1dbeae80ca82800', 'project_id': '1b71a9d12ab240b7a1dbeae80ca82800', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16687087', 'ctest-vn-56351278'], 'port_security_enabled': True, 'description': ''}}
2025-09-11 11:21:53,594 - DEBUG - Response for create_subnet : {'subnet': {'id': '2814a205-62cc-4439-9c44-117203026a60', 'name': '', 'tenant_id': '1b71a9d12ab240b7a1dbeae80ca82800', 'network_id': 'c88bc8e8-b0a2-48ef-a334-d22da19619eb', 'ip_version': 4, 'cidr': '155.127.198.192/26', 'allocation_pools': [{'start': '155.127.198.194', 'end': '155.127.198.254'}], 'gateway_ip': '155.127.198.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.127.198.194', 'tags': [], 'project_id': '1b71a9d12ab240b7a1dbeae80ca82800'}}
2025-09-11 11:21:53,611 - INFO - Created VN ctest-vn-56351278
2025-09-11 11:21:53,664 - DEBUG - VN ctest-vn-56351278 UUID is c88bc8e8-b0a2-48ef-a334-d22da19619eb
2025-09-11 11:21:53,992 - DEBUG - Response for create_network : {'network': {'id': '09c0184a-9b67-4607-8519-9090f8082219', 'name': 'ctest-ext_vn-71714274', 'tenant_id': '1b71a9d12ab240b7a1dbeae80ca82800', 'project_id': '1b71a9d12ab240b7a1dbeae80ca82800', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16687087', 'ctest-ext_vn-71714274'], 'port_security_enabled': True, 'description': ''}}
2025-09-11 11:21:54,144 - DEBUG - Response for create_subnet : {'subnet': {'id': '973ec16e-109b-43e0-9032-5b965cf6f2fd', 'name': '', 'tenant_id': '1b71a9d12ab240b7a1dbeae80ca82800', 'network_id': '09c0184a-9b67-4607-8519-9090f8082219', 'ip_version': 4, 'cidr': '65.90.246.128/26', 'allocation_pools': [{'start': '65.90.246.130', 'end': '65.90.246.190'}], 'gateway_ip': '65.90.246.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.90.246.130', 'tags': [], 'project_id': '1b71a9d12ab240b7a1dbeae80ca82800'}}
2025-09-11 11:21:54,164 - INFO - Created VN ctest-ext_vn-71714274
2025-09-11 11:21:54,217 - DEBUG - VN ctest-ext_vn-71714274 UUID is 09c0184a-9b67-4607-8519-9090f8082219
2025-09-11 11:21:54,425 - DEBUG - Services list from nova: [, , ]
2025-09-11 11:21:55,468 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4089-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4089-1)
2025-09-11 11:21:56,594 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4089-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4089-1)
2025-09-11 11:21:56,676 - INFO - Setting gateway for router a9f83877-a14e-478d-bc65-5f4931050c42 to network 09c0184a-9b67-4607-8519-9090f8082219
2025-09-11 11:21:56,742 - INFO - Adding interface with subnet_id 2814a205-62cc-4439-9c44-117203026a60, port_id None to router a9f83877-a14e-478d-bc65-5f4931050c42
2025-09-11 11:21:57,070 - INFO - Waiting for VM ctest-TestRoutersBasic-16687087-58499870 to be up..
2025-09-11 11:21:57,221 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-11 11:22:02,299 - DEBUG - VM is in ACTIVE state now
2025-09-11 11:22:02,299 - INFO - VM name : ctest-TestRoutersBasic-16687087-58499870
2025-09-11 11:22:02,377 - DEBUG - VM ctest-TestRoutersBasic-16687087-58499870 ID is b3bc739e-cc9c-478f-8d85-5205e032254c
2025-09-11 11:22:02,399 - DEBUG - VM ctest-TestRoutersBasic-16687087-58499870 launched on Node cn-jenkins-deploy-platform-ansible-os-4089-1
2025-09-11 11:22:02,471 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b3bc739e-cc9c-478f-8d85-5205e032254c
2025-09-11 11:22:02,764 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b3bc739e-cc9c-478f-8d85-5205e032254c
2025-09-11 11:22:02,794 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e1276b0d-2794-48c2-8a3b-94a998e64704
2025-09-11 11:22:06,036 - 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-09-11 11:22:06,036 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16687087-58499870 failed!
2025-09-11 11:22:06,088 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-16687087:ctest-vn-56351278 is 155.127.198.193 and allocation pool is NOT set
2025-09-11 11:22:08,145 - 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.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.401 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.401/1.815/3.230/1.414 ms')
2025-09-11 11:22:08,146 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16687087-58499870 passed
2025-09-11 11:22:08,296 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 11:22:08,297 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16687087-58499870, IP 155.127.198.195, Port 22
2025-09-11 11:22:08,460 - DEBUG - VM ctest-TestRoutersBasic-16687087-58499870 is ready for SSH connections
2025-09-11 11:22:08,460 - INFO - Waiting for VM ctest-TestRoutersBasic-16687087-19819250 to be up..
2025-09-11 11:22:08,534 - DEBUG - VM is in ACTIVE state now
2025-09-11 11:22:08,534 - INFO - VM name : ctest-TestRoutersBasic-16687087-19819250
2025-09-11 11:22:08,604 - DEBUG - VM ctest-TestRoutersBasic-16687087-19819250 ID is 566c84ea-a7f3-433e-894e-bd650e638f77
2025-09-11 11:22:08,604 - DEBUG - VM ctest-TestRoutersBasic-16687087-19819250 launched on Node cn-jenkins-deploy-platform-ansible-os-4089-1
2025-09-11 11:22:08,674 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/566c84ea-a7f3-433e-894e-bd650e638f77
2025-09-11 11:22:08,681 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f2d9c13a-125e-4967-8552-d28ee9aa94de
2025-09-11 11:22:09,915 - 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.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.474 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.474/1.909/3.345/1.435 ms')
2025-09-11 11:22:09,915 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-16687087-19819250 passed
2025-09-11 11:22:10,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 11:22:10,065 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16687087-19819250, IP 65.90.246.131, Port 22
2025-09-11 11:22:10,231 - DEBUG - VM ctest-TestRoutersBasic-16687087-19819250 is ready for SSH connections
2025-09-11 11:22:10,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 11:22:10,231 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.90.246.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-09-11 11:22:10,231 - DEBUG - ping -s 56 -c 3 -W 1 65.90.246.131
2025-09-11 11:22:13,940 - DEBUG - PING 65.90.246.131 (65.90.246.131): 56 data bytes
64 bytes from 65.90.246.131: seq=0 ttl=62 time=7.246 ms
64 bytes from 65.90.246.131: seq=1 ttl=62 time=1.136 ms
64 bytes from 65.90.246.131: seq=2 ttl=62 time=0.900 ms
--- 65.90.246.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.900/3.094/7.246 ms
2025-09-11 11:22:13,940 - INFO - Ping to IP 65.90.246.131 from VM ctest-TestRoutersBasic-16687087-58499870 passed
2025-09-11 11:22:13,940 - INFO - Deleting interface with subnet_id 2814a205-62cc-4439-9c44-117203026a60, port_id None from router a9f83877-a14e-478d-bc65-5f4931050c42
2025-09-11 11:22:14,118 - INFO - Deleting VM ctest-TestRoutersBasic-16687087-19819250
2025-09-11 11:22:14,192 - INFO - Deleting VM ctest-TestRoutersBasic-16687087-58499870
2025-09-11 11:22:14,268 - INFO - Deleting VN ctest-ext_vn-71714274
2025-09-11 11:22:14,334 - DEBUG - VN 09c0184a-9b67-4607-8519-9090f8082219 still in use: Unable to complete operation on network 09c0184a-9b67-4607-8519-9090f8082219. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-848a11e4-8933-4e65-8424-586d49a2324b']
2025-09-11 11:22:14,334 - WARNING - Deleting VN ctest-ext_vn-71714274 failed..Will retry
2025-09-11 11:22:16,437 - DEBUG - Response for deleting network ()
2025-09-11 11:22:16,437 - INFO - Deleting VN ctest-vn-56351278
2025-09-11 11:22:16,540 - DEBUG - Response for deleting network ()
2025-09-11 11:22:16,794 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 11:22:16,794 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-11 11:22:16,794 - INFO - --------------------------------------------------------------------------------
2025-09-11 11:22:17,511 - INFO - Deleted project: ctest-TestRoutersBasic-16687087, ID : 1b71a9d1-2ab2-40b7-a1db-eae80ca82800