Access request to the partner bucket on cloud storage

35 views
Skip to first unread message

Klee Tang

unread,
Sep 28, 2020, 1:30:21 PM9/28/20
to telemetry

Hi team,

I'm unable to run `src/tools/perf/run_benchmark startup.mobile`  due to no permission to the chrome-partner-telemetry: 'AccessDeniedException: 403 x...@amazon.com does not have storage.objects.list access to the Google Cloud Storage bucket.'

I followed the gsutil config, but I'm still not able to access.


Could you please grand permission to my email address please?


Thanks,

Klee


Error Logs:

(ERROR) 2020-09-28 17:10:56,060 archive_info.download_if_needed:96  You either aren't authenticated or don't have permission to use the archives 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

(CRITICAL) 2020-09-28 17:10:56,061 page_test_results.InterruptBenchmark:214  Benchmark execution interrupted: PermissionError('Attempted to access a file from Cloud Storage but you don\'t have permission. To configure your credentials:\n  1. Run "src/third_party/catapult/third_party/gsutil/gsutil config" and follow its instructions.\n  2. If you have a @google.com account, use that account.\n  3. For the project-id, just enter 0.',)

Traceback (most recent call last):

  RunBenchmark at src/third_party/catapult/telemetry/telemetry/internal/story_runner.py:430

    test, story_set, finder_options, results, benchmark.max_failures)

  RunStorySet at src/third_party/catapult/telemetry/telemetry/internal/story_runner.py:273

    story_set.archive_data_file, wpr_archive_info, stories):

  _UpdateAndCheckArchives at src/third_party/catapult/telemetry/telemetry/internal/story_runner.py:468

    wpr_archive_info.DownloadArchivesIfNeeded(story_names=story_names)

  DownloadArchivesIfNeeded at src/third_party/catapult/telemetry/telemetry/wpr/archive_info.py:114

    download_if_needed(archive_path)

  download_if_needed at src/third_party/catapult/telemetry/telemetry/wpr/archive_info.py:89

    cloud_storage.GetIfChanged(path, self._bucket)

  GetIfChanged at src/third_party/catapult/common/py_utils/py_utils/cloud_storage.py:524

    _GetLocked(bucket, expected_hash, file_path)

  _GetLocked at src/third_party/catapult/common/py_utils/py_utils/cloud_storage.py:385

    _RunCommand(['cp', url, partial_download_path.name])

  _RunCommand at src/third_party/catapult/common/py_utils/py_utils/cloud_storage.py:159

    raise GetErrorObjectForCloudStorageStderr(stderr)

PermissionError: Attempted to access a file from Cloud Storage but you don't have permission. To configure your credentials:

  1. Run "src/third_party/catapult/third_party/gsutil/gsutil config" and follow its instructions.

  2. If you have a @google.com account, use that account.

  3. For the project-id, just enter 0.

Locals:

  args       : ['src/third_party/catapult/third_party/gsutil/gsutil', 'cp', 'gs://chrome-partner-telemetry/c5b081165f72354bc5d582f1bbb5acb1ca2e3571', u'src/tools/perf/page_sets/data/tmpSiY_tB']

  gsutil     : <subprocess.Popen object at 0x7f45a5654d50>


  gsutil_env : None

  stderr     : 'AccessDeniedException: 403 x...@amazon.com does not have storage.objects.list access to the Google Cloud Storage bucket.\n'

  stdout     : ''

[  PASSED  ] 0 tests.


Klee Tang

unread,
Oct 8, 2020, 2:45:16 PM10/8/20
to telemetry, Klee Tang
Friendly pin.
Reply all
Reply to author
Forward
0 new messages