2025-07-07 14:21:09,342 - INFO - Domain Default found not creating
2025-07-07 14:21:09,533 - INFO - Project ctest-TestRoutersBasic-60733023 not found, creating it
2025-07-07 14:21:10,035 - INFO - Created Project:ctest-TestRoutersBasic-60733023, ID : ad259f16-fcc5-4f84-b180-79c9eac6d310
2025-07-07 14:21:11,536 - INFO - ================================================================================
2025-07-07 14:21:11,536 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-07 14:21:11,536 - 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-07-07 14:21:11,790 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with
2025-07-07 14:21:11,790 - INFO - Initial checks done. Running the testcase now
2025-07-07 14:21:11,790 - INFO -
2025-07-07 14:21:12,497 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-60733023
2025-07-07 14:21:12,596 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-60733023
2025-07-07 14:21:12,924 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60733023', 'default']}
2025-07-07 14:21:13,220 - DEBUG - Response for create_network : {'network': {'id': '2c1fe56d-ec12-468e-96b2-fe078d212458', 'name': 'ctest-vn-92953082', 'tenant_id': 'ad259f16fcc54f84b18079c9eac6d310', 'project_id': 'ad259f16fcc54f84b18079c9eac6d310', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60733023', 'ctest-vn-92953082'], 'port_security_enabled': True, 'description': ''}}
2025-07-07 14:21:13,379 - DEBUG - Response for create_subnet : {'subnet': {'id': '9be24abe-3cd6-493d-aab0-9613d0f42b28', 'name': '', 'tenant_id': 'ad259f16fcc54f84b18079c9eac6d310', 'network_id': '2c1fe56d-ec12-468e-96b2-fe078d212458', 'ip_version': 4, 'cidr': '18.57.23.128/26', 'allocation_pools': [{'start': '18.57.23.130', 'end': '18.57.23.190'}], 'gateway_ip': '18.57.23.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.57.23.130', 'tags': [], 'project_id': 'ad259f16fcc54f84b18079c9eac6d310'}}
2025-07-07 14:21:13,402 - INFO - Created VN ctest-vn-92953082
2025-07-07 14:21:13,460 - DEBUG - VN ctest-vn-92953082 UUID is 2c1fe56d-ec12-468e-96b2-fe078d212458
2025-07-07 14:21:13,807 - DEBUG - Response for create_network : {'network': {'id': 'a1d36614-3fc0-48bd-8e86-d9cef9f82511', 'name': 'ctest-ext_vn-75509118', 'tenant_id': 'ad259f16fcc54f84b18079c9eac6d310', 'project_id': 'ad259f16fcc54f84b18079c9eac6d310', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60733023', 'ctest-ext_vn-75509118'], 'port_security_enabled': True, 'description': ''}}
2025-07-07 14:21:14,019 - DEBUG - Response for create_subnet : {'subnet': {'id': '33a63272-3990-445e-9d16-3c0782268169', 'name': '', 'tenant_id': 'ad259f16fcc54f84b18079c9eac6d310', 'network_id': 'a1d36614-3fc0-48bd-8e86-d9cef9f82511', 'ip_version': 4, 'cidr': '194.252.98.192/26', 'allocation_pools': [{'start': '194.252.98.194', 'end': '194.252.98.254'}], 'gateway_ip': '194.252.98.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.252.98.194', 'tags': [], 'project_id': 'ad259f16fcc54f84b18079c9eac6d310'}}
2025-07-07 14:21:14,037 - INFO - Created VN ctest-ext_vn-75509118
2025-07-07 14:21:14,092 - DEBUG - VN ctest-ext_vn-75509118 UUID is a1d36614-3fc0-48bd-8e86-d9cef9f82511
2025-07-07 14:21:14,401 - DEBUG - Services list from nova: [, , ]
2025-07-07 14:21:15,521 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3608-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3608-1)
2025-07-07 14:21:16,687 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3608-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3608-1)
2025-07-07 14:21:16,780 - INFO - Setting gateway for router 63435e85-22a4-4922-8656-ebf45a9d3039 to network a1d36614-3fc0-48bd-8e86-d9cef9f82511
2025-07-07 14:21:16,844 - INFO - Adding interface with subnet_id 9be24abe-3cd6-493d-aab0-9613d0f42b28, port_id None to router 63435e85-22a4-4922-8656-ebf45a9d3039
2025-07-07 14:21:17,249 - INFO - Waiting for VM ctest-TestRoutersBasic-60733023-73933395 to be up..
2025-07-07 14:21:17,427 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-07 14:21:22,523 - DEBUG - VM is in ACTIVE state now
2025-07-07 14:21:22,523 - INFO - VM name : ctest-TestRoutersBasic-60733023-73933395
2025-07-07 14:21:22,611 - DEBUG - VM ctest-TestRoutersBasic-60733023-73933395 ID is 3b41ce9d-065c-41ed-a787-32b340e21769
2025-07-07 14:21:22,634 - DEBUG - VM ctest-TestRoutersBasic-60733023-73933395 launched on Node cn-jenkins-deploy-platform-ansible-os-3608-1
2025-07-07 14:21:22,716 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3b41ce9d-065c-41ed-a787-32b340e21769
2025-07-07 14:21:23,015 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3b41ce9d-065c-41ed-a787-32b340e21769
2025-07-07 14:21:23,048 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/35140628-748c-4dc0-9bce-e7d5023d946e
2025-07-07 14:21:26,340 - 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 1011ms')
2025-07-07 14:21:26,340 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60733023-73933395 failed!
2025-07-07 14:21:26,396 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-60733023:ctest-vn-92953082 is 18.57.23.129 and allocation pool is NOT set
2025-07-07 14:21:28,455 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.53 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.529/3.236/3.944/0.707 ms')
2025-07-07 14:21:28,455 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60733023-73933395 passed
2025-07-07 14:21:28,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-07 14:21:28,608 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60733023-73933395, IP 18.57.23.131, Port 22
2025-07-07 14:21:28,767 - DEBUG - VM ctest-TestRoutersBasic-60733023-73933395 is ready for SSH connections
2025-07-07 14:21:28,767 - INFO - Waiting for VM ctest-TestRoutersBasic-60733023-85213062 to be up..
2025-07-07 14:21:28,864 - DEBUG - VM is in ACTIVE state now
2025-07-07 14:21:28,864 - INFO - VM name : ctest-TestRoutersBasic-60733023-85213062
2025-07-07 14:21:28,953 - DEBUG - VM ctest-TestRoutersBasic-60733023-85213062 ID is 2ba346b2-bef7-41f5-bfdb-a0a1c132d03f
2025-07-07 14:21:28,954 - DEBUG - VM ctest-TestRoutersBasic-60733023-85213062 launched on Node cn-jenkins-deploy-platform-ansible-os-3608-1
2025-07-07 14:21:29,037 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2ba346b2-bef7-41f5-bfdb-a0a1c132d03f
2025-07-07 14:21:29,048 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d16f0905-dedf-4f52-9ff1-ee743f3fc798
2025-07-07 14:21:30,300 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.91 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 = 2.911/3.637/4.363/0.726 ms')
2025-07-07 14:21:30,300 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-60733023-85213062 passed
2025-07-07 14:21:30,460 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-07 14:21:30,460 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60733023-85213062, IP 194.252.98.195, Port 22
2025-07-07 14:21:30,619 - DEBUG - VM ctest-TestRoutersBasic-60733023-85213062 is ready for SSH connections
2025-07-07 14:21:30,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-07 14:21:30,620 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.252.98.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-07-07 14:21:30,620 - DEBUG - ping -s 56 -c 3 -W 1 194.252.98.195
2025-07-07 14:21:34,631 - DEBUG - PING 194.252.98.195 (194.252.98.195): 56 data bytes
64 bytes from 194.252.98.195: seq=0 ttl=62 time=5.761 ms
64 bytes from 194.252.98.195: seq=1 ttl=62 time=0.974 ms
64 bytes from 194.252.98.195: seq=2 ttl=62 time=0.956 ms
--- 194.252.98.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.956/2.563/5.761 ms
2025-07-07 14:21:34,631 - INFO - Ping to IP 194.252.98.195 from VM ctest-TestRoutersBasic-60733023-73933395 passed
2025-07-07 14:21:34,631 - INFO - Deleting interface with subnet_id 9be24abe-3cd6-493d-aab0-9613d0f42b28, port_id None from router 63435e85-22a4-4922-8656-ebf45a9d3039
2025-07-07 14:21:34,814 - INFO - Deleting VM ctest-TestRoutersBasic-60733023-85213062
2025-07-07 14:21:34,878 - INFO - Deleting VM ctest-TestRoutersBasic-60733023-73933395
2025-07-07 14:21:34,958 - INFO - Deleting VN ctest-ext_vn-75509118
2025-07-07 14:21:35,030 - DEBUG - VN a1d36614-3fc0-48bd-8e86-d9cef9f82511 still in use: Unable to complete operation on network a1d36614-3fc0-48bd-8e86-d9cef9f82511. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-20564dad-8601-4c54-a704-cbbec86eef74']
2025-07-07 14:21:35,030 - WARNING - Deleting VN ctest-ext_vn-75509118 failed..Will retry
2025-07-07 14:21:37,130 - DEBUG - Response for deleting network ()
2025-07-07 14:21:37,130 - INFO - Deleting VN ctest-vn-92953082
2025-07-07 14:21:37,261 - DEBUG - Response for deleting network ()
2025-07-07 14:21:37,524 - DEBUG - No XMPP flaps were noticed during the test
2025-07-07 14:21:37,524 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-07-07 14:21:37,524 - INFO - --------------------------------------------------------------------------------
2025-07-07 14:21:38,197 - INFO - Deleted project: ctest-TestRoutersBasic-60733023, ID : ad259f16-fcc5-4f84-b180-79c9eac6d310