Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup lesson engine crashing before getting dependencies #597

Closed
jmhogan opened this issue Jul 18, 2024 · 2 comments
Closed

Setup lesson engine crashing before getting dependencies #597

jmhogan opened this issue Jul 18, 2024 · 2 comments

Comments

@jmhogan
Copy link

jmhogan commented Jul 18, 2024

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
Copy link
Member

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
Copy link
Author

jmhogan commented Jul 19, 2024

Thanks @tobyhodges -- It does run successfully now!

@jmhogan jmhogan closed this as completed Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants