Change in osmo-ci[master]: repo-install-test: get journal of failed services

osmith gerrit-no-reply at lists.osmocom.org
Mon Apr 26 08:06:26 UTC 2021


osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/23902 )


Change subject: repo-install-test: get journal of failed services
......................................................................

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
---
M scripts/repo-install-test/run-inside-docker.sh
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/02/23902/1

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 @@
 	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
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/23902
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Ib454424d7867137246fadd73255d4dbff63731a6
Gerrit-Change-Number: 23902
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210426/4de93596/attachment.htm>


More information about the gerrit-log mailing list