INGInious icon indicating copy to clipboard operation
INGInious copied to clipboard

Exception in grading container

Open nrybowski opened this issue 4 years ago • 5 comments

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.

nrybowski avatar Oct 20 '21 15:10 nrybowski

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 ?

anthonygego avatar Jan 05 '22 14:01 anthonygego

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.

nrybowski avatar Jan 06 '22 14:01 nrybowski

Does it work when you deactivate AppArmor completely ?

anthonygego avatar Jan 06 '22 14:01 anthonygego

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

nrybowski avatar Jan 06 '22 15:01 nrybowski

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.

nrybowski avatar Jul 06 '22 20:07 nrybowski