Closed Bug 1277389 Opened 8 years ago Closed 8 years ago

'assert dateTime[0] < yearLimit, 'Something is wrong with this code' in build_scheduler logs

Categories

(Release Engineering :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nthomas, Assigned: nthomas)

References

Details

Attachments

(1 file)

Getting these every few minutes on build_scheduler, going back to at least April 4th. The full traceback is:

2016-06-01 13:49:47-0700 [-] Unhandled Error
        Traceback (most recent call last):
          File "/tools/python27/lib/python2.7/threading.py", line 524, in __bootstrap
            self.__bootstrap_inner()
          File "/tools/python27/lib/python2.7/threading.py", line 551, in __bootstrap_inner
            self.run()
          File "/tools/python27/lib/python2.7/threading.py", line 504, in run
            self.__target(*self.__args, **self.__kwargs)
        --- <exception caught here> ---
          File "/builds/buildbot/build_scheduler/lib/python2.7/site-packages/twisted/python/threadpool.py", line 207, in _worker
            result = context.call(ctx, function, *args, **kwargs)
          File "/builds/buildbot/build_scheduler/lib/python2.7/site-packages/twisted/python/context.py", line 59, in callWithContext
            return self.currentContext().callWithContext(ctx, func, *args, **kw)
          File "/builds/buildbot/build_scheduler/lib/python2.7/site-packages/twisted/python/context.py", line 37, in callWithContext
            return func(*args,**kw)
          File "/builds/buildbot/build_scheduler/lib/python2.7/site-packages/twisted/enterprise/adbapi.py", line 429, in _runInteraction
            result = interaction(trans, *args, **kw)
          File "/builds/buildbot/build_scheduler/lib/python2.7/site-packages/buildbot-0.8.2_hg_8b87b4974e3c_production_0.8-py2.7.egg/buildbot/schedulers/time
d.py", line 243, in _check_timer
            next = self._calculateNextRunTimeFrom(last_build)
          File "/builds/buildbot/build_scheduler/lib/python2.7/site-packages/buildbot-0.8.2_hg_8b87b4974e3c_production_0.8-py2.7.egg/buildbot/schedulers/time
d.py", line 338, in _calculateNextRunTimeFrom
            assert dateTime[0] < yearLimit, 'Something is wrong with this code'
        exceptions.AssertionError: Something is wrong with this code
Looks like a malformed range for when periodic builds should run on ash:
  'periodic_start_hours': range(9, 0, 12),
at http://hg.mozilla.org/build/buildbot-configs/file/63ab033a8991/mozilla/project_branches.py#l34

RyanVM - any idea what you were intending there ? Twice a day, at 9am and 9pm perhaps.
Depends on: 1252292
Flags: needinfo?(ryanvm)
Sounds about right. Sorry for the noise.
Flags: needinfo?(ryanvm)
Comment on attachment 8759023 [details] [diff] [review]
[buildbot-configs] PGO at 9am and 9pm, if the repo has changed

Review of attachment 8759023 [details] [diff] [review]:
-----------------------------------------------------------------

nice find
Attachment #8759023 - Flags: review?(jlund) → review+
Comment on attachment 8759023 [details] [diff] [review]
[buildbot-configs] PGO at 9am and 9pm, if the repo has changed

https://hg.mozilla.org/build/buildbot-configs/rev/51c2e105e9de
Attachment #8759023 - Flags: checked-in+
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Master logs have no more tracebacks. \o/
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: