Changeset 190898 in webkit


Ignore:
Timestamp:
Oct 12, 2015, 3:43:49 PM (10 years ago)
Author:
rniwa@webkit.org
Message:

Build fix after r190817. Now that pull-os-versions store fake timestamps, we need to bypass timestamp
checks for OS versions when bots try to report new results. Otherwise, we fail to process the reports
with a MismatchingCommitTime error.

  • public/include/report-processor.php:

(ReportProcessor::resolve_build_id):

Location:
trunk/Websites/perf.webkit.org
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Websites/perf.webkit.org/ChangeLog

    r190817 r190898  
     12015-10-11  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        Build fix after r190817.  Now that pull-os-versions store fake timestamps, we need to bypass timestamp
     4        checks for OS versions when bots try to report new results. Otherwise, we fail to process the reports
     5        with a MismatchingCommitTime error.
     6
     7        * public/include/report-processor.php:
     8        (ReportProcessor::resolve_build_id):
     9
    1102015-10-08  Ryosuke Niwa  <rniwa@webkit.org>
    211
  • trunk/Websites/perf.webkit.org/public/include/report-processor.php

    r179037 r190898  
    153153            if (!$commit_row)
    154154                $this->exit_with_error('FailedToRecordCommit', $commit_data);
    155             if (abs($commit_row['commit_time'] - $commit_data['time']) > 1.0)
     155            if ($commit_data['time'] && abs($commit_row['commit_time'] - $commit_data['time']) > 1.0)
    156156                $this->exit_with_error('MismatchingCommitTime', array('existing' => $commit_row, 'new' => $commit_data));
    157157
Note: See TracChangeset for help on using the changeset viewer.