Skip to content

Add arm64 Google COS integration test#2096

Merged
robbycochran merged 3 commits intorc-fix-excludefrom
rc-arm-cos
May 22, 2025
Merged

Add arm64 Google COS integration test#2096
robbycochran merged 3 commits intorc-fix-excludefrom
rc-arm-cos

Conversation

@robbycochran
Copy link
Collaborator

@robbycochran robbycochran commented Apr 21, 2025

Description

Add integration test for COS arm64

Checklist

  • Investigated and inspected CI test results

Automated testing

  • Added integration tests

If any of these don't apply, please comment below.

Testing Performed

CI passing is sufficient: https://github.com/stackrox/collector/actions/runs/15148620044/job/42590584829?pr=2096

@robbycochran robbycochran force-pushed the rc-arm-cos branch 4 times, most recently from 319f0c6 to 3308bb5 Compare April 21, 2025 23:18
@codecov-commenter
Copy link

codecov-commenter commented Apr 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (rc-fix-exclude@baddaf5). Learn more about missing BASE report.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@                Coverage Diff                @@
##             rc-fix-exclude    #2096   +/-   ##
=================================================
  Coverage                  ?   28.52%           
=================================================
  Files                     ?       94           
  Lines                     ?     5757           
  Branches                  ?     2547           
=================================================
  Hits                      ?     1642           
  Misses                    ?     3393           
  Partials                  ?      722           
Flag Coverage Δ
collector-unit-tests 28.52% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Base automatically changed from rc-gh-action-arm to master April 25, 2025 17:31
@robbycochran robbycochran marked this pull request as ready for review May 20, 2025 21:53
@robbycochran robbycochran requested a review from a team as a code owner May 20, 2025 21:53
@robbycochran robbycochran changed the base branch from master to rc-fix-exclude May 20, 2025 21:53
Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey @robbycochran - I've reviewed your changes - here's some feedback:

  • There’s duplicate ansible/secrets.yml generation in multiple jobs—consider extracting that into a reusable step or composite action to reduce repetition.
  • The builder-tag determination logic is repeated in collector-builder.yml; refactor it into a single shared action or step to avoid divergence.
  • The if guard was removed from the arm64-integration-tests job—please verify it still only runs under the intended CI conditions.
Here's what I looked at during the review
  • 🟢 General issues: all looks good
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Copy link
Collaborator

@Molter73 Molter73 left a comment

Choose a reason for hiding this comment

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

LGTM!

Just 2 small comments that shouldn't block merging:

  • We might want to enable the beta or dev images to have a bit of a heads up if there are breaking changes coming up, same as we have for x86
  • Looking at the collector logs, there is no mention of the architecture we are running on, we might want to add something to the Kernel Version line to ensure we have that information available.
[INFO    2025/05/20 23:24:34] Collector Version: 3.21.x-84-g66826e8c6a-fast
[INFO    2025/05/20 23:24:34] OS: Container-Optimized OS from Google
[INFO    2025/05/20 23:24:34] Kernel Version: 6.6.87+

@robbycochran robbycochran merged commit b55bb64 into rc-fix-exclude May 22, 2025
78 of 84 checks passed
@robbycochran robbycochran deleted the rc-arm-cos branch May 22, 2025 18:31
@robbycochran robbycochran restored the rc-arm-cos branch May 22, 2025 18:33
robbycochran added a commit that referenced this pull request May 23, 2025
…2106)

* Revert "Revert GH arm changes (#2107)"
* Add arm64  stable, beta, and dev channels for Google COS integration tests (#2096)
Molter73 pushed a commit that referenced this pull request Jul 15, 2025
…2106)

* Revert "Revert GH arm changes (#2107)"
* Add arm64  stable, beta, and dev channels for Google COS integration tests (#2096)
Molter73 added a commit that referenced this pull request Jul 18, 2025
* ROX-29116: (fix) Use ARM GH action workflow runners for ARM builds (#2106)

* Revert "Revert GH arm changes (#2107)"
* Add arm64  stable, beta, and dev channels for Google COS integration tests (#2096)

* Use P and Z GHA runners (#2215)

* Use go cross-compilation to speed up test builds on CI (#2210)

After adding Arm runners on GHA, we made it so the Arm test image is
always built. Unfortunately, because we use QEMU to build the images,
the build has gotten quite slow.

In order to speed up the build, this change makes it so we cross-compile
the binaries for all our supported platforms locally and the image build
simply copies the binaries into the final image.

---------

Co-authored-by: Robby Cochran <rcochran@redhat.com>
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.

3 participants