canonical / cloud-init

Official upstream for the cloud-init: cloud instance initialization
https://cloud-init.io/
Other
2.87k stars 856 forks source link

SSL Certs Integration test failing on GCE noble and oracular #5609

Closed a-dubs closed 1 month ago

a-dubs commented 1 month ago

The certs_installed test (tests.integration_tests.modules.test_ca_certs.TestCaCerts.test_cert_installed) is failing on GCE on noble and oracular since Aug 2nd (20240802)

Just want to leave this here as a TODO. this needs a bit of investigation into: 1) Why this is occuring on GCE only 2) Why this is occuring on noble and oracular only

recent test failures: https://jenkins.canonical.com/server-team/view/cloud-init/job/cloud-init-integration-noble-gce/143/testReport/junit/tests.integration_tests.modules.test_ca_certs/TestCaCerts/test_cert_installed/

https://jenkins.canonical.com/server-team/view/cloud-init/job/cloud-init-integration-oracular-gce/46/testReport/junit/tests.integration_tests.modules.test_ca_certs/TestCaCerts/test_cert_installed/

blackboxsw commented 1 month ago

This appears to be directly related to GoogleGuestAgent adding root cert authority on Noble and later. From journalctl on a failing noble instance I see the following:

I think this integration test shouldn't be validating the checksum, but validating that our cert is actually present as part of the combined certs in /etc/ssl/certs/ca-certificates.crt