Hi, guys! Thank you very much for such a great tool CMS.
I am using it to check student's homeworks.
I have a small dumb question. I dont know why, but the dashbord says every service is down.
Although I am able to edit contests, submit and have results.
Web pages of admin service, contest service are up and running.
cmsusergroup and that the user you're using to run the service is in that group
Hi, I've just pushed the pull-request cms-dev/cms#1141 but the tests are failing.
In particular only https://github.com/cms-dev/cms/blob/de73b21cdc62bdecb3ae65a2eef0ff8b1fa65492/cmstestsuite/unit_tests/io/rpc_test.py#L234 fails saying
Expected 'connect' to be called once. After a lot of digging we figured out that calling
gevent.socket.getaddrinfo changes the value of the mocked method:
cms.io.rpc.gevent.socket.socket = <MagicMock name='socket' id='139905522845776'> # call to gevent.socket.getaddrinfo cms.io.rpc.gevent.socket.socket = <class 'gevent._socket3.socket'>
We have no idea how the mocking library works, do you have any idea?