Make test-all with 1.8.4 on os x gives me 1 failure and 79 errors

Ok, so I just got the latest ruby 1.8.4, compiled, ran the tests and I
ended up with 1 failure and 79 errors (running 'make test-all') Am I
the only one experiencing this ? (I am on os x 10.4.3, using gcc 4.0.0)

Basically all the tests fail like this one (note the 'execution
expired')

  1) Error:
test_01(TestDRbAry):
RuntimeError: execution expired
    /Users/boyfriend/tar/ruby-1.8.4/lib/timeout.rb:54:in
`invoke_service'
    /Users/boyfriend/tar/ruby-1.8.4/lib/drb/extservm.rb:39:in `service'
    /Users/boyfriend/tar/ruby-1.8.4/test/drb/drbtest.rb:35:in
`ext_service'
    /Users/boyfriend/tar/ruby-1.8.4/lib/timeout.rb:56:in `timeout'
    /Users/boyfriend/tar/ruby-1.8.4/lib/timeout.rb:76:in `timeout'
    /Users/boyfriend/tar/ruby-1.8.4/test/drb/drbtest.rb:34:in
`ext_service'
    /Users/boyfriend/tar/ruby-1.8.4/test/drb/drbtest.rb:279:in `setup'

any help would be really appreciated.

thanks,
-Didier

Ok, so after closer analysis, all these errors are related to 'drb'
(distributed ruby). If I remove the drb test dir, all the tests pass. I
am not using drb, so I guess that's not too bad... but still... I find
it weird that all the drb tests fails like that (they all timeout...
and the code has a timeout of 10 seconds which seems more than enough
for anything...)

Out of curiosity: am I the only one expericencing this ?

thanks,

-Didier

Didier,

I got similar errors with a test-all on OS X 10.3.9, gcc 3.3. No idea how to fix.

...
  59) Error:
test_06_next(TestDRbUNIXAry):
RuntimeError: execution expired
     /Users/neilkohl/Developer/src/ruby-1.8.4/lib/timeout.rb:54:in `invoke_service'
     /Users/neilkohl/Developer/src/ruby-1.8.4/lib/drb/extservm.rb:39:in `service' /Users/neilkohl/Developer/src/ruby-1.8.4/test/drb/drbtest.rb:35:in `ext_service'
     /Users/neilkohl/Developer/src/ruby-1.8.4/lib/timeout.rb:56:in `timeout'
     /Users/neilkohl/Developer/src/ruby-1.8.4/lib/timeout.rb:76:in `timeout'
     /Users/neilkohl/Developer/src/ruby-1.8.4/test/drb/drbtest.rb:34:in `ext_service'
     ./drb/test_drbunix.rb:40:in `setup'

  60) Error:
test_07_break_18(TestDRbUNIXAry):
RuntimeError: execution expired
     /Users/neilkohl/Developer/src/ruby-1.8.4/lib/timeout.rb:54:in `invoke_service'
     /Users/neilkohl/Developer/src/ruby-1.8.4/lib/drb/extservm.rb:39:in `service' /Users/neilkohl/Developer/src/ruby-1.8.4/test/drb/drbtest.rb:35:in `ext_service'
     /Users/neilkohl/Developer/src/ruby-1.8.4/lib/timeout.rb:56:in `timeout'
     /Users/neilkohl/Developer/src/ruby-1.8.4/lib/timeout.rb:76:in `timeout'
     /Users/neilkohl/Developer/src/ruby-1.8.4/test/drb/drbtest.rb:34:in `ext_service'
     ./drb/test_drbunix.rb:40:in `setup'
...

···

On Jan 7, 2006, at 3:13 AM, didier.prophete@gmail.com wrote:

Ok, so I just got the latest ruby 1.8.4, compiled, ran the tests and I
ended up with 1 failure and 79 errors (running 'make test-all') Am I
the only one experiencing this ? (I am on os x 10.4.3, using gcc 4.0.0)

Basically all the tests fail like this one (note the 'execution
expired')

  1) Error:
test_01(TestDRbAry):
RuntimeError: execution expired
    /Users/boyfriend/tar/ruby-1.8.4/lib/timeout.rb:54:in
`invoke_service'
    /Users/boyfriend/tar/ruby-1.8.4/lib/drb/extservm.rb:39:in `service'
    /Users/boyfriend/tar/ruby-1.8.4/test/drb/drbtest.rb:35:in
`ext_service'
    /Users/boyfriend/tar/ruby-1.8.4/lib/timeout.rb:56:in `timeout'
    /Users/boyfriend/tar/ruby-1.8.4/lib/timeout.rb:76:in `timeout'
    /Users/boyfriend/tar/ruby-1.8.4/test/drb/drbtest.rb:34:in
`ext_service'
    /Users/boyfriend/tar/ruby-1.8.4/test/drb/drbtest.rb:279:in `setup'

any help would be really appreciated.

thanks,
-Didier

Neil Kohl
neil@kohlweb.com

I just successfully installed ruby-1.8.4 on my Mac.

I'm using OS X 10.4.3 and the latest Xcode tools.

When I ran the tests the first time, it complained about not being able to locate /usr/local/bin/ruby. That because it's never been installed there before. The same tests your failed on, mine also failed on.

I installed it to /usr/local/bin, etc and then did another test of the build which ran with no errors.

Looks like some of the tests expect a ruby to already exist in /usr/local in order to run.

Hope that helps.

Mike

···

--
Mobile: +81-80-3202-2599
Office: +81-3-3395-6055

"Any sufficiently advanced technology is indistinguishable from magic..."
                                   - A. C. Clarke

On Jan 9, 2006, at 15:03 , didier.prophete@gmail.com wrote:

Ok, so after closer analysis, all these errors are related to 'drb'
(distributed ruby). If I remove the drb test dir, all the tests pass. I
am not using drb, so I guess that's not too bad... but still... I find
it weird that all the drb tests fails like that (they all timeout...
and the code has a timeout of 10 seconds which seems more than enough
for anything...)

Out of curiosity: am I the only one expericencing this ?

thanks,

-Didier

I was able to get Ruby 1.8.4 to successfully compile on OS X 10.4.3 using gcc 3.3.

Seems when running the tests, it looks for a copy of Ruby already installed in /usr/local. I went ahead and installed Ruby, then ran the tests. They were all successful.

OS X has ruby installed in /usr/bin by default.

Try installing into /usr/local, the re-run the tests. I think you'll find that they will work perfectly.

Another thing to check is your firewall settings. While I don't have port 80 open in my firewall settings, you may need to do this, though it's not likely to be necessary.

Cheers,
Mike

···

--
Mobile: +81-80-3202-2599
Office: +81-3-3395-6055

"Haggis... uh, I was briefed on haggis.... No!"
         G W Bush (dubya) - Japan Times, 12 July 2005

On Jan 11, 2006, at 11:43 , Neil Kohl wrote:

Didier,

I got similar errors with a test-all on OS X 10.3.9, gcc 3.3. No idea how to fix.

...
59) Error:
test_06_next(TestDRbUNIXAry):
RuntimeError: execution expired
    /Users/neilkohl/Developer/src/ruby-1.8.4/lib/timeout.rb:54:in `invoke_service'
    /Users/neilkohl/Developer/src/ruby-1.8.4/lib/drb/extservm.rb:39:in `service' /Users/neilkohl/Developer/src/ruby-1.8.4/test/drb/drbtest.rb:35:in `ext_service'
    /Users/neilkohl/Developer/src/ruby-1.8.4/lib/timeout.rb:56:in `timeout'
    /Users/neilkohl/Developer/src/ruby-1.8.4/lib/timeout.rb:76:in `timeout'
    /Users/neilkohl/Developer/src/ruby-1.8.4/test/drb/drbtest.rb:34:in `ext_service'
    ./drb/test_drbunix.rb:40:in `setup'

60) Error:
test_07_break_18(TestDRbUNIXAry):
RuntimeError: execution expired
    /Users/neilkohl/Developer/src/ruby-1.8.4/lib/timeout.rb:54:in `invoke_service'
    /Users/neilkohl/Developer/src/ruby-1.8.4/lib/drb/extservm.rb:39:in `service' /Users/neilkohl/Developer/src/ruby-1.8.4/test/drb/drbtest.rb:35:in `ext_service'
    /Users/neilkohl/Developer/src/ruby-1.8.4/lib/timeout.rb:56:in `timeout'
    /Users/neilkohl/Developer/src/ruby-1.8.4/lib/timeout.rb:76:in `timeout'
    /Users/neilkohl/Developer/src/ruby-1.8.4/test/drb/drbtest.rb:34:in `ext_service'
    ./drb/test_drbunix.rb:40:in `setup'
...

On Jan 7, 2006, at 3:13 AM, didier.prophete@gmail.com wrote:

Ok, so I just got the latest ruby 1.8.4, compiled, ran the tests and I
ended up with 1 failure and 79 errors (running 'make test-all') Am I
the only one experiencing this ? (I am on os x 10.4.3, using gcc 4.0.0)

Basically all the tests fail like this one (note the 'execution
expired')

  1) Error:
test_01(TestDRbAry):
RuntimeError: execution expired
    /Users/boyfriend/tar/ruby-1.8.4/lib/timeout.rb:54:in
`invoke_service'
    /Users/boyfriend/tar/ruby-1.8.4/lib/drb/extservm.rb:39:in `service'
    /Users/boyfriend/tar/ruby-1.8.4/test/drb/drbtest.rb:35:in
`ext_service'
    /Users/boyfriend/tar/ruby-1.8.4/lib/timeout.rb:56:in `timeout'
    /Users/boyfriend/tar/ruby-1.8.4/lib/timeout.rb:76:in `timeout'
    /Users/boyfriend/tar/ruby-1.8.4/test/drb/drbtest.rb:34:in
`ext_service'
    /Users/boyfriend/tar/ruby-1.8.4/test/drb/drbtest.rb:279:in `setup'

any help would be really appreciated.

thanks,
-Didier

Neil Kohl
neil@kohlweb.com