(2.5) multi task testing missing sudo #176
Unanswered
lzhang4672
asked this question in
Data Science
Replies: 1 comment 1 reply
-
Thanks for catching this! Could you try running |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When running the tester for multi task (2.5), I get the following error:
Run classroom-resources/autograding-python-grader@v1 /usr/bin/docker run --name f21ebca07f2739f45309d25f012bece4d5[6](https://github.com/ACC-DataScience/1-single-objective-bo-lzhang4672/actions/runs/15368504376/job/43244440429?pr=1#step:4:7)_fedcdd --label 765f21 --workdir /github/workspace --rm -e "INPUT_TIMEOUT" -e "INPUT_MAX-SCORE" -e "INPUT_SETUP-COMMAND" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e "ACTIONS_RESULTS_URL" -e GITHUB_ACTIONS=true -e CI=true --entrypoint "/opt/test-runner/bin/run.sh" -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/1-single-objective-bo-lzhang4672/1-single-objective-bo-lzhang4672":"/github/workspace" 765f21:ebca07f2739f45309d25f012bece4d56 "--timeout=5" "--max-score=10" "--setup-command=sudo -H pip3 install -r requirements.txt" /opt/test-runner/bin/run.sh: 1: eval: sudo: not found TIMEOUT is 300 seconds MAX_SCORE is 10 Running setup command: sudo -H pip3 install -r requirements.txt ============================= test session starts ============================== platform linux -- Python 3.11.2, pytest-[7](https://github.com/ACC-DataScience/1-single-objective-bo-lzhang4672/actions/runs/15368504376/job/43244440429?pr=1#step:4:8).2.2, pluggy-1.6.0 rootdir: /github/workspace, configfile: pyproject.toml plugins: subtests-0.11.0 collected 0 items / 1 error
Seems like "sudo" isn't in the container? Might be a minimal image maybe?
See here: https://github.com/ACC-DataScience/5-multi-task-lzhang4672/actions/runs/15467302766/job/43542319897
Beta Was this translation helpful? Give feedback.
All reactions