cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
29.84k stars 3.77k forks source link

roachtest: activerecord failed #127333

Closed cockroach-teamcity closed 1 month ago

cockroach-teamcity commented 1 month ago

roachtest.activerecord failed with artifacts on release-24.1.3-rc @ 984bb6088542c5ef9b9ce8c44af6d980bd7db6f0:

--- FAIL: HasAndBelongsToManyAssociationsTest#test_destroying (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_new_with_values_in_collection (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_habtm_respects_select_query_method (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_habtm_saving_multiple_relationships (unexpected)
--- PASS: SerializedAttributeTestWithYamlSafeLoad#test_unexpected_serialized_type (expected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_destroying_many (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_assign_ids_ignoring_blanks (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_find_scoped_grouped (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_new_aliased_to_build (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_consider_type (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_has_and_belongs_to_many_is_usable_with_belongs_to_required_by_default (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_scoped_find_on_through_association_doesnt_return_read_only_records (unexpected)
--- FAIL: ActiveRecord::ConnectionAdapters::SchemaCacheTest#test_yaml_loads_5_1_dump_without_indexes_still_queries_for_indexes (unexpected)
--- FAIL: ActiveRecord::ConnectionAdapters::SchemaCacheTest#test_yaml_dump_and_load (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_assign_ids (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_get_ids (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_alternate_database (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_symbol_join_table (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_habtm_respects_select (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_find_in_association_with_options (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_with_symbol_class_name (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_custom_join_table (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_dynamic_find_should_respect_association_order (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_include_method_in_has_and_belongs_to_many_association_should_return_true_for_instance_added_with_build (unexpected)
--- FAIL: CockroachDB::FixturesResetPkSequenceTest#test_resets_to_min_pk_with_specified_pk_and_sequence (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_preloaded_associations_size (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_attributes_are_being_set_when_initialized_from_habtm_association_with_multiple_where_clauses (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_adding_multiple (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_distinct_after_the_fact (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_build_by_new_record (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_singular_ids_are_reloaded_after_collection_concat (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_proper_usage_of_primary_keys_and_join_table (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_creation_respects_hash_condition (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_distinct_when_association_already_loaded (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_adding_type_mismatch (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_dynamic_find_should_respect_association_include (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_build (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_has_many_through_polymorphic_has_manys_works (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_join_middle_table_alias (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_removing_associations_on_destroy (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_habtm_with_reflection_using_class_name_and_fixtures (unexpected)
--- FAIL: InheritanceAttributeTest#test_inheritance_new_with_subclass_as_default (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_join_with_group (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_distinct_option_prevents_duplicate_push (unexpected)
--- FAIL: ActiveRecord::ConnectionAdapters::SchemaCacheTest#test_marshal_dump_and_load_with_gzip (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_destroy_associations_destroys_multiple_associations (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_distinct_before_the_fact (unexpected)
For a full summary look at the activerecord artifacts 
An updated blocklist (activeRecordBlocklist) is available in the artifacts' activerecord log
test artifacts and logs in: /artifacts/activerecord/run_1

Parameters:

See: roachtest README

See: How To Investigate (internal)

See: Grafana

Same failure on other branches

- #126984 roachtest: activerecord failed [C-test-failure O-roachtest O-robot P-3 T-sql-foundations branch-release-24.2] - #125730 roachtest: activerecord failed [C-test-failure O-roachtest O-robot P-3 T-sql-foundations branch-release-24.1.2-rc] - #121343 roachtest: activerecord failed [C-test-failure O-roachtest O-robot P-3 T-sql-foundations branch-release-24.1] - #118754 roachtest: activerecord failed [C-test-failure O-roachtest O-robot P-3 T-sql-foundations branch-master]

/cc @cockroachdb/sql-foundations

This test on roachdash | Improve this report!

Jira issue: CRDB-40387

cockroach-teamcity commented 1 month ago

roachtest.activerecord failed with artifacts on release-24.1.3-rc @ 984bb6088542c5ef9b9ce8c44af6d980bd7db6f0:

--- FAIL: HasAndBelongsToManyAssociationsTest#test_destroying_many (unexpected)
--- FAIL: HasManyAssociationsTest#test_creating_using_primary_key (unexpected)
--- FAIL: CalculationsTest#test_pluck_with_selection_clause (unexpected)
--- FAIL: HasManyAssociationsTest#test_dependent_association_respects_optional_hash_conditions_on_delete (unexpected)
--- FAIL: HasOneAssociationsTest#test_create_bang_with_block (unexpected)
--- FAIL: CalculationsTest#test_pick_delegate_to_all (unexpected)
--- FAIL: EagerAssociationTest#test_eager_load_belongs_to_quotes_table_and_column_names (unexpected)
--- FAIL: FinderTest#test_#find_by_with_composite_primary_key (unexpected)
--- FAIL: CalculationsTest#test_should_return_float_average_if_db_returns_such (unexpected)
--- FAIL: StrictLoadingTest#test_strict_loading_with_has_many_through_cascade_down_to_middle_records (unexpected)
--- FAIL: HasManyAssociationsTest#test_deleting_by_integer_id (unexpected)
--- FAIL: TestDefaultAutosaveAssociationOnAHasManyAssociation#test_adding_unsavable_association (unexpected)
--- FAIL: IntegrationTest#test_to_param_class_method_truncates_case_shown_in_doc (unexpected)
--- FAIL: HasManyAssociationsTest#test_calling_first_nth_or_last_on_association_should_not_load_association (unexpected)
--- FAIL: CalculationsTest#test_ids_with_preload (unexpected)
--- FAIL: FinderTest#test_include_on_unloaded_relation_with_having_referencing_aliased_select (unexpected)
--- FAIL: FinderTest#test_exists_with_order_and_distinct (unexpected)
--- FAIL: StrictLoadingTest#test_strict_loading_with_has_one_through_does_not_prevent_creation_of_association (unexpected)
--- FAIL: CalculationsTest#test_pluck_type_cast_with_conflict_column_names (unexpected)
--- FAIL: EagerAssociationTest#test_including_duplicate_objects_from_has_many (unexpected)
--- FAIL: EagerAssociationTest#test_preloading_of_instance_dependent_associations_is_supported (unexpected)
--- FAIL: CalculationsTest#test_ids_on_relation (unexpected)
--- FAIL: IntegrationTest#test_cache_key_format_is_not_too_precise (unexpected)
--- FAIL: EagerAssociationTest#test_loading_association_with_string_joins (unexpected)
--- FAIL: EagerAssociationTest#test_eager_association_loading_with_belongs_to (unexpected)
--- FAIL: CalculationsTest#test_should_return_zero_if_sum_conditions_return_nothing (unexpected)
--- FAIL: CalculationsTest#test_no_queries_for_empty_relation_on_average (unexpected)
--- FAIL: HasOneAssociationsTest#test_update_with_foreign_and_primary_keys (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_build (unexpected)
--- FAIL: FinderTest#test_hash_condition_find_empty_array_with_aggregate_having_multiple_mappings (unexpected)
--- FAIL: HasOneAssociationsTest#test_association_change_calls_delete (unexpected)
--- FAIL: TestDefaultAutosaveAssociationOnAHasOneAssociation#test_build_before_child_saved (unexpected)
--- FAIL: SignedIdTest#test_cannot_get_a_signed_ID_for_a_new_record (unexpected)
--- FAIL: HasManyAssociationsTest#test_deleting_a_collection (unexpected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_has_and_belongs_to_many_associations_on_new_records_use_null_relations (unexpected)
--- FAIL: FinderTest#test_find_with_prepared_select_statement (unexpected)
--- FAIL: CalculationsTest#test_should_order_by_calculation (unexpected)
--- FAIL: HasManyAssociationsTest#test_association_proxy_transaction_method_starts_transaction_in_association_class (unexpected)
--- FAIL: CalculationsTest#test_count_should_shortcut_with_limit_zero (unexpected)
--- FAIL: IntegrationTest#test_cache_key_is_stable_with_versioning_on (unexpected)
--- FAIL: HasOneAssociationsTest#test_dependency_should_halt_parent_destruction (unexpected)
--- FAIL: FinderTest#test_include_when_non_AR_object_passed_on_loaded_relation (unexpected)
--- FAIL: FinderTest#test_third_to_last (unexpected)
--- FAIL: EagerAssociationTest#test_limited_eager_with_numeric_in_association (unexpected)
--- FAIL: TestDefaultAutosaveAssociationOnABelongsToAssociation#test_assignment_before_parent_saved (unexpected)
--- FAIL: CockroachDB::FixturesResetPkSequenceTest#test_resets_to_min_pk_with_default_pk_and_sequence (unexpected)
--- FAIL: FinderTest#test_find_on_hash_conditions_with_qualified_attribute_dot_notation_string (unexpected)
For a full summary look at the activerecord artifacts 
An updated blocklist (activeRecordBlocklist) is available in the artifacts' activerecord log
test artifacts and logs in: /artifacts/activerecord/run_1

Parameters:

See: roachtest README

See: How To Investigate (internal)

See: Grafana

Same failure on other branches

- #126984 roachtest: activerecord failed [C-test-failure O-roachtest O-robot P-3 T-sql-foundations branch-release-24.2] - #125730 roachtest: activerecord failed [C-test-failure O-roachtest O-robot P-3 T-sql-foundations branch-release-24.1.2-rc] - #121343 roachtest: activerecord failed [C-test-failure O-roachtest O-robot P-3 T-sql-foundations branch-release-24.1] - #118754 roachtest: activerecord failed [C-test-failure O-roachtest O-robot P-3 T-sql-foundations branch-master]

This test on roachdash | Improve this report!