2025-11-04 07:23:15,942 - INFO - Domain Default found not creating
2025-11-04 07:23:16,080 - INFO - Project ctest-TestRoutersBasic-19743190 not found, creating it
2025-11-04 07:23:16,516 - INFO - Created Project:ctest-TestRoutersBasic-19743190, ID : fb21760c-bfb5-405b-b7c3-0a00c0e2bbe2
2025-11-04 07:23:17,914 - INFO - ================================================================================
2025-11-04 07:23:17,914 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-11-04 07:23:17,914 - 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-11-04 07:23:18,172 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-11-04 07:23:18,172 - INFO - Initial checks done. Running the testcase now
2025-11-04 07:23:18,172 - INFO -
2025-11-04 07:23:18,887 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-19743190
2025-11-04 07:23:18,983 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-19743190
2025-11-04 07:23:19,299 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19743190', 'default']}
2025-11-04 07:23:19,566 - DEBUG - Response for create_network : {'network': {'id': '47865d7a-a92f-416a-a5ac-5b1c91e72ce5', 'name': 'ctest-vn-29633058', 'tenant_id': 'fb21760cbfb5405bb7c30a00c0e2bbe2', 'project_id': 'fb21760cbfb5405bb7c30a00c0e2bbe2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19743190', 'ctest-vn-29633058'], 'port_security_enabled': True, 'description': ''}}
2025-11-04 07:23:19,732 - DEBUG - Response for create_subnet : {'subnet': {'id': '013b6e2c-32dc-43fa-892d-0a85c1c64a62', 'name': '', 'tenant_id': 'fb21760cbfb5405bb7c30a00c0e2bbe2', 'network_id': '47865d7a-a92f-416a-a5ac-5b1c91e72ce5', 'ip_version': 4, 'cidr': '153.15.75.0/26', 'allocation_pools': [{'start': '153.15.75.2', 'end': '153.15.75.62'}], 'gateway_ip': '153.15.75.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.15.75.2', 'tags': [], 'project_id': 'fb21760cbfb5405bb7c30a00c0e2bbe2'}}
2025-11-04 07:23:19,745 - INFO - Created VN ctest-vn-29633058
2025-11-04 07:23:19,799 - DEBUG - VN ctest-vn-29633058 UUID is 47865d7a-a92f-416a-a5ac-5b1c91e72ce5
2025-11-04 07:23:20,129 - DEBUG - Response for create_network : {'network': {'id': '8ebd6983-0125-4b7d-8a56-e7a683ba1da6', 'name': 'ctest-ext_vn-66734670', 'tenant_id': 'fb21760cbfb5405bb7c30a00c0e2bbe2', 'project_id': 'fb21760cbfb5405bb7c30a00c0e2bbe2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19743190', 'ctest-ext_vn-66734670'], 'port_security_enabled': True, 'description': ''}}
2025-11-04 07:23:20,303 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b8ae5f7c-1460-4dde-8319-9a55357e22dc', 'name': '', 'tenant_id': 'fb21760cbfb5405bb7c30a00c0e2bbe2', 'network_id': '8ebd6983-0125-4b7d-8a56-e7a683ba1da6', 'ip_version': 4, 'cidr': '45.210.10.0/26', 'allocation_pools': [{'start': '45.210.10.2', 'end': '45.210.10.62'}], 'gateway_ip': '45.210.10.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.210.10.2', 'tags': [], 'project_id': 'fb21760cbfb5405bb7c30a00c0e2bbe2'}}
2025-11-04 07:23:20,318 - INFO - Created VN ctest-ext_vn-66734670
2025-11-04 07:23:20,371 - DEBUG - VN ctest-ext_vn-66734670 UUID is 8ebd6983-0125-4b7d-8a56-e7a683ba1da6
2025-11-04 07:23:20,565 - DEBUG - Services list from nova: [, , ]
2025-11-04 07:23:21,565 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4614-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4614-1)
2025-11-04 07:23:22,647 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4614-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4614-1)
2025-11-04 07:23:22,718 - INFO - Setting gateway for router 086454fe-c7c8-4061-af13-34fc4c4c6763 to network 8ebd6983-0125-4b7d-8a56-e7a683ba1da6
2025-11-04 07:23:22,792 - INFO - Adding interface with subnet_id 013b6e2c-32dc-43fa-892d-0a85c1c64a62, port_id None to router 086454fe-c7c8-4061-af13-34fc4c4c6763
2025-11-04 07:23:23,128 - INFO - Waiting for VM ctest-TestRoutersBasic-19743190-82039243 to be up..
2025-11-04 07:23:23,245 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-04 07:23:28,313 - DEBUG - VM is in ACTIVE state now
2025-11-04 07:23:28,313 - INFO - VM name : ctest-TestRoutersBasic-19743190-82039243
2025-11-04 07:23:28,391 - DEBUG - VM ctest-TestRoutersBasic-19743190-82039243 ID is bf65bdb1-cd6f-43b4-90bb-3fbe8792f667
2025-11-04 07:23:28,417 - DEBUG - VM ctest-TestRoutersBasic-19743190-82039243 launched on Node cn-jenkins-deploy-platform-ansible-os-4614-1
2025-11-04 07:23:28,488 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/bf65bdb1-cd6f-43b4-90bb-3fbe8792f667
2025-11-04 07:23:28,803 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/bf65bdb1-cd6f-43b4-90bb-3fbe8792f667
2025-11-04 07:23:28,825 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/dcf5988c-0c77-4d8c-97db-f92ce8d55c9e
2025-11-04 07:23:30,079 - 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.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.10 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 = 2.104/2.846/3.588/0.742 ms')
2025-11-04 07:23:30,079 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19743190-82039243 passed
2025-11-04 07:23:30,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 07:23:30,231 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19743190-82039243, IP 153.15.75.3, Port 22
2025-11-04 07:23:30,296 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-11-04 07:23:30,362 - DEBUG - VM ctest-TestRoutersBasic-19743190-82039243 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-04 07:23:35,363 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 07:23:35,363 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19743190-82039243, IP 153.15.75.3, Port 22
2025-11-04 07:23:35,523 - DEBUG - VM ctest-TestRoutersBasic-19743190-82039243 is ready for SSH connections
2025-11-04 07:23:35,523 - INFO - Waiting for VM ctest-TestRoutersBasic-19743190-79962059 to be up..
2025-11-04 07:23:35,599 - DEBUG - VM is in ACTIVE state now
2025-11-04 07:23:35,599 - INFO - VM name : ctest-TestRoutersBasic-19743190-79962059
2025-11-04 07:23:35,670 - DEBUG - VM ctest-TestRoutersBasic-19743190-79962059 ID is da0be9bc-d83b-4843-a8eb-6ddee0a36a6b
2025-11-04 07:23:35,670 - DEBUG - VM ctest-TestRoutersBasic-19743190-79962059 launched on Node cn-jenkins-deploy-platform-ansible-os-4614-1
2025-11-04 07:23:35,736 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/da0be9bc-d83b-4843-a8eb-6ddee0a36a6b
2025-11-04 07:23:35,745 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/dc6d7b4b-a9c7-4b61-b43b-47c6b2ba8879
2025-11-04 07:23:36,980 - 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.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.431 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.431/2.432/4.434/2.001 ms')
2025-11-04 07:23:36,980 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-19743190-79962059 passed
2025-11-04 07:23:37,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 07:23:37,127 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19743190-79962059, IP 45.210.10.3, Port 22
2025-11-04 07:23:37,287 - DEBUG - VM ctest-TestRoutersBasic-19743190-79962059 is ready for SSH connections
2025-11-04 07:23:37,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 07:23:37,287 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.210.10.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-11-04 07:23:37,287 - DEBUG - ping -s 56 -c 3 -W 1 45.210.10.3
2025-11-04 07:23:41,189 - DEBUG - PING 45.210.10.3 (45.210.10.3): 56 data bytes
64 bytes from 45.210.10.3: seq=0 ttl=62 time=5.654 ms
64 bytes from 45.210.10.3: seq=1 ttl=62 time=1.121 ms
64 bytes from 45.210.10.3: seq=2 ttl=62 time=1.023 ms
--- 45.210.10.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.023/2.599/5.654 ms
2025-11-04 07:23:41,189 - INFO - Ping to IP 45.210.10.3 from VM ctest-TestRoutersBasic-19743190-82039243 passed
2025-11-04 07:23:41,189 - INFO - Deleting interface with subnet_id 013b6e2c-32dc-43fa-892d-0a85c1c64a62, port_id None from router 086454fe-c7c8-4061-af13-34fc4c4c6763
2025-11-04 07:23:41,362 - INFO - Deleting VM ctest-TestRoutersBasic-19743190-79962059
2025-11-04 07:23:41,432 - INFO - Deleting VM ctest-TestRoutersBasic-19743190-82039243
2025-11-04 07:23:41,510 - INFO - Deleting VN ctest-ext_vn-66734670
2025-11-04 07:23:41,579 - DEBUG - VN 8ebd6983-0125-4b7d-8a56-e7a683ba1da6 still in use: Unable to complete operation on network 8ebd6983-0125-4b7d-8a56-e7a683ba1da6. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-772d41bc-4222-4dcb-b4d3-19148b67eef3']
2025-11-04 07:23:41,580 - WARNING - Deleting VN ctest-ext_vn-66734670 failed..Will retry
2025-11-04 07:23:43,673 - DEBUG - Response for deleting network ()
2025-11-04 07:23:43,674 - INFO - Deleting VN ctest-vn-29633058
2025-11-04 07:23:43,763 - DEBUG - Response for deleting network ()
2025-11-04 07:23:44,020 - DEBUG - No XMPP flaps were noticed during the test
2025-11-04 07:23:44,020 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-11-04 07:23:44,020 - INFO - --------------------------------------------------------------------------------
2025-11-04 07:23:44,689 - INFO - Deleted project: ctest-TestRoutersBasic-19743190, ID : fb21760c-bfb5-405b-b7c3-0a00c0e2bbe2