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

Side by Side Diff: client/bin/chromeos_constants.py

Issue 3448023: autotest: Stash away cryptohomed.log to help diagnose login issues (Closed) Base URL: http://git.chromium.org/git/autotest.git
Patch Set: Created 10 years, 2 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
« no previous file with comments | « no previous file | client/bin/site_ui_test.py » ('j') | client/bin/site_ui_test.py » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 # The names of expected mount-points, devices, magic files, etc on chrome os. 5 # The names of expected mount-points, devices, magic files, etc on chrome os.
6 6
7 CHROME_LOG_DIR = '/var/log/chrome' 7 CHROME_LOG_DIR = '/var/log/chrome'
8 USER_DATA_DIR = '/home/chronos' 8 USER_DATA_DIR = '/home/chronos'
9 9
10 LOGIN_PROFILE = USER_DATA_DIR+'/Default' 10 LOGIN_PROFILE = USER_DATA_DIR+'/Default'
11 11
12 # TODO(fes): With the switch to ecryptfs, the cryptohome device is no longer 12 # TODO(fes): With the switch to ecryptfs, the cryptohome device is no longer
13 # static--it includes a system-specific hash of the username whose vault is 13 # static--it includes a system-specific hash of the username whose vault is
14 # mounted. seano points out that this is no longer a constant, and we may want 14 # mounted. seano points out that this is no longer a constant, and we may want
15 # to change the way tests dependent on this value work. 15 # to change the way tests dependent on this value work.
16 CRYPTOHOME_DEVICE_REGEX = r'^/home/\.shadow/.*/vault$' 16 CRYPTOHOME_DEVICE_REGEX = r'^/home/\.shadow/.*/vault$'
17 CRYPTOHOME_INCOGNITO = 'guestfs' 17 CRYPTOHOME_INCOGNITO = 'guestfs'
18 CRYPTOHOME_MOUNT_PT = USER_DATA_DIR+'/user' 18 CRYPTOHOME_MOUNT_PT = USER_DATA_DIR+'/user'
19 19
20 CRYPTOHOMED_LOG = '/var/log/cryptohomed.log'
21
20 LOGIN_TRUST_ROOTS = '/etc/login_trust_root.pem' 22 LOGIN_TRUST_ROOTS = '/etc/login_trust_root.pem'
21 23
22 BROWSER = 'chrome' 24 BROWSER = 'chrome'
23 SESSION_MANAGER = 'session_manager' 25 SESSION_MANAGER = 'session_manager'
24 WINDOW_MANAGER = 'chromeos-wm' 26 WINDOW_MANAGER = 'chromeos-wm'
25 27
26 LOGGED_IN_MAGIC_FILE = '/var/run/state/logged-in' 28 LOGGED_IN_MAGIC_FILE = '/var/run/state/logged-in'
27 29
28 CHROME_WINDOW_MAPPED_MAGIC_FILE = \ 30 CHROME_WINDOW_MAPPED_MAGIC_FILE = \
29 '/var/run/state/windowmanager/initial-chrome-window-mapped' 31 '/var/run/state/windowmanager/initial-chrome-window-mapped'
30 32
31 DISABLE_BROWSER_RESTART_MAGIC_FILE = '/tmp/disable_chrome_restart' 33 DISABLE_BROWSER_RESTART_MAGIC_FILE = '/tmp/disable_chrome_restart'
32 34
33 LOGIN_PROMPT_READY_MAGIC_FILE = '/tmp/uptime-login-prompt-ready' 35 LOGIN_PROMPT_READY_MAGIC_FILE = '/tmp/uptime-login-prompt-ready'
34 36
35 CREDENTIALS = { 37 CREDENTIALS = {
36 '$default': ['performance.test.account@gmail.com', 'perfsmurf'], 38 '$default': ['performance.test.account@gmail.com', 'perfsmurf'],
37 '$backdoor': ['chronos@gmail.com', 'chronos'], 39 '$backdoor': ['chronos@gmail.com', 'chronos'],
38 } 40 }
39 41
40 CLIENT_LOGIN_URL = '/accounts/ClientLogin' 42 CLIENT_LOGIN_URL = '/accounts/ClientLogin'
41 ISSUE_AUTH_TOKEN_URL = '/accounts/IssueAuthToken' 43 ISSUE_AUTH_TOKEN_URL = '/accounts/IssueAuthToken'
42 TOKEN_AUTH_URL = '/accounts/TokenAuth' 44 TOKEN_AUTH_URL = '/accounts/TokenAuth'
43 45
44 LOGIN_SERVICE = 'gaia' 46 LOGIN_SERVICE = 'gaia'
45 LOGIN_ERROR = 'Error=BadAuthentication' 47 LOGIN_ERROR = 'Error=BadAuthentication'
46 48
47 UPDATE_ENGINE_LOG = '/var/log/update_engine.log' 49 UPDATE_ENGINE_LOG = '/var/log/update_engine.log'
OLDNEW
« no previous file with comments | « no previous file | client/bin/site_ui_test.py » ('j') | client/bin/site_ui_test.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698