summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-08-10 20:22:20 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-08-10 20:22:20 +0200
commit18c1f7790b59adb2c798a68e9c3f0a2b24558986 (patch)
tree7f30caea318fbe8e9da4ca6d7bc067c0bff161ef
parent92236d15fc6d88a2f22524ce11691c29deaebd82 (diff)
Print the syslog when the application does not start
Dump the journal when the app does not start. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ia886e87599721deca57dd8664c6637c3cd1f9b3f
-rwxr-xr-xcommon/scripts/application-lifecycle.sh2
1 files changed, 2 insertions, 0 deletions
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