You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Nico Kruber (JIRA)" <ji...@apache.org> on 2017/02/27 18:46:45 UTC

[jira] [Commented] (FLINK-5923) Test instability in SavepointITCase testTriggerSavepointAndResume

    [ https://issues.apache.org/jira/browse/FLINK-5923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15886298#comment-15886298 ] 

Nico Kruber commented on FLINK-5923:
------------------------------------

I guess the following error may also originate from that race condition(?)

https://s3.amazonaws.com/archive.travis-ci.org/jobs/205888798/log.txt

{code}
testTriggerSavepointAndResume(org.apache.flink.test.checkpointing.SavepointITCase)  Time elapsed: 1.581 sec  <<< ERROR!
java.io.IOException: Unable to delete file: /tmp/junit1592062472104041767/junit8429426931866360142/checkpoints/5ec09c5215b989bd25752be56ca02a46/chk-5/15b909b5-f375-45e5-8737-10935d77c9a4
	at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2279)
	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.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.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.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
	at org.apache.flink.test.checkpointing.SavepointITCase.testTriggerSavepointAndResume(SavepointITCase.java:411)
{code}

> Test instability in SavepointITCase testTriggerSavepointAndResume
> -----------------------------------------------------------------
>
>                 Key: FLINK-5923
>                 URL: https://issues.apache.org/jira/browse/FLINK-5923
>             Project: Flink
>          Issue Type: Test
>          Components: Tests
>            Reporter: Ufuk Celebi
>            Assignee: Ufuk Celebi
>              Labels: test-stability
>
> https://s3.amazonaws.com/archive.travis-ci.org/jobs/205042538/log.txt
> {code}
> Failed tests: 
>   SavepointITCase.testTriggerSavepointAndResume:258 Checkpoints directory not cleaned up: [/tmp/junit1029044621247843839/junit7338507921051602138/checkpoints/47fa12635d098bdafd52def453e6d66c/chk-4] expected:<0> but was:<1>
> {code}
> I think this is due to a race in the test. When shutting down the cluster it can happen that in progress checkpoints linger around.



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