* [PATCH v2] oe-time-dd-test.sh: collect cooker log when timeout is exceeded
@ 2021-04-26 19:51 Sakib Sajal
0 siblings, 0 replies; only message in thread
From: Sakib Sajal @ 2021-04-26 19:51 UTC (permalink / raw)
To: openembedded-core
Collect the last 30 lines from the cooker.log
whenever the timeout is exceeded.
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
---
scripts/oe-time-dd-test.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/oe-time-dd-test.sh b/scripts/oe-time-dd-test.sh
index 459071e732..46b218b76a 100755
--- a/scripts/oe-time-dd-test.sh
+++ b/scripts/oe-time-dd-test.sh
@@ -25,4 +25,5 @@ timeout ${TIMEOUT} dd if=/dev/zero of=oe-time-dd-test.dat bs=1024 count=$1 conv=
if [ $? -ne 0 ]; then
echo "Timeout used: ${TIMEOUT}"
top -c -b -n1 -w 512
+ tail -30 tmp*/log/cooker/*/console-latest.log
fi
--
2.25.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-26 19:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-26 19:51 [PATCH v2] oe-time-dd-test.sh: collect cooker log when timeout is exceeded Sakib Sajal
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.