Make test-all fails in test/drb on Mac OS X

Hi

I’m building ruby-1.8.4 on Mac OS X 10.4.4 (Tiger) with XCode 2.1

This 'make’s and 'make install’s fine. It even 'make test’s too.

‘make test-all’ or ‘make check’ fails with:
1313 tests, 14124 assertions, 0 failures, 79 errors
make: *** [test-all] Error 1

All of the errors are in test/drb

The pattern is (directory structured trimmed with ‘~’):

  1. Error:
    test_01(TestDRbAry):
    RuntimeError: execution expired
    ~/ruby-lang-org/ruby-1.8.4/lib/timeout.rb:54:in invoke_service' ~/ruby-lang-org/ruby-1.8.4/lib/drb/extservm.rb:39:inservice’
    ~/ruby-lang-org/ruby-1.8.4/test/drb/drbtest.rb:35:in ext_service' ~/ruby-lang-org/ruby-1.8.4/lib/timeout.rb:56:intimeout’
    ~/ruby-lang-org/ruby-1.8.4/lib/timeout.rb:76:in timeout' ~/ruby-lang-org/ruby-1.8.4/test/drb/drbtest.rb:34:inext_service’
    ~/ruby-lang-org/ruby-1.8.4/test/drb/drbtest.rb:279:in `setup’

These were the classes:
TestDRbAry
TestDRbCore
TestDRbEval
TestDRbLarge
TestDRbSSLAry
TestDRbSSLCore
TestDRbSafe1
TestDRbUNIXAry
TestDRbUNIXCore
TestDRbYield

I noticed a few days ago, others had a problem with failure in drb
tests.

The email said that ‘sudo make install’ followed by ‘make test-all’
works, but my results were the unchanged, the same list of errors.
I tried moving the default ruby (/usr/bin/ruby to /usr/bin/orig.ruby)
to ensure only the new ruby is being used for the tests. The same
errors remained.
I even linked (ln) the /usr/local/bin/ruby and ruby in my build
directory.
This made no difference, I still get the errors.
I tried the trivial drb server on page 418 of pickaxe-2, and that
worked fine.

Any suggestions how to get the test/drb to work?
I don’t feel comfortable trying to build my distributed application
with those drb tests broken.

GB-)

On 2/15/06, G B-) [email protected] wrote:

Hi
Hello

I’m building ruby-1.8.4 on Mac OS X 10.4.4 (Tiger) with XCode 2.1

This 'make’s and 'make install’s fine. It even 'make test’s too.

‘make test-all’ or ‘make check’ fails with:
1313 tests, 14124 assertions, 0 failures, 79 errors
make: *** [test-all] Error 1

All of the errors are in test/drb

It looks like the drb failures are not OS X specific.
on GNU/Linux ppc there are drb failures as well.

see 107503 – ruby-1.8.x fail tests

The tests just timed out.

Thanks

Michal


Support the freedom of music!
Maybe it’s a weird genre … but weird is not illegal.
Maybe next time they will send a special forces commando
to your picnic … because they think you are weird.
www.music-versus-guns.org http://en.policejnistat.cz