2026-01-06 21:30:13,604 - INFO - Domain Default found not creating 2026-01-06 21:30:13,763 - INFO - Project ctest-TestRoutersBasic-85501902 not found, creating it 2026-01-06 21:30:14,214 - INFO - Created Project:ctest-TestRoutersBasic-85501902, ID : 7b93d41c-2f5d-4deb-b86b-e51377369569 2026-01-06 21:30:15,664 - INFO - ================================================================================ 2026-01-06 21:30:15,664 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-06 21:30:15,664 - 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-06 21:30:15,920 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-01-06 21:30:15,920 - INFO - Initial checks done. Running the testcase now 2026-01-06 21:30:15,920 - INFO - 2026-01-06 21:30:16,616 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-85501902 2026-01-06 21:30:16,710 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-85501902 2026-01-06 21:30:17,026 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85501902', 'default']} 2026-01-06 21:30:17,308 - DEBUG - Response for create_network : {'network': {'id': 'd8565b27-c8a6-4f98-afb8-00595606de05', 'name': 'ctest-vn-58246862', 'tenant_id': '7b93d41c2f5d4debb86be51377369569', 'project_id': '7b93d41c2f5d4debb86be51377369569', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85501902', 'ctest-vn-58246862'], 'port_security_enabled': True, 'description': ''}} 2026-01-06 21:30:17,479 - DEBUG - Response for create_subnet : {'subnet': {'id': '6893baac-33df-41e2-995a-c7caedb7e935', 'name': '', 'tenant_id': '7b93d41c2f5d4debb86be51377369569', 'network_id': 'd8565b27-c8a6-4f98-afb8-00595606de05', 'ip_version': 4, 'cidr': '56.151.163.128/26', 'allocation_pools': [{'start': '56.151.163.130', 'end': '56.151.163.190'}], 'gateway_ip': '56.151.163.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.151.163.130', 'tags': [], 'project_id': '7b93d41c2f5d4debb86be51377369569'}} 2026-01-06 21:30:17,500 - INFO - Created VN ctest-vn-58246862 2026-01-06 21:30:17,550 - DEBUG - VN ctest-vn-58246862 UUID is d8565b27-c8a6-4f98-afb8-00595606de05 2026-01-06 21:30:17,887 - DEBUG - Response for create_network : {'network': {'id': '774831c4-2963-4c61-8cb5-e3d4a6c5620b', 'name': 'ctest-ext_vn-63356601', 'tenant_id': '7b93d41c2f5d4debb86be51377369569', 'project_id': '7b93d41c2f5d4debb86be51377369569', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85501902', 'ctest-ext_vn-63356601'], 'port_security_enabled': True, 'description': ''}} 2026-01-06 21:30:18,111 - DEBUG - Response for create_subnet : {'subnet': {'id': '74230433-7b22-4fee-a7a8-3d73555b5c12', 'name': '', 'tenant_id': '7b93d41c2f5d4debb86be51377369569', 'network_id': '774831c4-2963-4c61-8cb5-e3d4a6c5620b', 'ip_version': 4, 'cidr': '104.232.223.64/26', 'allocation_pools': [{'start': '104.232.223.66', 'end': '104.232.223.126'}], 'gateway_ip': '104.232.223.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.232.223.66', 'tags': [], 'project_id': '7b93d41c2f5d4debb86be51377369569'}} 2026-01-06 21:30:18,128 - INFO - Created VN ctest-ext_vn-63356601 2026-01-06 21:30:18,178 - DEBUG - VN ctest-ext_vn-63356601 UUID is 774831c4-2963-4c61-8cb5-e3d4a6c5620b 2026-01-06 21:30:18,370 - DEBUG - Services list from nova: [, , ] 2026-01-06 21:30:19,371 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4970-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4970-1) 2026-01-06 21:30:20,588 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4970-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4970-1) 2026-01-06 21:30:20,682 - INFO - Setting gateway for router 895f506a-d323-47e6-bf69-007f4cc41538 to network 774831c4-2963-4c61-8cb5-e3d4a6c5620b 2026-01-06 21:30:20,754 - INFO - Adding interface with subnet_id 6893baac-33df-41e2-995a-c7caedb7e935, port_id None to router 895f506a-d323-47e6-bf69-007f4cc41538 2026-01-06 21:30:21,058 - INFO - Waiting for VM ctest-TestRoutersBasic-85501902-82106182 to be up.. 2026-01-06 21:30:21,201 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-06 21:30:26,283 - DEBUG - VM is in ACTIVE state now 2026-01-06 21:30:26,283 - INFO - VM name : ctest-TestRoutersBasic-85501902-82106182 2026-01-06 21:30:26,355 - DEBUG - VM ctest-TestRoutersBasic-85501902-82106182 ID is bb955b02-0a76-4be9-bb8c-a182e804f3d9 2026-01-06 21:30:26,372 - DEBUG - VM ctest-TestRoutersBasic-85501902-82106182 launched on Node cn-jenkins-deploy-platform-ansible-os-4970-1 2026-01-06 21:30:26,437 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/bb955b02-0a76-4be9-bb8c-a182e804f3d9 2026-01-06 21:30:26,732 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/bb955b02-0a76-4be9-bb8c-a182e804f3d9 2026-01-06 21:30:26,765 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/11310e6a-c1ac-42e0-96fd-ad7977dcf0ac 2026-01-06 21:30:30,022 - 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 1030ms') 2026-01-06 21:30:30,022 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-85501902-82106182 failed! 2026-01-06 21:30:30,074 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-85501902:ctest-vn-58246862 is 56.151.163.129 and allocation pool is NOT set 2026-01-06 21:30:32,132 - 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.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.406 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.406/1.658/2.910/1.252 ms') 2026-01-06 21:30:32,132 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-85501902-82106182 passed 2026-01-06 21:30:32,282 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-06 21:30:32,282 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-85501902-82106182, IP 56.151.163.131, Port 22 2026-01-06 21:30:32,434 - DEBUG - VM ctest-TestRoutersBasic-85501902-82106182 is ready for SSH connections 2026-01-06 21:30:32,434 - INFO - Waiting for VM ctest-TestRoutersBasic-85501902-56646042 to be up.. 2026-01-06 21:30:32,507 - DEBUG - VM is in ACTIVE state now 2026-01-06 21:30:32,507 - INFO - VM name : ctest-TestRoutersBasic-85501902-56646042 2026-01-06 21:30:32,576 - DEBUG - VM ctest-TestRoutersBasic-85501902-56646042 ID is 908e8fa2-a5e3-4060-b1e1-0f61219a6c93 2026-01-06 21:30:32,576 - DEBUG - VM ctest-TestRoutersBasic-85501902-56646042 launched on Node cn-jenkins-deploy-platform-ansible-os-4970-1 2026-01-06 21:30:32,646 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/908e8fa2-a5e3-4060-b1e1-0f61219a6c93 2026-01-06 21:30:32,654 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/e43ab2a6-65bb-4770-be47-823c72c213c5 2026-01-06 21:30:33,883 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.445 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.445/1.586/2.728/1.141 ms') 2026-01-06 21:30:33,883 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-85501902-56646042 passed 2026-01-06 21:30:34,030 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-06 21:30:34,031 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-85501902-56646042, IP 104.232.223.67, Port 22 2026-01-06 21:30:34,182 - DEBUG - VM ctest-TestRoutersBasic-85501902-56646042 is ready for SSH connections 2026-01-06 21:30:34,182 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-06 21:30:34,182 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.232.223.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-06 21:30:34,182 - DEBUG - ping -s 56 -c 3 -W 1 104.232.223.67 2026-01-06 21:30:37,867 - DEBUG - PING 104.232.223.67 (104.232.223.67): 56 data bytes 64 bytes from 104.232.223.67: seq=0 ttl=62 time=6.108 ms 64 bytes from 104.232.223.67: seq=1 ttl=62 time=0.802 ms 64 bytes from 104.232.223.67: seq=2 ttl=62 time=0.955 ms --- 104.232.223.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.802/2.621/6.108 ms 2026-01-06 21:30:37,867 - INFO - Ping to IP 104.232.223.67 from VM ctest-TestRoutersBasic-85501902-82106182 passed 2026-01-06 21:30:37,868 - INFO - Deleting interface with subnet_id 6893baac-33df-41e2-995a-c7caedb7e935, port_id None from router 895f506a-d323-47e6-bf69-007f4cc41538 2026-01-06 21:30:38,035 - INFO - Deleting VM ctest-TestRoutersBasic-85501902-56646042 2026-01-06 21:30:38,112 - INFO - Deleting VM ctest-TestRoutersBasic-85501902-82106182 2026-01-06 21:30:38,205 - INFO - Deleting VN ctest-ext_vn-63356601 2026-01-06 21:30:38,273 - DEBUG - VN 774831c4-2963-4c61-8cb5-e3d4a6c5620b still in use: Unable to complete operation on network 774831c4-2963-4c61-8cb5-e3d4a6c5620b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0d4f2968-8e2b-4728-bedc-c1db0b5e0b62'] 2026-01-06 21:30:38,273 - WARNING - Deleting VN ctest-ext_vn-63356601 failed..Will retry 2026-01-06 21:30:40,369 - DEBUG - Response for deleting network () 2026-01-06 21:30:40,369 - INFO - Deleting VN ctest-vn-58246862 2026-01-06 21:30:40,469 - DEBUG - Response for deleting network () 2026-01-06 21:30:40,727 - DEBUG - No XMPP flaps were noticed during the test 2026-01-06 21:30:40,727 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-01-06 21:30:40,727 - INFO - -------------------------------------------------------------------------------- 2026-01-06 21:30:41,420 - INFO - Deleted project: ctest-TestRoutersBasic-85501902, ID : 7b93d41c-2f5d-4deb-b86b-e51377369569