• Ned Nguyen's avatar
    Add retry logic to results_dashboard uploading · 881f1317
    Ned Nguyen authored
    In this first attempt, we retry upload the whole perf dashboard data (JSONnizable)
    for any recoverable error.
    
    Subsequent CL may improve this further by splitting up the perf dashboard data
    to small parts and only try to reupload the parts which the upload failed.
    
    This CL also increase the expiration of the oath token generated for each perf benchmark's data to 30 minutes (used to be 1 minutes by default)
    
    Bug: 864565
    Cq-Include-Trybots: master.tryserver.chromium.perf:obbs_fyi
    Change-Id: If4cb959cc62c5da3baa4a36a5ae91c10ca6d4d02
    Reviewed-on: https://chromium-review.googlesource.com/1148228
    Commit-Queue: Ned Nguyen <nednguyen@google.com>
    Reviewed-by: default avatarSimon Hatch <simonhatch@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#577682}
    881f1317
results_dashboard.py 16.6 KB