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

Matthias Pohl updated FLINK-32382:
----------------------------------
    Attachment: logs-ci-e2e_2_ci-1687181689.zip

> SQL JDBC e2e test failed with FlinkJobNotFoundException
> -------------------------------------------------------
>
>                 Key: FLINK-32382
>                 URL: https://issues.apache.org/jira/browse/FLINK-32382
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Coordination, Table SQL / API
>    Affects Versions: 1.18.0
>            Reporter: Matthias Pohl
>            Priority: Major
>              Labels: test-stability
>         Attachments: logs-ci-e2e_2_ci-1687181689.zip
>
>
> I ran into a test instability while working on FLINK-32180 (leader election 
> refactoring). The e2e test {{Sql Jdbc Driver end-to-end test}} failed with a 
> {{FlinkJobNotFoundException}}:
> {code}
> org.apache.flink.runtime.messages.FlinkJobNotFoundException: Could not find 
> Flink job (095927e6f6ef3684f3a1ae13e5451184)
>         at 
> org.apache.flink.runtime.dispatcher.Dispatcher.getJobMasterGateway(Dispatcher.java:1450)
>  ~[flink-dist-1.18-SNAPSHOT.jar:1.18-SNAPSHOT]
>         at 
> org.apache.flink.runtime.dispatcher.Dispatcher.performOperationOnJobMasterGateway(Dispatcher.java:1465)
>  ~[flink-dist-1.18-SNAPSHOT.jar:1.18-SNAPSHOT]
>         at 
> org.apache.flink.runtime.dispatcher.Dispatcher.deliverCoordinationRequestToCoordinator(Dispatcher.java:1088)
>  ~[flink-dist-1.18-SNAPSHOT.jar:1.18-SNAPSHOT]
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
> ~[?:1.8.0_372]
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
> ~[?:1.8.0_372]
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_372]
>         at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_372]
>         at 
> org.apache.flink.runtime.rpc.akka.AkkaRpcActor.lambda$handleRpcInvocation$1(AkkaRpcActor.java:309)
>  ~[?:?]
>         at 
> org.apache.flink.runtime.concurrent.akka.ClassLoadingUtils.runWithContextClassLoader(ClassLoadingUtils.java:83)
>  ~[?:?]
>         at 
> org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleRpcInvocation(AkkaRpcActor.java:307)
>  ~[?:?]
>         at 
> org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleRpcMessage(AkkaRpcActor.java:222)
>  ~[?:?]
>         at 
> org.apache.flink.runtime.rpc.akka.FencedAkkaRpcActor.handleRpcMessage(FencedAkkaRpcActor.java:84)
>  ~[?:?]
>         at 
> org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleMessage(AkkaRpcActor.java:168)
>  ~[?:?]
>         at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:24) 
> ~[?:?]
>         at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:20) 
> ~[?:?]
>         at scala.PartialFunction.applyOrElse(PartialFunction.scala:127) 
> ~[flink-scala_2.12-1.18-SNAPSHOT.jar:1.18-SNAPSHOT]
>         at scala.PartialFunction.applyOrElse$(PartialFunction.scala:126) 
> ~[flink-scala_2.12-1.18-SNAPSHOT.jar:1.18-SNAPSHOT]
>         at 
> akka.japi.pf.UnitCaseStatement.applyOrElse(CaseStatements.scala:20) ~[?:?]
>         at 
> scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:175) 
> ~[flink-scala_2.12-1.18-SNAPSHOT.jar:1.18-SNAPSHOT]
>         at 
> scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:176) 
> ~[flink-scala_2.12-1.18-SNAPSHOT.jar:1.18-SNAPSHOT]
>         at 
> scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:176) 
> ~[flink-scala_2.12-1.18-SNAPSHOT.jar:1.18-SNAPSHOT]
>         at akka.actor.Actor.aroundReceive(Actor.scala:537) ~[?:?]
>         at akka.actor.Actor.aroundReceive$(Actor.scala:535) ~[?:?]
>         at akka.actor.AbstractActor.aroundReceive(AbstractActor.scala:220) 
> ~[?:?]
>         at akka.actor.ActorCell.receiveMessage(ActorCell.scala:579) ~[?:?]
>         at akka.actor.ActorCell.invoke(ActorCell.scala:547) ~[?:?]
>         at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:270) ~[?:?]
>         at akka.dispatch.Mailbox.run(Mailbox.scala:231) ~[?:?]
>         at akka.dispatch.Mailbox.exec(Mailbox.scala:243) ~[?:?]
>         at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) 
> [?:1.8.0_372]
>         at 
> java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) 
> [?:1.8.0_372]
>         at 
> java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) 
> [?:1.8.0_372]
>         at 
> java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175) 
> [?:1.8.0_372]
> {code}
> I cannot rule out that it's an issue being caused by the FLINK-32180 
> refactoring. But I didn't find any hints in the logs. [~zjureel] may you have 
> a look at this one as well?



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

Reply via email to