Closed Bug 348785 Opened 18 years ago Closed 12 years ago

build graphs should return bad HTTP code on error

Categories

(Webtools Graveyard :: Graph Server, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED
Future

People

(Reporter: rhelmer, Unassigned)

References

()

Details

The build-graphs server will happily accept a submission and return an HTTP 200 if there are problems saving the data, and print something like this:

<H1>Software error:</H1>
<PRE>Can't open db/xulwinopen/comet.build.mozilla.org: Permission denied at /home/webtools/mozilla/webtools/graph//collect.cgi line 103.

In order to make it easier for clients (like tinderbox) to detect failure, this should return an HTTP 500.
Assignee: preed → rhelmer
Depends on: 348899
Assignee: rhelmer → build
QA Contact: timeless → build
Assignee: build → nobody
Component: Build → Testing
Product: Webtools → Core
QA Contact: build → testing
I don't think this is worth fixing for the current graph server, but we should make sure that we catch this case for the new graphs server.
Assignee: nobody → anodelman
Component: Testing → Graph Server
Product: Core → Webtools
QA Contact: testing → graph.server
I'm not actively working on this.  Putting it back in the pool.
Assignee: anodelman → nobody
Severity: normal → enhancement
Priority: -- → P3
Target Milestone: --- → Future
Depends on: 456529
This is fine in the new graphserver.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.