INGInious icon indicating copy to clipboard operation
INGInious copied to clipboard

Submission timed out

Open levtomer66 opened this issue 4 years ago • 5 comments

My submissions are timing out with error Your submission timed out. Your score is 0.0%. [Submission #ID]

WhatsApp Image 2021-09-03 at 13 18 27

I'm using docker agent environment cpp-gcc8 Looks like the container is starting but doing nothing.

WhatsApp Image 2021-09-03 at 13 21 23

WhatsApp Image 2021-09-03 at 13 22 38

Commands starting the environment:

inginious-backend tcp://0.0.0.0:2001 tcp://0.0.0.0:2000 &
inginious-agent-docker -v --debugmode --tasks /var/www/inginious/tasks tcp://0.0.0.0:2001  &
inginious-agent-mcq -v --debugmode --tasks /var/www/inginious/tasks tcp://0.0.0.0:2001 &
inginious-webapp --config /var/www/inginious/configuration.yaml --host 0.0.0.0 --port 8080 &

levtomer66 avatar Sep 03 '21 10:09 levtomer66

Hello.

To me, seing the container waiting after "serving" without going further sounds very similar to this: https://github.com/UCL-INGI/INGInious/discussions/696

Have you tried re-building the images for the containers ?

darkyne avatar Sep 03 '21 10:09 darkyne

I tried, seems like it does not work, same results

levtomer66 avatar Sep 05 '21 07:09 levtomer66

If this issue is not resolved yet, have you checked your docker images creation date? With "docker image ls" both ingi/inginious-c-base and ingi/inginious-c-default should be relatively recent. Please tell us if one of them is like 7 months old. It would mean it was downloaded from an old dockerhub. Thanks for the information.

darkyne avatar Sep 16 '21 14:09 darkyne

Hello,

I have the same issue on a fresh install made with the inginious-install script. The listed images are indeed 7 months old:

$ docker images 
centos                     7         eeb6ee3f44bd   7 days ago       204MB
ingi/inginious-c-base      latest    571f1f192c41   7 months ago     683MB
ingi/inginious-c-default   latest    1d30380094e6   7 months ago     683MB

The logs indicate that the grading container is killed by the docker agent after 9s.

nrybowski avatar Sep 23 '21 15:09 nrybowski

@nrybowski Are you running on a repo clone you did manually or a pip-installed version ?

If you cloned the repo, you should rebuild the containers images manually.

If you need help for that, the doc was just updated https://docs.inginious.org/en/latest/admin_doc/install_doc/create_container.html#compiling-the-dockerfile

darkyne avatar Sep 24 '21 07:09 darkyne