Skip to content

ci: update Ubuntu version to 24.04 in GitHub Actions workflows#3754

Merged
dims merged 5 commits intogoogle:masterfrom
dims:update-from-ubuntu-22.04-to-24.04
Dec 3, 2025
Merged

ci: update Ubuntu version to 24.04 in GitHub Actions workflows#3754
dims merged 5 commits intogoogle:masterfrom
dims:update-from-ubuntu-22.04-to-24.04

Conversation

@dims
Copy link
Collaborator

@dims dims commented Dec 3, 2025

Move from 22.04 to 24.04

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
@dims dims force-pushed the update-from-ubuntu-22.04-to-24.04 branch 2 times, most recently from 60fc669 to 2d4de23 Compare December 3, 2025 01:03
dims added 4 commits December 2, 2025 20:12
The Client() function uses sync.Once to initialize the client, but
stored the error in a local variable. If the first call failed, subsequent
calls would return (nil, nil) because sync.Once wouldn't run again and
the local error variable would be freshly initialized to nil.

This caused a panic when containerd wasn't available - the docker factory
would fail first, then the containerd factory would get a nil client
with no error and crash when calling client.Version().

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
Add logging before cAdvisor starts to capture:
- Docker version and info
- Containerd socket availability
- Docker socket availability
- Running docker/containerd processes
- Kernel version

This will help debug why containerd socket is not available on
Ubuntu 24.04 GitHub Actions runners.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
Mesos is no longer actively maintained and has been deprecated.
Remove the Mesos container factory to reduce code complexity
and maintenance burden.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
Docker-in-Docker setups run containerd at /run/docker/containerd/containerd.sock
instead of the default /run/containerd/containerd.sock. Detect and use the
correct socket path when starting cAdvisor in integration tests.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
@dims dims force-pushed the update-from-ubuntu-22.04-to-24.04 branch from 2d4de23 to 5f2438b Compare December 3, 2025 01:12
@dims dims merged commit 0cbb7e7 into google:master Dec 3, 2025
7 checks passed
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

Successfully merging this pull request may close these issues.

1 participant