cockroachdb / cockroachdb/cockroach

basalt-26.3: roachtest: activerecord failed

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

Nobody has claimed this yet.

B-runtime-assertions-enabled basalt-green branch-basalt-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

Note: This build has runtime assertions enabled. If the same failure was hit in a run without assertions enabled, there should be a similar failure without this message. If there isn't one, then this failure is likely due to an assertion violation or (assertion) timeout.

roachtest.activerecord failed with artifacts on basalt-26.3 @ 410866d934770553b0ff008caa721a72632dbaaa:

Failed with:

(orm_helpers.go:232).summarizeFailed: 
Tests run on Cockroach v26.3.2-dev-410866d934770553b0ff008caa721a72632dbaaa
Tests run against activerecord 8.1.0
8905 Total Tests Run
8901 tests passed
4 tests failed
45 tests skipped
60 tests ignored
0 tests passed unexpectedly
3 tests failed unexpectedly
0 tests expected failed but skipped
0 tests expected failed but not run
---
--- PASS: SerializedAttributeTestWithYamlSafeLoad#test_unexpected_serialized_type (expected)
--- FAIL: CalculationsTest#test_should_calculate_grouped_by_function_with_table_alias (unexpected)
--- FAIL: CalculationsTest#test_should_calculate_grouped_by_function (unexpected)
--- PASS: SerializedAttributeTest#test_unexpected_serialized_type (expected)
--- FAIL: CalculationsTest#test_pluck_loaded_relation_sql_fragment (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

Cluster Node to Ip Mapping:

Node Public IP Private IP
teamcity-21524604-1789884520-14-n1cpu4-0001 10.91.100.11

Parameters:

  • MetamorphicBasaltMultiAZ=false
  • arch=amd64
  • cloud=gce
  • coverageBuild=false
  • cpu=4
  • diskCount=0
  • encrypted=false
  • fs=ext4
  • localSSD=true
  • metamorphicDRPC=true
  • metamorphicLeases=default
  • metamorphicWriteBuffering=true
  • runtimeAssertionsBuild=true
  • storageNodesVersion=v0.1.20-nightly.20260918
Help

See: roachtest README

See: How To Investigate (internal)

See: Grafana

Logs were not uploaded to Datadog

/cc @cockroachlabs/sql-foundations

This test on roachdash | Improve this report!

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

Start with the failure summary at orm_helpers.go:232 and the ActiveRecord artifacts in /artifacts/activerecord/run_1. Inspect the three failing CalculationsTest cases and their full logs, then compare the run with the roachtest README guidance. Done means the failure is explained and the activerecord roachtest no longer reports these unexpected failures.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.