Skip to content

(CAT-2124) Add support for Ubuntu 24 - #463

Open
skyamgarp wants to merge 3 commits into
mainfrom
CAT-2124
Open

skyamgarp wants to merge 3 commits into
mainfrom
CAT-2124

Conversation

@skyamgarp

@skyamgarp skyamgarp commented Nov 6, 2024 •

Copy link
Copy Markdown

Summary

Provide a detailed description of all the changes present in this pull request.

Additional Context

Add any additional context about the problem here.

  • Root cause and the steps to reproduce. (If applicable)
  • Thought process behind the implementation.

Related Issues (if any)

Mention any related issues or pull requests.

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified. (For example puppet apply)

@skyamgarp
skyamgarp marked this pull request as ready for review April 9, 2026 07:47
@skyamgarp
skyamgarp requested a review from a team as a code owner April 9, 2026 07:47

@mehul-jain1 mehul-jain1 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good however few tests are failing for ubuntu/sles.

@jst-cyr

jst-cyr commented Oct 1, 2026

Copy link
Copy Markdown
Member

@skyamgarp : Are you still working through this? It looks like it needs a rebase and the Ubuntu 24 tests failed the last time.

@span786 span786 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @skyamgarp. The metadata change itself is fine, but it can't merge on the current CI evidence:

  1. Ubuntu 24.04 acceptance is failing (blocking). The last run on this branch (20 Apr, run 24658164050) failed both Ubuntu-24.04 and Ubuntu-24.04-arm, which are exactly the platforms this PR adds. Those logs have since expired (HTTP 410), so I can't tell from here whether it was the module or the environment. SLES-12/SLES-15 also failed in that run, but they pass on every recent nightly on main (31 Oct to 2 Nov), so that was most likely infra at the time.

  2. Rebase (blocking). The branch is 10 commits behind main. Since then, puppetlabs/java, which the acceptance suite uses to install the JDK, declares 24.04 support. So a rebase and a fresh CI run may well clear the Ubuntu 24.04 failure on its own. If it still fails, please post the failing step or the keytool error and we can look at it together.

  3. Non-blocking: the PR description is still the empty template. A line saying what was tested on 24.04 would help whoever merges this.

I'll approve once a run on the rebased head is green for Ubuntu 24.04 (amd64 + arm).

jst-cyr and others added 2 commits December 1, 2026 09:29
Ubuntu 24.04 fell through to the default ensure => latest, which is not
idempotent, failing the pkcs12 acceptance specs. Replace the hardcoded
Ubuntu release list and the Debian regex (^11|12, which would also miss
Debian 13) with Puppet::Util::Package.versioncmp so newer releases are
covered without further edits.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The "updates the chain" expectations depended on a hardcoded OS list that
mirrored the one in spec_helper_acceptance_local.rb deciding
@ensure_ks. The expectations really depend on ensure: present leaves the
existing chain in place, latest replaces it. With 24.04 now getting
present, the stale list would have expected a replaced chain. Use
@ensure_ks directly so the two cannot drift apart.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@jst-cyr

jst-cyr commented Dec 1, 2026

Copy link
Copy Markdown
Member

@skyamgarp and @span786 : I investigated the failures and I believe I've found the root cause. There were some version comparisons that were specifically looking for Ubuntu 20.04 and 22.04, and did not have 24.04. I've updated that logic (and fixed a similar version comparison issue with Debian). The tests are rerunning now.

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.

4 participants