2026-05-11 02:20:14,749 - INFO - Domain Default found not creating 2026-05-11 02:20:14,963 - INFO - Project ctest-TestRoutersBasic-16866891 not found, creating it 2026-05-11 02:20:15,466 - INFO - Created Project:ctest-TestRoutersBasic-16866891, ID : 4a389c4d-49f1-4efc-b6a6-e410cb274f3c 2026-05-11 02:20:17,769 - INFO - ================================================================================ 2026-05-11 02:20:17,770 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-11 02:20:17,770 - 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-05-11 02:20:18,041 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2026-05-11 02:20:18,041 - INFO - Initial checks done. Running the testcase now 2026-05-11 02:20:18,041 - INFO - 2026-05-11 02:20:18,785 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-16866891 2026-05-11 02:20:18,880 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-16866891 2026-05-11 02:20:19,203 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16866891', 'default']} 2026-05-11 02:20:19,518 - DEBUG - Response for create_network : {'network': {'id': 'd6138495-087b-4e26-8523-068b494949fa', 'name': 'ctest-vn-21011947', 'tenant_id': '4a389c4d49f14efcb6a6e410cb274f3c', 'project_id': '4a389c4d49f14efcb6a6e410cb274f3c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16866891', 'ctest-vn-21011947'], 'port_security_enabled': True, 'description': ''}} 2026-05-11 02:20:19,665 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f26aef21-88d6-4f0d-8d22-638eb1a97d5b', 'name': '', 'tenant_id': '4a389c4d49f14efcb6a6e410cb274f3c', 'network_id': 'd6138495-087b-4e26-8523-068b494949fa', 'ip_version': 4, 'cidr': '45.220.148.192/26', 'allocation_pools': [{'start': '45.220.148.194', 'end': '45.220.148.254'}], 'gateway_ip': '45.220.148.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.220.148.194', 'tags': [], 'project_id': '4a389c4d49f14efcb6a6e410cb274f3c'}} 2026-05-11 02:20:19,685 - INFO - Created VN ctest-vn-21011947 2026-05-11 02:20:19,740 - DEBUG - VN ctest-vn-21011947 UUID is d6138495-087b-4e26-8523-068b494949fa 2026-05-11 02:20:20,072 - DEBUG - Response for create_network : {'network': {'id': 'a3fbbeda-30d8-444f-9570-08a9746423c8', 'name': 'ctest-ext_vn-10330696', 'tenant_id': '4a389c4d49f14efcb6a6e410cb274f3c', 'project_id': '4a389c4d49f14efcb6a6e410cb274f3c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16866891', 'ctest-ext_vn-10330696'], 'port_security_enabled': True, 'description': ''}} 2026-05-11 02:20:20,247 - DEBUG - Response for create_subnet : {'subnet': {'id': '59de0a1e-f990-4ad6-8d9e-7dafd5dd9bb4', 'name': '', 'tenant_id': '4a389c4d49f14efcb6a6e410cb274f3c', 'network_id': 'a3fbbeda-30d8-444f-9570-08a9746423c8', 'ip_version': 4, 'cidr': '210.91.135.64/26', 'allocation_pools': [{'start': '210.91.135.66', 'end': '210.91.135.126'}], 'gateway_ip': '210.91.135.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.91.135.66', 'tags': [], 'project_id': '4a389c4d49f14efcb6a6e410cb274f3c'}} 2026-05-11 02:20:20,266 - INFO - Created VN ctest-ext_vn-10330696 2026-05-11 02:20:20,320 - DEBUG - VN ctest-ext_vn-10330696 UUID is a3fbbeda-30d8-444f-9570-08a9746423c8 2026-05-11 02:20:20,505 - DEBUG - Services list from nova: [, , ] 2026-05-11 02:20:21,565 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5764-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5764-1) 2026-05-11 02:20:22,766 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5764-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5764-1) 2026-05-11 02:20:22,870 - INFO - Setting gateway for router 42f149c3-25d0-498a-a61c-f86b4a1d74bd to network a3fbbeda-30d8-444f-9570-08a9746423c8 2026-05-11 02:20:22,933 - INFO - Adding interface with subnet_id f26aef21-88d6-4f0d-8d22-638eb1a97d5b, port_id None to router 42f149c3-25d0-498a-a61c-f86b4a1d74bd 2026-05-11 02:20:23,353 - INFO - Waiting for VM ctest-TestRoutersBasic-16866891-84720399 to be up.. 2026-05-11 02:20:23,555 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-11 02:20:28,637 - DEBUG - VM is in ACTIVE state now 2026-05-11 02:20:28,638 - INFO - VM name : ctest-TestRoutersBasic-16866891-84720399 2026-05-11 02:20:28,722 - DEBUG - VM ctest-TestRoutersBasic-16866891-84720399 ID is 9919a4d0-64c5-4dc3-aebd-067a69503ad3 2026-05-11 02:20:28,744 - DEBUG - VM ctest-TestRoutersBasic-16866891-84720399 launched on Node cn-jenkins-deploy-platform-ansible-os-5764-1 2026-05-11 02:20:28,821 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9919a4d0-64c5-4dc3-aebd-067a69503ad3 2026-05-11 02:20:29,123 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9919a4d0-64c5-4dc3-aebd-067a69503ad3 2026-05-11 02:20:29,169 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/11892cb1-5716-40b4-82e2-9208944f17ee 2026-05-11 02:20:32,447 - 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 1026ms') 2026-05-11 02:20:32,447 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16866891-84720399 failed! 2026-05-11 02:20:32,504 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-16866891:ctest-vn-21011947 is 45.220.148.193 and allocation pool is NOT set 2026-05-11 02:20:34,562 - 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.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.518 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.518/1.924/3.331/1.406 ms') 2026-05-11 02:20:34,562 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16866891-84720399 passed 2026-05-11 02:20:34,676 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-11 02:20:34,676 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16866891-84720399, IP 45.220.148.195, Port 22 2026-05-11 02:20:34,831 - DEBUG - VM ctest-TestRoutersBasic-16866891-84720399 is ready for SSH connections 2026-05-11 02:20:34,831 - INFO - Waiting for VM ctest-TestRoutersBasic-16866891-88559514 to be up.. 2026-05-11 02:20:34,922 - DEBUG - VM is in ACTIVE state now 2026-05-11 02:20:34,922 - INFO - VM name : ctest-TestRoutersBasic-16866891-88559514 2026-05-11 02:20:35,004 - DEBUG - VM ctest-TestRoutersBasic-16866891-88559514 ID is 19f256ba-6cf9-4cae-82ec-8ed10aa4f4a2 2026-05-11 02:20:35,004 - DEBUG - VM ctest-TestRoutersBasic-16866891-88559514 launched on Node cn-jenkins-deploy-platform-ansible-os-5764-1 2026-05-11 02:20:35,086 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/19f256ba-6cf9-4cae-82ec-8ed10aa4f4a2 2026-05-11 02:20:35,094 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/77f22a27-dd33-4263-b095-fc04bd96d54c 2026-05-11 02:20:36,342 - 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.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.936 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.936/2.095/3.254/1.159 ms') 2026-05-11 02:20:36,342 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-16866891-88559514 passed 2026-05-11 02:20:36,495 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-11 02:20:36,496 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16866891-88559514, IP 210.91.135.67, Port 22 2026-05-11 02:20:36,651 - DEBUG - VM ctest-TestRoutersBasic-16866891-88559514 is ready for SSH connections 2026-05-11 02:20:36,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-11 02:20:36,652 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.91.135.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-05-11 02:20:36,652 - DEBUG - ping -s 56 -c 3 -W 1 210.91.135.67 2026-05-11 02:20:40,370 - DEBUG - PING 210.91.135.67 (210.91.135.67): 56 data bytes 64 bytes from 210.91.135.67: seq=0 ttl=62 time=6.407 ms 64 bytes from 210.91.135.67: seq=1 ttl=62 time=1.076 ms 64 bytes from 210.91.135.67: seq=2 ttl=62 time=1.550 ms --- 210.91.135.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.076/3.011/6.407 ms 2026-05-11 02:20:40,370 - INFO - Ping to IP 210.91.135.67 from VM ctest-TestRoutersBasic-16866891-84720399 passed 2026-05-11 02:20:40,370 - INFO - Deleting interface with subnet_id f26aef21-88d6-4f0d-8d22-638eb1a97d5b, port_id None from router 42f149c3-25d0-498a-a61c-f86b4a1d74bd 2026-05-11 02:20:40,624 - INFO - Deleting VM ctest-TestRoutersBasic-16866891-88559514 2026-05-11 02:20:40,728 - INFO - Deleting VM ctest-TestRoutersBasic-16866891-84720399 2026-05-11 02:20:40,846 - INFO - Deleting VN ctest-ext_vn-10330696 2026-05-11 02:20:40,934 - DEBUG - VN a3fbbeda-30d8-444f-9570-08a9746423c8 still in use: Unable to complete operation on network a3fbbeda-30d8-444f-9570-08a9746423c8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d0a0cb3d-9465-4991-a354-9f85ab02bece'] 2026-05-11 02:20:40,934 - WARNING - Deleting VN ctest-ext_vn-10330696 failed..Will retry 2026-05-11 02:20:43,064 - DEBUG - Response for deleting network () 2026-05-11 02:20:43,064 - INFO - Deleting VN ctest-vn-21011947 2026-05-11 02:20:43,175 - DEBUG - Response for deleting network () 2026-05-11 02:20:43,438 - DEBUG - No XMPP flaps were noticed during the test 2026-05-11 02:20:43,438 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2026-05-11 02:20:43,439 - INFO - -------------------------------------------------------------------------------- 2026-05-11 02:20:44,142 - INFO - Deleted project: ctest-TestRoutersBasic-16866891, ID : 4a389c4d-49f1-4efc-b6a6-e410cb274f3c