Multiple new rubyspec failures to be looked at before 1.2RC2
------------------------------------------------------------
Key: JRUBY-3459
URL: http://jira.codehaus.org/browse/JRUBY-3459
Project: JRuby
Issue Type: Bug
Components: RubySpec
Reporter: Charles Oliver Nutter
Fix For: JRuby 1.2
Some of these worry me...we need to at least given then a once-through before
1.2RC2.
{noformat}
run-specs-interpreted-short:
[echo] Excludes: /Users/headius/projects/jruby/spec/tags
[echo] compile=OFF, threshold=20, objectspace=true threadpool=false
reflection=false compat=RUBY1_8
[java] jruby 1.2.0RC1 (ruby 1.8.6 patchlevel 287) (2009-02-28 rev 9330)
[x86_64-java]
[java] /bin/sh: sad: command not found
[java] /bin/sh: sad: command not found
[java]
[java]
[java] 1)
[java] An exception occurred during: after :each
[java] File.grpowned? return true if the file exist ERROR
[java] IOError: closed stream
[java]
/Users/headius/projects/jruby/spec/ruby/core/file/../../shared/file/grpowned.rb:9
[java] /Users/headius/projects/jruby/spec/ruby/core/file/grpowned_spec.rb:4
[java]
/Users/headius/projects/jruby/spec/ruby/core/file/grpowned_spec.rb:54:in `load'
[java]
[java] 2)
[java] An exception occurred during: after :each
[java] File.grpowned? returns false if file the does not exist ERROR
[java] IOError: closed stream
[java]
/Users/headius/projects/jruby/spec/ruby/core/file/../../shared/file/grpowned.rb:9
[java] /Users/headius/projects/jruby/spec/ruby/core/file/grpowned_spec.rb:4
[java]
/Users/headius/projects/jruby/spec/ruby/core/file/grpowned_spec.rb:54:in `load'
[java]
[java] 3)
[java] An exception occurred during: after :each
[java] File::Stat#grpowned? return true if the file exist ERROR
[java] IOError: closed stream
[java]
/Users/headius/projects/jruby/spec/ruby/core/file/stat/../../../shared/file/grpowned.rb:9
[java]
/Users/headius/projects/jruby/spec/ruby/core/file/stat/grpowned_spec.rb:5
[java]
/Users/headius/projects/jruby/spec/ruby/core/file/stat/grpowned_spec.rb:54:in
`load'
[java]
[java] 4)
[java] An exception occurred during: after :each
[java] FileTest.grpowned? return true if the file exist ERROR
[java] IOError: closed stream
[java]
/Users/headius/projects/jruby/spec/ruby/core/filetest/../../shared/file/grpowned.rb:9
[java]
/Users/headius/projects/jruby/spec/ruby/core/filetest/grpowned_spec.rb:4
[java]
/Users/headius/projects/jruby/spec/ruby/core/filetest/grpowned_spec.rb:54:in
`load'
[java]
[java] 5)
[java] Thread.critical= is reentrant FAILED
[java] Expected false
[java] to equal true
[java]
[java]
/Users/headius/projects/jruby/spec/ruby/core/thread/critical_spec.rb:42
[java]
/Users/headius/projects/jruby/spec/ruby/core/thread/critical_spec.rb:4
[java]
/Users/headius/projects/jruby/spec/ruby/core/thread/critical_spec.rb:54:in
`load'
[java]
[java] 6)
[java] Thread.critical= can be mismatched FAILED
[java] Expected false
[java] to equal true
[java]
[java]
/Users/headius/projects/jruby/spec/ruby/core/thread/critical_spec.rb:51
[java]
/Users/headius/projects/jruby/spec/ruby/core/thread/critical_spec.rb:4
[java]
/Users/headius/projects/jruby/spec/ruby/core/thread/critical_spec.rb:54:in
`load'
[java]
[java] 7)
[java] Thread.critical= defers exit FAILED
[java] Expected nil
[java] to equal "status=aborting"
[java]
[java]
/Users/headius/projects/jruby/spec/ruby/core/thread/critical_spec.rb:75
[java]
/Users/headius/projects/jruby/spec/ruby/core/thread/critical_spec.rb:4
[java]
/Users/headius/projects/jruby/spec/ruby/core/thread/critical_spec.rb:54:in
`load'
[java]
[java] 8)
[java] Thread.critical= is not reset if the critical thread is killed
FAILED
[java] Expected false
[java] to equal true
[java]
[java]
/Users/headius/projects/jruby/spec/ruby/core/thread/critical_spec.rb:88
[java]
/Users/headius/projects/jruby/spec/ruby/core/thread/critical_spec.rb:4
[java]
/Users/headius/projects/jruby/spec/ruby/core/thread/critical_spec.rb:54:in
`load'
[java]
[java] 9)
[java] Thread#exit killing dying running does nothing FAILED
[java] Expected nil
[java] to equal :after_stop
[java]
[java]
/Users/headius/projects/jruby/spec/ruby/core/thread/shared/exit.rb:73
[java] /Users/headius/projects/jruby/spec/ruby/core/thread/exit_spec.rb:5
[java]
/Users/headius/projects/jruby/spec/ruby/core/thread/exit_spec.rb:54:in `load'
[java]
[java] 10)
[java] Thread#inspect describes a dying running thread FAILED
[java] Expected "#<Thread:0x44c3f774 run>" to include "aborting"
[java]
/Users/headius/projects/jruby/spec/ruby/core/thread/inspect_spec.rb:34
[java]
/Users/headius/projects/jruby/spec/ruby/core/thread/inspect_spec.rb:4
[java]
/Users/headius/projects/jruby/spec/ruby/core/thread/inspect_spec.rb:54:in `load'
[java]
[java] 11)
[java] Thread#join returns the dead thread even if an uncaught exception
is thrown from ensure block ERROR
[java] RuntimeError: In dying thread
[java] /Users/headius/projects/jruby/spec/ruby/core/thread/join_spec.rb:49
[java]
/Users/headius/projects/jruby/spec/ruby/core/thread/fixtures/classes.rb:142:in
`dying_thread_ensures'
[java] :1:in `initialize'
[java]
[java] 12)
[java] Thread#kill killing dying running does nothing FAILED
[java] Expected nil
[java] to equal :after_stop
[java]
[java]
/Users/headius/projects/jruby/spec/ruby/core/thread/shared/exit.rb:73
[java] /Users/headius/projects/jruby/spec/ruby/core/thread/kill_spec.rb:5
[java]
/Users/headius/projects/jruby/spec/ruby/core/thread/kill_spec.rb:54:in `load'
[java]
[java] 13)
[java] Thread#status describes a dying running thread FAILED
[java] Expected "run"
[java] to equal "aborting"
[java]
[java]
/Users/headius/projects/jruby/spec/ruby/core/thread/status_spec.rb:34
[java] /Users/headius/projects/jruby/spec/ruby/core/thread/status_spec.rb:4
[java]
/Users/headius/projects/jruby/spec/ruby/core/thread/status_spec.rb:54:in `load'
[java]
[java] 14)
[java] Thread#stop? describes a killed thread FAILED
[java] Expected false
[java] to equal true
[java]
[java] /Users/headius/projects/jruby/spec/ruby/core/thread/stop_spec.rb:44
[java] /Users/headius/projects/jruby/spec/ruby/core/thread/stop_spec.rb:22
[java]
/Users/headius/projects/jruby/spec/ruby/core/thread/stop_spec.rb:54:in `load'
[java]
[java] 15)
[java] Thread#stop? describes a thread with an uncaught exception FAILED
[java] Expected false
[java] to equal true
[java]
[java] /Users/headius/projects/jruby/spec/ruby/core/thread/stop_spec.rb:48
[java] /Users/headius/projects/jruby/spec/ruby/core/thread/stop_spec.rb:22
[java]
/Users/headius/projects/jruby/spec/ruby/core/thread/stop_spec.rb:54:in `load'
[java]
[java] 16)
[java] Thread#value is false for a killed thread FAILED
[java] Expected nil
[java] to equal false
[java]
[java] /Users/headius/projects/jruby/spec/ruby/core/thread/value_spec.rb:16
[java] /Users/headius/projects/jruby/spec/ruby/core/thread/value_spec.rb:4
[java]
/Users/headius/projects/jruby/spec/ruby/core/thread/value_spec.rb:54:in `load'
[java]
[java] 17)
[java] Thread#value is false for an uncaught exception thrown from a dying
thread ERROR
[java] ZeroDivisionError: divided by 0
[java] /Users/headius/projects/jruby/spec/ruby/core/thread/value_spec.rb:20
[java]
/Users/headius/projects/jruby/spec/ruby/core/thread/fixtures/classes.rb:142:in
`dying_thread_ensures'
[java] :1:in `initialize'
[java]
[java] 18)
[java] Literal Regexps throws SyntaxError for malformed literals FAILED
[java] Expected SyntaxError
[java] but got RegexpError (end pattern with unmatched parenthesis: /(/)
[java] /Users/headius/projects/jruby/spec/ruby/language/regexp_spec.rb:29
[java] /Users/headius/projects/jruby/spec/ruby/language/regexp_spec.rb:4
[java]
/Users/headius/projects/jruby/spec/ruby/language/regexp_spec.rb:54:in `load'
[java]
[java] 19)
[java] Literal Regexps supports [[:alpha:][:digit:][:etc:]] (predefined
character classes) FAILED
[java] Expected [" \t\f\n\r"]
[java] to equal [" "]
[java]
[java] /Users/headius/projects/jruby/spec/ruby/language/regexp_spec.rb:452
[java] /Users/headius/projects/jruby/spec/ruby/language/regexp_spec.rb:4
[java]
/Users/headius/projects/jruby/spec/ruby/language/regexp_spec.rb:54:in `load'
[java]
[java] 20)
[java] Literal Regexps supports (?imx-imx) (inline modifiers) FAILED
[java] Expected SyntaxError but got RegexpError (undefined group option:
/(?a)/)
[java] /Users/headius/projects/jruby/spec/ruby/language/regexp_spec.rb:571
[java] /Users/headius/projects/jruby/spec/ruby/language/regexp_spec.rb:4
[java]
/Users/headius/projects/jruby/spec/ruby/language/regexp_spec.rb:54:in `load'
[java]
[java] 21)
[java] Literal Regexps supports (?imx-imx:expr) (scoped inline modifiers)
FAILED
[java] Expected SyntaxError but got RegexpError (undefined group option:
/(?a:)/)
[java] /Users/headius/projects/jruby/spec/ruby/language/regexp_spec.rb:592
[java] /Users/headius/projects/jruby/spec/ruby/language/regexp_spec.rb:4
[java]
/Users/headius/projects/jruby/spec/ruby/language/regexp_spec.rb:54:in `load'
[java]
[java] 22)
[java] Literal Regexps does not do thread synchronization for /o FAILED
[java] Expected [:to_s_callback1, :to_s_callback2, /class_with_to_s2/,
/class_with_to_s1/]
[java] to equal [:to_s_callback1, :to_s_callback2, /class_with_to_s2/,
/class_with_to_s2/]
[java]
[java] /Users/headius/projects/jruby/spec/ruby/language/regexp_spec.rb:667
[java] /Users/headius/projects/jruby/spec/ruby/language/regexp_spec.rb:4
[java]
/Users/headius/projects/jruby/spec/ruby/language/regexp_spec.rb:54:in `load'
[java]
[java] Finished in 48.786000 seconds
[java]
[java] 2173 files, 9232 examples, 32598 expectations, 16 failures, 6 errors
{noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email