CI: Fix package installation for Coverity run
PATCH 1/1 CI: Fix package installation for Coverity run
Something has changed recently in the Github Actions environment and the golang metapacakge resolves to something that no longer exists:
https://github.com/xen-project/xen/actions/runs/11539340171/job/32120834909
Update metadata before installing, which fixes things.
---
CC: Anthony PERARD <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Michal Orzel <[email protected]>
CC: Doug Goldstein <[email protected]>
CC: Roger Pau Monné <[email protected]>
Example dry run with this fix:
https://github.com/andyhhp/xen/actions/runs/11692180675/job/32560954258
--- .github/workflows/coverity.yml | 1 + 1 file changed, 1 insertion(+)
.github/workflows/coverity.yml +1 -0
@@ -12,6 +12,7 @@ jobs: steps: - name: Install build dependencies run: | + sudo apt-get update sudo apt-get install -y \ build-essential \ git-core \
Signature · 1 line
2.39.5
Quoted 8 lines · Andrew Cooper
Something has changed recently in the Github Actions environment and the golang metapacakge resolves to something that no longer exists:
https://github.com/xen-project/xen/actions/runs/11539340171/job/32120834909
Update metadata before installing, which fixes things.
Signed-off-by Andrew Cooper <[email protected]>
Seems like the current Ubuntu image has a stale apt cache? It's good practice to update before we install anyway.
Thanks, Roger.
Quoted 6 lines · Roger Pau Monné
Quoted 5 lines · Andrew Cooper
Something has changed recently in the Github Actions environment and the golang metapacakge resolves to something that no longer exists:
https://github.com/xen-project/xen/actions/runs/11539340171/job/32120834909
Quoted 7 lines
Quoted 3 lines
Update metadata before installing, which fixes things.
Signed-off-by Andrew Cooper <[email protected]>Acked-by Roger Pau Monné <[email protected]>Seems like the current Ubuntu image has a stale apt cache? It's good practice to update before we install anyway.
Thanks, and yeah. As chance would have it, the problem resolved itself in this mornings run, but we should take the patch anyway.
A couple of weeks ago, they did strip out one of the versions of Go, but it wasn't the version of Go we were trying to use. But in hindsight, that doesn't mean that the metadata was kept properly up to date.
~Andrew
Quoted 8 lines · Andrew Cooper
Something has changed recently in the Github Actions environment and the golang metapacakge resolves to something that no longer exists:
https://github.com/xen-project/xen/actions/runs/11539340171/job/32120834909
Update metadata before installing, which fixes things.
Signed-off-by Andrew Cooper <[email protected]>
Quoted 29 lines
---
CC: Anthony PERARD <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Michal Orzel <[email protected]>
CC: Doug Goldstein <[email protected]>
CC: Roger Pau Monné <[email protected]>Example dry run with this fix:
https://github.com/andyhhp/xen/actions/runs/11692180675/job/32560954258
--- .github/workflows/coverity.yml | 1 + 1 file changed, 1 insertion(+).github/workflows/coverity.yml +1
-0@@ -12,6 +12,7 @@ jobs: steps: - name: Install build dependencies run: | + sudo apt-get update sudo apt-get install -y \ build-essential \ git-core \Signature · 1 line
2.39.5