Running RubySpec ci :language with -X+C fails locally, but not in "ant spec" ----------------------------------------------------------------------------
Key: JRUBY-3833 URL: http://jira.codehaus.org/browse/JRUBY-3833 Project: JRuby Issue Type: Bug Components: RubySpec Affects Versions: JRuby 1.4 Reporter: Charles Oliver Nutter Fix For: JRuby 1.4 Not sure why these failures would show up locally but not when running in the ant spec target: {noformat} ~/projects/jruby ➔ jruby spec/mspec/bin/mspec -T-X+C ci :language jruby 1.4.0dev (ruby 1.8.6p287) (2009-07-27 0c2cc46) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_13) [x86_64-java] .................FE..............F....EF.......... 1) The __FILE__ constant equals a relative path when required using a relative path FAILED Expected "fixtures/file.rb" to equal "./fixtures/file.rb" /Users/headius/projects/jruby/spec/mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' /Users/headius/projects/jruby/spec/mspec/lib/mspec/matchers/base.rb:9:in `==' /Users/headius/projects/jruby/spec/ruby/language/file_spec.rb:19 /Users/headius/projects/jruby/spec/ruby/language/file_spec.rb:17:in `chdir' /Users/headius/projects/jruby/spec/ruby/language/file_spec.rb:17 /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `protect' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `each' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `all?' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `protect' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:163:in `process' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:155:in `each' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:155:in `process' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:36:in `describe' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/object.rb:11:in `describe' /Users/headius/projects/jruby/spec/ruby/language/file_spec.rb:5 /Users/headius/projects/jruby/spec/ruby/language/file_spec.rb:55:in `load' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:55:in `files' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `protect' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:55:in `files' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:49:in `each' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:49:in `files' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:41:in `process' /Users/headius/projects/jruby/spec/mspec/lib/mspec/commands/mspec-run.rb:87:in `run' /Users/headius/projects/jruby/spec/mspec/lib/mspec/utils/script.rb:217:in `main' /Users/headius/projects/jruby/spec/mspec/bin/mspec-run:8 2) The for expression repeats the loop from the beginning with 'retry' ERROR LocalJumpError: retry outside of rescue not supported /Users/headius/projects/jruby/spec/ruby/language/versions/for_1.8.rb:4 /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `protect' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `each' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `all?' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `protect' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:163:in `process' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:155:in `each' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:155:in `process' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:36:in `describe' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/object.rb:11:in `describe' /Users/headius/projects/jruby/spec/ruby/language/versions/for_1.8.rb:1 /Users/headius/projects/jruby/spec/ruby/language/versions/for_1.8.rb:18:in `require' /Users/headius/projects/jruby/spec/mspec/lib/mspec/helpers/language_version.rb:18:in `language_version' /Users/headius/projects/jruby/spec/ruby/language/for_spec.rb:156 /Users/headius/projects/jruby/spec/ruby/language/for_spec.rb:55:in `load' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:55:in `files' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `protect' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:55:in `files' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:49:in `each' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:49:in `files' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:41:in `process' /Users/headius/projects/jruby/spec/mspec/lib/mspec/commands/mspec-run.rb:87:in `run' /Users/headius/projects/jruby/spec/mspec/lib/mspec/utils/script.rb:217:in `main' /Users/headius/projects/jruby/spec/mspec/bin/mspec-run:8 3) Execution variable $: does not include '.' when the taint check level > 1 FAILED Expected "true\n" to equal "false\n" /Users/headius/projects/jruby/spec/mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' /Users/headius/projects/jruby/spec/mspec/lib/mspec/matchers/base.rb:9:in `==' <script>:1 /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `protect' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `each' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `all?' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `protect' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:163:in `process' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:155:in `each' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:155:in `process' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:36:in `describe' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/object.rb:11:in `describe' /Users/headius/projects/jruby/spec/ruby/language/predefined_spec.rb:322 /Users/headius/projects/jruby/spec/ruby/language/predefined_spec.rb:55:in `load' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:55:in `files' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `protect' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:55:in `files' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:49:in `each' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:49:in `files' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:41:in `process' /Users/headius/projects/jruby/spec/mspec/lib/mspec/commands/mspec-run.rb:87:in `run' /Users/headius/projects/jruby/spec/mspec/lib/mspec/utils/script.rb:217:in `main' /Users/headius/projects/jruby/spec/mspec/bin/mspec-run:8 4) The retry statement re-executes the entire enumeration ERROR LocalJumpError: retry outside of rescue not supported /Users/headius/projects/jruby/spec/ruby/language/versions/retry_1.8.rb:12 /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `protect' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `each' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `all?' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `protect' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:163:in `process' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:155:in `each' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:155:in `process' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:36:in `describe' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/object.rb:11:in `describe' /Users/headius/projects/jruby/spec/ruby/language/versions/retry_1.8.rb:1 /Users/headius/projects/jruby/spec/ruby/language/versions/retry_1.8.rb:18:in `require' /Users/headius/projects/jruby/spec/mspec/lib/mspec/helpers/language_version.rb:18:in `language_version' /Users/headius/projects/jruby/spec/ruby/language/retry_spec.rb:50 /Users/headius/projects/jruby/spec/ruby/language/retry_spec.rb:55:in `load' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:55:in `files' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `protect' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:55:in `files' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:49:in `each' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:49:in `files' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:41:in `process' /Users/headius/projects/jruby/spec/mspec/lib/mspec/commands/mspec-run.rb:87:in `run' /Users/headius/projects/jruby/spec/mspec/lib/mspec/utils/script.rb:217:in `main' /Users/headius/projects/jruby/spec/mspec/bin/mspec-run:8 5) The return keyword within a block raises a LocalJumpError if there is no lexicaly enclosing method FAILED Expected LocalJumpError but no exception was raised /Users/headius/projects/jruby/spec/mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' /Users/headius/projects/jruby/spec/mspec/lib/mspec/expectations/should.rb:7:in `should' /Users/headius/projects/jruby/spec/ruby/language/return_spec.rb:195 /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `protect' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `each' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `all?' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `protect' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:163:in `process' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:155:in `each' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:155:in `process' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:184:in `each' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/context.rb:184:in `process' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:36:in `describe' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/object.rb:11:in `describe' /Users/headius/projects/jruby/spec/ruby/language/return_spec.rb:4 /Users/headius/projects/jruby/spec/ruby/language/return_spec.rb:55:in `load' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:55:in `files' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `protect' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:55:in `files' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:49:in `each' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:49:in `files' /Users/headius/projects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:41:in `process' /Users/headius/projects/jruby/spec/mspec/lib/mspec/commands/mspec-run.rb:87:in `run' /Users/headius/projects/jruby/spec/mspec/lib/mspec/utils/script.rb:217:in `main' /Users/headius/projects/jruby/spec/mspec/bin/mspec-run:8 Finished in 8.091000 seconds 50 files, 843 examples, 2309 expectations, 3 failures, 2 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