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: 'test_notification_minimal' flakes with 429. #7384

Closed
tseaver opened this issue Feb 19, 2019 · 2 comments · Fixed by #8112
Closed

Storage: 'test_notification_minimal' flakes with 429. #7384

tseaver opened this issue Feb 19, 2019 · 2 comments · Fixed by #8112
Assignees
Labels
api: storage Issues related to the Cloud Storage API. flaky testing type: process A process-related concern. May include testing, release, or the like.

Comments

@tseaver
Copy link
Contributor

tseaver commented Feb 19, 2019

From: https://source.cloud.google.com/results/invocations/6c7f96f1-fba9-423a-bbba-47b84a314932/targets/cloud-devrel%2Fclient-libraries%2Fgoogle-cloud-python%2Fpresubmit%2Fstorage/log

____________ TestStorageNotificationCRUD.test_notification_minimal _____________
self = <tests.system.TestStorageNotificationCRUD testMethod=test_notification_minimal>
    def test_notification_minimal(self):
        new_bucket_name = "notification-minimal" + unique_resource_id("-")
>       bucket = retry_429(Config.CLIENT.create_bucket)(new_bucket_name)
...
        response = self._make_request(
            method=method,
            url=url,
            data=data,
            content_type=content_type,
            headers=headers,
            target_object=_target_object,
        )
        if not 200 <= response.status_code < 300:
>           raise exceptions.from_http_response(response)
E           google.api_core.exceptions.TooManyRequests: 429 POST https://www.googleapis.com/storage/v1/b?project=precise-truck-742: The project exceeded the rate limit for creating and deleting buckets.
../core/google/cloud/_http.py:319: TooManyRequests
@tseaver
Copy link
Contributor Author

tseaver commented May 20, 2019

Recurred today.

@tseaver
Copy link
Contributor Author

tseaver commented May 23, 2019

Note that the new occurence this week was in the tearDown for the test_notification_minimal systest (deleting the bucket, rather than creating it).

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. flaky testing type: process A process-related concern. May include testing, release, or the like.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant