Skip to content

ROX-37502: Move core scan tests (batch 4/4) to scan-config suite - #1473

Merged
rhmdnd merged 1 commit into
ComplianceAsCode:masterfrom
redhat-chai-bot:move-tests-core-scan-4
Oct 17, 2026
Merged

rhmdnd merged 1 commit into
ComplianceAsCode:masterfrom
redhat-chai-bot:move-tests-core-scan-4

Conversation

@redhat-chai-bot

@redhat-chai-bot redhat-chai-bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Moves 3 core scan lifecycle tests from the monolithic tests/e2e/parallel/main_test.go into the existing tests/e2e/scan-config/main_test.go suite.

Tests moved

  • TestSuiteWithContentThatDoesNotMatch
  • TestScanCleansUpComplianceCheckResults
  • TestScanWithoutBundlePassesDeprecationCheck

Context

Part of ROX-37502 (dissolving the monolithic parallel suite into functional suites). Originally planned for a new core-scan suite, but the team decided to merge these into scan-config instead — the run_if_changed triggers would be nearly identical, so a separate suite would provision an extra cluster for minimal CI efficiency gain.

Pure move only — no refactoring.


AI-generated. Review for accuracy.

@rhmdnd requested from Slack

@openshift-ci-robot

Copy link
Copy Markdown
Collaborator

@redhat-chai-bot: This pull request references ROX-37502 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.1.0" version, but no target version was set.

Details

In response to this:

Summary

Moves 3 core scan tests from the parallel e2e suite to the core-scan functional suite:

  • TestSuiteWithContentThatDoesNotMatch
  • TestScanCleansUpComplianceCheckResults
  • TestScanWithoutBundlePassesDeprecationCheck

Details

  • Pure test moves, no refactoring
  • Part of ROX-37502: dissolving the parallel e2e suite into dedicated functional suites
  • Build verified: go build and go vet pass for both packages

AI-generated. Review for accuracy.

@rhmdnd requested from Slack

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci

openshift-ci Bot commented Oct 9, 2026

Copy link
Copy Markdown

Hi @redhat-chai-bot. Thanks for your PR.

I'm waiting for a ComplianceAsCode member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Tip

We noticed you've done this a few times! Consider joining the org to skip this step and gain /lgtm and other bot rights. We recommend asking approvers on your previous PRs to sponsor you.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

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.

@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown

🤖 To deploy this PR, run the following command:

make catalog-deploy CATALOG_IMG=ghcr.io/complianceascode/compliance-operator-catalog:1473-80ca88cd996b534e7f92eee0988bf1b05be93235

@redhat-chai-bot redhat-chai-bot changed the title ROX-37502: Move core scan tests (batch 4/4) to core-scan suite ROX-37502: Move core scan tests (batch 4/4) to scan-config suite Oct 13, 2026
@github-actions

Copy link
Copy Markdown

🤖 To deploy this PR, run the following command:

make catalog-deploy CATALOG_IMG=ghcr.io/complianceascode/compliance-operator-catalog:1473-d40043c90dc90678f9b68554ece2c38073a70970

@github-actions

Copy link
Copy Markdown

🤖 To deploy this PR, run the following command:

make catalog-deploy CATALOG_IMG=ghcr.io/complianceascode/compliance-operator-catalog:1473-d7520d1a8c8688d9dd89b323cadd58cd9f19ec8c

@github-actions

Copy link
Copy Markdown

🤖 To deploy this PR, run the following command:

make catalog-deploy CATALOG_IMG=ghcr.io/complianceascode/compliance-operator-catalog:1473-62690b92afa1db1207eed8502a585d2a128e618c

@github-actions

Copy link
Copy Markdown

🤖 To deploy this PR, run the following command:

make catalog-deploy CATALOG_IMG=ghcr.io/complianceascode/compliance-operator-catalog:1473-4c5340fb53da48bb21fc0ef18eb98ca1688a1a8d

@github-actions

Copy link
Copy Markdown

🤖 To deploy this PR, run the following command:

make catalog-deploy CATALOG_IMG=ghcr.io/complianceascode/compliance-operator-catalog:1473-f3795ae7e273b69faa4caa73c79fff2ef6baeec9

rhmdnd
rhmdnd previously approved these changes Oct 16, 2026

@rhmdnd rhmdnd left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

/lgtm

@github-actions

Copy link
Copy Markdown

🤖 To deploy this PR, run the following command:

make catalog-deploy CATALOG_IMG=ghcr.io/complianceascode/compliance-operator-catalog:1473-2fa1fa5255570213601e7eb705efe3a1da14e28b

@redhat-chai-bot

Copy link
Copy Markdown
Author

/retest

@github-actions

Copy link
Copy Markdown

🤖 To deploy this PR, run the following command:

make catalog-deploy CATALOG_IMG=ghcr.io/complianceascode/compliance-operator-catalog:1473-abdabe7ffbb798e58cc0cd34e939a2d91cd364c4

Move TestScanWithInvalidProfileFails, TestMissingPodInRunningState,
and TestSuiteWithContentThatDoesNotMatch from parallel to scan-config
suite. Remove unused imports (math/rand, controller-runtime/client)
from parallel/main_test.go and add math/rand to scan-config.
@github-actions

Copy link
Copy Markdown

🤖 To deploy this PR, run the following command:

make catalog-deploy CATALOG_IMG=ghcr.io/complianceascode/compliance-operator-catalog:1473-633262db65f92422838c376543720f9c86b1cdcc

@rhmdnd rhmdnd left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci Bot added the lgtm label Oct 17, 2026
@openshift-ci

openshift-ci Bot commented Oct 17, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: redhat-chai-bot, rhmdnd

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

The pull request process is described here

Details 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

@rhmdnd
rhmdnd merged commit 3d7c07b into ComplianceAsCode:master Oct 17, 2026
16 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants