You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@buildr.apache.org by Apache Hudson Server <hu...@hudson.zones.apache.org> on 2010/05/28 10:04:06 UTC
Build failed in Hudson: buildr-ci-build-jruby #5
See <http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/5/changes>
Changes:
[toulmean] modifying bdd specs to allow for an easier spotting of errors. Looks like they don't pass on the CI build.
------------------------------------------
[...truncated 3492 lines...]
[31m at ruby.jit.execute_046D8218F8E419E4C727F1FF1F496C0808722F92.__file__(example_methods.rb)[0m
[31m at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:187)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:186)[0m
[31m at ruby.jit.run_examples_F0FB904973C854AC66896BA089993CE85F267880.block_0$RUBY$__block__(example_group_methods.rb:214)[0m
[31m at ruby.jit.run_examples_F0FB904973C854AC66896BA089993CE85F267880BlockCallback$block_0$RUBY$__block__xx1.call(Unknown Source)[0m
[31m at org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:115)[0m
[31m at org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:98)[0m
[31m at org.jruby.runtime.Block.yield(Block.java:194)[0m
[31m at org.jruby.RubyArray.eachCommon(RubyArray.java:1630)[0m
[31m at org.jruby.RubyArray.each(RubyArray.java:1637)[0m
[31m at org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.call(org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen:65535)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:115)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:132)[0m
[31m at ruby.jit.run_examples_F0FB904973C854AC66896BA089993CE85F267880.__file__(example_group_methods.rb:212)[0m
[31m at ruby.jit.run_examples_F0FB904973C854AC66896BA089993CE85F267880.__file__(example_group_methods.rb)[0m
[31m at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:102)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:279)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:68)[0m
[31m at ruby.jit.run_0C18271FE7D5E1A83B4340B97DFF3794AB8BCCB9.__file__(example_group_methods.rb:103)[0m
[31m at ruby.jit.run_0C18271FE7D5E1A83B4340B97DFF3794AB8BCCB9.__file__(example_group_methods.rb)[0m
[31m at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:153)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)[0m
[31m at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)[0m
[31m at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)[0m
[31m at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123)[0m
[31m at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)[0m
[31m at org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:373)[0m
[31m at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:346)[0m
[31m at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:303)[0m
[31m at org.jruby.runtime.Block.yield(Block.java:194)[0m
[31m at org.jruby.RubyArray.eachCommon(RubyArray.java:1630)[0m
[31m at org.jruby.RubyArray.each(RubyArray.java:1637)[0m
[31m at org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.call(org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen:65535)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:299)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:117)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:122)[0m
[31m at org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64)[0m
[31m at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)[0m
[31m at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)[0m
[31m at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96)[0m
[31m at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)[0m
[31m at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:156)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)[0m
[31m at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)[0m
[31m at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123)[0m
[31m at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)[0m
[31m at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)[0m
[31m at org.jruby.ast.IfNode.interpret(IfNode.java:119)[0m
[31m at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)[0m
[31m at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)[0m
[31m at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96)[0m
[31m at org.jruby.ast.BeginNode.interpret(BeginNode.java:83)[0m
[31m at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)[0m
[31m at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)[0m
[31m at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)[0m
[31m at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:156)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)[0m
[31m at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)[0m
[31m at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)[0m
[31m at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)[0m
[31m at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96)[0m
[31m at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)[0m
[31m at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:156)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)[0m
[31m at home.toulmean.jruby_minus_1_dot_5_dot_0.lib.ruby.gems.$1_dot_8.gems.rspec_minus_1_dot_2_dot_9.bin.spec.__file__(spec:5)[0m
[31m at home.toulmean.jruby_minus_1_dot_5_dot_0.lib.ruby.gems.$1_dot_8.gems.rspec_minus_1_dot_2_dot_9.bin.spec.load(spec)[0m
[31m at org.jruby.Ruby.runScript(Ruby.java:684)[0m
[31m at org.jruby.Ruby.runNormally(Ruby.java:567)[0m
[31m at org.jruby.Ruby.runFromMain(Ruby.java:413)[0m
[31m at org.jruby.Main.run(Main.java:286)[0m
[31m at org.jruby.Main.run(Main.java:128)[0m
[31m at org.jruby.util.ShellLauncher$ScriptThreadProcess.run(ShellLauncher.java:136)[0m
[31m at java.lang.Thread.run(Thread.java:619)[0m
[32mTest Starting - StringSuite: substring2[0m
[32mTest Succeeded - StringSuite: substring2[0m
[32mTest Starting - StringSuite: substring3[0m
[32mTest Succeeded - StringSuite: substring3[0m
[32mSuite Completed - StringSuite[0m
[36mRun completed in 475 milliseconds.[0m
[36mTotal number of tests run: 5[0m
[36mSuites: completed 1, aborted 0[0m
[36mTests: succeeded 4, failed 1, ignored 0, pending 0[0m
[31m*** 1 TEST FAILED ***[0m
- should fail if ScalaCheck test case fails
Buildr::Scala::Specs
- should be the default when tests in src/spec/scala
- should include Specs dependencies
- should include ScalaCheck dependencies
- should include JMock dependencies
Specification "MySpecs"
it should
[32m+[0m add
Total for specification "MySpecs":
Finished in 0 second, 55 ms
1 example, 1 expectation, 0 failure, 0 error
- should include public objects extending org.specs.Specification
Specification "MySpecs"
it should
[32m+[0m add
Total for specification "MySpecs":
Finished in 0 second, 55 ms
1 example, 1 expectation, 0 failure, 0 error
- should include public objects extending org.specs.Specification even with companion classes
Specification "PassingSpecs"
it should
[32m+[0m add
Total for specification "PassingSpecs":
Finished in 0 second, 55 ms
1 example, 1 expectation, 0 failure, 0 error
- should pass when spec passes
Specification "StringSpecs"
empty string should
[31mx[0m have a zero length
'0' is not equal to '1' (StringSpecs.scala:7)
Total for specification "StringSpecs":
Finished in 0 second, 61 ms
1 example, 1 expectation, [31m1 failure[0m, 0 error
- should fail when spec fails
scala compiler (installed in SCALA_HOME)
- requires present SCALA_HOME
- should identify itself from source directories
- should report the language as :scala
- should set the target directory to target/classes
- should not override existing target directory
- should not change existing list of sources
- should include as classpath dependency
- should compile a simple .scala file into a .class file
- should package .class into a .jar file
- should compile scala class depending on java class in same project
- should compile java class depending on scala class in same project
scala compiler (downloaded from repository)
- requires absent SCALA_HOME
- should identify itself from source directories
- should report the language as :scala
- should set the target directory to target/classes
- should not override existing target directory
- should not change existing list of sources
- should include as classpath dependency
- should compile a simple .scala file into a .class file
- should package .class into a .jar file
- should compile scala class depending on java class in same project
- should compile java class depending on scala class in same project
scalac compiler options
- should set warnings option to false by default
- should set warnings option to true when running with --verbose option
- should use -nowarn argument when warnings is false
- should not use -nowarn argument when warnings is true
- should not use -verbose argument by default
- should use -verbose argument when running with --trace option
- should set debug option to true by default
- should set debug option to false based on Buildr.options
- should set debug option to false based on debug environment variable
- should set debug option to false based on DEBUG environment variable
- should use -g argument when debug option is true
- should not use -g argument when debug option is false
- should set deprecation option to false by default
- should use -deprecation argument when deprecation is true
- should not use -deprecation argument when deprecation is false
- should set optimise option to false by default
- should use -optimise argument when deprecation is true
- should not use -optimise argument when deprecation is false
- should not set target option by default
- should use -target:xxx argument if target option set
- should not set other option by default
- should pass other argument if other option is string
- should pass other argument if other option is array
- should complain about options it doesn't know
- should inherit options from parent
1)
RuntimeError in 'Buildr::RSpec should read passed specs from result yaml'
Tests failed!
<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/lib/buildr/core/test.rb>:490:in `run_tests'
<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/lib/buildr/core/test.rb>:211:in `initialize'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
./spec/spec_helpers.rb:144:in `execute'
<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/lib/buildr/core/test.rb>:239:in `execute'
<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/lib/buildr/core/application.rb>:636:in `invoke_with_call_chain'
/home/toulmean/jruby-1.5.0/lib/ruby/1.8/monitor.rb:191:in `mon_synchronize'
<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/lib/buildr/core/application.rb>:622:in `invoke_with_call_chain'
<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/lib/buildr/core/application.rb>:617:in `invoke'
./spec/java/bdd_spec.rb:33:
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `instance_eval'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `execute'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in `execute'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in `run_examples'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `each'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `run_examples'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:23:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `each'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in `run_examples'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/command_line.rb:9:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/bin/spec:5:
2)
'Buildr::RSpec should read result yaml to obtain the list of failed specs' FAILED
expected ["<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/src/spec/ruby/error_spec.rb",> "<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/src/spec/ruby/failure_spec.rb"]>
got ["<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/src/spec/ruby/error_spec.rb",> "<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/src/spec/ruby/failure_spec.rb",> "<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/src/spec/ruby/success_spec.rb"]>
(compared using eql?)
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/expectations/fail_with.rb:41:in `fail_with'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/expectations/handler.rb:21:in `handle_matcher'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/expectations/extensions/kernel.rb:27:in `should'
./spec/java/bdd_spec.rb:47:
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `instance_eval'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `execute'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in `execute'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in `run_examples'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `each'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `run_examples'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:23:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `each'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in `run_examples'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/command_line.rb:9:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/bin/spec:5:
Finished in 171.083 seconds
1863 examples, 2 failures
mkdir -p <http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/home>
mkdir -p <http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/home/.buildr>
rake aborted!
Command /home/toulmean/jruby-1.5.0/bin/jruby -I"lib" "/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/bin/spec" "spec/version_requirement_spec.rb" "spec/addon/drb_spec.rb" "spec/java/commands_spec.rb" "spec/java/packaging_spec.rb" "spec/java/tests_spec.rb" "spec/java/bdd_spec.rb" "spec/java/emma_spec.rb" "spec/java/ant_spec.rb" "spec/java/cobertura_spec.rb" "spec/java/compiler_spec.rb" "spec/java/java_spec.rb" "spec/core/compile_spec.rb" "spec/core/common_spec.rb" "spec/core/cc_spec.rb" "spec/core/project_spec.rb" "spec/core/generate_spec.rb" "spec/core/checks_spec.rb" "spec/core/application_spec.rb" "spec/core/util_spec.rb" "spec/core/extension_spec.rb" "spec/core/transport_spec.rb" "spec/core/test_spec.rb" "spec/core/build_spec.rb" "spec/ide/idea7x_spec.rb" "spec/ide/eclipse_spec.rb" "spec/packaging/artifact_spec.rb" "spec/packaging/artifact_namespace_spec.rb" "spec/packaging/packaging_spec.rb" "spec/packaging/archive_spec.rb" "spec/scala/tests_spec.rb" "spec/scala/bdd_spec.rb" "spec/scala/compiler_spec.rb" --format specdoc --format failing_examples:failed --format html:_reports/specs.html --backtrace failed
(See full trace by running task with --trace)
Hudson build is back to normal : buildr-ci-build-jruby #11
Posted by Apache Hudson Server <hu...@hudson.zones.apache.org>.
See <http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/11/changes>
Build failed in Hudson: buildr-ci-build-jruby #10
Posted by Apache Hudson Server <hu...@hudson.zones.apache.org>.
See <http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/10/changes>
Changes:
[toulmean] making sure there is default value for RAKE_SUDO
------------------------------------------
[...truncated 3502 lines...]
[31m at ruby.jit.execute_046D8218F8E419E4C727F1FF1F496C0808722F92.__file__(example_methods.rb)[0m
[31m at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:187)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:186)[0m
[31m at ruby.jit.run_examples_F0FB904973C854AC66896BA089993CE85F267880.block_0$RUBY$__block__(example_group_methods.rb:214)[0m
[31m at ruby.jit.run_examples_F0FB904973C854AC66896BA089993CE85F267880BlockCallback$block_0$RUBY$__block__xx1.call(Unknown Source)[0m
[31m at org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:115)[0m
[31m at org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:98)[0m
[31m at org.jruby.runtime.Block.yield(Block.java:194)[0m
[31m at org.jruby.RubyArray.eachCommon(RubyArray.java:1630)[0m
[31m at org.jruby.RubyArray.each(RubyArray.java:1637)[0m
[31m at org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.call(org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen:65535)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:115)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:132)[0m
[31m at ruby.jit.run_examples_F0FB904973C854AC66896BA089993CE85F267880.__file__(example_group_methods.rb:212)[0m
[31m at ruby.jit.run_examples_F0FB904973C854AC66896BA089993CE85F267880.__file__(example_group_methods.rb)[0m
[31m at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:102)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:279)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:68)[0m
[31m at ruby.jit.run_0C18271FE7D5E1A83B4340B97DFF3794AB8BCCB9.__file__(example_group_methods.rb:103)[0m
[31m at ruby.jit.run_0C18271FE7D5E1A83B4340B97DFF3794AB8BCCB9.__file__(example_group_methods.rb)[0m
[31m at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:153)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)[0m
[31m at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)[0m
[31m at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)[0m
[31m at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123)[0m
[31m at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)[0m
[31m at org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:373)[0m
[31m at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:346)[0m
[31m at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:303)[0m
[31m at org.jruby.runtime.Block.yield(Block.java:194)[0m
[31m at org.jruby.RubyArray.eachCommon(RubyArray.java:1630)[0m
[31m at org.jruby.RubyArray.each(RubyArray.java:1637)[0m
[31m at org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.call(org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen:65535)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:299)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:117)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:122)[0m
[31m at org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64)[0m
[31m at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)[0m
[31m at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)[0m
[31m at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96)[0m
[31m at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)[0m
[31m at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:156)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)[0m
[31m at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)[0m
[31m at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123)[0m
[31m at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)[0m
[31m at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)[0m
[31m at org.jruby.ast.IfNode.interpret(IfNode.java:119)[0m
[31m at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)[0m
[31m at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)[0m
[31m at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96)[0m
[31m at org.jruby.ast.BeginNode.interpret(BeginNode.java:83)[0m
[31m at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)[0m
[31m at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)[0m
[31m at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)[0m
[31m at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:156)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)[0m
[31m at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)[0m
[31m at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)[0m
[31m at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)[0m
[31m at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96)[0m
[31m at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)[0m
[31m at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:156)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)[0m
[31m at home.toulmean.jruby_minus_1_dot_5_dot_0.lib.ruby.gems.$1_dot_8.gems.rspec_minus_1_dot_2_dot_9.bin.spec.__file__(spec:5)[0m
[31m at home.toulmean.jruby_minus_1_dot_5_dot_0.lib.ruby.gems.$1_dot_8.gems.rspec_minus_1_dot_2_dot_9.bin.spec.load(spec)[0m
[31m at org.jruby.Ruby.runScript(Ruby.java:684)[0m
[31m at org.jruby.Ruby.runNormally(Ruby.java:567)[0m
[31m at org.jruby.Ruby.runFromMain(Ruby.java:413)[0m
[31m at org.jruby.Main.run(Main.java:286)[0m
[31m at org.jruby.Main.run(Main.java:128)[0m
[31m at org.jruby.util.ShellLauncher$ScriptThreadProcess.run(ShellLauncher.java:136)[0m
[31m at java.lang.Thread.run(Thread.java:619)[0m
[32mTest Starting - StringSuite: substring2[0m
[32mTest Succeeded - StringSuite: substring2[0m
[32mTest Starting - StringSuite: substring3[0m
[32mTest Succeeded - StringSuite: substring3[0m
[32mSuite Completed - StringSuite[0m
[36mRun completed in 2 seconds, 75 milliseconds.[0m
[36mTotal number of tests run: 5[0m
[36mSuites: completed 1, aborted 0[0m
[36mTests: succeeded 4, failed 1, ignored 0, pending 0[0m
[31m*** 1 TEST FAILED ***[0m
- should fail if ScalaCheck test case fails
Buildr::Scala::Specs
- should be the default when tests in src/spec/scala
- should include Specs dependencies
- should include ScalaCheck dependencies
- should include JMock dependencies
Specification "MySpecs"
it should
[32m+[0m add
Total for specification "MySpecs":
Finished in 0 second, 56 ms
1 example, 1 expectation, 0 failure, 0 error
- should include public objects extending org.specs.Specification
Specification "MySpecs"
it should
[32m+[0m add
Total for specification "MySpecs":
Finished in 0 second, 56 ms
1 example, 1 expectation, 0 failure, 0 error
- should include public objects extending org.specs.Specification even with companion classes
Specification "PassingSpecs"
it should
[32m+[0m add
Total for specification "PassingSpecs":
Finished in 0 second, 55 ms
1 example, 1 expectation, 0 failure, 0 error
- should pass when spec passes
Specification "StringSpecs"
empty string should
[31mx[0m have a zero length
'0' is not equal to '1' (StringSpecs.scala:7)
Total for specification "StringSpecs":
Finished in 0 second, 60 ms
1 example, 1 expectation, [31m1 failure[0m, 0 error
- should fail when spec fails
scala compiler (installed in SCALA_HOME)
- requires present SCALA_HOME
- should identify itself from source directories
- should report the language as :scala
- should set the target directory to target/classes
- should not override existing target directory
- should not change existing list of sources
- should include as classpath dependency
- should compile a simple .scala file into a .class file
- should package .class into a .jar file
- should compile scala class depending on java class in same project
- should compile java class depending on scala class in same project
scala compiler (downloaded from repository)
- requires absent SCALA_HOME
- should identify itself from source directories
- should report the language as :scala
- should set the target directory to target/classes
- should not override existing target directory
- should not change existing list of sources
- should include as classpath dependency
- should compile a simple .scala file into a .class file
- should package .class into a .jar file
- should compile scala class depending on java class in same project
- should compile java class depending on scala class in same project
scalac compiler options
- should set warnings option to false by default
- should set warnings option to true when running with --verbose option
- should use -nowarn argument when warnings is false
- should not use -nowarn argument when warnings is true
- should not use -verbose argument by default
- should use -verbose argument when running with --trace option
- should set debug option to true by default
- should set debug option to false based on Buildr.options
- should set debug option to false based on debug environment variable
- should set debug option to false based on DEBUG environment variable
- should use -g argument when debug option is true
- should not use -g argument when debug option is false
- should set deprecation option to false by default
- should use -deprecation argument when deprecation is true
- should not use -deprecation argument when deprecation is false
- should set optimise option to false by default
- should use -optimise argument when deprecation is true
- should not use -optimise argument when deprecation is false
- should not set target option by default
- should use -target:xxx argument if target option set
- should not set other option by default
- should pass other argument if other option is string
- should pass other argument if other option is array
- should complain about options it doesn't know
- should inherit options from parent
1)
RuntimeError in 'Buildr::RSpec should read passed specs from result yaml'
Tests failed!
<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/lib/buildr/core/test.rb>:490:in `run_tests'
<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/lib/buildr/core/test.rb>:211:in `initialize'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
./spec/spec_helpers.rb:144:in `execute'
<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/lib/buildr/core/test.rb>:239:in `execute'
<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/lib/buildr/core/application.rb>:636:in `invoke_with_call_chain'
/home/toulmean/jruby-1.5.0/lib/ruby/1.8/monitor.rb:191:in `mon_synchronize'
<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/lib/buildr/core/application.rb>:622:in `invoke_with_call_chain'
<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/lib/buildr/core/application.rb>:617:in `invoke'
./spec/java/bdd_spec.rb:33:
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `instance_eval'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `execute'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in `execute'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in `run_examples'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `each'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `run_examples'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:23:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `each'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in `run_examples'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/command_line.rb:9:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/bin/spec:5:
2)
'Buildr::RSpec should read result yaml to obtain the list of failed specs' FAILED
expected ["<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/src/spec/ruby/error_spec.rb",> "<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/src/spec/ruby/failure_spec.rb"]>
got ["<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/src/spec/ruby/error_spec.rb",> "<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/src/spec/ruby/failure_spec.rb",> "<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/src/spec/ruby/success_spec.rb"]>
(compared using eql?)
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/expectations/fail_with.rb:41:in `fail_with'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/expectations/handler.rb:21:in `handle_matcher'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/expectations/extensions/kernel.rb:27:in `should'
./spec/java/bdd_spec.rb:47:
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `instance_eval'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `execute'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in `execute'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in `run_examples'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `each'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `run_examples'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:23:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `each'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in `run_examples'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/command_line.rb:9:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/bin/spec:5:
Finished in 177.78 seconds
1871 examples, 2 failures
mkdir -p <http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/home>
mkdir -p <http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/home/.buildr>
rake aborted!
Command /home/toulmean/jruby-1.5.0/bin/jruby -I"lib" "/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/bin/spec" "spec/version_requirement_spec.rb" "spec/addon/drb_spec.rb" "spec/java/commands_spec.rb" "spec/java/packaging_spec.rb" "spec/java/tests_spec.rb" "spec/java/bdd_spec.rb" "spec/java/emma_spec.rb" "spec/java/ant_spec.rb" "spec/java/cobertura_spec.rb" "spec/java/compiler_spec.rb" "spec/java/java_spec.rb" "spec/core/compile_spec.rb" "spec/core/common_spec.rb" "spec/core/cc_spec.rb" "spec/core/project_spec.rb" "spec/core/generate_spec.rb" "spec/core/checks_spec.rb" "spec/core/application_spec.rb" "spec/core/util_spec.rb" "spec/core/extension_spec.rb" "spec/core/transport_spec.rb" "spec/core/test_spec.rb" "spec/core/build_spec.rb" "spec/ide/idea7x_spec.rb" "spec/ide/eclipse_spec.rb" "spec/packaging/artifact_spec.rb" "spec/packaging/artifact_namespace_spec.rb" "spec/packaging/packaging_spec.rb" "spec/packaging/archive_spec.rb" "spec/scala/tests_spec.rb" "spec/scala/bdd_spec.rb" "spec/scala/compiler_spec.rb" --format specdoc --format failing_examples:failed --format html:_reports/specs.html --backtrace failed
(See full trace by running task with --trace)
Build failed in Hudson: buildr-ci-build-jruby #9
Posted by Apache Hudson Server <hu...@hudson.zones.apache.org>.
See <http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/9/changes>
Changes:
[toulmean] BUILDR-448 Don't use sudo by default for rake setup
[toulmean] BUILDR-450 Update .gitignore to exclude idea project files and files generated during spec tests (Peter Donald)
------------------------------------------
Started by an SCM change
Building remotely on vesta.apache.org (Ubuntu)
Updating http://svn.apache.org/repos/asf/buildr/trunk
U CHANGELOG
U .gitignore
U rakelib/setup.rake
At revision 951895
[buildr-ci-build-jruby] $ /bin/bash -xe /tmp/hudson5103701177639597973.sh
+ /home/toulmean/jruby-1.5.0/bin/jruby -S rake spec
(in <http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/)>
rake aborted!
undefined method `strip' for nil:NilClass
(See full trace by running task with --trace)
Build failed in Hudson: buildr-ci-build-jruby #8
Posted by Apache Hudson Server <hu...@hudson.zones.apache.org>.
See <http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/8/changes>
Changes:
[toulmean] BUILDR-374 upload tasks can attempt to upload artifacts multiple times (Pepijn Van Eeckhoudt)
------------------------------------------
[...truncated 3504 lines...]
[31m at ruby.jit.execute_046D8218F8E419E4C727F1FF1F496C0808722F92.__file__(example_methods.rb)[0m
[31m at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:187)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:186)[0m
[31m at ruby.jit.run_examples_F0FB904973C854AC66896BA089993CE85F267880.block_0$RUBY$__block__(example_group_methods.rb:214)[0m
[31m at ruby.jit.run_examples_F0FB904973C854AC66896BA089993CE85F267880BlockCallback$block_0$RUBY$__block__xx1.call(Unknown Source)[0m
[31m at org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:115)[0m
[31m at org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:98)[0m
[31m at org.jruby.runtime.Block.yield(Block.java:194)[0m
[31m at org.jruby.RubyArray.eachCommon(RubyArray.java:1630)[0m
[31m at org.jruby.RubyArray.each(RubyArray.java:1637)[0m
[31m at org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.call(org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen:65535)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:115)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:132)[0m
[31m at ruby.jit.run_examples_F0FB904973C854AC66896BA089993CE85F267880.__file__(example_group_methods.rb:212)[0m
[31m at ruby.jit.run_examples_F0FB904973C854AC66896BA089993CE85F267880.__file__(example_group_methods.rb)[0m
[31m at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:102)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:279)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:68)[0m
[31m at ruby.jit.run_0C18271FE7D5E1A83B4340B97DFF3794AB8BCCB9.__file__(example_group_methods.rb:103)[0m
[31m at ruby.jit.run_0C18271FE7D5E1A83B4340B97DFF3794AB8BCCB9.__file__(example_group_methods.rb)[0m
[31m at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:153)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)[0m
[31m at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)[0m
[31m at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)[0m
[31m at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123)[0m
[31m at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)[0m
[31m at org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:373)[0m
[31m at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:346)[0m
[31m at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:303)[0m
[31m at org.jruby.runtime.Block.yield(Block.java:194)[0m
[31m at org.jruby.RubyArray.eachCommon(RubyArray.java:1630)[0m
[31m at org.jruby.RubyArray.each(RubyArray.java:1637)[0m
[31m at org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.call(org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen:65535)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:299)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:117)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:122)[0m
[31m at org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64)[0m
[31m at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)[0m
[31m at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)[0m
[31m at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96)[0m
[31m at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)[0m
[31m at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:156)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)[0m
[31m at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)[0m
[31m at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123)[0m
[31m at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)[0m
[31m at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)[0m
[31m at org.jruby.ast.IfNode.interpret(IfNode.java:119)[0m
[31m at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)[0m
[31m at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)[0m
[31m at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96)[0m
[31m at org.jruby.ast.BeginNode.interpret(BeginNode.java:83)[0m
[31m at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)[0m
[31m at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)[0m
[31m at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)[0m
[31m at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:156)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)[0m
[31m at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)[0m
[31m at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)[0m
[31m at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)[0m
[31m at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96)[0m
[31m at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)[0m
[31m at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:156)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)[0m
[31m at home.toulmean.jruby_minus_1_dot_5_dot_0.lib.ruby.gems.$1_dot_8.gems.rspec_minus_1_dot_2_dot_9.bin.spec.__file__(spec:5)[0m
[31m at home.toulmean.jruby_minus_1_dot_5_dot_0.lib.ruby.gems.$1_dot_8.gems.rspec_minus_1_dot_2_dot_9.bin.spec.load(spec)[0m
[31m at org.jruby.Ruby.runScript(Ruby.java:684)[0m
[31m at org.jruby.Ruby.runNormally(Ruby.java:567)[0m
[31m at org.jruby.Ruby.runFromMain(Ruby.java:413)[0m
[31m at org.jruby.Main.run(Main.java:286)[0m
[31m at org.jruby.Main.run(Main.java:128)[0m
[31m at org.jruby.util.ShellLauncher$ScriptThreadProcess.run(ShellLauncher.java:136)[0m
[31m at java.lang.Thread.run(Thread.java:619)[0m
[32mTest Starting - StringSuite: substring2[0m
[32mTest Succeeded - StringSuite: substring2[0m
[32mTest Starting - StringSuite: substring3[0m
[32mTest Succeeded - StringSuite: substring3[0m
[32mSuite Completed - StringSuite[0m
[36mRun completed in 2 seconds, 146 milliseconds.[0m
[36mTotal number of tests run: 5[0m
[36mSuites: completed 1, aborted 0[0m
[36mTests: succeeded 4, failed 1, ignored 0, pending 0[0m
[31m*** 1 TEST FAILED ***[0m
- should fail if ScalaCheck test case fails
Buildr::Scala::Specs
- should be the default when tests in src/spec/scala
- should include Specs dependencies
- should include ScalaCheck dependencies
- should include JMock dependencies
Specification "MySpecs"
it should
[32m+[0m add
Total for specification "MySpecs":
Finished in 0 second, 90 ms
1 example, 1 expectation, 0 failure, 0 error
- should include public objects extending org.specs.Specification
Specification "MySpecs"
it should
[32m+[0m add
Total for specification "MySpecs":
Finished in 0 second, 56 ms
1 example, 1 expectation, 0 failure, 0 error
- should include public objects extending org.specs.Specification even with companion classes
Specification "PassingSpecs"
it should
[32m+[0m add
Total for specification "PassingSpecs":
Finished in 0 second, 60 ms
1 example, 1 expectation, 0 failure, 0 error
- should pass when spec passes
Specification "StringSpecs"
empty string should
[31mx[0m have a zero length
'0' is not equal to '1' (StringSpecs.scala:7)
Total for specification "StringSpecs":
Finished in 0 second, 65 ms
1 example, 1 expectation, [31m1 failure[0m, 0 error
- should fail when spec fails
scala compiler (installed in SCALA_HOME)
- requires present SCALA_HOME
- should identify itself from source directories
- should report the language as :scala
- should set the target directory to target/classes
- should not override existing target directory
- should not change existing list of sources
- should include as classpath dependency
- should compile a simple .scala file into a .class file
- should package .class into a .jar file
- should compile scala class depending on java class in same project
- should compile java class depending on scala class in same project
scala compiler (downloaded from repository)
- requires absent SCALA_HOME
- should identify itself from source directories
- should report the language as :scala
- should set the target directory to target/classes
- should not override existing target directory
- should not change existing list of sources
- should include as classpath dependency
- should compile a simple .scala file into a .class file
- should package .class into a .jar file
- should compile scala class depending on java class in same project
- should compile java class depending on scala class in same project
scalac compiler options
- should set warnings option to false by default
- should set warnings option to true when running with --verbose option
- should use -nowarn argument when warnings is false
- should not use -nowarn argument when warnings is true
- should not use -verbose argument by default
- should use -verbose argument when running with --trace option
- should set debug option to true by default
- should set debug option to false based on Buildr.options
- should set debug option to false based on debug environment variable
- should set debug option to false based on DEBUG environment variable
- should use -g argument when debug option is true
- should not use -g argument when debug option is false
- should set deprecation option to false by default
- should use -deprecation argument when deprecation is true
- should not usmkdir -p <http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/home>
mkdir -p <http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/home/.buildr>
e -deprecation argument when deprecation is false
- should set optimise option to false by default
- should use -optimise argument when deprecation is true
- should not use -optimise argument when deprecation is false
- should not set target option by default
- should use -target:xxx argument if target option set
- should not set other option by default
- should pass other argument if other option is string
- should pass other argument if other option is array
- should complain about options it doesn't know
- should inherit options from parent
1)
RuntimeError in 'Buildr::RSpec should read passed specs from result yaml'
Tests failed!
<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/lib/buildr/core/test.rb>:490:in `run_tests'
<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/lib/buildr/core/test.rb>:211:in `initialize'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
./spec/spec_helpers.rb:144:in `execute'
<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/lib/buildr/core/test.rb>:239:in `execute'
<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/lib/buildr/core/application.rb>:636:in `invoke_with_call_chain'
/home/toulmean/jruby-1.5.0/lib/ruby/1.8/monitor.rb:191:in `mon_synchronize'
<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/lib/buildr/core/application.rb>:622:in `invoke_with_call_chain'
<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/lib/buildr/core/application.rb>:617:in `invoke'
./spec/java/bdd_spec.rb:33:
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `instance_eval'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `execute'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in `execute'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in `run_examples'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `each'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `run_examples'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:23:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `each'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in `run_examples'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/command_line.rb:9:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/bin/spec:5:
2)
'Buildr::RSpec should read result yaml to obtain the list of failed specs' FAILED
expected ["<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/src/spec/ruby/error_spec.rb",> "<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/src/spec/ruby/failure_spec.rb"]>
got ["<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/src/spec/ruby/error_spec.rb",> "<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/src/spec/ruby/failure_spec.rb",> "<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/src/spec/ruby/success_spec.rb"]>
(compared using eql?)
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/expectations/fail_with.rb:41:in `fail_with'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/expectations/handler.rb:21:in `handle_matcher'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/expectations/extensions/kernel.rb:27:in `should'
./spec/java/bdd_spec.rb:47:
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `instance_eval'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `execute'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in `execute'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in `run_examples'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `each'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `run_examples'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:23:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `each'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in `run_examples'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/command_line.rb:9:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/bin/spec:5:
Finished in 186.319 seconds
1871 examples, 2 failures
rake aborted!
Command /home/toulmean/jruby-1.5.0/bin/jruby -I"lib" "/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/bin/spec" "spec/version_requirement_spec.rb" "spec/addon/drb_spec.rb" "spec/java/commands_spec.rb" "spec/java/packaging_spec.rb" "spec/java/tests_spec.rb" "spec/java/bdd_spec.rb" "spec/java/emma_spec.rb" "spec/java/ant_spec.rb" "spec/java/cobertura_spec.rb" "spec/java/compiler_spec.rb" "spec/java/java_spec.rb" "spec/core/compile_spec.rb" "spec/core/common_spec.rb" "spec/core/cc_spec.rb" "spec/core/project_spec.rb" "spec/core/generate_spec.rb" "spec/core/checks_spec.rb" "spec/core/application_spec.rb" "spec/core/util_spec.rb" "spec/core/extension_spec.rb" "spec/core/transport_spec.rb" "spec/core/test_spec.rb" "spec/core/build_spec.rb" "spec/ide/idea7x_spec.rb" "spec/ide/eclipse_spec.rb" "spec/packaging/artifact_spec.rb" "spec/packaging/artifact_namespace_spec.rb" "spec/packaging/packaging_spec.rb" "spec/packaging/archive_spec.rb" "spec/scala/tests_spec.rb" "spec/scala/bdd_spec.rb" "spec/scala/compiler_spec.rb" --format specdoc --format failing_examples:failed --format html:_reports/specs.html --backtrace failed
(See full trace by running task with --trace)
Build failed in Hudson: buildr-ci-build-jruby #7
Posted by Apache Hudson Server <hu...@hudson.zones.apache.org>.
See <http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/7/changes>
Changes:
[toulmean] missing spec for BUILDR-447
[toulmean] BUILDR-447 Path object do not include empty dirs in base directory (Peter Donald)
------------------------------------------
[...truncated 3504 lines...]
[31m at ruby.jit.execute_046D8218F8E419E4C727F1FF1F496C0808722F92.__file__(example_methods.rb)[0m
[31m at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:187)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:186)[0m
[31m at ruby.jit.run_examples_F0FB904973C854AC66896BA089993CE85F267880.block_0$RUBY$__block__(example_group_methods.rb:214)[0m
[31m at ruby.jit.run_examples_F0FB904973C854AC66896BA089993CE85F267880BlockCallback$block_0$RUBY$__block__xx1.call(Unknown Source)[0m
[31m at org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:115)[0m
[31m at org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:98)[0m
[31m at org.jruby.runtime.Block.yield(Block.java:194)[0m
[31m at org.jruby.RubyArray.eachCommon(RubyArray.java:1630)[0m
[31m at org.jruby.RubyArray.each(RubyArray.java:1637)[0m
[31m at org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.call(org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen:65535)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:115)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:132)[0m
[31m at ruby.jit.run_examples_F0FB904973C854AC66896BA089993CE85F267880.__file__(example_group_methods.rb:212)[0m
[31m at ruby.jit.run_examples_F0FB904973C854AC66896BA089993CE85F267880.__file__(example_group_methods.rb)[0m
[31m at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:102)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:279)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:68)[0m
[31m at ruby.jit.run_0C18271FE7D5E1A83B4340B97DFF3794AB8BCCB9.__file__(example_group_methods.rb:103)[0m
[31m at ruby.jit.run_0C18271FE7D5E1A83B4340B97DFF3794AB8BCCB9.__file__(example_group_methods.rb)[0m
[31m at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:153)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)[0m
[31m at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)[0m
[31m at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)[0m
[31m at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123)[0m
[31m at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)[0m
[31m at org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:373)[0m
[31m at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:346)[0m
[31m at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:303)[0m
[31m at org.jruby.runtime.Block.yield(Block.java:194)[0m
[31m at org.jruby.RubyArray.eachCommon(RubyArray.java:1630)[0m
[31m at org.jruby.RubyArray.each(RubyArray.java:1637)[0m
[31m at org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.call(org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen:65535)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:299)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:117)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:122)[0m
[31m at org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64)[0m
[31m at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)[0m
[31m at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)[0m
[31m at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96)[0m
[31m at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)[0m
[31m at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:156)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)[0m
[31m at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)[0m
[31m at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123)[0m
[31m at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)[0m
[31m at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)[0m
[31m at org.jruby.ast.IfNode.interpret(IfNode.java:119)[0m
[31m at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)[0m
[31m at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)[0m
[31m at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96)[0m
[31m at org.jruby.ast.BeginNode.interpret(BeginNode.java:83)[0m
[31m at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)[0m
[31m at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)[0m
[31m at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)[0m
[31m at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:156)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)[0m
[31m at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)[0m
[31m at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)[0m
[31m at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)[0m
[31m at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96)[0m
[31m at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)[0m
[31m at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:156)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)[0m
[31m at home.toulmean.jruby_minus_1_dot_5_dot_0.lib.ruby.gems.$1_dot_8.gems.rspec_minus_1_dot_2_dot_9.bin.spec.__file__(spec:5)[0m
[31m at home.toulmean.jruby_minus_1_dot_5_dot_0.lib.ruby.gems.$1_dot_8.gems.rspec_minus_1_dot_2_dot_9.bin.spec.load(spec)[0m
[31m at org.jruby.Ruby.runScript(Ruby.java:684)[0m
[31m at org.jruby.Ruby.runNormally(Ruby.java:567)[0m
[31m at org.jruby.Ruby.runFromMain(Ruby.java:413)[0m
[31m at org.jruby.Main.run(Main.java:286)[0m
[31m at org.jruby.Main.run(Main.java:128)[0m
[31m at org.jruby.util.ShellLauncher$ScriptThreadProcess.run(ShellLauncher.java:136)[0m
[31m at java.lang.Thread.run(Thread.java:619)[0m
[32mTest Starting - StringSuite: substring2[0m
[32mTest Succeeded - StringSuite: substring2[0m
[32mTest Starting - StringSuite: substring3[0m
[32mTest Succeeded - StringSuite: substring3[0m
[32mSuite Completed - StringSuite[0m
[36mRun completed in 513 milliseconds.[0m
[36mTotal number of tests run: 5[0m
[36mSuites: completed 1, aborted 0[0m
[36mTests: succeeded 4, failed 1, ignored 0, pending 0[0m
[31m*** 1 TEST FAILED ***[0m
- should fail if ScalaCheck test case fails
Buildr::Scala::Specs
- should be the default when tests in src/spec/scala
- should include Specs dependencies
- should include ScalaCheck dependencies
- should include JMock dependencies
Specification "MySpecs"
it should
[32m+[0m add
Total for specification "MySpecs":
Finished in 0 second, 60 ms
1 example, 1 expectation, 0 failure, 0 error
- should include public objects extending org.specs.Specification
Specification "MySpecs"
it should
[32m+[0m add
Total for specification "MySpecs":
Finished in 0 second, 55 ms
1 example, 1 expectation, 0 failure, 0 error
- should include public objects extending org.specs.Specification even with companion classes
Specification "PassingSpecs"
it should
[32m+[0m add
Total for specification "PassingSpecs":
Finished in 0 second, 57 ms
1 example, 1 expectation, 0 failure, 0 error
- should pass when spec passes
Specification "StringSpecs"
empty string should
[31mx[0m have a zero length
'0' is not equal to '1' (StringSpecs.scala:7)
Total for specification "StringSpecs":
Finished in 0 second, 61 ms
1 example, 1 expectation, [31m1 failure[0m, 0 error
- should fail when spec fails
scala compiler (installed in SCALA_HOME)
- requires present SCALA_HOME
- should identify itself from source directories
- should report the language as :scala
- should set the target directory to target/classes
- should not override existing target directory
- should not change existing list of sources
- should include as classpath dependency
- should compile a simple .scala file into a .class file
- should package .class into a .jar file
- should compile scala class depending on java class in same project
- should compile java class depending on scala class in same project
scala compiler (downloaded from repository)
- requires absent SCALA_HOME
- should identify itself from source directories
- should report the language as :scala
- should set the target directory to target/classes
- should not override existing target directory
- should not change existing list of sources
- should include as classpath dependency
- should compile a simple .scala file into a .class file
- should package .class into a .jar file
- should compile scala class depending on java class in same project
- should compile java class depending on scala class in same project
scalac compiler options
- should set warnings option to false by default
- should set warnings option to true when running with --verbose option
- should use -nowarn argument when warnings is false
- should not use -nowarn argument when warnings is true
- should not use -verbose argument by default
- should use -verbose argument when running with --trace option
- should set debug option to true by default
- should set debug option to false based on Buildr.options
- should set debug option to false based on debug environment variable
- should set debug option to false based on DEBUG environment variable
- should use -g argument when debug option is true
- should not use -g argument when debug option is false
- should set deprecation option to false by default
- should use -deprecation argument when deprecation is true
- should not use -deprecation argument when deprecation is false
- should set optimise option to false by default
- should use -optimise argument when deprecation is true
- should not use -optimise argument when deprecation is false
- should not set target option by default
- should use -target:xxx argument if target option set
- should not set other option by default
- should pass other argument if other option is string
- should pass other argument if other option is array
- should complain about options it doesn't know
- should inherit options from parent
1)
RuntimeError in 'Buildr::RSpec should read passed specs from result yaml'
Tests failed!
<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/lib/buildr/core/test.rb>:490:in `run_tests'
<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/lib/buildr/core/test.rb>:211:in `initialize'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
./spec/spec_helpers.rb:144:in `execute'
<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/lib/buildr/core/test.rb>:239:in `execute'
<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/lib/buildr/core/application.rb>:636:in `invoke_with_call_chain'
/home/toulmean/jruby-1.5.0/lib/ruby/1.8/monitor.rb:191:in `mon_synchronize'
<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/lib/buildr/core/application.rb>:622:in `invoke_with_call_chain'
<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/lib/buildr/core/application.rb>:617:in `invoke'
./spec/java/bdd_spec.rb:33:
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `instance_eval'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `execute'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in `execute'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in `run_examples'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `each'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `run_examples'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:23:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `each'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in `run_examples'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/command_line.rb:9:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/bin/spec:5:
2)
'Buildr::RSpec should read result yaml to obtain the list of failed specs' FAILED
expected ["<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/src/spec/ruby/error_spec.rb",> "<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/src/spec/ruby/failure_spec.rb"]>
got ["<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/src/spec/ruby/error_spec.rb",> "<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/src/spec/ruby/failure_spec.rb",> "<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/src/spec/ruby/success_spec.rb"]>
(compared using eql?)
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/expectations/fail_with.rb:41:in `fail_with'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/expectations/handler.rb:21:in `handle_matcher'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/expectations/extensions/kernel.rb:27:in `should'
./spec/java/bdd_spec.rb:47:
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `instance_eval'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `execute'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in `execute'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in `run_examples'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `each'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `run_examples'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:23:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `each'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in `run_examples'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/command_line.rb:9:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/bin/spec:5:
Finished in 178.159 seconds
1870 examples, 2 failures
mkdir -p <http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/home>
mkdir -p <http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/home/.buildr>
rake aborted!
Command /home/toulmean/jruby-1.5.0/bin/jruby -I"lib" "/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/bin/spec" "spec/version_requirement_spec.rb" "spec/addon/drb_spec.rb" "spec/java/commands_spec.rb" "spec/java/packaging_spec.rb" "spec/java/tests_spec.rb" "spec/java/bdd_spec.rb" "spec/java/emma_spec.rb" "spec/java/ant_spec.rb" "spec/java/cobertura_spec.rb" "spec/java/compiler_spec.rb" "spec/java/java_spec.rb" "spec/core/compile_spec.rb" "spec/core/common_spec.rb" "spec/core/cc_spec.rb" "spec/core/project_spec.rb" "spec/core/generate_spec.rb" "spec/core/checks_spec.rb" "spec/core/application_spec.rb" "spec/core/util_spec.rb" "spec/core/extension_spec.rb" "spec/core/transport_spec.rb" "spec/core/test_spec.rb" "spec/core/build_spec.rb" "spec/ide/idea7x_spec.rb" "spec/ide/eclipse_spec.rb" "spec/packaging/artifact_spec.rb" "spec/packaging/artifact_namespace_spec.rb" "spec/packaging/packaging_spec.rb" "spec/packaging/archive_spec.rb" "spec/scala/tests_spec.rb" "spec/scala/bdd_spec.rb" "spec/scala/compiler_spec.rb" --format specdoc --format failing_examples:failed --format html:_reports/specs.html --backtrace failed
(See full trace by running task with --trace)
Build failed in Hudson: buildr-ci-build-jruby #6
Posted by Apache Hudson Server <hu...@hudson.zones.apache.org>.
See <http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/6/changes>
Changes:
[toulmean] BUILDR-449 Fix failing specs on Windows (Pepijn Van Eeckhoudt)
------------------------------------------
[...truncated 3505 lines...]
[31m at ruby.jit.execute_046D8218F8E419E4C727F1FF1F496C0808722F92.__file__(example_methods.rb)[0m
[31m at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:187)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:186)[0m
[31m at ruby.jit.run_examples_F0FB904973C854AC66896BA089993CE85F267880.block_0$RUBY$__block__(example_group_methods.rb:214)[0m
[31m at ruby.jit.run_examples_F0FB904973C854AC66896BA089993CE85F267880BlockCallback$block_0$RUBY$__block__xx1.call(Unknown Source)[0m
[31m at org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:115)[0m
[31m at org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:98)[0m
[31m at org.jruby.runtime.Block.yield(Block.java:194)[0m
[31m at org.jruby.RubyArray.eachCommon(RubyArray.java:1630)[0m
[31m at org.jruby.RubyArray.each(RubyArray.java:1637)[0m
[31m at org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.call(org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen:65535)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:115)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:132)[0m
[31m at ruby.jit.run_examples_F0FB904973C854AC66896BA089993CE85F267880.__file__(example_group_methods.rb:212)[0m
[31m at ruby.jit.run_examples_F0FB904973C854AC66896BA089993CE85F267880.__file__(example_group_methods.rb)[0m
[31m at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:102)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:279)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:68)[0m
[31m at ruby.jit.run_0C18271FE7D5E1A83B4340B97DFF3794AB8BCCB9.__file__(example_group_methods.rb:103)[0m
[31m at ruby.jit.run_0C18271FE7D5E1A83B4340B97DFF3794AB8BCCB9.__file__(example_group_methods.rb)[0m
[31m at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:153)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)[0m
[31m at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)[0m
[31m at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)[0m
[31m at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123)[0m
[31m at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)[0m
[31m at org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:373)[0m
[31m at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:346)[0m
[31m at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:303)[0m
[31m at org.jruby.runtime.Block.yield(Block.java:194)[0m
[31m at org.jruby.RubyArray.eachCommon(RubyArray.java:1630)[0m
[31m at org.jruby.RubyArray.each(RubyArray.java:1637)[0m
[31m at org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.call(org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen:65535)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:299)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:117)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:122)[0m
[31m at org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64)[0m
[31m at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)[0m
[31m at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)[0m
[31m at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96)[0m
[31m at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)[0m
[31m at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:156)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)[0m
[31m at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)[0m
[31m at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123)[0m
[31m at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)[0m
[31m at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)[0m
[31m at org.jruby.ast.IfNode.interpret(IfNode.java:119)[0m
[31m at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)[0m
[31m at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)[0m
[31m at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96)[0m
[31m at org.jruby.ast.BeginNode.interpret(BeginNode.java:83)[0m
[31m at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)[0m
[31m at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)[0m
[31m at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)[0m
[31m at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:156)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)[0m
[31m at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)[0m
[31m at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)[0m
[31m at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)[0m
[31m at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96)[0m
[31m at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)[0m
[31m at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:156)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)[0m
[31m at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)[0m
[31m at home.toulmean.jruby_minus_1_dot_5_dot_0.lib.ruby.gems.$1_dot_8.gems.rspec_minus_1_dot_2_dot_9.bin.spec.__file__(spec:5)[0m
[31m at home.toulmean.jruby_minus_1_dot_5_dot_0.lib.ruby.gems.$1_dot_8.gems.rspec_minus_1_dot_2_dot_9.bin.spec.load(spec)[0m
[31m at org.jruby.Ruby.runScript(Ruby.java:684)[0m
[31m at org.jruby.Ruby.runNormally(Ruby.java:567)[0m
[31m at org.jruby.Ruby.runFromMain(Ruby.java:413)[0m
[31m at org.jruby.Main.run(Main.java:286)[0m
[31m at org.jruby.Main.run(Main.java:128)[0m
[31m at org.jruby.util.ShellLauncher$ScriptThreadProcess.run(ShellLauncher.java:136)[0m
[31m at java.lang.Thread.run(Thread.java:619)[0m
[32mTest Starting - StringSuite: substring2[0m
[32mTest Succeeded - StringSuite: substring2[0m
[32mTest Starting - StringSuite: substring3[0m
[32mTest Succeeded - StringSuite: substring3[0m
[32mSuite Completed - StringSuite[0m
[36mRun completed in 521 milliseconds.[0m
[36mTotal number of tests run: 5[0m
[36mSuites: completed 1, aborted 0[0m
[36mTests: succeeded 4, failed 1, ignored 0, pending 0[0m
[31m*** 1 TEST FAILED ***[0m
- should fail if ScalaCheck test case fails
Buildr::Scala::Specs
- should be the default when tests in src/spec/scala
- should include Specs dependencies
- should include ScalaCheck dependencies
- should include JMock dependencies
Specification "MySpecs"
it should
[32m+[0m add
Total for specification "MySpecs":
Finished in 0 second, 68 ms
1 example, 1 expectation, 0 failure, 0 error
- should include public objects extending org.specs.Specification
Specification "MySpecs"
it should
[32m+[0m add
Total for specification "MySpecs":
Finished in 0 second, 57 ms
1 example, 1 expectation, 0 failure, 0 error
- should include public objects extending org.specs.Specification even with companion classes
Specification "PassingSpecs"
it should
[32m+[0m add
Total for specification "PassingSpecs":
Finished in 0 second, 56 ms
1 example, 1 expectation, 0 failure, 0 error
- should pass when spec passes
Specification "StringSpecs"
empty string should
[31mx[0m have a zero length
'0' is not equal to '1' (StringSpecs.scala:7)
Total for specification "StringSpecs":
Finished in 0 second, 85 ms
1 example, 1 expectation, [31m1 failure[0m, 0 error
- should fail when spec fails
scala compiler (installed in SCALA_HOME)
- requires present SCALA_HOME
- should identify itself from source directories
- should report the language as :scala
- should set the target directory to target/classes
- should not override existing target directory
- should not change existing list of sources
- should include as classpath dependency
- should compile a simple .scala file into a .class file
- should package .class into a .jar file
- should compile scala class depending on java class in same project
- should compile java class depending on scala class in same project
scala compiler (downloaded from repository)
- requires absent SCALA_HOME
- should identify itself from source directories
- should report the language as :scala
- should set the target directory to target/classes
- should not override existing target directory
- should not change existing list of sources
- should include as classpath dependency
- should compile a simple .scala file into a .class file
- should package .class into a .jar file
- should compile scala class depending on java class in same project
- should compile java class depending on scala class in same project
scalac compiler options
- should set warnings option to false by default
- should set warnings option to true when running with --verbose option
- should use -nowarn argument when warnings is false
- should not use -nowarn argument when warnings is true
- should not use -verbose argument by default
- should use -verbose argument when running with --trace option
- should set debug option to true by default
- should set debug option to false based on Buildr.options
- should set debug option to false based on debug environment variable
- should set debug option to false based on DEBUG environment variable
- should use -g argument when debug option is true
- should not use -g argument when debug option is false
- should set deprecation option to false by default
- should use -deprecation argument when deprecation is true
- should not use -deprecation argument when deprecation is false
- should set optimise option to false by default
- should use -optimise argument when deprecation is true
- should not use -optimise argument when deprecation is false
- should not set target option by default
- should use -target:xxx argument if target option set
- should not set other option by default
- should pass other argument if other option is string
- should pass other argument if other option is array
- should complain about options it doesn't know
- should inherit options from parent
1)
RuntimeError in 'Buildr::RSpec should read passed specs from result yaml'
Tests failed!
<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/lib/buildr/core/test.rb>:490:in `run_tests'
<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/lib/buildr/core/test.rb>:211:in `initialize'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
./spec/spec_helpers.rb:144:in `execute'
<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/lib/buildr/core/test.rb>:239:in `execute'
<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/lib/buildr/core/application.rb>:636:in `invoke_with_call_chain'
/home/toulmean/jruby-1.5.0/lib/ruby/1.8/monitor.rb:191:in `mon_synchronize'
<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/lib/buildr/core/application.rb>:622:in `invoke_with_call_chain'
<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/lib/buildr/core/application.rb>:617:in `invoke'
./spec/java/bdd_spec.rb:33:
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `instance_eval'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `execute'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in `execute'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in `run_examples'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `each'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `run_examples'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:23:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `each'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in `run_examples'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/command_line.rb:9:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/bin/spec:5:
2)
'Buildr::RSpec should read result yaml to obtain the list of failed specs' FAILED
expected ["<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/src/spec/ruby/error_spec.rb",> "<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/src/spec/ruby/failure_spec.rb"]>
got ["<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/src/spec/ruby/error_spec.rb",> "<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/src/spec/ruby/failure_spec.rb",> "<http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/src/spec/ruby/success_spec.rb"]>
(compared using eql?)
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/expectations/fail_with.rb:41:in `fail_with'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/expectations/handler.rb:21:in `handle_matcher'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/expectations/extensions/kernel.rb:27:in `should'
./spec/java/bdd_spec.rb:47:
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `instance_eval'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `execute'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in `execute'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in `run_examples'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `each'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in `run_examples'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:23:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `each'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in `run_examples'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/command_line.rb:9:in `run'
/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/bin/spec:5:
Finished in 185.617 seconds
1867 examples, 2 failures
mkdir -p <http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/home>
mkdir -p <http://hudson.zones.apache.org/hudson/job/buildr-ci-build-jruby/ws/tmp/home/.buildr>
rake aborted!
Command /home/toulmean/jruby-1.5.0/bin/jruby -I"lib" "/home/toulmean/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/bin/spec" "spec/version_requirement_spec.rb" "spec/addon/drb_spec.rb" "spec/java/commands_spec.rb" "spec/java/packaging_spec.rb" "spec/java/tests_spec.rb" "spec/java/bdd_spec.rb" "spec/java/emma_spec.rb" "spec/java/ant_spec.rb" "spec/java/cobertura_spec.rb" "spec/java/compiler_spec.rb" "spec/java/java_spec.rb" "spec/core/compile_spec.rb" "spec/core/common_spec.rb" "spec/core/cc_spec.rb" "spec/core/project_spec.rb" "spec/core/generate_spec.rb" "spec/core/checks_spec.rb" "spec/core/application_spec.rb" "spec/core/util_spec.rb" "spec/core/extension_spec.rb" "spec/core/transport_spec.rb" "spec/core/test_spec.rb" "spec/core/build_spec.rb" "spec/ide/idea7x_spec.rb" "spec/ide/eclipse_spec.rb" "spec/packaging/artifact_spec.rb" "spec/packaging/artifact_namespace_spec.rb" "spec/packaging/packaging_spec.rb" "spec/packaging/archive_spec.rb" "spec/scala/tests_spec.rb" "spec/scala/bdd_spec.rb" "spec/scala/compiler_spec.rb" --format specdoc --format failing_examples:failed --format html:_reports/specs.html --backtrace failed
(See full trace by running task with --trace)