You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Matthias Pohl (Jira)" <ji...@apache.org> on 2023/11/13 15:02:00 UTC
[jira] [Comment Edited] (FLINK-33520) FileNotFoundException when running GPUDriverTest
[ https://issues.apache.org/jira/browse/FLINK-33520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17785517#comment-17785517 ]
Matthias Pohl edited comment on FLINK-33520 at 11/13/23 3:01 PM:
-----------------------------------------------------------------
master: [9ed3d04aa1fe638281dc3ca0983b4aa04f247eff|https://github.com/apache/flink/commit/9ed3d04aa1fe638281dc3ca0983b4aa04f247eff]
was (Author: mapohl):
master: 9ed3d04aa1fe638281dc3ca0983b4aa04f247eff
> FileNotFoundException when running GPUDriverTest
> ------------------------------------------------
>
> Key: FLINK-33520
> URL: https://issues.apache.org/jira/browse/FLINK-33520
> Project: Flink
> Issue Type: Technical Debt
> Components: Tests
> Affects Versions: 1.18.0
> Reporter: Ryan Skraba
> Assignee: Ryan Skraba
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.19.0
>
>
> I'd been running into a mysterious error running the {{flink-external-resources}} module tests:
> {code}
> java.io.FileNotFoundException: The gpu discovery script does not exist in path /opt/asf/flink/src/test/resources/testing-gpu-discovery.sh.
> at org.apache.flink.externalresource.gpu.GPUDriver.<init>(GPUDriver.java:98)
> at org.apache.flink.externalresource.gpu.GPUDriverTest.testGPUDriverWithInvalidAmount(GPUDriverTest.java:64)
> at
> {code}
> From the command line and IntelliJ, when it seems to works, it _always_ works, and when it fails it _always_ fails. I finally took a moment to figure it out: if the {{FLINK_HOME}} environment variable is set (to a valid Flink distribution of any version), this test fails.
> This is a very minor irritation, but it's pretty easy to fix.
> The workaround is to launch the unit test in an environment where this environment variable is not set.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)