-
Notifications
You must be signed in to change notification settings - Fork 416
k3s/1.33.2.1 package update #58150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
k3s/1.33.2.1 package update #58150
Conversation
octo-sts
bot
commented
Jul 2, 2025
Signed-off-by: wolfi-bot <[email protected]>
🔄 Build Failed: Git Checkout Error
Build Details
Root Cause Analysis 🔍The expected commit hash for the specified tag 'v1.33.2+k3s1' does not match the actual commit hash found in the repository. This could be due to the tag being moved in the upstream repository, or an incorrect expected commit hash specified in the package definition. 🔍 Build failure fix suggestionsFound similar build failures that have been fixed in the past and analyzed them to suggest a fix: Similar PRs with fixesSuggested ChangesFile: k3s.yaml
Replacement: Content: Click to expand fix analysisAnalysisThe build failure is occurring because the expected commit hash for the k3s tag 'v1.33.2+k3s1' does not match the actual commit hash in the repository. This pattern is similar to the fixed build failure example where the calico package had a similar mismatch between the expected and actual commit hash for a specific tag. In these cases, the fix typically involves updating the expected commit hash in the git-checkout step to match what's actually in the upstream repository. This discrepancy often occurs when upstream repositories rebase or move tags to point to different commits. Click to expand fix explanationExplanationThe error message clearly indicates that there's a mismatch between the expected commit hash specified in the Melange YAML file (99d91538b1327da933356c318dc8040335fbb66c) and the actual commit hash that the v1.33.2+k3s1 tag points to in the upstream repository (6e38c8b55284c0d68f64a9e603fb645a32ecd232). This issue occurs because the upstream k3s repository has moved the v1.33.2+k3s1 tag to a different commit than what was originally specified in the package definition. This could happen for various reasons such as:
The solution is straightforward - update the expected-commit value in the git-checkout step to match the current commit hash that the tag points to in the upstream repository. This ensures that the build system can successfully checkout the code at the expected commit when processing the Melange YAML file. Looking at the error message, we can see the actual commit hash is 6e38c8b55284c0d68f64a9e603fb645a32ecd232, so we need to update the expected-commit value to match this. After making this change, the git-checkout step should successfully validate the commit hash and proceed with the build. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
Signed-off-by: Ajay Kemparaj <[email protected]>