2026-01-30 20:56:37,334 - INFO - Domain Default found not creating 2026-01-30 20:56:37,483 - INFO - Project ctest-TestRoutersBasic-54548467 not found, creating it 2026-01-30 20:56:37,922 - INFO - Created Project:ctest-TestRoutersBasic-54548467, ID : 2a0b53b1-5abf-4e6d-a1ad-af6b9d72a0ba 2026-01-30 20:56:39,353 - INFO - ================================================================================ 2026-01-30 20:56:39,353 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-30 20:56:39,353 - 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-01-30 20:56:39,608 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2026-01-30 20:56:39,608 - INFO - Initial checks done. Running the testcase now 2026-01-30 20:56:39,608 - INFO - 2026-01-30 20:56:40,303 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-54548467 2026-01-30 20:56:40,396 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-54548467 2026-01-30 20:56:40,708 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54548467', 'default']} 2026-01-30 20:56:40,985 - DEBUG - Response for create_network : {'network': {'id': 'cc1e8d53-0dca-4aaf-9e3d-95c54c8a4a70', 'name': 'ctest-vn-74564723', 'tenant_id': '2a0b53b15abf4e6da1adaf6b9d72a0ba', 'project_id': '2a0b53b15abf4e6da1adaf6b9d72a0ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54548467', 'ctest-vn-74564723'], 'port_security_enabled': True, 'description': ''}} 2026-01-30 20:56:41,219 - DEBUG - Response for create_subnet : {'subnet': {'id': '13a3a286-b6ee-4619-935e-76c41cce8a4d', 'name': '', 'tenant_id': '2a0b53b15abf4e6da1adaf6b9d72a0ba', 'network_id': 'cc1e8d53-0dca-4aaf-9e3d-95c54c8a4a70', 'ip_version': 4, 'cidr': '138.92.146.128/26', 'allocation_pools': [{'start': '138.92.146.130', 'end': '138.92.146.190'}], 'gateway_ip': '138.92.146.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.92.146.130', 'tags': [], 'project_id': '2a0b53b15abf4e6da1adaf6b9d72a0ba'}} 2026-01-30 20:56:41,237 - INFO - Created VN ctest-vn-74564723 2026-01-30 20:56:41,288 - DEBUG - VN ctest-vn-74564723 UUID is cc1e8d53-0dca-4aaf-9e3d-95c54c8a4a70 2026-01-30 20:56:41,603 - DEBUG - Response for create_network : {'network': {'id': '2b69ce39-a93b-4e85-9978-9b2d325327e9', 'name': 'ctest-ext_vn-83377797', 'tenant_id': '2a0b53b15abf4e6da1adaf6b9d72a0ba', 'project_id': '2a0b53b15abf4e6da1adaf6b9d72a0ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54548467', 'ctest-ext_vn-83377797'], 'port_security_enabled': True, 'description': ''}} 2026-01-30 20:56:41,773 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e13332e4-ba6e-4f24-bd48-51aca746aebb', 'name': '', 'tenant_id': '2a0b53b15abf4e6da1adaf6b9d72a0ba', 'network_id': '2b69ce39-a93b-4e85-9978-9b2d325327e9', 'ip_version': 4, 'cidr': '197.155.194.192/26', 'allocation_pools': [{'start': '197.155.194.194', 'end': '197.155.194.254'}], 'gateway_ip': '197.155.194.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.155.194.194', 'tags': [], 'project_id': '2a0b53b15abf4e6da1adaf6b9d72a0ba'}} 2026-01-30 20:56:41,787 - INFO - Created VN ctest-ext_vn-83377797 2026-01-30 20:56:41,840 - DEBUG - VN ctest-ext_vn-83377797 UUID is 2b69ce39-a93b-4e85-9978-9b2d325327e9 2026-01-30 20:56:42,039 - DEBUG - Services list from nova: [, , ] 2026-01-30 20:56:43,027 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5152-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5152-1) 2026-01-30 20:56:44,147 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5152-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5152-1) 2026-01-30 20:56:44,225 - INFO - Setting gateway for router 3e725b58-08cd-422e-a9cc-56f378b23b84 to network 2b69ce39-a93b-4e85-9978-9b2d325327e9 2026-01-30 20:56:44,331 - INFO - Adding interface with subnet_id 13a3a286-b6ee-4619-935e-76c41cce8a4d, port_id None to router 3e725b58-08cd-422e-a9cc-56f378b23b84 2026-01-30 20:56:44,613 - INFO - Waiting for VM ctest-TestRoutersBasic-54548467-17014615 to be up.. 2026-01-30 20:56:44,721 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-30 20:56:49,793 - DEBUG - VM is in ACTIVE state now 2026-01-30 20:56:49,793 - INFO - VM name : ctest-TestRoutersBasic-54548467-17014615 2026-01-30 20:56:49,874 - DEBUG - VM ctest-TestRoutersBasic-54548467-17014615 ID is f8ea8aed-4dbf-4da9-8080-a794ab81a7a9 2026-01-30 20:56:49,896 - DEBUG - VM ctest-TestRoutersBasic-54548467-17014615 launched on Node cn-jenkins-deploy-platform-ansible-os-5152-1 2026-01-30 20:56:49,963 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/f8ea8aed-4dbf-4da9-8080-a794ab81a7a9 2026-01-30 20:56:50,257 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/f8ea8aed-4dbf-4da9-8080-a794ab81a7a9 2026-01-30 20:56:50,291 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/bfe21645-1ea6-4ab3-a6d5-a12ae6235ce9 2026-01-30 20:56:53,527 - 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 1003ms') 2026-01-30 20:56:53,527 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-54548467-17014615 failed! 2026-01-30 20:56:53,580 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-54548467:ctest-vn-74564723 is 138.92.146.129 and allocation pool is NOT set 2026-01-30 20:56:55,637 - 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=3.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.546 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.546/1.893/3.240/1.347 ms') 2026-01-30 20:56:55,637 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-54548467-17014615 passed 2026-01-30 20:56:55,784 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 20:56:55,784 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54548467-17014615, IP 138.92.146.131, Port 22 2026-01-30 20:56:55,940 - DEBUG - VM ctest-TestRoutersBasic-54548467-17014615 is ready for SSH connections 2026-01-30 20:56:55,940 - INFO - Waiting for VM ctest-TestRoutersBasic-54548467-17614627 to be up.. 2026-01-30 20:56:56,024 - DEBUG - VM is in ACTIVE state now 2026-01-30 20:56:56,024 - INFO - VM name : ctest-TestRoutersBasic-54548467-17614627 2026-01-30 20:56:56,100 - DEBUG - VM ctest-TestRoutersBasic-54548467-17614627 ID is 96dee1d6-7aa2-4af7-81b9-d0c20b831345 2026-01-30 20:56:56,100 - DEBUG - VM ctest-TestRoutersBasic-54548467-17614627 launched on Node cn-jenkins-deploy-platform-ansible-os-5152-1 2026-01-30 20:56:56,176 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/96dee1d6-7aa2-4af7-81b9-d0c20b831345 2026-01-30 20:56:56,184 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/beee34ed-9756-43ab-a0e2-963010a0fd18 2026-01-30 20:56:57,426 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.371 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.371/1.495/2.620/1.124 ms') 2026-01-30 20:56:57,426 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-54548467-17614627 passed 2026-01-30 20:56:57,572 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 20:56:57,572 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54548467-17614627, IP 197.155.194.195, Port 22 2026-01-30 20:56:57,727 - DEBUG - VM ctest-TestRoutersBasic-54548467-17614627 is ready for SSH connections 2026-01-30 20:56:57,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 20:56:57,727 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.155.194.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-01-30 20:56:57,727 - DEBUG - ping -s 56 -c 3 -W 1 197.155.194.195 2026-01-30 20:57:01,430 - DEBUG - PING 197.155.194.195 (197.155.194.195): 56 data bytes 64 bytes from 197.155.194.195: seq=0 ttl=62 time=4.992 ms 64 bytes from 197.155.194.195: seq=1 ttl=62 time=1.030 ms 64 bytes from 197.155.194.195: seq=2 ttl=62 time=1.019 ms --- 197.155.194.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.019/2.347/4.992 ms 2026-01-30 20:57:01,430 - INFO - Ping to IP 197.155.194.195 from VM ctest-TestRoutersBasic-54548467-17014615 passed 2026-01-30 20:57:01,430 - INFO - Deleting interface with subnet_id 13a3a286-b6ee-4619-935e-76c41cce8a4d, port_id None from router 3e725b58-08cd-422e-a9cc-56f378b23b84 2026-01-30 20:57:01,612 - INFO - Deleting VM ctest-TestRoutersBasic-54548467-17614627 2026-01-30 20:57:01,676 - INFO - Deleting VM ctest-TestRoutersBasic-54548467-17014615 2026-01-30 20:57:01,748 - INFO - Deleting VN ctest-ext_vn-83377797 2026-01-30 20:57:01,810 - DEBUG - VN 2b69ce39-a93b-4e85-9978-9b2d325327e9 still in use: Unable to complete operation on network 2b69ce39-a93b-4e85-9978-9b2d325327e9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fc655001-0706-4244-9475-bbab291e7c35'] 2026-01-30 20:57:01,810 - WARNING - Deleting VN ctest-ext_vn-83377797 failed..Will retry 2026-01-30 20:57:03,906 - DEBUG - Response for deleting network () 2026-01-30 20:57:03,906 - INFO - Deleting VN ctest-vn-74564723 2026-01-30 20:57:04,011 - DEBUG - Response for deleting network () 2026-01-30 20:57:04,265 - DEBUG - No XMPP flaps were noticed during the test 2026-01-30 20:57:04,265 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-01-30 20:57:04,265 - INFO - -------------------------------------------------------------------------------- 2026-01-30 20:57:04,931 - INFO - Deleted project: ctest-TestRoutersBasic-54548467, ID : 2a0b53b1-5abf-4e6d-a1ad-af6b9d72a0ba