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

[OSSTEST PATCH 3/6] timing traces: cr-daily-branch: Add more calls to date >&2



More tools to see where it is faffing too much.

Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 cr-daily-branch | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/cr-daily-branch b/cr-daily-branch
index d84dcc8e..b8f221ee 100755
--- a/cr-daily-branch
+++ b/cr-daily-branch
@@ -51,6 +51,7 @@ determine_version () {
                 if [ "x$FORCE_REVISION" != x ]; then
                         tversion="$FORCE_REVISION"
                 else
+                       date >&2
                        tversion=`$AP_FETCH_PFX ./ap-fetch-version "$tbranch"`
                 fi
                determine_tree "$treevarwhich" "" _${treevarwhich}
@@ -98,6 +99,7 @@ if [ "x$OLD_REVISION" = x ]; then
                # last test will have tested the previous upstream baseline
                OLD_REVISION=`check_tested --print-revision=$tree`
            else
+               date >&2
                OLD_REVISION="`$AP_FETCH_PFX ./ap-fetch-version-old $branch`"
            fi
            ;;
@@ -159,6 +161,7 @@ if [ "x$REVISION_XEN" = x ]; then
         export REVISION_XEN
 fi
 if [ "x$REVISION_PREVXEN" = x -a "x$prevxenbranch" != "x" ]; then
+       date >&2
        REVISION_PREVXEN="`\
                $AP_FETCH_PFX ./ap-fetch-version-baseline $prevxenbranch`"
        export REVISION_PREVXEN
@@ -321,6 +324,7 @@ unset IFS
 
 if [ "x$OLD_REVISION" = xdetermine-late ]; then
        OLD_REVISION="`\
+ date >&2
  $AP_FETCH_PFX ./ap-fetch-version-baseline-late $branch $NEW_REVISION`"
 fi
 
@@ -430,6 +434,7 @@ case "$NEW_REVISION/$OLD_REVISION" in
 
                 case "$realtree" in
                 xen-4*|xen-unstable*)
+                   date >&2
                     oldqemu=`./ap-qemu-revision $realtree $OLD_REVISION`
                     newqemu=`./ap-qemu-revision $realtree $NEW_REVISION`
                     if [ "$oldqemu" ] && [ "$newqemu" ]; then
@@ -445,6 +450,7 @@ case "$NEW_REVISION/$OLD_REVISION" in
                 cat <<END >tmp/$flight.people-touched
 People who touched revisions under test:
 END
+               date >&2
                 ./adhoc-people-touched-filter <$revlog \
                         >>tmp/$flight.people-touched
                touched_lines=`wc -l <tmp/$flight.people-touched`
@@ -464,9 +470,12 @@ esac
 
 sgr_args+=" $EXTRA_SGR_ARGS"
 
+date >&2
 : $flight $branch $OSSTEST_BLESSING $sgr_args
 $DAILY_BRANCH_PREEXEC_HOOK
 execute_flight $flight $OSSTEST_BLESSING
+date >&2
+
 start_email $flight $branch "$sgr_args" "$subject_prefix"
 
 push=false
@@ -502,6 +511,7 @@ elif $push; then
                echo >&2 "BAD PUSH REVISION $to_push"
                ;;
        [0-9a-f]*)
+               date >&2
                if ./ap-push $branch $to_push 2>&1; then
                        rm -f $branch.push $branch.force-rev
                        perl -i~ -pe '
@@ -527,6 +537,7 @@ freebsd-*)
     if grep '^tolerable$' $mrof >/dev/null 2>&1 && $OSSTEST_ANOINT &&
        [ "x$OSSTEST_BLESSING" == "xreal" ]; then
         IFS=$'\n'
+       date >&2
         for anointed in `./mg-anoint list-prepared \
                                      "freebsd build $freebsd_branch *"`; do
             # Update anointed versions
@@ -554,4 +565,5 @@ if [ -f $revlog ]; then
     fi
 fi
 
+date >&2
 publish_send_email $flight
-- 
2.20.1




 


Rackspace

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