buildr-ci mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Hudson Server <hud...@hudson.zones.apache.org>
Subject Build failed in Hudson: Buildr-ci-build #11
Date Wed, 09 Jun 2010 05:51:13 GMT
See <http://hudson.zones.apache.org/hudson/job/Buildr-ci-build/11/>

------------------------------------------
[...truncated 2843 lines...]
> ARG_0 = ""
> ARG_1 = ""
  at org.scalatest.prop.Checkers$class.check(Checkers.scala:241)
  at StringSuite.check(StringSuite.scala:6)
  at org.scalatest.prop.Checkers$class.check(Checkers.scala:304)
  at StringSuite.check(StringSuite.scala:6)
  at org.scalatest.prop.Checkers$class.check(Checkers.scala:115)
  at StringSuite.check(StringSuite.scala:6)
  at StringSuite$$anonfun$3.apply(StringSuite.scala:17)
  at StringSuite$$anonfun$3.apply(StringSuite.scala:17)
  at org.scalatest.FunSuite$$anon$2.apply(FunSuite.scala:1158)
  at org.scalatest.Suite$class.withFixture(Suite.scala:1509)
  at StringSuite.withFixture(StringSuite.scala:6)
  at org.scalatest.FunSuite$class.runTest(FunSuite.scala:1155)
  at StringSuite.runTest(StringSuite.scala:6)
  at org.scalatest.FunSuite$$anonfun$runTests$1.apply(FunSuite.scala:1264)
  at org.scalatest.FunSuite$$anonfun$runTests$1.apply(FunSuite.scala:1255)
  at scala.List.foreach(List.scala:841)
  at org.scalatest.FunSuite$class.runTests(FunSuite.scala:1255)
  at StringSuite.runTests(StringSuite.scala:6)
  at org.scalatest.Suite$class.run(Suite.scala:1804)
  at StringSuite.org$scalatest$FunSuite$$super$run(StringSuite.scala:6)
  at org.scalatest.FunSuite$class.run(FunSuite.scala:1304)
  at StringSuite.run(StringSuite.scala:6)
  at org.scalatest.tools.SuiteRunner.run(SuiteRunner.scala:59)
  at org.scalatest.tools.Runner$$anonfun$doRunRunRunADoRunRun$3.apply(Runner.scala:1523)
  at org.scalatest.tools.Runner$$anonfun$doRunRunRunADoRunRun$3.apply(Runner.scala:1520)
  at scala.List.foreach(List.scala:841)
  at org.scalatest.tools.Runner$.doRunRunRunADoRunRun(Runner.scala:1520)
  at org.scalatest.tools.Runner$$anonfun$runOptionallyWithPassFailReporter$2.apply(Runner.scala:616)
  at org.scalatest.tools.Runner$$anonfun$runOptionallyWithPassFailReporter$2.apply(Runner.scala:615)
  at org.scalatest.tools.Runner$.withClassLoaderAndDispatchReporter(Runner.scala:1564)
  at org.scalatest.tools.Runner$.runOptionallyWithPassFailReporter(Runner.scala:614)
  at org.scalatest.tools.Runner$.run(Runner.scala:517)
  at org.scalatest.tools.ScalaTestAntTask.execute(ScalaTestAntTask.scala:267)
  at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
Test Starting - StringSuite: substring2
Test Succeeded - StringSuite: substring2
Test Starting - StringSuite: substring3
Test Succeeded - StringSuite: substring3
Suite Completed - StringSuite
Run completed in 482 milliseconds.
Total number of tests run: 5
Suites: completed 1, aborted 0
Tests: succeeded 4, failed 1, ignored 0, pending 0
*** 1 TEST FAILED ***
- 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
  + add

Total for specification "MySpecs":
Finished in 0 second, 61 ms
1 example, 1 expectation, 0 failure, 0 error

- should include public objects extending org.specs.Specification
Specification "MySpecs"
  it should
  + 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
  + add

Total for specification "PassingSpecs":
Finished in 0 second, 56 ms
1 example, 1 expectation, 0 failure, 0 error

- should pass when spec passes
JavaTestFilter: Unable to load class StringSpecs to determine testing ability
- should fail when spec fails (FAILED - 4)

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
mkdir -p <http://hudson.zones.apache.org/hudson/job/Buildr-ci-build/ws/tmp/home>
- should set warnings option to true when running with --verbose option
mkdir -p <http://hudson.zones.apache.org/hudson/job/Buildr-ci-build/ws/tmp/home/.buildr>
- 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/ws/lib/buildr/core/test.rb>:490:in
`run_tests'
<http://hudson.zones.apache.org/hudson/job/Buildr-ci-build/ws/lib/buildr/core/test.rb>:211:in
`initialize'
/home/toulmean/buildr-gems/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/home/toulmean/buildr-gems/gems/rake-0.8.7/lib/rake.rb:636:in `execute_without_a_record'
/home/toulmean/buildr-gems/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/home/toulmean/buildr-gems/gems/rake-0.8.7/lib/rake.rb:631:in `execute_without_a_record'
./spec/groovy/../spec_helpers.rb:144:in `execute'
<http://hudson.zones.apache.org/hudson/job/Buildr-ci-build/ws/lib/buildr/core/test.rb>:239:in
`execute'
<http://hudson.zones.apache.org/hudson/job/Buildr-ci-build/ws/lib/buildr/core/application.rb>:636:in
`invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
<http://hudson.zones.apache.org/hudson/job/Buildr-ci-build/ws/lib/buildr/core/application.rb>:622:in
`invoke_with_call_chain'
<http://hudson.zones.apache.org/hudson/job/Buildr-ci-build/ws/lib/buildr/core/application.rb>:617:in
`invoke'
./spec/java/bdd_spec.rb:33:
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `instance_eval'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `execute'
/usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in `execute'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in
`run_examples'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in
`each'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in
`run_examples'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in
`run'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:23:in
`run'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in
`each'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in
`run'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in `run_examples'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/runner/command_line.rb:9:in `run'
/home/toulmean/buildr-gems/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/ws/tmp/src/spec/ruby/error_spec.rb",>
"<http://hudson.zones.apache.org/hudson/job/Buildr-ci-build/ws/tmp/src/spec/ruby/failure_spec.rb"]>
     got ["<http://hudson.zones.apache.org/hudson/job/Buildr-ci-build/ws/tmp/src/spec/ruby/error_spec.rb",>
"<http://hudson.zones.apache.org/hudson/job/Buildr-ci-build/ws/tmp/src/spec/ruby/failure_spec.rb",>
"<http://hudson.zones.apache.org/hudson/job/Buildr-ci-build/ws/tmp/src/spec/ruby/success_spec.rb"]>

(compared using eql?)
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/expectations/fail_with.rb:41:in `fail_with'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/expectations/handler.rb:21:in `handle_matcher'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/expectations/extensions/kernel.rb:27:in
`should'
./spec/java/bdd_spec.rb:47:
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `instance_eval'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `execute'
/usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in `execute'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in
`run_examples'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in
`each'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in
`run_examples'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in
`run'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:23:in
`run'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in
`each'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in
`run'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in `run_examples'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/runner/command_line.rb:9:in `run'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/bin/spec:5:

3)
Errno::EISDIR in 'File#utime should update mtime of directories'
Is a directory - tmp
./spec/core/util_spec.rb:83:in `delete'
./spec/core/util_spec.rb:83:
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `instance_eval'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `execute'
/usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in `execute'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in
`run_examples'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in
`each'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in
`run_examples'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in
`run'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:23:in
`run'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in
`each'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in
`run'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in `run_examples'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/runner/command_line.rb:9:in `run'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/bin/spec:5:

4)
NoMethodError in 'Buildr::Scala::Specs should fail when spec fails'
undefined method `include?' for nil:NilClass
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/matchers/include.rb:36:in `helper'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/matchers/include.rb:26:in `each'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/matchers/include.rb:26:in `helper'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/matchers/include.rb:22:in `include'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/matchers/matcher.rb:26:in `instance_exec'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/matchers/matcher.rb:26:in `matches?'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/expectations/handler.rb:11:in `handle_matcher'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/expectations/extensions/kernel.rb:27:in
`should'
./spec/scala/bdd_spec.rb:122:
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `instance_eval'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in `execute'
/usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in `execute'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in
`run_examples'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in
`each'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in
`run_examples'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in
`run'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:23:in
`run'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in
`each'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in
`run'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in `run_examples'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/lib/spec/runner/command_line.rb:9:in `run'
/home/toulmean/buildr-gems/gems/rspec-1.2.9/bin/spec:5:

Finished in 218.251337 seconds

1906 examples, 4 failures
rake aborted!
Command /usr/bin/ruby1.8 -I"lib"  "/home/toulmean/buildr-gems/gems/rspec-1.2.9/bin/spec" "spec/groovy/bdd_spec.rb"
"spec/groovy/compiler_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/version_requirement_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)


Mime
View raw message