What steps will reproduce the problem?
Run telemetry_Benchmarks.tab_switching.typical_25 autotest
What is the expected result?
The test will run.
What happens instead?
The test fails to run, with the following error:
(INFO) 2018-03-15 15:07:24,881 battor_wrapper.IsBattOrConnected:39 BattOr power monitor is not connected.
(INFO) 2018-03-15 15:07:24,881 browser_finder.FindBrowser:123 Chose browser: PossibleCrOSBrowser(browser_type=system)
(INFO) 2018-03-15 15:07:24,899 archive_info.DownloadArchivesIfNeeded:68 Downloading WPR archives. This can take a long time.
(INFO) 2018-03-15 15:07:24,899 cloud_storage._GetLocked:340 Downloading gs://chrome-partner-telemetry/a139cbfdaecc34fa178b72ac6ef9250193\
e3af6a to /usr/local/telemetry/src/tools/perf/page_sets/data/system_health_desktop_000.wprgo
(ERROR) 2018-03-15 15:07:25,715 archive_info.download_if_needed:93 You either aren't authenticated or don't have permission to use the a\
rchives for this page set.
You may need to run gsutil config.
You can find instructions for gsutil config at: http://www.chromium.org/developers/telemetry/upload_to_cloud_storage
(INFO) 2018-03-15 15:07:25,715 archive_info.DownloadArchivesIfNeeded:110 All WPR archives are downloaded, took 0.816118001938 seconds.
(INFO) 2018-03-15 15:07:25,715 exception_formatter.PrintFormattedException:19 Try printing formatted exception: None None None
Traceback (most recent call last):
RunBenchmark at /usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/internal/story_runner.py:356
max_num_values=benchmark.MAX_NUM_VALUES)
Run at /usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/internal/story_runner.py:183
story_set.archive_data_file, story_set.wpr_archive_info, stories):
_UpdateAndCheckArchives at /usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/internal/story_runner.py:413
wpr_archive_info.DownloadArchivesIfNeeded()
DownloadArchivesIfNeeded at /usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/wpr/archive_info.py:107
download_if_needed(archive_path)
download_if_needed at /usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/wpr/archive_info.py:86
cloud_storage.GetIfChanged(path, self._bucket)
GetIfChanged at /usr/local/telemetry/src/third_party/catapult/common/py_utils/py_utils/cloud_storage.py:451
_GetLocked(bucket, expected_hash, file_path)
_GetLocked at /usr/local/telemetry/src/third_party/catapult/common/py_utils/py_utils/cloud_storage.py:349
_RunCommand(['cp', url, partial_download_path.name])
_RunCommand at /usr/local/telemetry/src/third_party/catapult/common/py_utils/py_utils/cloud_storage.py:154
raise GetErrorObjectForCloudStorageStderr(stderr)
CredentialsError: Attempted to access a file from Cloud Storage but you have no configured credentials. To configure your credentials:
1. Run "HOME=/home/chromeos-test/ /usr/local/telemetry/src/third_party/catapult/third_party/gsutil/gsutil config" and follow its instru\
ctions.
2. If you have a @google.com account, use that account.
3. For the project-id, just enter 0.
Locals:
args : ['/usr/local/telemetry/src/third_party/catapult/third_party/gsutil/gsutil', 'cp', 'gs://chrome-partner-telemetry/a139cbfda\
ecc34fa178b72ac6ef9250193e3af6a', u'/usr/local/telemetry/src/tools/perf/page_sets/data/tmpfJHMGT']
gsutil : <subprocess.Popen object at 0x792d400b2e90>
gsutil_env : {'SHELL': '/bin/bash', 'SHLVL': '1', 'SSH_CLIENT': '127.0.0.1 40468 2222', 'PWD': '/root', 'LOGNAME': 'root', 'USER': 'roo\
t', 'MAIL': '/var/spool/mail/root', 'PATH': '/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin', 'SSH_CONNECTION': '127.0.0.1 \
40468 127.0.0.1 2222', 'HOME': '/home/chromeos-test/', '_': '/usr/local/bin/python'}
stderr : 'ServiceException: 401 Anonymous caller does not have storage.objects.get access to chrome-partner-telemetry/a139cbfdaecc3\
4fa178b72ac6ef9250193e3af6a.\n'
stdout : ''