Forum: Ruby make test-all fails in test/drb on Mac OS X

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Cfa80d65597d3e43664c762cbb715e38?d=identicon&s=25 Gaz Bulmer (gbulmer)
on 2006-02-15 03:40
(Received via mailing list)
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:in `service'
    ~/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:in `timeout'
    ~/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:in `ext_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-)
011737f94b61f527bd869eb54d735f57?d=identicon&s=25 Michal Suchanek (Guest)
on 2006-02-15 08:58
(Received via mailing list)
On 2/15/06, G B-) <gbulmer@gmail.com> 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 https://bugs.gentoo.org/show_bug.cgi?id=107503

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
This topic is locked and can not be replied to.