Re: [Twisted-Python] How do I debug this network problem?

2014-11-17 Thread exarkun
On 12:42 am, peter.westl...@pobox.com wrote: On Mon, 17 Nov 2014, at 20:25, Glyph wrote: On Nov 17, 2014, at 19:32, Peter Westlake wrote: It's a known bug in Python!http://bugs.python.org/issue1038591, "Python 2.3+ socket._fileobject handles EAGAIN with data loss". This bug is in socket.m

Re: [Twisted-Python] How do I debug this network problem?

2014-11-17 Thread Peter Westlake
On Mon, 17 Nov 2014, at 20:25, Glyph wrote: > >> On Nov 17, 2014, at 19:32, Peter Westlake >> wrote: >> >> It's a known bug in Python!http://bugs.python.org/issue1038591, >> "Python 2.3+ socket._fileobject handles EAGAIN with data loss". > > This bug is in socket.makefile(), which Twisted never u

Re: [Twisted-Python] How do I debug this network problem?

2014-11-17 Thread Glyph
> On Nov 17, 2014, at 19:32, Peter Westlake wrote: > > It's a known bug in Python! http://bugs.python.org/issue1038591 > , > "Python 2.3+ socket._fileobject handles EAGAIN with data loss". This bug is in socket.makefile(), which Twisted never uses - not so

Re: [Twisted-Python] How do I debug this network problem?

2014-11-17 Thread Peter Westlake
On Mon, 17 Nov 2014, at 15:38, exar...@twistedmatrix.com wrote: ... > This is entirely normal. It's how timed calls are implemented in almost > all of the reactors and it's how they've been implemented for at least > 13 years. :) > > It's possible there's a bug here but this sequence of poll()

Re: [Twisted-Python] How do I debug this network problem?

2014-11-17 Thread exarkun
On 02:51 pm, peter.westl...@pobox.com wrote: Looking at the code, _SignalReactorMixin.mainLoop() takes the output of ReactorBase.timeout() and passes it to doIteration(). The implementation of doIteration() in PollReactor passes the value straight through to poll(). If there is any kind of tim

Re: [Twisted-Python] How do I debug this network problem?

2014-11-17 Thread Peter Westlake
Looking at the code, _SignalReactorMixin.mainLoop() takes the output of ReactorBase.timeout() and passes it to doIteration(). The implementation of doIteration() in PollReactor passes the value straight through to poll(). If there is any kind of timed call pending (which there is), the timeout val

Re: [Twisted-Python] Permissions to trigger buildbot tests

2014-11-17 Thread Adi Roiban
On 17 November 2014 14:21, Glyph wrote: > > On Nov 17, 2014, at 14:40, exar...@twistedmatrix.com wrote: > > The review page also talks about a misterious force-builds.py script which > is not part of the main twisted repo.. or at least, I could not found it > > > It's part of one of the twisted d

Re: [Twisted-Python] Contributor advancement path - proposal (RFC)

2014-11-17 Thread Adi Roiban
On 17 November 2014 13:44, wrote: > On 11:48 am, exar...@twistedmatrix.com wrote: > >> >>> This sounds great. Could you jot it down on a wiki page? >>> >> >> Hmmm okay. :P >> > > I wrote up ContributorAdvancementPath>. Notice "Proposal" in the URL.

Re: [Twisted-Python] Permissions to trigger buildbot tests

2014-11-17 Thread Glyph
> On Nov 17, 2014, at 14:40, exar...@twistedmatrix.com wrote: > >> The review page also talks about a misterious force-builds.py script which >> is not part of the main twisted repo.. or at least, I could not found it > > It's part of one of the twisted dev tools repositories (used to be > twis

Re: [Twisted-Python] Contributor advancement path - proposal (RFC)

2014-11-17 Thread Glyph
> On Nov 17, 2014, at 14:44, exar...@twistedmatrix.com wrote: > > On 11:48 am, exar...@twistedmatrix.com wrote: >>> >>> This sounds great. Could you jot it down on a wiki page? >> >> Hmmm okay. :P > > I wrote up > . > N

Re: [Twisted-Python] Permissions to trigger buildbot tests

2014-11-17 Thread Adi Roiban
On 17 November 2014 13:40, wrote: > On 09:44 am, a...@roiban.ro wrote: > >> On 16 November 2014 22:44, wrote: >> >>> Is there a wiki page describing what are the steps required for a regular contributor to get permissions to run buildbot tests and get write access to the repo? >>>

Re: [Twisted-Python] How do I debug this network problem?

2014-11-17 Thread Peter Westlake
My previous strace output didn't include the poll() calls. This one does, with the list of file descriptors shortened for readability. According to the man page, the last parameter to poll() is a timeout, in milliseconds. Looking at these calls, there are some very odd values indeed: 154538, 15433

[Twisted-Python] Contributor advancement path - proposal (RFC)

2014-11-17 Thread exarkun
On 11:48 am, exar...@twistedmatrix.com wrote: This sounds great. Could you jot it down on a wiki page? Hmmm okay. :P I wrote up . Notice "Proposal" in the URL. It would be nice to get feedback from some more contrib

Re: [Twisted-Python] Permissions to trigger buildbot tests

2014-11-17 Thread exarkun
On 09:44 am, a...@roiban.ro wrote: On 16 November 2014 22:44, wrote: Is there a wiki page describing what are the steps required for a regular contributor to get permissions to run buildbot tests and get write access to the repo? I'll send you the credentials off-list. FWIW, this is passwo

Re: [Twisted-Python] Permissions to trigger buildbot tests

2014-11-17 Thread exarkun
On 12:10 pm, a...@roiban.ro wrote: On 17 November 2014 11:55, wrote: On 11:48 am, a...@roiban.ro wrote: Is there a reason why a try scheduler is not implemented? I find it awesome for TDD! On my normal workflow I can do this, even without commiting changes: ./HELPER test some.test ./HELPER

Re: [Twisted-Python] Permissions to trigger buildbot tests

2014-11-17 Thread Adi Roiban
On 17 November 2014 11:55, wrote: > On 11:48 am, a...@roiban.ro wrote: > >> >> Is there a reason why a try scheduler is not implemented? I find it >> awesome >> for TDD! >> >> On my normal workflow I can do this, even without commiting changes: >> >> ./HELPER test some.test >> ./HELPER test-remot

Re: [Twisted-Python] Permissions to trigger buildbot tests

2014-11-17 Thread exarkun
On 11:48 am, a...@roiban.ro wrote: Is there a reason why a try scheduler is not implemented? I find it awesome for TDD! On my normal workflow I can do this, even without commiting changes: ./HELPER test some.test ./HELPER test-remote sol-10-sparc some.test test-remote just wraps buildot try

Re: [Twisted-Python] Permissions to trigger buildbot tests

2014-11-17 Thread exarkun
On 01:46 am, gl...@twistedmatrix.com wrote: On Nov 16, 2014, at 23:44, exar...@twistedmatrix.com wrote: On 10:04 am, a...@roiban.ro wrote: This can be part of the current review process page: https://twistedmatrix.com/trac/wiki/ReviewProcess What do you think? I think this process probabl

Re: [Twisted-Python] Permissions to trigger buildbot tests

2014-11-17 Thread Adi Roiban
On 17 November 2014 11:04, Glyph wrote: > > On Nov 17, 2014, at 10:53, Adi Roiban wrote: > > I tried to use buildbot, but I failed :) > > I want to ask buildbot to run the test for a patch: > * apply the patch to trunk > * run all test > * publish a link to trac > > How do I do that without crea

Re: [Twisted-Python] Permissions to trigger buildbot tests

2014-11-17 Thread Glyph
> On Nov 17, 2014, at 10:53, Adi Roiban wrote: > > I tried to use buildbot, but I failed :) > > I want to ask buildbot to run the test for a patch: > * apply the patch to trunk > * run all test > * publish a link to trac > > How do I do that without creating a branch, ie requiring write permis

Re: [Twisted-Python] Permissions to trigger buildbot tests

2014-11-17 Thread Adi Roiban
On 17 November 2014 09:44, Adi Roiban wrote: [snip] There's no standard policy or procedure for granting commit access to the >> repository. Usually it goes like "someone asks for it, someone gives it to >> them". > > > I got them. > > Is there a wiki page describing how buildbot should be used?

Re: [Twisted-Python] Permissions to trigger buildbot tests

2014-11-17 Thread Adi Roiban
On 16 November 2014 22:44, wrote: > On 10:04 am, a...@roiban.ro wrote: > >> Hi, >> >> To help with the review process I would like to ask permissions for >> triggering buildbot builds. >> >> Is there a wiki page describing what are the steps required for a regular >> contributor to get permission