aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2021-04-26 10:02:57 +0200
committerOliver Smith <osmith@sysmocom.de>2021-04-26 10:05:09 +0200
commitccc67c7d44eef75b3e6d08e02ea408180c9b49b5 (patch)
treed19ff16a79188fdb0d5486532abc346c847ea1d8 /scripts
parent92948e6f41337f0f55b09ffe362674202281bd6e (diff)
repo-install-test: get journal of failed services
Depending on the service, error messages are not shown with the systemctl command. Run journalctl for failed services so we get the reason for the failure in the jenkins log. Related: OS#5130 Change-Id: Ib454424d7867137246fadd73255d4dbff63731a6
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/repo-install-test/run-inside-docker.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/repo-install-test/run-inside-docker.sh b/scripts/repo-install-test/run-inside-docker.sh
index 4a5f01a..91c8375 100755
--- a/scripts/repo-install-test/run-inside-docker.sh
+++ b/scripts/repo-install-test/run-inside-docker.sh
@@ -379,6 +379,7 @@ services_check() {
for service in $services_feed; do
if ! systemctl --no-pager -l -n 200 status $service; then
failed="$failed $service"
+ journalctl -u "$service" -n 200
fi
done