Repository navigation
Description
Issue
In the mo-nightly-regression branch nightly run, the TPCC 1000 warehouses / 1000 terminals benchmark failed while the smaller TPCC cases had already passed.
Namespace:
mo-branch-commit-7a8e7cd84-20260608
Failure point
The failure happened in step:
Start TPCC 1000 Warehouses 1000 terminals Test
Time window:
- UTC:
2026-06-08 18:42:51-2026-06-08 18:48:42 - CST:
2026-06-09 02:42:51-2026-06-09 02:48:42
The data load steps and smaller TPCC benchmark steps passed before this:
- TPCC 10W / 10 terminals
- TPCC 10W / 100 terminals
- TPCC 100W / 100 terminals
- TPCC 100W / 1000 terminals
Error from Actions log
Around 2026-06-08 18:44:18 UTC, BenchmarkSQL terminals started reporting many fatal errors like:
ErrorCode : 20505
ErrorMessage : cannot connect to backend:
writeto tcp4 10.143.26.142:62466->10.143.26.143:6003:
read tcp4 10.143.26.142:62466->10.143.26.143:6003: i/o timeout
The errors appeared in different TPCC transaction types, including TT_PAYMENT, TT_NEW_ORDER, and DELIVERY_BG, and eventually the job exited with code 1.
Related MO logs
Loki logs in the same time window show repeated lockservice remote lock failures against the same backend address:
cn-service.lockservice failed to lock on remote
remote: 10.143.26.143:6003
error: writeto tcp4 10.143.26.142:62466->10.143.26.143:6003:
read tcp4 10.143.26.142:62466->10.143.26.143:6003: i/o timeout
There were also repeated messages such as:
internal error: dedup load did not complete
Initial analysis
This does not look like a TPCC data-load issue. The load stage and previous smaller TPCC cases passed. The direct failure reason is that, under the 1000W / 1000 terminals workload, one CN could not communicate with another CN backend on 10.143.26.143:6003, causing remote lock operations to timeout and BenchmarkSQL terminals to fail.
Prometheus/Grafana did not show a pod restart or OOMKilled event during this TPCC failure window. However, memory on the target CN was very close to its limit:
- target CN:
nightly-regression-dis-tp-cn-phqxp - target IP:
10.143.26.143 - memory around failure: about
54.47Gi / 55Gi
So the current suspicion is severe CN memory pressure / backend unresponsiveness leading to lockservice RPC timeout, rather than a confirmed Kubernetes OOM kill at that time.
Note: a later IVF Vector Index failure in the same run did show an OOMKilled event around 2026-06-08 23:49 UTC, but that happened about 5 hours later and should not be conflated with this TPCC failure.
Activity
Ariznawlll commentedon Jun 9, 2026
Analysis summary:
This TPCC failure is different from the later IVF OOM in the same run. The TPCC 1000W / 1000 terminals step failed around
2026-06-08 18:44:18 UTCbecause BenchmarkSQL could not connect to the CN backend10.143.26.143:6003from10.143.26.142and hit repeatedi/o timeouterrors.The corresponding MO logs show repeated
cn-service.lockservice failed to lock on remoteerrors against10.143.26.143:6003. Prometheus did not show pod restart orOOMKilledduring this TPCC time window, but the target CN memory was close to the limit, around54.47Gi / 55Gi. So the likely direction is CN backend/lockservice unresponsiveness under high memory pressure, not a confirmed K8s OOM kill at the TPCC failure time.[-]TPCC 1000W/1000 terminals fails with CN backend lockservice RPC timeout under high memory pressure[/-][+][Bug] TPCC 1000W/1000 terminals fails with CN backend lockservice RPC timeout under high memory pressure[/+]Ariznawlll commentedon Jun 9, 2026
I checked the GitHub Actions log and the corresponding service logs for this failure. This does not look like a TPCC script-only false positive; the benchmark errors line up with MO server-side logs.
Run: https://github.com/matrixorigin/mo-nightly-regression/actions/runs/27192330130/job/80279607917
Commit under test:
7a8e7cd847f2f5c7819ad4a63b2f1f5f7ad07832Case:
tpcc1000.1000, 1000 warehouses / 1000 terminals / 5 minThe benchmark itself completed and the consistency check passed, but the step failed because
benchmarksql-error.logcontained 6 unexpected errors:20705 cannot commit a orphan transaction20505 cannot connect to backend ... 10.143.28.222:46786->10.143.28.223:6003 ... i/o timeout20701 deadlock detectedServer-side logs around the same window show matching evidence:
lockservice/lock_table_allocator.go:195 error: cannot commit a orphan transactionat2026-06-09 08:36:18and08:36:45.nightly-regression-dis-tp-cn-6pzh9reported frontend commit failures witherror: cannot commit a orphan transaction, matching the20705benchmark errors.nightly-regression-dis-tp-cn-6v7hzreported many lockservice remote lock/unlock failures against10.143.28.223:6003, for example:writeto tcp4 10.143.28.222:46786->10.143.28.223:6003: read ... i/o timeout.nightly-regression-dis-tp-cn-gtvk6reporteddead lock found, and CN6v7hzlater returneddeadlock detectedto the frontend, matching the20701benchmark error.objectio/cache.go:354 error: internal error: dedup load did not completelogs across CNs.So my current read is that this is more likely a MO server-side high-concurrency stability issue around lockservice / remote CN communication under TPCC 1000w/1000t load, rather than a test harness issue.