2025-08-28 02:16:50,101 - INFO - Domain Default found not creating 2025-08-28 02:16:50,243 - INFO - Project ctest-TestRoutersBasic-98612747 not found, creating it 2025-08-28 02:16:50,687 - INFO - Created Project:ctest-TestRoutersBasic-98612747, ID : ed30165f-b5e8-4c1e-96c9-1cbd6b1e127b 2025-08-28 02:16:52,017 - INFO - ================================================================================ 2025-08-28 02:16:52,017 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-28 02:16:52,017 - 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-08-28 02:16:52,267 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.18': '0'}} with 2025-08-28 02:16:52,267 - INFO - Initial checks done. Running the testcase now 2025-08-28 02:16:52,267 - INFO - 2025-08-28 02:16:52,936 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-98612747 2025-08-28 02:16:53,031 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-98612747 2025-08-28 02:16:53,343 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98612747', 'default']} 2025-08-28 02:16:53,603 - DEBUG - Response for create_network : {'network': {'id': '2d3762f2-5c65-4ea4-997b-e08618b97c88', 'name': 'ctest-vn-43258055', 'tenant_id': 'ed30165fb5e84c1e96c91cbd6b1e127b', 'project_id': 'ed30165fb5e84c1e96c91cbd6b1e127b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98612747', 'ctest-vn-43258055'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 02:16:53,773 - DEBUG - Response for create_subnet : {'subnet': {'id': '928325dc-9275-4b8d-a7fc-f8417819a98e', 'name': '', 'tenant_id': 'ed30165fb5e84c1e96c91cbd6b1e127b', 'network_id': '2d3762f2-5c65-4ea4-997b-e08618b97c88', 'ip_version': 4, 'cidr': '15.64.8.128/26', 'allocation_pools': [{'start': '15.64.8.130', 'end': '15.64.8.190'}], 'gateway_ip': '15.64.8.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.64.8.130', 'tags': [], 'project_id': 'ed30165fb5e84c1e96c91cbd6b1e127b'}} 2025-08-28 02:16:53,790 - INFO - Created VN ctest-vn-43258055 2025-08-28 02:16:53,843 - DEBUG - VN ctest-vn-43258055 UUID is 2d3762f2-5c65-4ea4-997b-e08618b97c88 2025-08-28 02:16:54,166 - DEBUG - Response for create_network : {'network': {'id': '3c607804-349c-441b-8be3-76aad565ed3e', 'name': 'ctest-ext_vn-47209264', 'tenant_id': 'ed30165fb5e84c1e96c91cbd6b1e127b', 'project_id': 'ed30165fb5e84c1e96c91cbd6b1e127b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98612747', 'ctest-ext_vn-47209264'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 02:16:54,341 - DEBUG - Response for create_subnet : {'subnet': {'id': '93d94707-289b-4062-b66e-81d686b028a5', 'name': '', 'tenant_id': 'ed30165fb5e84c1e96c91cbd6b1e127b', 'network_id': '3c607804-349c-441b-8be3-76aad565ed3e', 'ip_version': 4, 'cidr': '94.89.188.0/26', 'allocation_pools': [{'start': '94.89.188.2', 'end': '94.89.188.62'}], 'gateway_ip': '94.89.188.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.89.188.2', 'tags': [], 'project_id': 'ed30165fb5e84c1e96c91cbd6b1e127b'}} 2025-08-28 02:16:54,355 - INFO - Created VN ctest-ext_vn-47209264 2025-08-28 02:16:54,403 - DEBUG - VN ctest-ext_vn-47209264 UUID is 3c607804-349c-441b-8be3-76aad565ed3e 2025-08-28 02:16:54,600 - DEBUG - Services list from nova: [, , ] 2025-08-28 02:16:55,519 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3953-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3953-1) 2025-08-28 02:16:56,552 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3953-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3953-1) 2025-08-28 02:16:56,605 - INFO - Setting gateway for router 046730ce-88a9-4192-b416-62bdbe17dce3 to network 3c607804-349c-441b-8be3-76aad565ed3e 2025-08-28 02:16:56,646 - INFO - Adding interface with subnet_id 928325dc-9275-4b8d-a7fc-f8417819a98e, port_id None to router 046730ce-88a9-4192-b416-62bdbe17dce3 2025-08-28 02:16:56,999 - INFO - Waiting for VM ctest-TestRoutersBasic-98612747-69106077 to be up.. 2025-08-28 02:16:57,172 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-28 02:17:02,239 - DEBUG - VM is in ACTIVE state now 2025-08-28 02:17:02,239 - INFO - VM name : ctest-TestRoutersBasic-98612747-69106077 2025-08-28 02:17:02,305 - DEBUG - VM ctest-TestRoutersBasic-98612747-69106077 ID is fbc16849-af13-47ed-b2b8-16ee7411f194 2025-08-28 02:17:02,324 - DEBUG - VM ctest-TestRoutersBasic-98612747-69106077 launched on Node cn-jenkins-deploy-platform-ansible-os-3953-1 2025-08-28 02:17:02,394 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/fbc16849-af13-47ed-b2b8-16ee7411f194 2025-08-28 02:17:02,682 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/fbc16849-af13-47ed-b2b8-16ee7411f194 2025-08-28 02:17:02,710 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/a20a56f1-046c-4952-8bcf-4f7a56b5f1fa 2025-08-28 02:17:05,966 - 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 1027ms') 2025-08-28 02:17:05,966 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-98612747-69106077 failed! 2025-08-28 02:17:06,019 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-98612747:ctest-vn-43258055 is 15.64.8.129 and allocation pool is NOT set 2025-08-28 02:17:08,079 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.355 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.355/1.516/2.677/1.161 ms') 2025-08-28 02:17:08,079 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-98612747-69106077 passed 2025-08-28 02:17:08,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:17:08,231 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-98612747-69106077, IP 15.64.8.131, Port 22 2025-08-28 02:17:08,383 - DEBUG - VM ctest-TestRoutersBasic-98612747-69106077 is ready for SSH connections 2025-08-28 02:17:08,383 - INFO - Waiting for VM ctest-TestRoutersBasic-98612747-67507414 to be up.. 2025-08-28 02:17:08,447 - DEBUG - VM is in ACTIVE state now 2025-08-28 02:17:08,447 - INFO - VM name : ctest-TestRoutersBasic-98612747-67507414 2025-08-28 02:17:08,511 - DEBUG - VM ctest-TestRoutersBasic-98612747-67507414 ID is 3df3b228-29a4-49c9-b4fa-e48822ce4b26 2025-08-28 02:17:08,511 - DEBUG - VM ctest-TestRoutersBasic-98612747-67507414 launched on Node cn-jenkins-deploy-platform-ansible-os-3953-1 2025-08-28 02:17:08,571 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/3df3b228-29a4-49c9-b4fa-e48822ce4b26 2025-08-28 02:17:08,579 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c0d4561e-1043-49d4-a11a-744ef13346bf 2025-08-28 02:17:09,811 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.350 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.350/1.511/2.673/1.161 ms') 2025-08-28 02:17:09,812 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-98612747-67507414 passed 2025-08-28 02:17:09,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:17:09,959 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-98612747-67507414, IP 94.89.188.3, Port 22 2025-08-28 02:17:10,114 - DEBUG - VM ctest-TestRoutersBasic-98612747-67507414 is ready for SSH connections 2025-08-28 02:17:10,114 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:17:10,115 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.89.188.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-28 02:17:10,115 - DEBUG - ping -s 56 -c 3 -W 1 94.89.188.3 2025-08-28 02:17:14,067 - DEBUG - PING 94.89.188.3 (94.89.188.3): 56 data bytes 64 bytes from 94.89.188.3: seq=0 ttl=62 time=5.785 ms 64 bytes from 94.89.188.3: seq=1 ttl=62 time=0.894 ms 64 bytes from 94.89.188.3: seq=2 ttl=62 time=0.822 ms --- 94.89.188.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.822/2.500/5.785 ms 2025-08-28 02:17:14,067 - INFO - Ping to IP 94.89.188.3 from VM ctest-TestRoutersBasic-98612747-69106077 passed 2025-08-28 02:17:14,067 - INFO - Deleting interface with subnet_id 928325dc-9275-4b8d-a7fc-f8417819a98e, port_id None from router 046730ce-88a9-4192-b416-62bdbe17dce3 2025-08-28 02:17:14,229 - INFO - Deleting VM ctest-TestRoutersBasic-98612747-67507414 2025-08-28 02:17:14,288 - INFO - Deleting VM ctest-TestRoutersBasic-98612747-69106077 2025-08-28 02:17:14,361 - INFO - Deleting VN ctest-ext_vn-47209264 2025-08-28 02:17:14,415 - DEBUG - VN 3c607804-349c-441b-8be3-76aad565ed3e still in use: Unable to complete operation on network 3c607804-349c-441b-8be3-76aad565ed3e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9f7a97f1-bd49-4cb8-b3d0-4ff7bd883bf1'] 2025-08-28 02:17:14,415 - WARNING - Deleting VN ctest-ext_vn-47209264 failed..Will retry 2025-08-28 02:17:16,497 - DEBUG - Response for deleting network () 2025-08-28 02:17:16,497 - INFO - Deleting VN ctest-vn-43258055 2025-08-28 02:17:16,584 - DEBUG - Response for deleting network () 2025-08-28 02:17:16,837 - DEBUG - No XMPP flaps were noticed during the test 2025-08-28 02:17:16,837 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24] 2025-08-28 02:17:16,837 - INFO - -------------------------------------------------------------------------------- 2025-08-28 02:17:17,477 - INFO - Deleted project: ctest-TestRoutersBasic-98612747, ID : ed30165f-b5e8-4c1e-96c9-1cbd6b1e127b