AccelerationConsortium / ac-microcourses

Microcourses hosted by the Acceleration Consortium for self-driving lab topics.
https://ac-microcourses.readthedocs.io/
MIT License
23 stars 3 forks source link

API rate limit for GitHub Classroom autograding, pytest passes but not gh actions #100

Open sgbaird opened 8 hours ago

sgbaird commented 8 hours ago
🔄 Processing: blink-test
❌ Blink test
Test code:
pytest blink_test.py

Total points for blink-test: 0.00/5

🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀

🔄 Processing: read-test
❌ Read test
Test code:
pytest read_test.py

Total points for read-test: 0.00/5

Test runner summary
┌────────────────────┬─────────────┬─────────────┐
│ Test Runner Name   │ Test Score  │ Max Score   │
├────────────────────┼─────────────┼─────────────┤
│ blink-test         │ 0           │ 5           │
├────────────────────┼─────────────┼─────────────┤
│ read-test          │ 0           │ 5           │
├────────────────────┼─────────────┼─────────────┤
│ Total:             │ 0           │ 10          │
└────────────────────┴─────────────┴─────────────┘
🏆 Grand total tests passed: 0/2

Error: Some tests failed.
Workflow Run Response: https://api.github.com/repos/ACC-HelloWorld/2-blink-and-read-sgbaird/check-suites/2[9](https://github.com/ACC-HelloWorld/2-blink-and-read-sgbaird/actions/runs/11356337303/job/31587334688#step:5:10)668444436

{"message":"API rate limit exceeded for 99.240.18.253. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}

Details ``` 2024-10-16T00:07:26.4263586Z Current runner version: '2.320.0' 2024-10-16T00:07:26.4293712Z ##[group]Operating System 2024-10-16T00:07:26.4294639Z Ubuntu 2024-10-16T00:07:26.4295655Z 24.04.1 2024-10-16T00:07:26.4296251Z LTS 2024-10-16T00:07:26.4296823Z ##[endgroup] 2024-10-16T00:07:26.4297527Z ##[group]Runner Image 2024-10-16T00:07:26.4298244Z Image: ubuntu-24.04 2024-10-16T00:07:26.4298909Z Version: 20241006.1.0 2024-10-16T00:07:26.4300578Z Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20241006.1/images/ubuntu/Ubuntu2404-Readme.md 2024-10-16T00:07:26.4303020Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20241006.1 2024-10-16T00:07:26.4304548Z ##[endgroup] 2024-10-16T00:07:26.4305575Z ##[group]Runner Image Provisioner 2024-10-16T00:07:26.4306466Z 2.0.384.1 2024-10-16T00:07:26.4307210Z ##[endgroup] 2024-10-16T00:07:26.4322826Z ##[group]GITHUB_TOKEN Permissions 2024-10-16T00:07:26.4324508Z Actions: read 2024-10-16T00:07:26.4324904Z Checks: write 2024-10-16T00:07:26.4325855Z Contents: read 2024-10-16T00:07:26.4326330Z Metadata: read 2024-10-16T00:07:26.4326763Z ##[endgroup] 2024-10-16T00:07:26.4329671Z Secret source: Actions 2024-10-16T00:07:26.4330202Z Prepare workflow directory 2024-10-16T00:07:26.5048989Z Prepare all required actions 2024-10-16T00:07:26.5206413Z Getting action download info 2024-10-16T00:07:26.7021243Z Download action repository 'actions/checkout@v4' (SHA:eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871) 2024-10-16T00:07:27.1118986Z Download action repository 'classroom-resources/autograding-command-grader@v1' (SHA:d5b3fa6f50f7f629b7bfae0cc3e4c58852b412d5) 2024-10-16T00:07:27.4036414Z Download action repository 'classroom-resources/autograding-grading-reporter@v1' (SHA:336905abdad106e83b5d06cff39685397c27f77a) 2024-10-16T00:07:27.8250677Z Complete job name: run-autograding-tests 2024-10-16T00:07:27.9073500Z ##[group]Run actions/checkout@v4 2024-10-16T00:07:27.9073875Z with: 2024-10-16T00:07:27.9074180Z repository: ACC-HelloWorld/2-blink-and-read-sgbaird 2024-10-16T00:07:27.9074748Z token: *** 2024-10-16T00:07:27.9074989Z ssh-strict: true 2024-10-16T00:07:27.9075402Z ssh-user: git 2024-10-16T00:07:27.9075654Z persist-credentials: true 2024-10-16T00:07:27.9075934Z clean: true 2024-10-16T00:07:27.9076176Z sparse-checkout-cone-mode: true 2024-10-16T00:07:27.9076494Z fetch-depth: 1 2024-10-16T00:07:27.9076725Z fetch-tags: false 2024-10-16T00:07:27.9076972Z show-progress: true 2024-10-16T00:07:27.9077218Z lfs: false 2024-10-16T00:07:27.9077439Z submodules: false 2024-10-16T00:07:27.9077688Z set-safe-directory: true 2024-10-16T00:07:27.9077968Z ##[endgroup] 2024-10-16T00:07:28.1041939Z Syncing repository: ACC-HelloWorld/2-blink-and-read-sgbaird 2024-10-16T00:07:28.1044749Z ##[group]Getting Git version info 2024-10-16T00:07:28.1046058Z Working directory is '/home/runner/work/2-blink-and-read-sgbaird/2-blink-and-read-sgbaird' 2024-10-16T00:07:28.1048633Z [command]/usr/bin/git version 2024-10-16T00:07:28.1076723Z git version 2.46.2 2024-10-16T00:07:28.1096138Z ##[endgroup] 2024-10-16T00:07:28.1116245Z Temporarily overriding HOME='/home/runner/work/_temp/8edd73ca-f02a-44c2-aa5b-6ca10f1ce3b4' before making global git config changes 2024-10-16T00:07:28.1118149Z Adding repository directory to the temporary git global config as a safe directory 2024-10-16T00:07:28.1130987Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/2-blink-and-read-sgbaird/2-blink-and-read-sgbaird 2024-10-16T00:07:28.1168819Z Deleting the contents of '/home/runner/work/2-blink-and-read-sgbaird/2-blink-and-read-sgbaird' 2024-10-16T00:07:28.1172887Z ##[group]Initializing the repository 2024-10-16T00:07:28.1178658Z [command]/usr/bin/git init /home/runner/work/2-blink-and-read-sgbaird/2-blink-and-read-sgbaird 2024-10-16T00:07:28.1248242Z hint: Using 'master' as the name for the initial branch. This default branch name 2024-10-16T00:07:28.1250165Z hint: is subject to change. To configure the initial branch name to use in all 2024-10-16T00:07:28.1251663Z hint: of your new repositories, which will suppress this warning, call: 2024-10-16T00:07:28.1252485Z hint: 2024-10-16T00:07:28.1253448Z hint: git config --global init.defaultBranch 2024-10-16T00:07:28.1254568Z hint: 2024-10-16T00:07:28.1255793Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and 2024-10-16T00:07:28.1257126Z hint: 'development'. The just-created branch can be renamed via this command: 2024-10-16T00:07:28.1258185Z hint: 2024-10-16T00:07:28.1259190Z hint: git branch -m 2024-10-16T00:07:28.1281687Z Initialized empty Git repository in /home/runner/work/2-blink-and-read-sgbaird/2-blink-and-read-sgbaird/.git/ 2024-10-16T00:07:28.1285988Z [command]/usr/bin/git remote add origin https://github.com/ACC-HelloWorld/2-blink-and-read-sgbaird 2024-10-16T00:07:28.1312580Z ##[endgroup] 2024-10-16T00:07:28.1313655Z ##[group]Disabling automatic garbage collection 2024-10-16T00:07:28.1317936Z [command]/usr/bin/git config --local gc.auto 0 2024-10-16T00:07:28.1351164Z ##[endgroup] 2024-10-16T00:07:28.1353651Z ##[group]Setting up auth 2024-10-16T00:07:28.1358284Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand 2024-10-16T00:07:28.1392005Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :" 2024-10-16T00:07:28.1691024Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader 2024-10-16T00:07:28.1723803Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :" 2024-10-16T00:07:28.1973468Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic *** 2024-10-16T00:07:28.2008158Z ##[endgroup] 2024-10-16T00:07:28.2010846Z ##[group]Fetching the repository 2024-10-16T00:07:28.2018755Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +bdc7549190dbae6bc099177874fbc28342dff38b:refs/remotes/origin/main 2024-10-16T00:07:28.4731641Z From https://github.com/ACC-HelloWorld/2-blink-and-read-sgbaird 2024-10-16T00:07:28.4733061Z * [new ref] bdc7549190dbae6bc099177874fbc28342dff38b -> origin/main 2024-10-16T00:07:28.4735617Z ##[endgroup] 2024-10-16T00:07:28.4736701Z ##[group]Determining the checkout info 2024-10-16T00:07:28.4737841Z ##[endgroup] 2024-10-16T00:07:28.4738612Z [command]/usr/bin/git sparse-checkout disable 2024-10-16T00:07:28.4865001Z [command]/usr/bin/git config --local --unset-all extensions.worktreeConfig 2024-10-16T00:07:28.4868801Z ##[group]Checking out the ref 2024-10-16T00:07:28.4870046Z [command]/usr/bin/git checkout --progress --force -B main refs/remotes/origin/main 2024-10-16T00:07:28.4896073Z Switched to a new branch 'main' 2024-10-16T00:07:28.4900775Z branch 'main' set up to track 'origin/main'. 2024-10-16T00:07:28.4911484Z ##[endgroup] 2024-10-16T00:07:28.4944828Z [command]/usr/bin/git log -1 --format=%H 2024-10-16T00:07:28.4968058Z bdc7549190dbae6bc099177874fbc28342dff38b 2024-10-16T00:07:28.5467188Z ##[group]Run classroom-resources/autograding-command-grader@v1 2024-10-16T00:07:28.5467984Z with: 2024-10-16T00:07:28.5468381Z test-name: Blink test 2024-10-16T00:07:28.5469028Z setup-command: sudo -H pip3 install -r requirements.txt 2024-10-16T00:07:28.5469772Z command: pytest blink_test.py 2024-10-16T00:07:28.5470293Z timeout: 5 2024-10-16T00:07:28.5470665Z max-score: 5 2024-10-16T00:07:28.5471096Z ##[endgroup] 2024-10-16T00:07:29.1573430Z error: externally-managed-environment 2024-10-16T00:07:29.1574053Z 2024-10-16T00:07:29.1613728Z × This environment is externally managed 2024-10-16T00:07:29.1614880Z ╰─> To install Python packages system-wide, try apt install 2024-10-16T00:07:29.1616152Z python3-xyz, where xyz is the package you are trying to 2024-10-16T00:07:29.1616938Z install. 2024-10-16T00:07:29.1617672Z 2024-10-16T00:07:29.1618312Z If you wish to install a non-Debian-packaged Python package, 2024-10-16T00:07:29.1619302Z create a virtual environment using python3 -m venv path/to/venv. 2024-10-16T00:07:29.1620144Z Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make 2024-10-16T00:07:29.1620909Z sure you have python3-full installed. 2024-10-16T00:07:29.1621387Z 2024-10-16T00:07:29.1621960Z If you wish to install a non-Debian packaged Python application, 2024-10-16T00:07:29.1622780Z it may be easiest to use pipx install xyz, which will manage a 2024-10-16T00:07:29.1623584Z virtual environment for you. Make sure you have pipx installed. 2024-10-16T00:07:29.1624200Z 2024-10-16T00:07:29.1624682Z See /usr/share/doc/python3.12/README.venv for more information. 2024-10-16T00:07:29.1625682Z 2024-10-16T00:07:29.1628000Z note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. 2024-10-16T00:07:29.1630287Z hint: See PEP 668 for the detailed specification. 2024-10-16T00:07:29.2087896Z ##[group]Run classroom-resources/autograding-command-grader@v1 2024-10-16T00:07:29.2088369Z with: 2024-10-16T00:07:29.2088584Z test-name: Read test 2024-10-16T00:07:29.2088936Z setup-command: sudo -H pip3 install -r requirements.txt 2024-10-16T00:07:29.2089345Z command: pytest read_test.py 2024-10-16T00:07:29.2089634Z timeout: 5 2024-10-16T00:07:29.2089848Z max-score: 5 2024-10-16T00:07:29.2090073Z ##[endgroup] 2024-10-16T00:07:29.6039634Z error: externally-managed-environment 2024-10-16T00:07:29.6040153Z 2024-10-16T00:07:29.6040456Z × This environment is externally managed 2024-10-16T00:07:29.6041250Z ╰─> To install Python packages system-wide, try apt install 2024-10-16T00:07:29.6042111Z python3-xyz, where xyz is the package you are trying to 2024-10-16T00:07:29.6042701Z install. 2024-10-16T00:07:29.6043035Z 2024-10-16T00:07:29.6043603Z If you wish to install a non-Debian-packaged Python package, 2024-10-16T00:07:29.6044587Z create a virtual environment using python3 -m venv path/to/venv. 2024-10-16T00:07:29.6045645Z Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make 2024-10-16T00:07:29.6046451Z sure you have python3-full installed. 2024-10-16T00:07:29.6046945Z 2024-10-16T00:07:29.6047534Z If you wish to install a non-Debian packaged Python application, 2024-10-16T00:07:29.6048337Z it may be easiest to use pipx install xyz, which will manage a 2024-10-16T00:07:29.6049142Z virtual environment for you. Make sure you have pipx installed. 2024-10-16T00:07:29.6049739Z 2024-10-16T00:07:29.6050206Z See /usr/share/doc/python3.12/README.venv for more information. 2024-10-16T00:07:29.6050737Z 2024-10-16T00:07:29.6052307Z note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. 2024-10-16T00:07:29.6054017Z hint: See PEP 668 for the detailed specification. 2024-10-16T00:07:29.6697582Z ##[group]Run classroom-resources/autograding-grading-reporter@v1 2024-10-16T00:07:29.6698058Z with: 2024-10-16T00:07:29.6698290Z runners: blink-test,read-test 2024-10-16T00:07:29.6698817Z token: *** 2024-10-16T00:07:29.6699085Z env: 2024-10-16T00:07:29.6701362Z BLINK-TEST_RESULTS: eyJ2ZXJzaW9uIjoxLCJzdGF0dXMiOiJmYWlsIiwibWF4X3Njb3JlIjo1LCJ0ZXN0cyI6W3sibmFtZSI6IkJsaW5rIHRlc3QiLCJzdGF0dXMiOiJmYWlsIiwic2NvcmUiOjAsIm1lc3NhZ2UiOiJmYWlsZWQgd2l0aCBleGl0IGNvZGUgMSIsInRlc3RfY29kZSI6InB5dGVzdCBibGlua190ZXN0LnB5IiwiZmlsZW5hbWUiOiIiLCJsaW5lX25vIjowLCJkdXJhdGlvbiI6bnVsbH1dfQ== 2024-10-16T00:07:29.6706006Z READ-TEST_RESULTS: eyJ2ZXJzaW9uIjoxLCJzdGF0dXMiOiJmYWlsIiwibWF4X3Njb3JlIjo1LCJ0ZXN0cyI6W3sibmFtZSI6IlJlYWQgdGVzdCIsInN0YXR1cyI6ImZhaWwiLCJzY29yZSI6MCwibWVzc2FnZSI6ImZhaWxlZCB3aXRoIGV4aXQgY29kZSAxIiwidGVzdF9jb2RlIjoicHl0ZXN0IHJlYWRfdGVzdC5weSIsImZpbGVuYW1lIjoiIiwibGluZV9ubyI6MCwiZHVyYXRpb24iOm51bGx9XX0= 2024-10-16T00:07:29.6708536Z ##[endgroup] 2024-10-16T00:07:29.7431745Z 🔄 Processing: blink-test 2024-10-16T00:07:29.7437626Z ❌ Blink test 2024-10-16T00:07:29.7443701Z Test code: 2024-10-16T00:07:29.7444148Z pytest blink_test.py 2024-10-16T00:07:29.7444457Z 2024-10-16T00:07:29.7446901Z Total points for blink-test: 0.00/5 2024-10-16T00:07:29.7447771Z 2024-10-16T00:07:29.7453665Z 🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀 2024-10-16T00:07:29.7454651Z 2024-10-16T00:07:29.7455107Z 🔄 Processing: read-test 2024-10-16T00:07:29.7456274Z ❌ Read test 2024-10-16T00:07:29.7457133Z Test code: 2024-10-16T00:07:29.7457824Z pytest read_test.py 2024-10-16T00:07:29.7458378Z 2024-10-16T00:07:29.7458844Z Total points for read-test: 0.00/5 2024-10-16T00:07:29.7459545Z 2024-10-16T00:07:29.7460049Z Test runner summary 2024-10-16T00:07:29.7516079Z ┌────────────────────┬─────────────┬─────────────┐ 2024-10-16T00:07:29.7528852Z │ Test Runner Name │ Test Score │ Max Score │ 2024-10-16T00:07:29.7529873Z ├────────────────────┼─────────────┼─────────────┤ 2024-10-16T00:07:29.7530857Z │ blink-test │ 0 │ 5 │ 2024-10-16T00:07:29.7531787Z ├────────────────────┼─────────────┼─────────────┤ 2024-10-16T00:07:29.7532715Z │ read-test │ 0 │ 5 │ 2024-10-16T00:07:29.7533653Z ├────────────────────┼─────────────┼─────────────┤ 2024-10-16T00:07:29.7534538Z │ Total: │ 0 │ 10 │ 2024-10-16T00:07:29.7535650Z └────────────────────┴─────────────┴─────────────┘ 2024-10-16T00:07:29.7536563Z 🏆 Grand total tests passed: 0/2 2024-10-16T00:07:29.7537075Z 2024-10-16T00:07:29.7577301Z ##[error]Some tests failed. 2024-10-16T00:07:29.9927312Z Workflow Run Response: https://api.github.com/repos/ACC-HelloWorld/2-blink-and-read-sgbaird/check-suites/29668444436 2024-10-16T00:07:30.4094796Z Post job cleanup. 2024-10-16T00:07:30.5259321Z [command]/usr/bin/git version 2024-10-16T00:07:30.5281819Z git version 2.46.2 2024-10-16T00:07:30.5329627Z Temporarily overriding HOME='/home/runner/work/_temp/56fa48eb-7638-4050-a6cf-5da88e157ff2' before making global git config changes 2024-10-16T00:07:30.5332639Z Adding repository directory to the temporary git global config as a safe directory 2024-10-16T00:07:30.5337811Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/2-blink-and-read-sgbaird/2-blink-and-read-sgbaird 2024-10-16T00:07:30.5391186Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand 2024-10-16T00:07:30.5431107Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :" 2024-10-16T00:07:30.5691918Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader 2024-10-16T00:07:30.5718899Z http.https://github.com/.extraheader 2024-10-16T00:07:30.5736622Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader 2024-10-16T00:07:30.5775760Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :" 2024-10-16T00:07:30.6280854Z Cleaning up orphan processes 2024-10-16T00:07:26.4263586Z Current runner version: '2.320.0' 2024-10-16T00:07:26.4293712Z ##[group]Operating System 2024-10-16T00:07:26.4294639Z Ubuntu 2024-10-16T00:07:26.4295655Z 24.04.1 2024-10-16T00:07:26.4296251Z LTS 2024-10-16T00:07:26.4296823Z ##[endgroup] 2024-10-16T00:07:26.4297527Z ##[group]Runner Image 2024-10-16T00:07:26.4298244Z Image: ubuntu-24.04 2024-10-16T00:07:26.4298909Z Version: 20241006.1.0 2024-10-16T00:07:26.4300578Z Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20241006.1/images/ubuntu/Ubuntu2404-Readme.md 2024-10-16T00:07:26.4303020Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20241006.1 2024-10-16T00:07:26.4304548Z ##[endgroup] 2024-10-16T00:07:26.4305575Z ##[group]Runner Image Provisioner 2024-10-16T00:07:26.4306466Z 2.0.384.1 2024-10-16T00:07:26.4307210Z ##[endgroup] 2024-10-16T00:07:26.4322826Z ##[group]GITHUB_TOKEN Permissions 2024-10-16T00:07:26.4324508Z Actions: read 2024-10-16T00:07:26.4324904Z Checks: write 2024-10-16T00:07:26.4325855Z Contents: read 2024-10-16T00:07:26.4326330Z Metadata: read 2024-10-16T00:07:26.4326763Z ##[endgroup] 2024-10-16T00:07:26.4329671Z Secret source: Actions 2024-10-16T00:07:26.4330202Z Prepare workflow directory 2024-10-16T00:07:26.5048989Z Prepare all required actions 2024-10-16T00:07:26.5206413Z Getting action download info 2024-10-16T00:07:26.7021243Z Download action repository 'actions/checkout@v4' (SHA:eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871) 2024-10-16T00:07:27.1118986Z Download action repository 'classroom-resources/autograding-command-grader@v1' (SHA:d5b3fa6f50f7f629b7bfae0cc3e4c58852b412d5) 2024-10-16T00:07:27.4036414Z Download action repository 'classroom-resources/autograding-grading-reporter@v1' (SHA:336905abdad106e83b5d06cff39685397c27f77a) 2024-10-16T00:07:27.8250677Z Complete job name: run-autograding-tests 2024-10-16T00:07:27.9073500Z ##[group]Run actions/checkout@v4 2024-10-16T00:07:27.9073875Z with: 2024-10-16T00:07:27.9074180Z repository: ACC-HelloWorld/2-blink-and-read-sgbaird 2024-10-16T00:07:27.9074748Z token: *** 2024-10-16T00:07:27.9074989Z ssh-strict: true 2024-10-16T00:07:27.9075402Z ssh-user: git 2024-10-16T00:07:27.9075654Z persist-credentials: true 2024-10-16T00:07:27.9075934Z clean: true 2024-10-16T00:07:27.9076176Z sparse-checkout-cone-mode: true 2024-10-16T00:07:27.9076494Z fetch-depth: 1 2024-10-16T00:07:27.9076725Z fetch-tags: false 2024-10-16T00:07:27.9076972Z show-progress: true 2024-10-16T00:07:27.9077218Z lfs: false 2024-10-16T00:07:27.9077439Z submodules: false 2024-10-16T00:07:27.9077688Z set-safe-directory: true 2024-10-16T00:07:27.9077968Z ##[endgroup] 2024-10-16T00:07:28.1041939Z Syncing repository: ACC-HelloWorld/2-blink-and-read-sgbaird 2024-10-16T00:07:28.1044749Z ##[group]Getting Git version info 2024-10-16T00:07:28.1046058Z Working directory is '/home/runner/work/2-blink-and-read-sgbaird/2-blink-and-read-sgbaird' 2024-10-16T00:07:28.1048633Z [command]/usr/bin/git version 2024-10-16T00:07:28.1076723Z git version 2.46.2 2024-10-16T00:07:28.1096138Z ##[endgroup] 2024-10-16T00:07:28.1116245Z Temporarily overriding HOME='/home/runner/work/_temp/8edd73ca-f02a-44c2-aa5b-6ca10f1ce3b4' before making global git config changes 2024-10-16T00:07:28.1118149Z Adding repository directory to the temporary git global config as a safe directory 2024-10-16T00:07:28.1130987Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/2-blink-and-read-sgbaird/2-blink-and-read-sgbaird 2024-10-16T00:07:28.1168819Z Deleting the contents of '/home/runner/work/2-blink-and-read-sgbaird/2-blink-and-read-sgbaird' 2024-10-16T00:07:28.1172887Z ##[group]Initializing the repository 2024-10-16T00:07:28.1178658Z [command]/usr/bin/git init /home/runner/work/2-blink-and-read-sgbaird/2-blink-and-read-sgbaird 2024-10-16T00:07:28.1248242Z hint: Using 'master' as the name for the initial branch. This default branch name 2024-10-16T00:07:28.1250165Z hint: is subject to change. To configure the initial branch name to use in all 2024-10-16T00:07:28.1251663Z hint: of your new repositories, which will suppress this warning, call: 2024-10-16T00:07:28.1252485Z hint: 2024-10-16T00:07:28.1253448Z hint: git config --global init.defaultBranch 2024-10-16T00:07:28.1254568Z hint: 2024-10-16T00:07:28.1255793Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and 2024-10-16T00:07:28.1257126Z hint: 'development'. The just-created branch can be renamed via this command: 2024-10-16T00:07:28.1258185Z hint: 2024-10-16T00:07:28.1259190Z hint: git branch -m 2024-10-16T00:07:28.1281687Z Initialized empty Git repository in /home/runner/work/2-blink-and-read-sgbaird/2-blink-and-read-sgbaird/.git/ 2024-10-16T00:07:28.1285988Z [command]/usr/bin/git remote add origin https://github.com/ACC-HelloWorld/2-blink-and-read-sgbaird 2024-10-16T00:07:28.1312580Z ##[endgroup] 2024-10-16T00:07:28.1313655Z ##[group]Disabling automatic garbage collection 2024-10-16T00:07:28.1317936Z [command]/usr/bin/git config --local gc.auto 0 2024-10-16T00:07:28.1351164Z ##[endgroup] 2024-10-16T00:07:28.1353651Z ##[group]Setting up auth 2024-10-16T00:07:28.1358284Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand 2024-10-16T00:07:28.1392005Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :" 2024-10-16T00:07:28.1691024Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader 2024-10-16T00:07:28.1723803Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :" 2024-10-16T00:07:28.1973468Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic *** 2024-10-16T00:07:28.2008158Z ##[endgroup] 2024-10-16T00:07:28.2010846Z ##[group]Fetching the repository 2024-10-16T00:07:28.2018755Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +bdc7549190dbae6bc099177874fbc28342dff38b:refs/remotes/origin/main 2024-10-16T00:07:28.4731641Z From https://github.com/ACC-HelloWorld/2-blink-and-read-sgbaird 2024-10-16T00:07:28.4733061Z * [new ref] bdc7549190dbae6bc099177874fbc28342dff38b -> origin/main 2024-10-16T00:07:28.4735617Z ##[endgroup] 2024-10-16T00:07:28.4736701Z ##[group]Determining the checkout info 2024-10-16T00:07:28.4737841Z ##[endgroup] 2024-10-16T00:07:28.4738612Z [command]/usr/bin/git sparse-checkout disable 2024-10-16T00:07:28.4865001Z [command]/usr/bin/git config --local --unset-all extensions.worktreeConfig 2024-10-16T00:07:28.4868801Z ##[group]Checking out the ref 2024-10-16T00:07:28.4870046Z [command]/usr/bin/git checkout --progress --force -B main refs/remotes/origin/main 2024-10-16T00:07:28.4896073Z Switched to a new branch 'main' 2024-10-16T00:07:28.4900775Z branch 'main' set up to track 'origin/main'. 2024-10-16T00:07:28.4911484Z ##[endgroup] 2024-10-16T00:07:28.4944828Z [command]/usr/bin/git log -1 --format=%H 2024-10-16T00:07:28.4968058Z bdc7549190dbae6bc099177874fbc28342dff38b 2024-10-16T00:07:28.5467188Z ##[group]Run classroom-resources/autograding-command-grader@v1 2024-10-16T00:07:28.5467984Z with: 2024-10-16T00:07:28.5468381Z test-name: Blink test 2024-10-16T00:07:28.5469028Z setup-command: sudo -H pip3 install -r requirements.txt 2024-10-16T00:07:28.5469772Z command: pytest blink_test.py 2024-10-16T00:07:28.5470293Z timeout: 5 2024-10-16T00:07:28.5470665Z max-score: 5 2024-10-16T00:07:28.5471096Z ##[endgroup] 2024-10-16T00:07:29.1573430Z error: externally-managed-environment 2024-10-16T00:07:29.1574053Z 2024-10-16T00:07:29.1613728Z × This environment is externally managed 2024-10-16T00:07:29.1614880Z ╰─> To install Python packages system-wide, try apt install 2024-10-16T00:07:29.1616152Z python3-xyz, where xyz is the package you are trying to 2024-10-16T00:07:29.1616938Z install. 2024-10-16T00:07:29.1617672Z 2024-10-16T00:07:29.1618312Z If you wish to install a non-Debian-packaged Python package, 2024-10-16T00:07:29.1619302Z create a virtual environment using python3 -m venv path/to/venv. 2024-10-16T00:07:29.1620144Z Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make 2024-10-16T00:07:29.1620909Z sure you have python3-full installed. 2024-10-16T00:07:29.1621387Z 2024-10-16T00:07:29.1621960Z If you wish to install a non-Debian packaged Python application, 2024-10-16T00:07:29.1622780Z it may be easiest to use pipx install xyz, which will manage a 2024-10-16T00:07:29.1623584Z virtual environment for you. Make sure you have pipx installed. 2024-10-16T00:07:29.1624200Z 2024-10-16T00:07:29.1624682Z See /usr/share/doc/python3.12/README.venv for more information. 2024-10-16T00:07:29.1625682Z 2024-10-16T00:07:29.1628000Z note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. 2024-10-16T00:07:29.1630287Z hint: See PEP 668 for the detailed specification. 2024-10-16T00:07:29.2087896Z ##[group]Run classroom-resources/autograding-command-grader@v1 2024-10-16T00:07:29.2088369Z with: 2024-10-16T00:07:29.2088584Z test-name: Read test 2024-10-16T00:07:29.2088936Z setup-command: sudo -H pip3 install -r requirements.txt 2024-10-16T00:07:29.2089345Z command: pytest read_test.py 2024-10-16T00:07:29.2089634Z timeout: 5 2024-10-16T00:07:29.2089848Z max-score: 5 2024-10-16T00:07:29.2090073Z ##[endgroup] 2024-10-16T00:07:29.6039634Z error: externally-managed-environment 2024-10-16T00:07:29.6040153Z 2024-10-16T00:07:29.6040456Z × This environment is externally managed 2024-10-16T00:07:29.6041250Z ╰─> To install Python packages system-wide, try apt install 2024-10-16T00:07:29.6042111Z python3-xyz, where xyz is the package you are trying to 2024-10-16T00:07:29.6042701Z install. 2024-10-16T00:07:29.6043035Z 2024-10-16T00:07:29.6043603Z If you wish to install a non-Debian-packaged Python package, 2024-10-16T00:07:29.6044587Z create a virtual environment using python3 -m venv path/to/venv. 2024-10-16T00:07:29.6045645Z Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make 2024-10-16T00:07:29.6046451Z sure you have python3-full installed. 2024-10-16T00:07:29.6046945Z 2024-10-16T00:07:29.6047534Z If you wish to install a non-Debian packaged Python application, 2024-10-16T00:07:29.6048337Z it may be easiest to use pipx install xyz, which will manage a 2024-10-16T00:07:29.6049142Z virtual environment for you. Make sure you have pipx installed. 2024-10-16T00:07:29.6049739Z 2024-10-16T00:07:29.6050206Z See /usr/share/doc/python3.12/README.venv for more information. 2024-10-16T00:07:29.6050737Z 2024-10-16T00:07:29.6052307Z note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. 2024-10-16T00:07:29.6054017Z hint: See PEP 668 for the detailed specification. 2024-10-16T00:07:29.6697582Z ##[group]Run classroom-resources/autograding-grading-reporter@v1 2024-10-16T00:07:29.6698058Z with: 2024-10-16T00:07:29.6698290Z runners: blink-test,read-test 2024-10-16T00:07:29.6698817Z token: *** 2024-10-16T00:07:29.6699085Z env: 2024-10-16T00:07:29.6701362Z BLINK-TEST_RESULTS: eyJ2ZXJzaW9uIjoxLCJzdGF0dXMiOiJmYWlsIiwibWF4X3Njb3JlIjo1LCJ0ZXN0cyI6W3sibmFtZSI6IkJsaW5rIHRlc3QiLCJzdGF0dXMiOiJmYWlsIiwic2NvcmUiOjAsIm1lc3NhZ2UiOiJmYWlsZWQgd2l0aCBleGl0IGNvZGUgMSIsInRlc3RfY29kZSI6InB5dGVzdCBibGlua190ZXN0LnB5IiwiZmlsZW5hbWUiOiIiLCJsaW5lX25vIjowLCJkdXJhdGlvbiI6bnVsbH1dfQ== 2024-10-16T00:07:29.6706006Z READ-TEST_RESULTS: eyJ2ZXJzaW9uIjoxLCJzdGF0dXMiOiJmYWlsIiwibWF4X3Njb3JlIjo1LCJ0ZXN0cyI6W3sibmFtZSI6IlJlYWQgdGVzdCIsInN0YXR1cyI6ImZhaWwiLCJzY29yZSI6MCwibWVzc2FnZSI6ImZhaWxlZCB3aXRoIGV4aXQgY29kZSAxIiwidGVzdF9jb2RlIjoicHl0ZXN0IHJlYWRfdGVzdC5weSIsImZpbGVuYW1lIjoiIiwibGluZV9ubyI6MCwiZHVyYXRpb24iOm51bGx9XX0= 2024-10-16T00:07:29.6708536Z ##[endgroup] 2024-10-16T00:07:29.7431745Z 🔄 Processing: blink-test 2024-10-16T00:07:29.7437626Z ❌ Blink test 2024-10-16T00:07:29.7443701Z Test code: 2024-10-16T00:07:29.7444148Z pytest blink_test.py 2024-10-16T00:07:29.7444457Z 2024-10-16T00:07:29.7446901Z Total points for blink-test: 0.00/5 2024-10-16T00:07:29.7447771Z 2024-10-16T00:07:29.7453665Z 🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀 2024-10-16T00:07:29.7454651Z 2024-10-16T00:07:29.7455107Z 🔄 Processing: read-test 2024-10-16T00:07:29.7456274Z ❌ Read test 2024-10-16T00:07:29.7457133Z Test code: 2024-10-16T00:07:29.7457824Z pytest read_test.py 2024-10-16T00:07:29.7458378Z 2024-10-16T00:07:29.7458844Z Total points for read-test: 0.00/5 2024-10-16T00:07:29.7459545Z 2024-10-16T00:07:29.7460049Z Test runner summary 2024-10-16T00:07:29.7516079Z ┌────────────────────┬─────────────┬─────────────┐ 2024-10-16T00:07:29.7528852Z │ Test Runner Name │ Test Score │ Max Score │ 2024-10-16T00:07:29.7529873Z ├────────────────────┼─────────────┼─────────────┤ 2024-10-16T00:07:29.7530857Z │ blink-test │ 0 │ 5 │ 2024-10-16T00:07:29.7531787Z ├────────────────────┼─────────────┼─────────────┤ 2024-10-16T00:07:29.7532715Z │ read-test │ 0 │ 5 │ 2024-10-16T00:07:29.7533653Z ├────────────────────┼─────────────┼─────────────┤ 2024-10-16T00:07:29.7534538Z │ Total: │ 0 │ 10 │ 2024-10-16T00:07:29.7535650Z └────────────────────┴─────────────┴─────────────┘ 2024-10-16T00:07:29.7536563Z 🏆 Grand total tests passed: 0/2 2024-10-16T00:07:29.7537075Z 2024-10-16T00:07:29.7577301Z ##[error]Some tests failed. 2024-10-16T00:07:29.9927312Z Workflow Run Response: https://api.github.com/repos/ACC-HelloWorld/2-blink-and-read-sgbaird/check-suites/29668444436 2024-10-16T00:07:30.4094796Z Post job cleanup. 2024-10-16T00:07:30.5259321Z [command]/usr/bin/git version 2024-10-16T00:07:30.5281819Z git version 2.46.2 2024-10-16T00:07:30.5329627Z Temporarily overriding HOME='/home/runner/work/_temp/56fa48eb-7638-4050-a6cf-5da88e157ff2' before making global git config changes 2024-10-16T00:07:30.5332639Z Adding repository directory to the temporary git global config as a safe directory 2024-10-16T00:07:30.5337811Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/2-blink-and-read-sgbaird/2-blink-and-read-sgbaird 2024-10-16T00:07:30.5391186Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand 2024-10-16T00:07:30.5431107Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :" 2024-10-16T00:07:30.5691918Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader 2024-10-16T00:07:30.5718899Z http.https://github.com/.extraheader 2024-10-16T00:07:30.5736622Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader 2024-10-16T00:07:30.5775760Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :" 2024-10-16T00:07:30.6280854Z Cleaning up orphan processes ```
sgbaird commented 8 hours ago

Also:

Run classroom-resources/autograding-command-grader@v1
  with:
    test-name: Blink test
    setup-command: sudo -H pip3 install -r requirements.txt
    command: pytest blink_test.py
    timeout: 5
    max-score: 5
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.

    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.

    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.

    See /usr/share/doc/python3.1[2](https://github.com/ACC-HelloWorld/2-blink-and-read-sgbaird/actions/runs/11356337303/job/31587334688#step:3:2)/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP [6](https://github.com/ACC-HelloWorld/2-blink-and-read-sgbaird/actions/runs/11356337303/job/31587334688#step:3:6)68 for the detailed specification.
sgbaird commented 6 hours ago

I reproduced this with module 3. I also tried using pip install instead of sudo -H pip3 install. I need to keep debugging.

There is no sync assignment button, I think due to the assignments being the old kind. The data science course has sync assignment buttons.

I went ahead and committed the custom yml file from the gh classroom interface for module 2. However, it doesn't necessarily update automatically downstream.

sgbaird commented 6 hours ago

I reproduced this with module 3. I also tried using pip install instead of sudo -H pip3 install. I need to keep debugging.

There is no sync assignment button, I think due to the assignments being the old kind. The data science course has sync assignment buttons.

I went ahead and committed the custom yml file from the gh classroom interface for module 2. However, it doesn't necessarily update automatically downstream.

sgbaird commented 6 hours ago

I may want to try with a fresh gh classroom assignment first.

sgbaird commented 4 hours ago

Related: #97