From 18c1f7790b59adb2c798a68e9c3f0a2b24558986 Mon Sep 17 00:00:00 2001 From: Jan-Simon Moeller Date: Mon, 10 Aug 2020 20:22:20 +0200 Subject: Print the syslog when the application does not start Dump the journal when the app does not start. Signed-off-by: Jan-Simon Moeller Change-Id: Ia886e87599721deca57dd8664c6637c3cd1f9b3f --- common/scripts/application-lifecycle.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/scripts/application-lifecycle.sh b/common/scripts/application-lifecycle.sh index 0935fd2..e0837a6 100755 --- a/common/scripts/application-lifecycle.sh +++ b/common/scripts/application-lifecycle.sh @@ -209,6 +209,7 @@ do if [ $? -ne 0 ];then echo "ERROR: afm-util start" lava-test-case afm-util-start-$WGTNAME --result fail + journalctl -an 200 continue else lava-test-case afm-util-start-$WGTNAME --result pass @@ -275,6 +276,7 @@ do if [ $? -ne 0 ];then echo "ERROR: afm-util start2" lava-test-case afm-util-start2-$WGTNAME --result fail + journalctl -an 200 continue else lava-test-case afm-util-start2-$WGTNAME --result pass -- cgit 1.2.3-korg