[PATCH] osmo-gsm-tester[master]: contrib/jenkins-run.sh: Log and archive ofono output during ...

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Tue Oct 17 13:42:32 UTC 2017


Hello Jenkins Builder,

I'd like you to reexamine a change.  Please visit

    https://gerrit.osmocom.org/4316

to look at the new patch set (#2).

contrib/jenkins-run.sh: Log and archive ofono output during test time

Change-Id: Ie83b03cef4f3ca3a2d91ac4731b3ed602ab1eadf
---
M contrib/jenkins-run.sh
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/16/4316/2

diff --git a/contrib/jenkins-run.sh b/contrib/jenkins-run.sh
index 8c24385..716899e 100755
--- a/contrib/jenkins-run.sh
+++ b/contrib/jenkins-run.sh
@@ -2,6 +2,8 @@
 set -e -x
 base="$PWD"
 
+time_start="$(date '+%F %T')"
+
 # remove older trial dirs and *-run.tgz, if any
 trial_dir_prefix="trial-"
 rm -rf "$trial_dir_prefix"* || true
@@ -28,6 +30,7 @@
 
 # tar up all results for archiving (optional)
 cd "$trial_dir"
+journalctl -u ofono -o short-precise --since "${time_start}" > "$(readlink last_run)/ofono.log"
 tar czf "$base/${trial_dir}-run.tgz" "$(readlink last_run)"
 tar czf "$base/${trial_dir}-bin.tgz" *.md5 *.tgz
 

-- 
To view, visit https://gerrit.osmocom.org/4316
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ie83b03cef4f3ca3a2d91ac4731b3ed602ab1eadf
Gerrit-PatchSet: 2
Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list