Ben Muller
12/01/2022, 9:45 PMState message: Submission failed. IndexError: list index out of range
Unfortunately there are no logs in the agent with any failures either 🤷
This did lead me to see some other errors in the agent 🧵Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/prefect/agent.py", line 265, in _submit_run_and_capture_errors
result = await infrastructure.run(task_status=task_status)
File "/usr/local/lib/python3.9/site-packages/prefect_aws/ecs.py", line 523, in run
status_code = await run_sync_in_worker_thread(
File "/usr/local/lib/python3.9/site-packages/prefect/utilities/asyncutils.py", line 68, in run_sync_in_worker_thread
return await anyio.to_thread.run_sync(call, cancellable=True)
File "/usr/local/lib/python3.9/site-packages/anyio/to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/usr/local/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "/usr/local/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 867, in run
result = context.run(func, *args)
File "/usr/local/lib/python3.9/site-packages/prefect_aws/ecs.py", line 633, in _watch_task_and_get_exit_code
task = self._wait_for_task_finish(
File "/usr/local/lib/python3.9/site-packages/prefect_aws/ecs.py", line 880, in _wait_for_task_finish
last_log_timestamp = self._stream_available_logs(
File "/usr/local/lib/python3.9/site-packages/prefect_aws/ecs.py", line 924, in _stream_available_logs
response = logs_client.get_log_events(**request)
File "/usr/local/lib/python3.9/site-packages/botocore/client.py", line 530, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/usr/local/lib/python3.9/site-packages/botocore/client.py", line 960, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.errorfactory.ResourceNotFoundException: An error occurred (ResourceNotFoundException) when calling the GetLogEvents operation: The specified log stream does not exist.
Zanie
12/01/2022, 9:47 PMBen Muller
12/01/2022, 10:09 PM0.1.8
release?Zanie
12/01/2022, 10:20 PMBen Muller
12/01/2022, 10:23 PMZanie
12/01/2022, 10:24 PMBen Muller
12/01/2022, 10:26 PM2-python3.11
I just usually specify the prefect version in case something breaks...Zanie
12/01/2022, 10:36 PMBen Muller
12/01/2022, 10:36 PMSam Werbalowsky
12/09/2022, 10:55 PMBen Muller
12/09/2022, 11:24 PMZanie
12/10/2022, 12:06 AMprefect-aws
.Tibs
12/13/2022, 3:10 PMZanie
12/13/2022, 4:15 PM