commit | 454ae8185ca89a22ddca45421a05995c0cd8b266 | [log] [tgz] |
---|---|---|
author | Takuto Ikuta <tikuta@chromium.org> | Tue Mar 23 00:39:11 2021 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 23 00:39:11 2021 |
tree | 1f702524df925ce833bd97e47cfdc3cdd8b8cc43 | |
parent | edffd3478bb26469c614610d1a1c323b7e798b07 [diff] |
cloudtail: add lucipyLogParser This is to parse python log formatted by https://source.chromium.org/chromium/infra/infra/+/main:luci/client/utils/logging_utils.py;l=185;drc=8bd684954b02647a9fb036d9852f4017bf6953b4 Bug: 1185055 Change-Id: Id9d03bc881fc8d357ccad14b0aa777582ebbfe97 Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/2778211 Auto-Submit: Takuto Ikuta <tikuta@chromium.org> Commit-Queue: Vadim Shtayura <vadimsh@chromium.org> Reviewed-by: Vadim Shtayura <vadimsh@chromium.org> Reviewed-by: Junji Watanabe <jwata@google.com> Cr-Commit-Position: refs/heads/master@{#39618}
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.