buildr-ci mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Hudson Server <hud...@hudson.apache.org>
Subject Build failed in Hudson: Buildr-metrics-build #49
Date Sun, 14 Nov 2010 03:57:49 GMT
See <https://hudson.apache.org/hudson/job/Buildr-metrics-build/49/changes>

Changes:

[donaldp] BUILDR-545 - Add the ability to specify the description element in in application.xml
contained within an ear.

[donaldp] Use :context_root rather than :context-root in example

------------------------------------------
[...truncated 397 lines...]
Run completed in 139 milliseconds.
Total number of tests run: 1
Suites: completed 1, aborted 0
Tests: succeeded 1, failed 0, ignored 0, pending 0
All tests passed.
.No known dependencies. Compiling everything
Run starting. Expected test count is: 1
Suite Starting - PassingSuite
Test Starting - PassingSuite: passing
Test Succeeded - PassingSuite: passing
Suite Completed - PassingSuite
Run completed in 135 milliseconds.
Total number of tests run: 1
Suites: completed 1, aborted 0
Tests: succeeded 1, failed 0, ignored 0, pending 0
All tests passed.
.No known dependencies. Compiling everything
Run starting. Expected test count is: 1
Suite Starting - PropertyTestSuite
Test Starting - PropertyTestSuite: testProperty
Test Succeeded - PropertyTestSuite: testProperty
Suite Completed - PropertyTestSuite
Run completed in 136 milliseconds.
Total number of tests run: 1
Suites: completed 1, aborted 0
Tests: succeeded 1, failed 0, ignored 0, pending 0
All tests passed.
.No known dependencies. Compiling everything
Run starting. Expected test count is: 2
Suite Starting - MySuite
Test Starting - MySuite: list concatenation
Test Succeeded - MySuite: list concatenation
Test Starting - MySuite: list concatenation using a test method
Test Succeeded - MySuite: list concatenation using a test method
Suite Completed - MySuite
Run completed in 561 milliseconds.
Total number of tests run: 2
Suites: completed 1, aborted 0
Tests: succeeded 2, failed 0, ignored 0, pending 0
All tests passed.
.No known dependencies. Compiling everything
Run starting. Expected test count is: 5
Suite Starting - StringSuite
Test Starting - StringSuite: startsWith
Test Succeeded - StringSuite: startsWith
Test Starting - StringSuite: endsWith
Test Succeeded - StringSuite: endsWith
Test Starting - StringSuite: concat
TEST FAILED - StringSuite: concat (Checkers.scala:241)
  Falsified after 0 passed tests:
> ARG_0 = ""
> ARG_1 = ""
  org.scalatest.prop.PropertyTestFailedException: Falsified after 0 passed tests:
> 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$mcV$sp(StringSuite.scala:17)
  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.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:61)
  at scala.collection.immutable.List.foreach(List.scala:45)
  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.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:61)
  at scala.collection.immutable.List.foreach(List.scala:45)
  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:259)
  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 473 milliseconds.
Total number of tests run: 5
Suites: completed 1, aborted 0
Tests: succeeded 4, failed 1, ignored 0, pending 0
*** 1 TEST FAILED ***
.....No known dependencies. Compiling everything
Specification "MySpecs"
  it should
  + add

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

.No known dependencies. Compiling everything
Specification "MySpecs"
  it should
  + add

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

.No known dependencies. Compiling everything
Specification "PassingSpecs"
  it should
  + add

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

.No known dependencies. Compiling everything
Specification "StringSpecs"
  empty string should
  x have a zero length
    '0' is not equal to '1' (StringSpecs.scala:7)

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

.......No known dependencies. Compiling everything
No known dependencies. Compiling everything
.No known dependencies. Compiling everything
.No known dependencies. Compiling everything
.........No known dependencies. Compiling everything
No known dependencies. Compiling everything
.No known dependencies. Compiling everything
.No known dependencies. Compiling everything
....mkdir -p <https://hudson.apache.org/hudson/job/Buildr-metrics-build/ws/tmp/home>
.mkdir -p <https://hudson.apache.org/hudson/job/Buildr-metrics-build/ws/tmp/home/.buildr>
.......................

Pending:
  Buildr::Compiler::Ecj should not issue warnings for type casting when warnings are set to
warn:none, by default
    # RJB doesn't support well instantiating a class that has several constructors
    # ./spec/java/ecj_spec.rb:77
  Buildr::Compiler::Ecj should issue warnings for type casting when warnings are set
    # RJB doesn't support well instantiating a class that has several constructors
    # ./spec/java/ecj_spec.rb:86

Failures:
  1) Buildr::RSpec should read passed specs from result yaml
     Failure/Error: project('foo').test.invoke
     Tests failed!
     # ./lib/buildr/core/test.rb:531:in `run_tests'
     # ./lib/buildr/core/test.rb:242
     # /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/spec_helpers.rb:154:in `execute'
     # ./lib/buildr/core/test.rb:270:in `execute'
     # ./lib/buildr/core/application.rb:674:in `invoke_with_call_chain'
     # /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
     # ./lib/buildr/core/application.rb:660:in `invoke_with_call_chain'
     # ./lib/buildr/core/application.rb:655:in `invoke'
     # ./spec/java/bdd_spec.rb:33
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `with_pending_capture'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in
`run_examples'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in
`map'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in
`run_examples'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in
`run'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in
`run'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in
`map'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in
`run'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in
`run'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10
     # /usr/bin/rcov:503

  2) Buildr::RSpec should read result yaml to obtain the list of failed specs
     Failure/Error: project('foo').test.failed_tests.sort.should eql([failure, error].sort)
     
     expected ["<https://hudson.apache.org/hudson/job/Buildr-metrics-build/ws/tmp/src/spec/ruby/error_spec.rb",>
"<https://hudson.apache.org/hudson/job/Buildr-metrics-build/ws/tmp/src/spec/ruby/failure_spec.rb"]>
          got ["<https://hudson.apache.org/hudson/job/Buildr-metrics-build/ws/tmp/src/spec/ruby/error_spec.rb",>
"<https://hudson.apache.org/hudson/job/Buildr-metrics-build/ws/tmp/src/spec/ruby/failure_spec.rb",>
"<https://hudson.apache.org/hudson/job/Buildr-metrics-build/ws/tmp/src/spec/ruby/success_spec.rb"]>
     
     (compared using eql?)
     
     Diff:
     @@ -1,3 +1,4 @@
      ["<https://hudson.apache.org/hudson/job/Buildr-metrics-build/ws/tmp/src/spec/ruby/error_spec.rb",>
     - "<https://hudson.apache.org/hudson/job/Buildr-metrics-build/ws/tmp/src/spec/ruby/failure_spec.rb"]>
     + "<https://hudson.apache.org/hudson/job/Buildr-metrics-build/ws/tmp/src/spec/ruby/failure_spec.rb",>
     + "<https://hudson.apache.org/hudson/job/Buildr-metrics-build/ws/tmp/src/spec/ruby/success_spec.rb"]>
     # /home/toulmean/buildr-gems/gems/rspec-expectations-2.0.1/lib/rspec/expectations/fail_with.rb:29:in
`fail_with'
     # /home/toulmean/buildr-gems/gems/rspec-expectations-2.0.1/lib/rspec/expectations/handler.rb:19:in
`handle_matcher'
     # /home/toulmean/buildr-gems/gems/rspec-expectations-2.0.1/lib/rspec/expectations/extensions/kernel.rb:27:in
`should'
     # ./spec/java/bdd_spec.rb:47
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47:in `instance_eval'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:47
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `call'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:86:in `with_around_hooks'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:44
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `call'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:80:in `with_pending_capture'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `catch'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:79:in `with_pending_capture'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/example.rb:43:in `run'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:260:in
`run_examples'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in
`map'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:256:in
`run_examples'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/example_group.rb:230:in
`run'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in
`run'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in
`map'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:26:in
`run'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/reporter.rb:11:in `report'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/command_line.rb:23:in
`run'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:55:in `run_in_process'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:46:in `run'
     # /home/toulmean/buildr-gems/gems/rspec-core-2.0.1/lib/rspec/core/runner.rb:10
     # /usr/bin/rcov:503

Finished in 439.56 seconds
2146 examples, 2 failures, 2 pending
rake aborted!
ruby -S rcov -Ispec -o _reports/coverage --exclude / --include-file ^lib --text-summary spec/groovy/bdd_spec.rb
spec/groovy/compiler_spec.rb spec/addon/drb_spec.rb spec/java/commands_spec.rb spec/java/external_spec.rb
spec/java/ecj_spec.rb spec/java/doc_spec.rb spec/java/run_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/doc_spec.rb spec/core/run_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/shell_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/doc_spec.rb spec/scala/tests_spec.rb
spec/scala/bdd_spec.rb spec/scala/compiler_spec.rb -- --format failing_examples:failed --format
html:_reports/specs.html --backtrace --format progress failed

(See full trace by running task with --trace)
Archiving artifacts


Mime
View raw message