Repository navigation
Conversation
mehul-jain1
left a comment
There was a problem hiding this comment.
Looks good however few tests are failing for ubuntu/sles.
|
@skyamgarp : Are you still working through this? It looks like it needs a rebase and the Ubuntu 24 tests failed the last time. |
span786
left a comment
There was a problem hiding this comment.
Thanks @skyamgarp. The metadata change itself is fine, but it can't merge on the current CI evidence:
-
Ubuntu 24.04 acceptance is failing (blocking). The last run on this branch (20 Apr, run 24658164050) failed both
Ubuntu-24.04andUbuntu-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-15also failed in that run, but they pass on every recent nightly onmain(31 Oct to 2 Nov), so that was most likely infra at the time. -
Rebase (blocking). The branch is 10 commits behind
main. Since then,puppetlabs/java, which the acceptance suite uses to install the JDK, declares24.04support. 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. -
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).
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>
|
@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. |
Summary
Provide a detailed description of all the changes present in this pull request.
Additional Context
Add any additional context about the problem here.
Related Issues (if any)
Mention any related issues or pull requests.
Checklist
puppet apply)