<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=393313713-29112006><FONT face=Arial
color=#0000ff size=2>Hi Dave,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=393313713-29112006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=393313713-29112006><FONT face=Arial
color=#0000ff size=2> No, cron doesn't handle UTC time at all.
Vixiecron, the stock RedHat cron does execute jobs that happen during the
missing hour when we spring ahead, and does not execute jobs twice when we fall
back, but that's it. You can specify minute, hour, day of month, month,
day of week, but no time zone. This is why I generally recommend that cron
jobs start 1+ hours after the start of the dashboard, then the timing can't get
out of sync...</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=393313713-29112006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=393313713-29112006><FONT face=Arial
color=#0000ff size=2> I like your suggestion: would be easier to explain
why the dashboard starts at 9:00 or 11:00 pm rather than 10:00pm instead of
debugging why builds get lost after daylight savings. We could setup the
stock project as UTC, but our Australian friends would have default dashboards
that start at 9:00am, which isn't that useful...</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=393313713-29112006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=393313713-29112006><FONT face=Arial
color=#0000ff size=2>-dan</FONT></SPAN></DIV><BR>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> David Cole
[mailto:david.cole@kitware.com] <BR><B>Sent:</B> Wednesday, November 29, 2006
8:36 AM<BR><B>To:</B> Blezek, Daniel J (GE, Research)<BR><B>Cc:</B> Tobias
Kaupp; dart@public.kitware.com; CMake<BR><B>Subject:</B> Re: [Dart] nightly
builds fall behind<BR></FONT><BR></DIV>
<DIV></DIV>[Cross-posted to the CMake list as food for
thought...]<BR><BR>Maybe there should be a recommendation in the docs for
people setting up new Dart servers / new dashboards that they express the
project start time in UTC. And propagate that recommendation out to ctest
users who set up dashboards via DartConfig.cmake or CTestConfig.cmake... Are
there default/sample projects that could be modified to encourage
this?<BR><BR>If everybody expressed times in the project files as UTC,
everybody would get used to thinking in terms of "how does my time zone relate
to UTC" and this question would be asked a bit less frequently. <BR><BR>Then
we would just need crontab cron jobs to allow time expressions in terms of UTC
(or does it already and I just don't know...?)<BR><BR>:-)<BR>Dave<BR><BR><BR>
<DIV><SPAN class=gmail_quote>On 11/29/06, <B class=gmail_sendername>Blezek,
Daniel J (GE, Research)</B> <<A
href="mailto:blezek@crd.ge.com">blezek@crd.ge.com</A>> wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>Hi
Dave,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>
It's a really good question actually. All times for Dart may be
expressed as UTC (I for one would prefer it), but local users are welcome to
express these times in their local time zone. Since UTC is a fixed
time, it doesn't obey silly daylight savings rules which can lead to sudden
switching of your dashboard to time from 10:00pm to 11:00pm. If the
time is expressed in the local time, without time zone, the dashboard keeps
the 10:00pm end time regardless of daylight savings (switch between EST and
EDT).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>
All times that come out of Dart in the archive files are UTC and the Dart2
format expressly requires UTC times.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2>-dan</FONT></SPAN></DIV><BR>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV lang=en-us dir=ltr align=left>
<HR>
<FONT face=Tahoma size=2><B>From:</B> David Cole [mailto:<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:david.cole@kitware.com"
target=_blank>david.cole@kitware.com</A>] <BR><B>Sent:</B> Tuesday,
November 28, 2006 5:03 PM<BR><B>To:</B> Blezek, Daniel J (GE,
Research)<BR><B>Cc:</B> Tobias Kaupp; <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:dart@public.kitware.com"
target=_blank>dart@public.kitware.com</A><BR><B>Subject:</B> Re: [Dart]
nightly builds fall behind<BR></FONT><BR></DIV>
<DIV><SPAN class=e id=q_10f33dceec79195f_1>
<DIV></DIV>I know there are no "stupid" questions, but this sure seems
like one: why aren't all times for Dart expressed as UTC? Seems like most
projects I've heard that are using Dart have contributors spread all
around the world... <BR><BR>Just curious,<BR>Dave<BR><BR>
<DIV><SPAN class=gmail_quote>On 11/28/06, <B
class=gmail_sendername>Blezek, Daniel J (GE, Research)</B> <<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:blezek@crd.ge.com" target=_blank>blezek@crd.ge.com</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Tobias,<BR><BR> This
is exactly why we hate daylight savings around here. Glad you
figured it out! If it's all the same to you, it might be a
good idea to separate Dart's idea of start time and your cron job by 1.5
hours. Then you (almost) never have to
worry.<BR><BR>-dan<BR><BR>-----Original Message-----<BR>From:
dart-bounces+blezek=<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:crd.ge.com@public.kitware.com"
target=_blank>crd.ge.com@public.kitware.com</A> [mailto:<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:dart-bounces+blezek=crd.ge.com@public.kitware.com"
target=_blank> dart-bounces+blezek=crd.ge.com@public.kitware.com</A>] On
Behalf Of Tobias Kaupp<BR>Sent: Tuesday, November 28, 2006 4:53
PM<BR>To: <A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:dart@public.kitware.com"
target=_blank>dart@public.kitware.com</A><BR>Subject: RE: [Dart] nightly
builds fall behind <BR><BR>To answer my own question:<BR><BR>It had to
do with the daylight savings. NIGHTLY_START_TIME "04:00:00 EAST"<BR>(in
DartConfig.cmake) maps to 5am in summer (the timestamp field on the
webpage <A onclick="return top.js.OpenExtLink(window,event,this)"
href="http://129.78.210.237:8081/orca2/Dashboard/"
target=_blank>http://129.78.210.237:8081/orca2/Dashboard/</A> shows 5am
which I hadn't noticed). The cronjob ran at 4.15am before, so results
got submitted to the day before. I moved it to 5.15am and it works
now.<BR><BR><BR>> Hi all, <BR>><BR>> we have some trouble with
the nightly tests. For some reason, they<BR>> started falling one day
behind (see<BR>> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://129.78.210.237:8081/orca2/Dashboard/"
target=_blank>http://129.78.210.237:8081/orca2/Dashboard/
</A>).<BR>><BR>> We run a cron job at 4.15 am and our
DartConfig.cmake specifies the<BR>> following:<BR>> SET
(NIGHTLY_START_TIME "04:00:00 EAST")<BR>><BR>> From our log
file:<BR>><BR>> ---------------------------------------- <BR>>
Sat Nov 25 04:57:57 EST 2006<BR>>
----------------------------------------<BR>> Determine Nightly Start
Time<BR>> Specified time: 04:00:00 EAST<BR>> Create new tag:
20061123-1800 - Nightly<BR>><BR>> This tag should be 20061124-1800
instead (it used to work).<BR>><BR>> Any idea why it's doing
this?<BR>><BR>> Cheers, Tobias<BR>><BR>><BR>> Here is our
full DartConfig.cmake:<BR>> ============================ <BR>> SET
(DROP_METHOD "xmlrpc")<BR>> SET (DROP_SITE "<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://opium.acfr.usyd.edu.au:8081"
target=_blank>http://opium.acfr.usyd.edu.au:8081</A> ")<BR>> SET
(DROP_LOCATION "orca2")<BR>> SET (COMPRESS_SUBMISSION ON)
<BR>><BR>> # Dashboard is opened for submissions for a 24 hour
period starting at<BR>> # the specified NIGHLY_START_TIME. Time is
specified in 24 hour<BR>> format.<BR>> SET (NIGHTLY_START_TIME
"04:00:00 EAST") <BR>><BR>> # Set up valgrind<BR>>
FIND_PROGRAM(MEMORYCHECK_COMMAND<BR>> NAMES
valgrind<BR>>
PATHS<BR>> DOC "Path to valgrind, used for
memory error detection."<BR>>
)<BR>> SET(MEMORYCHECK_SUPPRESSIONS_FILE "" CACHE
FILEPATH "File that <BR>> contains suppressions for the memmory
checker")<BR>> ================================<BR>><BR>>
Here's the script we run:<BR>><BR>>
=======================<BR>> SET (DASHBOARD_ROOT
"/home/users/dart/ctests/orca/orca2-nightly") <BR>> SET
(CTEST_SOURCE_DIRECTORY "${DASHBOARD_ROOT}/orca2") SET<BR>>
(CTEST_BINARY_DIRECTORY "${DASHBOARD_ROOT}/build-gcc40")<BR>><BR>>
SET (CTEST_CVS_COMMAND "cvs")<BR>><BR>> # which command to use for
running the dashboard # #SET (CTEST_COMMAND <BR>> "ctest -D
NightlyMemoryCheck -A<BR>>
\"${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}\"" ) SET<BR>>
(CTEST_COMMAND "ctest -D NightlyMemoryCheck -A<BR>>
\"${CTEST_BINARY_DIRECTORY}/cmake_config_report.txt\"" )
<BR>><BR>> # what cmake command to use for configuring this
dashboard SET<BR>> (CTEST_CMAKE_COMMAND "cmake" )<BR>><BR>> #
should ctest wipe the binary tree before running SET<BR>>
(CTEST_START_WITH_EMPTY_BINARY_DIRECTORY TRUE) <BR>><BR>> # this
is the initial cache to use for the binary tree, be careful to<BR>>
escape # any quotes inside of this string if you use it SET<BR>>
(CTEST_INITIAL_CACHE "<BR>> MAKECOMMAND:STRING=make <BR>>
BUILDNAME:STRING=Debian-gcc40<BR>> SITE:STRING=<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://devdebian.acfr.usyd.edu.au"
target=_blank>devdebian.acfr.usyd.edu.au</A><BR>>
CMAKE_BUILD_TYPE:STRING=Debug<BR>> BUILD_JAVA:BOOL=ON<BR>>
BUILD_IMAGE_SERVER:BOOL=ON <BR>> ")<BR>><BR>> # set any extra
envionment variables here SET (CTEST_ENVIRONMENT<BR>>
ORCA2_INSTALL=/opt/orca2-nightly<BR>>
CC=/usr/bin/gcc-4.0<BR>>
CXX=/usr/bin/g++-4.0<BR>> CXXFLAGS=-fprofile-arcs
-ftest-coverage <BR>> CFLAGS=-fprofile-arcs
-ftest-coverage<BR>> LDFLAGS=-fprofile-arcs
-ftest-coverage<BR>> )<BR>>
=======================<BR>><BR>><BR>> --<BR>>
-------------------------------------------------------------- <BR>>
Tobias Kaupp<BR>><BR>> ARC Centre of Excellence for Autonomous
Systems (Australian Centre for<BR>> Field Robotics) The Rose St
Building, J04 The University of Sydney,<BR>> NSW 2006
Australia<BR>> <BR>><BR>> Phone: +61 2 9351
7154<BR>> Fax: +61 2 9351 7474<BR>> Email: <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:t.kaupp@cas.edu.au"
target=_blank>t.kaupp@cas.edu.au</A><BR>> Web: <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.acfr.usyd.edu.au/people/postgrads/t.kaupp/"
target=_blank>http://www.acfr.usyd.edu.au/people/postgrads/t.kaupp/
</A><BR>>
--------------------------------------------------------------<BR>>
_______________________________________________<BR>> Dart mailing
list<BR>> <A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:Dart@public.kitware.com"
target=_blank>Dart@public.kitware.com </A><BR>> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://public.kitware.com/mailman/listinfo/dart"
target=_blank>http://public.kitware.com/mailman/listinfo/dart</A><BR>><BR>><BR><BR><BR>_______________________________________________
<BR>Dart mailing list<BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:Dart@public.kitware.com"
target=_blank>Dart@public.kitware.com</A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://public.kitware.com/mailman/listinfo/dart"
target=_blank>http://public.kitware.com/mailman/listinfo/dart</A><BR>_______________________________________________
<BR>Dart mailing list<BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:Dart@public.kitware.com"
target=_blank>Dart@public.kitware.com</A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://public.kitware.com/mailman/listinfo/dart"
target=_blank>http://public.kitware.com/mailman/listinfo/dart</A><BR></BLOCKQUOTE></DIV><BR></SPAN></DIV></BLOCKQUOTE></DIV></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>