Skip to content

Instantly share code, notes, and snippets.

@craigmcnamara
Created March 11, 2011 16:25
Show Gist options
  • Save craigmcnamara/866126 to your computer and use it in GitHub Desktop.
Save craigmcnamara/866126 to your computer and use it in GitHub Desktop.
Build Failure with the dir_spec.rb:252 expectation removed. Wanted to see how far I could get.
[INFO] ------------------------------------------------------------------------
[INFO] Building TorqueBox Web Core 1.0.0.CR1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-plugin-versions) @ torquebox-web-core ---
[WARNING] This rule is not compatible with the current version of Maven. The rule is not able to perform any checks.
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-java-version) @ torquebox-web-core ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-maven-version) @ torquebox-web-core ---
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ torquebox-web-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\torquebox\components\web\web-core\src\main\resources
[INFO] Copying 6 resources
[INFO] skip non existing resourceDirectory C:\torquebox\components\web\web-core\src\main\ruby
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ torquebox-web-core ---
[INFO] Compiling 15 source files to C:\torquebox\components\web\web-core\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) @ torquebox-web-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:testCompile (default-testCompile) @ torquebox-web-core ---
[INFO] Compiling 8 source files to C:\torquebox\components\web\web-core\target\test-classes
[INFO]
[INFO] --- gem-maven-plugin:0.24.0:initialize (install-component-rubygem-dependencies) @ torquebox-web-core ---
[WARNING] JRuby limited openssl loaded. http://jruby.org/openssl
[WARNING] gem install jruby-openssl for full support.
[INFO] Successfully installed torquebox-web-1.0.0.CR1-java
[INFO] Successfully installed torquebox-base-1.0.0.CR1-java
[INFO] Successfully installed torquebox-vfs-1.0.0.CR1
[INFO] Successfully installed rspec-2.3.0
[INFO] **************************************************
[INFO]
[INFO] Thank you for installing rspec-core-2.3.1
[INFO]
[INFO] Please be sure to look at the upgrade instructions to see what might have
[INFO] changed since the last release:
[INFO]
[INFO] http://github.com/rspec/rspec-core/blob/master/Upgrade.markdown
[INFO]
[INFO] **************************************************
[INFO] Successfully installed rspec-core-2.3.1
[INFO] Successfully installed rspec-expectations-2.3.0
[INFO] Successfully installed diff-lcs-1.1.2
[INFO] Successfully installed rspec-mocks-2.3.0
[INFO] 8 gems installed
[INFO]
[INFO] --- gem-maven-plugin:0.24.0:initialize (default) @ torquebox-web-core ---
[WARNING] JRuby limited openssl loaded. http://jruby.org/openssl
[WARNING] gem install jruby-openssl for full support.
[INFO] Successfully installed torquebox-web-1.0.0.CR1-java
[INFO] Successfully installed torquebox-base-1.0.0.CR1-java
[INFO] Successfully installed torquebox-vfs-1.0.0.CR1
[INFO] 3 gems installed
[INFO]
[INFO] --- maven-surefire-plugin:2.4.3:test (default-test) @ torquebox-web-core ---
[INFO] Surefire report directory: C:\torquebox\components\web\web-core\target\surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.torquebox.rack.core.RackApplicationImplTest
gem.path is C:\torquebox\components\web\web-core/../target/rubygems
gem.path is C:\torquebox\components\web\web-core/../target/rubygems
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.015 sec
Running org.torquebox.rack.core.RubyRackResponseTest
gem.path is C:\torquebox\components\web\web-core/../target/rubygems
gem.path is C:\torquebox\components\web\web-core/../target/rubygems
gem.path is C:\torquebox\components\web\web-core/../target/rubygems
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.358 sec
Running org.torquebox.rack.core.RackRuntimeInitializerTest
gem.path is C:\torquebox\components\web\web-core/../target/rubygems
Loading torquebox-web gem hook
CONTEXT: /mycontext
gem.path is C:\torquebox\components\web\web-core/../target/rubygems
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.375 sec
Running org.torquebox.rack.core.RackApplicationFactoryImplTest
gem.path is C:\torquebox\components\web\web-core/../target/rubygems
gem.path is C:\torquebox\components\web\web-core/../target/rubygems
gem.path is C:\torquebox\components\web\web-core/../target/rubygems
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.64 sec
Running org.torquebox.rack.core.RackEnvironmentImplTest
gem.path is C:\torquebox\components\web\web-core/../target/rubygems
gem.path is C:\torquebox\components\web\web-core/../target/rubygems
gem.path is C:\torquebox\components\web\web-core/../target/rubygems
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.936 sec
Running org.torquebox.rails.core.RailsRuntimeInitializerTest
railsRoot="/C:/torquebox/components/web/web-core/src/test/rails/ballast"
Loading torquebox-web gem hook
CONTEXT:
load_rails_gem --> 2.3.11
LOAD 2.3.11
JRuby limited openssl loaded. http://jruby.org/openssl
gem install jruby-openssl for full support.
gem.path is C:\torquebox\components\web\web-core/../target/rubygems
gem.path is C:\torquebox\components\web\web-core/../target/rubygems
gem.path is C:\torquebox\components\web\web-core/../target/rubygems
gem.path is C:\torquebox\components\web\web-core/../target/rubygems
Tests run: 9, Failures: 0, Errors: 9, Skipped: 0, Time elapsed: 103.363 sec <<< FAILURE!
Results :
Tests in error:
testInitializeWithGems(org.torquebox.rails.core.RailsRuntimeInitializerTest)
testUnknownModelsAreCorrectlyIdentified(org.torquebox.rails.core.RailsRuntimeInitializerTest)
testUnknownModelsAreCorrectlyIdentified(org.torquebox.rails.core.RailsRuntimeInitializerTest)
testModelsAreLoadable(org.torquebox.rails.core.RailsRuntimeInitializerTest)
testModelsAreLoadable(org.torquebox.rails.core.RailsRuntimeInitializerTest)
testOpenSSL_HMAC_digest(org.torquebox.rails.core.RailsRuntimeInitializerTest)
testOpenSSL_HMAC_digest(org.torquebox.rails.core.RailsRuntimeInitializerTest)
testAutoloadPathsAvailableAsRubyConstant(org.torquebox.rails.core.RailsRuntimeInitializerTest)
testAutoloadPathsAvailableAsRubyConstant(org.torquebox.rails.core.RailsRuntimeInitializerTest)
Tests run: 20, Failures: 0, Errors: 9, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] TorqueBox Parent .................................. SUCCESS [0.813s]
[INFO] TorqueBox JavaDoc Support ......................... SUCCESS [1.203s]
[INFO] TorqueBox Ruby Testing Support .................... SUCCESS [0.265s]
[INFO] TorqueBox VDF Testing Support ..................... SUCCESS [0.719s]
[INFO] TorqueBox Gem Parent .............................. SUCCESS [0.203s]
[INFO] TorqueBox Base Gem ................................ SUCCESS [21.888s]
[INFO] TorqueBox VFS ..................................... SUCCESS [29.449s]
[INFO] TorqueBox Component Parent ........................ SUCCESS [0.437s]
[INFO] TorqueBox Base SPI ................................ SUCCESS [1.281s]
[INFO] TorqueBox Base Metadata ........................... SUCCESS [1.375s]
[INFO] TorqueBox Base Core ............................... SUCCESS [1:02.339s]
[INFO] TorqueBox Ruby Testing Support .................... SUCCESS [1.093s]
[INFO] TorqueBox Build Support ........................... SUCCESS [0.219s]
[INFO] TorqueBox Integration Parent ...................... SUCCESS [1.015s]
[INFO] TorqueBox Microcontainer Support .................. SUCCESS [1.375s]
[INFO] TorqueBox Component Support ....................... SUCCESS [0.093s]
[INFO] TorqueBox Bootstrap Integration ................... SUCCESS [0.859s]
[INFO] TorqueBox Bootstrap Components .................... SUCCESS [0.094s]
[INFO] TorqueBox Base Integration ........................ SUCCESS [20.741s]
[INFO] TorqueBox Base Components ......................... SUCCESS [0.141s]
[INFO] TorqueBox Web Ruby Dependencies ................... SUCCESS [3:17.867s]
[INFO] TorqueBox Web SPI ................................. SUCCESS [1.688s]
[INFO] TorqueBox Base Gem ................................ SUCCESS [59.061s]
[INFO] TorqueBox Web Metadata ............................ SUCCESS [1.406s]
[INFO] TorqueBox Web Core ................................ FAILURE [2:23.082s]
[INFO] TorqueBox Web Integration ......................... SKIPPED
[INFO] TorqueBox Web Components .......................... SKIPPED
[INFO] TorqueBox Scheduled Jobs Core ..................... SKIPPED
[INFO] TorqueBox Scheduled Jobs Metadata ................. SKIPPED
[INFO] TorqueBox Scheduled Jobs Integration .............. SKIPPED
[INFO] TorqueBox Scheduled Job Components ................ SKIPPED
[INFO] TorqueBox Messaging Core .......................... SKIPPED
[INFO] TorqueBox Messaging Metadata ...................... SKIPPED
[INFO] TorqueBox Messaging Integration ................... SKIPPED
[INFO] TorqueBox Messaging Components .................... SKIPPED
[INFO] TorqueBox Components .............................. SKIPPED
[INFO] TorqueBox Container Parent ........................ SKIPPED
[INFO] TorqueBox Container Foundation .................... SKIPPED
[INFO] TorqueBox Client Parent ........................... SKIPPED
[INFO] TorqueBox Naming Client ........................... SKIPPED
[INFO] TorqueBox Naming Container ........................ SKIPPED
[INFO] TorqueBox Messaging Container ..................... SKIPPED
[INFO] TorqueBox Containers .............................. SKIPPED
[INFO] TorqueBox Messaging Client ........................ SKIPPED
[INFO] TorqueBox Rake Support ............................ SKIPPED
[INFO] TorqueBox Gem ..................................... SKIPPED
[INFO] TorqueBox Ruby Clients ............................ SKIPPED
[INFO] TorqueBox Assemblage Pre-Assembly ................. SKIPPED
[INFO] JRuby Binary Distribution Dependency .............. SKIPPED
[INFO] TorqueBox Capistrano Support ...................... SKIPPED
[INFO] TorqueBox Assembly ................................ SKIPPED
[INFO] TorqueBox Assembly Post-Assembly .................. SKIPPED
[INFO] TorqueBox Assemblage .............................. SKIPPED
[INFO] TorqueBox System Integration ...................... SKIPPED
[INFO] TorqueBox ......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9:11.533s
[INFO] Finished at: Fri Mar 11 11:10:27 EST 2011
[INFO] Final Memory: 52M/63M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.4.3:test (default-test) on project torquebox-web-core: There
are test failures.
[ERROR]
[ERROR] Please refer to C:\torquebox\components\web\web-core\target\surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :torquebox-web-core
C:\torquebox>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment