Forum: Ruby make test-all with 1.8.4 on os x gives me 1 failure and 79 e

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.
B389820ea2e2ee4f166930dea947a303?d=identicon&s=25 unknown (Guest)
on 2006-01-07 09:17
(Received via mailing list)
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
B389820ea2e2ee4f166930dea947a303?d=identicon&s=25 unknown (Guest)
on 2006-01-09 07:06
(Received via mailing list)
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
Fda3c217a8c38771200cd9a83abe0906?d=identicon&s=25 Michael Sullivan (Guest)
on 2006-01-09 07:42
(Received via mailing list)
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
59c57451c9fe66b55b0f163806b659ba?d=identicon&s=25 Neil Kohl (Guest)
on 2006-01-11 03:45
(Received via mailing list)
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:

>     /Users/boyfriend/tar/ruby-1.8.4/lib/timeout.rb:54:in
> any help would be really appreciated.
>
> thanks,
> -Didier
>
>
>
Neil Kohl
neil@kohlweb.com
Fda3c217a8c38771200cd9a83abe0906?d=identicon&s=25 Michael Sullivan (Guest)
on 2006-01-11 05:30
(Received via mailing list)
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
This topic is locked and can not be replied to.