Closed davereid-pfg closed 1 year ago
Can you please link to the run? No context here on whether it's Ubuntu 18.04, 20.04, or 22.04.
I have just re-triggered our tests and at least in our environments it is not reproducible: https://github.com/jonaseberle/github-action-setup-ddev/actions/runs/3266514537
I would guess something temporary in the various repos that Github runners have configured...
Could easily be a missing apt update
as well.
Maybe where this is happening there is no apt update though. We don't actually have any useful info yet.
I'm just calling the DDEV action with the default Github Action ubuntu-latest runner. I can't link to the run, it's a private repository.
As per the logs I provided this is on Github Runner with Ubuntu 20.04
I'm seeing this not happen every time or consistently too. I had a job that has two builds that run in a matrix but uses the exact same workflow job, one DDEV start worked fine, the other failed.
Here's the top of the logs showing the runner information:
2022-11-16T21:22:05.0277653Z Requested labels: ubuntu-latest
2022-11-16T21:22:05.0277724Z Job defined at: PRIVATE-ORG/PRIVATE-REPO/.github/workflows/ci.yml@refs/heads/2.x
2022-11-16T21:22:05.0277747Z Waiting for a runner to pick up this job...
2022-11-16T21:22:05.2964792Z Job is waiting for a hosted runner to come online.
2022-11-16T21:22:08.6002160Z Job is about to start running on the hosted runner: GitHub Actions 24 (hosted)
2022-11-16T21:22:11.9662172Z Current runner version: '2.299.1'
2022-11-16T21:22:11.9695102Z ##[group]Operating System
2022-11-16T21:22:11.9696211Z Ubuntu
2022-11-16T21:22:11.9696999Z 20.04.5
2022-11-16T21:22:11.9697743Z LTS
2022-11-16T21:22:11.9698547Z ##[endgroup]
2022-11-16T21:22:11.9699375Z ##[group]Runner Image
2022-11-16T21:22:11.9700244Z Image: ubuntu-20.04
2022-11-16T21:22:11.9701042Z Version: 20221114.1
2022-11-16T21:22:11.9702192Z Included Software: https://github.com/actions/runner-images/blob/ubuntu20/20221114.1/images/linux/Ubuntu2004-Readme.md
2022-11-16T21:22:11.9703532Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu20%2F20221114.1
2022-11-16T21:22:11.9704644Z ##[endgroup]
2022-11-16T21:22:11.9705519Z ##[group]Runner Image Provisioner
2022-11-16T21:22:11.9706347Z 2.0.91.1
2022-11-16T21:22:11.9707154Z ##[endgroup]
2022-11-16T21:22:11.9708736Z ##[group]GITHUB_TOKEN Permissions
2022-11-16T21:22:11.9709840Z Contents: read
2022-11-16T21:22:11.9710706Z Metadata: read
2022-11-16T21:22:11.9711651Z ##[endgroup]
2022-11-16T21:22:11.9716012Z Secret source: Actions
2022-11-16T21:22:11.9717074Z Prepare workflow directory
2022-11-16T21:22:12.0562317Z Prepare all required actions
2022-11-16T21:22:12.0747128Z Getting action download info
2022-11-16T21:22:12.4951388Z Download action repository 'webfactory/ssh-agent@v0.7.0' (SHA:836c84ec59a0e7bc0eabc79988384eb567561ee2)
2022-11-16T21:22:12.8034171Z Download action repository 'actions/checkout@v3' (SHA:93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8)
2022-11-16T21:22:13.0164016Z Download action repository 'shivammathur/setup-php@v2' (SHA:1a18b2267f80291a81ca1d33e7c851fe09e7dfc4)
2022-11-16T21:22:13.2242635Z Download action repository 'jonaseberle/github-action-setup-ddev@v1' (SHA:9c54827f6f3b1084358a89b17713649ad705543f)
I checked between the two matrix runs that each succeeded and failed and this part was exactly the same.
Here's the end of the apt-get for the job that passed:
2022-11-16T21:25:47.0518360Z Fetched 10.8 MB in 2s (4866 kB/s)
2022-11-16T21:25:47.0519441Z Reading package lists...
2022-11-16T21:25:48.3130330Z
2022-11-16T21:25:48.3130757Z
2022-11-16T21:25:48.4006801Z Reading package lists...
2022-11-16T21:25:48.4205648Z
2022-11-16T21:25:48.4205957Z
2022-11-16T21:25:48.4254839Z Building dependency tree...
2022-11-16T21:25:48.6587672Z
2022-11-16T21:25:48.6588888Z Reading state information...
2022-11-16T21:25:48.6593024Z
2022-11-16T21:25:48.6593280Z
2022-11-16T21:25:48.8808095Z The following additional packages will be installed:
2022-11-16T21:25:48.8809012Z
2022-11-16T21:25:48.8813366Z libnss3-tools
2022-11-16T21:25:48.8813945Z
2022-11-16T21:25:48.8818825Z Suggested packages:
2022-11-16T21:25:48.8819824Z zsh-completions
2022-11-16T21:25:48.8820315Z
2022-11-16T21:25:48.9460545Z The following NEW packages will be installed:
2022-11-16T21:25:48.9460976Z
2022-11-16T21:25:48.9471280Z ddev libnss3-tools
2022-11-16T21:25:48.9472029Z
2022-11-16T21:25:48.9801292Z 0 upgraded, 2 newly installed, 0 to remove and 35 not upgraded.
2022-11-16T21:25:48.9802166Z
2022-11-16T21:25:49.1935827Z Need to get 13.4 MB of archives.
2022-11-16T21:25:49.1936909Z After this operation, 27.8 MB of additional disk space will be used.
2022-11-16T21:25:49.1939065Z Get:1 http://azure.archive.ubuntu.com/ubuntu focal-updates/universe amd64 libnss3-tools amd64 2:3.49.1-1ubuntu1.8 [997 kB]
2022-11-16T21:25:49.1940096Z
2022-11-16T21:25:49.9157832Z Get:2 https://apt.fury.io/drud */* amd64 ddev amd64 1.21.3 [12.4 MB]
2022-11-16T21:25:49.9158814Z
2022-11-16T21:25:50.9832819Z Fetched 13.4 MB in 1s (9080 kB/s)
And the job that failed:
2022-11-16T21:24:56.8169841Z Fetched 11.0 MB in 2s (5496 kB/s)
2022-11-16T21:24:56.8170643Z Reading package lists...
2022-11-16T21:24:57.8377344Z
2022-11-16T21:24:57.8377608Z
2022-11-16T21:24:57.9065579Z Reading package lists...
2022-11-16T21:24:57.9235680Z
2022-11-16T21:24:57.9235841Z
2022-11-16T21:24:57.9279292Z Building dependency tree...
2022-11-16T21:24:58.1376985Z
2022-11-16T21:24:58.1377832Z Reading state information...
2022-11-16T21:24:58.1381024Z
2022-11-16T21:24:58.1381116Z
2022-11-16T21:24:58.1595209Z You might want to run 'apt --fix-broken install' to correct these.
2022-11-16T21:24:58.1596773Z The following packages have unmet dependencies:
2022-11-16T21:24:58.1597345Z
2022-11-16T21:24:58.2383719Z ddev : Depends: libnss3-tools but it is not going to be installed
2022-11-16T21:24:58.2384830Z
2022-11-16T21:24:58.2398145Z libtiff-dev : Depends: libtiff5 (= 4.1.0+git191117-2ubuntu0.20.04.6) but 4.1.0+git191117-2ubuntu0.20.04.5 is to be installed
2022-11-16T21:24:58.2399027Z
2022-11-16T21:24:58.2734936Z E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
There appears to be 0.2 MB difference in the amount of apt data downloaded but you can see the jobs were run only a minute apart.
Maybe this was just a temporary blip yesterday with apt data for some reason. I think we're seeing all the builds work correctly today with no changes to our workflows.