[LrdeTools] 399: Attempt to work around istanbul's strange behavior w.r.t. time stamps.

https://svn.lrde.epita.fr/svn/lrde-tools/trunk/build-farm Weird time stamps sometimes appear on istanbul: istanbul /work/build/build_farm % ls -lt | tail -20 11:22 #225 -rw-r--r-- 1 doc lrde 820 Sep 1 17:30 pau.fns -rw-r--r-- 1 doc lrde 411 Sep 1 17:29 generic.fns -rw-r--r-- 1 doc lrde 2 Oct 20 2005 clean.cache -rw-r--r-- 1 doc lrde 2 Oct 20 2005 clean.cache.old -rwxr-xr-x 1 doc lrde 524 Oct 20 2005 make_wrapper.fns* -rw-r--r-- 1 doc lrde 1099 Oct 20 2005 timelimit.c -rw-r--r-- 1 doc lrde 215271 Jan 1 1970 build.clspr.istanbul.21-10_20-47.log -rw-r--r-- 1 doc lrde 37 Jan 1 1970 build.clspr.istanbul.log -rw-r--r-- 1 doc lrde 95182 Jan 1 1970 build.ddd.istanbul.21-10_22-42.log -rw-r--r-- 1 doc lrde 35 Jan 1 1970 build.ddd.istanbul.log -rw-r--r-- 1 doc lrde 61082 Jan 1 1970 build.havm.istanbul.21-10_20-05.log -rw-r--r-- 1 doc lrde 36 Jan 1 1970 build.havm.istanbul.log -rw-r--r-- 1 doc lrde 65132 Jan 1 1970 build.monoburg.istanbul.21-10_20-45.log -rw-r--r-- 1 doc lrde 40 Jan 1 1970 build.monoburg.istanbul.log -rw-r--r-- 1 doc lrde 378127 Jan 1 1970 build.nolimips.istanbul.21-10_20-12.log -rw-r--r-- 1 doc lrde 40 Jan 1 1970 build.nolimips.istanbul.log -rw-r--r-- 1 doc lrde 159009 Jan 1 1970 build.ranch.istanbul.21-10_22-37.log -rw-r--r-- 1 doc lrde 37 Jan 1 1970 build.ranch.istanbul.log -rw-r--r-- 1 doc lrde 1167295 Jan 1 1970 build.tc.istanbul.21-10_20-53.log -rw-r--r-- 1 doc lrde 34 Jan 1 1970 build.tc.istanbul.log I don't known where it comes from, but istanbul is the only host showing of this behavior. Any idea? Index: ChangeLog from Roland Levillain <roland@lrde.epita.fr> Attempt to work around istanbul's strange behavior w.r.t. time stamps. * buildfarm_worker/build_test.fns: Don't use rsync's `-t' option on istanbul, since its time stamps tends to be nonsensical. build_test.fns | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) Index: buildfarm_worker/build_test.fns --- buildfarm_worker/build_test.fns (revision 398) +++ buildfarm_worker/build_test.fns (working copy) @@ -89,7 +89,14 @@ [ "x$dst" = "x" ] && dst="$src" touch "$src" chmod 0644 "$src" - $RSYNC -q -ctz "$src" $RSYNC_HOST::"buildfarm_log/$dst" + # FIXME: Inexplicably, time stamps (mtime) are sometimes set to + # Jan. 1st, 1970 on istanbul (Debian GNU/Linux on Sparc64). Rsync's + # `-t' option has been removed for this host, to see why this + # happens. + case "$host" in + istanbul) $RSYNC -q -cz "$src" $RSYNC_HOST::"buildfarm_log/$dst" ;; + *) $RSYNC -q -ctz "$src" $RSYNC_HOST::"buildfarm_log/$dst" ;; + esac } ############################
participants (1)
-
Roland Levillain