2025-11-04 18:01:08,764 - INFO - Domain Default found not creating
2025-11-04 18:01:08,939 - INFO - Project ctest-TestRoutersBasic-37042440 not found, creating it
2025-11-04 18:01:09,418 - INFO - Created Project:ctest-TestRoutersBasic-37042440, ID : 47e47532-ecec-4d73-a79a-b930d971c6f4
2025-11-04 18:01:11,097 - INFO - ================================================================================
2025-11-04 18:01:11,097 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-11-04 18:01:11,097 - 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 18:01:11,360 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-11-04 18:01:11,360 - INFO - Initial checks done. Running the testcase now
2025-11-04 18:01:11,360 - INFO -
2025-11-04 18:01:12,083 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-37042440
2025-11-04 18:01:12,178 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-37042440
2025-11-04 18:01:12,514 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37042440', 'default']}
2025-11-04 18:01:12,838 - DEBUG - Response for create_network : {'network': {'id': '70e0e3a3-be50-4956-93ad-ad73a11e75d0', 'name': 'ctest-vn-77365339', 'tenant_id': '47e47532ecec4d73a79ab930d971c6f4', 'project_id': '47e47532ecec4d73a79ab930d971c6f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37042440', 'ctest-vn-77365339'], 'port_security_enabled': True, 'description': ''}}
2025-11-04 18:01:13,043 - DEBUG - Response for create_subnet : {'subnet': {'id': '97050f42-603e-4b9c-aee4-10724e51eaae', 'name': '', 'tenant_id': '47e47532ecec4d73a79ab930d971c6f4', 'network_id': '70e0e3a3-be50-4956-93ad-ad73a11e75d0', 'ip_version': 4, 'cidr': '41.219.219.0/26', 'allocation_pools': [{'start': '41.219.219.2', 'end': '41.219.219.62'}], 'gateway_ip': '41.219.219.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.219.219.2', 'tags': [], 'project_id': '47e47532ecec4d73a79ab930d971c6f4'}}
2025-11-04 18:01:13,067 - INFO - Created VN ctest-vn-77365339
2025-11-04 18:01:13,118 - DEBUG - VN ctest-vn-77365339 UUID is 70e0e3a3-be50-4956-93ad-ad73a11e75d0
2025-11-04 18:01:13,465 - DEBUG - Response for create_network : {'network': {'id': '0d829198-eb0b-4a21-a3d6-45deb4cd0bfd', 'name': 'ctest-ext_vn-89766534', 'tenant_id': '47e47532ecec4d73a79ab930d971c6f4', 'project_id': '47e47532ecec4d73a79ab930d971c6f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37042440', 'ctest-ext_vn-89766534'], 'port_security_enabled': True, 'description': ''}}
2025-11-04 18:01:13,678 - DEBUG - Response for create_subnet : {'subnet': {'id': '3843a656-54f9-4295-9469-6fcc4c29868c', 'name': '', 'tenant_id': '47e47532ecec4d73a79ab930d971c6f4', 'network_id': '0d829198-eb0b-4a21-a3d6-45deb4cd0bfd', 'ip_version': 4, 'cidr': '217.255.31.128/26', 'allocation_pools': [{'start': '217.255.31.130', 'end': '217.255.31.190'}], 'gateway_ip': '217.255.31.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.255.31.130', 'tags': [], 'project_id': '47e47532ecec4d73a79ab930d971c6f4'}}
2025-11-04 18:01:13,700 - INFO - Created VN ctest-ext_vn-89766534
2025-11-04 18:01:13,755 - DEBUG - VN ctest-ext_vn-89766534 UUID is 0d829198-eb0b-4a21-a3d6-45deb4cd0bfd
2025-11-04 18:01:13,942 - DEBUG - Services list from nova: [, , ]
2025-11-04 18:01:15,081 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4620-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4620-1)
2025-11-04 18:01:16,429 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4620-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4620-1)
2025-11-04 18:01:16,533 - INFO - Setting gateway for router 7d78d6d7-03cd-4d01-b3b5-edc005eb3afa to network 0d829198-eb0b-4a21-a3d6-45deb4cd0bfd
2025-11-04 18:01:16,615 - INFO - Adding interface with subnet_id 97050f42-603e-4b9c-aee4-10724e51eaae, port_id None to router 7d78d6d7-03cd-4d01-b3b5-edc005eb3afa
2025-11-04 18:01:17,060 - INFO - Waiting for VM ctest-TestRoutersBasic-37042440-58172071 to be up..
2025-11-04 18:01:17,249 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-04 18:01:22,332 - DEBUG - VM is in ACTIVE state now
2025-11-04 18:01:22,332 - INFO - VM name : ctest-TestRoutersBasic-37042440-58172071
2025-11-04 18:01:22,413 - DEBUG - VM ctest-TestRoutersBasic-37042440-58172071 ID is 0a5ba18a-4459-4c5f-a8bc-11e1d38d506d
2025-11-04 18:01:22,435 - DEBUG - VM ctest-TestRoutersBasic-37042440-58172071 launched on Node cn-jenkins-deploy-platform-ansible-os-4620-1
2025-11-04 18:01:22,524 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0a5ba18a-4459-4c5f-a8bc-11e1d38d506d
2025-11-04 18:01:22,867 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0a5ba18a-4459-4c5f-a8bc-11e1d38d506d
2025-11-04 18:01:22,903 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/90cf0ec5-5f71-4afa-ae85-5e7cedaffa88
2025-11-04 18:01:26,163 - 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 1014ms')
2025-11-04 18:01:26,163 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37042440-58172071 failed!
2025-11-04 18:01:26,222 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-37042440:ctest-vn-77365339 is 41.219.219.1 and allocation pool is NOT set
2025-11-04 18:01:28,292 - 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.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.27 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 = 1.268/2.819/4.371/1.551 ms')
2025-11-04 18:01:28,292 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37042440-58172071 passed
2025-11-04 18:01:28,442 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 18:01:28,442 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37042440-58172071, IP 41.219.219.3, Port 22
2025-11-04 18:01:28,508 - 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 18:01:28,594 - DEBUG - VM ctest-TestRoutersBasic-37042440-58172071 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-04 18:01:33,595 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 18:01:33,596 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37042440-58172071, IP 41.219.219.3, Port 22
2025-11-04 18:01:33,757 - DEBUG - VM ctest-TestRoutersBasic-37042440-58172071 is ready for SSH connections
2025-11-04 18:01:33,758 - INFO - Waiting for VM ctest-TestRoutersBasic-37042440-92342399 to be up..
2025-11-04 18:01:33,844 - DEBUG - VM is in ACTIVE state now
2025-11-04 18:01:33,844 - INFO - VM name : ctest-TestRoutersBasic-37042440-92342399
2025-11-04 18:01:33,930 - DEBUG - VM ctest-TestRoutersBasic-37042440-92342399 ID is f5dae0e2-5a01-41e1-92e6-e20fcd7af783
2025-11-04 18:01:33,930 - DEBUG - VM ctest-TestRoutersBasic-37042440-92342399 launched on Node cn-jenkins-deploy-platform-ansible-os-4620-1
2025-11-04 18:01:34,015 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f5dae0e2-5a01-41e1-92e6-e20fcd7af783
2025-11-04 18:01:34,024 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9883a4f1-84c9-48ec-ba6b-1cb79ec93466
2025-11-04 18:01:35,266 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.622 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.622/2.398/4.174/1.776 ms')
2025-11-04 18:01:35,266 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-37042440-92342399 passed
2025-11-04 18:01:35,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 18:01:35,423 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37042440-92342399, IP 217.255.31.131, Port 22
2025-11-04 18:01:35,586 - DEBUG - VM ctest-TestRoutersBasic-37042440-92342399 is ready for SSH connections
2025-11-04 18:01:35,586 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 18:01:35,586 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 217.255.31.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-11-04 18:01:35,586 - DEBUG - ping -s 56 -c 3 -W 1 217.255.31.131
2025-11-04 18:01:39,354 - DEBUG - PING 217.255.31.131 (217.255.31.131): 56 data bytes
64 bytes from 217.255.31.131: seq=0 ttl=62 time=5.732 ms
64 bytes from 217.255.31.131: seq=1 ttl=62 time=1.074 ms
64 bytes from 217.255.31.131: seq=2 ttl=62 time=1.420 ms
--- 217.255.31.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.074/2.742/5.732 ms
2025-11-04 18:01:39,354 - INFO - Ping to IP 217.255.31.131 from VM ctest-TestRoutersBasic-37042440-58172071 passed
2025-11-04 18:01:39,354 - INFO - Deleting interface with subnet_id 97050f42-603e-4b9c-aee4-10724e51eaae, port_id None from router 7d78d6d7-03cd-4d01-b3b5-edc005eb3afa
2025-11-04 18:01:39,581 - INFO - Deleting VM ctest-TestRoutersBasic-37042440-92342399
2025-11-04 18:01:39,669 - INFO - Deleting VM ctest-TestRoutersBasic-37042440-58172071
2025-11-04 18:01:39,769 - INFO - Deleting VN ctest-ext_vn-89766534
2025-11-04 18:01:39,851 - DEBUG - VN 0d829198-eb0b-4a21-a3d6-45deb4cd0bfd still in use: Unable to complete operation on network 0d829198-eb0b-4a21-a3d6-45deb4cd0bfd. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-caa0d157-d48d-4183-a3a5-9416e562684b']
2025-11-04 18:01:39,851 - WARNING - Deleting VN ctest-ext_vn-89766534 failed..Will retry
2025-11-04 18:01:41,967 - DEBUG - Response for deleting network ()
2025-11-04 18:01:41,967 - INFO - Deleting VN ctest-vn-77365339
2025-11-04 18:01:42,082 - DEBUG - Response for deleting network ()
2025-11-04 18:01:42,336 - DEBUG - No XMPP flaps were noticed during the test
2025-11-04 18:01:42,337 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-11-04 18:01:42,337 - INFO - --------------------------------------------------------------------------------
2025-11-04 18:01:43,053 - INFO - Deleted project: ctest-TestRoutersBasic-37042440, ID : 47e47532-ecec-4d73-a79a-b930d971c6f4