Loading ci/collect_artifacts.py +3 −0 Original line number Diff line number Diff line Loading @@ -57,6 +57,9 @@ def collect_for_sanitizer_test(file): with open(file) as f: console_log = f.readlines() print("CONSOLE_LOG:") print(console_log) files_to_archive_noPLC = find_failed_files_for_sanitizer_test( console_log, "logs_noPLC" ) Loading ci/run_scheduled_sanitizer_test.py +9 −5 Original line number Diff line number Diff line Loading @@ -115,7 +115,7 @@ def run_check(modes: list, out_formats: list, tests: list, run_fec: bool = True) ) ) with open(CONSOLE_OUT_FILE, "a") as f: with open(CONSOLE_OUT_FILE, "w") as f: proc = subprocess.Popen( cmd_no_fec, stdout=subprocess.PIPE, stderr=subprocess.PIPE ) Loading Loading @@ -174,9 +174,13 @@ def run_check(modes: list, out_formats: list, tests: list, run_fec: bool = True) ) ) proc = subprocess.Popen(cmd_fec, stdout=subprocess.PIPE, stderr=subprocess.PIPE) with open(CONSOLE_OUT_FILE, "a") as f: proc = subprocess.Popen( cmd_fec, stdout=subprocess.PIPE, stderr=subprocess.PIPE ) for c in iter(lambda: proc.stdout.read(1), b""): sys.stdout.buffer.write(c) f.write(c.decode("utf8")) proc.wait() returncode_fec = proc.returncode Loading Loading
ci/collect_artifacts.py +3 −0 Original line number Diff line number Diff line Loading @@ -57,6 +57,9 @@ def collect_for_sanitizer_test(file): with open(file) as f: console_log = f.readlines() print("CONSOLE_LOG:") print(console_log) files_to_archive_noPLC = find_failed_files_for_sanitizer_test( console_log, "logs_noPLC" ) Loading
ci/run_scheduled_sanitizer_test.py +9 −5 Original line number Diff line number Diff line Loading @@ -115,7 +115,7 @@ def run_check(modes: list, out_formats: list, tests: list, run_fec: bool = True) ) ) with open(CONSOLE_OUT_FILE, "a") as f: with open(CONSOLE_OUT_FILE, "w") as f: proc = subprocess.Popen( cmd_no_fec, stdout=subprocess.PIPE, stderr=subprocess.PIPE ) Loading Loading @@ -174,9 +174,13 @@ def run_check(modes: list, out_formats: list, tests: list, run_fec: bool = True) ) ) proc = subprocess.Popen(cmd_fec, stdout=subprocess.PIPE, stderr=subprocess.PIPE) with open(CONSOLE_OUT_FILE, "a") as f: proc = subprocess.Popen( cmd_fec, stdout=subprocess.PIPE, stderr=subprocess.PIPE ) for c in iter(lambda: proc.stdout.read(1), b""): sys.stdout.buffer.write(c) f.write(c.decode("utf8")) proc.wait() returncode_fec = proc.returncode Loading