2025-11-12 14:37:34,252 - INFO - Domain Default found not creating
2025-11-12 14:37:34,412 - INFO - Project ctest-TestRoutersBasic-12288139 not found, creating it
2025-11-12 14:37:34,902 - INFO - Created Project:ctest-TestRoutersBasic-12288139, ID : cc43c214-abc8-459e-893c-0f88446063b5
2025-11-12 14:37:36,484 - INFO - ================================================================================
2025-11-12 14:37:36,484 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-11-12 14:37:36,484 - 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-12 14:37:36,739 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.254': '0'}} with
2025-11-12 14:37:36,739 - INFO - Initial checks done. Running the testcase now
2025-11-12 14:37:36,739 - INFO -
2025-11-12 14:37:37,496 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-12288139
2025-11-12 14:37:37,590 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-12288139
2025-11-12 14:37:37,914 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12288139', 'default']}
2025-11-12 14:37:38,254 - DEBUG - Response for create_network : {'network': {'id': 'c29c2159-4813-45b1-9c13-6a9638469da8', 'name': 'ctest-vn-33342361', 'tenant_id': 'cc43c214abc8459e893c0f88446063b5', 'project_id': 'cc43c214abc8459e893c0f88446063b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12288139', 'ctest-vn-33342361'], 'port_security_enabled': True, 'description': ''}}
2025-11-12 14:37:38,453 - DEBUG - Response for create_subnet : {'subnet': {'id': 'df60ac6b-867d-41cd-81de-56b74b84af85', 'name': '', 'tenant_id': 'cc43c214abc8459e893c0f88446063b5', 'network_id': 'c29c2159-4813-45b1-9c13-6a9638469da8', 'ip_version': 4, 'cidr': '222.130.80.192/26', 'allocation_pools': [{'start': '222.130.80.194', 'end': '222.130.80.254'}], 'gateway_ip': '222.130.80.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.130.80.194', 'tags': [], 'project_id': 'cc43c214abc8459e893c0f88446063b5'}}
2025-11-12 14:37:38,472 - INFO - Created VN ctest-vn-33342361
2025-11-12 14:37:38,526 - DEBUG - VN ctest-vn-33342361 UUID is c29c2159-4813-45b1-9c13-6a9638469da8
2025-11-12 14:37:38,886 - DEBUG - Response for create_network : {'network': {'id': '0a8da1a3-101e-4874-a281-553627ef440a', 'name': 'ctest-ext_vn-35536734', 'tenant_id': 'cc43c214abc8459e893c0f88446063b5', 'project_id': 'cc43c214abc8459e893c0f88446063b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12288139', 'ctest-ext_vn-35536734'], 'port_security_enabled': True, 'description': ''}}
2025-11-12 14:37:39,088 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c470c625-c7df-441c-a707-96baf0a8d2be', 'name': '', 'tenant_id': 'cc43c214abc8459e893c0f88446063b5', 'network_id': '0a8da1a3-101e-4874-a281-553627ef440a', 'ip_version': 4, 'cidr': '151.77.177.192/26', 'allocation_pools': [{'start': '151.77.177.194', 'end': '151.77.177.254'}], 'gateway_ip': '151.77.177.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.77.177.194', 'tags': [], 'project_id': 'cc43c214abc8459e893c0f88446063b5'}}
2025-11-12 14:37:39,107 - INFO - Created VN ctest-ext_vn-35536734
2025-11-12 14:37:39,158 - DEBUG - VN ctest-ext_vn-35536734 UUID is 0a8da1a3-101e-4874-a281-553627ef440a
2025-11-12 14:37:39,366 - DEBUG - Services list from nova: [, , ]
2025-11-12 14:37:40,461 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4704-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4704-1)
2025-11-12 14:37:41,788 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4704-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4704-1)
2025-11-12 14:37:41,884 - INFO - Setting gateway for router 54f27db2-2b92-4d53-bd10-37e4b90688c8 to network 0a8da1a3-101e-4874-a281-553627ef440a
2025-11-12 14:37:41,949 - INFO - Adding interface with subnet_id df60ac6b-867d-41cd-81de-56b74b84af85, port_id None to router 54f27db2-2b92-4d53-bd10-37e4b90688c8
2025-11-12 14:37:42,420 - INFO - Waiting for VM ctest-TestRoutersBasic-12288139-28225980 to be up..
2025-11-12 14:37:42,565 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-12 14:37:47,651 - DEBUG - VM is in ACTIVE state now
2025-11-12 14:37:47,651 - INFO - VM name : ctest-TestRoutersBasic-12288139-28225980
2025-11-12 14:37:47,749 - DEBUG - VM ctest-TestRoutersBasic-12288139-28225980 ID is 337e4ebe-d299-4b19-9424-3c587d9161eb
2025-11-12 14:37:47,775 - DEBUG - VM ctest-TestRoutersBasic-12288139-28225980 launched on Node cn-jenkins-deploy-platform-ansible-os-4704-1
2025-11-12 14:37:47,867 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/337e4ebe-d299-4b19-9424-3c587d9161eb
2025-11-12 14:37:48,248 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/337e4ebe-d299-4b19-9424-3c587d9161eb
2025-11-12 14:37:48,306 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/fd3ff4e1-f2d1-4e28-af1d-e036248cfef4
2025-11-12 14:37:51,588 - 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 1013ms')
2025-11-12 14:37:51,588 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12288139-28225980 failed!
2025-11-12 14:37:51,646 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-12288139:ctest-vn-33342361 is 222.130.80.193 and allocation pool is NOT set
2025-11-12 14:37:53,708 - 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.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.770 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.770/2.333/3.897/1.563 ms')
2025-11-12 14:37:53,708 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12288139-28225980 passed
2025-11-12 14:37:53,854 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 14:37:53,854 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12288139-28225980, IP 222.130.80.195, Port 22
2025-11-12 14:37:53,920 - 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-12 14:37:53,995 - DEBUG - VM ctest-TestRoutersBasic-12288139-28225980 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-12 14:37:58,995 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 14:37:58,996 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12288139-28225980, IP 222.130.80.195, Port 22
2025-11-12 14:37:59,154 - DEBUG - VM ctest-TestRoutersBasic-12288139-28225980 is ready for SSH connections
2025-11-12 14:37:59,154 - INFO - Waiting for VM ctest-TestRoutersBasic-12288139-83097802 to be up..
2025-11-12 14:37:59,237 - DEBUG - VM is in ACTIVE state now
2025-11-12 14:37:59,237 - INFO - VM name : ctest-TestRoutersBasic-12288139-83097802
2025-11-12 14:37:59,318 - DEBUG - VM ctest-TestRoutersBasic-12288139-83097802 ID is 70a9bfb8-f1a1-4a22-9632-c18376e12c41
2025-11-12 14:37:59,318 - DEBUG - VM ctest-TestRoutersBasic-12288139-83097802 launched on Node cn-jenkins-deploy-platform-ansible-os-4704-1
2025-11-12 14:37:59,404 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/70a9bfb8-f1a1-4a22-9632-c18376e12c41
2025-11-12 14:37:59,412 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/d753d36f-57d6-4fac-b2e9-b8a5a10c6f33
2025-11-12 14:38:00,655 - 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.09 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 1000ms\r\nrtt min/avg/max/mdev = 0.531/1.812/3.094/1.281 ms')
2025-11-12 14:38:00,655 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-12288139-83097802 passed
2025-11-12 14:38:00,814 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 14:38:00,815 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12288139-83097802, IP 151.77.177.195, Port 22
2025-11-12 14:38:00,984 - DEBUG - VM ctest-TestRoutersBasic-12288139-83097802 is ready for SSH connections
2025-11-12 14:38:00,984 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 14:38:00,984 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.77.177.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123
2025-11-12 14:38:00,984 - DEBUG - ping -s 56 -c 3 -W 1 151.77.177.195
2025-11-12 14:38:04,742 - DEBUG - PING 151.77.177.195 (151.77.177.195): 56 data bytes
64 bytes from 151.77.177.195: seq=0 ttl=62 time=5.055 ms
64 bytes from 151.77.177.195: seq=1 ttl=62 time=1.238 ms
64 bytes from 151.77.177.195: seq=2 ttl=62 time=1.086 ms
--- 151.77.177.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.086/2.459/5.055 ms
2025-11-12 14:38:04,742 - INFO - Ping to IP 151.77.177.195 from VM ctest-TestRoutersBasic-12288139-28225980 passed
2025-11-12 14:38:04,742 - INFO - Deleting interface with subnet_id df60ac6b-867d-41cd-81de-56b74b84af85, port_id None from router 54f27db2-2b92-4d53-bd10-37e4b90688c8
2025-11-12 14:38:04,982 - INFO - Deleting VM ctest-TestRoutersBasic-12288139-83097802
2025-11-12 14:38:05,104 - INFO - Deleting VM ctest-TestRoutersBasic-12288139-28225980
2025-11-12 14:38:05,222 - INFO - Deleting VN ctest-ext_vn-35536734
2025-11-12 14:38:05,407 - DEBUG - VN 0a8da1a3-101e-4874-a281-553627ef440a still in use: Unable to complete operation on network 0a8da1a3-101e-4874-a281-553627ef440a. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-cc4156b8-202a-4160-9cc4-537a2bf554ea']
2025-11-12 14:38:05,407 - WARNING - Deleting VN ctest-ext_vn-35536734 failed..Will retry
2025-11-12 14:38:07,563 - DEBUG - Response for deleting network ()
2025-11-12 14:38:07,563 - INFO - Deleting VN ctest-vn-33342361
2025-11-12 14:38:07,710 - DEBUG - Response for deleting network ()
2025-11-12 14:38:07,978 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 14:38:07,978 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-11-12 14:38:07,978 - INFO - --------------------------------------------------------------------------------
2025-11-12 14:38:08,711 - INFO - Deleted project: ctest-TestRoutersBasic-12288139, ID : cc43c214-abc8-459e-893c-0f88446063b5