diff mbox series

[OSSTEST,6/6] timing traces: cri-args-hostlists: Add some timestamps

Message ID 20200810112047.30285-6-ian.jackson@eu.citrix.com (mailing list archive)
State New, archived
Headers show
Series [OSSTEST,1/6] cr-publish-flight-logs: Make a proper option parser | expand

Commit Message

Ian Jackson Aug. 10, 2020, 11:20 a.m. UTC
Pass --report-processing-start-time, and add some calls to date >&2.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
 cri-args-hostlists | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/cri-args-hostlists b/cri-args-hostlists
index 61572c2d..994e00c0 100644
--- a/cri-args-hostlists
+++ b/cri-args-hostlists
@@ -77,11 +77,13 @@  execute_flight () {
         rm -f abort
         check_stop_core ''
 
+	date >&2
         ./cr-ensure-disk-space Logs
         ./cr-ensure-disk-space LogsPublish
 
 	export OSSTEST_RESOURCE_PREINFO="[$branch $2]"
 
+	date >&2
 	set +e
         ./sg-execute-flight $1 $2 >tmp/$1.transcript 2>&1
 	local rc=$?
@@ -120,11 +122,13 @@  start_email () {
 	date >&2
 
 	with-lock-ex -w $globallockdir/report-lock \
-	  ./sg-report-job-history --html-dir=$job_html_dir --flight=$flight
+	  ./sg-report-job-history --report-processing-start-time \
+	    --html-dir=$job_html_dir --flight=$flight
 
 	date >&2
 
-	./sg-report-flight --html-dir=$flight_html_dir/$flight/ \
+	./sg-report-flight --report-processing-start-time \
+	        --html-dir=$flight_html_dir/$flight/ \
 		--allow=allow.all --allow=allow.$branch \
 		$sgr_args $flight >tmp/$flight.report
 	./cr-fold-long-lines tmp/$flight.report
@@ -133,7 +137,8 @@  start_email () {
 
 	mkdir -p $host_html_dir
 	with-lock-ex -w $globallockdir/report-lock \
-	  ./sg-report-host-history --html-dir=$host_html_dir flight:$flight
+	  ./sg-report-host-history --report-processing-start-time \
+	        --html-dir=$host_html_dir flight:$flight
 
 	date >&2
 }