Hi folks.
I have installed jobe server in a docker container, jobe teorically runs fine:
docker exec -t jobe /usr/bin/python3 /var/www/html/jobe/testsubmit.py
Supported languages:
c: 9.4.0
cpp: 9.4.0
java: 16.0.1
nodejs: 10.19.0
octave: 5.2.0
pascal: 3.0.4
php: 7.4.3
python3: 3.8.10
Valid Python3 OK
Python3 with stdin OK
Syntactically invalid Python3 OK
Python3 runtime error OK
Python3 file I/O OK
Testing use of interpreter args with Python3 OK
Testing use of runargs args with Python3 OK
Python3 program with customised timeout OK
Python3 program with support files OK
Valid Python3/pylint program OK
Invalid Python3/pylint program OK
UTF-8 output from Python3 (will fail unless Jobe set up for UTF-8) OK
Test good C hello world OK
Test compile error C hello world OK
Test use of compileargs with C OK
Test runtime error C hello world OK
Test timelimit on C OK
Test outputlimit on C OK
Memory limit exceeded in C (seg faults) OK
Infinite recursion (stack error) on C OK
C program controlled forking OK
A C program with ASCII non-UTF-8-compatible output OK
Valid Octave OK
octave with stdin OK
Syntactically invalid Octave (treated as runtime error) OK
Syntactically valid Nodejs hello world OK
Syntactically invalid Nodejs OK
Correct Php program OK
Syntactically incorrect Php program OK
Syntactically incorrect Php program OK
Correct Java program OK
Correct Java program without supplied sourcefilename OK
Syntactically incorrect Java program OK
Java program with a support class (.java) OK
Java program with Unicode output (will fail unless Jobe set up for UTF-8) OK
Test good C++ hello world OK
Test compile error C++ hello world OK
Good Hello world Pascal test OK
Fail Hello world Pascal test OK
39 tests, 39 passed, 0 failed, 0 exceptions
Checking parallel submissions
Doing child 0
Doing child 1
Doing child 2
Doing child 3
Doing child 4
Doing child 5
Doing child 6
Doing child 7
Doing child 8
Doing child 9
C program to check parallel submissions OK
C program to check parallel submissions OK
C program to check parallel submissions OK
C program to check parallel submissions OK
C program to check parallel submissions OK
C program to check parallel submissions OK
C program to check parallel submissions OK
C program to check parallel submissions OK
C program to check parallel submissions OK
C program to check parallel submissions OK
All done
Testing a submission with an excessive cputime parameter
OK
but request to restapi returns: 200 runs_get: no such run or run result discarded
curl -v http://127.0.0.1:3001/jobe/index.php/restapi/runs/
* Expire in 0 ms for 6 (transfer 0x55e43e4c00f0)
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x55e43e4c00f0)
* Connected to 127.0.0.1 (127.0.0.1) port 3001 (#0)
> GET /jobe/index.php/restapi/runs/ HTTP/1.1
> Host: 127.0.0.1:3001
> User-Agent: curl/7.64.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Sun, 21 Aug 2022 19:42:17 GMT
< Server: Apache
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Headers: X-API-KEY, Origin, X-Requested-With, Content-Type, Accept, Access-Control-Request-Method
< Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT, HEAD, DELETE
< Content-Length: 47
< Content-Type: application/json; charset=utf-8
<
* Connection #0 to host 127.0.0.1 left intact
"runs_get: no such run or run result discarded"
In effect if I try to run code on moodle quiz I see: the sandbox seems to be disabled.
There is no error in logs. Any ideas?