Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tasks] flake: 400 The queue no longer exists, though a queue with this name existed recently. #4034

Closed
tmatsuo opened this issue Jun 9, 2020 · 1 comment
Assignees
Labels
api: cloudtasks Issues related to the Cloud Tasks API. priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@tmatsuo
Copy link
Contributor

tmatsuo commented Jun 9, 2020

Build

tasks

Log:

Traceback (most recent call last):
  File "/workspace/tasks/.nox/py-3-6/lib/python3.6/site-packages/google/api_core/grpc_helpers.py", line 57, in error_remapped_callable
    return callable_(*args, **kwargs)
  File "/workspace/tasks/.nox/py-3-6/lib/python3.6/site-packages/grpc/_channel.py", line 826, in __call__
    return _end_unary_response_blocking(state, call, False, None)
  File "/workspace/tasks/.nox/py-3-6/lib/python3.6/site-packages/grpc/_channel.py", line 729, in _end_unary_response_blocking
    raise _InactiveRpcError(state)
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
	status = StatusCode.FAILED_PRECONDITION
	details = "The queue no longer exists, though a queue with this name existed recently."
	debug_error_string = "{"created":"@1591741944.207542665","description":"Error received from peer ipv4:74.125.202.95:443","file":"src/core/lib/surface/call.cc","file_line":1056,"grpc_message":"The queue no longer exists, though a queue with this name existed recently.","grpc_status":9}"
>

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/workspace/tasks/create_http_task_test.py", line 27, in test_create_http_task
    TEST_PROJECT_ID, TEST_QUEUE_NAME, TEST_LOCATION, url)
  File "/workspace/tasks/create_http_task.py", line 77, in create_http_task
    response = client.create_task(parent, task)
  File "/workspace/tasks/.nox/py-3-6/lib/python3.6/site-packages/google/cloud/tasks_v2/gapic/cloud_tasks_client.py", line 1508, in create_task
    request, retry=retry, timeout=timeout, metadata=metadata
  File "/workspace/tasks/.nox/py-3-6/lib/python3.6/site-packages/google/api_core/gapic_v1/method.py", line 143, in __call__
    return wrapped_func(*args, **kwargs)
  File "/workspace/tasks/.nox/py-3-6/lib/python3.6/site-packages/google/api_core/retry.py", line 286, in retry_wrapped_func
    on_error=on_error,
  File "/workspace/tasks/.nox/py-3-6/lib/python3.6/site-packages/google/api_core/retry.py", line 184, in retry_target
    return target()
  File "/workspace/tasks/.nox/py-3-6/lib/python3.6/site-packages/google/api_core/timeout.py", line 214, in func_with_timeout
    return func(*args, **kwargs)
  File "/workspace/tasks/.nox/py-3-6/lib/python3.6/site-packages/google/api_core/grpc_helpers.py", line 59, in error_remapped_callable
    six.raise_from(exceptions.from_grpc_error(exc), exc)
  File "<string>", line 3, in raise_from
google.api_core.exceptions.FailedPrecondition: 400 The queue no longer exists, though a queue with this name existed recently.
@tmatsuo tmatsuo added priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. api: cloudtasks Issues related to the Cloud Tasks API. labels Jun 9, 2020
@tmatsuo tmatsuo self-assigned this Jun 9, 2020
@tmatsuo
Copy link
Contributor Author

tmatsuo commented Jun 10, 2020

Dup of #4045

@tmatsuo tmatsuo closed this as completed Jun 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: cloudtasks Issues related to the Cloud Tasks API. priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

1 participant