INGInious icon indicating copy to clipboard operation
INGInious copied to clipboard

Frontend fails to change submission status if : max len mongo doc < len stdout < agent limit

Open anthonygego opened this issue 4 years ago • 0 comments

If a student prints an amount of data between the maximum size allowed for a MongoDB document, and the maximum size allowed by the agent, then it is never stopped until the frontend fails to update the document in database because stdout output is stored in the document. The submission then remains in waiting state, preventing the student to submit.

There should be an additional check for that, probably directly in the agent as there should be no need for a >4MB stdout to be stored at the end, even for debugging.

anthonygego avatar Aug 17 '21 08:08 anthonygego