[ 
https://issues.apache.org/jira/browse/FLINK-26177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martijn Visser reopened FLINK-26177:
------------------------------------

Reopening, testScaleDown hangs again in the same place on the connector's 
weekly runs, now until the 80-minute step timeout instead of failing after two 
minutes. Three of the last four weeklies:
https://github.com/apache/flink-connector-pulsar/actions/runs/37167898870/job/111334615677
 (2026-10-04, v4.2, Flink 1.20.4, JDK 17, PulsarSourceITCase)
https://github.com/apache/flink-connector-pulsar/actions/runs/35479933830/job/105995795248
 (2026-09-20, v4.2, Flink 1.20.4, JDK 17, PulsarSourceE2ECase)
https://github.com/apache/flink-connector-pulsar/actions/runs/34729126999/job/103648552121
 (2026-09-13, main, Flink 1.20-SNAPSHOT, JDK 11, PulsarSourceITCase)

{code}
"main" #1 prio=5 os_prio=0 cpu=4132.32ms elapsed=4485.78s 
tid=0x00007fcdc4029c40 nid=0x2a04 waiting on condition  [0x00007fcdcb3fa000]
   java.lang.Thread.State: WAITING (parking)
        at jdk.internal.misc.Unsafe.park([email protected]/Native Method)
        - parking to wait for  <0x0000000085bf4400> (a 
java.util.concurrent.CompletableFuture$Signaller)
        at 
java.util.concurrent.locks.LockSupport.park([email protected]/LockSupport.java:211)
        at 
java.util.concurrent.CompletableFuture$Signaller.block([email protected]/CompletableFuture.java:1864)
        at 
java.util.concurrent.ForkJoinPool.unmanagedBlock([email protected]/ForkJoinPool.java:3465)
        at 
java.util.concurrent.ForkJoinPool.managedBlock([email protected]/ForkJoinPool.java:3436)
        at 
java.util.concurrent.CompletableFuture.waitingGet([email protected]/CompletableFuture.java:1898)
        at 
java.util.concurrent.CompletableFuture.get([email protected]/CompletableFuture.java:2072)
        at 
org.apache.flink.core.testutils.FlinkCompletableFutureAssert.assertEventuallySucceeds(FlinkCompletableFutureAssert.java:136)
        at 
org.apache.flink.core.testutils.FlinkCompletableFutureAssert.eventuallySucceeds(FlinkCompletableFutureAssert.java:96)
        at 
org.apache.flink.connector.testframe.testsuites.SourceTestSuiteBase.checkResultWithSemantic(SourceTestSuiteBase.java:745)
        at 
org.apache.flink.connector.testframe.testsuites.SourceTestSuiteBase.restartFromSavepoint(SourceTestSuiteBase.java:390)
        at 
org.apache.flink.connector.testframe.testsuites.SourceTestSuiteBase.testScaleDown(SourceTestSuiteBase.java:279)
{code}

In the 2026-10-04 run the job restored from the savepoint kept completing 
checkpoints for 73 minutes until the step was killed. In both v4.2 runs the JDK 
8 and 11 jobs passed.

> PulsarSourceITCase.testScaleDown fails with timeout
> ---------------------------------------------------
>
>                 Key: FLINK-26177
>                 URL: https://issues.apache.org/jira/browse/FLINK-26177
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Connectors / Pulsar
>    Affects Versions: 1.15.0, 1.16.0
>            Reporter: Matthias Pohl
>            Assignee: Yufan Sheng
>            Priority: Major
>              Labels: auto-deprioritized-critical, pull-request-available, 
> stale-blocker, test-stability
>             Fix For: 1.16.0, 1.15.2, 1.14.6
>
>
> We observed a [build 
> failure|https://dev.azure.com/mapohl/flink/_build/results?buildId=742&view=logs&j=f3dc9b18-b77a-55c1-591e-264c46fe44d1&t=2d3cd81e-1c37-5c31-0ee4-f5d5cdb9324d&l=26553]
>  caused by {{PulsarSourceITCase.testScaleDown}}:
> {code}
> Feb 15 20:56:02 [ERROR] Tests run: 16, Failures: 1, Errors: 0, Skipped: 0, 
> Time elapsed: 431.023 s <<< FAILURE! - in 
> org.apache.flink.connector.pulsar.source.PulsarSourceITCase
> Feb 15 20:56:02 [ERROR] 
> org.apache.flink.connector.pulsar.source.PulsarSourceITCase.testScaleDown(TestEnvironment,
>  DataStreamSourceExternalContext, CheckpointingMode)[2]  Time elapsed: 
> 138.444 s  <<< FAILURE!
> Feb 15 20:56:02 java.lang.AssertionError: 
> Feb 15 20:56:02 
> Feb 15 20:56:02 Expecting
> Feb 15 20:56:02   <CompletableFuture[Incomplete]>
> Feb 15 20:56:02 to be completed within 2M.
> Feb 15 20:56:02 
> Feb 15 20:56:02 exception caught while trying to get the future result: 
> java.util.concurrent.TimeoutException
> Feb 15 20:56:02       at 
> java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1784)
> [...]
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to