Details

    • Sub-task
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.24.0
    • io-java-gcp
    • None

    Description

      Gradle task :sdks:java:io:google-cloud-platform:test fails during Java 11 Precommit job

      Example stack trace

      > Task :sdks:java:io:google-cloud-platform:test
      
      org.apache.beam.sdk.io.gcp.bigquery.BigQueryIOReadTest > testReadFromTableWithTemplateCompatibility STANDARD_ERROR
          May 26, 2020 7:19:04 AM org.apache.beam.sdk.io.gcp.bigquery.BigQuerySourceBase executeExtract
          INFO: Starting BigQuery extract job: beam_job_f96ecf5ccd324021938a3c3545e1279c_bigqueryioreadtest0testreadfromtablewithtemplatecompatibilityjenkins052607190433b8fa8c-extract
          May 26, 2020 7:19:04 AM org.apache.beam.sdk.io.gcp.bigquery.BigQuerySourceBase executeExtract
          INFO: BigQuery extract job completed: beam_job_f96ecf5ccd324021938a3c3545e1279c_bigqueryioreadtest0testreadfromtablewithtemplatecompatibilityjenkins052607190433b8fa8c-extract
          May 26, 2020 7:19:04 AM org.apache.beam.sdk.io.gcp.bigquery.BigQueryIO$TypedRead$2 processElement
          INFO: Extract job produced 1 files
          May 26, 2020 7:19:04 AM org.apache.beam.sdk.io.FileBasedSource createReader
          INFO: Matched 1 files for pattern /tmp/junit818678511668450193/BigQueryExtractTemp/f96ecf5ccd324021938a3c3545e1279c/000000000000.avro
      
      org.apache.beam.sdk.io.gcp.bigquery.BigQueryHelpersTest > testPendingJobManager STANDARD_ERROR
          May 26, 2020 7:19:05 AM org.apache.beam.sdk.io.gcp.bigquery.BigQueryHelpers$PendingJobManager waitForDone
          INFO: Waiting for jobs to complete.
          May 26, 2020 7:19:05 AM org.apache.beam.sdk.io.gcp.bigquery.BigQueryHelpers$PendingJobManager waitForDone
          INFO: Job JOB_0-0 failed. retrying.
          May 26, 2020 7:19:05 AM org.apache.beam.sdk.io.gcp.bigquery.BigQueryHelpers$PendingJobManager waitForDone
          INFO: Job JOB_1-0 failed. retrying.
          May 26, 2020 7:19:05 AM org.apache.beam.sdk.io.gcp.bigquery.BigQueryHelpers$PendingJobManager waitForDone
          INFO: Job JOB_2-0 failed. retrying.
          May 26, 2020 7:19:05 AM org.apache.beam.sdk.io.gcp.bigquery.BigQueryHelpers$PendingJobManager waitForDone
          INFO: Job JOB_3-0 failed. retrying.
          May 26, 2020 7:19:05 AM org.apache.beam.sdk.io.gcp.bigquery.BigQueryHelpers$PendingJobManager waitForDone
          INFO: Job JOB_4-0 failed. retrying.
          May 26, 2020 7:19:05 AM org.apache.beam.sdk.io.gcp.bigquery.BigQueryHelpers$PendingJob runJob
          INFO: job JOB_0-0 started
          May 26, 2020 7:19:05 AM org.apache.beam.sdk.io.gcp.bigquery.BigQueryHelpers$PendingJob runJob
          WARNING: Job JOB_1-0 failed with {}
          java.lang.RuntimeException: Failing to start.
          	at org.apache.beam.sdk.io.gcp.bigquery.BigQueryHelpersTest.lambda$testPendingJobManager$c871dfe6$1(BigQueryHelpersTest.java:170)
          	at org.apache.beam.sdk.io.gcp.bigquery.BigQueryHelpers$PendingJob.runJob(BigQueryHelpers.java:209)
          	at org.apache.beam.sdk.io.gcp.bigquery.BigQueryHelpers$PendingJobManager.waitForDone(BigQueryHelpers.java:152)
          	at org.apache.beam.sdk.io.gcp.bigquery.BigQueryHelpersTest.testPendingJobManager(BigQueryHelpersTest.java:204)
          	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
          	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
          	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
          	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
          	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
          	at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:266)
          	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:305)
          	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
          	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:365)
          	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
          	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
          	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:330)
          	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:78)
          	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:328)
          	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:65)
          	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:292)
          	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:305)
          	at org.junit.runners.ParentRunner.run(ParentRunner.java:412)
          	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110)
          	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)
          	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)
          	at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)
          	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
          	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
          	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
          	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
          	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
          	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
          	at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
          	at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:118)
          	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
          	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
          	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
          	at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:175)
          	at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:157)
          	at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404)
          	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
          	at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
          	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
          	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          	at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
          	at java.base/java.lang.Thread.run(Thread.java:834)
      

      Attachments

        Activity

          People

            kenn Kenneth Knowles
            pawel.pasterz Pawel Pasterz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: