Fix "Problem executing scripts APT::Update::Post-Invoke" issue breaking 3.1/3.2/3.3 integration apps CI #2921
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?:
This PR is a follow-up to #2917. When I started investigating the issue we saw in CI
(https://app.circleci.com/pipelines/github/DataDog/dd-trace-rb/10471/workflows/398f98c3-8d84-4d94-afff-8c92370be60d/jobs/389184):
... I saw an issue locally that I fixed in #2917, but it turns out that was not the issue we were seeing.
In fact, there were two issues, but CI was failing with an earlier one, whereas I fixed the later one only (which is the only one that I saw locally).
What happened was that our CI integration apps Ruby images use the latest upstream Ruby images, and those have shifted to use the new Debian 12 "bookworm" release.
The new base OS change triggered both issues.
TL;DR the glibc version on Debian 12 triggers a bug on the docker version we were using in CI:
The fix here is simple: we were overriding the docker version used by CircleCI to use an older version of docker. I've removed the override, which will make CircleCI use the latest docker version they have available (20.10.18 as I'm writing this), which has a fix for the bug triggered by the newer glibc.
Motivation:
Fix CI.
Additional Notes:
This is one of those "a lot of time spent for a one-liner fix" PRs.
How to test the change?:
Validate that CI is green.