You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by David Glasser <gl...@davidglasser.net> on 2007/09/30 19:01:38 UTC

test suite hangs on my mac

Well, this is strange.  I've been setting up a new MacBook Pro to do
Subversion development, and any test that runs a hook seems to hang.
This is with trunk, but backing ff to older versions does the same.
Specifically, try prop_tests 12 (revprop changing).  It looks like it
is hanging during the svn_stringbuf_from_aprfile in check_hook_result
in libsvn_repos/hooks.c, after reading the entire stderr.  Even
explicitly adding

  os.close(sys.stdin.fileno())
  os.close(sys.stdout.fileno())
  os.close(sys.stderr.fileno())

to the hook script doesn't seem the make that read finish.

Has anyone seen this before?  I can't reproduce it on my Linux box.

--dave

-- 
David Glasser | glasser@davidglasser.net | http://www.davidglasser.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: test suite hangs on my mac

Posted by David Glasser <gl...@davidglasser.net>.
On 10/1/07, David Glasser <gl...@davidglasser.net> wrote:
> On 9/30/07, David Glasser <gl...@davidglasser.net> wrote:
> > On 9/30/07, David Glasser <gl...@davidglasser.net> wrote:
> > > On 9/30/07, Mark Phippard <ma...@gmail.com> wrote:
> > > > On 9/30/07, David Glasser <gl...@davidglasser.net> wrote:
> > > > > Well, this is strange.  I've been setting up a new MacBook Pro to do
> > > > > Subversion development, and any test that runs a hook seems to hang.
> > > > > This is with trunk, but backing ff to older versions does the same.
> > > > > Specifically, try prop_tests 12 (revprop changing).  It looks like it
> > > > > is hanging during the svn_stringbuf_from_aprfile in check_hook_result
> > > > > in libsvn_repos/hooks.c, after reading the entire stderr.  Even
> > > > > explicitly adding
> > > > >
> > > > >   os.close(sys.stdin.fileno())
> > > > >   os.close(sys.stdout.fileno())
> > > > >   os.close(sys.stderr.fileno())
> > > > >
> > > > > to the hook script doesn't seem the make that read finish.
> > > > >
> > > > > Has anyone seen this before?  I can't reproduce it on my Linux box.
> > > >
> > > > I just ran the JavaHL and ra_local tests this AM with trunk on OSX
> > > > without problem.  I have had a lot better build results since I
> > > > switched to MacPorts for all of the dependencies.
> > >
> > > Interesting.  I am using MacPorts for Python, but I am building
> > > APR/APU from trunk.  Perhaps this is an APR/APU bug.
> >
> > ... and it passes with APR/APU from MacPorts.  Tomorrow I'll do some
> > binary search to see what's making it fail.
>
> This in fact appears to be related to some very recent changes in APR
> (r580484-r580591); will report over in APR-land.

This was in fact an APR bug introduced in r580484 on Friday, and now
fixed in r581089.

--dave


-- 
David Glasser | glasser@davidglasser.net | http://www.davidglasser.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: test suite hangs on my mac

Posted by David Glasser <gl...@davidglasser.net>.
On 9/30/07, David Glasser <gl...@davidglasser.net> wrote:
> On 9/30/07, David Glasser <gl...@davidglasser.net> wrote:
> > On 9/30/07, Mark Phippard <ma...@gmail.com> wrote:
> > > On 9/30/07, David Glasser <gl...@davidglasser.net> wrote:
> > > > Well, this is strange.  I've been setting up a new MacBook Pro to do
> > > > Subversion development, and any test that runs a hook seems to hang.
> > > > This is with trunk, but backing ff to older versions does the same.
> > > > Specifically, try prop_tests 12 (revprop changing).  It looks like it
> > > > is hanging during the svn_stringbuf_from_aprfile in check_hook_result
> > > > in libsvn_repos/hooks.c, after reading the entire stderr.  Even
> > > > explicitly adding
> > > >
> > > >   os.close(sys.stdin.fileno())
> > > >   os.close(sys.stdout.fileno())
> > > >   os.close(sys.stderr.fileno())
> > > >
> > > > to the hook script doesn't seem the make that read finish.
> > > >
> > > > Has anyone seen this before?  I can't reproduce it on my Linux box.
> > >
> > > I just ran the JavaHL and ra_local tests this AM with trunk on OSX
> > > without problem.  I have had a lot better build results since I
> > > switched to MacPorts for all of the dependencies.
> >
> > Interesting.  I am using MacPorts for Python, but I am building
> > APR/APU from trunk.  Perhaps this is an APR/APU bug.
>
> ... and it passes with APR/APU from MacPorts.  Tomorrow I'll do some
> binary search to see what's making it fail.

This in fact appears to be related to some very recent changes in APR
(r580484-r580591); will report over in APR-land.

--dave

-- 
David Glasser | glasser@davidglasser.net | http://www.davidglasser.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: test suite hangs on my mac

Posted by David Glasser <gl...@davidglasser.net>.
On 9/30/07, David Glasser <gl...@davidglasser.net> wrote:
> On 9/30/07, Mark Phippard <ma...@gmail.com> wrote:
> > On 9/30/07, David Glasser <gl...@davidglasser.net> wrote:
> > > Well, this is strange.  I've been setting up a new MacBook Pro to do
> > > Subversion development, and any test that runs a hook seems to hang.
> > > This is with trunk, but backing ff to older versions does the same.
> > > Specifically, try prop_tests 12 (revprop changing).  It looks like it
> > > is hanging during the svn_stringbuf_from_aprfile in check_hook_result
> > > in libsvn_repos/hooks.c, after reading the entire stderr.  Even
> > > explicitly adding
> > >
> > >   os.close(sys.stdin.fileno())
> > >   os.close(sys.stdout.fileno())
> > >   os.close(sys.stderr.fileno())
> > >
> > > to the hook script doesn't seem the make that read finish.
> > >
> > > Has anyone seen this before?  I can't reproduce it on my Linux box.
> >
> > I just ran the JavaHL and ra_local tests this AM with trunk on OSX
> > without problem.  I have had a lot better build results since I
> > switched to MacPorts for all of the dependencies.
>
> Interesting.  I am using MacPorts for Python, but I am building
> APR/APU from trunk.  Perhaps this is an APR/APU bug.

... and it passes with APR/APU from MacPorts.  Tomorrow I'll do some
binary search to see what's making it fail.

--dave

-- 
David Glasser | glasser@davidglasser.net | http://www.davidglasser.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: test suite hangs on my mac

Posted by David Glasser <gl...@davidglasser.net>.
On 9/30/07, Mark Phippard <ma...@gmail.com> wrote:
> On 9/30/07, David Glasser <gl...@davidglasser.net> wrote:
> > Well, this is strange.  I've been setting up a new MacBook Pro to do
> > Subversion development, and any test that runs a hook seems to hang.
> > This is with trunk, but backing ff to older versions does the same.
> > Specifically, try prop_tests 12 (revprop changing).  It looks like it
> > is hanging during the svn_stringbuf_from_aprfile in check_hook_result
> > in libsvn_repos/hooks.c, after reading the entire stderr.  Even
> > explicitly adding
> >
> >   os.close(sys.stdin.fileno())
> >   os.close(sys.stdout.fileno())
> >   os.close(sys.stderr.fileno())
> >
> > to the hook script doesn't seem the make that read finish.
> >
> > Has anyone seen this before?  I can't reproduce it on my Linux box.
>
> I just ran the JavaHL and ra_local tests this AM with trunk on OSX
> without problem.  I have had a lot better build results since I
> switched to MacPorts for all of the dependencies.

Interesting.  I am using MacPorts for Python, but I am building
APR/APU from trunk.  Perhaps this is an APR/APU bug.

--dave


-- 
David Glasser | glasser@davidglasser.net | http://www.davidglasser.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: test suite hangs on my mac

Posted by Mark Phippard <ma...@gmail.com>.
On 9/30/07, David Glasser <gl...@davidglasser.net> wrote:
> Well, this is strange.  I've been setting up a new MacBook Pro to do
> Subversion development, and any test that runs a hook seems to hang.
> This is with trunk, but backing ff to older versions does the same.
> Specifically, try prop_tests 12 (revprop changing).  It looks like it
> is hanging during the svn_stringbuf_from_aprfile in check_hook_result
> in libsvn_repos/hooks.c, after reading the entire stderr.  Even
> explicitly adding
>
>   os.close(sys.stdin.fileno())
>   os.close(sys.stdout.fileno())
>   os.close(sys.stderr.fileno())
>
> to the hook script doesn't seem the make that read finish.
>
> Has anyone seen this before?  I can't reproduce it on my Linux box.

I just ran the JavaHL and ra_local tests this AM with trunk on OSX
without problem.  I have had a lot better build results since I
switched to MacPorts for all of the dependencies.

-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org