UCL-INGI / INGInious

INGInious is a secure and automated exercises assessment platform using your own tests, also providing a pluggable interface with your existing LMS.
http://www.inginious.org
Other
209 stars 140 forks source link

Exception in grading container #731

Open nrybowski opened 3 years ago

nrybowski commented 3 years ago

An error occurs in the grading container of the first task of the tutorial course. Here is the error displayed on the frontend:

Exception occured in container ([Errno 1] Operation not permitted: '/task')

Tested on a fresh install on c4c7bb0684bcfe1c2287a22b432d5488cda6c94e.

anthonygego commented 2 years ago

I'm not able to reproduce it. What is your operating system ? Do you have SELinux/AppArmor activated ? Are you able to launch SSH debug to see what /task looks like ?

nrybowski commented 2 years ago

INGInious is running in an Ubuntu 20.04 VM with AppArmor enabled. When I disable the docker-default profile and rerun a submission, the profile is reloaded and the container fails somehow. The SSH debug is thus not possible.

anthonygego commented 2 years ago

Does it work when you deactivate AppArmor completely ?

nrybowski commented 2 years ago

The strange thing is that I firstly disabled AppArmor completely and all the profiles were indeed disabled except the docker one.

nrybowski commented 2 years ago

This error seems to be due to permission issues with NFS, the task folder was mounted in the VM with NFS. It is not reproducible on a fresh Ubuntu 22.04 VM where the task folder is located on the local filesystem.