Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

roachtest: weekly/tpcc/headroom failed #121568

Closed
cockroach-teamcity opened this issue Apr 2, 2024 · 2 comments
Closed

roachtest: weekly/tpcc/headroom failed #121568

cockroach-teamcity opened this issue Apr 2, 2024 · 2 comments
Labels
branch-master Failures and bugs on the master branch. C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. C-test-failure Broken test (automatically or manually discovered). O-roachtest O-robot Originated from a bot. T-kv KV Team
Milestone

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Apr 2, 2024

roachtest.weekly/tpcc/headroom failed with artifacts on master @ 2a5e231716c436781f12452d800651f51c6383b7:

(monitor.go:154).Wait: monitor failure: full command output in run_110525.127724219_n4_cockroach-workload-r.log: COMMAND_PROBLEM: exit status 1
test artifacts and logs in: /artifacts/weekly/tpcc/headroom/run_1

Parameters:

  • ROACHTEST_arch=amd64
  • ROACHTEST_cloud=gce
  • ROACHTEST_coverageBuild=false
  • ROACHTEST_cpu=16
  • ROACHTEST_encrypted=true
  • ROACHTEST_fs=ext4
  • ROACHTEST_localSSD=true
  • ROACHTEST_metamorphicBuild=false
  • ROACHTEST_ssd=0
Help

See: roachtest README

See: How To Investigate (internal)

See: Grafana

/cc @cockroachdb/test-eng

This test on roachdash | Improve this report!

Jira issue: CRDB-37345

@cockroach-teamcity cockroach-teamcity added branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-roachtest O-robot Originated from a bot. release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. T-testeng TestEng Team labels Apr 2, 2024
@cockroach-teamcity cockroach-teamcity added this to the 24.1 milestone Apr 2, 2024
@srosenberg
Copy link
Member

The workload fails with,

Error: error in payment: ERROR: result is ambiguous: error=failed to send RPC: sending to all replicas failed; last error: r593/2	:(n2,s2) is unavailable (circuit breaker tripped): context canceled [exhausted] (last error: failed to send RPC: sending to all replicas failed; last error: r593/2:(n2,s2) is unavailable (circuit breaker tripped): context canceled) (SQLSTATE 40003)

Having gone through the logs and grafana dashboards nothing really jumps out. System-wise and runtime-wise, there is no sign of n2 being overloaded, yet raft applies are trailing behind. We see multiple instances of node might be overloaded,

grep "node might be overloaded" cockroach.log|awk '{print $2}'|awk -F":" '{print $1, $2}'|sort |uniq
14 11
14 14
14 33
14 50
15 18
15 32
17 43
18 36
18 49
18 50

Coincidentally, these minute offsets co-occur with the scheduled backup job running every ~15 mins. It's unclear why n2 continued to flap, culminating in the failure of the workload. Why couldn't the lease be transferred to a different node?

Removing release-blocker since it doesn't appear to be a new issue per se, but this warrants a further investigation.

@srosenberg srosenberg removed the release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. label Apr 3, 2024
@blathers-crl blathers-crl bot added the T-kv KV Team label Apr 3, 2024
@srosenberg srosenberg removed the T-testeng TestEng Team label Apr 3, 2024
@andrewbaptist
Copy link
Collaborator

This is most likely fixed by #121317. When the system is "stressed" its possible there is a transaction conflct or other non-ambiguous error that gets escalated to an ambiguous error if its going through a proxy. If this reoccurs, please reopen, but the ambiguous errors during situations like this are exactly what this change fixed.

@andrewbaptist andrewbaptist added the C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. label Apr 4, 2024
@github-project-automation github-project-automation bot moved this to Incoming in KV Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch-master Failures and bugs on the master branch. C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. C-test-failure Broken test (automatically or manually discovered). O-roachtest O-robot Originated from a bot. T-kv KV Team
Projects
No open projects
Status: Incoming
Development

No branches or pull requests

3 participants