2025-06-26 11:46:15,827 - INFO - Domain Default found not creating
2025-06-26 11:46:15,965 - INFO - Project ctest-TestRoutersBasic-31114985 not found, creating it
2025-06-26 11:46:16,427 - INFO - Created Project:ctest-TestRoutersBasic-31114985, ID : fd42a6bc-6318-4f75-ad61-3e4542cdfe07
2025-06-26 11:46:17,835 - INFO - ================================================================================
2025-06-26 11:46:17,835 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-06-26 11:46:17,835 - 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-06-26 11:46:18,093 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.254': '0'}} with
2025-06-26 11:46:18,093 - INFO - Initial checks done. Running the testcase now
2025-06-26 11:46:18,093 - INFO -
2025-06-26 11:46:18,785 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-31114985
2025-06-26 11:46:18,879 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-31114985
2025-06-26 11:46:19,215 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31114985', 'default']}
2025-06-26 11:46:19,508 - DEBUG - Response for create_network : {'network': {'id': '1b8e99cc-eaa1-494f-9f9c-c63670d409b7', 'name': 'ctest-vn-21709474', 'tenant_id': 'fd42a6bc63184f75ad613e4542cdfe07', 'project_id': 'fd42a6bc63184f75ad613e4542cdfe07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31114985', 'ctest-vn-21709474'], 'port_security_enabled': True, 'description': ''}}
2025-06-26 11:46:19,661 - DEBUG - Response for create_subnet : {'subnet': {'id': '9775fcbf-86ca-43a6-848f-db564ff98335', 'name': '', 'tenant_id': 'fd42a6bc63184f75ad613e4542cdfe07', 'network_id': '1b8e99cc-eaa1-494f-9f9c-c63670d409b7', 'ip_version': 4, 'cidr': '3.78.61.128/26', 'allocation_pools': [{'start': '3.78.61.130', 'end': '3.78.61.190'}], 'gateway_ip': '3.78.61.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.78.61.130', 'tags': [], 'project_id': 'fd42a6bc63184f75ad613e4542cdfe07'}}
2025-06-26 11:46:19,678 - INFO - Created VN ctest-vn-21709474
2025-06-26 11:46:19,731 - DEBUG - VN ctest-vn-21709474 UUID is 1b8e99cc-eaa1-494f-9f9c-c63670d409b7
2025-06-26 11:46:20,108 - DEBUG - Response for create_network : {'network': {'id': 'a65b47f4-0ce6-48d5-8a56-9b6b8631ea88', 'name': 'ctest-ext_vn-72650478', 'tenant_id': 'fd42a6bc63184f75ad613e4542cdfe07', 'project_id': 'fd42a6bc63184f75ad613e4542cdfe07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31114985', 'ctest-ext_vn-72650478'], 'port_security_enabled': True, 'description': ''}}
2025-06-26 11:46:20,300 - DEBUG - Response for create_subnet : {'subnet': {'id': '0cfbd847-b233-4239-9715-df89a14a36f6', 'name': '', 'tenant_id': 'fd42a6bc63184f75ad613e4542cdfe07', 'network_id': 'a65b47f4-0ce6-48d5-8a56-9b6b8631ea88', 'ip_version': 4, 'cidr': '66.37.46.192/26', 'allocation_pools': [{'start': '66.37.46.194', 'end': '66.37.46.254'}], 'gateway_ip': '66.37.46.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.37.46.194', 'tags': [], 'project_id': 'fd42a6bc63184f75ad613e4542cdfe07'}}
2025-06-26 11:46:20,317 - INFO - Created VN ctest-ext_vn-72650478
2025-06-26 11:46:20,371 - DEBUG - VN ctest-ext_vn-72650478 UUID is a65b47f4-0ce6-48d5-8a56-9b6b8631ea88
2025-06-26 11:46:20,580 - DEBUG - Services list from nova: [, , ]
2025-06-26 11:46:21,615 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3559-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3559-1)
2025-06-26 11:46:22,830 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3559-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3559-1)
2025-06-26 11:46:22,917 - INFO - Setting gateway for router f0e0f8b0-470c-43a7-af38-94a405ec5d96 to network a65b47f4-0ce6-48d5-8a56-9b6b8631ea88
2025-06-26 11:46:23,022 - INFO - Adding interface with subnet_id 9775fcbf-86ca-43a6-848f-db564ff98335, port_id None to router f0e0f8b0-470c-43a7-af38-94a405ec5d96
2025-06-26 11:46:23,483 - INFO - Waiting for VM ctest-TestRoutersBasic-31114985-99668056 to be up..
2025-06-26 11:46:23,627 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-26 11:46:28,699 - DEBUG - VM is in ACTIVE state now
2025-06-26 11:46:28,699 - INFO - VM name : ctest-TestRoutersBasic-31114985-99668056
2025-06-26 11:46:28,776 - DEBUG - VM ctest-TestRoutersBasic-31114985-99668056 ID is 810d49b8-3324-45c6-a61d-8e8a58c4de20
2025-06-26 11:46:28,793 - DEBUG - VM ctest-TestRoutersBasic-31114985-99668056 launched on Node cn-jenkins-deploy-platform-ansible-os-3559-1
2025-06-26 11:46:28,871 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/810d49b8-3324-45c6-a61d-8e8a58c4de20
2025-06-26 11:46:29,163 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/810d49b8-3324-45c6-a61d-8e8a58c4de20
2025-06-26 11:46:29,197 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/14ee3f1a-664b-4001-9f15-568d5ab142b3
2025-06-26 11:46:32,449 - 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 1015ms')
2025-06-26 11:46:32,449 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-31114985-99668056 failed!
2025-06-26 11:46:32,507 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-31114985:ctest-vn-21709474 is 3.78.61.129 and allocation pool is NOT set
2025-06-26 11:46:34,569 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.476 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.476/1.602/2.728/1.126 ms')
2025-06-26 11:46:34,569 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-31114985-99668056 passed
2025-06-26 11:46:34,719 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-26 11:46:34,719 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31114985-99668056, IP 3.78.61.131, Port 22
2025-06-26 11:46:34,891 - DEBUG - VM ctest-TestRoutersBasic-31114985-99668056 is ready for SSH connections
2025-06-26 11:46:34,891 - INFO - Waiting for VM ctest-TestRoutersBasic-31114985-58692561 to be up..
2025-06-26 11:46:34,964 - DEBUG - VM is in ACTIVE state now
2025-06-26 11:46:34,964 - INFO - VM name : ctest-TestRoutersBasic-31114985-58692561
2025-06-26 11:46:35,038 - DEBUG - VM ctest-TestRoutersBasic-31114985-58692561 ID is 4d683851-535a-4450-8dad-7ab134f46637
2025-06-26 11:46:35,038 - DEBUG - VM ctest-TestRoutersBasic-31114985-58692561 launched on Node cn-jenkins-deploy-platform-ansible-os-3559-1
2025-06-26 11:46:35,108 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/4d683851-535a-4450-8dad-7ab134f46637
2025-06-26 11:46:35,137 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/48db089d-5ac0-4d43-8eb0-beb65c530cca
2025-06-26 11:46:36,420 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.385 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.385/2.057/3.730/1.672 ms')
2025-06-26 11:46:36,420 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-31114985-58692561 passed
2025-06-26 11:46:36,571 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-26 11:46:36,571 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31114985-58692561, IP 66.37.46.195, Port 22
2025-06-26 11:46:36,726 - DEBUG - VM ctest-TestRoutersBasic-31114985-58692561 is ready for SSH connections
2025-06-26 11:46:36,726 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-26 11:46:36,726 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.37.46.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2025-06-26 11:46:36,726 - DEBUG - ping -s 56 -c 3 -W 1 66.37.46.195
2025-06-26 11:46:40,392 - DEBUG - PING 66.37.46.195 (66.37.46.195): 56 data bytes
64 bytes from 66.37.46.195: seq=0 ttl=62 time=5.130 ms
64 bytes from 66.37.46.195: seq=1 ttl=62 time=0.864 ms
64 bytes from 66.37.46.195: seq=2 ttl=62 time=0.750 ms
--- 66.37.46.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.750/2.248/5.130 ms
2025-06-26 11:46:40,392 - INFO - Ping to IP 66.37.46.195 from VM ctest-TestRoutersBasic-31114985-99668056 passed
2025-06-26 11:46:40,392 - INFO - Deleting interface with subnet_id 9775fcbf-86ca-43a6-848f-db564ff98335, port_id None from router f0e0f8b0-470c-43a7-af38-94a405ec5d96
2025-06-26 11:46:40,658 - INFO - Deleting VM ctest-TestRoutersBasic-31114985-58692561
2025-06-26 11:46:40,733 - INFO - Deleting VM ctest-TestRoutersBasic-31114985-99668056
2025-06-26 11:46:40,807 - INFO - Deleting VN ctest-ext_vn-72650478
2025-06-26 11:46:40,931 - DEBUG - VN a65b47f4-0ce6-48d5-8a56-9b6b8631ea88 still in use: Unable to complete operation on network a65b47f4-0ce6-48d5-8a56-9b6b8631ea88. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-3c617503-b474-459a-9034-136164486d7b']
2025-06-26 11:46:40,931 - WARNING - Deleting VN ctest-ext_vn-72650478 failed..Will retry
2025-06-26 11:46:43,037 - DEBUG - Response for deleting network ()
2025-06-26 11:46:43,037 - INFO - Deleting VN ctest-vn-21709474
2025-06-26 11:46:43,146 - DEBUG - Response for deleting network ()
2025-06-26 11:46:43,401 - DEBUG - No XMPP flaps were noticed during the test
2025-06-26 11:46:43,401 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-06-26 11:46:43,401 - INFO - --------------------------------------------------------------------------------
2025-06-26 11:46:44,073 - INFO - Deleted project: ctest-TestRoutersBasic-31114985, ID : fd42a6bc-6318-4f75-ad61-3e4542cdfe07