Skip to content
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

Add optional CI jobs for testing Compliance Operator on ARM64 #61066

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rhmdnd
Copy link
Contributor

@rhmdnd rhmdnd commented Jan 28, 2025

The ipi-aws workflow allows us to request ARM64 architecture for the
control plane and worker nodes. Let's use it so we can start building
out CI for the Compliance Operator on ARM64.

This job is optional for now until we smooth out failures in the
compliance operator running on ARM. Once we have stable jobs, we'll make
this a required.

Copy link
Contributor

openshift-ci bot commented Jan 28, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rhmdnd

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 28, 2025
@rhmdnd
Copy link
Contributor Author

rhmdnd commented Jan 28, 2025

/pj-rehearse pull-ci-ComplianceAsCode-compliance-operator-master-e2e-aws-parallel-arm
/pj-rehearse pull-ci-ComplianceAsCode-compliance-operator-master-e2e-aws-serial-arm

@openshift-ci-robot
Copy link
Contributor

@rhmdnd: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci-robot
Copy link
Contributor

@rhmdnd: requesting more than one rehearsal in one comment is not supported. If you would like to rehearse multiple specific jobs, please separate the job names by a space in a single command.

@rhmdnd
Copy link
Contributor Author

rhmdnd commented Jan 28, 2025

/pj-rehearse pull-ci-ComplianceAsCode-compliance-operator-master-e2e-aws-parallel-arm pull-ci-ComplianceAsCode-compliance-operator-master-e2e-aws-serial-arm

@openshift-ci-robot
Copy link
Contributor

@rhmdnd: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@rhmdnd
Copy link
Contributor Author

rhmdnd commented Jan 29, 2025

/pj-rehearse

@openshift-ci-robot
Copy link
Contributor

@rhmdnd: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@rhmdnd
Copy link
Contributor Author

rhmdnd commented Jan 29, 2025

/pj-rehearse

@openshift-ci-robot
Copy link
Contributor

@rhmdnd: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@rhmdnd
Copy link
Contributor Author

rhmdnd commented Jan 29, 2025

Deployment failed to come up - which could be symptomatic of architecture issues:

2025/01/29 20:44:36 Waiting for full availability of compliance-operator deployment (0/1)
2025/01/29 20:44:41 Waiting for full availability of compliance-operator deployment (0/1)
2025/01/29 20:44:41 Waiting for full availability of compliance-operator deployment (0/1)
2025/01/29 20:44:41 timed out waiting for deployment to become available: timed out waiting for the condition
FAIL	github.com/ComplianceAsCode/compliance-operator/tests/e2e/parallel	1802.936s
FAIL
make: *** [Makefile:610: e2e-parallel] Error 1 

@rhmdnd rhmdnd changed the title Add CI jobs for testing Compliance Operator on ARM64 Add optional CI jobs for testing Compliance Operator on ARM64 Jan 29, 2025
@rhmdnd
Copy link
Contributor Author

rhmdnd commented Jan 29, 2025

Marked these ARM jobs as optional so we can land this PR and start getting them to pass with changes to the ComplianceAaCode/compliance-operator.

ComplianceAsCode/compliance-operator#668

@rhmdnd
Copy link
Contributor Author

rhmdnd commented Jan 30, 2025

/pj-rehearse ack

@Vincent056 should be ready for a look.

@openshift-ci-robot
Copy link
Contributor

@rhmdnd: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci-robot openshift-ci-robot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Jan 30, 2025
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 3, 2025
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 3, 2025
@openshift-ci-robot openshift-ci-robot removed the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Feb 3, 2025
@rhmdnd
Copy link
Contributor Author

rhmdnd commented Feb 3, 2025

/pj-rehearse pull-ci-ComplianceAsCode-compliance-operator-master-e2e-aws-parallel-arm
/pj-rehearse pull-ci-ComplianceAsCode-compliance-operator-master-e2e-aws-serial-arm

@openshift-ci-robot
Copy link
Contributor

@rhmdnd: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci-robot
Copy link
Contributor

@rhmdnd: requesting more than one rehearsal in one comment is not supported. If you would like to rehearse multiple specific jobs, please separate the job names by a space in a single command.

The `ipi-aws` workflow allows us to request ARM64 architecture for the
control plane and worker nodes. Let's use it so we can start building
out CI for the Compliance Operator on ARM64.

This job is optional for now until we smooth out failures in the
compliance operator running on ARM. Once we have stable jobs, we'll make
this a required.
@rhmdnd
Copy link
Contributor Author

rhmdnd commented Feb 3, 2025

/pj-rehearse pull-ci-ComplianceAsCode-compliance-operator-master-e2e-aws-parallel-arm pull-ci-ComplianceAsCode-compliance-operator-master-e2e-aws-serial-arm

@openshift-ci-robot
Copy link
Contributor

@rhmdnd: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci-robot
Copy link
Contributor

[REHEARSALNOTIFIER]
@rhmdnd: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
pull-ci-ComplianceAsCode-compliance-operator-master-e2e-aws-parallel-arm ComplianceAsCode/compliance-operator presubmit Presubmit changed
pull-ci-ComplianceAsCode-compliance-operator-master-e2e-aws-serial-arm ComplianceAsCode/compliance-operator presubmit Presubmit changed
pull-ci-ComplianceAsCode-compliance-operator-master-images ComplianceAsCode/compliance-operator presubmit Presubmit changed
pull-ci-ComplianceAsCode-compliance-operator-master-e2e-aws-parallel ComplianceAsCode/compliance-operator presubmit Ci-operator config changed
pull-ci-ComplianceAsCode-compliance-operator-master-e2e-aws-serial ComplianceAsCode/compliance-operator presubmit Ci-operator config changed
pull-ci-ComplianceAsCode-compliance-operator-master-e2e-rosa ComplianceAsCode/compliance-operator presubmit Ci-operator config changed
pull-ci-ComplianceAsCode-compliance-operator-master-go-build ComplianceAsCode/compliance-operator presubmit Ci-operator config changed
pull-ci-ComplianceAsCode-compliance-operator-master-unit ComplianceAsCode/compliance-operator presubmit Ci-operator config changed
pull-ci-ComplianceAsCode-compliance-operator-master-verify ComplianceAsCode/compliance-operator presubmit Ci-operator config changed
Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse abort to abort all active rehearsals
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

Copy link
Contributor

openshift-ci bot commented Feb 3, 2025

@rhmdnd: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/rehearse/ComplianceAsCode/compliance-operator/master/e2e-aws-parallel 8443657 link unknown /pj-rehearse pull-ci-ComplianceAsCode-compliance-operator-master-e2e-aws-parallel
ci/rehearse/ComplianceAsCode/compliance-operator/master/e2e-aws-parallel-arm 118511a link unknown /pj-rehearse pull-ci-ComplianceAsCode-compliance-operator-master-e2e-aws-parallel-arm
ci/rehearse/ComplianceAsCode/compliance-operator/master/e2e-aws-serial-arm 118511a link unknown /pj-rehearse pull-ci-ComplianceAsCode-compliance-operator-master-e2e-aws-serial-arm

Full PR test history. Your PR dashboard.

Instructions 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. I understand the commands that are listed here.

rhmdnd added a commit to rhmdnd/content that referenced this pull request Feb 3, 2025
This makes it so the container image we use for testing is build for
arm64 architecture in addition to Power/Z/AMD64.

This will get used in CI testing the Compliance Operatoron ARM:

  openshift/release#61066
@rhmdnd
Copy link
Contributor Author

rhmdnd commented Feb 3, 2025

Seeing failures because the profile bundles aren't parsing, which could be due to content images not being built for arm64.

2025/02/03 20:00:39 waiting ProfileBundle rhcos4 to become VALID (INVALID)
2025/02/03 20:00:44 waiting ProfileBundle rhcos4 to become VALID (INVALID)
2025/02/03 20:00:44 waiting ProfileBundle rhcos4 to become VALID (INVALID)
2025/02/03 20:00:44 ProfileBundle rhcos4 failed to reach state VALID
FAIL	github.com/ComplianceAsCode/compliance-operator/tests/e2e/parallel	1833.122s
FAIL

Proposed ComplianceAsCode/content#12964 to start building the content for arm64. Once that lands we can try rekicking the rehearsal jobs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants