e0b08e6170b57f90262726eb7f04e059cb47419c |
|
11-Aug-2015 |
Hsinyu Chao <hychao@chromium.org> |
Revert "autotest: move constants to common_lib" This reverts commit a4ac7a8f67d61f8a616724f9426dbc0fce71ce69. BUG=chromium:519353 Change-Id: Iec2873ad22b5bb90e46a9e5b323f9626a2c07d9b Reviewed-on: https://chromium-review.googlesource.com/292347 Reviewed-by: Hsinyu Chao <hychao@chromium.org> Commit-Queue: Hsinyu Chao <hychao@chromium.org> Tested-by: Hsinyu Chao <hychao@chromium.org> Reviewed-by: Sonny Rao <sonnyrao@chromium.org> Commit-Queue: Sonny Rao <sonnyrao@chromium.org> Tested-by: Sonny Rao <sonnyrao@chromium.org>
/external/autotest/client/site_tests/login_OwnershipRetaken/login_OwnershipRetaken.py
|
a4ac7a8f67d61f8a616724f9426dbc0fce71ce69 |
|
06-Aug-2015 |
Eric Caruso <ejcaruso@chromium.org> |
autotest: move constants to common_lib This file gets imported from lots of server-side tests and infrastructure so it shouldn't be hiding in client/cros. This moves the file and fixes all imports. BUG=chromium:485834 TEST=run many tests, make sure there are no problems importing constants Change-Id: I5c2b2a0bef6ebc998e62f40162a6ec9cc4436480 Reviewed-on: https://chromium-review.googlesource.com/291302 Trybot-Ready: Eric Caruso <ejcaruso@chromium.org> Commit-Queue: Eric Caruso <ejcaruso@chromium.org> Tested-by: Eric Caruso <ejcaruso@chromium.org> Reviewed-by: Chris Sosa <sosa@google.com>
/external/autotest/client/site_tests/login_OwnershipRetaken/login_OwnershipRetaken.py
|
9fef4639415a0481373e073f40b7c32ed93a99b5 |
|
11-Jun-2014 |
Chris Masone <cmasone@chromium.org> |
Stop the UI instead of stopping the session in some tests. Some tests need to unmount and remove a cryptohome at the end of the test. Stopping the user's session and then unmounting the user's cryptohome can cause a race with ui.conf's session cleanup code (which ALSO wants to own unmounting the user's cryptohome). Find the tests that were manually unmounting during cleanup and make them stop or restart the UI instead. BUG=chromium:381034 TEST=run these three tests. Change-Id: I2fae64fdfea8da569e5ab61691fddbe3d1157708 Reviewed-on: https://chromium-review.googlesource.com/203320 Reviewed-by: Darren Krahn <dkrahn@chromium.org> Tested-by: Chris Masone <cmasone@chromium.org> Commit-Queue: Chris Masone <cmasone@chromium.org>
/external/autotest/client/site_tests/login_OwnershipRetaken/login_OwnershipRetaken.py
|
1e3510a040383790a25e8e54dbcc0e43fc440741 |
|
04-Jun-2014 |
Chris Masone <cmasone@chromium.org> |
Make sure to StopSession in tests Some tests may leave user sessions open. Though all tests should assume nothing about the device environment and make sure that the UI is up and state is fresh, it's still nice to clean up better. BUG=None TEST=run these tests Change-Id: I4b8f3cf8aed005238d39326351003a4a743ef948 Reviewed-on: https://chromium-review.googlesource.com/202502 Tested-by: Chris Masone <cmasone@chromium.org> Reviewed-by: Aviv Keshet <akeshet@chromium.org> Commit-Queue: Chris Masone <cmasone@chromium.org> Reviewed-by: Julian Pastarmov <pastarmovj@chromium.org>
/external/autotest/client/site_tests/login_OwnershipRetaken/login_OwnershipRetaken.py
|
3d68fe8213ef86684d7911f889d56d1345bf3272 |
|
26-Mar-2014 |
Chris Masone <cmasone@chromium.org> |
Listen for ownership-taken signal on DBus Many tests that touch on device Ownership were using a function that simply watched for the presence of policy and owner key files to indicate that the session_manager had completed the ownership-taking process on the sign-in of the first user. This could be tricked, though, in the case of the UI being restarted between the test clearing these files and then checking for them again. Stop using this and switch to watching for signals announcing that ownership has been taken, which the session_manager has sent all along anyhow. BUG=chromium:355664 TEST=login_*Ownership* Change-Id: I54000c426cfb1aef8fd1518f9cdadec2b42c6500 Reviewed-on: https://chromium-review.googlesource.com/194142 Reviewed-by: Chris Masone <cmasone@chromium.org> Commit-Queue: Chris Masone <cmasone@chromium.org> Tested-by: Chris Masone <cmasone@chromium.org>
/external/autotest/client/site_tests/login_OwnershipRetaken/login_OwnershipRetaken.py
|
64170f8e7053f92f4bbad501c61a352fdabf6d82 |
|
14-Mar-2014 |
Chris Masone <cmasone@chromium.org> |
Update all login_* tests to use CryptohomeProxy Instead of shelling out to a command-line tool, we should talk to crypthomed directly over DBus. BUG=chromium:344862 TEST=login_* Change-Id: I3a57d8158638cab60e8a7e0dd5c72293e87a87ac Reviewed-on: https://chromium-review.googlesource.com/190343 Tested-by: Chris Masone <cmasone@chromium.org> Reviewed-by: Chris Masone <cmasone@chromium.org> Commit-Queue: Chris Masone <cmasone@chromium.org>
/external/autotest/client/site_tests/login_OwnershipRetaken/login_OwnershipRetaken.py
|
a2b32851e8716f188dde273c73f4c76058bbd289 |
|
26-Feb-2014 |
Chris Masone <cmasone@chromium.org> |
Ensure that ui is stopped when monkeying with owner policy/key The session_manager keeps copies of the owner key and policy in memory and writes them to disk when it shuts down. This means that messing with them while the UI is up will not persist across a UI restart. At least one test was making this mistake (login_OwnershipTaken) leading to test-ordering effects. This change updates ownership.py to correctly enforce this invariant. BUG=chromium:338528 TEST=run login_*Ownership* Change-Id: I72bb20b23abf3837e14b21cc6689cc383847b5db Reviewed-on: https://chromium-review.googlesource.com/188077 Tested-by: Chris Masone <cmasone@chromium.org> Reviewed-by: Mattias Nissler <mnissler@chromium.org> Commit-Queue: Chris Masone <cmasone@chromium.org>
/external/autotest/client/site_tests/login_OwnershipRetaken/login_OwnershipRetaken.py
|
c9acf25744b9f267fd334662d2dd3655e139e55c |
|
04-Feb-2014 |
Chris Masone <cmasone@chromium.org> |
Fix tests broken by SignalListener refactor These tests aren't in the BVT yet, and so my CL to refactor session_manager.SignalListener broke them! Whoops. BUG=None TEST=login_MultipleSessions login_OwnershipRetaken Change-Id: Ifd91e4e046a65a5fcfdcaaf1119b1a9c4807ddb9 Reviewed-on: https://chromium-review.googlesource.com/184904 Tested-by: Chris Masone <cmasone@chromium.org> Reviewed-by: Alex Miller <milleral@chromium.org> Commit-Queue: Chris Masone <cmasone@chromium.org>
/external/autotest/client/site_tests/login_OwnershipRetaken/login_OwnershipRetaken.py
|
6cb26ad178990814fce3209c464afe7f131ec5b0 |
|
21-May-2013 |
Elly Fong-Jones <ellyjones@chromium.org> |
[autotest] remove dependencies on /home/chronos/user BUG=chromium:212419 TEST=suite_Smoke Change-Id: I8849e3eb6e76a3a3358422f1c2269a926d35994f Signed-off-by: Elly Fong-Jones <ellyjones@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/56050 Reviewed-by: Will Drewry <wad@chromium.org>
/external/autotest/client/site_tests/login_OwnershipRetaken/login_OwnershipRetaken.py
|
5d010aa50a0694d498e8317fd8044e56474ce7ed |
|
06-May-2013 |
Chris Masone <cmasone@chromium.org> |
Add multiprofile tests for session_manager.StartSession() Multiple calls to StartSession() with different users should be allowed, while multiple calls with the same user should not. BUG=chromium:235179 TEST=run these new tests CQ-DEPEND=I1200c4463d43cd8cf7d49a2f9f0667ac1cccc261 CQ-DEPEND=I5ee9fb18e1f8c1a933b899acc62618323f2df9bf Change-Id: I912d3ded053a7f0f41c604f5ffef15477d634017 Reviewed-on: https://gerrit.chromium.org/gerrit/50223 Commit-Queue: Chris Masone <cmasone@chromium.org> Reviewed-by: Chris Masone <cmasone@chromium.org> Tested-by: Chris Masone <cmasone@chromium.org>
/external/autotest/client/site_tests/login_OwnershipRetaken/login_OwnershipRetaken.py
|
d976e0ed3cb28e532f15826c5071149b8fabeaf8 |
|
06-May-2013 |
Chris Masone <cmasone@chromium.org> |
Move ownership tests to use composition instead of inheritance Using composition like this makes it clearer what each test is doing, instead of having stuff happen in the base class as if by magic. BUG=chromium:222778 TEST=login_*Ownership* STATUS=Fixed Change-Id: I7dbb71e1a712efacfdbe7ad64f4ef74ea0793919 Reviewed-on: https://gerrit.chromium.org/gerrit/50194 Commit-Queue: Chris Masone <cmasone@chromium.org> Reviewed-by: Chris Masone <cmasone@chromium.org> Tested-by: Chris Masone <cmasone@chromium.org>
/external/autotest/client/site_tests/login_OwnershipRetaken/login_OwnershipRetaken.py
|
a175e52efd0272340e93f71ab54dd02766659baa |
|
28-Dec-2011 |
Chris Masone <cmasone@chromium.org> |
[autotest] Fix sense of comment in login_OwnershipRetaken BUG=None TEST=login_OwnershipRetaken Change-Id: I50cf07710886b0403bb6826f56c90182bb73a0ba Reviewed-on: https://gerrit.chromium.org/gerrit/13512 Tested-by: Chris Masone <cmasone@chromium.org> Reviewed-by: Richard Barnette <jrbarnette@chromium.org> Commit-Ready: Chris Masone <cmasone@chromium.org>
/external/autotest/client/site_tests/login_OwnershipRetaken/login_OwnershipRetaken.py
|
cc0806464a98e64c4a4c5338a567ec5b421a6f86 |
|
20-Oct-2011 |
Chris Masone <cmasone@chromium.org> |
[autotest] Fix login_OwnershipRetaken It seems that starting and stopping and restarting the ui made us unable to set up the dbus connection to the session_manager. Clean up the ownership state clearing logic in ownership tests. BUG=None TEST=suite_Smoke login_RemoteOwnership login_Ownership* Change-Id: I27afc613077bd7de038c1609a7e52c21eab35aea Reviewed-on: http://gerrit.chromium.org/gerrit/10356 Tested-by: Chris Masone <cmasone@chromium.org> Reviewed-by: Dale Curtis <dalecurtis@chromium.org> Commit-Ready: Chris Masone <cmasone@chromium.org>
/external/autotest/client/site_tests/login_OwnershipRetaken/login_OwnershipRetaken.py
|
e845e9226f03ff598edc90e8f0f8b0b01ec162f6 |
|
16-Jul-2011 |
Mattias Nissler <mnissler@chromium.org> |
Wait for initial ownership and reset signals in login_OwnershipRetaken test BUG=chromium-os:17660 TEST=login_OwnershipRetaken turns green R=cmasone@chromium.org Change-Id: I2d72eb9074790b111c4a0c0b1b1617862fcf5cd9 Reviewed-on: http://gerrit.chromium.org/gerrit/4209 Tested-by: Mattias Nissler <mnissler@chromium.org> Reviewed-by: Chris Masone <cmasone@chromium.org>
/external/autotest/client/site_tests/login_OwnershipRetaken/login_OwnershipRetaken.py
|
105706efb7ebc97575dafd7a92bb815f79d8bb47 |
|
29-Apr-2011 |
Chris Masone <cmasone@chromium.org> |
[autotest] Add test for the re-taking of ownership after the owner key is lost BUG=chromium-os:11193 TEST=run this test Change-Id: I95b402d47ec430a8556d012d9a2ee2614507a1e4 Review URL: http://codereview.chromium.org/6880288
/external/autotest/client/site_tests/login_OwnershipRetaken/login_OwnershipRetaken.py
|