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

Side by Side Diff: client/site_tests/factory_Finalize/factory_Finalize.py

Issue 6736025: autotest/factory: improve message feedback on UI (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git@master
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import hashlib 5 import hashlib
6 import os 6 import os
7 import re 7 import re
8 import time 8 import time
9 9
10 from autotest_lib.client.bin import factory 10 from autotest_lib.client.bin import factory
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 '--finalize', 108 '--finalize',
109 '--verbose', 109 '--verbose',
110 '--db_path "%s"' % db_path, 110 '--db_path "%s"' % db_path,
111 '--upload_method "%s"' % upload_method, 111 '--upload_method "%s"' % upload_method,
112 ] 112 ]
113 if not check_and_enable_write_protect: 113 if not check_and_enable_write_protect:
114 self.alert_bypassed('WRITE PROTECTION') 114 self.alert_bypassed('WRITE PROTECTION')
115 args.append('--debug_dryrun_wpfw') 115 args.append('--debug_dryrun_wpfw')
116 116
117 cmd = ' '.join(args) 117 cmd = ' '.join(args)
118 factory.log('factory_Finalize: Command = ' + cmd)
119 gooftools.run(cmd) 118 gooftools.run(cmd)
120 119
121 # TODO(hungte) use Reboot in test list to replace this? 120 # TODO(hungte) use Reboot in test list to replace this?
122 os.system("sync; sync; sync; shutdown -r now") 121 os.system("sync; sync; sync; shutdown -r now")
OLDNEW
« no previous file with comments | « client/cros/gooftools.py ('k') | client/site_tests/factory_PreFinalCheck/factory_PreFinalCheck.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698