cockroachdb / cockroachdb/cockroach

release-26.3: roachtest: activerecord failed

Open
#175,678 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

branch-release-26.3 C-test-failure O-roachtest O-robot release-blocker T-sql-foundations
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

roachtest.activerecord failed with artifacts on release-26.3 @ 038fbd3b2f63f29429283d3b09c5c551ea69ecf3:

Failed with:

(orm_helpers.go:225).summarizeFailed: 
Tests run on Cockroach v26.3.2-dev-038fbd3b2f63f29429283d3b09c5c551ea69ecf3
Tests run against activerecord 8.1.0
8905 Total Tests Run
8902 tests passed
3 tests failed
45 tests skipped
60 tests ignored
0 tests passed unexpectedly
2 tests failed unexpectedly
0 tests expected failed but skipped
0 tests expected failed but not run
---
--- FAIL: HasAndBelongsToManyAssociationsTest#test_destroy_associations_destroys_multiple_associations (unexpected)
--- PASS: SerializedAttributeTest#test_unexpected_serialized_type (expected)
--- FAIL: HasAndBelongsToManyAssociationsTest#test_destruction_does_not_error_without_primary_key (unexpected)
--- PASS: SerializedAttributeTestWithYamlSafeLoad#test_unexpected_serialized_type (expected)
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

Cluster Node to Ip Mapping:

Node Public IP Private IP
teamcity-21524543-1789883928-05-n1cpu4-0001 10.91.99.181

Parameters:

  • arch=amd64
  • cloud=gce
  • coverageBuild=false
  • cpu=4
  • diskCount=0
  • encrypted=false
  • fs=ext4
  • localSSD=true
  • metamorphicDRPC=true
  • metamorphicLeases=leader
  • runtimeAssertionsBuild=false
Help

See: roachtest README

See: How To Investigate (internal)

See: Grafana

See: Datadog Logs

Same failure on other branches

  • #174829 roachtest: activerecord failed [C-test-failure O-roachtest O-robot T-sql-foundations branch-release-25.2.24-rc release-blocker]
  • #174828 release-26.3.2-rc: roachtest: activerecord failed [B-runtime-assertions-enabled C-test-failure O-roachtest O-robot P-1 T-sql-foundations branch-release-26.3.2-rc]
  • #174827 release-26.2.7-rc: roachtest: activerecord failed [C-test-failure O-roachtest O-robot T-sql-foundations branch-release-26.2.7-rc]
  • #174826 roachtest: activerecord failed [C-test-failure O-roachtest O-robot T-sql-foundations branch-release-25.4.17-rc release-blocker]

/cc @cockroachlabs/sql-foundations

This test on roachdash | Improve this report!

Jira issue: CRDB-68568

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The failure is summarized at orm_helpers.go:225; begin by inspecting the ActiveRecord artifacts under /artifacts/activerecord/run_1 and the two failing HasAndBelongsToManyAssociationsTest cases. Use the roachtest README to rerun the ActiveRecord compatibility test against commit 038fbd3b2f63f29429283d3b09c5c551ea69ecf3, then identify the cause and make both unexpected failures pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, ruby
Domain
databases, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.