"Test autograder" and rerun run as root while submissions run as nobody
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
Research direction
Find the test_autograder_submission and rerun_submission_autograder entry points and compare how each launches the autograder with the student submission path changed in #375. Update both paths to use the same limited user as student runs. Done when Test autograder, Rerun, and student submissions run under that user; the issue does not name specific files or tests.
Written by the indexing model from the issue text.
Description
Student submissions and the instructor's "Test autograder" button don't run the autograder the same way.
Since #375, student submissions run the autograder as a limited user (nobody, uid 65534), not root. Two other paths still run it as root:
- Test autograder (
test_autograder_submission) - Rerun (
rerun_submission_autograder)
So if an autograder needs root while it runs (for example, it installs a package or writes outside /autograder), the instructor's test passes, but it fails for every student. A rerun can also give a different score than the student's original submission.
Fix: run Test autograder and Rerun as the same limited user that submissions use.
- Dominant language
- Python
- Stars
- 13
- Forks
- 0
- Avg merge
- 2h 4m
- Merged PRs (30d)
- 1
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from kiat/codeAssist
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
kiat/codeAssist#364 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
kiat/codeAssist#393 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 63/100
kiat/codeAssist#392 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
kiat/codeAssist#390 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
kiat/codeAssist#389 ·
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Deltares/imod-python#1940 ·
Maintainers usually reply within 1 day
-
effort: low prio: low ready
Difficulty 1/5 Under an hour Newbie friendliness 82/100
digitalfabrik/integreat-cms#4621 ·
Maintainers usually reply within 5 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
ioos/compliance-checker#1375 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day