You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/batch/worker/worker.py", line 551, in pull
await docker_call_retry(
File "/usr/local/lib/python3.9/dist-packages/hailtop/utils/utils.py", line 840, in retry_transient_errors_with_debug_string
return await f(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/batch/worker/worker.py", line 460, in timed_out_f
return await asyncio.wait_for(f(*args, **kwargs), timeout)
File "/usr/lib/python3.9/asyncio/tasks.py", line 479, in wait_for
returnfut.result()
File "/usr/local/lib/python3.9/dist-packages/batch/worker/worker.py", line 484, in _pull_with_auth_refresh
return await docker.images.pull(image_ref_str, auth=credentials)
File "/usr/local/lib/python3.9/dist-packages/aiodocker/images.py", line 133, in _handle_list
async with cm as response:
File "/usr/local/lib/python3.9/dist-packages/aiodocker/utils.py", line 309, in __aenter__
resp = await self._coro
File "/usr/local/lib/python3.9/dist-packages/aiodocker/docker.py", line 275, in _do_query
raise DockerError(response.status, json.loads(what.decode("utf8")))
aiodocker.exceptions.DockerError: DockerError(500, 'Head "https://us-docker.pkg.dev/v2/1/does-not-exist/manifests/latest": denied: Permission "artifactregistry.repositories.downloadArtifacts" denied on resource "projects/1/locations/us/repositories/does-not-exist" (or it may not exist)')
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/batch/worker/worker.py", line 915, in run
await self.create()
File "/usr/local/lib/python3.9/dist-packages/batch/worker/worker.py", line 840, in create
await self._run_until_done_or_deleted(self.image.pull)
File "/usr/local/lib/python3.9/dist-packages/batch/worker/worker.py", line 1012, in _run_until_done_or_deleted
return await run_until_done_or_deleted(self.deleted_event, f, *args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/batch/worker/worker.py", line 682, in run_until_done_or_deleted
returnstep.result()
File "/usr/local/lib/python3.9/dist-packages/batch/worker/worker.py", line 657, in pull
await asyncio.shield(self._localize_rootfs())
File "/usr/local/lib/python3.9/dist-packages/batch/worker/worker.py", line 634, in _localize_rootfs
await self._pull_image()
File "/usr/local/lib/python3.9/dist-packages/batch/worker/worker.py", line 587, in _pull_image
await pull()
File "/usr/local/lib/python3.9/dist-packages/batch/worker/worker.py", line 566, in pull
raise ImageCannotBePulled from e
ImageCannotBePulled
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/batch/worker/worker.py", line 1887, in run_container
await container.run(on_completion)
File "/usr/local/lib/python3.9/dist-packages/batch/worker/worker.py", line 920, in run
await on_completion(*args, **kwargs)
File "/usr/lib/python3.9/contextlib.py", line 137, in __exit__
self.gen.throw(typ, value, traceback)
File "/usr/local/lib/python3.9/dist-packages/hailtop/utils/utils.py", line 1154, in step
yield
File "/usr/local/lib/python3.9/dist-packages/batch/worker/worker.py", line 1873, in on_completion
await self.worker.fs.read(container.log_path),
File "/usr/local/lib/python3.9/dist-packages/hailtop/aiotools/fs/fs.py", line 281, inread
async with await self.open(url) as f:
File "/usr/local/lib/python3.9/dist-packages/hailtop/aiotools/router_fs.py", line 76, in open
return await fs.open(url)
File "/usr/local/lib/python3.9/dist-packages/hailtop/aiotools/local_fs.py", line 252, in open
f = await blocking_to_async(self._thread_pool, open, self._get_path(url), 'rb')
File "/usr/local/lib/python3.9/dist-packages/hailtop/utils/utils.py", line 181, in blocking_to_async
return await asyncio.get_event_loop().run_in_executor(
File "/usr/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.9/dist-packages/hailtop/utils/utils.py", line 182, in<lambda>
thread_pool, lambda: fun(*args, **kwargs))
FileNotFoundError: [Errno 2] No such file or directory: '/batch/00a8b257731544b494247db2813c7a83/main/container.log'
The text was updated successfully, but these errors were encountered:
What happened?
When the image cannot be pulled, the exception can trigger a FileNotFoundError reading the main container log.
https://cloudlogging.app.goo.gl/5h9Q9MUG7KdZRVXN9
Version
0.2.124
Relevant log output
The text was updated successfully, but these errors were encountered: