[
https://issues.apache.org/jira/browse/FLINK-32715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17749119#comment-17749119
]
Matthias Pohl commented on FLINK-32715:
---------------------------------------
I'm lowering the priority again: It looks like a testing issue. The test stops
the application but doesn't wait for it to be over (see
[ProcessFailureCancelingITCase:241|https://github.com/apache/flink/blob/603181da811edb47c0d573492639a381fbbedc28/flink-tests/src/test/java/org/apache/flink/test/recovery/ProcessFailureCancelingITCase.java#L241])
before closing the {{HaServices}} (see
[ProcessFailureCancelingITCase:249|https://github.com/apache/flink/blob/603181da811edb47c0d573492639a381fbbedc28/flink-tests/src/test/java/org/apache/flink/test/recovery/ProcessFailureCancelingITCase.java#L241]).
> ProcessFailureCancelingITCase.testCancelingOnProcessFailure
> -----------------------------------------------------------
>
> Key: FLINK-32715
> URL: https://issues.apache.org/jira/browse/FLINK-32715
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Coordination
> Affects Versions: 1.18.0
> Reporter: Matthias Pohl
> Priority: Critical
> Labels: test-stability
>
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=51798&view=logs&j=a596f69e-60d2-5a4b-7d39-dc69e4cdaed3&t=712ade8c-ca16-5b76-3acd-14df33bc1cb1&l=7610
> {code}
> Jul 29 01:03:36 01:03:36.670 [ERROR]
> org.apache.flink.test.recovery.ProcessFailureCancelingITCase.testCancelingOnProcessFailure
> Time elapsed: 9.138 s <<< ERROR!
> Jul 29 01:03:36 java.lang.IllegalStateException: The
> DefaultLeaderElectionService should have been stopped before closing the
> instance.
> Jul 29 01:03:36 at
> org.apache.flink.util.Preconditions.checkState(Preconditions.java:193)
> Jul 29 01:03:36 at
> org.apache.flink.runtime.leaderelection.DefaultLeaderElectionService.close(DefaultLeaderElectionService.java:291)
> Jul 29 01:03:36 at
> org.apache.flink.runtime.highavailability.AbstractHaServices.closeAndCleanupAllData(AbstractHaServices.java:201)
> Jul 29 01:03:36 at
> org.apache.flink.test.recovery.ProcessFailureCancelingITCase.testCancelingOnProcessFailure(ProcessFailureCancelingITCase.java:249)
> Jul 29 01:03:36 at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [...]
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)