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

Issue 1662833005: Fixes Caterpillar crashing while generating report. (Closed)

Created:
4 years, 10 months ago by Matthew Alger
Modified:
4 years, 10 months ago
Reviewers:
Matt Giuca
CC:
raymes
Base URL:
https://github.com/chromium/caterpillar.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fixes Caterpillar crashing while generating report. Caterpillar currently crashes while generating a report. This is due to API changes between writing and merging the report linking branch. This CL updates the report code to account for the new API and new variable names. Tests to catch the problem if it arises again in future are also added in this CL. Resolves #42. https://github.com/chromium/caterpillar/issues/42 R=mgiuca@chromium.org Committed: dc0b8af616f016fe9fa3e9eeeea4b12b709d69c3

Patch Set 1 #

Total comments: 2

Patch Set 2 : Response to CR #

Total comments: 6

Patch Set 3 : Response to CR #

Total comments: 1

Patch Set 4 : Changed setUp to only run once for all end-to-end tests. #

Total comments: 2

Patch Set 5 : Reverted most changes except critical bugfixes and associated tests. #

Patch Set 6 : Skipped broken test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -14 lines) Patch
M src/caterpillar.py View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M src/end_to_end_test.py View 1 2 3 4 5 1 chunk +6 lines, -9 lines 0 comments Download
M src/report/report.py View 1 2 3 4 2 chunks +4 lines, -3 lines 0 comments Download
M src/report/templates.py View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 21 (8 generated)
Matthew Alger
Missing files diff. diff --git "a/tests/test_app_tts_output/report \342\234\223\342\234\223\342\234\223/bower_components/Inconsolata/This folder intentionally left blank" "b/tests/test_app_tts_output/report \342\234\223\342\234\223\342\234\223/bower_components/Inconsolata/This folder intentionally ...
4 years, 10 months ago (2016-02-04 02:27:41 UTC) #3
Matt Giuca
There was a problem uploading templates.py. Any idea why? I don't see how this updates ...
4 years, 10 months ago (2016-02-04 05:10:31 UTC) #4
Matthew Alger
On 2016/02/04 05:10:31, Matt Giuca wrote: > There was a problem uploading templates.py. Any idea ...
4 years, 10 months ago (2016-02-04 05:12:41 UTC) #5
Matthew Alger
https://codereview.chromium.org/1662833005/diff/1/src/end_to_end_test.py File src/end_to_end_test.py (right): https://codereview.chromium.org/1662833005/diff/1/src/end_to_end_test.py#newcode83 src/end_to_end_test.py:83: for dirname, _, filenames in os.walk(TTS_REFERENCE_PATH): On 2016/02/04 05:10:31, ...
4 years, 10 months ago (2016-02-04 05:44:01 UTC) #6
Matt Giuca
I am wondering if you a) fix the test so it raises an exception if ...
4 years, 10 months ago (2016-02-04 06:36:34 UTC) #8
Matthew Alger
On 2016/02/04 06:36:34, Matt Giuca wrote: > I am wondering if you a) fix the ...
4 years, 10 months ago (2016-02-04 22:26:13 UTC) #9
Matthew Alger
https://codereview.chromium.org/1662833005/diff/40001/src/end_to_end_test.py File src/end_to_end_test.py (right): https://codereview.chromium.org/1662833005/diff/40001/src/end_to_end_test.py#newcode86 src/end_to_end_test.py:86: ignore_folders: List of folder names to ignore. On 2016/02/04 ...
4 years, 10 months ago (2016-02-04 22:47:06 UTC) #10
Matthew Alger
Since report generation is quite slow (as bower is called to install Lato/Inconsolata/Code Prettify dependencies) ...
4 years, 10 months ago (2016-02-04 22:59:16 UTC) #11
Matt Giuca
OK as I've said in the comments, I think this CL needs to be broken ...
4 years, 10 months ago (2016-02-05 00:23:49 UTC) #12
Matthew Alger
On 2016/02/05 00:23:49, Matt Giuca wrote: > OK as I've said in the comments, I ...
4 years, 10 months ago (2016-02-05 00:26:22 UTC) #13
Matthew Alger
Reverted most changes in line with your comments.
4 years, 10 months ago (2016-02-05 00:36:56 UTC) #16
Matt Giuca
LGTM but still the CL description needs to be more obvious. File a bug in ...
4 years, 10 months ago (2016-02-05 00:46:47 UTC) #17
Matthew Alger
4 years, 10 months ago (2016-02-05 01:42:36 UTC) #21
Message was sent while issue was closed.
Committed patchset #6 (id:120001) manually as
dc0b8af616f016fe9fa3e9eeeea4b12b709d69c3 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698