Increase debug symbol upload timeout |
||||||
Issue descriptionIn recent Chrome OS builds, sometimes DebugSymbols stage is failing because of upload time out. For example: https://uberchromegw.corp.google.com/i/chromeos/builders/mccloud-release/builds/862/steps/DebugSymbols/logs/stdio > 14:16:51: INFO: Uploading symbol_file: infocmp/2A56CE588D1BB51F8915DB5442FD80CA0/infocmp.sym > 14:18:52: WARNING: could not upload: infocmp.sym: timed out We should increase the timeout to avoid flakiness, so that we can let DebugSymbols be a reason to make the build red.
,
Feb 16 2017
Uploaded a CL: https://chromium-review.googlesource.com/c/443946/
,
Feb 16 2017
Please note that that timeout is per-symbol file, and total uploads can already take a long time. I'm saying that we shouldn't increase the timeout, just saying that we need to watch what it does to build time. The below numbers show that symbol uploads normally take an hour, and have taken up to 3 hours. The numbers cover all successful canary builds during the last month. DebugSymbols: duration: median 1:02:50 mean 1:08:47 min 0:07:58 max 3:03:32
,
Feb 17 2017
I think this shouldn't affect the total duration of the stage much, because this timeout is observed only once per build when it happens. It can take about a few minutes longer than before, but I don't expect it take another couple of hours.
,
Feb 17 2017
I agree, but want to confirm.
,
Feb 25 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/chromite/+/c00493767a5e9724d6cb34da9bb9fc4807db6e74 commit c00493767a5e9724d6cb34da9bb9fc4807db6e74 Author: Ryo Hashimoto <hashimoto@google.com> Date: Sat Feb 25 18:32:06 2017 upload_symbols: Increase UPLOAD_MIN_TIMEOUT Connection set up may sometimes take more than 3 minutes. Increase UPLOAD_MIN_TIMEOUT to be robust against this. BUG= chromium:692976 TEST=./scripts/upload_symbols_unittest Change-Id: Id1abc1f0770763c1595aa330406d42d915c51957 Reviewed-on: https://chromium-review.googlesource.com/443946 Commit-Ready: Ryo Hashimoto <hashimoto@chromium.org> Tested-by: Ryo Hashimoto <hashimoto@chromium.org> Reviewed-by: Don Garrett <dgarrett@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org> [modify] https://crrev.com/c00493767a5e9724d6cb34da9bb9fc4807db6e74/scripts/upload_symbols.py
,
Mar 15 2017
Not seeing upload timeout with recent builds.
,
Mar 15 2017
Sweet! Did anyone ever ping the crash server team? Maybe we should tell them if we're having performance problems instead of only working around them.
,
Mar 17 2017
I guess it's WAI even when symbol upload takes a number of minutes for a relatively small symbol file. sym_upload is the default symbol upload tool provided by breakpad, but it seems it's not caring about timeout. https://cs.chromium.org/chromium/src/breakpad/src/common/linux/http_upload.cc?q=time.?out+file:%5Esrc/breakpad/src/common/+package:%5Echromium$&l=118&dr=C
,
May 30 2017
,
Aug 1 2017
,
Jan 22 2018
|
||||||
►
Sign in to add a comment |
||||||
Comment 1 by hashimoto@chromium.org
, Feb 16 2017