buildr-ci mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: Buildr-ci-build-jruby-win32 #222
Date Thu, 10 Oct 2013 10:28:01 GMT
See <https://builds.apache.org/job/Buildr-ci-build-jruby-win32/222/changes>

Changes:

[donaldp] Note the removal of the highline dependency

[donaldp] Replace dependency on highline with custom console class

[donaldp] Refactor the util functions java_platform? and win_os? to always return booleans

------------------------------------------
[...truncated 1425 lines...]
[TestNG] Time taken by org.testng.reporters.SuiteHTMLReporter@8a3cf3e: 17 ms
[TestNG] Time taken by org.testng.reporters.XMLReporter@5ed5d3a: 7 ms
[TestNG] Time taken by [FailedReporter passed=0 failed=0 skipped=0]: 7 ms
.[TestNG] Running:
  foo

PASSED: annotated

===============================================
    Command line test
    Tests run: 1, Failures: 0, Skips: 0
===============================================


===============================================
foo
Total tests run: 1, Failures: 0, Skips: 0
===============================================

[TestNG] Time taken by org.testng.reporters.EmailableReporter2@5ebb2539: 11 ms
[TestNG] Time taken by org.testng.reporters.jq.Main@6b8e0782: 51 ms
[TestNG] Time taken by org.testng.reporters.XMLReporter@5e335678: 9 ms
[TestNG] Time taken by org.testng.reporters.JUnitReportReporter@79e776cc: 2 ms
[TestNG] Time taken by org.testng.reporters.SuiteHTMLReporter@33b17f92: 22 ms
[TestNG] Time taken by [FailedReporter passed=0 failed=0 skipped=0]: 0 ms
...[TestNG] Running:
  foo

PASSED: testNothing

===============================================
    Command line test
    Tests run: 1, Failures: 0, Skips: 0
===============================================


===============================================
foo
Total tests run: 1, Failures: 0, Skips: 0
===============================================

[TestNG] Time taken by org.testng.reporters.JUnitReportReporter@6a48e2c5: 7 ms
[TestNG] Time taken by org.testng.reporters.XMLReporter@60dd0912: 9 ms
[TestNG] Time taken by org.testng.reporters.jq.Main@58d63b5b: 65 ms
[TestNG] Time taken by org.testng.reporters.EmailableReporter2@5511e6b9: 4 ms
[TestNG] Time taken by [FailedReporter passed=0 failed=0 skipped=0]: 0 ms
[TestNG] Time taken by org.testng.reporters.SuiteHTMLReporter@138ada25: 18 ms
.[TestNG] Running:
  foo

FAILED: testNothing
java.lang.AssertionError: 
	at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
	at org.testng.AssertJUnit.assertTrue(AssertJUnit.java:24)
	at org.testng.AssertJUnit.assertTrue(AssertJUnit.java:33)
	at FailingTest1.testNothing(FailingTest1.java:4)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
	at org.testng.TestRunner.privateRun(TestRunner.java:767)
	at org.testng.TestRunner.run(TestRunner.java:617)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
	at org.testng.SuiteRunner.run(SuiteRunner.java:240)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
	at org.testng.TestNG.run(TestNG.java:1057)
	at org.testng.TestNG.privateMain(TestNG.java:1364)
	at org.testng.TestNG.main(TestNG.java:1333)

FAILED: testNothing
java.lang.AssertionError: 
	at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
	at org.testng.AssertJUnit.assertTrue(AssertJUnit.java:24)
	at org.testng.AssertJUnit.assertTrue(AssertJUnit.java:33)
	at FailingTest2.testNothing(FailingTest2.java:4)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
	at org.testng.TestRunner.privateRun(TestRunner.java:767)
	at org.testng.TestRunner.run(TestRunner.java:617)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
	at org.testng.SuiteRunner.run(SuiteRunner.java:240)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
	at org.testng.TestNG.run(TestNG.java:1057)
	at org.testng.TestNG.privateMain(TestNG.java:1364)
	at org.testng.TestNG.main(TestNG.java:1333)


===============================================
    Command line test
    Tests run: 2, Failures: 2, Skips: 0
===============================================


===============================================
foo
Total tests run: 2, Failures: 2, Skips: 0
===============================================

[TestNG] Time taken by org.testng.reporters.EmailableReporter2@6e80cf99: 12 ms
[TestNG] Time taken by org.testng.reporters.JUnitReportReporter@43e3556a: 7 ms
[TestNG] Time taken by org.testng.reporters.SuiteHTMLReporter@3adba1cc: 41 ms
[TestNG] Time taken by org.testng.reporters.jq.Main@71fb2e0: 35 ms
[TestNG] Time taken by org.testng.reporters.XMLReporter@555bf03d: 7 ms
[TestNG] Time taken by [FailedReporter passed=0 failed=0 skipped=0]: 6 ms
.................................................DEPRECATION: any_number_of_times is deprecated.
Use stub instead. Called from F:/hudson/hudson-slave/workspace/Buildr-ci-build-jruby-win32/spec/packaging/artifact_spec.rb:981:in
`(root)'.
DEPRECATION: any_number_of_times is deprecated. Use stub instead. Called from F:/hudson/hudson-slave/workspace/Buildr-ci-build-jruby-win32/spec/packaging/artifact_spec.rb:995:in
`(root)'.
....DEPRECATION: any_number_of_times is deprecated. Use stub instead. Called from F:/hudson/hudson-slave/workspace/Buildr-ci-build-jruby-win32/spec/packaging/artifact_spec.rb:995:in
`(root)'.
........
Time: 0.019s

Total: 1. Success!
...
Time: 0.015s

Total: 1. Success!
..........................................Error: Could not find or load main class org.example.NonExistentMain
..........................................DEPRECATION: any_number_of_times is deprecated.
Use stub instead. Called from F:/hudson/hudson-slave/workspace/Buildr-ci-build-jruby-win32/spec/packaging/artifact_spec.rb:942:in
`(root)'.
DEPRECATION: any_number_of_times is deprecated. Use stub instead. Called from F:/hudson/hudson-slave/workspace/Buildr-ci-build-jruby-win32/spec/packaging/artifact_spec.rb:956:in
`(root)'.
DEPRECATION: any_number_of_times is deprecated. Use stub instead. Called from F:/hudson/hudson-slave/workspace/Buildr-ci-build-jruby-win32/spec/packaging/artifact_spec.rb:956:in
`(root)'.
.............................................DEPRECATION: be_close(Thu Oct 10 11:08:20 +0100
2013, 10) is deprecated. Use be_within(10).of(Thu Oct 10 11:08:20 +0100 2013) instead. Called
from F:/hudson/hudson-slave/workspace/Buildr-ci-build-jruby-win32/spec/core/common_spec.rb:504:in
`(root)'.
........DEPRECATION: be_close(Thu Oct 10 11:25:01 +0100 2013, 10) is deprecated. Use be_within(10).of(Thu
Oct 10 11:25:01 +0100 2013) instead. Called from F:/hudson/hudson-slave/workspace/Buildr-ci-build-jruby-win32/spec/core/common_spec.rb:498:in
`(root)'.
........................................DEPRECATION: mock is deprecated. Use double instead.
Called from F:/hudson/hudson-slave/workspace/Buildr-ci-build-jruby-win32/spec/core/test_spec.rb:186:in
`(root)'.
DEPRECATION: mock is deprecated. Use double instead. Called from F:/hudson/hudson-slave/workspace/Buildr-ci-build-jruby-win32/spec/core/test_spec.rb:195:in
`(root)'.
............................................................................................................DEPRECATION:
mock is deprecated. Use double instead. Called from F:/hudson/hudson-slave/workspace/Buildr-ci-build-jruby-win32/spec/core/transport_spec.rb:365:in
`(root)'.
DEPRECATION: mock is deprecated. Use double instead. Called from F:/hudson/hudson-slave/workspace/Buildr-ci-build-jruby-win32/spec/core/transport_spec.rb:365:in
`(root)'.
....DEPRECATION: mock is deprecated. Use double instead. Called from F:/hudson/hudson-slave/workspace/Buildr-ci-build-jruby-win32/spec/core/transport_spec.rb:365:in
`(root)'.
DEPRECATION: mock is deprecated. Use double instead. Called from F:/hudson/hudson-slave/workspace/Buildr-ci-build-jruby-win32/spec/core/transport_spec.rb:365:in
`(root)'.
DEPRECATION: mock is deprecated. Use double instead. Called from F:/hudson/hudson-slave/workspace/Buildr-ci-build-jruby-win32/spec/core/transport_spec.rb:365:in
`(root)'.
DEPRECATION: mock is deprecated. Use double instead. Called from F:/hudson/hudson-slave/workspace/Buildr-ci-build-jruby-win32/spec/core/transport_spec.rb:365:in
`(root)'.
DEPRECATION: mock is deprecated. Use double instead. Called from F:/hudson/hudson-slave/workspace/Buildr-ci-build-jruby-win32/spec/core/transport_spec.rb:365:in
`(root)'.
.....DEPRECATION: mock is deprecated. Use double instead. Called from F:/hudson/hudson-slave/workspace/Buildr-ci-build-jruby-win32/spec/core/transport_spec.rb:365:in
`(root)'.
DEPRECATION: mock is deprecated. Use double instead. Called from F:/hudson/hudson-slave/workspace/Buildr-ci-build-jruby-win32/spec/core/transport_spec.rb:365:in
`(root)'.
.................................    [junit] Test FailingTest FAILED
........    [junit] Test FailingTest FAILED
......model contains 4 documentable templates
....    [junit] Test FailingTest FAILED
...........    [junit] Tests FAILED
.........    [junit] Test FailingTest FAILED
............[info] Compiling 1 Scala source and 1 Java source to F:\hudson\hudson-slave\workspace\Buildr-ci-build-jruby-win32\tmp\target\classes...
[info] Compile success at Oct 10, 2013 11:26:45 AM [8.168s]
.[info] Compiling 1 Scala source to F:\hudson\hudson-slave\workspace\Buildr-ci-build-jruby-win32\tmp\target\classes...
[info] Compile success at Oct 10, 2013 11:26:50 AM [4.262s]
..[info] Compiling 1 Scala source and 1 Java source to F:\hudson\hudson-slave\workspace\Buildr-ci-build-jruby-win32\tmp\target\classes...
[info] Compile success at Oct 10, 2013 11:26:57 AM [5.597s]
..[info] Compiling 1 Scala source to F:\hudson\hudson-slave\workspace\Buildr-ci-build-jruby-win32\tmp\target\dependency...
[info] Compile success at Oct 10, 2013 11:27:02 AM [4.217s]
[info] Compiling 1 Scala source to F:\hudson\hudson-slave\workspace\Buildr-ci-build-jruby-win32\tmp\target\classes...
[info] Compile success at Oct 10, 2013 11:27:07 AM [4.375s]
.[info] Compiling 1 Scala source to F:\hudson\hudson-slave\workspace\Buildr-ci-build-jruby-win32\tmp\target\classes...
[info] Compile success at Oct 10, 2013 11:27:11 AM [4.203s]
.........................................................................................

Failures:

  1) Buildr::JUnit report should clean after itself
     Failure/Error: lambda { task('clean').invoke }.should change { File.exist?(JUnit.report.target)
}.to(false)
       result should have been changed to false, but is now true
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-expectations-2.14.3/lib/rspec/expectations/fail_with.rb:32:in
`fail_with'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-expectations-2.14.3/lib/rspec/expectations/handler.rb:36:in
`handle_matcher'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-expectations-2.14.3/lib/rspec/expectations/syntax.rb:53:in
`should'
     # ./spec/java/tests_spec.rb:313:in `(root)'
     # org/jruby/RubyKernel.java:2045:in `instance_eval'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-core-2.14.5/lib/rspec/core/example.rb:114:in
`run'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-core-2.14.5/lib/rspec/core/example.rb:112:in
`run'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-core-2.14.5/lib/rspec/core/example.rb:254:in
`with_around_each_hooks'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-core-2.14.5/lib/rspec/core/example.rb:111:in
`run'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-core-2.14.5/lib/rspec/core/example.rb:109:in
`run'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-core-2.14.5/lib/rspec/core/example_group.rb:390:in
`run_examples'
     # org/jruby/RubyArray.java:2331:in `collect'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-core-2.14.5/lib/rspec/core/example_group.rb:386:in
`run_examples'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-core-2.14.5/lib/rspec/core/example_group.rb:371:in
`run'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-core-2.14.5/lib/rspec/core/example_group.rb:369:in
`run'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-core-2.14.5/lib/rspec/core/command_line.rb:28:in
`run'
     # org/jruby/RubyArray.java:2331:in `collect'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-core-2.14.5/lib/rspec/core/command_line.rb:28:in
`run'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-core-2.14.5/lib/rspec/core/reporter.rb:58:in
`report'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-core-2.14.5/lib/rspec/core/command_line.rb:25:in
`run'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-core-2.14.5/lib/rspec/core/runner.rb:80:in
`run'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-core-2.14.5/lib/rspec/core/runner.rb:17:in
`autorun'
     # org/jruby/RubyProc.java:270:in `call'
     # org/jruby/RubyProc.java:224:in `call'

Finished in 19 minutes 5 seconds
2317 examples, 1 failure

Failed examples:

rspec ./spec/java/tests_spec.rb:311 # Buildr::JUnit report should clean after itself

Failures:

  1) Buildr::JUnit report should clean after itself
     Failure/Error: lambda { task('clean').invoke }.should change { File.exist?(JUnit.report.target)
}.to(false)
       result should have been changed to false, but is now true
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-expectations-2.14.3/lib/rspec/expectations/fail_with.rb:32:in
`fail_with'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-expectations-2.14.3/lib/rspec/expectations/handler.rb:36:in
`handle_matcher'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-expectations-2.14.3/lib/rspec/expectations/syntax.rb:53:in
`should'
     # ./spec/java/tests_spec.rb:313:in `(root)'
     # org/jruby/RubyKernel.java:2045:in `instance_eval'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-core-2.14.5/lib/rspec/core/example.rb:114:in
`run'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-core-2.14.5/lib/rspec/core/example.rb:112:in
`run'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-core-2.14.5/lib/rspec/core/example.rb:254:in
`with_around_each_hooks'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-core-2.14.5/lib/rspec/core/example.rb:111:in
`run'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-core-2.14.5/lib/rspec/core/example.rb:109:in
`run'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-core-2.14.5/lib/rspec/core/example_group.rb:390:in
`run_examples'
     # org/jruby/RubyArray.java:2331:in `collect'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-core-2.14.5/lib/rspec/core/example_group.rb:386:in
`run_examples'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-core-2.14.5/lib/rspec/core/example_group.rb:371:in
`run'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-core-2.14.5/lib/rspec/core/example_group.rb:369:in
`run'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-core-2.14.5/lib/rspec/core/command_line.rb:28:in
`run'
     # org/jruby/RubyArray.java:2331:in `collect'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-core-2.14.5/lib/rspec/core/command_line.rb:28:in
`run'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-core-2.14.5/lib/rspec/core/reporter.rb:58:in
`report'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-core-2.14.5/lib/rspec/core/command_line.rb:25:in
`run'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-core-2.14.5/lib/rspec/core/runner.rb:80:in
`run'
     # F:/hudson/tools/jruby-1.6.7/lib/ruby/gems/1.8/gems/rspec-core-2.14.5/lib/rspec/core/runner.rb:17:in
`autorun'
     # org/jruby/RubyProc.java:270:in `call'
     # org/jruby/RubyProc.java:224:in `call'

Randomized with seed 123

org.jruby.exceptions.RaiseException: (SystemExit) exit
F:/hudson/tools/jruby-1.6.7/bin/jruby.exe -S rspec spec/version_requirement_spec.rb spec/addon/bnd_spec.rb
spec/addon/drb_spec.rb spec/addon/jaxb_xjc_spec.rb spec/core/application_spec.rb spec/core/build_spec.rb
spec/core/cc_spec.rb spec/core/checks_spec.rb spec/core/common_spec.rb spec/core/compile_spec.rb
spec/core/console_spec.rb spec/core/doc_spec.rb spec/core/extension_spec.rb spec/core/generate_from_eclipse_spec.rb
spec/core/generate_spec.rb spec/core/project_spec.rb spec/core/run_spec.rb spec/core/shell_spec.rb
spec/core/test_spec.rb spec/core/transport_spec.rb spec/core/util_spec.rb spec/ide/eclipse_spec.rb
spec/ide/idea_spec.rb spec/java/ant_spec.rb spec/java/bdd_spec.rb spec/java/cobertura_spec.rb
spec/java/commands_spec.rb spec/java/compiler_spec.rb spec/java/doc_spec.rb spec/java/ecj_spec.rb
spec/java/emma_spec.rb spec/java/external_spec.rb spec/java/java_spec.rb spec/java/packaging_spec.rb
spec/java/pom_spec.rb spec/java/run_spec.rb spec/java/tests_spec.rb spec/packaging/archive_spec.rb
spec/packaging/artifact_namespace_spec.rb spec/packaging/artifact_spec.rb spec/packaging/packaging_spec.rb
spec/scala/bdd_spec.rb spec/scala/compiler_spec.rb spec/scala/doc_spec.rb spec/scala/tests_spec.rb
--order random:123 --format html --out _reports/specs.html --backtrace failed
Build step 'Execute Windows batch command' marked build as failure
Recording test results

Mime
View raw message