[
https://issues.apache.org/jira/browse/HDDS-8873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Soldatov reopened HDDS-8873:
-----------------------------------
Assignee: Sergey Soldatov
RCA:
The two certificate rotation tests started the background renewer service and
then waited a wall-clock budget for it to replace the certificate. The budget
was derived from the certificate lifetime, which does not bound how long a
renewal takes, so the tests failed intermittently under load: a renewal
generates a key pair and builds a CSR, and the CSR resolves every local host
address, which makes it as slow as the host's resolver (In my case on, the host
with 11 interfaces, running test takes close to 200 seconds)
> Intermittent timeout in
> TestHddsSecureDatanodeInit.testCertificateRotationRecoverableFailure
> --------------------------------------------------------------------------------------------
>
> Key: HDDS-8873
> URL: https://issues.apache.org/jira/browse/HDDS-8873
> Project: Apache Ozone
> Issue Type: Bug
> Reporter: Attila Doroszlai
> Assignee: Sergey Soldatov
> Priority: Major
>
> {code}
> org.apache.hadoop.ozone.TestHddsSecureDatanodeInit.testCertificateRotationRecoverableFailure
> Time elapsed: 30.117 s <<< ERROR!
> java.util.concurrent.TimeoutException:
> ...
> at org.apache.ozone.test.GenericTestUtils.waitFor(GenericTestUtils.java:231)
> at
> org.apache.hadoop.ozone.TestHddsSecureDatanodeInit.testCertificateRotationRecoverableFailure(TestHddsSecureDatanodeInit.java:417)
> {code}
> *
> https://github.com/adoroszlai/ozone-build-results/blob/master/2023/05/18/22480/unit/hadoop-hdds/container-service/org.apache.hadoop.ozone.TestHddsSecureDatanodeInit.txt
> *
> https://github.com/adoroszlai/ozone-build-results/blob/master/2023/06/15/23328/unit/hadoop-hdds/container-service/org.apache.hadoop.ozone.TestHddsSecureDatanodeInit.txt
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]