mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-01 06:45:35 +00:00
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: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
@@ -33,9 +33,9 @@ function mount_tmpfs_to_dump()
|
|||||||
|
|
||||||
function fail()
|
function fail()
|
||||||
{
|
{
|
||||||
|
set +e
|
||||||
uname -a
|
uname -a
|
||||||
ps axf > ps.log
|
ps axf --width 256 > ps.log
|
||||||
cat /sys/kernel/debug/tracing/trace > trace.log
|
|
||||||
tar -czf /home/`basename $0`-${BUILD_NUMBER}-${GIT_COMMIT}-$(date +%m%d%H%M).tar.gz .
|
tar -czf /home/`basename $0`-${BUILD_NUMBER}-${GIT_COMMIT}-$(date +%m%d%H%M).tar.gz .
|
||||||
tar -czf report.tar.gz -C test/ report
|
tar -czf report.tar.gz -C test/ report
|
||||||
exit 1
|
exit 1
|
||||||
|
Reference in New Issue
Block a user