[Buildbot-devel] gitpoller: repo poll failed: [Failure instance: Traceback: <type 'exceptions.IOError'>: [Errno 4] Interrupted system call
Matisse Enzer
menzer at apple.com
Fri Oct 29 04:12:27 UTC 2010
Do you mean this code:
> # dirty hack - work around EINTR oddness on Mac builder
> while True:
> try:
> output = p.communicate()[0]
> break
> except (OSError, select.error), e:
> if e[0] == errno.EINTR:
> continue
> else:
> raise
>
because that's already in the gitpoller.py that we are using. For some reason that's not working.
I'm adding some logging code to see what the error actually is:
error_name = errno.errorcode[e[0]]
log.msg('gitpoller: caught exception with errno "%s"' % error_name)
On Oct 28, 2010, at 5:32 PM, Dustin J. Mitchell wrote:
> On Thu, Oct 28, 2010 at 7:22 PM, Matisse Enzer <menzer at apple.com> wrote:
>> Any suggestions folks?
>
> I believe you're seeing this bug
> http://bugs.python.org/issue1068268
>
> The latest version of gitpoller.py has a try/except wrapped around the
> p.communicate()[0]. You can probably drop it right into your 0.8.1
> install.
>
> http://github.com/djmitche/buildbot/blob/master/master/buildbot/changes/gitpoller.py
>
> Dustin
------------------------------------
Matisse Enzer <menzer at apple.com>
Jabber: menzer at swechat.apple.com
office: +1 408-862-1658
mobile: +1 415-225-6703
home: +1 415-401-8325
More information about the devel
mailing list