2025-10-09 18:47:59,156 - INFO - Domain Default found not creating
2025-10-09 18:47:59,301 - INFO - Project ctest-TestRoutersBasic-06814022 not found, creating it
2025-10-09 18:47:59,743 - INFO - Created Project:ctest-TestRoutersBasic-06814022, ID : 42c308e4-47af-46cb-9410-31f465219be3
2025-10-09 18:48:01,722 - INFO - ================================================================================
2025-10-09 18:48:01,722 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-09 18:48:01,722 - 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-09 18:48:01,975 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-10-09 18:48:01,975 - INFO - Initial checks done. Running the testcase now
2025-10-09 18:48:01,975 - INFO -
2025-10-09 18:48:02,629 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-06814022
2025-10-09 18:48:02,725 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-06814022
2025-10-09 18:48:03,049 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06814022', 'default']}
2025-10-09 18:48:03,325 - DEBUG - Response for create_network : {'network': {'id': '36b95e74-28f2-4cd3-b357-56eccf555023', 'name': 'ctest-vn-21087082', 'tenant_id': '42c308e447af46cb941031f465219be3', 'project_id': '42c308e447af46cb941031f465219be3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06814022', 'ctest-vn-21087082'], 'port_security_enabled': True, 'description': ''}}
2025-10-09 18:48:03,543 - DEBUG - Response for create_subnet : {'subnet': {'id': '787dd5b8-c749-4982-8521-f94cf0303bca', 'name': '', 'tenant_id': '42c308e447af46cb941031f465219be3', 'network_id': '36b95e74-28f2-4cd3-b357-56eccf555023', 'ip_version': 4, 'cidr': '63.236.42.128/26', 'allocation_pools': [{'start': '63.236.42.130', 'end': '63.236.42.190'}], 'gateway_ip': '63.236.42.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.236.42.130', 'tags': [], 'project_id': '42c308e447af46cb941031f465219be3'}}
2025-10-09 18:48:03,562 - INFO - Created VN ctest-vn-21087082
2025-10-09 18:48:03,617 - DEBUG - VN ctest-vn-21087082 UUID is 36b95e74-28f2-4cd3-b357-56eccf555023
2025-10-09 18:48:03,920 - DEBUG - Response for create_network : {'network': {'id': '46acdcb8-b289-4d08-9f96-664735b7ac44', 'name': 'ctest-ext_vn-10227373', 'tenant_id': '42c308e447af46cb941031f465219be3', 'project_id': '42c308e447af46cb941031f465219be3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06814022', 'ctest-ext_vn-10227373'], 'port_security_enabled': True, 'description': ''}}
2025-10-09 18:48:04,129 - DEBUG - Response for create_subnet : {'subnet': {'id': '4af6a0b5-65a4-4058-b93e-4fba07b89f5a', 'name': '', 'tenant_id': '42c308e447af46cb941031f465219be3', 'network_id': '46acdcb8-b289-4d08-9f96-664735b7ac44', 'ip_version': 4, 'cidr': '104.47.5.128/26', 'allocation_pools': [{'start': '104.47.5.130', 'end': '104.47.5.190'}], 'gateway_ip': '104.47.5.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.47.5.130', 'tags': [], 'project_id': '42c308e447af46cb941031f465219be3'}}
2025-10-09 18:48:04,147 - INFO - Created VN ctest-ext_vn-10227373
2025-10-09 18:48:04,201 - DEBUG - VN ctest-ext_vn-10227373 UUID is 46acdcb8-b289-4d08-9f96-664735b7ac44
2025-10-09 18:48:04,397 - DEBUG - Services list from nova: [, , ]
2025-10-09 18:48:05,388 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4273-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4273-1)
2025-10-09 18:48:06,514 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4273-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4273-1)
2025-10-09 18:48:06,597 - INFO - Setting gateway for router 0e67d2ce-85fc-410a-93b2-1fa22dfb4751 to network 46acdcb8-b289-4d08-9f96-664735b7ac44
2025-10-09 18:48:06,688 - INFO - Adding interface with subnet_id 787dd5b8-c749-4982-8521-f94cf0303bca, port_id None to router 0e67d2ce-85fc-410a-93b2-1fa22dfb4751
2025-10-09 18:48:07,182 - INFO - Waiting for VM ctest-TestRoutersBasic-06814022-48535430 to be up..
2025-10-09 18:48:07,314 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-09 18:48:12,384 - DEBUG - VM is in ACTIVE state now
2025-10-09 18:48:12,384 - INFO - VM name : ctest-TestRoutersBasic-06814022-48535430
2025-10-09 18:48:12,461 - DEBUG - VM ctest-TestRoutersBasic-06814022-48535430 ID is f6f698a3-2409-40d6-b88a-7874d6277663
2025-10-09 18:48:12,479 - DEBUG - VM ctest-TestRoutersBasic-06814022-48535430 launched on Node cn-jenkins-deploy-platform-ansible-os-4273-1
2025-10-09 18:48:12,562 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f6f698a3-2409-40d6-b88a-7874d6277663
2025-10-09 18:48:12,858 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f6f698a3-2409-40d6-b88a-7874d6277663
2025-10-09 18:48:12,889 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b759e33c-7c0d-4070-b919-f14a901c3625
2025-10-09 18:48:16,136 - 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 1011ms')
2025-10-09 18:48:16,136 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06814022-48535430 failed!
2025-10-09 18:48:16,201 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-06814022:ctest-vn-21087082 is 63.236.42.129 and allocation pool is NOT set
2025-10-09 18:48:18,267 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.450 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 = 0.450/1.622/2.794/1.172 ms')
2025-10-09 18:48:18,267 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06814022-48535430 passed
2025-10-09 18:48:18,413 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 18:48:18,413 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06814022-48535430, IP 63.236.42.131, Port 22
2025-10-09 18:48:18,565 - DEBUG - VM ctest-TestRoutersBasic-06814022-48535430 is ready for SSH connections
2025-10-09 18:48:18,565 - INFO - Waiting for VM ctest-TestRoutersBasic-06814022-38052470 to be up..
2025-10-09 18:48:18,634 - DEBUG - VM is in ACTIVE state now
2025-10-09 18:48:18,634 - INFO - VM name : ctest-TestRoutersBasic-06814022-38052470
2025-10-09 18:48:18,700 - DEBUG - VM ctest-TestRoutersBasic-06814022-38052470 ID is 86032b62-6015-4e3c-ba12-89ebd8b2df7f
2025-10-09 18:48:18,700 - DEBUG - VM ctest-TestRoutersBasic-06814022-38052470 launched on Node cn-jenkins-deploy-platform-ansible-os-4273-1
2025-10-09 18:48:18,766 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/86032b62-6015-4e3c-ba12-89ebd8b2df7f
2025-10-09 18:48:18,773 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/121c26d0-30f7-4d07-b079-ec582d3a83b8
2025-10-09 18:48:20,006 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.383 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.383/1.636/2.889/1.253 ms')
2025-10-09 18:48:20,006 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-06814022-38052470 passed
2025-10-09 18:48:20,153 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 18:48:20,153 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06814022-38052470, IP 104.47.5.131, Port 22
2025-10-09 18:48:20,305 - DEBUG - VM ctest-TestRoutersBasic-06814022-38052470 is ready for SSH connections
2025-10-09 18:48:20,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 18:48:20,305 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.47.5.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-10-09 18:48:20,305 - DEBUG - ping -s 56 -c 3 -W 1 104.47.5.131
2025-10-09 18:48:24,299 - DEBUG - PING 104.47.5.131 (104.47.5.131): 56 data bytes
64 bytes from 104.47.5.131: seq=0 ttl=62 time=4.786 ms
64 bytes from 104.47.5.131: seq=1 ttl=62 time=1.059 ms
64 bytes from 104.47.5.131: seq=2 ttl=62 time=0.846 ms
--- 104.47.5.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.846/2.230/4.786 ms
2025-10-09 18:48:24,299 - INFO - Ping to IP 104.47.5.131 from VM ctest-TestRoutersBasic-06814022-48535430 passed
2025-10-09 18:48:24,299 - INFO - Deleting interface with subnet_id 787dd5b8-c749-4982-8521-f94cf0303bca, port_id None from router 0e67d2ce-85fc-410a-93b2-1fa22dfb4751
2025-10-09 18:48:24,454 - INFO - Deleting VM ctest-TestRoutersBasic-06814022-38052470
2025-10-09 18:48:24,526 - INFO - Deleting VM ctest-TestRoutersBasic-06814022-48535430
2025-10-09 18:48:24,601 - INFO - Deleting VN ctest-ext_vn-10227373
2025-10-09 18:48:24,665 - DEBUG - VN 46acdcb8-b289-4d08-9f96-664735b7ac44 still in use: Unable to complete operation on network 46acdcb8-b289-4d08-9f96-664735b7ac44. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-928e47f8-4e6f-4b82-80fb-7dec164ed285']
2025-10-09 18:48:24,665 - WARNING - Deleting VN ctest-ext_vn-10227373 failed..Will retry
2025-10-09 18:48:26,757 - DEBUG - Response for deleting network ()
2025-10-09 18:48:26,758 - INFO - Deleting VN ctest-vn-21087082
2025-10-09 18:48:26,849 - DEBUG - Response for deleting network ()
2025-10-09 18:48:27,114 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 18:48:27,114 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-10-09 18:48:27,114 - INFO - --------------------------------------------------------------------------------
2025-10-09 18:48:27,777 - INFO - Deleted project: ctest-TestRoutersBasic-06814022, ID : 42c308e4-47af-46cb-9410-31f465219be3