Also, WDYT about running these tests as PostCommit instead of preCommit as they 
are integration tests?
Etienne
Le jeudi 22 mars 2018 à 09:49 +0100, Etienne Chauchot a écrit :
> Hi all,
> java PreCommit test fails on jenkins on the examples module (woundCountIT). 
> It gives incorrect signal on the build of
> PRs.
> It seems to be related to communication issues with dataflow service
> 
> org.apache.beam.examples.WindowedWordCountIT.testWindowedWordCountInBatchStaticSharding
> or 
> org.apache.beam.examples.WindowedWordCountIT.testWindowedWordCountInBatchDynamicSharding
> A work item was attempted 4 times without success. Each time the worker 
> eventually lost contact with the service. The
> work item was attempted on: 
>   testpipeline-jenkins-0321-03210922-9f05-harness-qxtj,
>   testpipeline-jenkins-0321-03210922-9f05-harness-98n1,
>   testpipeline-jenkins-0321-03210922-9f05-harness-47mf,
>   testpipeline-jenkins-0321-03210922-9f05-harness-n1vb
> 
> 
> org.apache.beam.examples.WordCountIT.testE2EWordCount
> java.lang.RuntimeException: Workflow failed. Causes: The Dataflow appears to 
> be stuck. You can get help with Cloud
> Dataflow at https://cloud.google.com/dataflow/support.
>       at 
> org.apache.beam.runners.dataflow.TestDataflowRunner.run(TestDataflowRunner.java:134)
>       at 
> org.apache.beam.runners.dataflow.TestDataflowRunner.run(TestDataflowRunner.java:90)
>       at 
> org.apache.beam.runners.dataflow.TestDataflowRunner.run(TestDataflowRunner.java:55)
>       at org.apache.beam.sdk.Pipeline.run(Pipeline.java:311)
>       at org.apache.beam.sdk.Pipeline.run(Pipeline.java:297)
>       at org.apache.beam.examples.WordCount.runWordCount(WordCount.java:185)
>       at 
> org.apache.beam.examples.WordCountIT.testE2EWordCount(WordCountIT.java:70)
>       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.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.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:410)
>       at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>       at java.lang.Thread.run(Thread.java:748)
>  
> Does anyone has a clue?
> 
> Etienne

Reply via email to