2025-10-16 18:11:33,602 - INFO - Domain Default found not creating
2025-10-16 18:11:33,739 - INFO - Project ctest-TestRoutersBasic-03742218 not found, creating it
2025-10-16 18:11:34,172 - INFO - Created Project:ctest-TestRoutersBasic-03742218, ID : dcc3860f-2187-4e8a-93e7-6b9c4d3e142c
2025-10-16 18:11:35,596 - INFO - ================================================================================
2025-10-16 18:11:35,596 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-16 18:11:35,596 - 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-16 18:11:35,848 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-10-16 18:11:35,848 - INFO - Initial checks done. Running the testcase now
2025-10-16 18:11:35,849 - INFO -
2025-10-16 18:11:36,529 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-03742218
2025-10-16 18:11:36,624 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-03742218
2025-10-16 18:11:36,944 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03742218', 'default']}
2025-10-16 18:11:37,227 - DEBUG - Response for create_network : {'network': {'id': 'ec47beed-7c24-4127-801f-38c62240a1c3', 'name': 'ctest-vn-69420882', 'tenant_id': 'dcc3860f21874e8a93e76b9c4d3e142c', 'project_id': 'dcc3860f21874e8a93e76b9c4d3e142c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03742218', 'ctest-vn-69420882'], 'port_security_enabled': True, 'description': ''}}
2025-10-16 18:11:37,415 - DEBUG - Response for create_subnet : {'subnet': {'id': '6a2ab36d-07cd-4cf3-b743-01b4f9ce08d6', 'name': '', 'tenant_id': 'dcc3860f21874e8a93e76b9c4d3e142c', 'network_id': 'ec47beed-7c24-4127-801f-38c62240a1c3', 'ip_version': 4, 'cidr': '125.154.80.0/26', 'allocation_pools': [{'start': '125.154.80.2', 'end': '125.154.80.62'}], 'gateway_ip': '125.154.80.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.154.80.2', 'tags': [], 'project_id': 'dcc3860f21874e8a93e76b9c4d3e142c'}}
2025-10-16 18:11:37,435 - INFO - Created VN ctest-vn-69420882
2025-10-16 18:11:37,488 - DEBUG - VN ctest-vn-69420882 UUID is ec47beed-7c24-4127-801f-38c62240a1c3
2025-10-16 18:11:37,815 - DEBUG - Response for create_network : {'network': {'id': '314e1a6a-0dd4-4465-9742-e1e00ca4075b', 'name': 'ctest-ext_vn-58663589', 'tenant_id': 'dcc3860f21874e8a93e76b9c4d3e142c', 'project_id': 'dcc3860f21874e8a93e76b9c4d3e142c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03742218', 'ctest-ext_vn-58663589'], 'port_security_enabled': True, 'description': ''}}
2025-10-16 18:11:37,988 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e2bf589d-77ca-4237-945f-3aac5d97bb02', 'name': '', 'tenant_id': 'dcc3860f21874e8a93e76b9c4d3e142c', 'network_id': '314e1a6a-0dd4-4465-9742-e1e00ca4075b', 'ip_version': 4, 'cidr': '8.231.128.128/26', 'allocation_pools': [{'start': '8.231.128.130', 'end': '8.231.128.190'}], 'gateway_ip': '8.231.128.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.231.128.130', 'tags': [], 'project_id': 'dcc3860f21874e8a93e76b9c4d3e142c'}}
2025-10-16 18:11:38,004 - INFO - Created VN ctest-ext_vn-58663589
2025-10-16 18:11:38,056 - DEBUG - VN ctest-ext_vn-58663589 UUID is 314e1a6a-0dd4-4465-9742-e1e00ca4075b
2025-10-16 18:11:38,214 - DEBUG - Services list from nova: [, , ]
2025-10-16 18:11:39,194 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4350-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4350-1)
2025-10-16 18:11:40,235 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4350-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4350-1)
2025-10-16 18:11:40,286 - INFO - Setting gateway for router e04e1b2f-3fc1-45d9-9d86-8d7e9af629fd to network 314e1a6a-0dd4-4465-9742-e1e00ca4075b
2025-10-16 18:11:40,339 - INFO - Adding interface with subnet_id 6a2ab36d-07cd-4cf3-b743-01b4f9ce08d6, port_id None to router e04e1b2f-3fc1-45d9-9d86-8d7e9af629fd
2025-10-16 18:11:40,614 - INFO - Waiting for VM ctest-TestRoutersBasic-03742218-96842310 to be up..
2025-10-16 18:11:40,748 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-16 18:11:45,821 - DEBUG - VM is in ACTIVE state now
2025-10-16 18:11:45,821 - INFO - VM name : ctest-TestRoutersBasic-03742218-96842310
2025-10-16 18:11:45,891 - DEBUG - VM ctest-TestRoutersBasic-03742218-96842310 ID is 6940fe24-7333-4481-a3d0-4443b06979e0
2025-10-16 18:11:45,908 - DEBUG - VM ctest-TestRoutersBasic-03742218-96842310 launched on Node cn-jenkins-deploy-platform-ansible-os-4350-1
2025-10-16 18:11:45,975 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/6940fe24-7333-4481-a3d0-4443b06979e0
2025-10-16 18:11:46,265 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/6940fe24-7333-4481-a3d0-4443b06979e0
2025-10-16 18:11:46,294 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d84deacc-f461-42c8-b1d6-683e4db2cc05
2025-10-16 18:11:49,531 - 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 1004ms')
2025-10-16 18:11:49,531 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03742218-96842310 failed!
2025-10-16 18:11:49,584 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-03742218:ctest-vn-69420882 is 125.154.80.1 and allocation pool is NOT set
2025-10-16 18:11:51,639 - 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=2.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.522 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.522/1.752/2.983/1.230 ms')
2025-10-16 18:11:51,639 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03742218-96842310 passed
2025-10-16 18:11:51,788 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 18:11:51,788 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03742218-96842310, IP 125.154.80.3, Port 22
2025-10-16 18:11:51,943 - DEBUG - VM ctest-TestRoutersBasic-03742218-96842310 is ready for SSH connections
2025-10-16 18:11:51,943 - INFO - Waiting for VM ctest-TestRoutersBasic-03742218-16785187 to be up..
2025-10-16 18:11:52,009 - DEBUG - VM is in ACTIVE state now
2025-10-16 18:11:52,009 - INFO - VM name : ctest-TestRoutersBasic-03742218-16785187
2025-10-16 18:11:52,080 - DEBUG - VM ctest-TestRoutersBasic-03742218-16785187 ID is 841b6ffa-b033-4796-b116-84a22944594e
2025-10-16 18:11:52,080 - DEBUG - VM ctest-TestRoutersBasic-03742218-16785187 launched on Node cn-jenkins-deploy-platform-ansible-os-4350-1
2025-10-16 18:11:52,148 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/841b6ffa-b033-4796-b116-84a22944594e
2025-10-16 18:11:52,156 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/f09b80b1-9467-459c-a688-c36b5105bc51
2025-10-16 18:11:53,389 - 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=2.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.367 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.367/1.566/2.766/1.199 ms')
2025-10-16 18:11:53,389 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-03742218-16785187 passed
2025-10-16 18:11:53,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 18:11:53,536 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03742218-16785187, IP 8.231.128.131, Port 22
2025-10-16 18:11:53,691 - DEBUG - VM ctest-TestRoutersBasic-03742218-16785187 is ready for SSH connections
2025-10-16 18:11:53,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 18:11:53,691 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.231.128.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-10-16 18:11:53,692 - DEBUG - ping -s 56 -c 3 -W 1 8.231.128.131
2025-10-16 18:11:57,689 - DEBUG - PING 8.231.128.131 (8.231.128.131): 56 data bytes
64 bytes from 8.231.128.131: seq=0 ttl=62 time=4.744 ms
64 bytes from 8.231.128.131: seq=1 ttl=62 time=0.748 ms
64 bytes from 8.231.128.131: seq=2 ttl=62 time=0.986 ms
--- 8.231.128.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.748/2.159/4.744 ms
2025-10-16 18:11:57,689 - INFO - Ping to IP 8.231.128.131 from VM ctest-TestRoutersBasic-03742218-96842310 passed
2025-10-16 18:11:57,690 - INFO - Deleting interface with subnet_id 6a2ab36d-07cd-4cf3-b743-01b4f9ce08d6, port_id None from router e04e1b2f-3fc1-45d9-9d86-8d7e9af629fd
2025-10-16 18:11:57,850 - INFO - Deleting VM ctest-TestRoutersBasic-03742218-16785187
2025-10-16 18:11:57,918 - INFO - Deleting VM ctest-TestRoutersBasic-03742218-96842310
2025-10-16 18:11:58,000 - INFO - Deleting VN ctest-ext_vn-58663589
2025-10-16 18:11:58,059 - DEBUG - VN 314e1a6a-0dd4-4465-9742-e1e00ca4075b still in use: Unable to complete operation on network 314e1a6a-0dd4-4465-9742-e1e00ca4075b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-506aca28-a004-44eb-8249-ccd5571c2809']
2025-10-16 18:11:58,059 - WARNING - Deleting VN ctest-ext_vn-58663589 failed..Will retry
2025-10-16 18:12:00,148 - DEBUG - Response for deleting network ()
2025-10-16 18:12:00,148 - INFO - Deleting VN ctest-vn-69420882
2025-10-16 18:12:00,234 - DEBUG - Response for deleting network ()
2025-10-16 18:12:00,488 - DEBUG - No XMPP flaps were noticed during the test
2025-10-16 18:12:00,488 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-16 18:12:00,488 - INFO - --------------------------------------------------------------------------------
2025-10-16 18:12:01,154 - INFO - Deleted project: ctest-TestRoutersBasic-03742218, ID : dcc3860f-2187-4e8a-93e7-6b9c4d3e142c