[
https://issues.apache.org/jira/browse/FLINK-35601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17855477#comment-17855477
]
Weijie Guo edited comment on FLINK-35601 at 6/17/24 4:06 AM:
-------------------------------------------------------------
> Hi [~Weijie Guo] , the timeout cannot be reproduced with
> [https://github.com/apache/flink/pull/24945,|https://github.com/apache/flink/pull/24945]right?
I didn't reproduce the tiemout after revert, but I only ran it about 1500 times.
Note that the difference between the time to run this test before and after
revert is very large.
The {{NoSuchFieldException: modifiers}} error that appear in CI should only be
present in JDK12+. This results from the more restrictive reflection
protection of java.base classes in the newer java versions. We could refer to
https://github.com/prestodb/presto/pull/15240/files to fix it.
As for the timeout issue, I didn't dig into it now.
was (Author: weijie guo):
> Hi [~Weijie Guo] , the timeout cannot be reproduced with
> [https://github.com/apache/flink/pull/24945,|https://github.com/apache/flink/pull/24945]right?
I didn't reproduce the tiemout after revert, but I only ran it about 1500 times.
Note that the difference between the time to run this test before and after
revert is very large.
The {{NoSuchFieldException: modifiers}} error that appear in CI should only be
present in JDK17+. This results from the more restrictive reflection
protection of java.base classes in the newer java versions. We could refer to
https://github.com/prestodb/presto/pull/15240/files to fix it.
As for the timeout issue, I didn't dig into it now.
> InitOutputPathTest.testErrorOccursUnSynchronized failed due to
> NoSuchFieldException
> -----------------------------------------------------------------------------------
>
> Key: FLINK-35601
> URL: https://issues.apache.org/jira/browse/FLINK-35601
> Project: Flink
> Issue Type: Bug
> Components: Build System / CI
> Affects Versions: 1.20.0
> Reporter: Weijie Guo
> Assignee: Weijie Guo
> Priority: Blocker
> Labels: pull-request-available
>
> {code:java}
> Jun 14 02:17:56 02:17:56.037 [ERROR]
> org.apache.flink.core.fs.InitOutputPathTest.testErrorOccursUnSynchronized --
> Time elapsed: 0.021 s <<< ERROR!
> Jun 14 02:17:56 java.lang.NoSuchFieldException: modifiers
> Jun 14 02:17:56 at
> java.base/java.lang.Class.getDeclaredField(Class.java:2610)
> Jun 14 02:17:56 at
> org.apache.flink.core.fs.InitOutputPathTest.testErrorOccursUnSynchronized(InitOutputPathTest.java:59)
> Jun 14 02:17:56 at
> java.base/java.lang.reflect.Method.invoke(Method.java:568)
> Jun 14 02:17:56 at
> java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
> Jun 14 02:17:56 at
> java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
> Jun 14 02:17:56 at
> java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
> Jun 14 02:17:56 at
> java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
> Jun 14 02:17:56 at
> java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
> Jun 14 02:17:56 at
> java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
> {code}
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=60259&view=logs&j=675bf62c-8558-587e-2555-dcad13acefb5&t=5878eed3-cc1e-5b12-1ed0-9e7139ce0992&l=6491
--
This message was sent by Atlassian Jira
(v8.20.10#820010)