History log of /external/autotest/client/site_tests/login_OwnershipTaken/login_OwnershipTaken.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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_OwnershipTaken/login_OwnershipTaken.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_OwnershipTaken/login_OwnershipTaken.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_OwnershipTaken/login_OwnershipTaken.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_OwnershipTaken/login_OwnershipTaken.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_OwnershipTaken/login_OwnershipTaken.py
c25b8ee227b0194da2bab175bcb67e23b1b41254 25-Feb-2014 Chris Masone <cmasone@chromium.org> Replace OwnershipTaken with OwnershipTakenTelemetry

The old test is still flaking sometimes, and the new test has a good
track record in the regression suite.
Toss out the old, and replace with the new -- keeping the new test EXPERIMENTAL
for now.

BUG=chromium:338528
TEST=run this test

Change-Id: I1c64543ca339f39c951803cc10b3f7a9c89eb0e0
Reviewed-on: https://chromium-review.googlesource.com/187725
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_OwnershipTaken/login_OwnershipTaken.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_OwnershipTaken/login_OwnershipTaken.py
2288acaf16e186184c3b4646681a88d0f4077032 13-Sep-2012 Nirnimesh <nirnimesh@chromium.org> [autotest] Remove relogin hacks

BUG=chromium:139166
TEST=bvt

Change-Id: Id8a2018ba1da05dd3cef83f664d6892c1d775565
Reviewed-on: https://gerrit.chromium.org/gerrit/33156
Reviewed-by: Nirnimesh <nirnimesh@chromium.org>
Tested-by: Nirnimesh <nirnimesh@chromium.org>
Commit-Ready: Nirnimesh <nirnimesh@chromium.org>
/external/autotest/client/site_tests/login_OwnershipTaken/login_OwnershipTaken.py
adacdc5edf64959b78b04e3747c21ea6d9feae92 10-Aug-2012 Kris Rambish <krisr@chromium.org> Add workaround for login failing

TEST=Ran it
BUG=chromium-os:33462

Change-Id: Ib881a89e69577878cba3b080901ec34252ce62fc
Reviewed-on: https://gerrit.chromium.org/gerrit/29921
Tested-by: Kris Rambish <krisr@chromium.org>
Reviewed-by: Craig Harrison <craigdh@chromium.org>
Commit-Ready: Kris Rambish <krisr@chromium.org>
/external/autotest/client/site_tests/login_OwnershipTaken/login_OwnershipTaken.py
d73c2565c6d2756c52c793808455fd8b685b910e 09-Nov-2011 Scott James Remnant <keybuk@chromium.org> Revert "site_test: pass unknown initialize arguments to super"

This reverts commit 89b43fb4852a441999c9ac2074bd906486393ce2.

Change-Id: I155042bedfc964310065eb29aae4667e859a6f58
Reviewed-on: https://gerrit.chromium.org/gerrit/11391
Tested-by: Scott James Remnant <keybuk@chromium.org>
Reviewed-by: Scott James Remnant <keybuk@chromium.org>
/external/autotest/client/site_tests/login_OwnershipTaken/login_OwnershipTaken.py
89b43fb4852a441999c9ac2074bd906486393ce2 02-Nov-2011 Scott James Remnant <keybuk@chromium.org> site_test: pass unknown initialize arguments to super

Many tests that subclass UITest and PyAutoTest override initialize(),
and call up to the superclass version as they should, but they don't
allow for additional arguments to be passed to the test which the
superclass may make use of.

RecallClientTest (which is what UITest and PyAutoTest are based on)
expects arguments to be passed in from the RecallServerTest that\
activate it.

These patches allow these tests to work with Recall.

BUG=chromium-os:22310
TEST=picked a couple at random to make sure they still worked

Change-Id: Ib9102756b8fd790763b8beacf91888d63aadd2cc
Signed-off-by: Scott James Remnant <keybuk@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/11085
/external/autotest/client/site_tests/login_OwnershipTaken/login_OwnershipTaken.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_OwnershipTaken/login_OwnershipTaken.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_OwnershipTaken/login_OwnershipTaken.py
43fd3caa723f9ce37a559c9683dc1948e6e5a396 19-Apr-2011 Chris Masone <cmasone@chromium.org> [autotest] Enable OwnershipTaken to validate the autocreated owner policy

BUG=chromium-os:13842
TEST=suite_Smoke

Change-Id: I01944195aa8ea956aad3bdfc7ce3929a13262637

R=sosa@chromium.org

Review URL: http://codereview.chromium.org/6862003
/external/autotest/client/site_tests/login_OwnershipTaken/login_OwnershipTaken.py
52e1040246824993636a81eee914d0e68778e748 05-Apr-2011 Gaurav Shah <gauravsh@chromium.org> This avoids the key generation wait as part of performing ownership on the device.

Change-Id: Id5c074721730320e42442480ce534c9f460d476d

BUG=chromium-os:12846
TEST=manual (see below)
Multiple runs of suite_Smoke without any time outs. Manual inspection of logs to verify that ownership was not being taken unless the test (login_OwnershipTaken, login_OwnershipNotRetaken) requested it.

Review URL: http://codereview.chromium.org/6757001
/external/autotest/client/site_tests/login_OwnershipTaken/login_OwnershipTaken.py
9933ab84a71a3bab32cf8e06fbf99b2abef36922 14-Jan-2011 Chris Masone <cmasone@chromium.org> [autotest] Add an autotest to ensure that ownership can be taken

BUG=6085
TEST=this is the test!

Change-Id: I0382a279b158fe669951fd28b705d2ab7ce5074d

Review URL: http://codereview.chromium.org/6254002
/external/autotest/client/site_tests/login_OwnershipTaken/login_OwnershipTaken.py