From 532cd045fca531916745a902c1f5a3d470d68147 Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Fri, 25 Oct 2024 12:08:43 +0200 Subject: feat(core): Remove PIP installation from CSIT Signed-off-by: Peter Mikus Change-Id: I67f6ba64c445af361ebd8a8bf9a4cd0d001b239b --- resources/libraries/python/SetupFramework.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/resources/libraries/python/SetupFramework.py b/resources/libraries/python/SetupFramework.py index 95ca8a7d51..438116fce0 100644 --- a/resources/libraries/python/SetupFramework.py +++ b/resources/libraries/python/SetupFramework.py @@ -1,4 +1,4 @@ -# Copyright (c) 2023 Cisco and/or its affiliates. +# Copyright (c) 2024 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -165,11 +165,6 @@ def setup_node(node, tarball, remote_tarball, results=None, logs=None): try: copy_tarball_to_node(tarball, node) extract_tarball_at_node(remote_tarball, node) - if node[u"type"] == NodeType.TG: - stdout, stderr = create_env_directory_at_node(node) - if isinstance(logs, list): - logs.append(f"{node[u'host']} Env stdout: {stdout}") - logs.append(f"{node[u'host']} Env stderr: {stderr}") except Exception: # any exception must result in result = False # since this runs in a thread and can't be caught anywhere else -- cgit 1.2.3-korg