Skip to content

dataproc.snippets.update_cluster_test: test_update_cluster failed #8894

@flaky-bot

Description

@flaky-bot

Note: #8646 was also for this test, but it was closed more than 10 days ago. So, I didn't mark it flaky.


commit: 66e069f
buildURL: Build Status, Sponge
status: failed

Test output
Traceback (most recent call last):
  File "/workspace/dataproc/snippets/.nox/py-3-11/lib/python3.11/site-packages/google/api_core/grpc_helpers.py", line 72, in error_remapped_callable
    return callable_(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspace/dataproc/snippets/.nox/py-3-11/lib/python3.11/site-packages/grpc/_channel.py", line 946, in __call__
    return _end_unary_response_blocking(state, call, False, None)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspace/dataproc/snippets/.nox/py-3-11/lib/python3.11/site-packages/grpc/_channel.py", line 849, in _end_unary_response_blocking
    raise _InactiveRpcError(state)
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
	status = StatusCode.INVALID_ARGUMENT
	details = "Default Service Account '[email protected]' is missing required permissions: [dataproc.agents.create, dataproc.agents.delete, dataproc.agents.get, dataproc.agents.update, dataproc.tasks.lease, dataproc.tasks.listInvalidatedLeases, dataproc.tasks.reportStatus]. Service Accounts must have either 'Dataproc/Dataproc Worker' role or all permissions granted by the role. See https://cloud.google.com/dataproc/docs/concepts/iam for further details."
	debug_error_string = "UNKNOWN:Error received from peer ipv4:74.125.142.95:443 {created_time:"2023-01-10T14:25:13.772965353+00:00", grpc_status:3, grpc_message:"Default Service Account \'[email protected]\' is missing required permissions: [dataproc.agents.create, dataproc.agents.delete, dataproc.agents.get, dataproc.agents.update, dataproc.tasks.lease, dataproc.tasks.listInvalidatedLeases, dataproc.tasks.reportStatus]. Service Accounts must have either \'Dataproc/Dataproc Worker\' role or all permissions granted by the role. See https://cloud.google.com/dataproc/docs/concepts/iam for further details."}"
>

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

Traceback (most recent call last):
File "/workspace/dataproc/snippets/update_cluster_test.py", line 57, in setup_teardown
operation = cluster_client.create_cluster(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/dataproc/snippets/.nox/py-3-11/lib/python3.11/site-packages/google/cloud/dataproc_v1/services/cluster_controller/client.py", line 567, in create_cluster
response = rpc(
^^^^
File "/workspace/dataproc/snippets/.nox/py-3-11/lib/python3.11/site-packages/google/api_core/gapic_v1/method.py", line 154, in call
return wrapped_func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/dataproc/snippets/.nox/py-3-11/lib/python3.11/site-packages/google/api_core/retry.py", line 283, in retry_wrapped_func
return retry_target(
^^^^^^^^^^^^^
File "/workspace/dataproc/snippets/.nox/py-3-11/lib/python3.11/site-packages/google/api_core/retry.py", line 190, in retry_target
return target()
^^^^^^^^
File "/workspace/dataproc/snippets/.nox/py-3-11/lib/python3.11/site-packages/google/api_core/grpc_helpers.py", line 74, in error_remapped_callable
raise exceptions.from_grpc_error(exc) from exc
google.api_core.exceptions.InvalidArgument: 400 Default Service Account '[email protected]' is missing required permissions: [dataproc.agents.create, dataproc.agents.delete, dataproc.agents.get, dataproc.agents.update, dataproc.tasks.lease, dataproc.tasks.listInvalidatedLeases, dataproc.tasks.reportStatus]. Service Accounts must have either 'Dataproc/Dataproc Worker' role or all permissions granted by the role. See https://cloud.google.com/dataproc/docs/concepts/iam for further details.

Metadata

Metadata

Assignees

Labels

api: dataprocIssues related to the Dataproc API.flakybot: issueAn issue filed by the Flaky Bot. Should not be added manually.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.samplesIssues that are directly related to samples.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