buildr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Toulme <anto...@lunar-ocean.com>
Subject Re: Build failed in Jenkins: Buildr-ci-build #232
Date Fri, 24 Jun 2011 18:38:46 GMT
Spent some time trying to recreate the problem, both from my machine and on
the server.

No love so far ; rspec works fine, rake ci seems to behave.

This might be a problem tied to the absence of tty when running specs with
jenkins.

I am still working on this.

Meanwhile: I added a few more integration test scenarios to the tests
folder.

I intend to continue beef it up further, for educational and testing
purposes.

I hope to get enough ready made Buildfiles to point people to samples when
they ask for corner use cases (or well known yet not well documented enough
features).
On that: Alex, still got that workbench with those projects you were playing
with whenever people were asking you questions ? Can you zip it up and send
it my way please ?

Antoine


On Wed, Jun 22, 2011 at 11:21, Alex Boisvert <alex.boisvert@gmail.com>wrote:

> Most likely environment-related failures based on my experience with the
> rspec-integration.  Challenge is to get debugging info on what's not set up
> correctly on hudson.
>
> alex
>
>
> On Wed, Jun 22, 2011 at 10:27 AM, Antoine Toulme <antoine@lunar-ocean.com>wrote:
>
>> We have 2 failures remaining regarding rspec.
>>
>> Those 2 tests have never been reliable in the past. It's pretty much on
>> and
>> off every time.
>>
>> I will look at what it takes to fix them or what we lose if we remove
>> them.
>>
>> Thanks,
>>
>> Antoine
>>
>> ---------- Forwarded message ----------
>> From: Apache Jenkins Server <jenkins@builds.apache.org>
>> Date: Wed, Jun 22, 2011 at 17:24
>> Subject: Build failed in Jenkins: Buildr-ci-build #232
>> To: ci@buildr.apache.org
>>
>>
>> See <https://builds.apache.org/job/Buildr-ci-build/232/>
>>
>> ------------------------------------------
>> [...truncated 405 lines...]
>>   21 Wed Jun 22 17:23:30 UTC 2011 path/code/Test1.txt
>>   22 Wed Jun 22 17:23:30 UTC 2011 path/code/Text2.html
>>    0 Wed Jun 22 17:23:30 UTC 2011 EmptyDir1/
>>    0 Wed Jun 22 17:23:30 UTC 2011 EmptyDir2/
>>   21 Wed Jun 22 17:23:30 UTC 2011 Test1.txt
>>   22 Wed Jun 22 17:23:30 UTC 2011 Text2.html
>>    0 Wed Jun 22 17:23:30 UTC 2011 path/
>>    0 Wed Jun 22 17:23:30 UTC 2011 path/EmptyDir1/
>>    0 Wed Jun 22 17:23:30 UTC 2011 path/EmptyDir2/
>>   21 Wed Jun 22 17:23:30 UTC 2011 path/Test1.txt
>>   22 Wed Jun 22 17:23:30 UTC 2011 path/Text2.html
>>   21 Wed Jun 22 17:23:30 UTC 2011 Test1.txt
>>   22 Wed Jun 22 17:23:30 UTC 2011 Text2.html
>>   21 Wed Jun 22 17:23:30 UTC 2011 Test1.txt
>>   22 Wed Jun 22 17:23:30 UTC 2011 Text2.html
>>    0 Wed Jun 22 17:23:30 UTC 2011 test/
>>   21 Wed Jun 22 17:23:30 UTC 2011 test/Test1.txt
>>   22 Wed Jun 22 17:23:30 UTC 2011 test/Text2.html
>>    0 Wed Jun 22 17:23:30 UTC 2011 test/
>>   21 Wed Jun 22 17:23:30 UTC 2011 test/Test1.txt
>>   22 Wed Jun 22 17:23:30 UTC 2011 test/Text2.html
>>   21 Wed Jun 22 17:23:30 UTC 2011 Test1.txt
>>   22 Wed Jun 22 17:23:30 UTC 2011 Text2.html
>>   21 Wed Jun 22 17:23:32 UTC 2011 Test1.txt
>>   22 Wed Jun 22 17:23:32 UTC 2011 Text2.html
>>   21 Wed Jun 22 17:23:32 UTC 2011 Test1.txt
>>   22 Wed Jun 22 17:23:32 UTC 2011 Text2.html
>>    0 Wed Jun 22 17:23:32 UTC 2011 EmptyDir1/
>>    0 Wed Jun 22 17:23:32 UTC 2011 EmptyDir2/
>>   21 Wed Jun 22 17:23:32 UTC 2011 Test1.txt
>>   22 Wed Jun 22 17:23:32 UTC 2011 Text2.html
>>    0 Wed Jun 22 17:23:32 UTC 2011 subdir/
>>   15 Wed Jun 22 17:23:32 UTC 2011 subdir/test3.css
>>   21 Wed Jun 22 17:23:32 UTC 2011 Test1.txt
>>   22 Wed Jun 22 17:23:32 UTC 2011 Text2.html
>>   15 Wed Jun 22 17:23:32 UTC 2011 Test1.txt
>>   22 Wed Jun 22 17:23:32 UTC 2011 Text2.html
>>   22 Wed Jun 22 17:23:32 UTC 2011 Text2.html
>> No known dependencies. Compiling everything
>> model contains 0 documentable templates
>> No known dependencies. Compiling everything
>> No known dependencies. Compiling everything
>>  [36mRun starting. Expected test count is: 1 [0m
>>  [32mSuite Starting - MySuite [0m
>>  [32mTest Starting - MySuite: addition [0m
>>  [32mTest Succeeded - MySuite: addition [0m
>>  [32mSuite Completed - MySuite [0m
>>  [36mRun completed in 147 milliseconds. [0m
>>  [36mTotal number of tests run: 1 [0m
>>  [36mSuites: completed 1, aborted 0 [0m
>>  [36mTests: succeeded 1, failed 0, ignored 0, pending 0 [0m
>>  [32mAll tests passed. [0m
>> No known dependencies. Compiling everything
>> No known dependencies. Compiling everything
>>  [36mRun starting. Expected test count is: 1 [0m
>>  [32mSuite Starting - InnerClassTest [0m
>>  [32mTest Starting - InnerClassTest: addition [0m
>>  [32mTest Succeeded - InnerClassTest: addition [0m
>>  [32mSuite Completed - InnerClassTest [0m
>>  [36mRun completed in 147 milliseconds. [0m
>>  [36mTotal number of tests run: 1 [0m
>>  [36mSuites: completed 1, aborted 0 [0m
>>  [36mTests: succeeded 1, failed 0, ignored 0, pending 0 [0m
>>  [32mAll tests passed. [0m
>> No known dependencies. Compiling everything
>>  [36mRun starting. Expected test count is: 1 [0m
>>  [32mSuite Starting - PassingSuite [0m
>>  [32mTest Starting - PassingSuite: addition [0m
>>  [32mTest Succeeded - PassingSuite: addition [0m
>>  [32mSuite Completed - PassingSuite [0m
>>  [36mRun completed in 184 milliseconds. [0m
>>  [36mTotal number of tests run: 1 [0m
>>  [36mSuites: completed 1, aborted 0 [0m
>>  [36mTests: succeeded 1, failed 0, ignored 0, pending 0 [0m
>>  [32mAll tests passed. [0m
>> No known dependencies. Compiling everything
>>  [36mRun starting. Expected test count is: 1 [0m
>>  [32mSuite Starting - FailingSuite [0m
>>  [32mTest Starting - FailingSuite: failing [0m
>>  [31mTEST FAILED - FailingSuite: failing (FailingSuite.scala:3) [0m
>>  [31m  org.scalatest.TestFailedException [0m
>>  [31m  ... [0m
>>  [31m  at FailingSuite$$anonfun$1.apply$mcV$sp(FailingSuite.scala:3) [0m
>>  [31m  at FailingSuite$$anonfun$1.apply(FailingSuite.scala:3) [0m
>>  [31m  at FailingSuite$$anonfun$1.apply(FailingSuite.scala:3) [0m
>>  [31m  at org.scalatest.FunSuite$$anon$2.apply(FunSuite.scala:1146) [0m
>>  [31m  at org.scalatest.Suite$class.withFixture(Suite.scala:1477) [0m
>>  [31m  at FailingSuite.withFixture(FailingSuite.scala:1) [0m
>>  [31m  at org.scalatest.FunSuite$class.runTest(FunSuite.scala:1143) [0m
>>  [31m  ... [0m
>>  [32mSuite Completed - FailingSuite [0m
>>  [36mRun completed in 141 milliseconds. [0m
>>  [36mTotal number of tests run: 1 [0m
>>  [36mSuites: completed 1, aborted 0 [0m
>>  [36mTests: succeeded 0, failed 1, ignored 0, pending 0 [0m
>>  [31m*** 1 TEST FAILED *** [0m
>> No known dependencies. Compiling everything
>>  [36mRun starting. Expected test count is: 1 [0m
>>  [32mSuite Starting - FailingSuite [0m
>>  [32mTest Starting - FailingSuite: failing [0m
>>  [31mTEST FAILED - FailingSuite: failing (FailingSuite.scala:3) [0m
>>  [31m  org.scalatest.TestFailedException [0m
>>  [31m  ... [0m
>>  [31m  at FailingSuite$$anonfun$1.apply$mcV$sp(FailingSuite.scala:3) [0m
>>  [31m  at FailingSuite$$anonfun$1.apply(FailingSuite.scala:3) [0m
>>  [31m  at FailingSuite$$anonfun$1.apply(FailingSuite.scala:3) [0m
>>  [31m  at org.scalatest.FunSuite$$anon$2.apply(FunSuite.scala:1146) [0m
>>  [31m  at org.scalatest.Suite$class.withFixture(Suite.scala:1477) [0m
>>  [31m  at FailingSuite.withFixture(FailingSuite.scala:1) [0m
>>  [31m  at org.scalatest.FunSuite$class.runTest(FunSuite.scala:1143) [0m
>>  [31m  ... [0m
>>  [32mSuite Completed - FailingSuite [0m
>>  [36mRun completed in 171 milliseconds. [0m
>>  [36mTotal number of tests run: 1 [0m
>>  [36mSuites: completed 1, aborted 0 [0m
>>  [36mTests: succeeded 0, failed 1, ignored 0, pending 0 [0m
>>  [31m*** 1 TEST FAILED *** [0m
>> No known dependencies. Compiling everything
>>  [36mRun starting. Expected test count is: 1 [0m
>>  [32mSuite Starting - PassingSuite [0m
>>  [32mTest Starting - PassingSuite: passing [0m
>>  [32mTest Succeeded - PassingSuite: passing [0m
>>  [32mSuite Completed - PassingSuite [0m
>>  [36mRun completed in 139 milliseconds. [0m
>>  [36mTotal number of tests run: 1 [0m
>>  [36mSuites: completed 1, aborted 0 [0m
>>  [36mTests: succeeded 1, failed 0, ignored 0, pending 0 [0m
>>  [32mAll tests passed. [0m
>> No known dependencies. Compiling everything
>>  [36mRun starting. Expected test count is: 1 [0m
>>  [32mSuite Starting - PassingSuite [0m
>>  [32mTest Starting - PassingSuite: passing [0m
>>  [32mTest Succeeded - PassingSuite: passing [0m
>>  [32mSuite Completed - PassingSuite [0m
>>  [36mRun completed in 138 milliseconds. [0m
>>  [36mTotal number of tests run: 1 [0m
>>  [36mSuites: completed 1, aborted 0 [0m
>>  [36mTests: succeeded 1, failed 0, ignored 0, pending 0 [0m
>>  [32mAll tests passed. [0m
>> No known dependencies. Compiling everything
>>  [36mRun starting. Expected test count is: 1 [0m
>>  [32mSuite Starting - PropertyTestSuite [0m
>>  [32mTest Starting - PropertyTestSuite: testProperty [0m
>>  [32mTest Succeeded - PropertyTestSuite: testProperty [0m
>>  [32mSuite Completed - PropertyTestSuite [0m
>>  [36mRun completed in 144 milliseconds. [0m
>>  [36mTotal number of tests run: 1 [0m
>>  [36mSuites: completed 1, aborted 0 [0m
>>  [36mTests: succeeded 1, failed 0, ignored 0, pending 0 [0m
>>  [32mAll tests passed. [0m
>> No known dependencies. Compiling everything
>>  [36mRun starting. Expected test count is: 2 [0m
>>  [32mSuite Starting - MySuite [0m
>>  [32mTest Starting - MySuite: list concatenation [0m
>>  [32mTest Succeeded - MySuite: list concatenation [0m
>>  [32mTest Starting - MySuite: list concatenation using a test method [0m
>>  [32mTest Succeeded - MySuite: list concatenation using a test method [0m
>>  [32mSuite Completed - MySuite [0m
>>  [36mRun completed in 555 milliseconds. [0m
>>  [36mTotal number of tests run: 2 [0m
>>  [36mSuites: completed 1, aborted 0 [0m
>>  [36mTests: succeeded 2, failed 0, ignored 0, pending 0 [0m
>>  [32mAll tests passed. [0m
>> No known dependencies. Compiling everything
>>  [36mRun starting. Expected test count is: 5 [0m
>>  [32mSuite Starting - StringSuite [0m
>>  [32mTest Starting - StringSuite: startsWith [0m
>>  [32mTest Succeeded - StringSuite: startsWith [0m
>>  [32mTest Starting - StringSuite: endsWith [0m
>>  [32mTest Succeeded - StringSuite: endsWith [0m
>>  [32mTest Starting - StringSuite: concat [0m
>>  [31mTEST FAILED - StringSuite: concat (Checkers.scala:241) [0m
>>  [31m  Falsified after 0 passed tests:
>> > ARG_0 = ""
>> > ARG_1 = "" [0m
>>  [31m  org.scalatest.prop.PropertyTestFailedException: Falsified after 0
>> passed tests:
>> > ARG_0 = ""
>> > ARG_1 = "" [0m
>>  [31m  ... [0m
>>  [31m  at org.scalatest.prop.Checkers$class.check(Checkers.scala:241) [0m
>>  [31m  at StringSuite.check(StringSuite.scala:6) [0m
>>  [31m  at org.scalatest.prop.Checkers$class.check(Checkers.scala:304) [0m
>>  [31m  at StringSuite.check(StringSuite.scala:6) [0m
>>  [31m  at org.scalatest.prop.Checkers$class.check(Checkers.scala:115) [0m
>>  [31m  at StringSuite.check(StringSuite.scala:6) [0m
>>  [31m  at StringSuite$$anonfun$3.apply$mcV$sp(StringSuite.scala:17) [0m
>>  [31m  ... [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 908 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
>> No known dependencies. Compiling everything
>> Specification "MySpecs"
>>  it should
>>  [32m+ [0m add
>>
>> Total for specification "MySpecs":
>> Finished in 0 second, 62 ms
>> 1 example, 1 expectation, 0 failure, 0 error
>>
>> No known dependencies. Compiling everything
>> Specification "MySpecs"
>>  it should
>>  [32m+ [0m add
>>
>> Total for specification "MySpecs":
>> Finished in 0 second, 62 ms
>> 1 example, 1 expectation, 0 failure, 0 error
>>
>> No known dependencies. Compiling everything
>> Specification "PassingSpecs"
>>  it should
>>  [32m+ [0m add
>>
>> Total for specification "PassingSpecs":
>> Finished in 0 second, 61 ms
>> 1 example, 1 expectation, 0 failure, 0 error
>>
>> No known dependencies. Compiling everything
>> 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, 64 ms
>> 1 example, 1 expectation,  [31m1 failure [0m, 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://builds.apache.org/job/Buildr-ci-build/ws/tmp/home>
>> mkdir -p <
>> https://builds.apache.org/job/Buildr-ci-build/ws/tmp/home/.buildr>
>> rake aborted!
>> ruby -S bundle exec rspec --format html --out _reports/specs.html
>> --backtrace spec/groovy/doc_spec.rb spec/groovy/bdd_spec.rb
>> spec/groovy/compiler_spec.rb spec/addon/bnd_spec.rb spec/addon/drb_spec.rb
>> spec/addon/jaxb_xjc_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/idea_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
>> failed
>>
>> (See full trace by running task with --trace)
>> Recording test results
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message