2025-10-09 21:05:07,961 - INFO - Domain Default found not creating
2025-10-09 21:05:08,130 - INFO - Project ctest-TestRoutersBasic-75483863 not found, creating it
2025-10-09 21:05:08,590 - INFO - Created Project:ctest-TestRoutersBasic-75483863, ID : 67acc91b-ae57-4f3a-8a0c-f3271b78ca0a
2025-10-09 21:05:10,144 - INFO - ================================================================================
2025-10-09 21:05:10,144 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-09 21:05:10,144 - 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-09 21:05:10,399 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.209': '0'}} with
2025-10-09 21:05:10,400 - INFO - Initial checks done. Running the testcase now
2025-10-09 21:05:10,400 - INFO -
2025-10-09 21:05:11,201 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-75483863
2025-10-09 21:05:11,297 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-75483863
2025-10-09 21:05:11,625 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75483863', 'default']}
2025-10-09 21:05:11,922 - DEBUG - Response for create_network : {'network': {'id': '643414c3-d7bf-42d3-991a-53e5e67ac871', 'name': 'ctest-vn-50538915', 'tenant_id': '67acc91bae574f3a8a0cf3271b78ca0a', 'project_id': '67acc91bae574f3a8a0cf3271b78ca0a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75483863', 'ctest-vn-50538915'], 'port_security_enabled': True, 'description': ''}}
2025-10-09 21:05:12,154 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b2947298-d5e3-485c-8e23-9611d490b941', 'name': '', 'tenant_id': '67acc91bae574f3a8a0cf3271b78ca0a', 'network_id': '643414c3-d7bf-42d3-991a-53e5e67ac871', 'ip_version': 4, 'cidr': '181.123.147.128/26', 'allocation_pools': [{'start': '181.123.147.130', 'end': '181.123.147.190'}], 'gateway_ip': '181.123.147.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.123.147.130', 'tags': [], 'project_id': '67acc91bae574f3a8a0cf3271b78ca0a'}}
2025-10-09 21:05:12,173 - INFO - Created VN ctest-vn-50538915
2025-10-09 21:05:12,225 - DEBUG - VN ctest-vn-50538915 UUID is 643414c3-d7bf-42d3-991a-53e5e67ac871
2025-10-09 21:05:12,566 - DEBUG - Response for create_network : {'network': {'id': '44cb52e7-dddb-4124-b74e-12cbbdd92ca2', 'name': 'ctest-ext_vn-49223514', 'tenant_id': '67acc91bae574f3a8a0cf3271b78ca0a', 'project_id': '67acc91bae574f3a8a0cf3271b78ca0a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75483863', 'ctest-ext_vn-49223514'], 'port_security_enabled': True, 'description': ''}}
2025-10-09 21:05:12,767 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd3cd4de9-4427-46f8-91cc-2fff8cdc94fe', 'name': '', 'tenant_id': '67acc91bae574f3a8a0cf3271b78ca0a', 'network_id': '44cb52e7-dddb-4124-b74e-12cbbdd92ca2', 'ip_version': 4, 'cidr': '31.124.114.128/26', 'allocation_pools': [{'start': '31.124.114.130', 'end': '31.124.114.190'}], 'gateway_ip': '31.124.114.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.124.114.130', 'tags': [], 'project_id': '67acc91bae574f3a8a0cf3271b78ca0a'}}
2025-10-09 21:05:12,784 - INFO - Created VN ctest-ext_vn-49223514
2025-10-09 21:05:12,837 - DEBUG - VN ctest-ext_vn-49223514 UUID is 44cb52e7-dddb-4124-b74e-12cbbdd92ca2
2025-10-09 21:05:13,013 - DEBUG - Services list from nova: [, , ]
2025-10-09 21:05:14,133 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4279-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4279-1)
2025-10-09 21:05:15,507 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4279-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4279-1)
2025-10-09 21:05:15,604 - INFO - Setting gateway for router 25f3fdec-db9b-4936-9342-6fa103c15285 to network 44cb52e7-dddb-4124-b74e-12cbbdd92ca2
2025-10-09 21:05:15,694 - INFO - Adding interface with subnet_id b2947298-d5e3-485c-8e23-9611d490b941, port_id None to router 25f3fdec-db9b-4936-9342-6fa103c15285
2025-10-09 21:05:16,114 - INFO - Waiting for VM ctest-TestRoutersBasic-75483863-80121839 to be up..
2025-10-09 21:05:16,294 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-09 21:05:21,385 - DEBUG - VM is in ACTIVE state now
2025-10-09 21:05:21,385 - INFO - VM name : ctest-TestRoutersBasic-75483863-80121839
2025-10-09 21:05:21,471 - DEBUG - VM ctest-TestRoutersBasic-75483863-80121839 ID is 0e5bbb64-9ac2-4e6c-a0c0-880adedc0350
2025-10-09 21:05:21,506 - DEBUG - VM ctest-TestRoutersBasic-75483863-80121839 launched on Node cn-jenkins-deploy-platform-ansible-os-4279-1
2025-10-09 21:05:21,586 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0e5bbb64-9ac2-4e6c-a0c0-880adedc0350
2025-10-09 21:05:21,925 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0e5bbb64-9ac2-4e6c-a0c0-880adedc0350
2025-10-09 21:05:21,959 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0f2f4a55-c0c8-47a8-a854-75de98a167e9
2025-10-09 21:05:25,202 - 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 1008ms')
2025-10-09 21:05:25,202 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75483863-80121839 failed!
2025-10-09 21:05:25,257 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-75483863:ctest-vn-50538915 is 181.123.147.129 and allocation pool is NOT set
2025-10-09 21:05:27,322 - 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=4.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.06 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 = 1.056/2.798/4.541/1.742 ms')
2025-10-09 21:05:27,323 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75483863-80121839 passed
2025-10-09 21:05:27,473 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 21:05:27,473 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75483863-80121839, IP 181.123.147.131, Port 22
2025-10-09 21:05:27,629 - DEBUG - VM ctest-TestRoutersBasic-75483863-80121839 is ready for SSH connections
2025-10-09 21:05:27,629 - INFO - Waiting for VM ctest-TestRoutersBasic-75483863-59599749 to be up..
2025-10-09 21:05:27,716 - DEBUG - VM is in ACTIVE state now
2025-10-09 21:05:27,716 - INFO - VM name : ctest-TestRoutersBasic-75483863-59599749
2025-10-09 21:05:27,796 - DEBUG - VM ctest-TestRoutersBasic-75483863-59599749 ID is 2926d5b0-1ebd-4d13-8d09-5bbcb335170b
2025-10-09 21:05:27,796 - DEBUG - VM ctest-TestRoutersBasic-75483863-59599749 launched on Node cn-jenkins-deploy-platform-ansible-os-4279-1
2025-10-09 21:05:27,871 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/2926d5b0-1ebd-4d13-8d09-5bbcb335170b
2025-10-09 21:05:27,880 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/5c6a50e5-9cac-4b1e-b508-fa11fae66a94
2025-10-09 21:05:29,124 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.531 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.531/1.916/3.302/1.385 ms')
2025-10-09 21:05:29,124 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-75483863-59599749 passed
2025-10-09 21:05:29,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 21:05:29,278 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75483863-59599749, IP 31.124.114.131, Port 22
2025-10-09 21:05:29,437 - DEBUG - VM ctest-TestRoutersBasic-75483863-59599749 is ready for SSH connections
2025-10-09 21:05:29,437 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 21:05:29,437 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.124.114.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-10-09 21:05:29,437 - DEBUG - ping -s 56 -c 3 -W 1 31.124.114.131
2025-10-09 21:05:33,172 - DEBUG - PING 31.124.114.131 (31.124.114.131): 56 data bytes
64 bytes from 31.124.114.131: seq=0 ttl=62 time=5.315 ms
64 bytes from 31.124.114.131: seq=1 ttl=62 time=0.904 ms
64 bytes from 31.124.114.131: seq=2 ttl=62 time=0.966 ms
--- 31.124.114.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.904/2.395/5.315 ms
2025-10-09 21:05:33,173 - INFO - Ping to IP 31.124.114.131 from VM ctest-TestRoutersBasic-75483863-80121839 passed
2025-10-09 21:05:33,173 - INFO - Deleting interface with subnet_id b2947298-d5e3-485c-8e23-9611d490b941, port_id None from router 25f3fdec-db9b-4936-9342-6fa103c15285
2025-10-09 21:05:33,379 - INFO - Deleting VM ctest-TestRoutersBasic-75483863-59599749
2025-10-09 21:05:33,450 - INFO - Deleting VM ctest-TestRoutersBasic-75483863-80121839
2025-10-09 21:05:33,535 - INFO - Deleting VN ctest-ext_vn-49223514
2025-10-09 21:05:33,604 - DEBUG - VN 44cb52e7-dddb-4124-b74e-12cbbdd92ca2 still in use: Unable to complete operation on network 44cb52e7-dddb-4124-b74e-12cbbdd92ca2. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-38089e25-e25b-4879-8ada-59d481dd33ce']
2025-10-09 21:05:33,604 - WARNING - Deleting VN ctest-ext_vn-49223514 failed..Will retry
2025-10-09 21:05:35,731 - DEBUG - Response for deleting network ()
2025-10-09 21:05:35,731 - INFO - Deleting VN ctest-vn-50538915
2025-10-09 21:05:35,848 - DEBUG - Response for deleting network ()
2025-10-09 21:05:36,102 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 21:05:36,102 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-10-09 21:05:36,102 - INFO - --------------------------------------------------------------------------------
2025-10-09 21:05:36,829 - INFO - Deleted project: ctest-TestRoutersBasic-75483863, ID : 67acc91b-ae57-4f3a-8a0c-f3271b78ca0a