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

Issue 1812383003: [Devil] Replace generated Devil config with jinja template. (Closed)

Created:
4 years, 9 months ago by mikecase (-- gone --)
Modified:
4 years, 8 months ago
Reviewers:
droger, jbudorick
CC:
chromium-reviews, jbudorick+watch_chromium.org, mikecase+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Devil] Replace generated Devil config with jinja template. This change will hopefully allow us to configure devil more based on the build config. For example, it will let us use the same android_sdk_tools to run tests that we use to build with. BUG= Committed: https://crrev.com/c2aa4243a9e00a2d0e254d9f6f73b41c00cb644d Cr-Commit-Position: refs/heads/master@{#386461}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Removed devil_chromium.json #

Total comments: 8

Patch Set 4 : Gyp Hacks #

Total comments: 1

Patch Set 5 : Removed references to b/a/devil_chromium.json from various files. #

Total comments: 4

Patch Set 6 : Addressed comments. Now copy generated devil config in deploy.sh #

Patch Set 7 : Fixed file names in isolate file. #

Patch Set 8 : Fixed android platform name. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+243 lines, -174 lines) Patch
M build/android/BUILD.gn View 1 2 3 4 5 3 chunks +20 lines, -1 line 0 comments Download
M build/android/android.isolate View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
A build/android/devil_chromium.jinja View 1 2 3 4 5 6 7 1 chunk +105 lines, -0 lines 0 comments Download
D build/android/devil_chromium.json View 1 2 1 chunk +0 lines, -69 lines 0 comments Download
M build/android/devil_chromium.py View 1 2 3 3 chunks +13 lines, -102 lines 0 comments Download
A build/android/gyp_devil_jinja_processor.py View 1 2 3 1 chunk +66 lines, -0 lines 0 comments Download
M build/android/setup.gyp View 1 2 3 1 chunk +33 lines, -0 lines 0 comments Download
M build/android/test_runner.gypi View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M tools/android/loading/gce/deploy.sh View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 40 (11 generated)
mikecase (-- gone --)
Wanted your opinion on this change before I finish it. This CL is not finished ...
4 years, 9 months ago (2016-03-18 23:42:37 UTC) #2
jbudorick
On 2016/03/18 23:42:37, mikecase wrote: > Wanted your opinion on this change before I finish ...
4 years, 9 months ago (2016-03-18 23:50:33 UTC) #3
jbudorick
On 2016/03/18 23:50:33, jbudorick wrote: > On 2016/03/18 23:42:37, mikecase wrote: > > Wanted your ...
4 years, 9 months ago (2016-03-18 23:55:43 UTC) #4
mikecase (-- gone --)
Updated CL. Tested running tests in both gyp and gn and everything seems to work ...
4 years, 9 months ago (2016-03-21 18:45:49 UTC) #5
jbudorick
On 2016/03/21 18:45:49, mikecase wrote: > Updated CL. Tested running tests in both gyp and ...
4 years, 9 months ago (2016-03-21 18:52:35 UTC) #6
mikecase (-- gone --)
On 2016/03/21 at 18:52:35, jbudorick wrote: > On 2016/03/21 18:45:49, mikecase wrote: > > Updated ...
4 years, 9 months ago (2016-03-21 21:26:11 UTC) #7
jbudorick
lgtm w/ logging nit This is _much_ better than my previous implementation. https://codereview.chromium.org/1812383003/diff/40001/build/android/devil_chromium.py File build/android/devil_chromium.py ...
4 years, 9 months ago (2016-03-24 18:26:26 UTC) #8
jbudorick
https://codereview.chromium.org/1812383003/diff/40001/build/android/devil_chromium.jinja File build/android/devil_chromium.jinja (right): https://codereview.chromium.org/1812383003/diff/40001/build/android/devil_chromium.jinja#newcode74 build/android/devil_chromium.jinja:74: "forwarder_device": { wait, this is wrong. should be forwarder_host
4 years, 9 months ago (2016-03-24 18:27:39 UTC) #9
jbudorick
https://codereview.chromium.org/1812383003/diff/40001/build/android/devil_chromium.jinja File build/android/devil_chromium.jinja (right): https://codereview.chromium.org/1812383003/diff/40001/build/android/devil_chromium.jinja#newcode47 build/android/devil_chromium.jinja:47: "android_arm64-v8a": { and actually, we know the device architecture ...
4 years, 9 months ago (2016-03-24 18:28:43 UTC) #10
mikecase (-- gone --)
Removed the "../../.."'s that I had in my jinja template. I also realized I had ...
4 years, 8 months ago (2016-03-28 20:47:01 UTC) #11
mikecase (-- gone --)
https://codereview.chromium.org/1812383003/diff/60001/build/android/gyp_devil_jinja_processor.py File build/android/gyp_devil_jinja_processor.py (right): https://codereview.chromium.org/1812383003/diff/60001/build/android/gyp_devil_jinja_processor.py#newcode29 build/android/gyp_devil_jinja_processor.py:29: rebased_product_dir = os.path.relpath(args.product_dir, gen_dir) Basically, these two calls is ...
4 years, 8 months ago (2016-03-28 20:47:35 UTC) #12
mikecase (-- gone --)
friendly ping. Does my work around with the gyp_devil_jinja_processor script look reasonably to you. It ...
4 years, 8 months ago (2016-03-31 18:53:13 UTC) #13
jbudorick
On 2016/03/31 18:53:13, mikecase wrote: > friendly ping. lgtm > > Does my work around ...
4 years, 8 months ago (2016-04-01 04:17:01 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1812383003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1812383003/60001
4 years, 8 months ago (2016-04-05 17:44:19 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/48644)
4 years, 8 months ago (2016-04-05 18:16:56 UTC) #18
mikecase (-- gone --)
+droger for review of tools/android/loading/gce/deploy.sh Im removing build/android/devil_chromium.json (and replacing it with a generated out_dir/gen/devil_chromium.json). ...
4 years, 8 months ago (2016-04-05 21:05:53 UTC) #20
jbudorick
https://codereview.chromium.org/1812383003/diff/80001/build/android/BUILD.gn File build/android/BUILD.gn (right): https://codereview.chromium.org/1812383003/diff/80001/build/android/BUILD.gn#newcode89 build/android/BUILD.gn:89: output = "$root_gen_dir/devil_chromium.json" Does this output file wind up ...
4 years, 8 months ago (2016-04-05 21:10:49 UTC) #21
droger
On 2016/04/05 21:05:53, mikecase wrote: > +droger for review of tools/android/loading/gce/deploy.sh > > Im removing ...
4 years, 8 months ago (2016-04-06 09:35:41 UTC) #22
droger
Also: lgtm. I don't want to block you on this.
4 years, 8 months ago (2016-04-06 09:37:48 UTC) #23
mikecase (-- gone --)
Added line to copy the generated devil config to $tmp_src_dir/$builddir/gen/ in deploy.sh. As long as ...
4 years, 8 months ago (2016-04-08 17:20:05 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1812383003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1812383003/100001
4 years, 8 months ago (2016-04-08 17:20:35 UTC) #26
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/50888)
4 years, 8 months ago (2016-04-08 18:04:24 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1812383003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1812383003/120001
4 years, 8 months ago (2016-04-08 18:37:35 UTC) #30
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/51006)
4 years, 8 months ago (2016-04-08 20:58:37 UTC) #32
mikecase (-- gone --)
Fixed android platform names being... {{android_app_abi}} ...instead of .... android_{{android_app_abi}} Going to try committing this ...
4 years, 8 months ago (2016-04-11 18:40:49 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1812383003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1812383003/140001
4 years, 8 months ago (2016-04-11 18:41:57 UTC) #36
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 8 months ago (2016-04-11 20:26:50 UTC) #37
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/c2aa4243a9e00a2d0e254d9f6f73b41c00cb644d Cr-Commit-Position: refs/heads/master@{#386461}
4 years, 8 months ago (2016-04-11 20:28:31 UTC) #39
kjellander_chromium
4 years, 8 months ago (2016-04-12 10:57:47 UTC) #40
Message was sent while issue was closed.
A revert of this CL (patchset #8 id:140001) has been created in
https://codereview.chromium.org/1885503002/ by kjellander@chromium.org.

The reason for reverting is: I believe this change breaks content_browsertests
on every Android tester in chromium.android. 

Examples:

https://build.chromium.org/p/chromium.android/builders/Lollipop%20Phone%20Tes...
https://build.chromium.org/p/chromium.android/builders/Marshmallow%2064%20bit...
https://build.chromium.org/p/chromium.android/builders/KitKat%20Tablet%20Test....

Powered by Google App Engine
This is Rietveld 408576698