[
https://issues.apache.org/jira/browse/HBASE-30265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18099025#comment-18099025
]
Hudson commented on HBASE-30265:
--------------------------------
Results for branch branch-2
[build #111 on
builds.a.o|https://ci-hbase.apache.org/job/HBase-Integration-Test/job/branch-2/111/]:
(x) *{color:red}-1 overall{color}*
----
details (if available):
(x) {color:red}-1 client integration test for 2.10.2{color}
-- Something went wrong with this stage, [check relevant console
output|https://ci-hbase.apache.org/job/HBase-Integration-Test/job/branch-2/111//console].
(/) {color:green}+1 client integration test for 3.3.5 {color}
(/) {color:green}+1 client integration test for 3.3.5 with shaded hadoop
client{color}
(/) {color:green}+1 client integration test for 3.3.6 {color}
(/) {color:green}+1 client integration test for 3.3.6 with shaded hadoop
client{color}
(/) {color:green}+1 client integration test for 3.4.0 {color}
(/) {color:green}+1 client integration test for 3.4.0 with shaded hadoop
client{color}
(/) {color:green}+1 client integration test for 3.4.1 {color}
(/) {color:green}+1 client integration test for 3.4.1 with shaded hadoop
client{color}
(/) {color:green}+1 client integration test for 3.4.2 {color}
(/) {color:green}+1 client integration test for 3.4.2 with shaded hadoop
client{color}
(/) {color:green}+1 client integration test for 3.4.3 {color}
(/) {color:green}+1 client integration test for 3.4.3 with shaded hadoop
client{color}
> Fix flaky TestProcDispatcher.testRetryLimitOnConnClosedErrors
> -------------------------------------------------------------
>
> Key: HBASE-30265
> URL: https://issues.apache.org/jira/browse/HBASE-30265
> Project: HBase
> Issue Type: Bug
> Components: test
> Reporter: Xiao Liu
> Assignee: Xiao Liu
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0-alpha-1, 2.7.0, 2.5.16, 2.6.7, 3.1.0
>
>
> h3. Symptom
> {{TestProcDispatcher.testRetryLimitOnConnClosedErrors}} fails intermittently
> (seen https://github.com/apache/hbase/actions/runs/28292988640): it times out
> in the first
> {{waitFor}} with {{Num of SCPs: 0}}.
> h3. Root cause
> The test helper {{RSProcDispatcher}} decides when to inject connection errors
> from a global static {{sendRequest()}} call count (throw on the 8th-13th /
> 18th-23rd call). {{remoteDispatch()}} runs for *every* remote procedure in the
> cluster (startup, table creation, flush/compact, chores, assignments), so the
> number of background dispatches before the test's region moves is
> nondeterministic. On a busy run the counter is already past the injection
> window by the time the moves happen, so no error is injected, the fail-fast
> retry limit is never reached, no {{ServerCrashProcedure}} is scheduled, and
> the
> assertion times out.
> h3. Fix
> Bind error injection to the open/close-region requests of the test's own table
> (driven explicitly by the test) instead of a global counter, so it
> deterministically targets the operations under test regardless of background
> activity.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)