2025-12-18 20:52:44,858 - INFO - Domain Default found not creating
2025-12-18 20:52:45,051 - INFO - Project ctest-TestRoutersBasic-57210894 not found, creating it
2025-12-18 20:52:45,532 - INFO - Created Project:ctest-TestRoutersBasic-57210894, ID : aabefe3f-3f21-45fa-9c6b-b50d9aef7132
2025-12-18 20:52:47,048 - INFO - ================================================================================
2025-12-18 20:52:47,048 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-12-18 20:52:47,048 - 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-12-18 20:52:47,306 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-12-18 20:52:47,307 - INFO - Initial checks done. Running the testcase now
2025-12-18 20:52:47,307 - INFO -
2025-12-18 20:52:48,021 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-57210894
2025-12-18 20:52:48,117 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-57210894
2025-12-18 20:52:48,433 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57210894', 'default']}
2025-12-18 20:52:48,715 - DEBUG - Response for create_network : {'network': {'id': '6caa472d-7739-48c0-b74e-da8bf13f4039', 'name': 'ctest-vn-10846370', 'tenant_id': 'aabefe3f3f2145fa9c6bb50d9aef7132', 'project_id': 'aabefe3f3f2145fa9c6bb50d9aef7132', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57210894', 'ctest-vn-10846370'], 'port_security_enabled': True, 'description': ''}}
2025-12-18 20:52:48,864 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b87cc4c-88ee-4e65-a6cf-b3e7066f26b8', 'name': '', 'tenant_id': 'aabefe3f3f2145fa9c6bb50d9aef7132', 'network_id': '6caa472d-7739-48c0-b74e-da8bf13f4039', 'ip_version': 4, 'cidr': '113.169.192.64/26', 'allocation_pools': [{'start': '113.169.192.66', 'end': '113.169.192.126'}], 'gateway_ip': '113.169.192.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.169.192.66', 'tags': [], 'project_id': 'aabefe3f3f2145fa9c6bb50d9aef7132'}}
2025-12-18 20:52:48,882 - INFO - Created VN ctest-vn-10846370
2025-12-18 20:52:48,933 - DEBUG - VN ctest-vn-10846370 UUID is 6caa472d-7739-48c0-b74e-da8bf13f4039
2025-12-18 20:52:49,280 - DEBUG - Response for create_network : {'network': {'id': 'ef5ba5d4-a571-46cf-8a2a-05ac9bd0f85c', 'name': 'ctest-ext_vn-50613271', 'tenant_id': 'aabefe3f3f2145fa9c6bb50d9aef7132', 'project_id': 'aabefe3f3f2145fa9c6bb50d9aef7132', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57210894', 'ctest-ext_vn-50613271'], 'port_security_enabled': True, 'description': ''}}
2025-12-18 20:52:49,450 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b15488b-0491-43cc-81af-c194067df6ba', 'name': '', 'tenant_id': 'aabefe3f3f2145fa9c6bb50d9aef7132', 'network_id': 'ef5ba5d4-a571-46cf-8a2a-05ac9bd0f85c', 'ip_version': 4, 'cidr': '1.47.122.128/26', 'allocation_pools': [{'start': '1.47.122.130', 'end': '1.47.122.190'}], 'gateway_ip': '1.47.122.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.47.122.130', 'tags': [], 'project_id': 'aabefe3f3f2145fa9c6bb50d9aef7132'}}
2025-12-18 20:52:49,468 - INFO - Created VN ctest-ext_vn-50613271
2025-12-18 20:52:49,521 - DEBUG - VN ctest-ext_vn-50613271 UUID is ef5ba5d4-a571-46cf-8a2a-05ac9bd0f85c
2025-12-18 20:52:49,695 - DEBUG - Services list from nova: [, , ]
2025-12-18 20:52:50,711 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4907-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4907-1)
2025-12-18 20:52:51,901 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4907-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4907-1)
2025-12-18 20:52:51,970 - INFO - Setting gateway for router e4e18a28-a271-4e57-808b-02180fbe93c3 to network ef5ba5d4-a571-46cf-8a2a-05ac9bd0f85c
2025-12-18 20:52:52,035 - INFO - Adding interface with subnet_id 3b87cc4c-88ee-4e65-a6cf-b3e7066f26b8, port_id None to router e4e18a28-a271-4e57-808b-02180fbe93c3
2025-12-18 20:52:52,418 - INFO - Waiting for VM ctest-TestRoutersBasic-57210894-97777404 to be up..
2025-12-18 20:52:52,576 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-18 20:52:57,661 - DEBUG - VM is in ACTIVE state now
2025-12-18 20:52:57,661 - INFO - VM name : ctest-TestRoutersBasic-57210894-97777404
2025-12-18 20:52:57,736 - DEBUG - VM ctest-TestRoutersBasic-57210894-97777404 ID is fdbd0f48-3a3a-4b8b-9d6f-03fffa960671
2025-12-18 20:52:57,755 - DEBUG - VM ctest-TestRoutersBasic-57210894-97777404 launched on Node cn-jenkins-deploy-platform-ansible-os-4907-1
2025-12-18 20:52:57,845 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fdbd0f48-3a3a-4b8b-9d6f-03fffa960671
2025-12-18 20:52:58,142 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fdbd0f48-3a3a-4b8b-9d6f-03fffa960671
2025-12-18 20:52:58,183 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8af723b7-b842-465f-8112-f1666925230e
2025-12-18 20:53:01,443 - 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 1026ms')
2025-12-18 20:53:01,443 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57210894-97777404 failed!
2025-12-18 20:53:01,497 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-57210894:ctest-vn-10846370 is 113.169.192.65 and allocation pool is NOT set
2025-12-18 20:53:03,563 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.518 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.518/2.082/3.646/1.564 ms')
2025-12-18 20:53:03,563 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57210894-97777404 passed
2025-12-18 20:53:03,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-18 20:53:03,717 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57210894-97777404, IP 113.169.192.67, Port 22
2025-12-18 20:53:03,872 - DEBUG - VM ctest-TestRoutersBasic-57210894-97777404 is ready for SSH connections
2025-12-18 20:53:03,872 - INFO - Waiting for VM ctest-TestRoutersBasic-57210894-56068534 to be up..
2025-12-18 20:53:03,950 - DEBUG - VM is in ACTIVE state now
2025-12-18 20:53:03,950 - INFO - VM name : ctest-TestRoutersBasic-57210894-56068534
2025-12-18 20:53:04,024 - DEBUG - VM ctest-TestRoutersBasic-57210894-56068534 ID is 3d107f7c-8623-47f4-be8b-685d805a9205
2025-12-18 20:53:04,024 - DEBUG - VM ctest-TestRoutersBasic-57210894-56068534 launched on Node cn-jenkins-deploy-platform-ansible-os-4907-1
2025-12-18 20:53:04,103 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3d107f7c-8623-47f4-be8b-685d805a9205
2025-12-18 20:53:04,113 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3141975a-c354-413e-bae4-a1a590bbc681
2025-12-18 20:53:05,353 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.499 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.499/2.315/4.131/1.816 ms')
2025-12-18 20:53:05,353 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-57210894-56068534 passed
2025-12-18 20:53:05,505 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-18 20:53:05,505 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57210894-56068534, IP 1.47.122.131, Port 22
2025-12-18 20:53:05,660 - DEBUG - VM ctest-TestRoutersBasic-57210894-56068534 is ready for SSH connections
2025-12-18 20:53:05,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-18 20:53:05,661 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.47.122.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-12-18 20:53:05,661 - DEBUG - ping -s 56 -c 3 -W 1 1.47.122.131
2025-12-18 20:53:09,703 - DEBUG - PING 1.47.122.131 (1.47.122.131): 56 data bytes
64 bytes from 1.47.122.131: seq=0 ttl=62 time=6.680 ms
64 bytes from 1.47.122.131: seq=1 ttl=62 time=1.170 ms
64 bytes from 1.47.122.131: seq=2 ttl=62 time=0.879 ms
--- 1.47.122.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.879/2.909/6.680 ms
2025-12-18 20:53:09,703 - INFO - Ping to IP 1.47.122.131 from VM ctest-TestRoutersBasic-57210894-97777404 passed
2025-12-18 20:53:09,703 - INFO - Deleting interface with subnet_id 3b87cc4c-88ee-4e65-a6cf-b3e7066f26b8, port_id None from router e4e18a28-a271-4e57-808b-02180fbe93c3
2025-12-18 20:53:09,890 - INFO - Deleting VM ctest-TestRoutersBasic-57210894-56068534
2025-12-18 20:53:09,954 - INFO - Deleting VM ctest-TestRoutersBasic-57210894-97777404
2025-12-18 20:53:10,044 - INFO - Deleting VN ctest-ext_vn-50613271
2025-12-18 20:53:10,106 - DEBUG - VN ef5ba5d4-a571-46cf-8a2a-05ac9bd0f85c still in use: Unable to complete operation on network ef5ba5d4-a571-46cf-8a2a-05ac9bd0f85c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d2059ec1-0d2b-44a1-9a67-089ab9cdb633']
2025-12-18 20:53:10,106 - WARNING - Deleting VN ctest-ext_vn-50613271 failed..Will retry
2025-12-18 20:53:12,208 - DEBUG - Response for deleting network ()
2025-12-18 20:53:12,208 - INFO - Deleting VN ctest-vn-10846370
2025-12-18 20:53:12,304 - DEBUG - Response for deleting network ()
2025-12-18 20:53:12,558 - DEBUG - No XMPP flaps were noticed during the test
2025-12-18 20:53:12,558 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-12-18 20:53:12,558 - INFO - --------------------------------------------------------------------------------
2025-12-18 20:53:13,280 - INFO - Deleted project: ctest-TestRoutersBasic-57210894, ID : aabefe3f-3f21-45fa-9c6b-b50d9aef7132