commit | fb86331614bf13ba01c7a57ad69626e460f8e87a | [log] [tgz] |
---|---|---|
author | Miriam Zimmerman <mutexlox@google.com> | Mon Dec 21 22:38:37 2020 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Dec 21 22:38:37 2020 |
tree | 55c6d37ed372bf105a8e937b8863e868d782770a | |
parent | e93d5343d3e9e97c292245652ac30aba89425828 [diff] |
phosphorus: Add logging to fetch-crashes command. https://dashboards.corp.google.com/_dbfdd634_b093_49b5_9c65_49f85cf4b4b0 shows rare cases where fetch-crashes runs for an exceedingly long time. https://luci-milo.appspot.com/ui/p/chromeos/builders/test_runner/test_runner/b8861152505129815392/steps?succeeded=true&debug=false is an example of a long execution time --- fetch-crashes indicates that it's running with a ~16-hour timeout: [I2020-12-12T03:54:14.940890Z 604554 0 fetch-crashes.go:92] Running with deadline 2020-12-12 19:54:14 +0000 UTC (current time: 2020-12-12 03:54:14.94070739 +0000 UTC) In this case, fetch-crashes ended up taking 13 hours 47 minutes to complete, so it did not hit that deadline. This logging should help us figure out where fetch-crashes is getting stuck. In a separate CL, we'll specify a shorter deadline for it. BUG=chromium:1107005 TEST=ran phosphorus fetch-crashes, verified that logs appeared. Change-Id: Ia8c50c16cee30ec308f8e47a0419270c00f65a31 Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/2597820 Reviewed-by: Jared Loucks <jaredloucks@google.com> Reviewed-by: Prathmesh Prabhu <pprabhu@google.com> Commit-Queue: Miriam Zimmerman <mutexlox@chromium.org> Cr-Commit-Position: refs/heads/master@{#37185}
Testing Welcome to the Chrome Infra repository!
Wondering where to start? Check out General Chrome Infrastructure documentation. In particular, to check out this repo and the rest of the infrastructure code, follow the instructions here. The rest of this page is specific to this repo.
sys.path
modifications.from infra.path_hacks.common import <stg>
is actually getting <stg>
from build/scripts/common.git push origin <updated hash>:deployed
git push
commandIf you've added a new module, run your tests with test.py:
*_test.py
files to this directory.Double-check that your tests are getting picked up when you want them to be: ./test.py test <path-to-package>
.
Tests still not getting picked up by test.py? Double-check to make sure you have __init__.py
files in each directory of your module so Python recognizes it as a package.
The preferred style is PEP8 with two-space indent; that is, the Chromium Python style, except functions use lowercase_with_underscores
. Use yapf (git cl format
) to autoformat new code.