2026-06-18 14:57:56,097 - INFO - Domain Default found not creating 2026-06-18 14:57:56,232 - INFO - Project ctest-TestRoutersBasic-12446164 not found, creating it 2026-06-18 14:57:56,698 - INFO - Created Project:ctest-TestRoutersBasic-12446164, ID : b5b379a4-e288-44b0-b466-9c12bb9d7100 2026-06-18 14:57:58,156 - INFO - ================================================================================ 2026-06-18 14:57:58,156 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-18 14:57:58,156 - 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 2026-06-18 14:57:58,423 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-06-18 14:57:58,423 - INFO - Initial checks done. Running the testcase now 2026-06-18 14:57:58,423 - INFO - 2026-06-18 14:57:59,137 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-12446164 2026-06-18 14:57:59,235 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-12446164 2026-06-18 14:57:59,547 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12446164', 'default']} 2026-06-18 14:57:59,806 - DEBUG - Response for create_network : {'network': {'id': 'ffb90cb1-e0e3-4594-90ca-04cbe0a324b9', 'name': 'ctest-vn-96059163', 'tenant_id': 'b5b379a4e28844b0b4669c12bb9d7100', 'project_id': 'b5b379a4e28844b0b4669c12bb9d7100', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12446164', 'ctest-vn-96059163'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 14:58:00,018 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2cd0da9-e8e7-490f-a11c-25c3f61e0764', 'name': '', 'tenant_id': 'b5b379a4e28844b0b4669c12bb9d7100', 'network_id': 'ffb90cb1-e0e3-4594-90ca-04cbe0a324b9', 'ip_version': 4, 'cidr': '44.157.205.64/26', 'allocation_pools': [{'start': '44.157.205.66', 'end': '44.157.205.126'}], 'gateway_ip': '44.157.205.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.157.205.66', 'tags': [], 'project_id': 'b5b379a4e28844b0b4669c12bb9d7100'}} 2026-06-18 14:58:00,031 - INFO - Created VN ctest-vn-96059163 2026-06-18 14:58:00,083 - DEBUG - VN ctest-vn-96059163 UUID is ffb90cb1-e0e3-4594-90ca-04cbe0a324b9 2026-06-18 14:58:00,392 - DEBUG - Response for create_network : {'network': {'id': '3656fc74-781b-4cd6-8d27-68366b8fab3f', 'name': 'ctest-ext_vn-96551968', 'tenant_id': 'b5b379a4e28844b0b4669c12bb9d7100', 'project_id': 'b5b379a4e28844b0b4669c12bb9d7100', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12446164', 'ctest-ext_vn-96551968'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 14:58:00,609 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd0a2f6ca-7753-4614-a962-30c9a6ca6b7a', 'name': '', 'tenant_id': 'b5b379a4e28844b0b4669c12bb9d7100', 'network_id': '3656fc74-781b-4cd6-8d27-68366b8fab3f', 'ip_version': 4, 'cidr': '186.38.27.192/26', 'allocation_pools': [{'start': '186.38.27.194', 'end': '186.38.27.254'}], 'gateway_ip': '186.38.27.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.38.27.194', 'tags': [], 'project_id': 'b5b379a4e28844b0b4669c12bb9d7100'}} 2026-06-18 14:58:00,623 - INFO - Created VN ctest-ext_vn-96551968 2026-06-18 14:58:00,675 - DEBUG - VN ctest-ext_vn-96551968 UUID is 3656fc74-781b-4cd6-8d27-68366b8fab3f 2026-06-18 14:58:00,854 - DEBUG - Services list from nova: [, , ] 2026-06-18 14:58:01,900 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5986-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5986-1) 2026-06-18 14:58:02,961 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5986-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5986-1) 2026-06-18 14:58:03,013 - INFO - Setting gateway for router 6bb0e92b-eb33-448f-8b1d-a7ff7c0280fe to network 3656fc74-781b-4cd6-8d27-68366b8fab3f 2026-06-18 14:58:03,053 - INFO - Adding interface with subnet_id f2cd0da9-e8e7-490f-a11c-25c3f61e0764, port_id None to router 6bb0e92b-eb33-448f-8b1d-a7ff7c0280fe 2026-06-18 14:58:03,233 - INFO - Waiting for VM ctest-TestRoutersBasic-12446164-96166352 to be up.. 2026-06-18 14:58:03,295 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 14:58:08,372 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 14:58:13,440 - DEBUG - VM is in ACTIVE state now 2026-06-18 14:58:13,440 - INFO - VM name : ctest-TestRoutersBasic-12446164-96166352 2026-06-18 14:58:13,501 - DEBUG - VM ctest-TestRoutersBasic-12446164-96166352 ID is a66960cd-6ab0-4ece-8f78-a1783ca99246 2026-06-18 14:58:13,517 - DEBUG - VM ctest-TestRoutersBasic-12446164-96166352 launched on Node cn-jenkins-deploy-platform-ansible-os-5986-1 2026-06-18 14:58:13,578 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a66960cd-6ab0-4ece-8f78-a1783ca99246 2026-06-18 14:58:13,890 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a66960cd-6ab0-4ece-8f78-a1783ca99246 2026-06-18 14:58:13,919 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/761e800a-5a6f-4189-857b-944653a6a440 2026-06-18 14:58:17,155 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms') 2026-06-18 14:58:17,155 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-12446164-96166352 failed! 2026-06-18 14:58:17,207 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-12446164:ctest-vn-96059163 is 44.157.205.65 and allocation pool is NOT set 2026-06-18 14:58:19,273 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=3.04 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.369 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.369/1.705/3.041/1.336 ms') 2026-06-18 14:58:19,273 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-12446164-96166352 passed 2026-06-18 14:58:19,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 14:58:19,419 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12446164-96166352, IP 44.157.205.67, Port 22 2026-06-18 14:58:19,570 - DEBUG - VM ctest-TestRoutersBasic-12446164-96166352 is ready for SSH connections 2026-06-18 14:58:19,571 - INFO - Waiting for VM ctest-TestRoutersBasic-12446164-27855554 to be up.. 2026-06-18 14:58:19,636 - DEBUG - VM is in ACTIVE state now 2026-06-18 14:58:19,636 - INFO - VM name : ctest-TestRoutersBasic-12446164-27855554 2026-06-18 14:58:19,717 - DEBUG - VM ctest-TestRoutersBasic-12446164-27855554 ID is d360cf96-d6d9-4d14-8904-cad3158aa489 2026-06-18 14:58:19,718 - DEBUG - VM ctest-TestRoutersBasic-12446164-27855554 launched on Node cn-jenkins-deploy-platform-ansible-os-5986-1 2026-06-18 14:58:19,801 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d360cf96-d6d9-4d14-8904-cad3158aa489 2026-06-18 14:58:19,809 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/11ef43fb-f745-4aa8-9e62-a4d88f199afe 2026-06-18 14:58:21,057 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=5.23 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=2.11 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.109/3.667/5.225/1.558 ms') 2026-06-18 14:58:21,057 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-12446164-27855554 passed 2026-06-18 14:58:21,207 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 14:58:21,207 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12446164-27855554, IP 186.38.27.196, Port 22 2026-06-18 14:58:21,362 - DEBUG - VM ctest-TestRoutersBasic-12446164-27855554 is ready for SSH connections 2026-06-18 14:58:21,363 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 14:58:21,363 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.38.27.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-06-18 14:58:21,363 - DEBUG - ping -s 56 -c 3 -W 1 186.38.27.196 2026-06-18 14:58:23,912 - DEBUG - PING 186.38.27.196 (186.38.27.196): 56 data bytes 64 bytes from 186.38.27.196: seq=0 ttl=62 time=4.799 ms 64 bytes from 186.38.27.196: seq=1 ttl=62 time=0.818 ms 64 bytes from 186.38.27.196: seq=2 ttl=62 time=0.860 ms --- 186.38.27.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.818/2.159/4.799 ms 2026-06-18 14:58:23,913 - INFO - Ping to IP 186.38.27.196 from VM ctest-TestRoutersBasic-12446164-96166352 passed 2026-06-18 14:58:23,913 - INFO - Deleting interface with subnet_id f2cd0da9-e8e7-490f-a11c-25c3f61e0764, port_id None from router 6bb0e92b-eb33-448f-8b1d-a7ff7c0280fe 2026-06-18 14:58:24,067 - INFO - Deleting VM ctest-TestRoutersBasic-12446164-27855554 2026-06-18 14:58:24,125 - INFO - Deleting VM ctest-TestRoutersBasic-12446164-96166352 2026-06-18 14:58:24,198 - INFO - Deleting VN ctest-ext_vn-96551968 2026-06-18 14:58:24,243 - DEBUG - VN 3656fc74-781b-4cd6-8d27-68366b8fab3f still in use: Unable to complete operation on network 3656fc74-781b-4cd6-8d27-68366b8fab3f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-25aefdb6-13ce-441c-9513-fb108b89d75f'] 2026-06-18 14:58:24,243 - WARNING - Deleting VN ctest-ext_vn-96551968 failed..Will retry 2026-06-18 14:58:26,326 - DEBUG - Response for deleting network () 2026-06-18 14:58:26,326 - INFO - Deleting VN ctest-vn-96059163 2026-06-18 14:58:26,438 - DEBUG - Response for deleting network () 2026-06-18 14:58:26,693 - DEBUG - No XMPP flaps were noticed during the test 2026-06-18 14:58:26,693 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28] 2026-06-18 14:58:26,693 - INFO - -------------------------------------------------------------------------------- 2026-06-18 14:58:27,350 - INFO - Deleted project: ctest-TestRoutersBasic-12446164, ID : b5b379a4-e288-44b0-b466-9c12bb9d7100