Closed
Bug 1027444
Opened 11 years ago
Closed 11 years ago
Tokenserver JSON summary logs code=200 for error responses
Categories
(Cloud Services Graveyard :: Server: Token, defect)
Cloud Services Graveyard
Server: Token
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rfkelly, Assigned: rfkelly)
Details
(Whiteboard: [qa+])
Attachments
(1 file)
2.86 KB,
patch
|
telliott
:
review+
|
Details | Diff | Splinter Review |
As noticed during loadtesting in Bug 1014496, this actually produces a 503 response but the summary log line says 200:
{"code": 200, "v": 1, "pid": 3434, "agent": "python-requests/2.2.1 CPython/2.7.3 Linux/3.5.0-23-generic", "token.assertion.verify_failure": 1, "path": "https://token.stage.mozaws.net/1.0/sync/1.5", "remoteAddressChain": ["54.245.44.231", "10.198.137.229", "127.0.0.1"], "request_time": 0.04247593879699707, "hostname": "ip-10-97-158-44", "name": "mozsvc.metrics", "token.assertion.connection_error": 1, "tokenserver.assertion.verify": 0.041944980621337891, "time": "2014-06-19T00:48:01.719310Z", "method": "GET", "op": "mozsvc.metrics"}
It's probably due to tokenserver raising an error object rather than returning an error response.
Updated•11 years ago
|
Whiteboard: [qa+]
Comment 1•11 years ago
|
||
Do we want an update here now that 1.2.9 is about to go to Production?
Comment 2•11 years ago
|
||
Stage and Production are out the door:
Stage Deploy: bug 1014496
Prod Deploy: bug 1027899
so, we can save this work for the next round...
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → rfkelly
Assignee | ||
Comment 3•11 years ago
|
||
Fortunately a pretty trivial fix
Attachment #8449986 -
Flags: review?(telliott)
Updated•11 years ago
|
Attachment #8449986 -
Flags: review?(telliott) → review+
Assignee | ||
Comment 4•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•2 years ago
|
Product: Cloud Services → Cloud Services Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•