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

Issue 5740004: Move site_chrome_test, site_logging, site_log_reader, site_crash_test into cros dir. (Closed)

Created:
10 years ago by ericli
Modified:
9 years, 7 months ago
Reviewers:
kmixter1, Chris Masone
CC:
chromium-os-reviews_chromium.org, truty+cc_chromium.org, sosa+cc_chromium.org, seano+cc_chromium.org, petkov+cc_chromium.org, Daniel Erat, ericli
Visibility:
Public.

Description

Change-Id: Ib50962111d0c6c07a135679d80930af4bc52915b Move site_chrome_test, site_logging, site_log_reader, site_crash_test into cros dir. site_chrome_test --> cros/chrome_test site_crash_test --> cros/crash_test site_logging --> cros/cros_logging site_log_reader --> cros/cros_logging site_ui_test --> cros/cros_ui_test I had removed site_logging module and moved its code into cros_logging, since its new name (logging) has conflict with python's logging module. site_log_reader has also been merged into cros_logging module. As I am touching all the files in the list, I also removed some unnecessary import to autotest_lib.client.bin.test. Change-Id: I2c8f101a6c7a0499619e227e4cb0cfb8ceec4690 BUG=7236 TEST=run bvt and every other tests been touched from both source (third_party/autotest/files) and chroot (/build/board/usr/local/autotest) Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=e7c4cab

Patch Set 1 #

Patch Set 2 : patch #

Patch Set 3 : patch #

Patch Set 4 : patch #

Total comments: 10

Patch Set 5 : patch based on comment #

Patch Set 6 : patch #

Patch Set 7 : patch #

Patch Set 8 : patch #

Patch Set 9 : patch #

Patch Set 10 : last patch, caused by merge from ToT. #

Patch Set 11 : patch #

Patch Set 12 : patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+318 lines, -275 lines) Patch
M client/bin/site_job.py View 1 2 3 4 5 6 7 8 9 2 chunks +9 lines, -4 lines 0 comments Download
D client/bin/site_log_reader.py View 1 2 1 chunk +0 lines, -80 lines 0 comments Download
D client/bin/site_logging.py View 1 2 1 chunk +0 lines, -55 lines 0 comments Download
A + client/cros/chrome_test.py View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -2 lines 0 comments Download
A + client/cros/crash_test.py View 1 2 3 4 3 chunks +7 lines, -5 lines 0 comments Download
A client/cros/cros_logging.py View 1 2 3 4 1 chunk +136 lines, -0 lines 0 comments Download
A + client/cros/cros_ui_test.py View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -3 lines 0 comments Download
M client/cros/login.py View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +9 lines, -8 lines 0 comments Download
M client/site_tests/audiovideo_PlaybackRecordSemiAuto/audiovideo_PlaybackRecordSemiAuto.py View 1 2 3 4 4 chunks +4 lines, -4 lines 0 comments Download
M client/site_tests/desktopui_ChromeFirstRender/desktopui_ChromeFirstRender.py View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M client/site_tests/desktopui_FlashSanityCheck/desktopui_FlashSanityCheck.py View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M client/site_tests/desktopui_IBusTest/desktopui_IBusTest.py View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M client/site_tests/desktopui_ImeTest/desktopui_ImeTest.py View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M client/site_tests/desktopui_ScreenLocker/desktopui_ScreenLocker.py View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M client/site_tests/desktopui_SunSpiderBench/desktopui_SunSpiderBench.py View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -4 lines 0 comments Download
M client/site_tests/desktopui_V8Bench/desktopui_V8Bench.py View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M client/site_tests/desktopui_WindowManagerFocusNewWindows/desktopui_WindowManagerFocusNewWindows.py View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -2 lines 0 comments Download
M client/site_tests/desktopui_WindowManagerHotkeys/desktopui_WindowManagerHotkeys.py View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -3 lines 0 comments Download
M client/site_tests/graphics_GLAPICheck/graphics_GLAPICheck.py View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M client/site_tests/graphics_O3DSelenium/graphics_O3DSelenium.py View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M client/site_tests/graphics_SanAngeles/graphics_SanAngeles.py View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M client/site_tests/graphics_TearTest/graphics_TearTest.py View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M client/site_tests/graphics_WebGLConformance/graphics_WebGLConformance.py View 1 2 3 4 3 chunks +4 lines, -4 lines 0 comments Download
M client/site_tests/graphics_WindowManagerGraphicsCapture/graphics_WindowManagerGraphicsCapture.py View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M client/site_tests/hardware_BluetoothSemiAuto/hardware_BluetoothSemiAuto.py View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -3 lines 0 comments Download
M client/site_tests/logging_CrashSender/logging_CrashSender.py View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M client/site_tests/logging_CrashServices/logging_CrashServices.py View 1 2 3 4 3 chunks +5 lines, -5 lines 0 comments Download
M client/site_tests/logging_KernelCrash/logging_KernelCrash.py View 1 chunk +3 lines, -3 lines 0 comments Download
M client/site_tests/logging_LogVolume/logging_LogVolume.py View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M client/site_tests/logging_UncleanShutdown/logging_UncleanShutdown.py View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M client/site_tests/logging_UserCrash/logging_UserCrash.py View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M client/site_tests/login_Backdoor/login_Backdoor.py View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M client/site_tests/login_BadAuthentication/login_BadAuthentication.py View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M client/site_tests/login_ChromeProfileSanitary/login_ChromeProfileSanitary.py View 1 2 3 4 3 chunks +4 lines, -4 lines 0 comments Download
M client/site_tests/login_CryptohomeIncognitoMounted/login_CryptohomeIncognitoMounted.py View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M client/site_tests/login_CryptohomeIncognitoUnmounted/login_CryptohomeIncognitoUnmounted.py View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M client/site_tests/login_CryptohomeMounted/login_CryptohomeMounted.py View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M client/site_tests/login_CryptohomeUnmounted/login_CryptohomeUnmounted.py View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M client/site_tests/login_DBusCalls/login_DBusCalls.py View 1 2 3 4 5 6 7 8 2 chunks +10 lines, -6 lines 0 comments Download
M client/site_tests/login_LoginSuccess/login_LoginSuccess.py View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -2 lines 0 comments Download
M client/site_tests/login_LogoutProcessCleanup/login_LogoutProcessCleanup.py View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M client/site_tests/login_RemoteLogin/login_RemoteLogin.py View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -2 lines 0 comments Download
M client/site_tests/login_SecondFactor/login_SecondFactor.py View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M client/site_tests/platform_AccurateTime/platform_AccurateTime.py View 1 2 3 4 2 chunks +5 lines, -3 lines 0 comments Download
M client/site_tests/platform_ProcessPrivileges/platform_ProcessPrivileges.py View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M client/site_tests/platform_ProcessPrivilegesComprehensive/platform_ProcessPrivilegesComprehensive.py View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M client/site_tests/power_Idle/power_Idle.py View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M client/site_tests/power_LoadTest/power_LoadTest.py View 1 2 3 4 3 chunks +6 lines, -4 lines 0 comments Download
M client/site_tests/security_NetworkListeners/security_NetworkListeners.py View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M client/site_tests/security_RendererSandbox/security_RendererSandbox.py View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
ericli
10 years ago (2010-12-11 00:25:42 UTC) #1
ericli
10 years ago (2010-12-13 22:38:43 UTC) #2
ericli
Ping? On 2010/12/13 22:38:43, ericli wrote:
10 years ago (2010-12-15 19:17:27 UTC) #3
kmixter1
FYI The new naming is a little confusing since it conflicts with existing python, autotest, ...
10 years ago (2010-12-16 03:12:57 UTC) #4
kmixter1
10 years ago (2010-12-16 03:13:28 UTC) #5
Chris Masone
On 2010/12/16 03:13:28, kmixter1 wrote: I prefer the unambiguous naming as well. more readable code ...
10 years ago (2010-12-16 06:37:33 UTC) #6
ericli
PTAL. http://codereview.chromium.org/5740004/diff/8001/client/bin/site_job.py File client/bin/site_job.py (right): http://codereview.chromium.org/5740004/diff/8001/client/bin/site_job.py#newcode18 client/bin/site_job.py:18: log_pauser = log_reader.LogRotationPauser() I agree. I have some ...
10 years ago (2010-12-17 21:48:39 UTC) #7
Chris Masone
I don't understand why we're changing site_ui->ui in this CL, and then ui->cros_ui in a ...
10 years ago (2010-12-21 23:43:42 UTC) #8
ericli
Chris, Thanks for your time on this CL. I fully understand your concerns. But this ...
10 years ago (2010-12-22 00:02:56 UTC) #9
Chris Masone
K...now that everyone's coming back at the same time, I'd rather have Ken just finish ...
9 years, 11 months ago (2011-01-04 01:53:45 UTC) #10
kmixter1
For testing, I'm assuming you're not just running bvt, but also emerging autotest-tests? Otherwise I ...
9 years, 11 months ago (2011-01-05 19:44:24 UTC) #11
kmixter1
(chrome_test.py is an example of ui on its own line, and of showing a site_ui ...
9 years, 11 months ago (2011-01-05 19:50:39 UTC) #12
ericli
On Wed, Jan 5, 2011 at 11:44 AM, <kmixter@chromium.org> wrote: > For testing, I'm assuming ...
9 years, 11 months ago (2011-01-05 19:56:09 UTC) #13
kmixter1
LGTM I still think from autotest_lib.client.cros import ui is more readable than just "ui" but ...
9 years, 11 months ago (2011-01-05 20:40:33 UTC) #14
ericli
Thanks, I will try. I think your mean ui --> cros_ui? On Wed, Jan 5, ...
9 years, 11 months ago (2011-01-05 20:54:41 UTC) #15
kmixter1
9 years, 11 months ago (2011-01-05 20:59:13 UTC) #16
Yes, exactly.

On Wed, Jan 5, 2011 at 12:54 PM, Eric Li(李咏竹) <ericli@chromium.org> wrote:

> Thanks, I will try. I think your mean ui --> cros_ui?
>
>
> On Wed, Jan 5, 2011 at 12:40 PM, Ken Mixter <kmixter@chromium.org> wrote:
>
>> LGTM
>>
>> I still think from autotest_lib.client.cros import ui is more readable
>> than just "ui" but I don't think there's any style guide requirements for
>> it.
>>
>> But is there any chance you can finish the ui -> site_ui change this week
>> before leaving?
>>
>>
>> On Wed, Jan 5, 2011 at 11:56 AM, Eric Li(李咏竹) <ericli@chromium.org>wrote:
>>
>>> On Wed, Jan 5, 2011 at 11:44 AM, <kmixter@chromium.org> wrote:
>>>
>>>> For testing, I'm assuming you're not just running bvt, but also emerging
>>>> autotest-tests?  Otherwise I guess syntax checking isn't happening on
>>>> the
>>>> majority of tests.  Can you update the TEST stanza?
>>>>
>>>> Done.
>>>
>>>
>>>> Can you also sync your repo so that the site_ui -> ui changes don't
>>>> appear in
>>>> this CL?  I'm not sure what CL they were in.
>>>>
>>> site_u --> ui change was landed on Dec. 10 by
>>>
http://git.chromium.org/gitweb/?p=autotest.git;a=commit;h=c4d8f4aab4e434fcb1a...
>>> .
>>>
>>>
>>>>
>>>> I saw a few lines where import ui was alone.  Maybe "common" is special
>>>> and
>>>> needs to be on its own line (as you suggested) but I don't know why "ui"
>>>> would.
>>>>
>>>> You are right. since now chrome_test and ui are under the same new
>>> location (client/cros), you could directly import it after import common
>>> statement, without specifying the full from ... import statement.
>>>
>>> "import common" as a standalone statement seems a less-than-perfect
>>> autotest idiom, but I will not touch it for now.
>>>
>>>
>>>> http://codereview.chromium.org/5740004/
>>>>
>>>
>>>
>>>
>>> --
>>> Eric Li
>>> 李咏竹
>>> Google Kirkland
>>>
>>>
>>>
>>
>
>
> --
> Eric Li
> 李咏竹
> Google Kirkland
>
>
>

Powered by Google App Engine
This is Rietveld 408576698