Created
August 26, 2013 03:31
-
-
Save treble37/6337914 to your computer and use it in GitHub Desktop.
Error when running rails 4.1 beta "bundle exec rake test_postgresql"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Finished in 167.233162s, 23.0516 runs/s, 65.3339 assertions/s. | |
1) Error: | |
TimestampTest#test_bc_timestamp: | |
ActiveRecord::StatementInvalid: PG::DatetimeFieldOverflow: ERROR: date/time field value out of range: "0000-01-01 07:59:59.000000 BC" | |
: INSERT INTO "developers" ("created_at", "created_on", "name", "updated_at", "updated_on") VALUES ($1, $2, $3, $4, $5) RETURNING "id" | |
/home/tim/Desktop/github_projects/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:783:in `get_last_result' | |
/home/tim/Desktop/github_projects/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:783:in `exec_cache' | |
/home/tim/Desktop/github_projects/rails/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb:139:in `block in exec_query' | |
/home/tim/Desktop/github_projects/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:430:in `block in log' | |
/home/tim/Desktop/github_projects/rails/activesupport/lib/active_support/notifications/instrumenter.rb:20:in `instrument' | |
/home/tim/Desktop/github_projects/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:425:in `log' | |
/home/tim/Desktop/github_projects/rails/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb:137:in `exec_query' | |
/home/tim/Desktop/github_projects/rails/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb:183:in `exec_insert' | |
/home/tim/Desktop/github_projects/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:94:in `insert' | |
/home/tim/Desktop/github_projects/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `insert' | |
/home/tim/Desktop/github_projects/rails/activerecord/lib/active_record/relation.rb:63:in `insert' | |
/home/tim/Desktop/github_projects/rails/activerecord/lib/active_record/persistence.rb:486:in `create_record' | |
/home/tim/Desktop/github_projects/rails/activerecord/lib/active_record/attribute_methods/dirty.rb:67:in `create_record' | |
/home/tim/Desktop/github_projects/rails/activerecord/lib/active_record/callbacks.rb:303:in `block in create_record' | |
/home/tim/Desktop/github_projects/rails/activesupport/lib/active_support/callbacks.rb:113:in `call' | |
/home/tim/Desktop/github_projects/rails/activesupport/lib/active_support/callbacks.rb:113:in `call' | |
/home/tim/Desktop/github_projects/rails/activesupport/lib/active_support/callbacks.rb:166:in `block in halting' | |
/home/tim/Desktop/github_projects/rails/activesupport/lib/active_support/callbacks.rb:215:in `call' | |
/home/tim/Desktop/github_projects/rails/activesupport/lib/active_support/callbacks.rb:215:in `block in halting_and_conditional' | |
/home/tim/Desktop/github_projects/rails/activesupport/lib/active_support/callbacks.rb:215:in `call' | |
/home/tim/Desktop/github_projects/rails/activesupport/lib/active_support/callbacks.rb:215:in `block in halting_and_conditional' | |
/home/tim/Desktop/github_projects/rails/activesupport/lib/active_support/callbacks.rb:215:in `call' | |
/home/tim/Desktop/github_projects/rails/activesupport/lib/active_support/callbacks.rb:215:in `block in halting_and_conditional' | |
/home/tim/Desktop/github_projects/rails/activesupport/lib/active_support/callbacks.rb:215:in `call' | |
/home/tim/Desktop/github_projects/rails/activesupport/lib/active_support/callbacks.rb:215:in `block in halting_and_conditional' | |
/home/tim/Desktop/github_projects/rails/activesupport/lib/active_support/callbacks.rb:215:in `call' | |
/home/tim/Desktop/github_projects/rails/activesupport/lib/active_support/callbacks.rb:215:in `block in halting_and_conditional' | |
/home/tim/Desktop/github_projects/rails/activesupport/lib/active_support/callbacks.rb:215:in `call' | |
/home/tim/Desktop/github_projects/rails/activesupport/lib/active_support/callbacks.rb:215:in `block in halting_and_conditional' | |
/home/tim/Desktop/github_projects/rails/activesupport/lib/active_support/callbacks.rb:86:in `call' | |
/home/tim/Desktop/github_projects/rails/activesupport/lib/active_support/callbacks.rb:86:in `run_callbacks' | |
/home/tim/Desktop/github_projects/rails/activerecord/lib/active_record/callbacks.rb:303:in `create_record' | |
/home/tim/Desktop/github_projects/rails/activerecord/lib/active_record/timestamp.rb:57:in `create_record' | |
/home/tim/Desktop/github_projects/rails/activerecord/lib/active_record/persistence.rb:466:in `create_or_update' | |
/home/tim/Desktop/github_projects/rails/activerecord/lib/active_record/callbacks.rb:299:in `block in create_or_update' | |
/home/tim/Desktop/github_projects/rails/activesupport/lib/active_support/callbacks.rb:113:in `call' | |
/home/tim/Desktop/github_projects/rails/activesupport/lib/active_support/callbacks.rb:113:in `call' | |
/home/tim/Desktop/github_projects/rails/activesupport/lib/active_support/callbacks.rb:166:in `block in halting' | |
/home/tim/Desktop/github_projects/rails/activesupport/lib/active_support/callbacks.rb:86:in `call' | |
/home/tim/Desktop/github_projects/rails/activesupport/lib/active_support/callbacks.rb:86:in `run_callbacks' | |
/home/tim/Desktop/github_projects/rails/activerecord/lib/active_record/callbacks.rb:299:in `create_or_update' | |
/home/tim/Desktop/github_projects/rails/activerecord/lib/active_record/persistence.rb:128:in `save!' | |
/home/tim/Desktop/github_projects/rails/activerecord/lib/active_record/validations.rb:57:in `save!' | |
/home/tim/Desktop/github_projects/rails/activerecord/lib/active_record/attribute_methods/dirty.rb:30:in `save!' | |
/home/tim/Desktop/github_projects/rails/activerecord/lib/active_record/transactions.rb:277:in `block in save!' | |
/home/tim/Desktop/github_projects/rails/activerecord/lib/active_record/transactions.rb:329:in `block in with_transaction_returning_status' | |
/home/tim/Desktop/github_projects/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:200:in `block in transaction' | |
/home/tim/Desktop/github_projects/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:208:in `within_new_transaction' | |
/home/tim/Desktop/github_projects/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:200:in `transaction' | |
/home/tim/Desktop/github_projects/rails/activerecord/lib/active_record/transactions.rb:211:in `transaction' | |
/home/tim/Desktop/github_projects/rails/activerecord/lib/active_record/transactions.rb:326:in `with_transaction_returning_status' | |
/home/tim/Desktop/github_projects/rails/activerecord/lib/active_record/transactions.rb:277:in `save!' | |
/home/tim/Desktop/github_projects/rails/activerecord/lib/active_record/validations.rb:41:in `create!' | |
/home/tim/Desktop/github_projects/rails/activerecord/test/cases/adapters/postgresql/timestamp_test.rb:92:in `test_bc_timestamp' | |
3855 runs, 10926 assertions, 0 failures, 1 errors, 83 skips | |
rake aborted! | |
Command failed with status (1): [ruby -w -I"lib:test" -I"/home/tim/.rvm/gems/ruby-2.0.0-p247@global/gems/rake-10.1.0/lib" "/home/tim/.rvm/gems/ruby-2.0.0-p247@global/gems/rake-10.1.0/lib/rake/rake_test_loader.rb" "test/cases/adapter_test.rb" "test/cases/adapters/postgresql/active_schema_test.rb" "test/cases/adapters/postgresql/array_test.rb" "test/cases/adapters/postgresql/bytea_test.rb" "test/cases/adapters/postgresql/connection_test.rb" "test/cases/adapters/postgresql/datatype_test.rb" "test/cases/adapters/postgresql/explain_test.rb" "test/cases/adapters/postgresql/hstore_test.rb" "test/cases/adapters/postgresql/json_test.rb" "test/cases/adapters/postgresql/ltree_test.rb" "test/cases/adapters/postgresql/postgresql_adapter_test.rb" "test/cases/adapters/postgresql/quoting_test.rb" "test/cases/adapters/postgresql/schema_authorization_test.rb" "test/cases/adapters/postgresql/schema_test.rb" "test/cases/adapters/postgresql/sql_types_test.rb" "test/cases/adapters/postgresql/statement_pool_test.rb" "test/cases/adapters/postgresql/timestamp_test.rb" "test/cases/adapters/postgresql/utils_test.rb" "test/cases/adapters/postgresql/uuid_test.rb" "test/cases/adapters/postgresql/view_test.rb" "test/cases/adapters/postgresql/xml_test.rb" "test/cases/aggregations_test.rb" "test/cases/ar_schema_test.rb" "test/cases/associations/association_scope_test.rb" "test/cases/associations/belongs_to_associations_test.rb" "test/cases/associations/callbacks_test.rb" "test/cases/associations/cascaded_eager_loading_test.rb" "test/cases/associations/eager_load_includes_full_sti_class_test.rb" "test/cases/associations/eager_load_nested_include_test.rb" "test/cases/associations/eager_singularization_test.rb" "test/cases/associations/eager_test.rb" "test/cases/associations/extension_test.rb" "test/cases/associations/has_and_belongs_to_many_associations_test.rb" "test/cases/associations/has_many_associations_test.rb" "test/cases/associations/has_many_through_associations_test.rb" "test/cases/associations/has_one_associations_test.rb" "test/cases/associations/has_one_through_associations_test.rb" "test/cases/associations/inner_join_association_test.rb" "test/cases/associations/inverse_associations_test.rb" "test/cases/associations/join_dependency_test.rb" "test/cases/associations/join_model_test.rb" "test/cases/associations/nested_through_associations_test.rb" "test/cases/associations_test.rb" "test/cases/attribute_methods/read_test.rb" "test/cases/attribute_methods/serialization_test.rb" "test/cases/attribute_methods_test.rb" "test/cases/autosave_association_test.rb" "test/cases/base_test.rb" "test/cases/batches_test.rb" "test/cases/binary_test.rb" "test/cases/bind_parameter_test.rb" "test/cases/calculations_test.rb" "test/cases/callbacks_test.rb" "test/cases/clone_test.rb" "test/cases/coders/yaml_column_test.rb" "test/cases/column_alias_test.rb" "test/cases/column_definition_test.rb" "test/cases/column_test.rb" "test/cases/connection_adapters/abstract_adapter_test.rb" "test/cases/connection_adapters/connection_handler_test.rb" "test/cases/connection_adapters/connection_specification_test.rb" "test/cases/connection_adapters/quoting_test.rb" "test/cases/connection_adapters/schema_cache_test.rb" "test/cases/connection_management_test.rb" "test/cases/connection_pool_test.rb" "test/cases/connection_specification/resolver_test.rb" "test/cases/core_test.rb" "test/cases/counter_cache_test.rb" "test/cases/custom_locking_test.rb" "test/cases/database_statements_test.rb" "test/cases/date_time_test.rb" "test/cases/defaults_test.rb" "test/cases/dirty_test.rb" "test/cases/disconnected_test.rb" "test/cases/dup_test.rb" "test/cases/explain_subscriber_test.rb" "test/cases/explain_test.rb" "test/cases/finder_respond_to_test.rb" "test/cases/finder_test.rb" "test/cases/fixture_set/file_test.rb" "test/cases/fixtures_test.rb" "test/cases/forbidden_attributes_protection_test.rb" "test/cases/habtm_destroy_order_test.rb" "test/cases/hot_compatibility_test.rb" "test/cases/i18n_test.rb" "test/cases/inheritance_test.rb" "test/cases/integration_test.rb" "test/cases/invalid_connection_test.rb" "test/cases/invalid_date_test.rb" "test/cases/invertible_migration_test.rb" "test/cases/json_serialization_test.rb" "test/cases/locking_test.rb" "test/cases/log_subscriber_test.rb" "test/cases/migration/change_schema_test.rb" "test/cases/migration/change_table_test.rb" "test/cases/migration/column_attributes_test.rb" "test/cases/migration/column_positioning_test.rb" "test/cases/migration/columns_test.rb" "test/cases/migration/command_recorder_test.rb" "test/cases/migration/create_join_table_test.rb" "test/cases/migration/index_test.rb" "test/cases/migration/logger_test.rb" "test/cases/migration/references_index_test.rb" "test/cases/migration/references_statements_test.rb" "test/cases/migration/rename_table_test.rb" "test/cases/migration/table_and_index_test.rb" "test/cases/migration_test.rb" "test/cases/migrator_test.rb" "test/cases/mixin_test.rb" "test/cases/modules_test.rb" "test/cases/multiparameter_attributes_test.rb" "test/cases/multiple_db_test.rb" "test/cases/nested_attributes_test.rb" "test/cases/nested_attributes_with_callbacks_test.rb" "test/cases/persistence_test.rb" "test/cases/pooled_connections_test.rb" "test/cases/primary_keys_test.rb" "test/cases/query_cache_test.rb" "test/cases/quoting_test.rb" "test/cases/readonly_test.rb" "test/cases/reaper_test.rb" "test/cases/reflection_test.rb" "test/cases/relation/predicate_builder_test.rb" "test/cases/relation/where_chain_test.rb" "test/cases/relation/where_test.rb" "test/cases/relation_test.rb" "test/cases/relations_test.rb" "test/cases/reload_models_test.rb" "test/cases/result_test.rb" "test/cases/sanitize_test.rb" "test/cases/schema_dumper_test.rb" "test/cases/scoping/default_scoping_test.rb" "test/cases/scoping/named_scoping_test.rb" "test/cases/scoping/relation_scoping_test.rb" "test/cases/serialization_test.rb" "test/cases/serialized_attribute_test.rb" "test/cases/statement_cache_test.rb" "test/cases/store_test.rb" "test/cases/tasks/database_tasks_test.rb" "test/cases/tasks/mysql_rake_test.rb" "test/cases/tasks/postgresql_rake_test.rb" "test/cases/tasks/sqlite_rake_test.rb" "test/cases/timestamp_test.rb" "test/cases/transaction_callbacks_test.rb" "test/cases/transaction_isolation_test.rb" "test/cases/transactions_test.rb" "test/cases/unconnected_test.rb" "test/cases/validations/association_validation_test.rb" "test/cases/validations/i18n_generate_message_validation_test.rb" "test/cases/validations/i18n_validation_test.rb" "test/cases/validations/presence_validation_test.rb" "test/cases/validations/uniqueness_validation_test.rb" "test/cases/validations_test.rb" "test/cases/xml_serialization_test.rb" "test/cases/yaml_serialization_test.rb" ] | |
/home/tim/.rvm/gems/ruby-2.0.0-p247@rails_contribute/bin/ruby_noexec_wrapper:14:in `eval' | |
/home/tim/.rvm/gems/ruby-2.0.0-p247@rails_contribute/bin/ruby_noexec_wrapper:14:in `<main>' | |
Tasks: TOP => test_postgresql | |
(See full trace by running task with --trace) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment