Skip to content

System test for 'Topic.check_iam_permissions' fails with 503 #1687

@tseaver

Description

@tseaver

While working on a new system test for Topic.check_iam_permissions (the wrapper for projects.topics.testIamPermissions), the back-end consistently fails the API call with a 503::

(Pdb) pp content
'{\n  "error": {\n    "code": 503,\n    "message": "The service was unable to fulfill your request. Please try again. [code=8a75]",\n    "status": "UNAVAILABLE"\n  }\n}\n'
(Pdb) pp response
{'-content-encoding': 'gzip',
 'alt-svc': 'quic=":443"; ma=2592000; v="32,31,30,29,28,27,26,25"',
 'alternate-protocol': '443:quic',
 'cache-control': 'private',
 'content-length': '162',
 'content-type': 'application/json; charset=UTF-8',
 'date': 'Fri, 01 Apr 2016 16:20:35 GMT',
 'server': 'ESF',
 'status': '503',
 'transfer-encoding': 'chunked',
 'vary': 'Origin, X-Origin, Referer',
 'x-content-type-options': 'nosniff',
 'x-frame-options': 'SAMEORIGIN',
 'x-xss-protection': '1; mode=block'}
(Pdb) pp method
'POST'
(Pdb) pp url
'https://pubsub.googleapis.com/v1/projects/citric-celerity-697/topics/ex_topic_iam_policy-1459527567594:testIamPermissions'

@tmatsuo does that extra code (8a75) tell you anything about the failure?

Metadata

Metadata

Assignees

Labels

api: pubsubIssues related to the Pub/Sub API.testingtype: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions