Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-6256

./gradlew needsRunnerTests fails on fresh clone

Details

    • Bug
    • Status: Resolved
    • P1
    • Resolution: Fixed
    • None
    • Not applicable
    • build-system
    • None

    Description

      On OSX, this fails on the master branch:

          ./gradlew needsRunnerTests

       

      A few tests fail before it appears to lock up and time out:

      > 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

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kenn Kenneth Knowles
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment