flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-5206) Flakey PythonPlanBinderTest
Date Thu, 08 Dec 2016 18:29:58 GMT

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

ASF GitHub Bot commented on FLINK-5206:
---------------------------------------

GitHub user zentol opened a pull request:

    https://github.com/apache/flink/pull/2973

    [FLINK-5206] [py] Use random file names in tests

    This PR modifies the python tests to use random file names.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zentol/flink 5206_py_tests

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/2973.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2973
    
----
commit 30abf5628766886775dfbd9c49518a49da222afc
Author: zentol <chesnay@apache.org>
Date:   2016-12-08T18:29:03Z

    [FLINK-5206] [py] Use random file names in tests

----


> Flakey PythonPlanBinderTest
> ---------------------------
>
>                 Key: FLINK-5206
>                 URL: https://issues.apache.org/jira/browse/FLINK-5206
>             Project: Flink
>          Issue Type: Bug
>          Components: Python API
>    Affects Versions: 1.2.0
>         Environment: in TravisCI
>            Reporter: Nico Kruber
>            Assignee: Chesnay Schepler
>              Labels: test-stability
>
> {code:none}
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.flink.python.api.PythonPlanBinderTest
> Job execution failed.
> org.apache.flink.runtime.client.JobExecutionException: Job execution failed.
> 	at org.apache.flink.runtime.jobmanager.JobManager$$anonfun$handleMessage$1$$anonfun$applyOrElse$7.apply$mcV$sp(JobManager.scala:903)
> 	at org.apache.flink.runtime.jobmanager.JobManager$$anonfun$handleMessage$1$$anonfun$applyOrElse$7.apply(JobManager.scala:846)
> 	at org.apache.flink.runtime.jobmanager.JobManager$$anonfun$handleMessage$1$$anonfun$applyOrElse$7.apply(JobManager.scala:846)
> 	at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)
> 	at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24)
> 	at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:41)
> 	at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:401)
> 	at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
> 	at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
> 	at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
> 	at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
> Caused by: java.io.IOException: Output path '/tmp/flink/result2' could not be initialized.
Canceling task...
> 	at org.apache.flink.api.common.io.FileOutputFormat.open(FileOutputFormat.java:233)
> 	at org.apache.flink.api.java.io.TextOutputFormat.open(TextOutputFormat.java:78)
> 	at org.apache.flink.runtime.operators.DataSinkTask.invoke(DataSinkTask.java:178)
> 	at org.apache.flink.runtime.taskmanager.Task.run(Task.java:654)
> 	at java.lang.Thread.run(Thread.java:745)
> Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 36.891 sec <<<
FAILURE! - in org.apache.flink.python.api.PythonPlanBinderTest
> testJobWithoutObjectReuse(org.apache.flink.python.api.PythonPlanBinderTest)  Time elapsed:
11.53 sec  <<< FAILURE!
> java.lang.AssertionError: Error while calling the test program: Job execution failed.
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.apache.flink.test.util.JavaProgramTestBase.testJobWithoutObjectReuse(JavaProgramTestBase.java:180)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	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.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
> 	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.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
> 	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
> 	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
> 	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
> 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
> 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
> 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
> Results :
> Failed tests: 
>   PythonPlanBinderTest>JavaProgramTestBase.testJobWithoutObjectReuse:180 Error while
calling the test program: Job execution failed.
> {code}
> Maybe, a parallel test is cleaning up this directory? It should probably use a unique
output path anyway.
> stdout log:
> https://api.travis-ci.org/jobs/179473047/log.txt?deansi=true
> full logs:
> https://transfer.sh/Wx3W6/27.9.tar.gz



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message