Bug 105094 - Stupid type error when uploading results to the test results server json
: Stupid type error when uploading results to the test results server json
Status: NEW
: WebKit
Tools / Tests
: 528+ (Nightly build)
: Unspecified Unspecified
: P2 Normal
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2012-12-15 08:50 PST by
Modified: 2012-12-15 08:50 PST (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2012-12-15 08:50:32 PST
My guess is that the output it just a string. So we need to change %d to %s here. 

There are a bunch of errors on the test results server with the following stack:

Traceback (most recent call last):
  File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/_webapp25.py", line 716, in __call__
    handler.post(*groups)
  File "/base/data/home/apps/test-results/r137745.363864583332953435/handlers/testfilehandler.py", line 251, in post
    update_succeeded = JsonResults.update(master, builder, test_type, file.value)
  File "/base/data/home/apps/test-results/r137745.363864583332953435/model/jsonresults.py", line 312, in update
    small_file_updated = cls.update_file(master, builder, test_type, incremental, JSON_RESULTS_FILE_SMALL, JSON_RESULTS_MAX_BUILDS_SMALL)
  File "/base/data/home/apps/test-results/r137745.363864583332953435/model/jsonresults.py", line 322, in update_file
    new_results = cls.merge(builder, file.data, incremental, num_runs)
  File "/base/data/home/apps/test-results/r137745.363864583332953435/model/jsonresults.py", line 296, in merge
    logging.error("Incremental JSON's build number is the latest build number in the aggregated JSON: %d." % aggregated_json[builder][JSON_RESULTS_BUILD_NUMBERS][0])
TypeError: int argument required

https://appengine.google.com/logs?app_id=test-results&version_id=r137745.363864583332953435&severity_level_override=0&severity_level=3&tz=US%2FPacific&filter=&filter_type=regex&date_type=now&date=2012-12-15&time=08%3A38%3A21&limit=20