apurtell commented on PR #2700:
URL: https://github.com/apache/phoenix/pull/2700#issuecomment-7088451010
Posted by Claude Code on behalf of Andrew Purtell.
The three failing checks are unrelated to this change (pom-only ZooKeeper
3.8.4 → 3.8.6 bump). Because the D-K failure is in HA connection code, which
uses ZooKeeper, it was traced to its cause.
**NeedsOwnMiniClusterTest D-K**:
`HAConnectionWithMasterAndRPCRegistryIT.testAllWrappedConnectionsNotClosedAfterStandbyURLChange[RPC]`
fails at line 428 (`conn2.futureConnection2.get()`) with `ExecutionException`
caused by `RegionServerStoppedException` on `hbase:meta`. This is a race in the
test:
1. The test creates five `ParallelPhoenixConnection`s and then calls
`CLUSTERS.restartCluster2()`.
2. The `ParallelPhoenixConnection` constructor opens both cluster
connections asynchronously and returns when one of them is ready ("Ensure one
connection is successful before returning"). The other one can still be
initializing.
3. In the log, thread `phoenixha2-30` is still in CQS initialization for
cluster 2 (`ensureTableCreated` for `SYSTEM.TRANSFORM`,
`SYSTEM.CDC_STREAM_STATUS`, `SYSTEM.CDC_STREAM`, `SYSTEM.IDX_CDC_TRACKER`)
between 13:11:31.108 and .185. The test thread asks cluster 2 to shut down at
.123, and its region server 39077 stops at .179.
4. That connection future therefore completes exceptionally. The test then
calls `get()` on it to check that it was closed, and the stored exception is
thrown.
ZooKeeper plays no part in the failing step. The test method is the same on
master. This class has failed 15 times in the cached CI history, all on
ZooKeeper 3.8.4, in both
`testAllWrappedConnectionsNotClosedAfterStandbyURLChange` and
`testAllWrappedConnectionsClosedAfterActiveURLChange`, including 5.3 branch
builds 44792617682 (`5a6e994ba3`), 44943892501 (`f16cba0fdf`) and 44944048755
(`74c41f566a`). A robust fix waits for both connection futures to complete
before the restart.
**NeedsOwnMiniClusterTest Q-Z**:
`UCFWithDisabledIndexWithDDLValidationIT.testUcfWithNoGetTableCalls` fails with
`Error calling method RegionServerEndpointService.validateLastDDLTimestamp`,
the same as on #2696 and #2698. This is the known deterministic failure that
#2685 (PHOENIX-7828 Addendum) fixes. The fix is test-only. 5.3 needs a backport
after #2685 merges.
**Test coverage**: Same as #2698. Most of the report is the known
categorization gap, which pending category fixes cover. The four pherf ITs
under "should have run" are listed only because the D-K and Q-Z jobs stopped at
`phoenix-core`.
Conclusion: these failures are not caused by this PR.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]