Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix privileged operation: Downloading custom binaries #3887

Open
jonathanmetzman opened this issue Mar 19, 2024 · 0 comments
Open

Fix privileged operation: Downloading custom binaries #3887

jonathanmetzman opened this issue Mar 19, 2024 · 0 comments

Comments

@jonathanmetzman
Copy link
Collaborator

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/mnt/scratch0/clusterfuzz/src/python/bot/startup/run_bot.py", line 128, in task_loop
    sys.exit(utasks.uworker_bot_main())
  File "/mnt/scratch0/clusterfuzz/src/clusterfuzz/_internal/bot/tasks/utasks/__init__.py", line 220, in uworker_bot_main
    uworker_main(input_download_url)
  File "/mnt/scratch0/clusterfuzz/src/clusterfuzz/_internal/bot/tasks/utasks/__init__.py", line 202, in uworker_main
    uworker_output = utask_module.utask_main(uworker_input)
  File "/mnt/scratch0/clusterfuzz/src/clusterfuzz/_internal/bot/tasks/utasks/variant_task.py", line 112, in utask_main
    build_manager.setup_build()
  File "/mnt/scratch0/clusterfuzz/src/clusterfuzz/_internal/build_management/build_manager.py", line 1465, in setup_build
    return setup_custom_binary(target_weights=target_weights)
  File "/mnt/scratch0/clusterfuzz/src/clusterfuzz/_internal/build_management/build_manager.py", line 1426, in setup_custom_binary
    job = data_types.Job.query(data_types.Job.name == job_name).get()
  File "/mnt/scratch0/clusterfuzz/src/third_party/google/cloud/ndb/query.py", line 1229, in wrapper
    return wrapped(self, *dummy_args, _options=query_options)
  File "/mnt/scratch0/clusterfuzz/src/third_party/google/cloud/ndb/utils.py", line 78, in wrapper
    return wrapped(*args, **new_kwargs)
  File "/mnt/scratch0/clusterfuzz/src/third_party/google/cloud/ndb/utils.py", line 110, in positional_wrapper
    return wrapped(*args, **kwds)
  File "/mnt/scratch0/clusterfuzz/src/third_party/google/cloud/ndb/query.py", line 2063, in get
    return self.get_async(_options=kwargs["_options"]).result()
  File "/mnt/scratch0/clusterfuzz/src/third_party/google/cloud/ndb/tasklets.py", line 193, in result
    self.check_success()
  File "/mnt/scratch0/clusterfuzz/src/third_party/google/cloud/ndb/tasklets.py", line 140, in check_success
    raise self._exception
  File "/mnt/scratch0/clusterfuzz/src/third_party/google/cloud/ndb/tasklets.py", line 312, in _advance_tasklet
    self.generator.throw(type(error), error, traceback)
  File "/mnt/scratch0/clusterfuzz/src/third_party/google/cloud/ndb/query.py", line 2097, in get_async
    results = yield _datastore_query.fetch(options)
  File "/mnt/scratch0/clusterfuzz/src/third_party/google/cloud/ndb/tasklets.py", line 312, in _advance_tasklet
    self.generator.throw(type(error), error, traceback)
  File "/mnt/scratch0/clusterfuzz/src/third_party/google/cloud/ndb/_datastore_query.py", line 108, in fetch
    while (yield results.has_next_async()):
  File "/mnt/scratch0/clusterfuzz/src/third_party/google/cloud/ndb/tasklets.py", line 312, in _advance_tasklet
    self.generator.throw(type(error), error, traceback)
  File "/mnt/scratch0/clusterfuzz/src/third_party/google/cloud/ndb/_datastore_query.py", line 267, in has_next_async
    yield self._next_batch()  # First time
  File "/mnt/scratch0/clusterfuzz/src/third_party/google/cloud/ndb/tasklets.py", line 312, in _advance_tasklet
    self.generator.throw(type(error), error, traceback)
  File "/mnt/scratch0/clusterfuzz/src/third_party/google/cloud/ndb/_datastore_query.py", line 297, in _next_batch
    response = yield _datastore_run_query(query)
  File "/mnt/scratch0/clusterfuzz/src/third_party/google/cloud/ndb/tasklets.py", line 312, in _advance_tasklet
    self.generator.throw(type(error), error, traceback)
  File "/mnt/scratch0/clusterfuzz/src/third_party/google/cloud/ndb/_datastore_query.py", line 878, in _datastore_run_query
    "RunQuery", request, timeout=query.timeout
  File "/mnt/scratch0/clusterfuzz/src/third_party/google/cloud/ndb/tasklets.py", line 312, in _advance_tasklet
    self.generator.throw(type(error), error, traceback)
  File "/mnt/scratch0/clusterfuzz/src/third_party/google/cloud/ndb/_retry.py", line 77, in retry_wrapper
    raise error
  File "/mnt/scratch0/clusterfuzz/src/third_party/google/cloud/ndb/_retry.py", line 72, in retry_wrapper
    result = yield result
  File "/mnt/scratch0/clusterfuzz/src/third_party/google/cloud/ndb/tasklets.py", line 312, in _advance_tasklet
    self.generator.throw(type(error), error, traceback)
  File "/mnt/scratch0/clusterfuzz/src/third_party/google/cloud/ndb/_datastore_api.py", line 97, in rpc_call
    raise error
google.api_core.exceptions.PermissionDenied: 403 Missing or insufficient permissions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant