2025-10-17 22:46:52,075 - INFO - Reading existing Domain with UUID c2fab7b5-42f0-4b0e-a131-4c62931bf465
2025-10-17 22:46:52,086 - INFO - Using existing domain ['admin_domain'](c2fab7b5-42f0-4b0e-a131-4c62931bf465)
2025-10-17 22:46:52,304 - INFO - Project ctest-TestRoutersBasic-90883877 not found, creating it
2025-10-17 22:46:52,806 - INFO - Created Project:ctest-TestRoutersBasic-90883877, ID : 5a414dc3-2fc6-4136-a73b-35e8313a9a00
2025-10-17 22:46:54,589 - INFO - ================================================================================
2025-10-17 22:46:54,590 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-17 22:46:54,590 - 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-17 22:46:54,996 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.0.0.131': '0'}} with
2025-10-17 22:46:54,997 - INFO - Initial checks done. Running the testcase now
2025-10-17 22:46:54,997 - INFO -
2025-10-17 22:46:55,867 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-90883877
2025-10-17 22:46:55,971 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-90883877
2025-10-17 22:46:56,302 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-90883877', 'default']}
2025-10-17 22:46:56,815 - DEBUG - Response for create_network : {'network': {'id': 'fc376f91-28b3-4e7f-aeeb-dfcf80841f4d', 'name': 'ctest-vn-89126113', 'tenant_id': '5a414dc32fc64136a73b35e8313a9a00', 'project_id': '5a414dc32fc64136a73b35e8313a9a00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-90883877', 'ctest-vn-89126113'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2025-10-17 22:46:57,059 - DEBUG - Response for create_subnet : {'subnet': {'id': '01bf7f33-941a-4b06-91e4-b30eae1b305a', 'name': '', 'tenant_id': '5a414dc32fc64136a73b35e8313a9a00', 'network_id': 'fc376f91-28b3-4e7f-aeeb-dfcf80841f4d', 'ip_version': 4, 'cidr': '163.255.233.128/26', 'allocation_pools': [{'start': '163.255.233.130', 'end': '163.255.233.190'}], 'gateway_ip': '163.255.233.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-17T22:46:56.961807', 'updated_at': '2025-10-17T22:46:56.961807', 'dns_server_address': '163.255.233.130', 'tags': [], 'project_id': '5a414dc32fc64136a73b35e8313a9a00'}}
2025-10-17 22:46:57,129 - INFO - Created VN ctest-vn-89126113
2025-10-17 22:46:57,183 - DEBUG - VN ctest-vn-89126113 UUID is fc376f91-28b3-4e7f-aeeb-dfcf80841f4d
2025-10-17 22:46:57,723 - DEBUG - Response for create_network : {'network': {'id': '07018b03-265a-4d90-9ecf-596804e391ef', 'name': 'ctest-ext_vn-01777876', 'tenant_id': '5a414dc32fc64136a73b35e8313a9a00', 'project_id': '5a414dc32fc64136a73b35e8313a9a00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-90883877', 'ctest-ext_vn-01777876'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2025-10-17 22:46:57,931 - DEBUG - Response for create_subnet : {'subnet': {'id': '0a05af14-6ae3-445f-950c-8ba3ee2e973a', 'name': '', 'tenant_id': '5a414dc32fc64136a73b35e8313a9a00', 'network_id': '07018b03-265a-4d90-9ecf-596804e391ef', 'ip_version': 4, 'cidr': '204.178.111.64/26', 'allocation_pools': [{'start': '204.178.111.66', 'end': '204.178.111.126'}], 'gateway_ip': '204.178.111.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-17T22:46:57.833912', 'updated_at': '2025-10-17T22:46:57.833912', 'dns_server_address': '204.178.111.66', 'tags': [], 'project_id': '5a414dc32fc64136a73b35e8313a9a00'}}
2025-10-17 22:46:57,997 - INFO - Created VN ctest-ext_vn-01777876
2025-10-17 22:46:58,051 - DEBUG - VN ctest-ext_vn-01777876 UUID is 07018b03-265a-4d90-9ecf-596804e391ef
2025-10-17 22:46:58,327 - DEBUG - Services list from nova: [, , ]
2025-10-17 22:46:59,488 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-595-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-595-1)
2025-10-17 22:47:00,966 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-595-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-595-1)
2025-10-17 22:47:01,112 - INFO - Setting gateway for router 5948f498-0e44-4afe-8a9f-f68d52b63f22 to network 07018b03-265a-4d90-9ecf-596804e391ef
2025-10-17 22:47:01,283 - INFO - Adding interface with subnet_id 01bf7f33-941a-4b06-91e4-b30eae1b305a, port_id None to router 5948f498-0e44-4afe-8a9f-f68d52b63f22
2025-10-17 22:47:01,977 - INFO - Waiting for VM ctest-TestRoutersBasic-90883877-52546753 to be up..
2025-10-17 22:47:02,154 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-17 22:47:07,283 - DEBUG - VM is in ACTIVE state now
2025-10-17 22:47:07,283 - INFO - VM name : ctest-TestRoutersBasic-90883877-52546753
2025-10-17 22:47:07,434 - DEBUG - VM ctest-TestRoutersBasic-90883877-52546753 ID is 04a71df1-1c97-4fb6-85c0-32b8cc95d693
2025-10-17 22:47:07,462 - DEBUG - VM ctest-TestRoutersBasic-90883877-52546753 launched on Node cn-jenkins-deploy-platform-juju-os-595-1
2025-10-17 22:47:07,607 - DEBUG - Requesting: https://10.0.0.131:8082/virtual-machine/04a71df1-1c97-4fb6-85c0-32b8cc95d693
2025-10-17 22:47:07,959 - DEBUG - Requesting: https://10.0.0.131:8082/virtual-machine/04a71df1-1c97-4fb6-85c0-32b8cc95d693
2025-10-17 22:47:08,043 - DEBUG - Requesting: https://10.0.0.131:8082/virtual-machine-interface/078f6d96-40a8-4574-b7d8-e285b96c5f68
2025-10-17 22:47:11,552 - 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 1019ms')
2025-10-17 22:47:11,552 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90883877-52546753 failed!
2025-10-17 22:47:11,611 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-90883877:ctest-vn-89126113 is 163.255.233.129 and allocation pool is NOT set
2025-10-17 22:47:13,705 - 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=5.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.860 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.860/3.223/5.587/2.363 ms')
2025-10-17 22:47:13,705 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90883877-52546753 passed
2025-10-17 22:47:13,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-17 22:47:13,855 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90883877-52546753, IP 163.255.233.131, Port 22
2025-10-17 22:47:14,060 - DEBUG - VM ctest-TestRoutersBasic-90883877-52546753 is ready for SSH connections
2025-10-17 22:47:14,061 - INFO - Waiting for VM ctest-TestRoutersBasic-90883877-49502038 to be up..
2025-10-17 22:47:14,193 - DEBUG - VM is in ACTIVE state now
2025-10-17 22:47:14,193 - INFO - VM name : ctest-TestRoutersBasic-90883877-49502038
2025-10-17 22:47:14,354 - DEBUG - VM ctest-TestRoutersBasic-90883877-49502038 ID is 8f6b7a67-50db-49d2-9e9c-0e45c132ae1d
2025-10-17 22:47:14,354 - DEBUG - VM ctest-TestRoutersBasic-90883877-49502038 launched on Node cn-jenkins-deploy-platform-juju-os-595-1
2025-10-17 22:47:14,491 - DEBUG - Requesting: https://10.0.0.131:8082/virtual-machine/8f6b7a67-50db-49d2-9e9c-0e45c132ae1d
2025-10-17 22:47:14,547 - DEBUG - Requesting: https://10.0.0.131:8082/virtual-machine-interface/ece7c46d-a881-41e2-8bd4-e5a30c8172a4
2025-10-17 22:47:16,001 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.444 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.444/1.747/3.051/1.303 ms')
2025-10-17 22:47:16,001 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-90883877-49502038 passed
2025-10-17 22:47:16,159 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-17 22:47:16,159 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90883877-49502038, IP 204.178.111.67, Port 22
2025-10-17 22:47:16,397 - DEBUG - VM ctest-TestRoutersBasic-90883877-49502038 is ready for SSH connections
2025-10-17 22:47:16,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-17 22:47:16,397 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.178.111.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123
2025-10-17 22:47:16,397 - DEBUG - ping -s 56 -c 3 -W 1 204.178.111.67
2025-10-17 22:47:20,502 - DEBUG - PING 204.178.111.67 (204.178.111.67): 56 data bytes
64 bytes from 204.178.111.67: seq=0 ttl=62 time=7.114 ms
64 bytes from 204.178.111.67: seq=1 ttl=62 time=1.063 ms
64 bytes from 204.178.111.67: seq=2 ttl=62 time=1.205 ms
--- 204.178.111.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.063/3.127/7.114 ms
2025-10-17 22:47:20,502 - INFO - Ping to IP 204.178.111.67 from VM ctest-TestRoutersBasic-90883877-52546753 passed
2025-10-17 22:47:20,502 - INFO - Deleting interface with subnet_id 01bf7f33-941a-4b06-91e4-b30eae1b305a, port_id None from router 5948f498-0e44-4afe-8a9f-f68d52b63f22
2025-10-17 22:47:20,893 - INFO - Deleting VM ctest-TestRoutersBasic-90883877-49502038
2025-10-17 22:47:20,995 - INFO - Deleting VM ctest-TestRoutersBasic-90883877-52546753
2025-10-17 22:47:21,103 - INFO - Deleting VN ctest-ext_vn-01777876
2025-10-17 22:47:21,293 - DEBUG - VN 07018b03-265a-4d90-9ecf-596804e391ef still in use: Unable to complete operation on network 07018b03-265a-4d90-9ecf-596804e391ef. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-c3b5b80d-70ac-4a16-942e-8f0d05d1e989']
2025-10-17 22:47:21,293 - WARNING - Deleting VN ctest-ext_vn-01777876 failed..Will retry
2025-10-17 22:47:23,465 - DEBUG - Response for deleting network ()
2025-10-17 22:47:23,465 - INFO - Deleting VN ctest-vn-89126113
2025-10-17 22:47:23,637 - DEBUG - Response for deleting network ()
2025-10-17 22:47:24,025 - DEBUG - No XMPP flaps were noticed during the test
2025-10-17 22:47:24,025 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30]
2025-10-17 22:47:24,025 - INFO - --------------------------------------------------------------------------------
2025-10-17 22:47:24,800 - INFO - Deleted project: ctest-TestRoutersBasic-90883877, ID : 5a414dc3-2fc6-4136-a73b-35e8313a9a00