fix: skip assertions for packages-x86 during arm64 builds - #2140
Conversation
|
|
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Welcome @frantjc! |
|
Hi @frantjc. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/ok-to-test |
|
@mboersma I've fixed the failing CI check - tl;dr there seems to be quite a healthy mix of |
Change description
Fix a variable name bug in the goss package assertions template where arch was used instead of the correct variable ARCH. This caused the packages-x86 assertions to not be properly skipped during arm64 builds, potentially resulting in false failures when running goss validation on arm64 machines.
Related issues
Additional context
Relevant results from a failure without this change when running
make build-ami-ubuntu-2404-arm64despite these two packages being deliberately excluded:{ "results": [ # ... { "duration": 25444214, "err": null, "expected": [ "true" ], "found": [ "false" ], "human": "Expected\n \u003cbool\u003e: false\nto equal\n \u003cbool\u003e: true", "meta": null, "property": "installed", "resource-id": "linux-tools-virtual", "resource-type": "Package", "result": 1, "skipped": false, "successful": false, "summary-line": "Package: linux-tools-virtual: installed:\nExpected\n \u003cbool\u003e: false\nto equal\n \u003cbool\u003e: true", "test-type": 0, "title": "" }, # ... { "duration": 57202398, "err": null, "expected": [ "true" ], "found": [ "false" ], "human": "Expected\n \u003cbool\u003e: false\nto equal\n \u003cbool\u003e: true", "meta": null, "property": "installed", "resource-id": "linux-cloud-tools-virtual", "resource-type": "Package", "result": 1, "skipped": false, "successful": false, "summary-line": "Package: linux-cloud-tools-virtual: installed:\nExpected\n \u003cbool\u003e: false\nto equal\n \u003cbool\u003e: true", "test-type": 0, "title": "" }, # ... ], "summary": { "failed-count": 2, "skipped-count": 0, "summary-line": "Count: 64, Failed: 2, Skipped: 0, Duration: 2.088s", "test-count": 64, "total-duration": 2088295529 } }