[Buildbot-devel] Slaves appear to be building when doing nothing

Benoît Allard benoit.allard at greenbone.net
Tue Nov 11 11:46:36 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[Added To:buildbot-devel again]

On 11/11/2014 12:14 PM, Francesco Di Mizio wrote:
> Hey guys,
> 
> the issue seems to have gone by restating the service on the
> master.
> 
> All I did was:
> 
> - add a new step to the factory - reconfig the master
> 
> Again, this introduced the issue. Restarting the service fixed it. 
> So yep that step 20 already existed, only thing it used to be the
> 19th.
> 

That could explains that ugly error message ... and consequently the
slave being stuck in a building state. We should guard ourselves
better against those kind of errors ...

Thanks for the information !

Regards,
Ben.

> 
> 
> On Tue, Nov 11, 2014 at 9:02 AM, Benoît Allard
> <benoit.allard at greenbone.net> wrote:
> 
> On 11/10/2014 04:47 PM, Francesco Di Mizio wrote:
>>>> Might be related:
> 
> I strongly believe it is.
> 
> I've just opened http://trac.buildbot.net/ticket/3018#ticket with
> this information.
> 
> Is there anything you could tell us about that shell_20 step ?
> 
> Best Regards, Ben.
> 
>>>> 
>>>> 014-11-10 16:25:01+0100 [-] Unhandled Error Traceback (most
>>>> recent call last): File 
>>>> "/usr/local/lib/python2.7/dist-packages/buildbot/process/buildstep.py",
>>>>
>>>>
>
>>>> 
line 663, in finished
>>>> self._finishFinished(results) File 
>>>> "/usr/local/lib/python2.7/dist-packages/buildbot/process/buildstep.py",
>>>>
>>>>
>
>>>> 
line 676, in _finishFinished
>>>> self.deferred.callback(results) File 
>>>> "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py",
>>>> line 362, in callback self._startRunCallbacks(result) File 
>>>> "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py",
>>>> line 458, in _startRunCallbacks self._runCallbacks() ---
>>>> <exception caught here> --- File 
>>>> "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py",
>>>> line 545, in _runCallbacks current.result =
>>>> callback(current.result, *args, **kw) File 
>>>> "/usr/local/lib/python2.7/dist-packages/buildbot/process/build.py",
>>>>
>>>>
>
>>>> 
line 416, in _stepDone
>>>> return self.startNextStep() File 
>>>> "/usr/local/lib/python2.7/dist-packages/buildbot/process/build.py",
>>>>
>>>>
>
>>>> 
line 403, in startNextStep
>>>> return self.allStepsDone() File 
>>>> "/usr/local/lib/python2.7/dist-packages/buildbot/process/build.py",
>>>>
>>>>
>
>>>> 
line 506, in allStepsDone
>>>> return self.buildFinished(text, self.result) File 
>>>> "/usr/local/lib/python2.7/dist-packages/buildbot/process/build.py",
>>>>
>>>>
>
>>>> 
line 537, in buildFinished
>>>> self.builder.setExpectations(self.progress) File 
>>>> "/usr/local/lib/python2.7/dist-packages/buildbot/process/builder.py",
>>>>
>>>> 
line 450, in setExpectations self.expectations.update(progress)
>>>> File 
>>>> "/usr/local/lib/python2.7/dist-packages/buildbot/status/progress.py",
>>>>
>>>> 
line 295, in update old = self.times[name] exceptions.KeyError:
>>>> 'shell_20'
>>>> 
>>>> 
>>>> 
>>>> On Mon, Nov 10, 2014 at 4:29 PM, Francesco Di Mizio < 
>>>> francescodimizio at gmail.com> wrote:
>>>> 
>>>>> Hello,
>>>>> 
>>>>> I have run into the following problem recently:
>>>>> 
>>>>> from the buildslaves view I see that some slaves are being
>>>>> used, thus marked as yellow:
>>>>> 
>>>>> Running 1 build(s)
>>>>> 
>>>>> When I open any of those slaves' dedicated page they are
>>>>> doing nothing. They successfully finished the previous
>>>>> build but dont seem to be able to get an other job, as I
>>>>> guess the master is still  seeing them as busy.
>>>>> 
>>>>> It only seems to be happening on linux slaves.
>>>>> 
>>>>> The log does not say much. Any idea where I could look at?
>>>>> 
>>>>> Cheers, Francesco
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
> ------------------------------------------------------------------------------
>>>>
>>>>
>>>>
>>>>
>>>>
> 
_______________________________________________ Buildbot-devel
>>>> mailing list Buildbot-devel at lists.sourceforge.net 
>>>> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>>>> 
> 
> 
>> 
> 

- -- 
Benoît Allard (B30A05B0)|Greenbone Networks GmbH|http://greenbone.net
Neuer Graben 17, 49074 Osnabrück, Germany | AG Osnabrück, HR B 202460
Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAEBAgAGBQJUYfccAAoJEHZCfVOzCgWwR6sIAKNGCGgqQNG5WVx7qgbS7d5O
JWjs+1nwzx+bjaOtrJ97fE/cXX+D30GiQNpY3nmz0vv1lgEZshBgzSJx4GZ04e6c
xJHTAH4e5/jom01BRwLGmmWLodBowS/k6kNmJTxgk+jpFuvG3KqjcWP7wu0Tzkes
th0p0S2WHXe63O3OZSTndDyL5MqVCazXXlNt0nls/Yc1B51lBqimgWHKCFF9YTur
J7alb7GPDypmaBZ6qnhw97ZV3ni4Ki/rpReUn4dlk81ccDy4AuTiX74N8tsrU3h8
nWpRqeygqEhBHdut75QoyEMd9zLik1g4vYS5lfn2oduQ8/R2qH9w9pWS+qm7c8E=
=Yd3T
-----END PGP SIGNATURE-----




More information about the devel mailing list