From 88616ad8dcf019f909b9731053f92884732e59af Mon Sep 17 00:00:00 2001 From: Si Hammill Date: Tue, 11 Feb 2025 13:05:54 +0000 Subject: [PATCH] Removed logic that causes error fail when downloading log files --- tf_compare.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tf_compare.py b/tf_compare.py index e5e459f..c3ba887 100644 --- a/tf_compare.py +++ b/tf_compare.py @@ -115,8 +115,6 @@ def get_workflow_runs(): print(f"Error deleting folder {folder_to_delete}: {e}") else: print("Failed to fetch logs:", response.text) - else: - sys.exit("Failed to get details from current runtime") # Print error details get_artifact_URL() else: print("Valid workflow not used, only Beta, Monthly or Red on the develop branch is accepted for the TF Compare script") @@ -138,8 +136,6 @@ def unzip_log_files(): # Get list of filenames in zipfile zip_files = zip_ref.namelist() - print(zip_files) - # Only unzip the Testing log file whihc contains the RT verison #log_files = [f for f in zip_files if f.startswith("CI/4_Testing")] log_files = [f for f in zip_files if fnmatch.fnmatch(f, "CI/*Testing*")] @@ -615,7 +611,7 @@ def log_fail(testName, failDetails, compiler, test_code_details): f"{test_code_details[1]}\n\n" f"### Which platform(s) are you seeing the problem on?\n" f"Windows", - "assignee" : "sihammill" + #"assignee" : "username" } else: issue_data = {