Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

not using GCE instanceΒ #505

@jjziets

Description

@jjziets

Is there away to use the benchmark.py but not upload to GCE? Im running it on my local system in a docker container but its turning out to be a fight

Traceback (most recent call last):
File "benchmark.py", line 193, in
benchmark_runner.run_benchmark()
File "benchmark.py", line 148, in run_benchmark
site_package_info = self._setup()
File "benchmark.py", line 52, in _setup
self.workspace_dir)
File "/root/benchmarks/perfzero/lib/perfzero/utils.py", line 141, in active_gcloud_service
download_data([{'url': gcloud_key_file_url, 'local_path': local_path}])
File "/root/benchmarks/perfzero/lib/perfzero/utils.py", line 183, in download_data
run_commands([cmd], shell=False)
File "/root/benchmarks/perfzero/lib/perfzero/utils.py", line 288, in run_commands
cmd, exit_code, stdout))
Exception: "['gsutil', '-m', 'cp', '-r', '-n', 'gs://tf-performance/auth_tokens/benchmark_upload_gce.json', '/root/benchmarks/perfzero/lib/workspace']" failed with code:1 and stdout:
ServiceException: 401 Anonymous caller does not have storage.objects.get access to the Google Cloud Storage object.
CommandException: 1 file/object could not be transferred.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions