[Python-Dev] Buildslave gets intermittent errors in the svn step

2009-11-24 Thread Paul Moore
I'm getting occasional odd errors in the subversion step on my
buildslave (http://www.python.org/dev/buildbot/buildslaves/moore-windows):

Traceback (most recent call last):
  File "/data/buildbot/lib/python/buildbot/process/buildstep.py", line
690, in startStep
d.addCallback(self._startStep_2)
  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py",
line 195, in addCallback
callbackKeywords=kw)
  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py",
line 186, in addCallbacks
self._runCallbacks()
  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py",
line 328, in _runCallbacks
self.result = callback(self.result, *args, **kw)
---  ---
  File "/data/buildbot/lib/python/buildbot/process/buildstep.py", line
721, in _startStep_2
skip = self.start()
  File "/data/buildbot/lib/python/buildbot/steps/source.py", line 184, in start
self.startVC(branch, revision, patch)
  File "/data/buildbot/lib/python/buildbot/steps/source.py", line 445,
in startVC
raise BuildSlaveTooOldError(m)
buildbot.interfaces.BuildSlaveTooOldError: This buildslave
(moore-windows) does not know about multiple branches, and using
mode=update would probably build the wrong tree. Refusing to build.
Please upgrade the buildslave to buildbot-0.7.0 or newer.

This is very odd, as (a) a simple rerun fixes the issue, and (b) I'm
already on buildbot 0.7.0 or newer (can't recall the exact version).

It's a Windows XP system, if that helps.

Does anyone have any suggestions?

Thanks,
Paul.
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Buildslave gets intermittent errors in the svn step

2009-11-24 Thread David Bolen
Paul Moore  writes:

> buildbot.interfaces.BuildSlaveTooOldError: This buildslave
> (moore-windows) does not know about multiple branches, and using
> mode=update would probably build the wrong tree. Refusing to build.
> Please upgrade the buildslave to buildbot-0.7.0 or newer.
>
> This is very odd, as (a) a simple rerun fixes the issue, and (b) I'm
> already on buildbot 0.7.0 or newer (can't recall the exact version).
>
> It's a Windows XP system, if that helps.
>
> Does anyone have any suggestions?

In my experience this error just means that someone tried to manually
trigger a build but put the wrong branch information (or left it
blank) on the submission form.

-- David

___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Buildslave gets intermittent errors in the svn step

2009-11-24 Thread Paul Moore
2009/11/24 David Bolen :
> Paul Moore  writes:
>
>> buildbot.interfaces.BuildSlaveTooOldError: This buildslave
>> (moore-windows) does not know about multiple branches, and using
>> mode=update would probably build the wrong tree. Refusing to build.
>> Please upgrade the buildslave to buildbot-0.7.0 or newer.
>>
>> This is very odd, as (a) a simple rerun fixes the issue, and (b) I'm
>> already on buildbot 0.7.0 or newer (can't recall the exact version).
>>
>> It's a Windows XP system, if that helps.
>>
>> Does anyone have any suggestions?
>
> In my experience this error just means that someone tried to manually
> trigger a build but put the wrong branch information (or left it
> blank) on the submission form.

Hmm, wasn't me :-) The reason field on the build is blank, so this
looks like it's an automatic build.

I'm getting odd failures with some of the tests as well, at the moment
- test_smtplib and others failing but when "Re-running failed tests in
verbose mode" there were no failures.

I wonder if it could be a flaky network connection...?

Thanks for the pointer.
Paul.

PS Is there a better list for this type of question? I'm not sure how
interesting it is to general python-dev readers.
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Buildslave gets intermittent errors in the svn step

2009-11-24 Thread Antoine Pitrou
Paul Moore  gmail.com> writes:
> 
> I'm getting odd failures with some of the tests as well, at the moment
> - test_smtplib and others failing but when "Re-running failed tests in
> verbose mode" there were no failures.
> 
> I wonder if it could be a flaky network connection...?

test_smtplib is notoriously flaky.

> PS Is there a better list for this type of question? I'm not sure how
> interesting it is to general python-dev readers.

IMHO it's ok for python-dev. It's a pity buildbot issues don't generate more
interest though.

Regards

Antoine.


___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Buildslave gets intermittent errors in the svn step

2009-11-24 Thread David Bolen
Paul Moore  writes:

> Hmm, wasn't me :-) The reason field on the build is blank, so this
> looks like it's an automatic build.

If it's got an SVN tag indicated, and you can checkout that tag on
your slave, then it's probably not the scenario that I was thinking
of.

In my case, it's almost always me trying to initiate a test build, and
forgetting the right branch tag or what its relative to (historically
forgetting to put "branches/" in it).

> I'm getting odd failures with some of the tests as well, at the moment
> - test_smtplib and others failing but when "Re-running failed tests in
> verbose mode" there were no failures.
>
> I wonder if it could be a flaky network connection...?

I suppose.  Certainly, for this specific error, it's pretty clear that
it's not that precise, and various SVN checkout problems can probably
be trapped by the error, so it's pretty unlikely it's actually a
buildbot version error.

What you might try is locating the buildbot log entries (twistd.log)
on your slave that correspond to the failed build.  It'll show the
exact svn command being issued, and you can try it manually in a test
tree.  If it succeeds then you'll know it was some sort of transient
issue - if it fails, it ought to provide useful data as well.

> PS Is there a better list for this type of question? I'm not sure how
> interesting it is to general python-dev readers.

I don't think there's anywhere separate, and generally (recent history
being a bit different) buildbot related stuff has been very low
volume.  So this list is probably appropriate (given what the
buildbots are being used for).  I expect if it gets too noisy we'll
hear about it :-)

-- David

___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Buildslave gets intermittent errors in the svn step

2009-11-24 Thread Martin v. Löwis
> Does anyone have any suggestions?

I guess that's a buildbot bug. At 2009-11-23 22:14:23, your
buildslave disconnected. The master recognized it it as offline.
For some reason, it then still decided to start a build, at
22:14:24. With the slave disconnected, all master-side information
gets discarded, and it wasn't possible anymore to find out what version
of the svn command the slave implements, hence the exception.

Regards,
Martin
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com