Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Issue 2933993002: Add local results details pages.

Created:
3 years, 6 months ago by mikecase (-- gone --)
Modified:
3 years, 3 months ago
CC:
chromium-reviews, hzl, jbudorick+watch_chromium.org, mikecase+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add local results details pages. This will let people view test results in the same manner that they are viewable on the bots. Instead of images/logs getting uploaded to Google Storage, they are storage in out/Debug/{suite}_{timestamp}/. A results details HTML page is then generated that points towards these local results.

Patch Set 1 #

Patch Set 2 : Add --local-output arg which enables local results detail pages. #

Patch Set 3 : Fixed all presubmit failures! #

Patch Set 4 : Add --local-output arg which enables local results detail pages. #

Patch Set 5 : Add --local-output arg which enables local results detail pages. #

Patch Set 6 : Add --local-output arg which enables local results detail pages. #

Patch Set 7 : Add --local-output arg which enables local results detail pages. #

Total comments: 17

Patch Set 8 : Many of John's comments. Probably broke CL #

Patch Set 9 : Add --local-output arg which enables local results detail pages. #

Patch Set 10 : Add --local-output arg which enables local results detail pages. #

Patch Set 11 : Add --local-output arg which enables local results detail pages. #

Patch Set 12 : Move all uploading async #

Patch Set 13 : Add --local-output arg which enables local results detail pages. #

Patch Set 14 : Add --local-output arg which enables local results detail pages. #

Total comments: 21

Patch Set 15 : Add --local-output arg which enables local results detail pages. #

Patch Set 16 : Add --local-output arg which enables local results detail pages. #

Total comments: 8

Patch Set 17 : Fix pylint issues #

Patch Set 18 : Fix pydeps #

Total comments: 1

Patch Set 19 : More pylint fixes #

Patch Set 20 : More doc fixes. #

Total comments: 40

Patch Set 21 : Fix some of Johns comments. #

Total comments: 2

Patch Set 22 : Fix some of Johns comments. #

Patch Set 23 : Fix some of Johns comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+598 lines, -348 lines) Patch
D build/android/pylib/android/logdog_logcat_monitor.py View 1 2 1 chunk +0 lines, -82 lines 0 comments Download
M build/android/pylib/base/environment.py View 1 2 3 4 5 6 7 8 2 chunks +11 lines, -2 lines 0 comments Download
M build/android/pylib/base/environment_factory.py View 1 2 3 4 5 6 7 1 chunk +5 lines, -3 lines 0 comments Download
A build/android/pylib/base/output_manager.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +152 lines, -0 lines 0 comments Download
A build/android/pylib/base/output_manager_factory.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +16 lines, -0 lines 0 comments Download
M build/android/pylib/instrumentation/instrumentation_test_instance.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 3 chunks +0 lines, -6 lines 0 comments Download
M build/android/pylib/local/device/local_device_environment.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -2 lines 0 comments Download
M build/android/pylib/local/device/local_device_instrumentation_test_run.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 10 chunks +90 lines, -144 lines 0 comments Download
M build/android/pylib/local/machine/local_machine_environment.py View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
A build/android/pylib/output/__init__.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +3 lines, -0 lines 0 comments Download
A build/android/pylib/output/local_output_manager.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +45 lines, -0 lines 0 comments Download
A build/android/pylib/output/noop_output_manager.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +43 lines, -0 lines 0 comments Download
A build/android/pylib/output/remote_output_manager.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +87 lines, -0 lines 0 comments Download
M build/android/pylib/results/presentation/template/main.html View 1 chunk +5 lines, -3 lines 0 comments Download
M build/android/pylib/results/presentation/test_results_presentation.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +44 lines, -28 lines 0 comments Download
M build/android/pylib/utils/google_storage_helper.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +1 line, -16 lines 0 comments Download
M build/android/test_runner.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 3 chunks +83 lines, -58 lines 0 comments Download
M build/android/test_runner.pydeps View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 22 3 chunks +9 lines, -2 lines 0 comments Download

Messages

Total messages: 28 (8 generated)
mikecase (-- gone --)
This is actually pretty useful for things like looking at render test results (we have ...
3 years, 6 months ago (2017-06-19 23:48:16 UTC) #3
jbudorick
https://codereview.chromium.org/2933993002/diff/110001/build/android/pylib/base/test_run.py File build/android/pylib/base/test_run.py (right): https://codereview.chromium.org/2933993002/diff/110001/build/android/pylib/base/test_run.py#newcode20 build/android/pylib/base/test_run.py:20: self._test_output_saver = test_output_saver Can you explain why this is ...
3 years, 6 months ago (2017-06-20 14:12:55 UTC) #4
agrieve
On 2017/06/20 14:12:55, jbudorick wrote: > https://codereview.chromium.org/2933993002/diff/110001/build/android/pylib/base/test_run.py > File build/android/pylib/base/test_run.py (right): > > https://codereview.chromium.org/2933993002/diff/110001/build/android/pylib/base/test_run.py#newcode20 > ...
3 years, 6 months ago (2017-06-23 19:01:09 UTC) #6
jbudorick
[snip] > > I was playing around with logcat deobfuscating yesterday & today, and took ...
3 years, 6 months ago (2017-06-23 19:05:50 UTC) #7
agrieve
On 2017/06/23 19:05:50, jbudorick wrote: > [snip] > > > > > I was playing ...
3 years, 6 months ago (2017-06-26 00:58:16 UTC) #8
mikecase (-- gone --)
Reworked this CL. My sample test I run takes 47 seconds with --local-output compared to ...
3 years, 5 months ago (2017-07-10 17:11:11 UTC) #9
mikecase (-- gone --)
ping, ptal
3 years, 5 months ago (2017-07-19 20:47:24 UTC) #10
jbudorick
ArchiveAndDeleteFile really wants to be a context manager (again?) https://codereview.chromium.org/2933993002/diff/250001/build/android/pylib/base/output_manager.py File build/android/pylib/base/output_manager.py (right): https://codereview.chromium.org/2933993002/diff/250001/build/android/pylib/base/output_manager.py#newcode30 build/android/pylib/base/output_manager.py:30: ...
3 years, 5 months ago (2017-07-19 22:45:09 UTC) #11
mikecase (-- gone --)
https://codereview.chromium.org/2933993002/diff/250001/build/android/pylib/base/output_manager.py File build/android/pylib/base/output_manager.py (right): https://codereview.chromium.org/2933993002/diff/250001/build/android/pylib/base/output_manager.py#newcode30 build/android/pylib/base/output_manager.py:30: """Context manager used to archive file contents asynchonously. On ...
3 years, 4 months ago (2017-07-26 21:21:38 UTC) #12
mikecase (-- gone --)
cc hzl@
3 years, 4 months ago (2017-07-31 17:54:12 UTC) #13
mikecase (-- gone --)
ping
3 years, 4 months ago (2017-08-07 21:44:36 UTC) #14
jbudorick
https://codereview.chromium.org/2933993002/diff/290001/build/android/pylib/base/output_manager.py File build/android/pylib/base/output_manager.py (right): https://codereview.chromium.org/2933993002/diff/290001/build/android/pylib/base/output_manager.py#newcode25 build/android/pylib/base/output_manager.py:25: self._allow_upload = False nit: maybe allow_save or allow_archive, since ...
3 years, 4 months ago (2017-08-10 16:27:38 UTC) #15
BigBossZhiling
Would you please also write a one or two sentence on how it can integrate ...
3 years, 4 months ago (2017-08-15 22:48:27 UTC) #17
mikecase (-- gone --)
On 2017/08/15 at 22:48:27, hzl wrote: > Would you please also write a one or ...
3 years, 4 months ago (2017-08-15 23:11:44 UTC) #18
mikecase (-- gone --)
Updated to use a slick context manager. Basically, now this works like.... with output_manager.ArchivedTempfile() as ...
3 years, 4 months ago (2017-08-23 04:28:20 UTC) #19
jbudorick
https://codereview.chromium.org/2933993002/diff/370001/build/android/pylib/base/output_manager.py File build/android/pylib/base/output_manager.py (right): https://codereview.chromium.org/2933993002/diff/370001/build/android/pylib/base/output_manager.py#newcode54 build/android/pylib/base/output_manager.py:54: f.PrepareArchive() The remainder of this function won't execute if ...
3 years, 4 months ago (2017-08-23 16:16:21 UTC) #20
mikecase (-- gone --)
https://codereview.chromium.org/2933993002/diff/370001/build/android/pylib/base/output_manager.py File build/android/pylib/base/output_manager.py (right): https://codereview.chromium.org/2933993002/diff/370001/build/android/pylib/base/output_manager.py#newcode54 build/android/pylib/base/output_manager.py:54: f.PrepareArchive() On 2017/08/23 at 16:16:19, jbudorick wrote: > The ...
3 years, 4 months ago (2017-08-24 05:29:08 UTC) #21
jbudorick
lgtm w/ nits https://codereview.chromium.org/2933993002/diff/370001/build/android/pylib/base/output_manager.py File build/android/pylib/base/output_manager.py (right): https://codereview.chromium.org/2933993002/diff/370001/build/android/pylib/base/output_manager.py#newcode93 build/android/pylib/base/output_manager.py:93: self._f = tempfile.NamedTemporaryFile(delete=False) On 2017/08/24 05:29:07, ...
3 years, 4 months ago (2017-08-24 13:18:45 UTC) #22
mikecase (-- gone --)
Probably going to commit this 2nite if CQ goes well. https://codereview.chromium.org/2933993002/diff/390001/build/android/pylib/output/noop_output_manager.py File build/android/pylib/output/noop_output_manager.py (right): https://codereview.chromium.org/2933993002/diff/390001/build/android/pylib/output/noop_output_manager.py#newcode27 ...
3 years, 4 months ago (2017-08-25 01:41:23 UTC) #25
jbudorick
3 years, 4 months ago (2017-08-25 02:01:24 UTC) #28
On 2017/08/25 01:41:23, mikecase (-- gone --) wrote:
> Probably going to commit this 2nite if CQ goes well.

sgtm

> 
>
https://codereview.chromium.org/2933993002/diff/390001/build/android/pylib/ou...
> File build/android/pylib/output/noop_output_manager.py (right):
> 
>
https://codereview.chromium.org/2933993002/diff/390001/build/android/pylib/ou...
> build/android/pylib/output/noop_output_manager.py:27: yield NoopArchivedFile()
> On 2017/08/24 at 13:18:45, jbudorick wrote:
> > super nit: 2-space indent, not 4
> 
> Done

Powered by Google App Engine
This is Rietveld 408576698