[MacRuby] #1398: "rake spec:ci" fails more specs.

MacRuby ruby-noreply at macosforge.org
Sat Oct 1 23:37:36 PDT 2011


#1398: "rake spec:ci" fails more specs.
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  critical              |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------

Comment(by watson1978@…):

 I tried following operation.

  1. remove changing of "overhaul_compiletask"
  2. rm -rf /Library/Frameworks/MacRuby.framework/
  3. rebuild and install the MacRuby
  4. rake spec:ci

 I got the following results in my environment:
 {{{
 $ rake spec:ci
 rm -rf rubyspec_temp
 ./mspec/bin/mspec ci -B ./spec/macruby.mspec  :full
 MacRuby 0.11 (ruby 1.9.2) [universal-darwin11.0, x86_64]
 ..[!] Compiling fixture `/Users/watson/src/macruby-
 master/spec/macruby/fixtures/method.m'
 .[!] Compiling fixture `/Users/watson/src/macruby-
 master/spec/macruby/fixtures/constant.m'
 ..[!] Compiling fixture `/Users/watson/src/macruby-
 master/spec/macruby/fixtures/exception.m'
 ......*** Dispatch block exited prematurely because of an uncaught
 exception:
 /Users/watson/src/macruby-
 master/mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with':
 Expected true to equal false (SpecExpectationNotMetError)
         from /Users/watson/src/macruby-
 master/mspec/lib/mspec/matchers/base.rb:9:in `=='
         from /Users/watson/src/macruby-
 master/spec/macruby/core/gcd/semaphore_spec.rb:62:in `block'

 ......[!] Compiling fixture `/Users/watson/src/macruby-
 master/spec/macruby/fixtures/mri_abi.m'
 ...[!] Compiling fixture `/Users/watson/src/macruby-
 master/spec/macruby/fixtures/object.m'
 .......macruby(10964,0x111ce8000) malloc: *** error for object
 0x7fff941cd9e8: pointer being freed was not allocated
 *** set a breakpoint in malloc_error_break to debug
 ...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E.E..E................................................
 GC: -finalize resulted in an exception (0x406d8fce0) being thrown, break
 on objc_exception_during_finalize_error to debug
         undefined method `message' for false:FalseClass (NoMethodError)

 .....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

 1)
 An exception occurred during: loading /Users/watson/src/macruby-
 master/spec/frozen/core/kernel/puts_spec.rb ERROR
 Errno::EBADF: Bad file descriptor - read() failed


 2)
 An exception occurred during: loading /Users/watson/src/macruby-
 master/spec/frozen/core/kernel/rand_spec.rb ERROR
 Errno::EBADF: Bad file descriptor - read() failed


 3)
 An exception occurred during: loading /Users/watson/src/macruby-
 master/spec/frozen/core/kernel/remove_instance_variable_spec.rb ERROR
 Errno::EBADF: Bad file descriptor - read() failed


 Finished in 331.014929 seconds

 3336 files, 14705 examples, 55352 expectations, 0 failures, 3 errors
 rake aborted!
 Command failed with status (1): [./mspec/bin/mspec ci -B
 ./spec/macruby.msp...]

 Tasks: TOP => spec:ci
 (See full trace by running task with --trace)
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1398#comment:8>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list