Skip to content

Flaky ITBigQuery.testCancelJob #4015

@lqiu96

Description

@lqiu96

Error:

Failures (1):
  JUnit Vintage:ITBigQueryTest:testCancelJob
    MethodSource [className = 'com.google.cloud.bigquery.it.ITBigQueryTest', methodName = 'testCancelJob', methodParameterTypes = '']
    => com.google.cloud.bigquery.BigQueryException: 502 Bad Gateway
POST https://bigquery.googleapis.com/bigquery/v2/projects/gcloud-devel/jobs/dff110be-6680-4ae2-81df-f2aeae2f7388/cancel?location=US&prettyPrint=false


  
  
  Error 502 (Server Error)!!1
  
  
  
502. That’s an error.
  

The server encountered a temporary error and could not complete your request.

Please try again in 30 seconds.  That’s all we know.

       com.google.cloud.bigquery.BigQueryRetryHelper.runWithRetries(BigQueryRetryHelper.java:71)
       com.google.cloud.bigquery.BigQueryImpl.cancel(BigQueryImpl.java:1902)
       com.google.cloud.bigquery.Job.cancel(Job.java:630)
       com.google.cloud.bigquery.it.ITBigQueryTest.testCancelJob(ITBigQueryTest.java:6350)
       java.base@25/java.lang.reflect.Method.invoke(Method.java:565)
       [...]
     Caused by: com.google.api.client.googleapis.json.GoogleJsonResponseException: 502 Bad Gateway
POST https://bigquery.googleapis.com/bigquery/v2/projects/gcloud-devel/jobs/dff110be-6680-4ae2-81df-f2aeae2f7388/cancel?location=US&prettyPrint=false


  
  
  Error 502 (Server Error)!!1
  
  
  

502. That’s an error.
  

The server encountered a temporary error and could not complete your request.

Please try again in 30 seconds.  That’s all we know.

       com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:118)
       com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:37)
       com.google.api.client.googleapis.services.AbstractGoogleClientRequest$3.interceptResponse(AbstractGoogleClientRequest.java:479)
       com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1111)
       com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:565)
       [...]

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: bigqueryIssues related to the googleapis/java-bigquery API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions