Message ID | 20220622230219.1557695-1-prestwoj@gmail.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
Series | [1/3] test-runner: exclude 'iwd-rtnl' from being enabled with --log | expand |
Context | Check | Description |
---|---|---|
prestwoj/iwd-alpine-ci-fetch | success | Fetch PR |
prestwoj/iwd-ci-testrunner | pending | Autotest Runner |
prestwoj/iwd-ci-gitlint | success | GitLint |
prestwoj/iwd-ci-fetch | success | Fetch PR |
prestwoj/iwd-ci-makedistcheck | success | Make Distcheck |
prestwoj/iwd-ci-build | success | Build - Configure |
prestwoj/iwd-alpine-ci-makedistcheck | success | Make Distcheck |
prestwoj/iwd-alpine-ci-build | success | Build - Configure |
prestwoj/iwd-ci-clang | success | clang PASS |
prestwoj/iwd-ci-makecheckvalgrind | success | Make Check w/Valgrind |
prestwoj/iwd-ci-makecheck | success | Make Check |
prestwoj/iwd-alpine-ci-makecheckvalgrind | success | Make Check w/Valgrind |
prestwoj/iwd-alpine-ci-makecheck | success | Make Check |
prestwoj/iwd-ci-incremental_build | success | Incremental Build with patches |
prestwoj/iwd-alpine-ci-incremental_build | success | Incremental Build with patches |
tedd_an/pre-ci_am | fail | error: patch failed: tools/utils.py:142 error: tools/utils.py: patch does not apply hint: Use 'git am --show-current-patch' to see the failed patch |
Hi James, On 6/22/22 18:02, James Prestwood wrote: > Enabling this ends up dumping so much logging and, at least with namespaces, > seems to break the logger module and cause really weird behavior, worst of > which is that all processes start dumping to stdout. > > This can still be enabled explicitly with --verbose iwd-rtnl, but is turned > off by default when --log is used. > --- > tools/utils.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) All applied, thanks. Regards, -Denis
diff --git a/tools/utils.py b/tools/utils.py index fd51b6e8..e424231f 100644 --- a/tools/utils.py +++ b/tools/utils.py @@ -142,13 +142,14 @@ class Process(subprocess.Popen): @staticmethod def is_verbose(process, log=True): + exclude = ['iwd-rtnl'] process = os.path.basename(process) if Process.testargs is None: return False # every process is verbose when logging is enabled - if log and Process.testargs.log: + if log and Process.testargs.log and process not in exclude: return True if process in Process.testargs.verbose: