From 9dbdb623a0da0113330f41b7d1179e83067e9f77 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Mon, 25 May 2020 16:45:34 +0200 Subject: [PATCH] process: Log stdout tail when process exits with error This is useful since remote processes we run under ssh end up merging both remote stdout and sterr into local stdout. Change-Id: Ibbfb099a667f21641075faa1858e0b9acd706fd2 --- src/osmo_gsm_tester/core/process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osmo_gsm_tester/core/process.py b/src/osmo_gsm_tester/core/process.py index 5d02ab57..320f9ec4 100644 --- a/src/osmo_gsm_tester/core/process.py +++ b/src/osmo_gsm_tester/core/process.py @@ -277,7 +277,7 @@ class Process(log.Origin): self.log('Terminated', rc=self.result) else: self.err('Terminated: ERROR', rc=self.result) - #self.log_stdout_tail() + self.log_stdout_tail() self.log_stderr_tail() def log_stdout_tail(self):