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

[storage] flake: Service account HMAC key limit reached #4029

Closed
tmatsuo opened this issue Jun 9, 2020 · 0 comments · Fixed by #4048
Closed

[storage] flake: Service account HMAC key limit reached #4029

tmatsuo opened this issue Jun 9, 2020 · 0 comments · Fixed by #4048
Assignees
Labels
api: storage Issues related to the Cloud Storage 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

storage/cloud-client
hmac_samples_test.test_create_key

Log:

Traceback (most recent call last):
  File "/workspace/storage/cloud-client/hmac_samples_test.py", line 72, in test_create_key
    PROJECT_ID, SERVICE_ACCOUNT_EMAIL
  File "/workspace/storage/cloud-client/storage_create_hmac_key.py", line 33, in create_key
    service_account_email=service_account_email, project_id=project_id
  File "/workspace/storage/cloud-client/.nox/py-3-7/lib/python3.7/site-packages/google/cloud/storage/client.py", line 749, in create_hmac_key
    method="POST", path=path, query_params=qs_params, timeout=timeout
  File "/workspace/storage/cloud-client/.nox/py-3-7/lib/python3.7/site-packages/google/cloud/_http.py", line 423, in api_request
    raise exceptions.from_http_response(response)
google.api_core.exceptions.Forbidden: 403 POST https://storage.googleapis.com/storage/v1/projects/python-docs-samples-tests/hmacKeys?serviceAccountEmail=jenkins-and-travis%40python-docs-samples-tests.iam.gserviceaccount.com: Service account HMAC key limit reached
@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: storage Issues related to the Cloud Storage API. labels Jun 9, 2020
@tmatsuo tmatsuo self-assigned this Jun 9, 2020
@tmatsuo tmatsuo changed the title [storage] flake: [storage] flake: Service account HMAC key limit reached Jun 9, 2020
tmatsuo pushed a commit to tmatsuo/python-docs-samples that referenced this issue Jun 10, 2020
We still need to use the old project for some tests.

fixes GoogleCloudPlatform#4033
fixes GoogleCloudPlatform#4029
tmatsuo pushed a commit to tmatsuo/python-docs-samples that referenced this issue Jun 10, 2020
We still need to use the old project for some tests.

fixes GoogleCloudPlatform#4033
fixes GoogleCloudPlatform#4029
tmatsuo pushed a commit to tmatsuo/python-docs-samples that referenced this issue Jun 11, 2020
We still need to use the old project for some tests.

fixes GoogleCloudPlatform#4033
fixes GoogleCloudPlatform#4029
tmatsuo pushed a commit that referenced this issue Jun 11, 2020
* [storage] testing: use multiple projects

We still need to use the old project for some tests.

fixes #4033
fixes #4029

* remove print

* use uuid instead of time.time()

* lint fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the Cloud Storage 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

Successfully merging a pull request may close this issue.

1 participant