[
https://issues.apache.org/jira/browse/FLINK-20461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17254761#comment-17254761
]
Xintong Song commented on FLINK-20461:
--------------------------------------
[~hpeter],
Is this related to the Azure environment? If not, one thing you can try is to
loop this locally in IDE. IntelliJ has a feature to repeat a test until failure.
[https://httpain.com/blog/debugging-flaky-tests-in-intellij-idea/#:~:text=Retry%20test%20until%20failure&text=Let's%20edit%20a%20Run%20Configuration,Launch%20the%20test%20again].
If this is related to the Azure environment, the only thing I can think of is
to modify the azure test scripts to only run/repeat this single test case.
Unfortunately, I don't find any docs instructing how to do that, you may need
to look into `azure-pipelines.yml` and `tools/azure-pipelines/`.
> YARNFileReplicationITCase.testPerJobModeWithDefaultFileReplication
> ------------------------------------------------------------------
>
> Key: FLINK-20461
> URL: https://issues.apache.org/jira/browse/FLINK-20461
> Project: Flink
> Issue Type: Bug
> Components: Deployment / YARN
> Affects Versions: 1.12.0
> Reporter: Huang Xingbo
> Assignee: Zhenqiu Huang
> Priority: Major
> Labels: testability
>
> [https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=10450&view=logs&j=fc5181b0-e452-5c8f-68de-1097947f6483&t=62110053-334f-5295-a0ab-80dd7e2babbf]
> {code:java}
> [ERROR]
> testPerJobModeWithDefaultFileReplication(org.apache.flink.yarn.YARNFileReplicationITCase)
> Time elapsed: 32.501 s <<< ERROR! java.io.FileNotFoundException: File does
> not exist:
> hdfs://localhost:46072/user/agent04_azpcontainer/.flink/application_1606950278664_0001/flink-dist_2.11-1.12-SNAPSHOT.jar
> at
> org.apache.hadoop.hdfs.DistributedFileSystem$27.doCall(DistributedFileSystem.java:1441)
> at
> org.apache.hadoop.hdfs.DistributedFileSystem$27.doCall(DistributedFileSystem.java:1434)
> at
> org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
> at
> org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1434)
> at
> org.apache.flink.yarn.YARNFileReplicationITCase.extraVerification(YARNFileReplicationITCase.java:148)
> at
> org.apache.flink.yarn.YARNFileReplicationITCase.deployPerJob(YARNFileReplicationITCase.java:113)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)