alexey.verkhovsky@gmail.com
2008-Feb-19 03:13 UTC
[CruiseControl] RubyOnRails build 8896 failed
The build failed. CHANGES ------- Revision 8896 committed by bitsweat on 2008-02-19 02:56:05 Don''t assume all records from nested include are of same class. Closes #11154 [acechase] M /trunk/activerecord/lib/active_record/association_preload.rb A /trunk/activerecord/test/cases/associations/eager_load_nested_include_test.rb TEST FAILURES AND ERRORS ----------------------- Name: test_include_query(EagerLoadPolyAssocsTest) Type: Error Message: ActiveRecord::StatementInvalid: PGError: ERROR: syntax error at or near "Engine" at character 50 : CREATE TABLE "circles" ("id" serial primary key) Engine=MyISAM ./test/cases/../../lib/active_record/connection_adapters/abstract_adapter.rb:151:in `log'' ./test/cases/../../lib/active_record/connection_adapters/postgresql_adapter.rb:407:in `execute_without_counting'' ./test/cases/helper.rb:46:in `execute'' ./test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:104:in `create_table'' ./test/cases/associations/eager_load_nested_include_test.rb:17:in `create_test_tables'' ./test/cases/associations/eager_load_nested_include_test.rb:16:in `each'' ./test/cases/associations/eager_load_nested_include_test.rb:16:in `create_test_tables'' ./test/cases/associations/eager_load_nested_include_test.rb:8:in `setup'' ./test/cases/../../lib/../../activesupport/lib/active_support/core_ext/kernel/reporting.rb:40:in `silence_stream'' ./test/cases/associations/eager_load_nested_include_test.rb:8:in `setup'' ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:58:in `run'' Name: test_include_query(EagerLoadPolyAssocsTest) Type: Error Message: ActiveRecord::StatementInvalid: PGError: ERROR: table "circles" does not exist : DROP TABLE "circles" ./test/cases/../../lib/active_record/connection_adapters/abstract_adapter.rb:151:in `log'' ./test/cases/../../lib/active_record/connection_adapters/postgresql_adapter.rb:407:in `execute_without_counting'' ./test/cases/helper.rb:46:in `execute'' ./test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:116:in `drop_table'' ./test/cases/associations/eager_load_nested_include_test.rb:45:in `drop_tables'' ./test/cases/associations/eager_load_nested_include_test.rb:43:in `each'' ./test/cases/associations/eager_load_nested_include_test.rb:43:in `drop_tables'' ./test/cases/../../lib/../../activesupport/lib/active_support/core_ext/kernel/reporting.rb:40:in `silence_stream'' ./test/cases/associations/eager_load_nested_include_test.rb:42:in `drop_tables'' ./test/cases/associations/eager_load_nested_include_test.rb:35:in `teardown'' ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:69:in `run'' Name: test_include_query(EagerLoadPolyAssocsTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: near "Engine": syntax error: CREATE TABLE "circles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL) Engine=MyISAM ./test/cases/../../lib/active_record/connection_adapters/abstract_adapter.rb:151:in `log'' ./test/cases/../../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/cases/../../lib/active_record/connection_adapters/sqlite_adapter.rb:353:in `catch_schema_changes'' ./test/cases/../../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/cases/helper.rb:46:in `execute'' ./test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:104:in `create_table'' ./test/cases/associations/eager_load_nested_include_test.rb:17:in `create_test_tables'' ./test/cases/associations/eager_load_nested_include_test.rb:16:in `each'' ./test/cases/associations/eager_load_nested_include_test.rb:16:in `create_test_tables'' ./test/cases/associations/eager_load_nested_include_test.rb:8:in `setup'' ./test/cases/../../lib/../../activesupport/lib/active_support/core_ext/kernel/reporting.rb:40:in `silence_stream'' ./test/cases/associations/eager_load_nested_include_test.rb:8:in `setup'' ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:58:in `run'' Name: test_include_query(EagerLoadPolyAssocsTest) Type: Error Message: ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: circles: DROP TABLE "circles" ./test/cases/../../lib/active_record/connection_adapters/abstract_adapter.rb:151:in `log'' ./test/cases/../../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/cases/../../lib/active_record/connection_adapters/sqlite_adapter.rb:353:in `catch_schema_changes'' ./test/cases/../../lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute_without_counting'' ./test/cases/helper.rb:46:in `execute'' ./test/cases/../../lib/active_record/connection_adapters/abstract/schema_statements.rb:116:in `drop_table'' ./test/cases/associations/eager_load_nested_include_test.rb:45:in `drop_tables'' ./test/cases/associations/eager_load_nested_include_test.rb:43:in `each'' ./test/cases/associations/eager_load_nested_include_test.rb:43:in `drop_tables'' ./test/cases/../../lib/../../activesupport/lib/active_support/core_ext/kernel/reporting.rb:40:in `silence_stream'' ./test/cases/associations/eager_load_nested_include_test.rb:42:in `drop_tables'' ./test/cases/associations/eager_load_nested_include_test.rb:35:in `teardown'' ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:69:in `run'' See http://cruisecontrolrb.thoughtworks.com/builds/RubyOnRails/8896 for details. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
On Mon, Feb 18, 2008 at 09:13:02PM -0600, alexey.verkhovsky@gmail.com wrote:> Name: test_include_query(EagerLoadPolyAssocsTest) > Type: Error > Message: ActiveRecord::StatementInvalid: PGError: ERROR: syntax error at or near "Engine" at character 50 > > : CREATE TABLE "circles" ("id" serial primary key) Engine=MyISAMUhm... wow? This is pretty obviously due to the :options => "Engine=MyISAM" in the newly created activerecord/test/cases/associations/eager_load_nested_include_test.rb. I''m wondering what the use of it could be, since it doesn''t appear to be a transaction-related test. I''m in the middle of a system upgrade and my test databases are all a-quiver, but I''ll create a ticket in Trac with a patch once I''m done with that if nobody beats me to it. <grin> - Matt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---