flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nico Kruber (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-6320) Flakey JobManagerHAJobGraphRecoveryITCase
Date Tue, 18 Apr 2017 13:51:42 GMT
Nico Kruber created FLINK-6320:
----------------------------------

             Summary: Flakey JobManagerHAJobGraphRecoveryITCase
                 Key: FLINK-6320
                 URL: https://issues.apache.org/jira/browse/FLINK-6320
             Project: Flink
          Issue Type: Bug
          Components: Tests
    Affects Versions: 1.3.0
            Reporter: Nico Kruber


it looks as if there is a race condition in the cleanup of {{JobManagerHAJobGraphRecoveryITCase}}.

{code}
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 50.271 sec <<< FAILURE!
- in org.apache.flink.test.recovery.JobManagerHAJobGraphRecoveryITCase
testJobPersistencyWhenJobManagerShutdown(org.apache.flink.test.recovery.JobManagerHAJobGraphRecoveryITCase)
 Time elapsed: 0.129 sec  <<< ERROR!
java.io.FileNotFoundException: File does not exist: /tmp/9b63934b-789d-428c-aa9e-47d5d8fa1e32/recovery/submittedJobGraphf763d61fba47
	at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2275)
	at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
	at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
	at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
	at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
	at org.apache.flink.test.recovery.JobManagerHAJobGraphRecoveryITCase.cleanUp(JobManagerHAJobGraphRecoveryITCase.java:112)
{code}
Full log: https://s3.amazonaws.com/archive.travis-ci.org/jobs/223124016/log.txt

Maybe a rule-based temporary directory is a better solution:
{code:java}
	@Rule
	public TemporaryFolder tempFolder = new TemporaryFolder();
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message