[CRIU] [PATCH 11/14] test: don't save content of /sys/kernel/debug/tracing/trace
Andrei Vagin
avagin at virtuozzo.com
Sat Jun 2 00:03:01 MSK 2018
We don't tune tracers, so we don't expect to get anything.
In docker containers, debugfs isn't mounted and this command failed.
Signed-off-by: Andrei Vagin <avagin at virtuozzo.com>
---
test/jenkins/criu-lib.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/jenkins/criu-lib.sh b/test/jenkins/criu-lib.sh
index 138066943..72d41b57d 100644
--- a/test/jenkins/criu-lib.sh
+++ b/test/jenkins/criu-lib.sh
@@ -33,9 +33,9 @@ function mount_tmpfs_to_dump()
function fail()
{
+ set +e
uname -a
- ps axf > ps.log
- cat /sys/kernel/debug/tracing/trace > trace.log
+ ps axf --width 256 > ps.log
tar -czf /home/`basename $0`-${BUILD_NUMBER}-${GIT_COMMIT}-$(date +%m%d%H%M).tar.gz .
tar -czf report.tar.gz -C test/ report
exit 1
--
2.14.3
More information about the CRIU
mailing list