Граф коммитов

12 Коммитов

Автор SHA1 Сообщение Дата
hzl 8ed22b4e14 Fix logdog_wrapper to not upload if logdog binary does not exist.
Currently when logdog binary doesn not exist, we are still trying to
upload logcats. Without logdog binary setting up, trying to upload
logcats will result in NotBootstrappedError. This error will then output
a stack which is confusing to engineers.

BUG=675666

Review-Url: https://codereview.chromium.org/2835203004
Cr-Original-Commit-Position: refs/heads/master@{#467505}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9efa729c382c00ae0746a4abf98e4358d9f12ff4
2017-04-26 23:23:41 +00:00
hzl a312720424 Save the logcat file in isolated directory.
Previously we store the logcat into a temporary directory, which will be
deleted shortly. That means logcat will not be viewable in the isolated
directory.

In this cl, we are storing the logcat in the isolated directory, for
later easier view. This is a temporary fix before result details is
enabled.

BUG=707387

Review-Url: https://codereview.chromium.org/2797773003
Cr-Original-Commit-Position: refs/heads/master@{#461898}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9ae14459caaa7f3b049b3d44be2c209890773213
2017-04-04 23:38:02 +00:00
hzl a18678dc18 (Reland) Use logdog butler subcommand to run tests.
Previously we ran tests, without setting butler environment variables.
This will run into NotBootstrappedError when we try to upload test
results through logdog.

In this cl, we use logdog butler subcommand to run tests, which will set
butler environment variables before hand.

BUG=692287

Review-Url: https://codereview.chromium.org/2695963003
Cr-Commit-Position: refs/heads/master@{#456976}
Committed: de2df28c86

patch from issue 2695963003 at patchset 820001 (http://crrev.com/2695963003#ps820001)

Review-Url: https://codereview.chromium.org/2767833002
Cr-Original-Commit-Position: refs/heads/master@{#459281}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9b15df5f68a23a7c75af0e09ee52b4add1a6f1d6
2017-03-23 23:43:04 +00:00
jbudorick 4ae7d8e15c Revert of (Reland) Use logdog butler subcommand to run tests. (patchset #18 id:340001 of https://codereview.chromium.org/2753993002/ )
Reason for revert:
https://build.chromium.org/p/chromium.android/builders/Marshmallow%2064%20bit%20Tester/builds/10403

Original issue's description:
> (Reland) Use logdog butler subcommand to run tests.
>
> Previously we ran tests, without setting butler environment variables.
> This will run into NotBootstrappedError when we try to upload test
> results through logdog.
>
> In this cl, we use logdog butler subcommand to run tests, which will set
> butler environment variables before hand.
>
> BUG=692287
>
> Review-Url: https://codereview.chromium.org/2695963003
> Cr-Commit-Position: refs/heads/master@{#456976}
> Committed: de2df28c86
>
> patch from issue 2695963003 at patchset 820001 (http://crrev.com/2695963003#ps820001)
>
> Review-Url: https://codereview.chromium.org/2753993002
> Cr-Commit-Position: refs/heads/master@{#458264}
> Committed: 1ad3437632

TBR=dpranke@chromium.org,hzl@google.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=692287

Review-Url: https://codereview.chromium.org/2767633003
Cr-Original-Commit-Position: refs/heads/master@{#458607}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 86ea5a365e6c928bca676dd4621e6d9ef848e357
2017-03-22 00:13:49 +00:00
hzl 60afaf9e44 (Reland) Use logdog butler subcommand to run tests.
Previously we ran tests, without setting butler environment variables.
This will run into NotBootstrappedError when we try to upload test
results through logdog.

In this cl, we use logdog butler subcommand to run tests, which will set
butler environment variables before hand.

BUG=692287

Review-Url: https://codereview.chromium.org/2695963003
Cr-Commit-Position: refs/heads/master@{#456976}
Committed: de2df28c86

patch from issue 2695963003 at patchset 820001 (http://crrev.com/2695963003#ps820001)

Review-Url: https://codereview.chromium.org/2753993002
Cr-Original-Commit-Position: refs/heads/master@{#458264}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1ad3437632699fb98fdd46a3ba6ad8d63cf10ee5
2017-03-21 00:58:23 +00:00
hzl 81c2772699 Revert of Use logdog butler subcommand to run tests. (patchset #42 id:820001 of https://codereview.chromium.org/2695963003/ )
Reason for revert:
Increases time by a great deal.

Original issue's description:
> Use logdog butler subcommand to run tests.
>
> Previously we ran tests, without setting butler environment variables.
> This will run into NotBootstrappedError when we try to upload test
> results through logdog.
>
> In this cl, we use logdog butler subcommand to run tests, which will set
> butler environment variables before hand.
>
> BUG=692287
>
> Review-Url: https://codereview.chromium.org/2695963003
> Cr-Commit-Position: refs/heads/master@{#456976}
> Committed: de2df28c86

TBR=mikecase@chromium.org,dnj@chromium.org,jbudorick@chromium.org,dpranke@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=692287

Review-Url: https://codereview.chromium.org/2749643008
Cr-Original-Commit-Position: refs/heads/master@{#457257}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d58d09ff7ef678920db1110ae5a0230f7d7cdb52
2017-03-15 23:15:35 +00:00
hzl 06f2c728f1 Use logdog butler subcommand to run tests.
Previously we ran tests, without setting butler environment variables.
This will run into NotBootstrappedError when we try to upload test
results through logdog.

In this cl, we use logdog butler subcommand to run tests, which will set
butler environment variables before hand.

BUG=692287

Review-Url: https://codereview.chromium.org/2695963003
Cr-Original-Commit-Position: refs/heads/master@{#456976}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: de2df28c86b13227040aba5f9f5a1d1f869b81eb
2017-03-15 03:14:52 +00:00
bpastene fa8b61b25c Fix logdog typo in android's logdog_wrapper.py
TBR=jbudorick@chromium.org
BUG=

Review-Url: https://codereview.chromium.org/2522683002
Cr-Original-Commit-Position: refs/heads/master@{#433682}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 99f1edb5a6eaff341e4161c3af381d26386435c6
2016-11-21 23:08:12 +00:00
bpastene 80fb707d32 Check for existence of logdog binary and logcat source before uploading.
BUG=654538

Review-Url: https://codereview.chromium.org/2507633002
Cr-Original-Commit-Position: refs/heads/master@{#432587}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4fe1c4e43e30d69d933a5849cdb10df5dae4ce50
2016-11-16 19:26:31 +00:00
jbudorick b76ee19d9d [android] Pass SIGTERM from logdog_wrapper to its wrapped test command.
BUG=654538

Review-Url: https://codereview.chromium.org/2451273005
Cr-Original-Commit-Position: refs/heads/master@{#428109}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7a34aeb49e6381c2d79356a688af6645ecba4e93
2016-10-27 19:30:43 +00:00
nicholaslin 6a69084e8d Update chromium.android.json
BUG=637213
NOTRY=True
TBR=jbudorick@chromium.org

Review-Url: https://codereview.chromium.org/2240923002
Cr-Original-Commit-Position: refs/heads/master@{#411749}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: aa986de5b33958a7f4fbf27c5d1a8a5c50ac4c0f
2016-08-12 20:07:18 +00:00
nicholaslin 606a7bc626 Add logdog_butler cipd package to every swarming gtest_test on android tryservers (linux_android_rel_ng, android_n5x_swarming_rel).
Add wrapper around android test runner for swarming tasks. This wrapper calls logdog to stream logcats after the completion of the python executable calling test_runner.

Adding device serials to every line of logcat logs.

Sample of unified logcats: https://luci-logdog.appspot.com/v/?s=chromium%2Fswarming%2F301f0f97eea1a511%2Flogcats%2F%2B%2Ffile:_b_swarm_slave_w_ioVXQmGw_logcats

BUG=448050

Review-Url: https://codereview.chromium.org/2163833003
Cr-Original-Commit-Position: refs/heads/master@{#411530}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3dbe50ffaca641ea962d385e2ac9ac0bec75fbbb
2016-08-12 02:58:53 +00:00