2025-09-22 15:27:05,152 - INFO - Domain Default found not creating
2025-09-22 15:27:05,309 - INFO - Project ctest-TestRoutersBasic-79332316 not found, creating it
2025-09-22 15:27:05,837 - INFO - Created Project:ctest-TestRoutersBasic-79332316, ID : 78ef34bd-ffa6-4578-98c8-caeb8a74fbb3
2025-09-22 15:27:07,340 - INFO - ================================================================================
2025-09-22 15:27:07,340 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-09-22 15:27:07,340 - 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-09-22 15:27:07,601 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2025-09-22 15:27:07,601 - INFO - Initial checks done. Running the testcase now
2025-09-22 15:27:07,601 - INFO -
2025-09-22 15:27:08,327 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-79332316
2025-09-22 15:27:08,427 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-79332316
2025-09-22 15:27:08,742 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79332316', 'default']}
2025-09-22 15:27:09,053 - DEBUG - Response for create_network : {'network': {'id': '31f19fbf-4891-4610-bdf6-88907f8444f1', 'name': 'ctest-vn-85218144', 'tenant_id': '78ef34bdffa6457898c8caeb8a74fbb3', 'project_id': '78ef34bdffa6457898c8caeb8a74fbb3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79332316', 'ctest-vn-85218144'], 'port_security_enabled': True, 'description': ''}}
2025-09-22 15:27:09,251 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f9eab3a9-24be-4bd6-9438-f8d9b0007972', 'name': '', 'tenant_id': '78ef34bdffa6457898c8caeb8a74fbb3', 'network_id': '31f19fbf-4891-4610-bdf6-88907f8444f1', 'ip_version': 4, 'cidr': '176.60.221.192/26', 'allocation_pools': [{'start': '176.60.221.194', 'end': '176.60.221.254'}], 'gateway_ip': '176.60.221.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.60.221.194', 'tags': [], 'project_id': '78ef34bdffa6457898c8caeb8a74fbb3'}}
2025-09-22 15:27:09,270 - INFO - Created VN ctest-vn-85218144
2025-09-22 15:27:09,331 - DEBUG - VN ctest-vn-85218144 UUID is 31f19fbf-4891-4610-bdf6-88907f8444f1
2025-09-22 15:27:09,667 - DEBUG - Response for create_network : {'network': {'id': 'c130b56b-7b62-40b0-b711-b188d10add19', 'name': 'ctest-ext_vn-52987388', 'tenant_id': '78ef34bdffa6457898c8caeb8a74fbb3', 'project_id': '78ef34bdffa6457898c8caeb8a74fbb3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79332316', 'ctest-ext_vn-52987388'], 'port_security_enabled': True, 'description': ''}}
2025-09-22 15:27:09,885 - DEBUG - Response for create_subnet : {'subnet': {'id': '1e9564a0-e63d-4481-b980-ba4f6cfd06e1', 'name': '', 'tenant_id': '78ef34bdffa6457898c8caeb8a74fbb3', 'network_id': 'c130b56b-7b62-40b0-b711-b188d10add19', 'ip_version': 4, 'cidr': '121.227.187.192/26', 'allocation_pools': [{'start': '121.227.187.194', 'end': '121.227.187.254'}], 'gateway_ip': '121.227.187.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.227.187.194', 'tags': [], 'project_id': '78ef34bdffa6457898c8caeb8a74fbb3'}}
2025-09-22 15:27:09,911 - INFO - Created VN ctest-ext_vn-52987388
2025-09-22 15:27:09,966 - DEBUG - VN ctest-ext_vn-52987388 UUID is c130b56b-7b62-40b0-b711-b188d10add19
2025-09-22 15:27:10,156 - DEBUG - Services list from nova: [, , ]
2025-09-22 15:27:11,209 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4169-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4169-1)
2025-09-22 15:27:12,451 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4169-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4169-1)
2025-09-22 15:27:12,533 - INFO - Setting gateway for router 220b4fab-f4f0-49ba-b4a8-d4d5cd420922 to network c130b56b-7b62-40b0-b711-b188d10add19
2025-09-22 15:27:12,610 - INFO - Adding interface with subnet_id f9eab3a9-24be-4bd6-9438-f8d9b0007972, port_id None to router 220b4fab-f4f0-49ba-b4a8-d4d5cd420922
2025-09-22 15:27:13,073 - INFO - Waiting for VM ctest-TestRoutersBasic-79332316-19380806 to be up..
2025-09-22 15:27:13,211 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-22 15:27:18,306 - DEBUG - VM is in ACTIVE state now
2025-09-22 15:27:18,306 - INFO - VM name : ctest-TestRoutersBasic-79332316-19380806
2025-09-22 15:27:18,393 - DEBUG - VM ctest-TestRoutersBasic-79332316-19380806 ID is e1a6ffa3-158e-46dd-a028-5e36d7124be9
2025-09-22 15:27:18,415 - DEBUG - VM ctest-TestRoutersBasic-79332316-19380806 launched on Node cn-jenkins-deploy-platform-ansible-os-4169-1
2025-09-22 15:27:18,499 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e1a6ffa3-158e-46dd-a028-5e36d7124be9
2025-09-22 15:27:18,814 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e1a6ffa3-158e-46dd-a028-5e36d7124be9
2025-09-22 15:27:18,849 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/79e080a6-0f0a-4233-b3f8-89ad15164ca0
2025-09-22 15:27:22,137 - 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 1026ms')
2025-09-22 15:27:22,138 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79332316-19380806 failed!
2025-09-22 15:27:22,195 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-79332316:ctest-vn-85218144 is 176.60.221.193 and allocation pool is NOT set
2025-09-22 15:27:24,258 - 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.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.364 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.364/2.066/3.768/1.702 ms')
2025-09-22 15:27:24,258 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79332316-19380806 passed
2025-09-22 15:27:24,407 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 15:27:24,407 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79332316-19380806, IP 176.60.221.195, Port 22
2025-09-22 15:27:24,572 - DEBUG - VM ctest-TestRoutersBasic-79332316-19380806 is ready for SSH connections
2025-09-22 15:27:24,573 - INFO - Waiting for VM ctest-TestRoutersBasic-79332316-47201440 to be up..
2025-09-22 15:27:24,655 - DEBUG - VM is in ACTIVE state now
2025-09-22 15:27:24,655 - INFO - VM name : ctest-TestRoutersBasic-79332316-47201440
2025-09-22 15:27:24,742 - DEBUG - VM ctest-TestRoutersBasic-79332316-47201440 ID is c6555554-fb79-49de-a45a-1c603dc3eca9
2025-09-22 15:27:24,742 - DEBUG - VM ctest-TestRoutersBasic-79332316-47201440 launched on Node cn-jenkins-deploy-platform-ansible-os-4169-1
2025-09-22 15:27:24,826 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c6555554-fb79-49de-a45a-1c603dc3eca9
2025-09-22 15:27:24,838 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f8a370c5-23cb-4906-8cb3-ade206d74a35
2025-09-22 15:27:26,101 - 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=6.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.848 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.848/3.432/6.017/2.584 ms')
2025-09-22 15:27:26,101 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-79332316-47201440 passed
2025-09-22 15:27:26,255 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 15:27:26,255 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79332316-47201440, IP 121.227.187.195, Port 22
2025-09-22 15:27:26,418 - DEBUG - VM ctest-TestRoutersBasic-79332316-47201440 is ready for SSH connections
2025-09-22 15:27:26,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 15:27:26,418 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.227.187.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-09-22 15:27:26,418 - DEBUG - ping -s 56 -c 3 -W 1 121.227.187.195
2025-09-22 15:27:30,491 - DEBUG - PING 121.227.187.195 (121.227.187.195): 56 data bytes
64 bytes from 121.227.187.195: seq=0 ttl=62 time=5.457 ms
64 bytes from 121.227.187.195: seq=1 ttl=62 time=0.918 ms
64 bytes from 121.227.187.195: seq=2 ttl=62 time=0.866 ms
--- 121.227.187.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.866/2.413/5.457 ms
2025-09-22 15:27:30,491 - INFO - Ping to IP 121.227.187.195 from VM ctest-TestRoutersBasic-79332316-19380806 passed
2025-09-22 15:27:30,491 - INFO - Deleting interface with subnet_id f9eab3a9-24be-4bd6-9438-f8d9b0007972, port_id None from router 220b4fab-f4f0-49ba-b4a8-d4d5cd420922
2025-09-22 15:27:30,734 - INFO - Deleting VM ctest-TestRoutersBasic-79332316-47201440
2025-09-22 15:27:30,814 - INFO - Deleting VM ctest-TestRoutersBasic-79332316-19380806
2025-09-22 15:27:30,915 - INFO - Deleting VN ctest-ext_vn-52987388
2025-09-22 15:27:31,005 - DEBUG - VN c130b56b-7b62-40b0-b711-b188d10add19 still in use: Unable to complete operation on network c130b56b-7b62-40b0-b711-b188d10add19. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-dbba4e15-6dc0-48d1-935d-280419b13ef9']
2025-09-22 15:27:31,005 - WARNING - Deleting VN ctest-ext_vn-52987388 failed..Will retry
2025-09-22 15:27:33,130 - DEBUG - Response for deleting network ()
2025-09-22 15:27:33,130 - INFO - Deleting VN ctest-vn-85218144
2025-09-22 15:27:33,264 - DEBUG - Response for deleting network ()
2025-09-22 15:27:33,520 - DEBUG - No XMPP flaps were noticed during the test
2025-09-22 15:27:33,520 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-09-22 15:27:33,520 - INFO - --------------------------------------------------------------------------------
2025-09-22 15:27:34,266 - INFO - Deleted project: ctest-TestRoutersBasic-79332316, ID : 78ef34bd-ffa6-4578-98c8-caeb8a74fbb3