[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[OSSTEST PATCH 6/6] 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 <ian.jackson@xxxxxxxxxxxxx>
---
 cri-args-hostlists | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

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
 }
-- 
2.20.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.