cockroachdb / cockroachdb/cockroach
roachtest: activerecord failed
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
roachtest.activerecord [failed](https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Nightlies_Roachtests_RoachtestNightlyGcePrivateBazel/21503640?buildTab=log) with [artifacts](https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Nightlies_Roachtests_RoachtestNightlyGcePrivateBazel/21503640?buildTab=artifacts#/activerecord) on release-25.2.24-rc @ [92c7311721160180bed1228023264f6df947fc1e](https://github.com/cockroachdb/cockroach/commits/92c7311721160180bed1228023264f6df947fc1e):
```
(orm_helpers.go:224).summarizeFailed:
Tests run on Cockroach v25.2.24-dev-92c7311721160180bed1228023264f6df947fc1e
Tests run against activerecord 8.1.0
1319 Total Tests Run
1315 tests passed
4 tests failed
5 tests skipped
8 tests ignored
0 tests passed unexpectedly
4 tests failed unexpectedly
0 tests expected failed but skipped
1 test expected failed but not run
---
--- PASS: SerializedAttributeTestWithYamlSafeLoad#test_unexpected_serialized_type (expected)
--- FAIL: SerializedAttributeTestWithYamlSafeLoad#test_serialized_json_attribute_returns_unserialized_value (unexpected)
--- FAIL: SerializedAttributeTestWithYamlSafeLoad#test_json_symbolize_names_returns_symbolized_names (unexpected)
--- FAIL: SerializedAttributeTestWithYamlSafeLoad#test_json_read_legacy_null (unexpected)
--- FAIL: SerializedAttributeTestWithYamlSafeLoad#test_decorated_type_with_decorator_block (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:
- arch=amd64
- cloud=gce
- coverageBuild=false
- cpu=4
- diskCount=0
- encrypted=false
- fs=ext4
- localSSD=true
- metamorphicBufferedSender=true
- metamorphicLeases=default
- runtimeAssertionsBuild=false
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)
See: [Grafana](https://go.crdb.dev/roachtest-grafana/teamcity-21503640/activerecord/1788844247144/1788845429141)
Same failure on other branches
- #174826 roachtest: activerecord failed [C-test-failure O-roachtest O-robot T-sql-foundations branch-release-25.4.17-rc release-blocker]
- #174371 roachtest: activerecord failed [C-test-failure O-roachtest O-robot P-2 T-sql-foundations branch-master]
/cc @cockroachlabs/sql-foundations
[This test on roachdash](https://roachdash.crdb.dev/?filter=status:open%20t:.*activerecord.*&sort=title+created&display=lastcommented+project) | [Improve this report!](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/bazci/githubpost/issues)
Contributor guide
Research direction
Start with the activerecord artifacts and logs referenced in the report, then inspect the failure summary at orm_helpers.go:224. Compare the four failing SerializedAttributeTestWithYamlSafeLoad tests with the ActiveRecord test run on CockroachDB. Done means the unexpected failures are resolved and the activerecord roachtest passes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, ruby, sql
- Domain
- databases, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100