Skip to content

[Bug] PrimaryKeyFileStoreTableITCase.testNoChangelogProducerStreamingRandom unstable #5563

@JingsongLi

Description

@JingsongLi

Search before asking

  • I searched in the issues and found nothing similar.

Paimon version

https://github.com/apache/paimon/actions/runs/14756786985/job/41427018316

Error: Exception in thread "Thread-218" java.lang.IllegalStateException: MiniCluster is not yet running or has already been shut down.
	at org.apache.flink.util.Preconditions.checkState(Preconditions.java:193)
	at org.apache.flink.runtime.minicluster.MiniCluster.getDispatcherGatewayFuture(MiniCluster.java:1119)
	at org.apache.flink.runtime.minicluster.MiniCluster.runDispatcherCommand(MiniCluster.java:992)
	at org.apache.flink.runtime.minicluster.MiniCluster.cancelJob(MiniCluster.java:874)
	at org.apache.flink.runtime.minicluster.MiniClusterJobClient.cancel(MiniClusterJobClient.java:96)
	at org.apache.paimon.flink.PrimaryKeyFileStoreTableITCase.lambda$collect$1(PrimaryKeyFileStoreTableITCase.java:138)
	at java.lang.Thread.run(Thread.java:750)
Error:  Tests run: 21, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 390.268 s <<< FAILURE! - in org.apache.paimon.flink.PrimaryKeyFileStoreTableITCase
Error:  org.apache.paimon.flink.PrimaryKeyFileStoreTableITCase.testNoChangelogProducerStreamingRandom  Time elapsed: 21.901 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: 

expected: "10000|10000.str"
 but was: "30|8618.str"
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at org.apache.paimon.flink.PrimaryKeyFileStoreTableITCase$ResultChecker.assertResult(PrimaryKeyFileStoreTableITCase.java:1330)
	at org.apache.paimon.flink.PrimaryKeyFileStoreTableITCase$ResultChecker.access$200(PrimaryKeyFileStoreTableITCase.java:1283)
	at org.apache.paimon.flink.PrimaryKeyFileStoreTableITCase.checkBatchResult(PrimaryKeyFileStoreTableITCase.java:1280)
	at org.apache.paimon.flink.PrimaryKeyFileStoreTableITCase.checkChangelogTestResult(PrimaryKeyFileStoreTableITCase.java:1152)
	at org.apache.paimon.flink.PrimaryKeyFileStoreTableITCase.testNoChangelogProducerRandom(PrimaryKeyFileStoreTableITCase.java:975)
	at org.apache.paimon.flink.PrimaryKeyFileStoreTableITCase.testNoChangelogProducerStreamingRandom(PrimaryKeyFileStoreTableITCase.java:882)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:[498](https://github.com/apache/paimon/actions/runs/14756786985/job/41427018316#step:5:499))
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at org.junit.jupiter.engine.extension.TimeoutInvocation.proceed(TimeoutInvocation.java:46)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84)
	at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:214)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:210)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:66)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.util.ArrayLis

Compute Engine

flink

Minimal reproduce step

test

What doesn't meet your expectations?

not fail

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions