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
30.14k stars 3.81k forks source link

roachtest: activerecord failed #95343

Closed cockroach-teamcity closed 1 year ago

cockroach-teamcity commented 1 year ago

roachtest.activerecord failed with artifacts on release-22.2.2-with-dms-changes @ dfffe9344771ed7ed45bc90f820a047b4fb7e7e5:

test artifacts and logs in: /artifacts/activerecord/run_1
(test_impl.go:292).Fatalf: 
Tests run on Cockroach v22.2.2-2-gdfffe93447
Tests run against activerecord 7.0.3
7347 Total Tests Run
7321 tests passed
26 tests failed
26 tests skipped
5 tests ignored
0 tests passed unexpectedly
26 tests failed unexpectedly
0 tests expected failed but skipped
0 tests expected failed but not run
---
--- PASS: SerializedAttributeTestWithYamlSafeLoad#test_unexpected_serialized_type (expected)
--- FAIL: PostgreSQLReferentialIntegrityTest#test_all_foreign_keys_valid_having_foreign_keys_in_multiple_schemas (unexpected)
--- FAIL: ActiveRecord::Migration::ForeignKeyChangeColumnWithSuffixTest#test_rename_reference_column_of_child_table (unexpected)
--- FAIL: PostgresqlRangeTest#test_timezone_array_awareness_tzrange (unexpected)
--- FAIL: ActiveRecord::Migration::ForeignKeyChangeColumnWithSuffixTest#test_remove_reference_column_of_child_table (unexpected)
--- FAIL: ActiveRecord::Migration::ForeignKeyChangeColumnWithSuffixTest#test_change_column_of_parent_table (unexpected)
--- FAIL: PostgresqlRangeTest#test_timezone_array_awareness_tsrange (unexpected)
--- FAIL: ActiveRecord::CockroachDB::Migration::PGChangeSchemaTest#test_change_string_to_date (unexpected)
--- PASS: SerializedAttributeTest#test_unexpected_serialized_type (expected)
--- FAIL: ActiveRecord::CockroachDB::Migration::PGChangeSchemaTest#test_change_type_with_symbol_with_timestamptz (unexpected)
--- FAIL: ActiveRecord::Migration::ForeignKeyChangeColumnWithPrefixTest#test_change_column_of_parent_table (unexpected)
--- FAIL: ActiveRecord::CockroachDB::Migration::PGChangeSchemaTest#test_change_type_with_symbol_using_timestamp_with_timestamptz_as_default (unexpected)
--- FAIL: ActiveRecord::CockroachDB::Migration::PGChangeSchemaTest#test_change_type_with_symbol (unexpected)
--- FAIL: ActiveRecord::Migration::ForeignKeyChangeColumnWithPrefixTest#test_remove_reference_column_of_child_table (unexpected)
--- FAIL: ActiveRecord::Migration::ForeignKeyChangeColumnWithPrefixTest#test_rename_reference_column_of_child_table (unexpected)
--- FAIL: ActiveRecord::CockroachDB::Migration::PGChangeSchemaTest#test_change_type_with_symbol_using_datetime (unexpected)
--- FAIL: ActiveRecord::Migration::ForeignKeyChangeColumnWithPrefixTest#test_remove_foreign_key_by_column_in_change_table (unexpected)
--- FAIL: PostgresqlTimestampWithTimeZoneTest#test_timestamp_with_zone_values_with_rails_time_zone_support_and_timestamptz_and_time_zone_set (unexpected)
--- FAIL: PostgresqlTimestampFixtureTest#test_bc_timestamp (unexpected)
--- FAIL: PostgresqlTimestampWithAwareTypesTest#test_timestamp_with_zone_values_with_rails_time_zone_support_and_time_zone_set (unexpected)
--- FAIL: ActiveRecord::CockroachDB::Migration::PGChangeSchemaTest#test_change_type_with_array (unexpected)
--- FAIL: ActiveRecord::CockroachDB::Migration::PGChangeSchemaTest#test_change_type_with_symbol_with_timestamptz_as_default (unexpected)
--- FAIL: ActiveRecord::Migration::ForeignKeyChangeColumnWithPrefixTest#test_rename_column_of_child_table (unexpected)
--- FAIL: ActiveRecord::CockroachDB::Migration::PGChangeSchemaTest#test_change_type_with_symbol_using_datetime_with_timestamptz_as_default (unexpected)
--- FAIL: ActiveRecord::Migration::ForeignKeyChangeColumnWithSuffixTest#test_remove_foreign_key_by_column_in_change_table (unexpected)
--- FAIL: ActiveRecord::Migration::ForeignKeyChangeColumnWithPrefixTest#test_remove_foreign_key_by_column (unexpected)
--- FAIL: ActiveRecord::Migration::ForeignKeyChangeColumnWithSuffixTest#test_rename_column_of_child_table (unexpected)
--- FAIL: ActiveRecord::Migration::ForeignKeyChangeColumnWithSuffixTest#test_remove_foreign_key_by_column (unexpected)
For a full summary look at the activerecord artifacts
An updated blocklist (activeRecordBlockList22_2) is available in the artifacts' activerecord log

Parameters: ROACHTEST_cloud=gce , ROACHTEST_cpu=4 , ROACHTEST_encrypted=false , ROACHTEST_fs=ext4 , ROACHTEST_localSSD=true , ROACHTEST_ssd=0

Help

See: [roachtest README](https://github.com/cockroachdb/cockroach/blob/master/pkg/cmd/roachtest/README.md) See: [How To Investigate \(internal\)](https://cockroachlabs.atlassian.net/l/c/SSSBr8c7)

Same failure on other branches

- #94211 roachtest: activerecord failed [C-test-failure O-roachtest O-robot T-sql-sessions branch-master] - #87580 roachtest: activerecord failed [C-test-failure O-roachtest O-robot branch-release-22.2] - #82805 roachtest: activerecord failed [C-test-failure O-roachtest O-robot T-sql-sessions branch-release-22.1]

/cc @cockroachdb/sql-sessions

This test on roachdash | Improve this report!

Jira issue: CRDB-23477

andyyang890 commented 1 year ago

The branch release-22.2.2-with-dms-changes has been deleted