From: Jan-Simon Moeller Date: Mon, 10 Aug 2020 18:22:20 +0000 (+0200) Subject: Print the syslog when the application does not start X-Git-Tag: 9.99.3~2 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=18c1f7790b59adb2c798a68e9c3f0a2b24558986;p=src%2Fqa-testdefinitions.git 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 --- 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