Skip to content

flaky tests: IAM Service account test failing Python3.9 #10243

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

Closed
holtskinner opened this issue Jun 14, 2023 · 1 comment
Closed

flaky tests: IAM Service account test failing Python3.9 #10243

holtskinner opened this issue Jun 14, 2023 · 1 comment
Assignees
Labels
api: iam Issues related to the Identity and Access Management API. priority: p2 Moderately-important priority. Fix may not be included in next release. samples Issues that are directly related to samples. triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@holtskinner
Copy link
Contributor

Traceback (most recent call last):
  File "/workspace/iam/api-client/service_accounts_test.py", line 36, in test_service_accounts
    service_accounts.rename_service_account(unique_id, "Updated Py Test Account")
  File "/workspace/iam/api-client/service_accounts.py", line 114, in rename_service_account
    service.projects().serviceAccounts().get(name=resource).execute()
  File "/workspace/iam/api-client/.nox/py-3-9/lib/python3.9/site-packages/googleapiclient/_helpers.py", line 130, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/workspace/iam/api-client/.nox/py-3-9/lib/python3.9/site-packages/googleapiclient/http.py", line 938, in execute
    raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: <HttpError 404 when requesting https://iam.googleapis.com/v1/projects/-/serviceAccounts/105186979449173761854?alt=json returned "Service account projects/-/serviceAccounts/105186979449173761854 does not exist.". Details: "Service account projects/-/serviceAccounts/105186979449173761854 does not exist.">
@holtskinner holtskinner added triage me I really want to be triaged. 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. labels Jun 14, 2023
@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Jun 14, 2023
@holtskinner holtskinner added api: iam Issues related to the Identity and Access Management API. and removed samples Issues that are directly related to samples. labels Jun 14, 2023
@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Jun 15, 2023
@leahecole
Copy link
Collaborator

Duplicate of #9965

@leahecole leahecole marked this as a duplicate of #9965 Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: iam Issues related to the Identity and Access Management API. priority: p2 Moderately-important priority. Fix may not be included in next release. samples Issues that are directly related to samples. triage me I really want to be triaged. 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

3 participants