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
{{ message }}
Repository navigation
Execution time limit not forced by compute worker #2586
Long submissions (e.g. from MUnit Quest challenge) are not shut down by the compute worker after 20 minutes. The worker get stuck waiting for the scoring to actually finish, and send this log when trying to stop the container:
Enforce the limit: a threading.Timer force-removes the containers when time runs out. That ends the attach stream and unblocks client.wait, and start() then reports "Execution Time Limit exceeded" from a flag.
Stop blocking the loop: run the blocking docker calls (log iteration and wait) through asyncio.to_thread or run_in_executor. The event loop and the websocket keepalive then stay responsive.
It appears that when a submission reaches the computation budget limit, the error associated with the failure is not clear, and the logs of the submission cannot be shown. Here is an example with a specific submission (913840) :
No scoring output:
Then i inspected the logs from the codabench worker, and I saw that it reaches the computation time limit:
For such expected case, the error should be clearer. Also, it would be ideal if log updates were robust to worker interrupts.
Activity