Skip to content

Flaky: ITRemoteUDFTest.testRoutineRemoteUDF fails with internal error #3972

@mpeddada1

Description

@mpeddada1

Observed in #3969:

[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 6.571 s <<< FAILURE! -- in com.google.cloud.bigquery.it.ITRemoteUDFTest
[ERROR] com.google.cloud.bigquery.it.ITRemoteUDFTest.testRoutineRemoteUDF -- Time elapsed: 5.615 s <<< ERROR!
com.google.cloud.bigquery.BigQueryException: An internal error occurred and the request could not be completed. This is usually caused by a transient issue. Retrying the job with back-off as described in the BigQuery SLA should solve the problem: https://cloud.google.com/bigquery/sla. If the error continues to occur please contact support at https://cloud.google.com/support. Error: 4316996
	at com.google.cloud.bigquery.BigQueryRetryHelper.runWithRetries(BigQueryRetryHelper.java:71)
	at com.google.cloud.bigquery.BigQueryImpl.create(BigQueryImpl.java:391)
	at com.google.cloud.bigquery.it.ITRemoteUDFTest.testRoutineRemoteUDF(ITRemoteUDFTest.java:123)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
Caused by: com.google.api.client.googleapis.json.GoogleJsonResponseException: 500 Internal Server Error
POST https://bigquery.googleapis.com/bigquery/v2/projects/gcloud-devel/datasets/gcloud_test_dataset_temp_8beb481d_9208_4510_8875_e26071e05bfc/routines?prettyPrint=false
{
  "code": 500,
  "errors": [
    {
      "domain": "global",
      "message": "An internal error occurred and the request could not be completed. This is usually caused by a transient issue. Retrying the job with back-off as described in the BigQuery SLA should solve the problem: https://cloud.google.com/bigquery/sla. If the error continues to occur please contact support at https://cloud.google.com/support. Error: 4316996",
      "reason": "internalError"
    }
  ],
  "message": "An internal error occurred and the request could not be completed. This is usually caused by a transient issue. Retrying the job with back-off as described in the BigQuery SLA should solve the problem: https://cloud.google.com/bigquery/sla. If the error continues to occur please contact support at https://cloud.google.com/support. Error: 4316996",
  "status": "INTERNAL"
}
	at com.google.api.client.googleapis.json.GoogleJsonResponseException.from(GoogleJsonResponseException.java:145)
	at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:118)
	at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:37)
	at com.google.api.client.googleapis.services.AbstractGoogleClientRequest$3.interceptResponse(AbstractGoogleClientRequest.java:479)
	at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1111)
	at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:565)
	at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:506)
	at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:616)
	at com.google.cloud.bigquery.spi.v2.HttpBigQueryRpc.createSkipExceptionTranslation(HttpBigQueryRpc.java:380)
	at com.google.cloud.bigquery.BigQueryImpl$3.call(BigQueryImpl.java:395)
	at com.google.cloud.bigquery.BigQueryImpl$3.call(BigQueryImpl.java:392)
	at com.google.api.gax.retrying.DirectRetryingExecutor.submit(DirectRetryingExecutor.java:102)
	at com.google.cloud.bigquery.BigQueryRetryHelper.run(BigQueryRetryHelper.java:108)
	at com.google.cloud.bigquery.BigQueryRetryHelper.runWithRetries(BigQueryRetryHelper.java:62)
	... 3 more

Metadata

Metadata

Assignees

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