Henning Rohde created BEAM-3400:
-----------------------------------

             Summary: Java_ValidatesRunner_Spark post-commit test fails with 
"Failed to clear checkpoint tmp dir"
                 Key: BEAM-3400
                 URL: https://issues.apache.org/jira/browse/BEAM-3400
             Project: Beam
          Issue Type: Bug
          Components: testing
            Reporter: Henning Rohde
            Assignee: Jason Kuster
            Priority: Minor


The below post commit test failed:

https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Spark/3805/console

2018-01-02T18:13:49.390 [ERROR] 
testUnboundedSourceMetrics(org.apache.beam.runners.spark.translation.streaming.StreamingSourceMetricsTest)
  Time elapsed: 23.894 s  <<< ERROR!
java.lang.RuntimeException: Failed to clear checkpoint tmp dir.
        at 
org.apache.beam.runners.spark.TestSparkRunner.run(TestSparkRunner.java:137)
        at 
org.apache.beam.runners.spark.TestSparkRunner.run(TestSparkRunner.java:83)
        at org.apache.beam.sdk.Pipeline.run(Pipeline.java:304)
        at org.apache.beam.sdk.testing.TestPipeline.run(TestPipeline.java:358)
        at org.apache.beam.sdk.testing.TestPipeline.run(TestPipeline.java:340)
        at 
org.apache.beam.runners.spark.translation.streaming.StreamingSourceMetricsTest.testUnboundedSourceMetrics(StreamingSourceMetricsTest.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
        at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
        at 
org.apache.beam.sdk.testing.TestPipeline$1.evaluate(TestPipeline.java:329)
        at org.junit.rules.RunRules.evaluate(RunRules.java:20)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
        at org.junit.runners.Suite.runChild(Suite.java:128)
        at org.junit.runners.Suite.runChild(Suite.java:27)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
        at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55)
        at 
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137)
        at 
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107)
        at 
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83)
        at 
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75)
        at 
org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:157)
        at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)
Caused by: java.io.IOException: Unable to delete directory 
/tmp/streamingsourcemetricstest0testunboundedsourcemetrics-jenkins-0102181327-96f104ba.
        at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1541)
        at 
org.apache.beam.runners.spark.TestSparkRunner.run(TestSparkRunner.java:135)
        ... 41 more



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to