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

**URL:** <https://rubytalk.org/t/make-test-all-with-1-8-4-on-os-x-gives-me-1-failure-and-79-errors/23921>\
**Category:** ruby-talk\
**Created:** [7 January 2006 08:13 UTC](https://rubytalk.org/t/make-test-all-with-1-8-4-on-os-x-gives-me-1-failure-and-79-errors/23921 "2006-01-07T08:13:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Didier\_Prophete](https://avatars.discourse-cdn.com/v4/letter/d/977dab/32.png) [@Didier\_Prophete](https://rubytalk.org/u/Didier_Prophete)\
**Post date:** [7 January 2006 08:13 UTC](https://rubytalk.org/t/make-test-all-with-1-8-4-on-os-x-gives-me-1-failure-and-79-errors/23921/1 "2006-01-07T08:13:25Z")

</div>

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')

&nbsp;&nbsp;1) Error:  
test\_01(TestDRbAry):  
RuntimeError: execution expired  
&nbsp;&nbsp;&nbsp;&nbsp;/Users/boyfriend/tar/ruby-1.8.4/lib/timeout.rb:54:in  
`invoke\_service'  
&nbsp;&nbsp;&nbsp;&nbsp;/Users/boyfriend/tar/ruby-1.8.4/lib/drb/extservm.rb:39:in `service'  
&nbsp;&nbsp;&nbsp;&nbsp;/Users/boyfriend/tar/ruby-1.8.4/test/drb/drbtest.rb:35:in  
`ext\_service'  
&nbsp;&nbsp;&nbsp;&nbsp;/Users/boyfriend/tar/ruby-1.8.4/lib/timeout.rb:56:in `timeout'  
&nbsp;&nbsp;&nbsp;&nbsp;/Users/boyfriend/tar/ruby-1.8.4/lib/timeout.rb:76:in `timeout'  
&nbsp;&nbsp;&nbsp;&nbsp;/Users/boyfriend/tar/ruby-1.8.4/test/drb/drbtest.rb:34:in  
`ext\_service'  
&nbsp;&nbsp;&nbsp;&nbsp;/Users/boyfriend/tar/ruby-1.8.4/test/drb/drbtest.rb:279:in `setup'

any help would be really appreciated.

thanks,  
-Didier

---

<div class="post-metadata">

**Author:** ![Didier\_Prophete](https://avatars.discourse-cdn.com/v4/letter/d/977dab/32.png) [@Didier\_Prophete](https://rubytalk.org/u/Didier_Prophete)\
**Post date:** [9 January 2006 06:03 UTC](https://rubytalk.org/t/make-test-all-with-1-8-4-on-os-x-gives-me-1-failure-and-79-errors/23921/2 "2006-01-09T06:03:02Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Neil\_Kohl](https://avatars.discourse-cdn.com/v4/letter/n/6a8cbe/32.png) [@Neil\_Kohl](https://rubytalk.org/u/Neil_Kohl)\
**Post date:** [11 January 2006 02:43 UTC](https://rubytalk.org/t/make-test-all-with-1-8-4-on-os-x-gives-me-1-failure-and-79-errors/23921/3 "2006-01-11T02:43:28Z")

</div>

Didier,

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

...  
&nbsp;&nbsp;59) Error:  
test\_06\_next(TestDRbUNIXAry):  
RuntimeError: execution expired  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/Users/neilkohl/Developer/src/ruby-1.8.4/lib/timeout.rb:54:in `invoke\_service'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/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'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/Users/neilkohl/Developer/src/ruby-1.8.4/lib/timeout.rb:56:in `timeout'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/Users/neilkohl/Developer/src/ruby-1.8.4/lib/timeout.rb:76:in `timeout'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/Users/neilkohl/Developer/src/ruby-1.8.4/test/drb/drbtest.rb:34:in `ext\_service'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;./drb/test\_drbunix.rb:40:in `setup'

&nbsp;&nbsp;60) Error:  
test\_07\_break\_18(TestDRbUNIXAry):  
RuntimeError: execution expired  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/Users/neilkohl/Developer/src/ruby-1.8.4/lib/timeout.rb:54:in `invoke\_service'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/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'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/Users/neilkohl/Developer/src/ruby-1.8.4/lib/timeout.rb:56:in `timeout'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/Users/neilkohl/Developer/src/ruby-1.8.4/lib/timeout.rb:76:in `timeout'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/Users/neilkohl/Developer/src/ruby-1.8.4/test/drb/drbtest.rb:34:in `ext\_service'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;./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')
> > 
> > &nbsp;&nbsp;1) Error:  
> > test\_01(TestDRbAry):  
> > RuntimeError: execution expired  
> > &nbsp;&nbsp;&nbsp;&nbsp;/Users/boyfriend/tar/ruby-1.8.4/lib/timeout.rb:54:in  
> > `invoke\_service'  
> > &nbsp;&nbsp;&nbsp;&nbsp;/Users/boyfriend/tar/ruby-1.8.4/lib/drb/extservm.rb:39:in `service'  
> > &nbsp;&nbsp;&nbsp;&nbsp;/Users/boyfriend/tar/ruby-1.8.4/test/drb/drbtest.rb:35:in  
> > `ext\_service'  
> > &nbsp;&nbsp;&nbsp;&nbsp;/Users/boyfriend/tar/ruby-1.8.4/lib/timeout.rb:56:in `timeout'  
> > &nbsp;&nbsp;&nbsp;&nbsp;/Users/boyfriend/tar/ruby-1.8.4/lib/timeout.rb:76:in `timeout'  
> > &nbsp;&nbsp;&nbsp;&nbsp;/Users/boyfriend/tar/ruby-1.8.4/test/drb/drbtest.rb:34:in  
> > `ext\_service'  
> > &nbsp;&nbsp;&nbsp;&nbsp;/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

---

<div class="post-metadata">

**Author:** ![Michael\_Sullivan1](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@Michael\_Sullivan1](https://rubytalk.org/u/Michael_Sullivan1)\
**Post date:** [9 January 2006 06:40 UTC](https://rubytalk.org/t/make-test-all-with-1-8-4-on-os-x-gives-me-1-failure-and-79-errors/23921/4 "2006-01-09T06:40:10Z")

</div>

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..."  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- 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

---

<div class="post-metadata">

**Author:** ![Michael\_Sullivan1](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@Michael\_Sullivan1](https://rubytalk.org/u/Michael_Sullivan1)\
**Post date:** [11 January 2006 04:28 UTC](https://rubytalk.org/t/make-test-all-with-1-8-4-on-os-x-gives-me-1-failure-and-79-errors/23921/5 "2006-01-11T04:28:29Z")

</div>

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!"  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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  
> > &nbsp;&nbsp;&nbsp;&nbsp;/Users/neilkohl/Developer/src/ruby-1.8.4/lib/timeout.rb:54:in `invoke\_service'  
> > &nbsp;&nbsp;&nbsp;&nbsp;/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'  
> > &nbsp;&nbsp;&nbsp;&nbsp;/Users/neilkohl/Developer/src/ruby-1.8.4/lib/timeout.rb:56:in `timeout'  
> > &nbsp;&nbsp;&nbsp;&nbsp;/Users/neilkohl/Developer/src/ruby-1.8.4/lib/timeout.rb:76:in `timeout'  
> > &nbsp;&nbsp;&nbsp;&nbsp;/Users/neilkohl/Developer/src/ruby-1.8.4/test/drb/drbtest.rb:34:in `ext\_service'  
> > &nbsp;&nbsp;&nbsp;&nbsp;./drb/test\_drbunix.rb:40:in `setup'
> > 
> > 60) Error:  
> > test\_07\_break\_18(TestDRbUNIXAry):  
> > RuntimeError: execution expired  
> > &nbsp;&nbsp;&nbsp;&nbsp;/Users/neilkohl/Developer/src/ruby-1.8.4/lib/timeout.rb:54:in `invoke\_service'  
> > &nbsp;&nbsp;&nbsp;&nbsp;/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'  
> > &nbsp;&nbsp;&nbsp;&nbsp;/Users/neilkohl/Developer/src/ruby-1.8.4/lib/timeout.rb:56:in `timeout'  
> > &nbsp;&nbsp;&nbsp;&nbsp;/Users/neilkohl/Developer/src/ruby-1.8.4/lib/timeout.rb:76:in `timeout'  
> > &nbsp;&nbsp;&nbsp;&nbsp;/Users/neilkohl/Developer/src/ruby-1.8.4/test/drb/drbtest.rb:34:in `ext\_service'  
> > &nbsp;&nbsp;&nbsp;&nbsp;./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')
> > > 
> > > &nbsp;&nbsp;1) Error:  
> > > test\_01(TestDRbAry):  
> > > RuntimeError: execution expired  
> > > &nbsp;&nbsp;&nbsp;&nbsp;/Users/boyfriend/tar/ruby-1.8.4/lib/timeout.rb:54:in  
> > > `invoke\_service'  
> > > &nbsp;&nbsp;&nbsp;&nbsp;/Users/boyfriend/tar/ruby-1.8.4/lib/drb/extservm.rb:39:in `service'  
> > > &nbsp;&nbsp;&nbsp;&nbsp;/Users/boyfriend/tar/ruby-1.8.4/test/drb/drbtest.rb:35:in  
> > > `ext\_service'  
> > > &nbsp;&nbsp;&nbsp;&nbsp;/Users/boyfriend/tar/ruby-1.8.4/lib/timeout.rb:56:in `timeout'  
> > > &nbsp;&nbsp;&nbsp;&nbsp;/Users/boyfriend/tar/ruby-1.8.4/lib/timeout.rb:76:in `timeout'  
> > > &nbsp;&nbsp;&nbsp;&nbsp;/Users/boyfriend/tar/ruby-1.8.4/test/drb/drbtest.rb:34:in  
> > > `ext\_service'  
> > > &nbsp;&nbsp;&nbsp;&nbsp;/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
