From 1b1dea26a57adcd161166211046928305bae9c67 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Wed, 21 Feb 2018 15:12:52 +0000 Subject: jjb: xci: Use the 'ts' utility to print timestamps on executed steps. We can use the 'ts' utility to print timestamps on every executed command so we can keep track on the duration of each task and the job overall. Change-Id: I77d5d66c0146f943d805612ca5b47e2eed3ffc41 Signed-off-by: Markos Chandras --- jjb/xci/bifrost-verify.sh | 2 +- jjb/xci/xci-start-new-vm.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'jjb/xci') diff --git a/jjb/xci/bifrost-verify.sh b/jjb/xci/bifrost-verify.sh index 451f33b4b..d3a37ce8a 100755 --- a/jjb/xci/bifrost-verify.sh +++ b/jjb/xci/bifrost-verify.sh @@ -28,7 +28,7 @@ set -o pipefail cd ~/bifrost # provision 3 VMs; xcimaster, controller, and compute -./scripts/bifrost-provision.sh +./scripts/bifrost-provision.sh | ts sudo -H -E virsh list EOF diff --git a/jjb/xci/xci-start-new-vm.sh b/jjb/xci/xci-start-new-vm.sh index b72c33920..2c6ec3fad 100755 --- a/jjb/xci/xci-start-new-vm.sh +++ b/jjb/xci/xci-start-new-vm.sh @@ -53,7 +53,7 @@ if [[ ! -z ${WORKSPACE+x} && $GERRIT_PROJECT != "releng-xci" ]]; then fi cd xci -./xci-deploy.sh +./xci-deploy.sh | ts EOF chmod a+x xci_test.sh -- cgit