It didn't work. We need to take action to fix those two I think. On Wed, Oct 20, 2010 at 10:29, Antoine Toulme <[email protected]>wrote:
> OK trying wiping the workspace. > > > On Wed, Oct 20, 2010 at 10:20, Alex Boisvert <[email protected]>wrote: > >> Worth a shot. >> >> As far as speculations go, it could also be a side-effect of installing >> rspec 2.0.0 in the environment. I think we should nail the rspec version >> to 1.3.0 until we have full support for 2.0.0; lots of breaking changes in >> 2.0.0 as far as our integration goes. >> >> alex >> >> >> On Wed, Oct 20, 2010 at 10:14 AM, Antoine Toulme <[email protected] >> > wrote: >> >>> I am thinking this is caused by a dirty workspace and tests based on >>> time. >>> Should we try wiping the workspace ? >>> >>> On Wed, Oct 20, 2010 at 10:07, Apache Hudson Server < >>> [email protected]> wrote: >>> >>> > See <https://hudson.apache.org/hudson/job/Buildr-ci-build/162/changes> >>> > >>> > Changes: >>> > >>> > [toulmean] make sure the version is casted as a String >>> > >>> > ------------------------------------------ >>> > [...truncated 364 lines...] >>> > [31m at org.scalatest.tools.SuiteRunner.run(SuiteRunner.scala:59) [0m >>> > [31m at >>> > >>> org.scalatest.tools.Runner$$anonfun$doRunRunRunADoRunRun$3.apply(Runner.scala:1523) >>> > [0m >>> > [31m at >>> > >>> org.scalatest.tools.Runner$$anonfun$doRunRunRunADoRunRun$3.apply(Runner.scala:1520) >>> > [0m >>> > [31m at >>> > >>> scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:61) >>> > [0m >>> > [31m at scala.collection.immutable.List.foreach(List.scala:45) [0m >>> > [31m at >>> > org.scalatest.tools.Runner$.doRunRunRunADoRunRun(Runner.scala:1520) [0m >>> > [31m at >>> > >>> org.scalatest.tools.Runner$$anonfun$runOptionallyWithPassFailReporter$2.apply(Runner.scala:616) >>> > [0m >>> > [31m at >>> > >>> org.scalatest.tools.Runner$$anonfun$runOptionallyWithPassFailReporter$2.apply(Runner.scala:615) >>> > [0m >>> > [31m at >>> > >>> org.scalatest.tools.Runner$.withClassLoaderAndDispatchReporter(Runner.scala:1564) >>> > [0m >>> > [31m at >>> > >>> org.scalatest.tools.Runner$.runOptionallyWithPassFailReporter(Runner.scala:614) >>> > [0m >>> > [31m at org.scalatest.tools.Runner$.run(Runner.scala:517) [0m >>> > [31m at >>> > >>> org.scalatest.tools.ScalaTestAntTask.execute(ScalaTestAntTask.scala:259) [0m >>> > [31m at >>> > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) >>> [0m >>> > [32mSuite Completed - FailingSuite [0m >>> > [36mRun completed in 140 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 135 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 133 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 148 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 545 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 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 at StringSuite$$anonfun$3.apply(StringSuite.scala:17) [0m >>> > [31m at StringSuite$$anonfun$3.apply(StringSuite.scala:17) [0m >>> > [31m at org.scalatest.FunSuite$$anon$2.apply(FunSuite.scala:1158) [0m >>> > [31m at org.scalatest.Suite$class.withFixture(Suite.scala:1509) [0m >>> > [31m at StringSuite.withFixture(StringSuite.scala:6) [0m >>> > [31m at org.scalatest.FunSuite$class.runTest(FunSuite.scala:1155) [0m >>> > [31m at StringSuite.runTest(StringSuite.scala:6) [0m >>> > [31m at >>> > org.scalatest.FunSuite$$anonfun$runTests$1.apply(FunSuite.scala:1264) >>> [0m >>> > [31m at >>> > org.scalatest.FunSuite$$anonfun$runTests$1.apply(FunSuite.scala:1255) >>> [0m >>> > [31m at >>> > >>> scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:61) >>> > [0m >>> > [31m at scala.collection.immutable.List.foreach(List.scala:45) [0m >>> > [31m at org.scalatest.FunSuite$class.runTests(FunSuite.scala:1255) >>> [0m >>> > [31m at StringSuite.runTests(StringSuite.scala:6) [0m >>> > [31m at org.scalatest.Suite$class.run(Suite.scala:1804) [0m >>> > [31m at >>> > StringSuite.org$scalatest$FunSuite$$super$run(StringSuite.scala:6) [0m >>> > [31m at org.scalatest.FunSuite$class.run(FunSuite.scala:1304) [0m >>> > [31m at StringSuite.run(StringSuite.scala:6) [0m >>> > [31m at org.scalatest.tools.SuiteRunner.run(SuiteRunner.scala:59) [0m >>> > [31m at >>> > >>> org.scalatest.tools.Runner$$anonfun$doRunRunRunADoRunRun$3.apply(Runner.scala:1523) >>> > [0m >>> > [31m at >>> > >>> org.scalatest.tools.Runner$$anonfun$doRunRunRunADoRunRun$3.apply(Runner.scala:1520) >>> > [0m >>> > [31m at >>> > >>> scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:61) >>> > [0m >>> > [31m at scala.collection.immutable.List.foreach(List.scala:45) [0m >>> > [31m at >>> > org.scalatest.tools.Runner$.doRunRunRunADoRunRun(Runner.scala:1520) [0m >>> > [31m at >>> > >>> org.scalatest.tools.Runner$$anonfun$runOptionallyWithPassFailReporter$2.apply(Runner.scala:616) >>> > [0m >>> > [31m at >>> > >>> org.scalatest.tools.Runner$$anonfun$runOptionallyWithPassFailReporter$2.apply(Runner.scala:615) >>> > [0m >>> > [31m at >>> > >>> org.scalatest.tools.Runner$.withClassLoaderAndDispatchReporter(Runner.scala:1564) >>> > [0m >>> > [31m at >>> > >>> org.scalatest.tools.Runner$.runOptionallyWithPassFailReporter(Runner.scala:614) >>> > [0m >>> > [31m at org.scalatest.tools.Runner$.run(Runner.scala:517) [0m >>> > [31m at >>> > >>> org.scalatest.tools.ScalaTestAntTask.execute(ScalaTestAntTask.scala:259) [0m >>> > [31m at >>> > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) >>> [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 485 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, 76 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, 59 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, 59 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, 62 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://hudson.apache.org/hudson/job/Buildr-ci-build/ws/tmp/home> >>> > .mkdir -p < >>> > >>> https://hudson.apache.org/hudson/job/Buildr-ci-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 >>> > >>> > 1) >>> > RuntimeError in 'Buildr::RSpec should read passed specs from result >>> yaml' >>> > Tests failed! >>> > < >>> > >>> https://hudson.apache.org/hudson/job/Buildr-ci-build/ws/lib/buildr/core/test.rb >>> >:531:in >>> > `run_tests' >>> > < >>> > >>> https://hudson.apache.org/hudson/job/Buildr-ci-build/ws/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' >>> > < >>> > >>> https://hudson.apache.org/hudson/job/Buildr-ci-build/ws/spec/spec_helpers.rb >>> >:154:in >>> > `execute' >>> > < >>> > >>> https://hudson.apache.org/hudson/job/Buildr-ci-build/ws/lib/buildr/core/test.rb >>> >:270:in >>> > `execute' >>> > < >>> > >>> https://hudson.apache.org/hudson/job/Buildr-ci-build/ws/lib/buildr/core/application.rb >>> >:664:in >>> > `invoke_with_call_chain' >>> > /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' >>> > < >>> > >>> https://hudson.apache.org/hudson/job/Buildr-ci-build/ws/lib/buildr/core/application.rb >>> >:650:in >>> > `invoke_with_call_chain' >>> > < >>> > >>> https://hudson.apache.org/hudson/job/Buildr-ci-build/ws/lib/buildr/core/application.rb >>> >:645:in >>> > `invoke' >>> > ./spec/java/bdd_spec.rb:33: >>> > >>> /home/toulmean/buildr-gems/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in >>> > `instance_eval' >>> > >>> /home/toulmean/buildr-gems/gems/rspec-1.3.0/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.3.0/lib/spec/example/example_methods.rb:37:in >>> > `execute' >>> > >>> /home/toulmean/buildr-gems/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:214:in >>> > `run_examples' >>> > >>> /home/toulmean/buildr-gems/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in >>> > `each' >>> > >>> /home/toulmean/buildr-gems/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in >>> > `run_examples' >>> > >>> /home/toulmean/buildr-gems/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:103:in >>> > `run' >>> > >>> /home/toulmean/buildr-gems/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:23:in >>> > `run' >>> > >>> /home/toulmean/buildr-gems/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:22:in >>> > `each' >>> > >>> /home/toulmean/buildr-gems/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:22:in >>> > `run' >>> > >>> /home/toulmean/buildr-gems/gems/rspec-1.3.0/lib/spec/runner/options.rb:152:in >>> > `run_examples' >>> > >>> /home/toulmean/buildr-gems/gems/rspec-1.3.0/lib/spec/runner/command_line.rb:9:in >>> > `run' >>> > /home/toulmean/buildr-gems/gems/rspec-1.3.0/bin/spec:5: >>> > >>> > 2) >>> > 'Buildr::RSpec should read result yaml to obtain the list of failed >>> specs' >>> > FAILED >>> > >>> > expected ["< >>> > >>> https://hudson.apache.org/hudson/job/Buildr-ci-build/ws/tmp/src/spec/ruby/error_spec.rb >>> ",> >>> > "< >>> > >>> https://hudson.apache.org/hudson/job/Buildr-ci-build/ws/tmp/src/spec/ruby/failure_spec.rb >>> > "]> >>> > got ["< >>> > >>> https://hudson.apache.org/hudson/job/Buildr-ci-build/ws/tmp/src/spec/ruby/error_spec.rb >>> ",> >>> > "< >>> > >>> https://hudson.apache.org/hudson/job/Buildr-ci-build/ws/tmp/src/spec/ruby/failure_spec.rb >>> ",> >>> > "< >>> > >>> https://hudson.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.3.0/lib/spec/expectations/fail_with.rb:41:in >>> > `fail_with' >>> > >>> /home/toulmean/buildr-gems/gems/rspec-1.3.0/lib/spec/expectations/handler.rb:21:in >>> > `handle_matcher' >>> > >>> /home/toulmean/buildr-gems/gems/rspec-1.3.0/lib/spec/expectations/extensions/kernel.rb:27:in >>> > `should' >>> > ./spec/java/bdd_spec.rb:47: >>> > >>> /home/toulmean/buildr-gems/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in >>> > `instance_eval' >>> > >>> /home/toulmean/buildr-gems/gems/rspec-1.3.0/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.3.0/lib/spec/example/example_methods.rb:37:in >>> > `execute' >>> > >>> /home/toulmean/buildr-gems/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:214:in >>> > `run_examples' >>> > >>> /home/toulmean/buildr-gems/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in >>> > `each' >>> > >>> /home/toulmean/buildr-gems/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in >>> > `run_examples' >>> > >>> /home/toulmean/buildr-gems/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:103:in >>> > `run' >>> > >>> /home/toulmean/buildr-gems/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:23:in >>> > `run' >>> > >>> /home/toulmean/buildr-gems/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:22:in >>> > `each' >>> > >>> /home/toulmean/buildr-gems/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:22:in >>> > `run' >>> > >>> /home/toulmean/buildr-gems/gems/rspec-1.3.0/lib/spec/runner/options.rb:152:in >>> > `run_examples' >>> > >>> /home/toulmean/buildr-gems/gems/rspec-1.3.0/lib/spec/runner/command_line.rb:9:in >>> > `run' >>> > /home/toulmean/buildr-gems/gems/rspec-1.3.0/bin/spec:5: >>> > >>> > Finished in 365.285036 seconds >>> > >>> > 2132 examples, 2 failures, 2 pending >>> > rake aborted! >>> > Command /usr/bin/ruby1.8 -I"lib" >>> > "/home/toulmean/buildr-gems/gems/rspec-1.3.0/bin/spec" >>> > "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 --require >>> > >>> "/home/toulmean/buildr-gems/gems/ci_reporter-1.6.2/lib/ci/reporter/rake/rspec_loader.rb" >>> > --format CI::Reporter::RSpec failed >>> > >>> > (See full trace by running task with --trace) >>> > Recording test results >>> > >>> > >>> >> >> >
