Open nrybowski opened 1 year ago
This PR should solve https://github.com/UCL-INGI/INGInious/issues/939.
Some slowness is observed during the execution of a simple mininet command such as mn --switch lxbr --topo tree,depth=2,fanout=8 --test pingall
at the startup of the fifth switch.
The VM has two cores and 256Mo of RAM but none of those ressources are used at their maximum.
Further investigation is required but do not prevent the integration of this feature which is anyway still experimental.
This PR adds a new base container able to launch a specific Linux kernel within a KVM. New grading environments should inherit from this container as it is the case for the base container. Task leveraging such grading environments must support the SSH feature of INGInious.
TODO
TODO in further PRs
https://github.com/UCL-INGI/INGInious/blob/a9962cad2a18caf87a73f10c627fc98f561f0e6c/base-containers/base/inginious_container_api/utils.py#L79
Such logs could be used in further grading scripts.