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

Issue 2786773002: (Reland) Add failure screenshots and images to results detail. (Closed)

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

Description

(Reland) Add post-test screenshots to results detail. Review-Url: https://codereview.chromium.org/2786773002 Cr-Commit-Position: refs/heads/master@{#469237} Committed: https://chromium.googlesource.com/chromium/src/+/2bb1cf11d22d50c5750d8d3b1356f0caa43d359e

Patch Set 1 #

Patch Set 2 : (Reland) Add failure screenshots and images to results detail. #

Patch Set 3 : (Reland) Add failure screenshots and images to results detail. #

Patch Set 4 : (Reland) Add failure screenshots and images to results detail. #

Total comments: 12

Patch Set 5 : Updated! #

Patch Set 6 : (Reland) Add failure screenshots and images to results detail. #

Total comments: 21

Patch Set 7 : Java-side diffing #

Patch Set 8 : Removed render tests code. Moving that to a knew CL #

Patch Set 9 : (Reland) Add failure screenshots and images to results detail. #

Total comments: 11

Patch Set 10 : (Reland) Add failure screenshots and images to results detail. #

Patch Set 11 : (Reland) Add failure screenshots and images to results detail. #

Total comments: 2

Patch Set 12 : yolands nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -42 lines) Patch
M build/android/pylib/instrumentation/instrumentation_test_instance.py View 1 2 3 4 5 6 7 3 chunks +6 lines, -0 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 6 chunks +28 lines, -12 lines 0 comments Download
M build/android/pylib/results/presentation/template/main.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M build/android/pylib/results/presentation/test_results_presentation.py View 1 2 3 4 5 6 7 6 chunks +19 lines, -29 lines 0 comments Download
A build/android/pylib/utils/google_storage_helper.py View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +81 lines, -0 lines 0 comments Download
M build/android/test_runner.py View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M build/android/test_runner.pydeps View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (7 generated)
mikecase (-- gone --)
Initial commit: https://codereview.chromium.org/2701473003 Reason for revert is that "find_depot_tools" doesnt work on some of the ...
3 years, 8 months ago (2017-03-29 20:14:42 UTC) #1
mikecase (-- gone --)
Looking to reland this. Stealing Zhiling's idea to just hardcode path to the gsutil.py script ...
3 years, 8 months ago (2017-03-29 21:05:22 UTC) #3
jbudorick
https://codereview.chromium.org/2786773002/diff/60001/build/android/pylib/instrumentation/instrumentation_test_instance.py File build/android/pylib/instrumentation/instrumentation_test_instance.py (right): https://codereview.chromium.org/2786773002/diff/60001/build/android/pylib/instrumentation/instrumentation_test_instance.py#newcode687 build/android/pylib/instrumentation/instrumentation_test_instance.py:687: self._should_save_images = bool(args.json_results_file) nit: alpha https://codereview.chromium.org/2786773002/diff/60001/build/android/pylib/local/device/local_device_instrumentation_test_run.py File build/android/pylib/local/device/local_device_instrumentation_test_run.py (right): ...
3 years, 8 months ago (2017-04-11 00:36:44 UTC) #4
BigBossZhiling
https://codereview.chromium.org/2786773002/diff/60001/build/android/pylib/utils/google_storage_helper.py File build/android/pylib/utils/google_storage_helper.py (right): https://codereview.chromium.org/2786773002/diff/60001/build/android/pylib/utils/google_storage_helper.py#newcode27 build/android/pylib/utils/google_storage_helper.py:27: _URL_TEMPLATE = 'https://storage.googleapis.com/%s/' On 2017/04/11 00:36:44, jbudorick wrote: > ...
3 years, 8 months ago (2017-04-11 16:21:33 UTC) #6
mikecase (-- gone --)
https://codereview.chromium.org/2786773002/diff/60001/build/android/pylib/instrumentation/instrumentation_test_instance.py File build/android/pylib/instrumentation/instrumentation_test_instance.py (right): https://codereview.chromium.org/2786773002/diff/60001/build/android/pylib/instrumentation/instrumentation_test_instance.py#newcode687 build/android/pylib/instrumentation/instrumentation_test_instance.py:687: self._should_save_images = bool(args.json_results_file) On 2017/04/11 at 00:36:43, jbudorick wrote: ...
3 years, 8 months ago (2017-04-26 18:01:52 UTC) #7
mikecase (-- gone --)
ping
3 years, 7 months ago (2017-04-28 18:36:02 UTC) #8
jbudorick
https://codereview.chromium.org/2786773002/diff/100001/build/android/pylib/instrumentation/instrumentation_test_instance.py File build/android/pylib/instrumentation/instrumentation_test_instance.py (right): https://codereview.chromium.org/2786773002/diff/100001/build/android/pylib/instrumentation/instrumentation_test_instance.py#newcode690 build/android/pylib/instrumentation/instrumentation_test_instance.py:690: self._should_save_images = ( nit: do we need to save ...
3 years, 7 months ago (2017-04-29 01:12:26 UTC) #9
mikecase (-- gone --)
Example of results with screenshots... https://storage.cloud.google.com/chromium-render-tests/html/bar_foo_123_2017_05_03_T14_08_24.html Moved all render_test stuff out of this CL. This ...
3 years, 7 months ago (2017-05-03 21:25:14 UTC) #10
jbudorick
On 2017/05/03 21:25:14, mikecase wrote: > Example of results with screenshots... > > https://storage.cloud.google.com/chromium-render-tests/html/bar_foo_123_2017_05_03_T14_08_24.html This ...
3 years, 7 months ago (2017-05-03 21:27:47 UTC) #11
mikecase (-- gone --)
note, this CL won't do anything till we enable it with "--gs-results-bucket chromium-results-details" on the ...
3 years, 7 months ago (2017-05-03 21:28:43 UTC) #12
mikecase (-- gone --)
On 2017/05/03 at 21:28:43, mikecase wrote: > note, this CL won't do anything till we ...
3 years, 7 months ago (2017-05-03 21:49:36 UTC) #13
the real yoland
https://codereview.chromium.org/2786773002/diff/160001/build/android/pylib/local/device/local_device_instrumentation_test_run.py File build/android/pylib/local/device/local_device_instrumentation_test_run.py (right): https://codereview.chromium.org/2786773002/diff/160001/build/android/pylib/local/device/local_device_instrumentation_test_run.py#newcode387 build/android/pylib/local/device/local_device_instrumentation_test_run.py:387: screenshot_dir = self._test_instance.screenshot_dir or screenshot_dir nit: screenshot_host_dir https://codereview.chromium.org/2786773002/diff/160001/build/android/pylib/local/device/local_device_instrumentation_test_run.py#newcode391 build/android/pylib/local/device/local_device_instrumentation_test_run.py:391: ...
3 years, 7 months ago (2017-05-03 22:23:39 UTC) #14
mikecase (-- gone --)
also changed link name to "post_test_screenshot" https://codereview.chromium.org/2786773002/diff/160001/build/android/pylib/local/device/local_device_instrumentation_test_run.py File build/android/pylib/local/device/local_device_instrumentation_test_run.py (right): https://codereview.chromium.org/2786773002/diff/160001/build/android/pylib/local/device/local_device_instrumentation_test_run.py#newcode387 build/android/pylib/local/device/local_device_instrumentation_test_run.py:387: screenshot_dir = self._test_instance.screenshot_dir ...
3 years, 7 months ago (2017-05-03 22:45:18 UTC) #15
mikecase (-- gone --)
Could always change link to emojis. Concise and descriptive "📱😵📷"
3 years, 7 months ago (2017-05-03 22:47:05 UTC) #16
the real yoland
lgtm with nits https://codereview.chromium.org/2786773002/diff/200001/build/android/pylib/local/device/local_device_instrumentation_test_run.py File build/android/pylib/local/device/local_device_instrumentation_test_run.py (right): https://codereview.chromium.org/2786773002/diff/200001/build/android/pylib/local/device/local_device_instrumentation_test_run.py#newcode322 build/android/pylib/local/device/local_device_instrumentation_test_run.py:322: time.strftime('%Y%m%dT%H%M%S', time.gmtime()), nit: would be great ...
3 years, 7 months ago (2017-05-03 22:49:00 UTC) #17
jbudorick
On 2017/05/03 22:47:05, mikecase wrote: > Could always change link to emojis. Concise and descriptive ...
3 years, 7 months ago (2017-05-03 22:51:21 UTC) #18
mikecase (-- gone --)
https://codereview.chromium.org/2786773002/diff/200001/build/android/pylib/local/device/local_device_instrumentation_test_run.py File build/android/pylib/local/device/local_device_instrumentation_test_run.py (right): https://codereview.chromium.org/2786773002/diff/200001/build/android/pylib/local/device/local_device_instrumentation_test_run.py#newcode322 build/android/pylib/local/device/local_device_instrumentation_test_run.py:322: time.strftime('%Y%m%dT%H%M%S', time.gmtime()), On 2017/05/03 at 22:49:00, the real yoland ...
3 years, 7 months ago (2017-05-03 23:19:37 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2786773002/220001
3 years, 7 months ago (2017-05-03 23:20:50 UTC) #23
commit-bot: I haz the power
Committed patchset #12 (id:220001) as https://chromium.googlesource.com/chromium/src/+/2bb1cf11d22d50c5750d8d3b1356f0caa43d359e
3 years, 7 months ago (2017-05-04 01:31:06 UTC) #26
jbudorick
https://codereview.chromium.org/2786773002/diff/100001/build/android/pylib/results/presentation/template/main.html File build/android/pylib/results/presentation/template/main.html (right): https://codereview.chromium.org/2786773002/diff/100001/build/android/pylib/results/presentation/template/main.html#newcode5 build/android/pylib/results/presentation/template/main.html:5: <link rel="stylesheet" href="https://storage.googleapis.com/chromium-result-details/css/default.css" type="text/css"> On 2017/05/03 21:25:14, mikecase wrote: ...
3 years, 7 months ago (2017-05-08 17:21:56 UTC) #27
mikecase (-- gone --)
3 years, 7 months ago (2017-05-08 19:08:17 UTC) #28
Message was sent while issue was closed.
On 2017/05/08 at 17:21:56, jbudorick wrote:
>
https://codereview.chromium.org/2786773002/diff/100001/build/android/pylib/re...
> File build/android/pylib/results/presentation/template/main.html (right):
> 
>
https://codereview.chromium.org/2786773002/diff/100001/build/android/pylib/re...
> build/android/pylib/results/presentation/template/main.html:5: <link
rel="stylesheet"
href="https://storage.googleapis.com/chromium-result-details/css/default.css"
type="text/css">
> On 2017/05/03 21:25:14, mikecase wrote:
> > On 2017/04/29 at 01:12:26, jbudorick wrote:
> > > Not sure if this is a rebase error, but this should not change.
> > 
> > I responded to a comment before. This is not a rebase error. Im unsure why
we
> > cant just always grab the CSS file from here? We will *probably* never need
> > different CSS files for upstream/downstream.
> 
> gah, I missed that you landed this change :(

why is this bad? Why would we ever want different css?

Powered by Google App Engine
This is Rietveld 408576698