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

BigQueryIOIT Jenkins job flakes

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • None
    • 2.17.0
    • testing
    • None

    Description

      Java BigQueryIOIT fails with exception:

       

      org.apache.beam.sdk.bigqueryioperftests.BigQueryIOIT > testWriteThenRead FAILED java.lang.IllegalStateException: BigQuery table is not empty: apache-beam-testing:beam_performance.bqio_write_10GB_java. at org.apache.beam.vendor.guava.v26_0_jre.com.google.common.base.Preconditions.checkState(Preconditions.java:588) at org.apache.beam.sdk.io.gcp.bigquery.BigQueryHelpers.verifyTableNotExistOrEmpty(BigQueryHelpers.java:511) at org.apache.beam.sdk.io.gcp.bigquery.BigQueryIO$Write.validate(BigQueryIO.java:2246) at org.apache.beam.sdk.Pipeline$ValidateVisitor.enterCompositeTransform(Pipeline.java:643) at org.apache.beam.sdk.runners.TransformHierarchy$Node.visit(TransformHierarchy.java:653) at org.apache.beam.sdk.runners.TransformHierarchy$Node.visit(TransformHierarchy.java:657) at org.apache.beam.sdk.runners.TransformHierarchy$Node.access$600(TransformHierarchy.java:317) at org.apache.beam.sdk.runners.TransformHierarchy.visit(TransformHierarchy.java:251) at org.apache.beam.sdk.Pipeline.traverseTopologically(Pipeline.java:460) at org.apache.beam.sdk.Pipeline.validate(Pipeline.java:579) at org.apache.beam.sdk.Pipeline.run(Pipeline.java:314) at org.apache.beam.sdk.Pipeline.run(Pipeline.java:301) at org.apache.beam.sdk.bigqueryioperftests.BigQueryIOIT.testWrite(BigQueryIOIT.java:146) at org.apache.beam.sdk.bigqueryioperftests.BigQueryIOIT.testWriteThenRead(BigQueryIOIT.java:116)
      

      The fix is to append unique UUID to the table names in the test.

      Attachments

        Issue Links

          Activity

            People

              mwalenia Michał Walenia
              mwalenia Michał Walenia
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m