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

iam.api-client.service_accounts_test: test_service_accounts failed #4087

Closed
flaky-bot bot opened this issue Jun 13, 2020 · 2 comments · Fixed by #4094
Closed

iam.api-client.service_accounts_test: test_service_accounts failed #4087

flaky-bot bot opened this issue Jun 13, 2020 · 2 comments · Fixed by #4094
Assignees
Labels
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

@flaky-bot
Copy link

flaky-bot bot commented Jun 13, 2020

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


commit: 6d2ae3a
buildURL: Build Status, Sponge
status: failed

Test output
Traceback (most recent call last):
  File "/workspace/iam/api-client/service_accounts_test.py", line 35, in test_service_accounts
    service_accounts.enable_service_account(email)
  File "/workspace/iam/api-client/service_accounts.py", line 146, in enable_service_account
    service.projects().serviceAccounts().enable(
  File "/workspace/iam/api-client/.nox/py-3-8/lib/python3.8/site-packages/googleapiclient/_helpers.py", line 134, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/workspace/iam/api-client/.nox/py-3-8/lib/python3.8/site-packages/googleapiclient/http.py", line 907, in execute
    raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: 
@flaky-bot flaky-bot bot added buildcop: issue priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Jun 13, 2020
@flaky-bot
Copy link
Author

flaky-bot bot commented Jun 14, 2020

Looks like this issue is flaky. 😟

I'm going to leave this open and stop commenting.

A human should fix and close this.


When run at the same commit (6d2ae3a), this test passed in one build (Build Status, Sponge) and failed in another build (Build Status, Sponge).

@tmatsuo
Copy link
Contributor

tmatsuo commented Jun 15, 2020

I'm not worrying this flake too much. My hypothesis is that the service somehow failed to fetch the iam configuration and returns an error. Downgrading to P2.

I'll consult the product eng team.

@tmatsuo tmatsuo added priority: p2 Moderately-important priority. Fix may not be included in next release. and removed priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. labels Jun 15, 2020
tmatsuo pushed a commit to tmatsuo/python-docs-samples that referenced this issue Jun 15, 2020
tmatsuo pushed a commit to tmatsuo/python-docs-samples that referenced this issue Jun 15, 2020
tmatsuo pushed a commit that referenced this issue Jun 15, 2020
* [iam] bigger entropy for unique id

* [iam] testing: use uniqueId instead of email

fixes #4087

* lint fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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