2025-10-21 21:27:14,894 - INFO - Domain Default found not creating 2025-10-21 21:27:15,065 - INFO - Project ctest-TestRoutersBasic-50370189 not found, creating it 2025-10-21 21:27:15,543 - INFO - Created Project:ctest-TestRoutersBasic-50370189, ID : 6840d19c-06b5-458e-bdc7-42717bbb11fd 2025-10-21 21:27:16,993 - INFO - ================================================================================ 2025-10-21 21:27:16,993 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-21 21:27:16,993 - 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-10-21 21:27:17,249 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-21 21:27:17,249 - INFO - Initial checks done. Running the testcase now 2025-10-21 21:27:17,249 - INFO - 2025-10-21 21:27:17,961 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-50370189 2025-10-21 21:27:18,059 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-50370189 2025-10-21 21:27:18,386 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50370189', 'default']} 2025-10-21 21:27:18,672 - DEBUG - Response for create_network : {'network': {'id': '3d8b10c9-f158-443f-92ef-8f8210b8769f', 'name': 'ctest-vn-96930183', 'tenant_id': '6840d19c06b5458ebdc742717bbb11fd', 'project_id': '6840d19c06b5458ebdc742717bbb11fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50370189', 'ctest-vn-96930183'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 21:27:18,829 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f80dff3e-28a4-45f5-8e80-a7bc00663b17', 'name': '', 'tenant_id': '6840d19c06b5458ebdc742717bbb11fd', 'network_id': '3d8b10c9-f158-443f-92ef-8f8210b8769f', 'ip_version': 4, 'cidr': '154.230.131.0/26', 'allocation_pools': [{'start': '154.230.131.2', 'end': '154.230.131.62'}], 'gateway_ip': '154.230.131.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.230.131.2', 'tags': [], 'project_id': '6840d19c06b5458ebdc742717bbb11fd'}} 2025-10-21 21:27:18,846 - INFO - Created VN ctest-vn-96930183 2025-10-21 21:27:18,899 - DEBUG - VN ctest-vn-96930183 UUID is 3d8b10c9-f158-443f-92ef-8f8210b8769f 2025-10-21 21:27:19,239 - DEBUG - Response for create_network : {'network': {'id': '2417d1ce-6d68-4ba3-9e8a-2b4914a4e212', 'name': 'ctest-ext_vn-81111401', 'tenant_id': '6840d19c06b5458ebdc742717bbb11fd', 'project_id': '6840d19c06b5458ebdc742717bbb11fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50370189', 'ctest-ext_vn-81111401'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 21:27:19,461 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f843f8e7-9bdd-41ee-98a2-92aa2cc618e9', 'name': '', 'tenant_id': '6840d19c06b5458ebdc742717bbb11fd', 'network_id': '2417d1ce-6d68-4ba3-9e8a-2b4914a4e212', 'ip_version': 4, 'cidr': '199.157.144.128/26', 'allocation_pools': [{'start': '199.157.144.130', 'end': '199.157.144.190'}], 'gateway_ip': '199.157.144.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.157.144.130', 'tags': [], 'project_id': '6840d19c06b5458ebdc742717bbb11fd'}} 2025-10-21 21:27:19,479 - INFO - Created VN ctest-ext_vn-81111401 2025-10-21 21:27:19,535 - DEBUG - VN ctest-ext_vn-81111401 UUID is 2417d1ce-6d68-4ba3-9e8a-2b4914a4e212 2025-10-21 21:27:19,701 - DEBUG - Services list from nova: [, , ] 2025-10-21 21:27:20,736 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4408-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4408-1) 2025-10-21 21:27:21,903 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4408-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4408-1) 2025-10-21 21:27:21,974 - INFO - Setting gateway for router 8baec942-8294-4435-a480-96ad543cee8b to network 2417d1ce-6d68-4ba3-9e8a-2b4914a4e212 2025-10-21 21:27:22,044 - INFO - Adding interface with subnet_id f80dff3e-28a4-45f5-8e80-a7bc00663b17, port_id None to router 8baec942-8294-4435-a480-96ad543cee8b 2025-10-21 21:27:22,436 - INFO - Waiting for VM ctest-TestRoutersBasic-50370189-66054677 to be up.. 2025-10-21 21:27:22,542 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 21:27:27,616 - DEBUG - VM is in ACTIVE state now 2025-10-21 21:27:27,617 - INFO - VM name : ctest-TestRoutersBasic-50370189-66054677 2025-10-21 21:27:27,692 - DEBUG - VM ctest-TestRoutersBasic-50370189-66054677 ID is 32dd9690-4cc5-4d61-a243-a4fb8dfabc49 2025-10-21 21:27:27,712 - DEBUG - VM ctest-TestRoutersBasic-50370189-66054677 launched on Node cn-jenkins-deploy-platform-ansible-os-4408-1 2025-10-21 21:27:27,788 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/32dd9690-4cc5-4d61-a243-a4fb8dfabc49 2025-10-21 21:27:28,086 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/32dd9690-4cc5-4d61-a243-a4fb8dfabc49 2025-10-21 21:27:28,122 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e7e22f3a-8137-4ee6-aa01-d24ff60373d3 2025-10-21 21:27:31,375 - 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 1015ms') 2025-10-21 21:27:31,375 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-50370189-66054677 failed! 2025-10-21 21:27:31,431 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-50370189:ctest-vn-96930183 is 154.230.131.1 and allocation pool is NOT set 2025-10-21 21:27:33,493 - 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=4.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.581 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.581/2.527/4.474/1.946 ms') 2025-10-21 21:27:33,493 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-50370189-66054677 passed 2025-10-21 21:27:33,599 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:27:33,599 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50370189-66054677, IP 154.230.131.3, Port 22 2025-10-21 21:27:33,768 - DEBUG - VM ctest-TestRoutersBasic-50370189-66054677 is ready for SSH connections 2025-10-21 21:27:33,768 - INFO - Waiting for VM ctest-TestRoutersBasic-50370189-43933871 to be up.. 2025-10-21 21:27:33,847 - DEBUG - VM is in ACTIVE state now 2025-10-21 21:27:33,847 - INFO - VM name : ctest-TestRoutersBasic-50370189-43933871 2025-10-21 21:27:33,920 - DEBUG - VM ctest-TestRoutersBasic-50370189-43933871 ID is 347ab1e4-6f99-4594-96ea-af2fdeab13a8 2025-10-21 21:27:33,920 - DEBUG - VM ctest-TestRoutersBasic-50370189-43933871 launched on Node cn-jenkins-deploy-platform-ansible-os-4408-1 2025-10-21 21:27:33,997 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/347ab1e4-6f99-4594-96ea-af2fdeab13a8 2025-10-21 21:27:34,005 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/97074ec7-b251-4d47-a8da-4b75f07528c9 2025-10-21 21:27:35,243 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.484 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.484/1.662/2.840/1.178 ms') 2025-10-21 21:27:35,243 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-50370189-43933871 passed 2025-10-21 21:27:35,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:27:35,391 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50370189-43933871, IP 199.157.144.131, Port 22 2025-10-21 21:27:35,551 - DEBUG - VM ctest-TestRoutersBasic-50370189-43933871 is ready for SSH connections 2025-10-21 21:27:35,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:27:35,551 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.157.144.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 21:27:35,551 - DEBUG - ping -s 56 -c 3 -W 1 199.157.144.131 2025-10-21 21:27:39,618 - DEBUG - PING 199.157.144.131 (199.157.144.131): 56 data bytes 64 bytes from 199.157.144.131: seq=0 ttl=62 time=6.001 ms 64 bytes from 199.157.144.131: seq=1 ttl=62 time=0.904 ms 64 bytes from 199.157.144.131: seq=2 ttl=62 time=1.092 ms --- 199.157.144.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.904/2.665/6.001 ms 2025-10-21 21:27:39,618 - INFO - Ping to IP 199.157.144.131 from VM ctest-TestRoutersBasic-50370189-66054677 passed 2025-10-21 21:27:39,618 - INFO - Deleting interface with subnet_id f80dff3e-28a4-45f5-8e80-a7bc00663b17, port_id None from router 8baec942-8294-4435-a480-96ad543cee8b 2025-10-21 21:27:39,807 - INFO - Deleting VM ctest-TestRoutersBasic-50370189-43933871 2025-10-21 21:27:39,893 - INFO - Deleting VM ctest-TestRoutersBasic-50370189-66054677 2025-10-21 21:27:39,982 - INFO - Deleting VN ctest-ext_vn-81111401 2025-10-21 21:27:40,047 - DEBUG - VN 2417d1ce-6d68-4ba3-9e8a-2b4914a4e212 still in use: Unable to complete operation on network 2417d1ce-6d68-4ba3-9e8a-2b4914a4e212. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7718ffec-ee71-47ee-8bd3-29e74f07e9b9'] 2025-10-21 21:27:40,047 - WARNING - Deleting VN ctest-ext_vn-81111401 failed..Will retry 2025-10-21 21:27:42,285 - DEBUG - Response for deleting network () 2025-10-21 21:27:42,285 - INFO - Deleting VN ctest-vn-96930183 2025-10-21 21:27:42,392 - DEBUG - Response for deleting network () 2025-10-21 21:27:42,648 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 21:27:42,648 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-10-21 21:27:42,648 - INFO - -------------------------------------------------------------------------------- 2025-10-21 21:27:43,341 - INFO - Deleted project: ctest-TestRoutersBasic-50370189, ID : 6840d19c-06b5-458e-bdc7-42717bbb11fd