Skip to content

Frontend fails to change submission status if container stdout > max DB document size #697

Description

@anthonygego
  1. Frontend fails to change submission status if container stdout > max DB document size

    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.

  2. Nothing prevents a too-long submission archive, but every component (Docker, backend, Mongo) can suffer from such a behaviour. Observed behaviour with GB produced archive was Docker socket timing out.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions