Commit 6c169c51 authored by Andrei Vagin's avatar Andrei Vagin Committed by Pavel Emelyanov

test: don't save content of /sys/kernel/debug/tracing/trace

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: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 5604ccbe
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment