3 years, 9 months ago
(2017-03-16 02:47:45 UTC)
#4
Dry run: This issue passed the CQ dry run.
BigBossZhiling
Description was changed from ========== (Reland) Use logdog butler subcommand to run tests. Previously we ...
3 years, 9 months ago
(2017-03-17 19:01:41 UTC)
#5
Description was changed from
==========
(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:
https://chromium.googlesource.com/chromium/src/+/de2df28c86b13227040aba5f9f5a...
patch from issue 2695963003 at patchset 820001
(http://crrev.com/2695963003#ps820001)
==========
to
==========
(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:
https://chromium.googlesource.com/chromium/src/+/de2df28c86b13227040aba5f9f5a...
patch from issue 2695963003 at patchset 820001
(http://crrev.com/2695963003#ps820001)
==========
3 years, 9 months ago
(2017-03-17 19:01:50 UTC)
#7
jbudorick
https://codereview.chromium.org/2753993002/diff/140001/build/android/pylib/android/logdog_logcat_monitor.py File build/android/pylib/android/logdog_logcat_monitor.py (right): https://codereview.chromium.org/2753993002/diff/140001/build/android/pylib/android/logdog_logcat_monitor.py#newcode63 build/android/pylib/android/logdog_logcat_monitor.py:63: iter_timeout=0.05): This *might* be spinning too much. How's the ...
3 years, 9 months ago
(2017-03-17 19:20:21 UTC)
#8
On 2017/03/20 06:39:11, BigBossZhiling wrote: > On 2017/03/20 04:19:02, BigBossZhiling wrote: > > On 2017/03/20 ...
3 years, 9 months ago
(2017-03-20 07:23:14 UTC)
#12
On 2017/03/20 06:39:11, BigBossZhiling wrote:
> On 2017/03/20 04:19:02, BigBossZhiling wrote:
> > On 2017/03/20 03:38:52, BigBossZhiling wrote:
> > > On 2017/03/17 19:20:21, jbudorick wrote:
> > > >
> > >
> >
>
https://codereview.chromium.org/2753993002/diff/140001/build/android/pylib/an...
> > > > File build/android/pylib/android/logdog_logcat_monitor.py (right):
> > > >
> > > >
> > >
> >
>
https://codereview.chromium.org/2753993002/diff/140001/build/android/pylib/an...
> > > > build/android/pylib/android/logdog_logcat_monitor.py:63:
> iter_timeout=0.05):
> > > > This *might* be spinning too much. How's the performance with a slightly
> > > higher
> > > > timeout value?
> > > >
> > > >
> > >
> >
>
https://codereview.chromium.org/2753993002/diff/140001/build/android/pylib/lo...
> > > > File
> > build/android/pylib/local/device/local_device_instrumentation_test_run.py
> > > > (right):
> > > >
> > > >
> > >
> >
>
https://codereview.chromium.org/2753993002/diff/140001/build/android/pylib/lo...
> > > >
> >
build/android/pylib/local/device/local_device_instrumentation_test_run.py:299:
> > > > logdog_upload_start = time.time()
> > > > We will not want to include this timing/tracing logic in the final
version
> > of
> > > > this CL, though it's fine to have it now while we tune the iter_timeout.
> > > >
> > > >
> > >
> >
>
https://codereview.chromium.org/2753993002/diff/140001/build/android/test_wra...
> > > > File build/android/test_wrapper/logdog_wrapper.py (right):
> > > >
> > > >
> > >
> >
>
https://codereview.chromium.org/2753993002/diff/140001/build/android/test_wra...
> > > > build/android/test_wrapper/logdog_wrapper.py:37:
> > > > parser.add_argument('--swarming-bot-file', required=False,
> > > > If this is passing down to the test runner's --target-devices-file, it's
> > > > probably easiest if it too is --target-devices-file.
> > >
> > > Patch 8 is 13:35 and patch 9 is 13:29
> >
> > Patch 10 is 12:54
>
> patch 11 is 14:43
patch 12 is 13:03
jbudorick
It'd be worthwhile to try a number lower than 0.05, too, especially given the results ...
3 years, 9 months ago
(2017-03-20 13:25:58 UTC)
#13
It'd be worthwhile to try a number lower than 0.05, too, especially given the
results of your experiments thus far.
BigBossZhiling
patch 13 is 13:26
3 years, 9 months ago
(2017-03-20 17:24:42 UTC)
#14
patch 13 is 13:26
BigBossZhiling
On 2017/03/20 17:24:42, BigBossZhiling wrote: > patch 13 is 13:26 patch 14 is 15:27
3 years, 9 months ago
(2017-03-20 19:25:22 UTC)
#15
On 2017/03/20 17:24:42, BigBossZhiling wrote:
> patch 13 is 13:26
patch 14 is 15:27
BigBossZhiling
On 2017/03/20 19:25:22, BigBossZhiling wrote: > On 2017/03/20 17:24:42, BigBossZhiling wrote: > > patch 13 ...
3 years, 9 months ago
(2017-03-20 22:05:38 UTC)
#16
On 2017/03/20 19:25:22, BigBossZhiling wrote:
> On 2017/03/20 17:24:42, BigBossZhiling wrote:
> > patch 13 is 13:26
>
> patch 14 is 15:27
patch 15 first run 14:26 and second run 15:51. patch 16 is 16:46
BigBossZhiling
On 2017/03/20 19:25:22, BigBossZhiling wrote: > On 2017/03/20 17:24:42, BigBossZhiling wrote: > > patch 13 ...
3 years, 9 months ago
(2017-03-20 22:05:39 UTC)
#17
On 2017/03/20 19:25:22, BigBossZhiling wrote:
> On 2017/03/20 17:24:42, BigBossZhiling wrote:
> > patch 13 is 13:26
>
> patch 14 is 15:27
patch 15 first run 14:26 and second run 15:51. patch 16 is 16:46
BigBossZhiling
After the fix, we should not see a ridiculous bump in time any more. However ...
3 years, 9 months ago
(2017-03-20 22:09:50 UTC)
#18
After the fix, we should not see a ridiculous bump in time any more. However the
results of multiple runs of the same patch shows that time varies for even the
same patch and in the case of two runs of patch 15, they differ by 1 minute and
a half. Thus I suggest that we land this quickly, so that the law of large
numbers will tell us the true effect of this cl by averaging the time hundreds
of try jobs.
https://codereview.chromium.org/2753993002/diff/140001/build/android/pylib/an...
File build/android/pylib/android/logdog_logcat_monitor.py (right):
https://codereview.chromium.org/2753993002/diff/140001/build/android/pylib/an...
build/android/pylib/android/logdog_logcat_monitor.py:63: iter_timeout=0.05):
On 2017/03/17 19:20:21, jbudorick wrote:
> This *might* be spinning too much. How's the performance with a slightly
higher
> timeout value?
Acknowledged.
https://codereview.chromium.org/2753993002/diff/140001/build/android/pylib/lo...
File build/android/pylib/local/device/local_device_instrumentation_test_run.py
(right):
https://codereview.chromium.org/2753993002/diff/140001/build/android/pylib/lo...
build/android/pylib/local/device/local_device_instrumentation_test_run.py:299:
logdog_upload_start = time.time()
On 2017/03/17 19:20:21, jbudorick wrote:
> We will not want to include this timing/tracing logic in the final version of
> this CL, though it's fine to have it now while we tune the iter_timeout.
Done.
https://codereview.chromium.org/2753993002/diff/140001/build/android/test_wra...
File build/android/test_wrapper/logdog_wrapper.py (right):
https://codereview.chromium.org/2753993002/diff/140001/build/android/test_wra...
build/android/test_wrapper/logdog_wrapper.py:37:
parser.add_argument('--swarming-bot-file', required=False,
On 2017/03/17 19:20:21, jbudorick wrote:
> If this is passing down to the test runner's --target-devices-file, it's
> probably easiest if it too is --target-devices-file.
Done.
https://codereview.chromium.org/2753993002/diff/340001/tools/mb/mb.py File tools/mb/mb.py (right): https://codereview.chromium.org/2753993002/diff/340001/tools/mb/mb.py#newcode1093 tools/mb/mb.py:1093: '--logdog-bin-cmd', '../../bin/logdog_butler'] is this path right? what directory is ...
3 years, 9 months ago
(2017-03-20 23:12:48 UTC)
#22
3 years, 9 months ago
(2017-03-20 23:30:51 UTC)
#23
On 2017/03/20 23:12:48, Dirk Pranke wrote:
> https://codereview.chromium.org/2753993002/diff/340001/tools/mb/mb.py
> File tools/mb/mb.py (right):
>
>
https://codereview.chromium.org/2753993002/diff/340001/tools/mb/mb.py#newcode...
> tools/mb/mb.py:1093: '--logdog-bin-cmd', '../../bin/logdog_butler']
> is this path right? what directory is that relative to?
Thanks for the quick review. ../../bin/logdog_butler is right, because otherwise
we will not be able to see "record_to_stream", which is a function of
logdog_butler, in the logcat. As with the directory that it is relative to, I
think it is relative to out-gn/Debug.
3 years, 9 months ago
(2017-03-20 23:30:52 UTC)
#24
On 2017/03/20 23:12:48, Dirk Pranke wrote:
> https://codereview.chromium.org/2753993002/diff/340001/tools/mb/mb.py
> File tools/mb/mb.py (right):
>
>
https://codereview.chromium.org/2753993002/diff/340001/tools/mb/mb.py#newcode...
> tools/mb/mb.py:1093: '--logdog-bin-cmd', '../../bin/logdog_butler']
> is this path right? what directory is that relative to?
Thanks for the quick review. ../../bin/logdog_butler is right, because otherwise
we will not be able to see "record_to_stream", which is a function of
logdog_butler, in the logcat. As with the directory that it is relative to, I
think it is relative to out-gn/Debug.
Dirk Pranke
On 2017/03/20 23:30:52, BigBossZhiling wrote: > On 2017/03/20 23:12:48, Dirk Pranke wrote: > > https://codereview.chromium.org/2753993002/diff/340001/tools/mb/mb.py ...
3 years, 9 months ago
(2017-03-20 23:38:54 UTC)
#25
On 2017/03/20 23:30:52, BigBossZhiling wrote:
> On 2017/03/20 23:12:48, Dirk Pranke wrote:
> > https://codereview.chromium.org/2753993002/diff/340001/tools/mb/mb.py
> > File tools/mb/mb.py (right):
> >
> >
>
https://codereview.chromium.org/2753993002/diff/340001/tools/mb/mb.py#newcode...
> > tools/mb/mb.py:1093: '--logdog-bin-cmd', '../../bin/logdog_butler']
> > is this path right? what directory is that relative to?
>
> Thanks for the quick review. ../../bin/logdog_butler is right, because
otherwise
> we will not be able to see "record_to_stream", which is a function of
> logdog_butler, in the logcat. As with the directory that it is relative to, I
> think it is relative to out-gn/Debug.
If the path is relative to //out-gn/Debug (which makes sense, since that is the
default for commands in the isolate),
then that would point to //bin/logdog_butler.
AFAIK, there is no //bin directory?
-- Dirk
BigBossZhiling
On 2017/03/20 23:38:54, Dirk Pranke wrote: > On 2017/03/20 23:30:52, BigBossZhiling wrote: > > On ...
3 years, 9 months ago
(2017-03-20 23:41:33 UTC)
#26
On 2017/03/20 23:38:54, Dirk Pranke wrote:
> On 2017/03/20 23:30:52, BigBossZhiling wrote:
> > On 2017/03/20 23:12:48, Dirk Pranke wrote:
> > > https://codereview.chromium.org/2753993002/diff/340001/tools/mb/mb.py
> > > File tools/mb/mb.py (right):
> > >
> > >
> >
>
https://codereview.chromium.org/2753993002/diff/340001/tools/mb/mb.py#newcode...
> > > tools/mb/mb.py:1093: '--logdog-bin-cmd', '../../bin/logdog_butler']
> > > is this path right? what directory is that relative to?
> >
> > Thanks for the quick review. ../../bin/logdog_butler is right, because
> otherwise
> > we will not be able to see "record_to_stream", which is a function of
> > logdog_butler, in the logcat. As with the directory that it is relative to,
I
> > think it is relative to out-gn/Debug.
>
> If the path is relative to //out-gn/Debug (which makes sense, since that is
the
> default for commands in the isolate),
> then that would point to //bin/logdog_butler.
>
> AFAIK, there is no //bin directory?
>
> -- Dirk
Thanks for another quick reply.
https://codesearch.chromium.org/chromium/src/testing/buildbot/chromium.linux....
We create the new bin directory for logdog_butler.
Dirk Pranke
On 2017/03/20 23:41:33, BigBossZhiling wrote: > https://codesearch.chromium.org/chromium/src/testing/buildbot/chromium.linux.json?q=chromium.linux.json+package:%5Echromium$&dr&l=257 > We create the new bin directory for ...
3 years, 9 months ago
(2017-03-20 23:50:37 UTC)
#27
On 2017/03/20 23:41:33, BigBossZhiling wrote:
>
https://codesearch.chromium.org/chromium/src/testing/buildbot/chromium.linux....
> We create the new bin directory for logdog_butler.
Ah. I was guessing it might be something like that. I'm a bit unhappy to use up
a top-level directory name for this without a more widely-thought-through plan
for where to put cipd binaries, but I guess if we're already doing that now we
don't need to stop just for this.
lgtm.
BigBossZhiling
The CQ bit was checked by hzl@google.com
3 years, 9 months ago
(2017-03-20 23:51:07 UTC)
#28
Issue 2753993002: (Reland) Use logdog butler subcommand to run tests.
(Closed)
Created 3 years, 9 months ago by BigBossZhiling
Modified 3 years, 9 months ago
Reviewers: jbudorick, Dirk Pranke
Base URL:
Comments: 9