[MacRuby-devel] aborted rake spec:ci using r5042.

Takao Kouji kouji at takao7.net
Mon Dec 20 21:56:47 PST 2010


Hi Laurent,

I try to run `rake spec:rubyspec' using r5042. Then I got 2 errors.
I try to clean below errors.

---- output begin -----
1)
Constant resolution within methods with dynamically assigned constants searches the lexical scope of a block ERROR
NameError: uninitialized constant ConstantSpecs::ClassB::ParentB
/Users/kouji/work/MacRuby/MacRuby/spec/frozen/fixtures/constants.rb:in `const210'
/Users/kouji/work/MacRuby/MacRuby/spec/frozen/language/constants_spec.rb:294:in `block' 
/Users/kouji/work/MacRuby/MacRuby/spec/frozen/language/constants_spec.rb:155:in `<main>'

2)
Kernel#sleep pauses execution indefinitely if not given a duration ERROR
ThreadError: stopping only thread
        note: use sleep to stop forever
/Users/kouji/work/MacRuby/MacRuby/spec/frozen/core/kernel/sleep_spec.rb:33:in `block'   
/Users/kouji/work/MacRuby/MacRuby/spec/frozen/core/kernel/sleep_spec.rb:4:in `<main>'   
----- output end -----

Thanks Kouji.

On 2010/12/17, at 16:45, Laurent Sansonetti wrote:

> Hi Kouji,
> 
> Some of the macruby specs are known to crash in certain environments. I haven't had the chance to look at this yet. You might want to try `rake spec:rubyspec' instead, in the meantime.
> 
> Laurent
> 
> On Dec 16, 2010, at 10:18 PM, Takao Kouji wrote:
> 
>> Hi, the 'rake spec:ci' is aborting using r5042.
>> 
>> ----- begin output -----
>> cymric$ rake spec:ci
>> (in /Users/kouji/work/MacRuby/MacRuby)
>> rm -rf rubyspec_temp
>> ./mspec/bin/mspec ci -B ./spec/macruby.mspec  :full
>> MacRuby 0.9 (ruby 1.9.2) [universal-darwin10.0, x86_64]
>> .........*** Dispatch block exited prematurely because of an uncaught exception:
>> /Users/kouji/work/MacRuby/MacRuby/mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with:': Expected true to equal false (SpecExpectationNotMetError)
>>        from /Users/kouji/work/MacRuby/MacRuby/mspec/lib/mspec/matchers/base.rb:9:in `==:'
>>        from /Users/kouji/work/MacRuby/MacRuby/spec/macruby/core/gcd/semaphore_spec.rb:62:in `block'
>> 
>> ................could not lookup DNS configuration info service: Permission denied
>> could not lookup DNS configuration info service: Permission denied
>> could not lookup DNS configuration info service: Permission denied
>> ........rake aborted!
>> Command failed with status (): [./mspec/bin/mspec ci -B ./spec/macruby.msp...]
>> 
>> (See full trace by running task with --trace)
>> 
>> 
>> cymric$ rake spec:ci --trace
>> (in /Users/kouji/work/MacRuby/MacRuby)
>> ** Invoke spec:ci (first_time)
>> ** Execute spec:ci
>> rm -rf rubyspec_temp
>> ./mspec/bin/mspec ci -B ./spec/macruby.mspec  :full
>> MacRuby 0.9 (ruby 1.9.2) [universal-darwin10.0, x86_64]
>> .........*** Dispatch block exited prematurely because of an uncaught exception:
>> /Users/kouji/work/MacRuby/MacRuby/mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with:': Expected true to equal false (SpecExpectationNotMetError)
>>        from /Users/kouji/work/MacRuby/MacRuby/mspec/lib/mspec/matchers/base.rb:9:in `==:'
>>        from /Users/kouji/work/MacRuby/MacRuby/spec/macruby/core/gcd/semaphore_spec.rb:62:in `block'
>> 
>> .F..............could not lookup DNS configuration info service: Permission denied
>> could not lookup DNS configuration info service: Permission denied
>> could not lookup DNS configuration info service: Permission denied
>> ........rake aborted!
>> Command failed with status (): [./mspec/bin/mspec ci -B ./spec/macruby.msp...]
>> /Users/kouji/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:995:in `sh'
>> /Users/kouji/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1010:in `call'
>> /Users/kouji/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1010:in `sh'
>> /Users/kouji/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1094:in `sh'
>> /Users/kouji/work/MacRuby/MacRuby/rakelib/spec.rake:7:in `mspec'
>> /Users/kouji/work/MacRuby/MacRuby/rakelib/spec.rake:12
>> /Users/kouji/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
>> /Users/kouji/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
>> /Users/kouji/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
>> /Users/kouji/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
>> /Users/kouji/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
>> /Users/kouji/local/lib/ruby/1.8/monitor.rb:242:in `synchronize'
>> /Users/kouji/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
>> /Users/kouji/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
>> /Users/kouji/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
>> /Users/kouji/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
>> /Users/kouji/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
>> /Users/kouji/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
>> /Users/kouji/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
>> /Users/kouji/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
>> /Users/kouji/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
>> /Users/kouji/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
>> /Users/kouji/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
>> /Users/kouji/local/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
>> /Users/kouji/local/bin/rake:19:in `load'
>> /Users/kouji/local/bin/rake:19
>> ----- end output -----
>> 
>> My environment is below.
>> * system version: Mac OS X 10.6.5(10H574)
>> * kernel version: Darwin 10.5.0
>> * MacRuby version: (from Git: git://git.macruby.org/macruby/MacRuby.git)
>> 
>> Thanks Kouji.
>> 
>> ---
>> TAKAO Kouji <kouji at takao7.net>
>> blog: http://d.hatena.ne.jp/kouji0625/
>> twitter: takaokouji / projects: ruby, s7-seven
>> 
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

---
TAKAO Kouji <kouji at takao7.net>
blog: http://d.hatena.ne.jp/kouji0625/
twitter: takaokouji / projects: ruby, s7-seven



More information about the MacRuby-devel mailing list