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

Issue 10384104: Chrome updater test framework (Closed)

Created:
8 years, 7 months ago by nkang
Modified:
8 years, 2 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

A test framework for install/upgrade scenarios. This framework is designed for Chrome 'Updater' tests. Any test that requires Chrome to be updated during testing can be classified as an Updater test. This framework allows users to install and update Chrome from within a test case. It also allows users to run browser tests using the installed version of Chrome, and because it uses the installed version, tests can be performed with user or system level installation. At the moment, it only supports Windows, but going forward, other platforms might also be supported. BUG=none NOTRY=true Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=160709

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 13

Patch Set 3 : #

Total comments: 3

Patch Set 4 : #

Patch Set 5 : #

Total comments: 6

Patch Set 6 : #

Total comments: 42

Patch Set 7 : #

Total comments: 32

Patch Set 8 : #

Total comments: 18

Patch Set 9 : #

Total comments: 38

Patch Set 10 : #

Patch Set 11 : #

Total comments: 38

Patch Set 12 : #

Total comments: 35

Patch Set 13 : #

Patch Set 14 : #

Total comments: 34

Patch Set 15 : #

Total comments: 124

Patch Set 16 : #

Total comments: 100

Patch Set 17 : #

Total comments: 2

Patch Set 18 : #

Patch Set 19 : #

Total comments: 44

Patch Set 20 : #

Total comments: 10

Patch Set 21 : #

Patch Set 22 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+666 lines, -13 lines) Patch
A install_test/OWNERS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -0 lines 0 comments Download
A install_test/chrome_installer_win.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 +296 lines, -0 lines 0 comments Download
A install_test/install_test.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 +246 lines, -0 lines 0 comments Download
A install_test/sample_updater.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 +37 lines, -0 lines 0 comments Download
M pyautolib/fetch_prebuilt_pyauto.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +2 lines, -12 lines 0 comments Download
M pyautolib/pyauto_utils.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +84 lines, -1 line 0 comments Download

Messages

Total messages: 58 (0 generated)
nkang
Resolved all the conflicts in pyauto.py and fetch_prebuilt_pyauto.py.
8 years, 7 months ago (2012-05-10 20:37:51 UTC) #1
kkania
http://codereview.chromium.org/10384104/diff/1/pyautolib/py_unittest_util.py File pyautolib/py_unittest_util.py (right): http://codereview.chromium.org/10384104/diff/1/pyautolib/py_unittest_util.py#newcode52 pyautolib/py_unittest_util.py:52: """Test Runner for PyAuto tests that displays results in ...
8 years, 7 months ago (2012-05-22 16:36:42 UTC) #2
nkang
http://codereview.chromium.org/10384104/diff/2001/pyautolib/fetch_prebuilt_pyauto.py File pyautolib/fetch_prebuilt_pyauto.py (right): http://codereview.chromium.org/10384104/diff/2001/pyautolib/fetch_prebuilt_pyauto.py#newcode160 pyautolib/fetch_prebuilt_pyauto.py:160: except(zipfile.BadZipfile, OSError), err: On 2012/05/22 16:36:42, kkania wrote: > ...
8 years, 7 months ago (2012-05-24 17:00:13 UTC) #3
kkania
http://codereview.chromium.org/10384104/diff/9001/pyautolib/fetch_prebuilt_pyauto.py File pyautolib/fetch_prebuilt_pyauto.py (right): http://codereview.chromium.org/10384104/diff/9001/pyautolib/fetch_prebuilt_pyauto.py#newcode47 pyautolib/fetch_prebuilt_pyauto.py:47: # Generate name of the zip file that will ...
8 years, 7 months ago (2012-05-25 00:50:20 UTC) #4
nkang
Made following changes to fetch_prebuilt_pyauto.py: - Got rid of unnecessary comments. - Changed the way ...
8 years, 7 months ago (2012-05-25 21:37:14 UTC) #5
kkania
https://chromiumcodereview.appspot.com/10384104/diff/16002/pyautolib/fetch_prebuilt_pyauto.py File pyautolib/fetch_prebuilt_pyauto.py (right): https://chromiumcodereview.appspot.com/10384104/diff/16002/pyautolib/fetch_prebuilt_pyauto.py#newcode124 pyautolib/fetch_prebuilt_pyauto.py:124: lst_dirs = ['PepperFlash', 'remoting', 'locales', 'resources', 'installer'] rename this ...
8 years, 6 months ago (2012-05-29 18:23:14 UTC) #6
nkang
See comments for list of changes. https://chromiumcodereview.appspot.com/10384104/diff/16002/pyautolib/fetch_prebuilt_pyauto.py File pyautolib/fetch_prebuilt_pyauto.py (right): https://chromiumcodereview.appspot.com/10384104/diff/16002/pyautolib/fetch_prebuilt_pyauto.py#newcode124 pyautolib/fetch_prebuilt_pyauto.py:124: lst_dirs = ['PepperFlash', ...
8 years, 6 months ago (2012-05-29 19:29:57 UTC) #7
kkania
https://chromiumcodereview.appspot.com/10384104/diff/18001/install_test/chrome_checkout.py File install_test/chrome_checkout.py (right): https://chromiumcodereview.appspot.com/10384104/diff/18001/install_test/chrome_checkout.py#newcode1 install_test/chrome_checkout.py:1: #!/usr/bin/python wrong shebang https://chromiumcodereview.appspot.com/10384104/diff/18001/install_test/chrome_checkout.py#newcode10 install_test/chrome_checkout.py:10: import sys order https://chromiumcodereview.appspot.com/10384104/diff/18001/install_test/chrome_checkout.py#newcode16 ...
8 years, 6 months ago (2012-05-30 15:41:09 UTC) #8
nkang
https://chromiumcodereview.appspot.com/10384104/diff/18001/install_test/chrome_checkout.py File install_test/chrome_checkout.py (right): https://chromiumcodereview.appspot.com/10384104/diff/18001/install_test/chrome_checkout.py#newcode1 install_test/chrome_checkout.py:1: #!/usr/bin/python On 2012/05/30 15:41:09, kkania wrote: > wrong shebang ...
8 years, 6 months ago (2012-05-30 21:42:05 UTC) #9
nkang
Modified chrome_checkout.py. Got rid of ChromeCheckout class and put all the methods from ChromeCheckout at ...
8 years, 6 months ago (2012-05-31 23:57:18 UTC) #10
kkania
http://codereview.chromium.org/10384104/diff/21002/install_test/chrome_checkout.py File install_test/chrome_checkout.py (right): http://codereview.chromium.org/10384104/diff/21002/install_test/chrome_checkout.py#newcode5 install_test/chrome_checkout.py:5: have a description of this module http://codereview.chromium.org/10384104/diff/21002/install_test/chrome_checkout.py#newcode19 install_test/chrome_checkout.py:19: def ...
8 years, 6 months ago (2012-06-09 00:06:10 UTC) #11
nkang
Made all the changes that were suggested below. http://codereview.chromium.org/10384104/diff/21002/install_test/chrome_checkout.py File install_test/chrome_checkout.py (right): http://codereview.chromium.org/10384104/diff/21002/install_test/chrome_checkout.py#newcode5 install_test/chrome_checkout.py:5: On ...
8 years, 6 months ago (2012-06-12 23:48:33 UTC) #12
kkania
http://codereview.chromium.org/10384104/diff/23001/install_test/chrome_checkout.py File install_test/chrome_checkout.py (right): http://codereview.chromium.org/10384104/diff/23001/install_test/chrome_checkout.py#newcode38 install_test/chrome_checkout.py:38: server: Host address, in this case the SVN server. ...
8 years, 6 months ago (2012-06-13 16:47:01 UTC) #13
nkang
Made all the changes suggested below. http://codereview.chromium.org/10384104/diff/23001/install_test/chrome_checkout.py File install_test/chrome_checkout.py (right): http://codereview.chromium.org/10384104/diff/23001/install_test/chrome_checkout.py#newcode38 install_test/chrome_checkout.py:38: server: Host address, ...
8 years, 6 months ago (2012-06-13 23:35:09 UTC) #14
kkania
http://codereview.chromium.org/10384104/diff/30001/functional/protector_updater.py File functional/protector_updater.py (right): http://codereview.chromium.org/10384104/diff/30001/functional/protector_updater.py#newcode16 functional/protector_updater.py:16: $ python Chrome-Protector.py --url=http://chrome-master2.mtv.corp.google. \ this is out of ...
8 years, 6 months ago (2012-06-14 17:20:33 UTC) #15
nkang
Several changes were made. The changes are listed below: - Updated InstallTest so it existing ...
8 years, 5 months ago (2012-06-28 19:02:39 UTC) #16
Nirnimesh
Please make the CL title and description a bit clearer. State in one line what ...
8 years, 5 months ago (2012-07-03 23:29:20 UTC) #17
Nirnimesh
http://codereview.chromium.org/10384104/diff/44001/install_test/py_unittest_util.py File install_test/py_unittest_util.py (right): http://codereview.chromium.org/10384104/diff/44001/install_test/py_unittest_util.py#newcode1 install_test/py_unittest_util.py:1: #!/usr/bin/env python Move all of this to chrome/test/pyautolib/pyauto_utils.py http://codereview.chromium.org/10384104/diff/44001/pyautolib/fetch_prebuilt_pyauto.py ...
8 years, 5 months ago (2012-07-03 23:37:02 UTC) #18
Nirnimesh
I haven't finished reviewing entirely, but here are a few more comments. http://codereview.chromium.org/10384104/diff/44001/functional/protector_updater.py File functional/protector_updater.py ...
8 years, 5 months ago (2012-07-04 00:39:19 UTC) #19
nkang
Made all the changes recommended by Nirnimesh. Modules impacted by these changes include install_test.py, protector_updater.py, ...
8 years, 5 months ago (2012-07-13 23:50:50 UTC) #20
kkania
http://codereview.chromium.org/10384104/diff/49001/install_test/chrome_installer.py File install_test/chrome_installer.py (right): http://codereview.chromium.org/10384104/diff/49001/install_test/chrome_installer.py#newcode21 install_test/chrome_installer.py:21: _CSIDL_COMMON_APPDATA = 0x1C how about move these 2 to ...
8 years, 5 months ago (2012-07-23 16:46:23 UTC) #21
nkang
Addressed all the comments below, plus fixed a couple of bugs in fetch_prebuilt_pyauto.py and install_test.py. ...
8 years, 5 months ago (2012-07-25 23:39:20 UTC) #22
kkania
Some comments on the changes http://codereview.chromium.org/10384104/diff/49001/install_test/chrome_installer.py File install_test/chrome_installer.py (right): http://codereview.chromium.org/10384104/diff/49001/install_test/chrome_installer.py#newcode23 install_test/chrome_installer.py:23: _PLATFORM = platform.system().lower() On ...
8 years, 5 months ago (2012-07-25 23:59:38 UTC) #23
kkania
On 2012/07/25 23:59:38, kkania wrote: > Some comments on the changes > > http://codereview.chromium.org/10384104/diff/49001/install_test/chrome_installer.py > ...
8 years, 4 months ago (2012-07-30 17:31:42 UTC) #24
nkang1
Hi guys, I've been sick for the past few days. That's why I haven't been ...
8 years, 4 months ago (2012-07-31 16:28:29 UTC) #25
nkang
Addressed all the comments below. Plus, created a new class called ChromeRegistryKeys that will be ...
8 years, 4 months ago (2012-08-02 21:05:42 UTC) #26
kkania
http://codereview.chromium.org/10384104/diff/74001/install_test/chrome_installer.py File install_test/chrome_installer.py (right): http://codereview.chromium.org/10384104/diff/74001/install_test/chrome_installer.py#newcode29 install_test/chrome_installer.py:29: PRODUCT_VERSION = 0 you can just change these values ...
8 years, 4 months ago (2012-08-03 18:41:08 UTC) #27
nkang
Made several changes to chrome_installer.py. Some of the changes are: - Wrote a new class ...
8 years, 4 months ago (2012-08-06 23:57:13 UTC) #28
Nirnimesh
This is looking much better than when I had looked last. http://codereview.chromium.org/10384104/diff/73002/install_test/chrome_checkout.py File install_test/chrome_checkout.py (right): ...
8 years, 4 months ago (2012-08-09 21:32:48 UTC) #29
nkang1
That's music to my ears :) On Thu, Aug 9, 2012 at 2:32 PM, <nirnimesh@chromium.org> ...
8 years, 4 months ago (2012-08-09 21:54:24 UTC) #30
nkang
Addressed all the comments made by Nirnimesh. http://codereview.chromium.org/10384104/diff/73002/install_test/chrome_checkout.py File install_test/chrome_checkout.py (right): http://codereview.chromium.org/10384104/diff/73002/install_test/chrome_checkout.py#newcode9 install_test/chrome_checkout.py:9: used to ...
8 years, 4 months ago (2012-08-16 23:46:23 UTC) #31
Nirnimesh
http://codereview.chromium.org/10384104/diff/73002/install_test/chrome_installer.py File install_test/chrome_installer.py (right): http://codereview.chromium.org/10384104/diff/73002/install_test/chrome_installer.py#newcode8 install_test/chrome_installer.py:8: import _winreg On 2012/08/16 23:46:24, nkang wrote: > On ...
8 years, 4 months ago (2012-08-22 07:06:34 UTC) #32
nkang
Address all comments made by Nirnimesh. http://codereview.chromium.org/10384104/diff/73002/install_test/chrome_installer.py File install_test/chrome_installer.py (right): http://codereview.chromium.org/10384104/diff/73002/install_test/chrome_installer.py#newcode61 install_test/chrome_installer.py:61: if current_type != ...
8 years, 4 months ago (2012-08-24 22:45:26 UTC) #33
Nirnimesh
http://codereview.chromium.org/10384104/diff/85002/install_test/protector_updater.py File install_test/protector_updater.py (right): http://codereview.chromium.org/10384104/diff/85002/install_test/protector_updater.py#newcode1 install_test/protector_updater.py:1: #!/usr/bin/env python Anantha told me yesterday that she doesn't ...
8 years, 4 months ago (2012-08-24 22:51:34 UTC) #34
nkang
Addressed the recent comment by Nirnimesh. http://codereview.chromium.org/10384104/diff/85002/install_test/protector_updater.py File install_test/protector_updater.py (right): http://codereview.chromium.org/10384104/diff/85002/install_test/protector_updater.py#newcode1 install_test/protector_updater.py:1: #!/usr/bin/env python On ...
8 years, 4 months ago (2012-08-24 23:00:42 UTC) #35
Nirnimesh
On 2012/08/24 23:00:42, nkang wrote: > Addressed the recent comment by Nirnimesh. > > http://codereview.chromium.org/10384104/diff/85002/install_test/protector_updater.py ...
8 years, 4 months ago (2012-08-24 23:03:52 UTC) #36
nkang
Updated the framework so it uses ChromeDriver instead of PyAuto. Modified install_test.py to reflect this ...
8 years, 2 months ago (2012-09-26 21:39:38 UTC) #37
kkania
https://chromiumcodereview.appspot.com/10384104/diff/99001/install_test/chrome_installer_win.py File install_test/chrome_installer_win.py (right): https://chromiumcodereview.appspot.com/10384104/diff/99001/install_test/chrome_installer_win.py#newcode30 install_test/chrome_installer_win.py:30: def Install(installer_path, install_type, build, options): change build->version or build_no ...
8 years, 2 months ago (2012-10-02 17:05:16 UTC) #38
nkang
Addressed all comments made by Ken. https://chromiumcodereview.appspot.com/10384104/diff/99001/install_test/chrome_installer_win.py File install_test/chrome_installer_win.py (right): https://chromiumcodereview.appspot.com/10384104/diff/99001/install_test/chrome_installer_win.py#newcode30 install_test/chrome_installer_win.py:30: def Install(installer_path, install_type, ...
8 years, 2 months ago (2012-10-03 22:12:01 UTC) #39
kkania
LGTM
8 years, 2 months ago (2012-10-04 16:31:49 UTC) #40
nkang
Adding sky for owner's review for the addition of a new folder called 'install_test'. Adding ...
8 years, 2 months ago (2012-10-04 20:56:03 UTC) #41
sky
I'm swapping myself with John as a reviewer. John is more knowledgeable about watching what's ...
8 years, 2 months ago (2012-10-04 21:27:49 UTC) #42
dennis_jeffrey
http://codereview.chromium.org/10384104/diff/106001/pyautolib/pyauto_utils.py File pyautolib/pyauto_utils.py (right): http://codereview.chromium.org/10384104/diff/106001/pyautolib/pyauto_utils.py#newcode201 pyautolib/pyauto_utils.py:201: def DoesUrlExist(url): Something similar already exists in other pyauto ...
8 years, 2 months ago (2012-10-04 21:54:46 UTC) #43
nkang
Addressed Dennis' comments regarding pyautolib. http://codereview.chromium.org/10384104/diff/106001/pyautolib/pyauto_utils.py File pyautolib/pyauto_utils.py (right): http://codereview.chromium.org/10384104/diff/106001/pyautolib/pyauto_utils.py#newcode201 pyautolib/pyauto_utils.py:201: def DoesUrlExist(url): On 2012/10/04 ...
8 years, 2 months ago (2012-10-04 22:25:57 UTC) #44
dennis_jeffrey
Thanks for giving the back-story about how things got to the current state. http://codereview.chromium.org/10384104/diff/106001/pyautolib/pyauto_utils.py File ...
8 years, 2 months ago (2012-10-04 22:37:14 UTC) #45
kkania
http://codereview.chromium.org/10384104/diff/106001/pyautolib/pyauto_utils.py File pyautolib/pyauto_utils.py (right): http://codereview.chromium.org/10384104/diff/106001/pyautolib/pyauto_utils.py#newcode225 pyautolib/pyauto_utils.py:225: class _GTestTextTestResult(unittest._TextTestResult): On 2012/10/04 22:37:14, dennis_jeffrey wrote: > On ...
8 years, 2 months ago (2012-10-05 15:17:41 UTC) #46
jam
thanks for switching to chromedriver, lgtm (didn't review in detail) please add an owners file ...
8 years, 2 months ago (2012-10-05 17:22:30 UTC) #47
dennis_jeffrey
http://codereview.chromium.org/10384104/diff/106001/pyautolib/pyauto_utils.py File pyautolib/pyauto_utils.py (right): http://codereview.chromium.org/10384104/diff/106001/pyautolib/pyauto_utils.py#newcode201 pyautolib/pyauto_utils.py:201: def DoesUrlExist(url): On 2012/10/04 22:37:14, dennis_jeffrey wrote: > On ...
8 years, 2 months ago (2012-10-05 17:57:23 UTC) #48
nkang
On 2012/10/05 17:22:30, John Abd-El-Malek wrote: > thanks for switching to chromedriver, lgtm (didn't review ...
8 years, 2 months ago (2012-10-05 18:57:12 UTC) #49
nkang
Addressed the comment made by Dennis. Removed the duplicate code from fetch_prebuilt_pyauto.py and updated it ...
8 years, 2 months ago (2012-10-05 18:58:02 UTC) #50
dennis_jeffrey
LGTM for pyautolib/
8 years, 2 months ago (2012-10-05 20:39:10 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nkang@chromium.org/10384104/102003
8 years, 2 months ago (2012-10-05 21:22:45 UTC) #52
commit-bot: I haz the power
Presubmit check for 10384104-102003 failed and returned exit status 1. /b/commit-queue/workdir/chromium/chrome/test/install_test/chrome_installer_win.py: Has shebang but not ...
8 years, 2 months ago (2012-10-05 21:22:49 UTC) #53
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nkang@chromium.org/10384104/111002
8 years, 2 months ago (2012-10-08 21:05:49 UTC) #54
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nkang@chromium.org/10384104/111002
8 years, 2 months ago (2012-10-08 21:07:17 UTC) #55
commit-bot: I haz the power
Retried try job too often for step(s) compile
8 years, 2 months ago (2012-10-08 21:14:19 UTC) #56
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nkang@chromium.org/10384104/111002
8 years, 2 months ago (2012-10-08 21:22:36 UTC) #57
commit-bot: I haz the power
8 years, 2 months ago (2012-10-08 21:26:39 UTC) #58
Change committed as 160709

Powered by Google App Engine
This is Rietveld 408576698