roachtest: follower-reads/survival=region/locality=global/reads=bounded-staleness failed
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.follower-reads/survival=region/locality=global/reads=bounded-staleness failed with artifacts on master @ fc4a855baa730cc594125af2ec2d8b36abe1bb61:
(follower_reads.go:771).verifySQLLatency: 10 latency values ([845.893023ms 815.00453ms 787.977099ms 750.358987ms 676.224218ms 570.665537ms 90.681249ms 86.457394ms 81.630131ms 77.406277ms]) are above target latency 25ms, 4 permitted
test artifacts and logs in: /artifacts/follower-reads/survival=region/locality=global/reads=bounded-staleness/run_1
Parameters:
arch=amd64cloud=gcecoverageBuild=falsecpu=4encrypted=falsefs=ext4localSSD=truemetamorphicBufferedSender=truemetamorphicLeases=defaultruntimeAssertionsBuild=truessd=0
This test on roachdash | Improve this report!
Jira issue: CRDB-49683
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.follower-reads/survival=region/locality=global/reads=bounded-staleness failed with artifacts on master @ 7c6ffa898215ec2858a533304a71c4b937373f08:
(follower_reads.go:771).verifySQLLatency: 11 latency values ([901.276423ms 884.005437ms 866.734452ms 849.463467ms 834.351355ms 819.239243ms 801.968258ms 784.697273ms 767.426287ms 690.345126ms 235.983346ms]) are above target latency 25ms, 4 permitted
test artifacts and logs in: /artifacts/follower-reads/survival=region/locality=global/reads=bounded-staleness/run_1
Parameters:
arch=amd64cloud=gcecoverageBuild=falsecpu=4encrypted=falsefs=ext4localSSD=truemetamorphicBufferedSender=truemetamorphicLeases=expirationruntimeAssertionsBuild=truessd=0
Looks different from #142194. This is the first time the reads=bounded-staleness variant of this test flakes this way, unlike the other variants. And the latency reaches as high as 800ms, compared to 80ms in other tests.
roachtest.follower-reads/survival=region/locality=global/reads=bounded-staleness failed with artifacts on master @ 7552695eea44c6be9eecdd722b13c10821853a69:
(follower_reads.go:771).verifySQLLatency: 11 latency values ([891.981906ms 875.07452ms 860.280558ms 843.373172ms 828.57921ms 811.671824ms 796.877862ms 779.970477ms 765.176514ms 602.089449ms 84.767852ms]) are above target latency 25ms, 4 permitted
test artifacts and logs in: /artifacts/follower-reads/survival=region/locality=global/reads=bounded-staleness/run_1
Parameters:
arch=amd64cloud=gcecoverageBuild=falsecpu=4encrypted=falsefs=ext4localSSD=truemetamorphicBufferedSender=falsemetamorphicLeases=expirationruntimeAssertionsBuild=falsessd=0
Given that this is the first time these tests flaked this way, it is most likely due to my work around auto tuning closed ts. Going to assign these failures to me and take a look.
I'm able to repro the failure consistently (with AND without auto tuning enabled) on master but not on the last commit where I added something related to auto-tuning closed ts https://github.com/cockroachdb/cockroach/commit/55bde387. It seems something else happened in-between. Going to try bisecting.
git bisect led me to https://github.com/cockroachdb/cockroach/commit/d11c4394ebc313ffaec2d20ddaffe08956541c01.
d11c4394ebc313ffaec2d20ddaffe08956541c01 is the first bad commit
I’ve also doubled checked and this test fails at this commit but passes at its previous commit (more details below).
Note that this test verifies sql latency by making time series query request to cr.node.sql.service.latency which seems to be something that https://github.com/cockroachdb/cockroach/commit/d11c4394ebc313ffaec2d20ddaffe08956541c01 touches based on its PR https://github.com/cockroachdb/cockroach/pull/144612#issue-3001862201 description.
https://github.com/cockroachdb/cockroach/blob/883c36398bab97243058091eb651a2efa81e5865/pkg/cmd/roachtest/tests/follower_reads.go#L742-L752
at d11c4394ebc,
--- FAIL: follower-reads/survival=region/locality=global/reads=bounded-staleness (468.50s)
(follower_reads.go:771).verifySQLLatency: 10 latency values ([885.876461ms 870.260612ms 852.413927ms 836.798078ms 818.951393ms 803.335544ms 785.488859ms 769.87301ms 681.519558ms 298.247128ms]) are above target latency 25ms, 4 permitted
at acfdcc8e2e5,
--- PASS: follower-reads/survival=region/locality=global/reads=bounded-staleness (356.70s)
Given the above, routing this to @cockroachdb/obs-prs for further investigation. If anything is missing in my steps or needs additional context, feel free to loop me back.
Steps to repro:
git checkout d11c4394ebc313ffaec2d20ddaffe08956541c01
./dev gen && ./dev build --cross && ./dev build roachtest && roachtest run follower-reads/survival=region/locality=global/reads=bounded-staleness --cockroach=./artifacts/cockroach
This issue has multiple T-eam labels. Please make sure it only has one, or else issue synchronization will not work correctly.
:owl: Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.
@aa-joshi Do you mind if I assign you to take a look, since you introduced the commit above? Feel free to redirect if needed.
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.follower-reads/survival=region/locality=global/reads=bounded-staleness failed with artifacts on master @ 35fbea74f4538bbae8cd1feac933e38afd7908e9:
(follower_reads.go:771).verifySQLLatency: 12 latency values ([834.309838ms 803.421346ms 776.393914ms 747.711316ms 721.234613ms 694.75791ms 671.590795ms 645.114092ms 621.946976ms 298.247128ms 154.234489ms 73.182422ms]) are above target latency 25ms, 4 permitted
test artifacts and logs in: /artifacts/follower-reads/survival=region/locality=global/reads=bounded-staleness/run_1
Parameters:
arch=amd64cloud=gcecoverageBuild=falsecpu=4encrypted=falsefs=ext4localSSD=truemetamorphicBufferedSender=truemetamorphicLeases=expirationruntimeAssertionsBuild=truessd=0
@wenyihu6 Thanks for the repro steps! I have pushed the fix as part of https://github.com/cockroachdb/cockroach/pull/145316. Let me know if you still see the issue.
I verified latest nightly run and test is green now.