carpentries / sandpaper

User Interface for The Carpentries Workbench
https://carpentries.github.io/sandpaper
Other
41 stars 24 forks source link

Setup lesson engine crashing before getting dependencies #597

Closed jmhogan closed 2 months ago

jmhogan commented 2 months ago

Cross-posting this issue in carpentries/workbench-template-md#45

I am building a workshop based on carpentries workbench using sandpaper.

Since then, all "Build Full Site" jobs are failing in the "Setup lesson engine" step.

I made a new test lesson repository from the original template to make sure customizations were not the issue, and I observe the same crash: https://github.com/jmhogan/test-crashes/actions/runs/9997136527/job/27633005959

Run carpentries/actions/setup-sandpaper@main
Run cat("::group::Register Repositories\n")
Register Repositories
Install remotes
Install remotes
Run cat("os-version=", sessionInfo()$running, "\n", file = Sys.getenv("GITHUB_OUTPUT"), sep = "", append = TRUE)
Run sudo apt update || exit 0

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Get:1 file:/etc/apt/apt-mirrors.txt Mirrorlist [142 B]
Hit:2 http://azure.archive.ubuntu.com/ubuntu jammy InRelease
Get:3 http://azure.archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
Hit:6 https://packages.microsoft.com/repos/azure-cli jammy InRelease
Get:7 https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease [3632 B]
Get:4 http://azure.archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
Get:5 http://azure.archive.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
Get:8 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1837 kB]
Get:9 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [331 kB]
Get:10 http://azure.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [2[15](https://github.com/jmhogan/test-crashes/actions/runs/9997136527/job/27633005959#step:5:16)7 kB]
Get:11 http://azure.archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en [369 kB]
Get:12 http://azure.archive.ubuntu.com/ubuntu jammy-updates/universe amd[64](https://github.com/jmhogan/test-crashes/actions/runs/9997136527/job/27633005959#step:5:67) Packages [1107 kB]
Get:13 http://azure.archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en [258 kB]
Get:14 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main armhf Packages [14.1 kB]
Get:15 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main amd64 Packages [162 kB]
Get:16 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main arm64 Packages [39.4 kB]
Get:17 http://azure.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [28.8 kB]
Get:18 http://azure.archive.ubuntu.com/ubuntu jammy-backports/universe Translation-en [16.5 kB]
Get:19 http://azure.archive.ubuntu.com/ubuntu jammy-security/main amd64 Packages [1629 kB]
Get:20 http://azure.archive.ubuntu.com/ubuntu jammy-security/main Translation-en [274 kB]
Get:21 http://azure.archive.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [2101 kB]
Get:22 http://azure.archive.ubuntu.com/ubuntu jammy-security/restricted Translation-en [359 kB]
Get:23 http://azure.archive.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [885 kB]
Get:24 http://azure.archive.ubuntu.com/ubuntu jammy-security/universe Translation-en [173 kB]
Fetched 12.1 MB in 2s ([78](https://github.com/jmhogan/test-crashes/actions/runs/9997136527/job/27633005959#step:5:81)43 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
37 packages can be upgraded. Run 'apt list --upgradable' to see them.
Error: Process completed with exit code 4.

Any help figuring out what has happened in the last couple hours to break the package installation process would be amazing -- Thank you!

tobyhodges commented 2 months ago

Thanks for reporting this @jmhogan. I can build the lesson without problems on my local system, which confirms this is a problem with the website build workflows rather than anything wrong with your lesson content. I have also been able to build a fork of your test repository, which suggests that this problem may have fixed itself...

Please could you try to re-run the workflow? Sometimes we encounter transient issues with GitHub Actions, which disappear after a short time. For example, maybe some of their systems were affected by the problems Microsoft have had in the past day or so.

To run the 'Build and Deploy Site' workflow, use the 'Run workflow' button that you should see on this page: https://github.com/cms-opendata-workshop/workshop2024-lesson-triggers-lumi/actions/workflows/sandpaper-main.yaml

jmhogan commented 2 months ago

Thanks @tobyhodges -- It does run successfully now!