MINOR: Fix SSL certificate verification failure in system test worker provisioning #21431
+2
−1
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.
Description
Summary
Update CA certificates on Ubuntu 14.04 Vagrant workers to fix SSL
certificate verification failures when cloning the kibosh repository
during system test setup.
Problem
Starting around February 7-9, 2026, system tests using Vagrant workers
began failing during worker provisioning with the following error:
Root Cause: The Vagrant workers use Ubuntu 14.04 (Trusty), which
reached
end-of-life in April 2019. The CA certificate bundle on these workers is
outdated
and does not include the certificate authorities needed to verify
GitHub's current
SSL certificate chain. GitHub (or their CA provider) rotated
certificates, causing
the verification to fail on systems with older CA bundles.
Key observations:
2026
(see PR MINOR: Fix requests version conflict with ducktape in tests/setup.py #21415)
Solution
Refresh the CA certificate store during worker provisioning by:
ca-certificatespackageupdate-ca-certificates --freshto rebuild the certificatestore
This ensures workers have an updated certificate store that can verify
GitHub's SSL certificate chain.
Changes
File:
vagrant/base.shBefore:
apt-get update -y && apt-get install -y git cmake pkg-config libfuse-devAfter:
apt-get update -y && apt-get install -y git cmake pkg-config libfuse-dev ca-certificates update-ca-certificates --freshTesting
✅ System-test-Kafka-Branch-Builder - 21/21 tests passed
tests/kafkatest/tests/client/client_compatibility_produce_consume_test.pyResults
Notes
LTS version
(e.g., Ubuntu 22.04) would eliminate this class of issues permanently
ca-certificatespackage in Ubuntu 14.04 repos is dated 2017, butrunning
update-ca-certificates --freshrebuilds the store with all availablecertificates