Auto-tools/Projects/MozmillBuildbot: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(→‎Accomplished Work: noted notification and buildbot-config --copy patches)
(more detective work on download issue and a new patch)
Line 10: Line 10:


* added patch to allow copying buildbot configuration: http://k0s.org/mozilla/hg/buildbot-configs/rev/aa3ff093fa4b ; useful for making new buildmasters as it clones versus symlinks to a versioned master
* added patch to allow copying buildbot configuration: http://k0s.org/mozilla/hg/buildbot-configs/rev/aa3ff093fa4b ; useful for making new buildmasters as it clones versus symlinks to a versioned master
* added patch to raise a more verbose exception to diagnose download error: http://k0s.org/mozilla/hg/buildbotcustom/.hg/patches/rev/71b8c045d03a


== Outstanding Issues ==
== Outstanding Issues ==
Line 31: Line 33:
     fileURL = build.source.changes[-1].files[0]
     fileURL = build.source.changes[-1].files[0]
  exceptions.IndexError: tuple index out of range
  exceptions.IndexError: tuple index out of range
The patch at http://k0s.org/mozilla/hg/buildbotcustom/.hg/patches/rev/71b8c045d03a reveals <tt>build.source.changes</tt> is in fact an empty tuple.  This is from ''force build''


== Outstanding Work ==
== Outstanding Work ==

Revision as of 17:03, 1 April 2010

This page documents the work from https://bugzilla.mozilla.org/show_bug.cgi?id=516984 : Run Mozmill Tests with buildbot

This is an Auto-tools project and a Q2 goal

Accomplished Work

Outstanding Issues

  • Mozmill build fails on download:
Traceback (most recent call last):
 File "/home/jhammel/mozilla/src/buildbot/buildbot/buildbot/process/buildstep.py", line 689, in startStep
   d.addCallback(self._startStep_2)
 File "/home/jhammel/mozilla/src/buildbot/lib/python2.6/site-packages/Twisted-9.0.0-py2.6-linux-i686.egg/twisted/internet/defer.py", line 190, in addCallback
   callbackKeywords=kw)
 File "/home/jhammel/mozilla/src/buildbot/lib/python2.6/site-packages/Twisted-9.0.0-py2.6-linux-i686.egg/twisted/internet/defer.py", line 181, in addCallbacks
   self._runCallbacks()
 File "/home/jhammel/mozilla/src/buildbot/lib/python2.6/site-packages/Twisted-9.0.0-py2.6-linux-i686.egg/twisted/internet/defer.py", line 323, in _runCallbacks
   self.result = callback(self.result, *args, **kw)
--- <exception caught here> ---
 File "/home/jhammel/mozilla/src/buildbot/buildbot/buildbot/process/buildstep.py", line 712, in _startStep_2
   skip = self.start()
 File "/home/jhammel/mozilla/src/buildbot/buildbotcustom/buildbotcustom/steps/misc.py", line 385, in start
   url = self.url_fn(self.build)
 File "/home/jhammel/mozilla/src/buildbot/buildbotcustom/buildbotcustom/process/factory.py", line 6623, in get_fileURL
   fileURL = build.source.changes[-1].files[0]
exceptions.IndexError: tuple index out of range

The patch at http://k0s.org/mozilla/hg/buildbotcustom/.hg/patches/rev/71b8c045d03a reveals build.source.changes is in fact an empty tuple. This is from force build

Outstanding Work

Long-term Recommendations

These recommendations are hereby recorded for future use. Their need should be assessed before filed as bugs and made actionable.

  • Use templates for buildbot-configs: the configurations in http://hg.mozilla.org/build/buildbot-configs are hard-coded for the setup for VMs. Instead, they could be made templates for easy deployment. Cleanup should also be done so that the configurations are more universal and adding new configurations is easy.