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

Michael Luckey commented on BEAM-6256:
--------------------------------------

Is this still an issue?

I executed
{noformat}
./gradlew  
-Dorg.gradle.java.home=/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/
 clean  needsRunnerTest --no-build-cache
{noformat}
multiple times. Only failure I got - on one of those runs - was caused by 
python issues which I always face on my machine.

{noformat}
* What went wrong:
Execution failed for task 
':beam-sdks-python-precommit-dataflow:setupVirtualenv'.
> Process 'command 'sh'' finished with non-zero exit value 1
{noformat}

Beside that, the build succeeded.
{noformat}
BUILD SUCCESSFUL in 5m 7s
155 actionable tasks: 144 executed, 11 up-to-date
Closing Git repo: /GitHub/adude3141/beam/.git
{noformat}
Am I missing something?
 

> ./gradlew needsRunnerTests fails on fresh clone
> -----------------------------------------------
>
>                 Key: BEAM-6256
>                 URL: https://issues.apache.org/jira/browse/BEAM-6256
>             Project: Beam
>          Issue Type: Bug
>          Components: build-system
>            Reporter: Kenneth Knowles
>            Priority: Critical
>
> On OSX, this fails on the master branch:
>     {{./gradlew needsRunnerTests}}
>  
> A few tests fail before it appears to lock up and time out:
> {code:java}
> > Task :beam-runners-direct-java:needsRunnerTests
> org.apache.beam.runners.core.metrics.MetricsPusherTest > test FAILED
> java.lang.AssertionError at MetricsPusherTest.java:71
> org.apache.beam.sdk.io.TFRecordIOTest > testReadInvalidDataMask FAILED
> java.lang.AssertionError
> org.apache.beam.sdk.io.TFRecordIOTest > testReadInvalidLengthMask FAILED
> java.lang.AssertionError
> org.apache.beam.sdk.io.AvroIOTest > 
> testContinuouslyWriteAndReadMultipleFilepatterns FAILED
> java.lang.IllegalArgumentException at AvroIOTest.java:453
> org.apache.beam.sdk.io.FileIOTest > testMatchWatchForNewFiles FAILED
> java.lang.IllegalArgumentException at FileIOTest.java:192{code}
> And at this point it hangs.
>  
> This should be part of the Java Pre-commit, so it might be OS-specific. A 
> bare invocation of these tests should always pass, and pretty quickly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to