You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "YUNG_CHENG (Jira)" <ji...@apache.org> on 2026/08/16 14:42:00 UTC
[jira] [Commented] (HDDS-16134) Intermittent failure in TestFailureHandlingByClient#testPipelineExclusionWithPipelineFailure
[ https://issues.apache.org/jira/browse/HDDS-16134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18105107#comment-18105107 ]
YUNG_CHENG commented on HDDS-16134:
-----------------------------------
Hi, I would like to work on this issue. Could you please assign it to me? Thanks!
> Intermittent failure in TestFailureHandlingByClient#testPipelineExclusionWithPipelineFailure
> --------------------------------------------------------------------------------------------
>
> Key: HDDS-16134
> URL: https://issues.apache.org/jira/browse/HDDS-16134
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: Ozone Client, test
> Reporter: Siyao Meng
> Priority: Major
> Attachments: HDDS-16134.001.patch
>
>
> {code}
> [ERROR] Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 145.6 s <<< FAILURE! -- in org.apache.hadoop.ozone.client.rpc.TestFailureHandlingByClient
> [ERROR] org.apache.hadoop.ozone.client.rpc.TestFailureHandlingByClient.testPipelineExclusionWithPipelineFailure -- Time elapsed: 40.37 s <<< FAILURE!
> java.lang.AssertionError:
> Expecting empty but was: [c587cf9d-ea5d-466b-a23b-e96f6cfca97f(null/null)]
> at org.apache.hadoop.ozone.client.rpc.TestFailureHandlingByClient.testPipelineExclusionWithPipelineFailure(TestFailureHandlingByClient.java:540)
> {code}
> The property under test (the failed pipeline is added to the exclude list) passes; the extra assertion that the exclude list's datanode set is empty is not an invariant. When {{watchForCommit}} times out against the shut-down followers, those nodes are recorded as failed servers and added to the exclude list via {{KeyOutputStream.handleExceptionInternal}}; they are built from UUID only, hence the {{(null/null)}} address. Whether that watch reply lands before the write hits the pipeline failure is timing-dependent, so the datanode set cannot be asserted empty. This mirrors the non-invariant assertion removed from the sibling method in HDDS-15823; the fix is to drop the {{getDatanodes().isEmpty()}} assertion here too.
> Seen in:
> - https://github.com/adoroszlai/ozone-build-results/blob/master/2026/08/03/51849/integration-client/hadoop-ozone/integration-test/org.apache.hadoop.ozone.client.rpc.TestFailureHandlingByClient.txt
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org