make it possible to kick buildbot without a no-op [testfix]
Bug #418556 reported by
Gary Poster
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Michael Hudson-Doyle |
Bug Description
There is a buildbot feature that is supposed to make this possible, but it doesn't appear to work, possibly because of using the latent/EC2 slave code.
Changed in launchpad-foundations: | |
milestone: | none → 3.0 |
importance: | Undecided → High |
status: | New → Triaged |
assignee: | nobody → Michael Hudson (mwhudson) |
Changed in launchpad-foundations: | |
status: | Triaged → In Progress |
Changed in launchpad-foundations: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
I'm going to tackle this for my first build engineer thing by getting the 'force build' button to appear.
If you enable the force build feature in the config, the button doesn't appear unless there is a build already running. I think this is because the a latent build slave is not connected, in buildbot jargon (though I think it is always online?).
If you then visit $builder_url/force in your browser, you manage to force a build, but then this happens:
Traceback (most recent call last): python2. 5/site- packages/ buildbot/ process/ buildstep. py", line 686, in startStep ck(self. _startStep_ 2) python2. 5/site- packages/ twisted/ internet/ defer.py" , line 191, in addCallback words=kw) python2. 5/site- packages/ twisted/ internet/ defer.py" , line 182, in addCallbacks _runCallbacks( ) python2. 5/site- packages/ twisted/ internet/ defer.py" , line 317, in _runCallbacks self.result, *args, **kw) python2. 5/site- packages/ buildbot/ process/ buildstep. py", line 709, in _startStep_2 python2. 5/site- packages/ buildbot/ steps/source. py", line 184, in start startVC( branch, revision, patch) python2. 5/site- packages/ buildbot/ steps/source. py", line 829, in startVC args['repourl' ] = self.baseURL + branch TypeError: cannot concatenate 'str' and 'NoneType' objects
File "/usr/lib/
d.addCallba
File "/usr/lib/
callbackKey
File "/usr/lib/
self.
File "/usr/lib/
self.result = callback(
--- <exception caught here> ---
File "/usr/lib/
skip = self.start()
File "/usr/lib/
self.
File "/usr/lib/
self.
exceptions.
Trying to bodge it by visiting a URL like "https:/ /lpbuildbot. canonical. com/builders/ db_lp/force? branch= bzr+ssh: //bazaar. launchpad. net/~launchpad- pqm/launchpad/ db-devel" doesn't seem to work.