From: Ian Jackson Date: Mon, 10 Aug 2020 10:52:44 +0000 (+0100) Subject: timing traces: cri-args-hostlists: Add some timestamps X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=a2ed45da7aec4792b579d5afb80e92c6f9980c73;p=osstest.git timing traces: cri-args-hostlists: Add some timestamps Pass --report-processing-start-time, and add some calls to date >&2. Signed-off-by: Ian Jackson --- diff --git a/cri-args-hostlists b/cri-args-hostlists index 61572c2..994e00c 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 }