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

Discussion in 'Ruby' started by didier.prophete@gmail.com, Jan 7, 2006.

  1. Guest

    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
     
    , Jan 7, 2006
    #1
    1. Advertising

  2. Guest

    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
     
    , Jan 9, 2006
    #2
    1. Advertising

  3. 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 , 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
    >
    >
     
    Michael Sullivan, Jan 9, 2006
    #3
  4. Neil Kohl Guest

    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, 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 Kohl, Jan 11, 2006
    #4
  5. 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, 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
    >
    >
    >
     
    Michael Sullivan, Jan 11, 2006
    #5
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mark Goldin

    Errors, errors, errors

    Mark Goldin, Jan 17, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    968
    Mark Goldin
    Jan 17, 2004
  2. Ilias Lazaridis
    Replies:
    0
    Views:
    583
    Ilias Lazaridis
    Feb 1, 2005
  3. Adam Smith
    Replies:
    2
    Views:
    379
    Adam Smith
    Dec 22, 2005
  4. Jim Weirich
    Replies:
    2
    Views:
    96
    Jim Weirich
    May 9, 2004
  5. G B-)
    Replies:
    1
    Views:
    127
    Michal Suchanek
    Feb 15, 2006
Loading...

Share This Page