Skip to content

Broken: Dedicated GCS Bucket and Latest GitHub Release Assets Are Inaccessible #3371

@aa6my

Description

@aa6my

Hi,

I’m unable to download symbiflow-arch-defs-gha because the associated GCS bucket appears to be misconfigured or inaccessible.

https://github.com/verilog-to-routing/vtr-verilog-to-routing/blob/master/vtr_flow/scripts/download_symbiflow.py#L17
https://github.com/verilog-to-routing/vtr-verilog-to-routing/blob/master/vtr_flow/scripts/download_ispd.py#L31

The download fails with the following error:

Additional permissions required to list objects in this bucket. Ask a bucket owner to grant you 'storage.objects.list' permission.

https://f4pga.readthedocs.io/projects/arch-defs/en/latest/packages.html#packages
https://github.com/f4pga/f4pga-arch-defs/releases/tag/latest [ALL LATEST BROKEN]
https://storage.googleapis.com/verilog-to-routing/ispd/ [BROKEN]
https://storage.googleapis.com/symbiflow-arch-defs-gha/symbiflow-xc7a50t_test-latest [BROKEN]

Downloading architectures https://storage.googleapis.com/symbiflow-arch-defs-gha/symbiflow-xc7a50t_test-latest
Traceback (most recent call last):
  File "/home/gitlab-runner/builds/D-4eUhia/0/aa6my/vtr-verilog-to-routing/./package/test/opt/aa6my/vtr-verilog-to-routing/dev/run_reg_test.py", line 446, in <module>
    vtr_command_main(sys.argv[1:])
  File "/home/gitlab-runner/builds/D-4eUhia/0/aa6my/vtr-verilog-to-routing/./package/test/opt/aa6my/vtr-verilog-to-routing/dev/run_reg_test.py", line 168, in vtr_command_main
    download_test_dependencies(reg_test)
  File "/home/gitlab-runner/builds/D-4eUhia/0/aa6my/vtr-verilog-to-routing/./package/test/opt/aa6my/vtr-verilog-to-routing/dev/run_reg_test.py", line 304, in download_test_dependencies
    downloader([])
  File "/home/gitlab-runner/builds/D-4eUhia/0/aa6my/vtr-verilog-to-routing/package/test/opt/aa6my/vtr-verilog-to-routing/dev/cad_flow/scripts/download_symbiflow.py", line 100, in main
    download_url(archs_tar_xz_filename, archs_tar_xz_url)
  File "/home/gitlab-runner/builds/D-4eUhia/0/aa6my/vtr-verilog-to-routing/package/test/opt/aa6my/vtr-verilog-to-routing/dev/cad_flow/scripts/download_symbiflow.py", line 123, in download_url
    latest_package_url = request.urlopen(url).read().decode("utf-8")
  File "/usr/lib/python3.10/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.10/urllib/request.py", line 525, in open
    response = meth(req, response)
  File "/usr/lib/python3.10/urllib/request.py", line 634, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.10/urllib/request.py", line 563, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.10/urllib/request.py", line 643, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden
Uploading artifacts for failed job
01:53
Uploading artifacts...
Runtime platform                                    arch=amd64 os=linux pid=185916 revision=9882d9c7 version=17.2.1
package/: found 14928 matching artifact files and directories 
Uploading artifacts as "archive" to coordinator... 201 Created  id=60713 responseStatus=201 Created token=CNgrsqcE
ERROR: Job failed: exit status 1
Image
<Error>
<Code>AccessDenied</Code>
<Message>Access denied.</Message>
<Details>Anonymous caller does not have storage.objects.get access to the Google Cloud Storage object. Permission 'storage.objects.get' denied on resource (or it may not exist).</Details>
</Error>

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