Handle permission denied error in minimize
jonathanmetzman opened this issue · 0 comments
jonathanmetzman commented
raceback (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/minimize_task.py", line 410, in utask_main
testcase, uworker_input.job_type, uworker_input.setup_input)
File "/mnt/scratch0/clusterfuzz/src/clusterfuzz/_internal/bot/tasks/setup.py", line 269, in setup_testcase
update_successful = update_fuzzer_and_data_bundles(setup_input)
File "/mnt/scratch0/clusterfuzz/src/clusterfuzz/_internal/bot/tasks/setup.py", line 680, in update_fuzzer_and_data_bundles
if not _set_up_data_bundles(update_input):
File "/mnt/scratch0/clusterfuzz/src/clusterfuzz/_internal/bot/tasks/setup.py", line 657, in _set_up_data_bundles
if not update_data_bundle(fuzzer, data_bundle_corpus):
File "/mnt/scratch0/clusterfuzz/src/clusterfuzz/_internal/bot/tasks/setup.py", line 479, in update_data_bundle
data_bundle_directory = _prepare_update_data_bundle(fuzzer, data_bundle)
File "/mnt/scratch0/clusterfuzz/src/clusterfuzz/_internal/bot/tasks/setup.py", line 457, in _prepare_update_data_bundle
data_bundle_directory = get_data_bundle_directory(fuzzer.name)
File "/mnt/scratch0/clusterfuzz/src/clusterfuzz/_internal/bot/tasks/setup.py", line 747, in get_data_bundle_directory
fuzzer = data_types.Fuzzer.query(data_types.Fuzzer.name == fuzzer_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.