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

[OSSTEST PATCH] cri-args-hostlists: Add some calls to date(1)



This will make it easier to see perf changes etc.

Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 cri-args-hostlists | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/cri-args-hostlists b/cri-args-hostlists
index 28d576db..61572c2d 100644
--- a/cri-args-hostlists
+++ b/cri-args-hostlists
@@ -117,17 +117,25 @@ start_email () {
 
        globallockdir=`getconfig GlobalLockDir`
 
+       date >&2
+
        with-lock-ex -w $globallockdir/report-lock \
          ./sg-report-job-history --html-dir=$job_html_dir --flight=$flight
 
+       date >&2
+
        ./sg-report-flight --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
 
+       date >&2
+
        mkdir -p $host_html_dir
        with-lock-ex -w $globallockdir/report-lock \
          ./sg-report-host-history --html-dir=$host_html_dir flight:$flight
+
+       date >&2
 }
 
 publish_send_email () {
-- 
2.20.1




 


Rackspace

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