Plumbing build 355 FAILED
finished at 5:25 PM on 13 March 2008 taking 3 seconds
Build Changeset
New revision 355 detected
Revision 355 committed by alexeyv on 2008-03-13 22:21:20
better error in Mapping.for when the domain class does not include Attributes module
M /skunkworks/trunk/app/plumbing/mapping/definition.rb
M /skunkworks/trunk/spec/unit/mapping/context_spec.rb
M /skunkworks/trunk/TODO
Revision 354 committed by alexeyv on 2008-03-13 22:11:54
Database.save takes multiple arguments
M /skunkworks/trunk/spec/integration/persistence_spec.rb
M /skunkworks/trunk/spec/unit/persistence/database/session_spec.rb
M /skunkworks/trunk/TODO
M /skunkworks/trunk/spec/integration/association_spec.rb
M /skunkworks/trunk/app/plumbing/persistence/database.rb
M /skunkworks/trunk/app/plumbing/persistence/database/session.rb
Build Log
/usr/ccrb/shared/projects/Plumbing/work $ ruby -e require 'rubygems' rescue nil; require 'rake'; load '/usr/ccrb/releases/20080225191351/tasks/cc_build.rake'; ARGV << '--nosearch' << 'cc:build'; Rake.application.run; ARGV.clear
mysql -u root < /usr/ccrb/shared/projects/Plumbing/work/spec/fixtures/test_schema.sql
(in /usr/ccrb/shared/projects/Plumbing/work)
[CruiseControl] Invoking Rake task "default"
......................................................................................................................................................................................................................F..........
1)
Spec::Mocks::MockExpectationError in 'Persistence::SqlMapper associations handling should not load book twice in building.windows[0].buildings (has_many -> belongs_to)'
Mock 'database adapter' expected :quote_field_names with (["address", "id"]) but received it with (["building_id", "foo_id"])
/usr/ccrb/shared/projects/Plumbing/work/app/plumbing/persistence/sql_mapper.rb:42:in `compile'
/usr/ccrb/shared/projects/Plumbing/work/app/plumbing/mapping/definition.rb:90:in `compile_with_debug_output'
/usr/ccrb/shared/projects/Plumbing/work/app/plumbing/mapping/context.rb:40:in `create_mapping'
/usr/ccrb/shared/projects/Plumbing/work/app/plumbing/mapping/context.rb:71:in `load_mapping'
/usr/ccrb/shared/projects/Plumbing/work/app/plumbing/mapping/context.rb:24:in `mapping_for'
/usr/ccrb/shared/projects/Plumbing/work/app/plumbing/persistence/database/session.rb:89:in `find_all'
/usr/ccrb/shared/projects/Plumbing/work/app/plumbing/persistence/database/session.rb:128:in `load_association'
/usr/ccrb/shared/projects/Plumbing/work/app/plumbing/persistence/database.rb:55:in `load_association'
/usr/ccrb/shared/projects/Plumbing/work/app/plumbing/persistence/database/session.rb:19:in `run'
/usr/ccrb/shared/projects/Plumbing/work/app/plumbing/persistence/database.rb:12:in `session'
/usr/ccrb/shared/projects/Plumbing/work/app/plumbing/persistence/database.rb:55:in `load_association'
/usr/ccrb/shared/projects/Plumbing/work/app/plumbing/persistence/association_proxy.rb:13:in `method_missing'
./spec/unit/persistence/sql_mapper_spec.rb:267:
Finished in 0.811567 seconds
225 examples, 1 failure
rake aborted!
Command ruby -I"/usr/ccrb/shared/projects/Plumbing/work/vendor/rspec/lib" "/usr/ccrb/shared/projects/Plumbing/work/vendor/rspec/bin/spec" "spec/unit/mapping/attributes_spec.rb" "spec/unit/mapping/context_spec.rb" "spec/unit/mapping/mapping_spec.rb" "spec/unit/mapping/definition_spec.rb" "spec/unit/models/currency_exchange_spec.rb" "spec/unit/models/ledger_spec.rb" "spec/unit/models/currency_spec.rb" "spec/unit/models/transaction_spec.rb" "spec/unit/models/money_spec.rb" "spec/unit/models/account_spec.rb" "spec/unit/persistence/finder_spec.rb" "spec/unit/persistence/database_spec.rb" "spec/unit/persistence/database/session_spec.rb" "spec/unit/persistence/adapters/mysql_adapter_spec.rb" "spec/unit/persistence/adapters/jdbc_adapter_spec.rb" "spec/unit/persistence/sql_mapper_spec.rb" "spec/unit/persistence/sql_mapping_context_spec.rb" "spec/unit/persistence/finder_registry_spec.rb" "spec/unit/persistence/association_proxy_spec.rb" "spec/unit/extensions_spec.rb" failed
(See full trace by running task with --trace)
dir : /usr/ccrb/shared/projects/Plumbing/work
command : ruby -e "require 'rubygems' rescue nil; require 'rake'; load '/usr/ccrb/releases/20080225191351/tasks/cc_build.rake'; ARGV << '--nosearch' << 'cc:build'; Rake.application.run; ARGV.clear"
executed command : echo /usr/ccrb/shared/projects/Plumbing/work $ ruby -e "require 'rubygems' rescue nil; require 'rake'; load '/usr/ccrb/releases/20080225191351/tasks/cc_build.rake'; ARGV << '--nosearch' << 'cc:build'; Rake.application.run; ARGV.clear" >> /usr/ccrb/shared/projects/Plumbing/build-355/build.log && ruby -e "require 'rubygems' rescue nil; require 'rake'; load '/usr/ccrb/releases/20080225191351/tasks/cc_build.rake'; ARGV << '--nosearch' << 'cc:build'; Rake.application.run; ARGV.clear" >> /usr/ccrb/shared/projects/Plumbing/build-355/build.log 2>&1
exitstatus: 1
STDERR TAIL START
STDERR TAIL END
Project Settings
# Project-specific configuration for CruiseControl.rb
Project.configure do |project|
project.email_notifier.emails = ['alexey.verkhovsky@gmail.com']
project.scheduler.polling_interval = 5.minutes
end

