Bug 105094 - Stupid type error when uploading results to the test results server json
Summary: Stupid type error when uploading results to the test results server json
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2012-12-15 08:50 PST by Ojan Vafai
Modified: 2012-12-15 08:50 PST (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Ojan Vafai 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__
  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