[Anthill] Schedule Problems
Qazi, Karim
kqazi at edmunds.com
Thu Feb 10 16:33:26 CST 2005
I have created the following schedule:
schedule.name = Tester
schedule.build.interval = 2
schedule.start.time = 14:00
This schedule should start at 2PM and run builds every two minutes. It
is not doing this. The schedule never runs because the next time it
checks if it has to run a build it automatically increments the
"nextBuildTime" to two more minutes which would be fine if a build was
already running but no build ever gets started??? It appears that if
Anthill does not check at the exact moment that the "nextBuildTime" is
supposed to run then it increments this to the build interval and this
scenario keeps happening over and over...No build ever gets kicked off.
Here is some debug output:
14:12:54:477 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.Anthill - Anthill.refreshScheduleMap
scheduleFileName: Tester
14:12:54:477 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.Anthill - Anthill.refreshScheduleMap
scheduleFileName: stoppedSchedule
14:12:54:478 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.AnthillSchedule - getNextBuildTime() name:
Tester nextBuildCalMillis: 1108073160478
14:12:54:478 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.AnthillSchedule - getNextBuildTime() name:
Tester millis since start: 414000
14:12:54:478 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.AnthillSchedule - getNextBuildTime() name:
Tester intervals since start: 4.0
14:12:54:479 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.AnthillSchedule - getNextBuildTime() name:
Tester nextBuildTime: 1108073640478, Feb 10, 2005 2:14:00 PM
14:12:54:479 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.AnthillSchedule - getNextBuildTime() name:
Tester currentTime: 1108073574479, Feb 10, 2005 2:12:54 PM
14:12:54:479 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.BuildDaemon - getProjectBeingBuilt() : null
14:13:24:573 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.Anthill - Anthill.refreshScheduleMap
scheduleFileName: Tester
14:13:24:573 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.Anthill - Anthill.refreshScheduleMap
scheduleFileName: stoppedSchedule
14:13:24:574 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.AnthillSchedule - getNextBuildTime() name:
Tester nextBuildCalMillis: 1108073160574
14:13:24:574 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.AnthillSchedule - getNextBuildTime() name:
Tester millis since start: 444000
14:13:24:575 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.AnthillSchedule - getNextBuildTime() name:
Tester intervals since start: 4.0
14:13:24:575 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.AnthillSchedule - getNextBuildTime() name:
Tester nextBuildTime: 1108073640574, Feb 10, 2005 2:14:00 PM
14:13:24:575 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.AnthillSchedule - getNextBuildTime() name:
Tester currentTime: 1108073604575, Feb 10, 2005 2:13:24 PM
14:13:24:575 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.BuildDaemon - getProjectBeingBuilt() : null
14:13:54:656 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.Anthill - Anthill.refreshScheduleMap
scheduleFileName: Tester
14:13:54:657 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.Anthill - Anthill.refreshScheduleMap
scheduleFileName: stoppedSchedule
14:13:54:657 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.AnthillSchedule - getNextBuildTime() name:
Tester nextBuildCalMillis: 1108073160657
14:13:54:658 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.AnthillSchedule - getNextBuildTime() name:
Tester millis since start: 474000
14:13:54:658 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.AnthillSchedule - getNextBuildTime() name:
Tester intervals since start: 4.0
14:13:54:658 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.AnthillSchedule - getNextBuildTime() name:
Tester nextBuildTime: 1108073640657, Feb 10, 2005 2:14:00 PM
14:13:54:658 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.AnthillSchedule - getNextBuildTime() name:
Tester currentTime: 1108073634658, Feb 10, 2005 2:13:54 PM
14:13:54:658 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.BuildDaemon - getProjectBeingBuilt() : null
14:14:24:732 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.Anthill - Anthill.refreshScheduleMap
scheduleFileName: Tester
14:14:24:732 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.Anthill - Anthill.refreshScheduleMap
scheduleFileName: stoppedSchedule
14:14:24:733 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.AnthillSchedule - getNextBuildTime() name:
Tester nextBuildCalMillis: 1108073160733
14:14:24:733 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.AnthillSchedule - getNextBuildTime() name:
Tester millis since start: 504000
14:14:24:733 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.AnthillSchedule - getNextBuildTime() name:
Tester intervals since start: 5.0
14:14:24:733 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.AnthillSchedule - getNextBuildTime() name:
Tester nextBuildTime: 1108073760733, Feb 10, 2005 2:16:00 PM (WHY DID A
BUILD NOT RUN HERE???)
14:14:24:734 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.AnthillSchedule - getNextBuildTime() name:
Tester currentTime: 1108073664733, Feb 10, 2005 2:14:24 PM
14:14:24:734 [ExecuteThread: '11' for queue: 'weblogic.kernel.Default']
DEBUG com.urbancode.anthill.BuildDaemon - getProjectBeingBuilt() : null
Karim Qazi
Sr. Java Developer
Edmunds.com
office 310.309.6330
cell 562.208.5335
kqazi at edmunds.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill/attachments/20050210/edac1dcb/attachment-0002.htm
More information about the Anthill
mailing list