Closed Bug 595958 Opened 14 years ago Closed 14 years ago

Intermittent "Failed to send data 5 times... quitting" and "local variable 'values' referenced before assignment" sending talos results

Categories

(Webtools Graveyard :: Graph Server, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: philor, Assigned: anodelman)

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

I thought someone filed this back when it first started happening, but I don't see any sign of it.

http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1284405392.1284406285.16298.gz
Rev3 Fedora 12x64 mozilla-central talos tp4 on 2010/09/13 12:16:32  

FAIL: Failed to send data 5 times... quitting
RETURN:send failed, graph server says:
RETURN:to determine average from 'test_run_values' for  5337303 - local variable 'values' referenced before assignment
RETURN:  File "/data/www/graphs.mozilla.org/server/pyfomatic/collect.py", line 257, in handleRequest
RETURN:    average = valuesReader(databaseCursor, databaseModule, inputStream, metadata)
RETURN:  File "/data/www/graphs.mozilla.org/server/pyfomatic/collect.py", line 215, in valuesReader
RETURN:    raise DatabaseException("to determine average from 'test_run_values' for  %s - %s" % (metadata.test_run_id, str(x)))
RETURN:
RETURN:
I'm going to try and diagnose this.
Assignee: nobody → anodelman
My current theory is that we sometimes fail to collect any xres information (which needs to be diagnosed separately) and then we attempt to send an empty data set to the graph server.  This catches this case.
Attachment #487937 - Flags: review?(jhammel)
Comment on attachment 487937 [details] [diff] [review]
[checked in]don't send empty data sets to the graph server

looks good :)
Attachment #487937 - Flags: review?(jhammel) → review+
Tested green on tools-r3-fed-002, with minor code change (ensure that variable is defined before use).
Comment on attachment 487937 [details] [diff] [review]
[checked in]don't send empty data sets to the graph server

Checked in, changeset:   207:5c7b44ac3599
Attachment #487937 - Attachment description: don't send empty data sets to the graph server → [checked in]don't send empty data sets to the graph server
Depends on: 610841
The error has stopped occurring since releng landed the update to talos.zip.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [orange]
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: