]> xenbits.xensource.com Git - osstest.git/commitdiff
timing traces: cri-args-hostlists: Add some timestamps
authorIan Jackson <ian.jackson@eu.citrix.com>
Mon, 10 Aug 2020 10:52:44 +0000 (11:52 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Mon, 10 Aug 2020 11:23:15 +0000 (12:23 +0100)
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

index 61572c2d6d875ad99bc3063919afdee2038741a5..994e00c0aade3bd1f342352f627219554f195fd8 100644 (file)
@@ -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
 }