From 4b6b6ad0568200b467a085c3cdd104af113a2ddc Mon Sep 17 00:00:00 2001 From: Guillaume Raffy Date: Tue, 26 Nov 2024 15:26:51 +0100 Subject: [PATCH] added more debug traces to debug a problem that only happens in ci (can't reproduce even when logged as jenkins-agent) The error message is: > ValueError: failed to find compilers/ifort/latest amongst available environment modules (set()) work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3958] --- iprbench/envmodules.py | 1 + 1 file changed, 1 insertion(+) diff --git a/iprbench/envmodules.py b/iprbench/envmodules.py index 4b692ba..2cb0a0b 100644 --- a/iprbench/envmodules.py +++ b/iprbench/envmodules.py @@ -22,6 +22,7 @@ def get_available_modules() -> Set[EnvModule]: # modules # null stdout = completed_process.stdout.decode('utf-8') + logging.debug('get_available_modules: stdout="%s"', stdout) for line in stdout.splitlines(): logging.debug('available module line: "%s"', line) if not re.search(r'\:$', line): # ignore the directories such as '/usr/share/modules/modulefiles:'