Skip to content

OCP4: use new assertion formate for OCP CI#11790

Merged
rhmdnd merged 9 commits into
ComplianceAsCode:masterfrom
Vincent056:assertion_new
Apr 30, 2024
Merged

OCP4: use new assertion formate for OCP CI#11790
rhmdnd merged 9 commits into
ComplianceAsCode:masterfrom
Vincent056:assertion_new

Conversation

@Vincent056
Copy link
Copy Markdown
Contributor

@Vincent056 Vincent056 commented Apr 4, 2024

Having a organized way to manage e2e assertion files, we will have all e2e assertion files located at tests/assertions/<platform>/<product-name>-<profile-name>-<ocp-version>.yml
for example:
tests/assertions/ocp4/ocp4-cis-4.14.yml

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 4, 2024

Start a new ephemeral environment with changes proposed in this pull request:

Fedora Environment
Open in Gitpod

Oracle Linux 8 Environment
Open in Gitpod

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 4, 2024

🤖 A k8s content image for this PR is available at:
ghcr.io/complianceascode/k8scontent:11790
This image was built from commit: eb04585

Click here to see how to deploy it

If you alread have Compliance Operator deployed:
utils/build_ds_container.py -i ghcr.io/complianceascode/k8scontent:11790

Otherwise deploy the content and operator together by checking out ComplianceAsCode/compliance-operator and:
CONTENT_IMAGE=ghcr.io/complianceascode/k8scontent:11790 make deploy-local

Comment thread tests/assertions/ocp/ocp4-cis-4.14.yml Outdated
@@ -0,0 +1,355 @@
rule_results:
e2e-cis-accounts-restrict-service-account-tokens:
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.

One potential way to simplify this would be to use:

e2e-cis-accounts-restrict-service-account-tokens: MANUAL
e2e-cis-api-server-admission-control-plugin-namespacelifecycle: PASS
e2e-cis-api-server-encryption-provider-cipher: FAIL

Then just have the file name be tests/assertions/ocp/ocp4-cis-4.14-default-results.yml

Then for the remediated results we could do the same thing:

e2e-cis-accounts-restrict-service-account-tokens: MANUAL
e2e-cis-api-server-admission-control-plugin-namespacelifecycle: PASS
e2e-cis-api-server-encryption-provider-cipher: PASS

But have them in a separate file called tests/assertions/ocp/ocp4-cis-4.14-remediated-results.yml

This is just an idea, and we can continue iterating on it in subsequent patches if we decide to do it, but it would simplify the overall file structure, and the look ups we need to perform in the suite.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't have a strong opinion on the file structure, both seem good to me but I slightly lean on the format proposed by Vincent.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

the reason why I wasn't use tests/assertions/ocp/ocp4-cis-4.14-default-results.yml and tests/assertions/ocp/ocp4-cis-4.14-remediated-results.yml was because I wanted to keep some of existing logic handling, also it reduces the total assertion files we need to create.

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.

That makes sense - let's reuse what we have.

@rhmdnd
Copy link
Copy Markdown
Collaborator

rhmdnd commented Apr 5, 2024

This PR is OpenShift-specific and will be leveraged once ComplianceAsCode/ocp4e2e#39 lands.

@rhmdnd rhmdnd added the OpenShift OpenShift product related. label Apr 5, 2024
@Vincent056 Vincent056 force-pushed the assertion_new branch 3 times, most recently from a2587e5 to cd97d2d Compare April 18, 2024 06:35
@rhmdnd
Copy link
Copy Markdown
Collaborator

rhmdnd commented Apr 19, 2024

/test

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Apr 19, 2024

@rhmdnd: The /test command needs one or more targets.
The following commands are available to trigger required jobs:

  • /test 4.13-e2e-aws-ocp4-cis
  • /test 4.13-e2e-aws-ocp4-cis-node
  • /test 4.13-e2e-aws-ocp4-e8
  • /test 4.13-e2e-aws-ocp4-high
  • /test 4.13-e2e-aws-ocp4-high-node
  • /test 4.13-e2e-aws-ocp4-moderate
  • /test 4.13-e2e-aws-ocp4-moderate-node
  • /test 4.13-e2e-aws-ocp4-pci-dss
  • /test 4.13-e2e-aws-ocp4-pci-dss-node
  • /test 4.13-e2e-aws-ocp4-stig
  • /test 4.13-e2e-aws-ocp4-stig-node
  • /test 4.13-e2e-aws-rhcos4-e8
  • /test 4.13-e2e-aws-rhcos4-high
  • /test 4.13-e2e-aws-rhcos4-moderate
  • /test 4.13-e2e-aws-rhcos4-stig
  • /test 4.13-images
  • /test 4.14-images
  • /test 4.15-e2e-aws-ocp4-cis
  • /test 4.15-e2e-aws-ocp4-cis-node
  • /test 4.15-e2e-aws-ocp4-e8
  • /test 4.15-e2e-aws-ocp4-high
  • /test 4.15-e2e-aws-ocp4-high-node
  • /test 4.15-e2e-aws-ocp4-moderate
  • /test 4.15-e2e-aws-ocp4-moderate-node
  • /test 4.15-e2e-aws-ocp4-pci-dss
  • /test 4.15-e2e-aws-ocp4-pci-dss-node
  • /test 4.15-e2e-aws-ocp4-stig
  • /test 4.15-e2e-aws-ocp4-stig-node
  • /test 4.15-e2e-aws-rhcos4-e8
  • /test 4.15-e2e-aws-rhcos4-high
  • /test 4.15-e2e-aws-rhcos4-moderate
  • /test 4.15-e2e-aws-rhcos4-stig
  • /test 4.15-images
  • /test 4.16-e2e-aws-ocp4-cis
  • /test 4.16-e2e-aws-ocp4-cis-node
  • /test 4.16-e2e-aws-ocp4-e8
  • /test 4.16-e2e-aws-ocp4-high
  • /test 4.16-e2e-aws-ocp4-high-node
  • /test 4.16-e2e-aws-ocp4-moderate
  • /test 4.16-e2e-aws-ocp4-moderate-node
  • /test 4.16-e2e-aws-ocp4-pci-dss
  • /test 4.16-e2e-aws-ocp4-pci-dss-node
  • /test 4.16-e2e-aws-ocp4-stig
  • /test 4.16-e2e-aws-ocp4-stig-node
  • /test 4.16-e2e-aws-rhcos4-e8
  • /test 4.16-e2e-aws-rhcos4-high
  • /test 4.16-e2e-aws-rhcos4-moderate
  • /test 4.16-e2e-aws-rhcos4-stig
  • /test 4.16-images
  • /test e2e-aws-ocp4-cis
  • /test e2e-aws-ocp4-cis-node
  • /test e2e-aws-ocp4-e8
  • /test e2e-aws-ocp4-high
  • /test e2e-aws-ocp4-high-node
  • /test e2e-aws-ocp4-moderate
  • /test e2e-aws-ocp4-moderate-node
  • /test e2e-aws-ocp4-pci-dss
  • /test e2e-aws-ocp4-pci-dss-node
  • /test e2e-aws-ocp4-stig
  • /test e2e-aws-ocp4-stig-node
  • /test e2e-aws-rhcos4-e8
  • /test e2e-aws-rhcos4-high
  • /test e2e-aws-rhcos4-moderate
  • /test e2e-aws-rhcos4-stig
  • /test images

Use /test all to run the following jobs that were automatically triggered:

  • pull-ci-ComplianceAsCode-content-master-4.13-images
  • pull-ci-ComplianceAsCode-content-master-4.14-images
  • pull-ci-ComplianceAsCode-content-master-4.15-images
  • pull-ci-ComplianceAsCode-content-master-4.16-images
  • pull-ci-ComplianceAsCode-content-master-images
Details

In response to this:

/test

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/test-infra repository.

@rhmdnd
Copy link
Copy Markdown
Collaborator

rhmdnd commented Apr 19, 2024

/test e2e-aws-ocp4-cis
/test e2e-aws-ocp4-cis-node

Let's kick off a couple tests to see if it picks up the new assertion files. Also, we should make sure we look for the coverage percentages to make sure they remain consistent and we didn't accidentally introduce any drift.

@Vincent056
Copy link
Copy Markdown
Contributor Author

/test e2e-aws-ocp4-cis
/test e2e-aws-ocp4-cis-node

@rhmdnd
Copy link
Copy Markdown
Collaborator

rhmdnd commented Apr 22, 2024

/test 4.13-e2e-aws-ocp4-cis
/test 4.13-e2e-aws-ocp4-cis-node
/test 4.13-e2e-aws-ocp4-e8
/test 4.13-e2e-aws-ocp4-high
/test 4.13-e2e-aws-ocp4-high-node
/test 4.13-e2e-aws-ocp4-moderate
/test 4.13-e2e-aws-ocp4-moderate-node
/test 4.13-e2e-aws-ocp4-pci-dss
/test 4.13-e2e-aws-ocp4-pci-dss-node
/test 4.13-e2e-aws-ocp4-stig
/test 4.13-e2e-aws-ocp4-stig-node
/test 4.13-e2e-aws-rhcos4-e8
/test 4.13-e2e-aws-rhcos4-high
/test 4.13-e2e-aws-rhcos4-moderate
/test 4.13-e2e-aws-rhcos4-stig

@rhmdnd
Copy link
Copy Markdown
Collaborator

rhmdnd commented Apr 22, 2024

The CIS results look accurate with previous know values. Kicking off some more runs to test all 4.13 assertions.

@Vincent056
Copy link
Copy Markdown
Contributor Author

/test 4.13-e2e-aws-ocp4-cis
/test 4.13-e2e-aws-ocp4-cis-node
/test 4.13-e2e-aws-ocp4-e8
/test 4.13-e2e-aws-ocp4-high
/test 4.13-e2e-aws-ocp4-high-node
/test 4.13-e2e-aws-ocp4-moderate
/test 4.13-e2e-aws-ocp4-moderate-node
/test 4.13-e2e-aws-ocp4-pci-dss
/test 4.13-e2e-aws-ocp4-pci-dss-node
/test 4.13-e2e-aws-ocp4-stig
/test 4.13-e2e-aws-ocp4-stig-node
/test 4.13-e2e-aws-rhcos4-e8
/test 4.13-e2e-aws-rhcos4-high
/test 4.13-e2e-aws-rhcos4-moderate
/test 4.13-e2e-aws-rhcos4-stig

@@ -0,0 +1,1447 @@
rule_results:
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.

Looks like the rhcos4-e8 CI is failing on 4.13 because we don't have an assertion file for that scenario, yet:

 2024/04/22 16:13:16 E2E-INFO: No global test file or current version test file found, checking for other versioned files in /go/src/github.com/ComplianceAsCode/content/linux_os/guide/auditing/auditd_configure_rules/audit_login_events/audit_rules_login_events_faillock/tests/ocp4
    helpers.go:836: E2E-FAILURE: the rule directory tests/ocp4 contains versioned files, but none for 4.13

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.

I proposed this in a separate patch so that we don't need to respin this one if we don't have to.

#11866

@rhmdnd
Copy link
Copy Markdown
Collaborator

rhmdnd commented Apr 22, 2024

Looks like the rest of the failures in the 4.13 tests were due to OVN or CNI assertion issues, which I believe @yuumasato has a patch to fix.

#11861

@Vincent056 Vincent056 force-pushed the assertion_new branch 2 times, most recently from db148f8 to 36b03c5 Compare April 23, 2024 10:55
@Vincent056
Copy link
Copy Markdown
Contributor Author

Vincent056 commented Apr 23, 2024

/test 4.14-e2e-aws-ocp4-cis
/test 4.14-e2e-aws-ocp4-cis-node
/test 4.14-e2e-aws-ocp4-e8
/test 4.14-e2e-aws-ocp4-high
/test 4.14-e2e-aws-ocp4-high-node
/test 4.14-e2e-aws-ocp4-moderate
/test 4.14-e2e-aws-ocp4-moderate-node
/test 4.14-e2e-aws-ocp4-pci-dss
/test 4.14-e2e-aws-ocp4-pci-dss-node
/test 4.14-e2e-aws-ocp4-stig
/test 4.14-e2e-aws-ocp4-stig-node
/test 4.14-e2e-aws-rhcos4-e8
/test 4.14-e2e-aws-rhcos4-high
/test 4.14-e2e-aws-rhcos4-moderate
/test 4.14-e2e-aws-rhcos4-stig

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Apr 23, 2024

@Vincent056: The specified target(s) for /test were not found.
The following commands are available to trigger required jobs:

  • /test 4.13-e2e-aws-ocp4-cis
  • /test 4.13-e2e-aws-ocp4-cis-node
  • /test 4.13-e2e-aws-ocp4-e8
  • /test 4.13-e2e-aws-ocp4-high
  • /test 4.13-e2e-aws-ocp4-high-node
  • /test 4.13-e2e-aws-ocp4-moderate
  • /test 4.13-e2e-aws-ocp4-moderate-node
  • /test 4.13-e2e-aws-ocp4-pci-dss
  • /test 4.13-e2e-aws-ocp4-pci-dss-node
  • /test 4.13-e2e-aws-ocp4-stig
  • /test 4.13-e2e-aws-ocp4-stig-node
  • /test 4.13-e2e-aws-rhcos4-e8
  • /test 4.13-e2e-aws-rhcos4-high
  • /test 4.13-e2e-aws-rhcos4-moderate
  • /test 4.13-e2e-aws-rhcos4-stig
  • /test 4.13-images
  • /test 4.14-images
  • /test 4.15-e2e-aws-ocp4-cis
  • /test 4.15-e2e-aws-ocp4-cis-node
  • /test 4.15-e2e-aws-ocp4-e8
  • /test 4.15-e2e-aws-ocp4-high
  • /test 4.15-e2e-aws-ocp4-high-node
  • /test 4.15-e2e-aws-ocp4-moderate
  • /test 4.15-e2e-aws-ocp4-moderate-node
  • /test 4.15-e2e-aws-ocp4-pci-dss
  • /test 4.15-e2e-aws-ocp4-pci-dss-node
  • /test 4.15-e2e-aws-ocp4-stig
  • /test 4.15-e2e-aws-ocp4-stig-node
  • /test 4.15-e2e-aws-rhcos4-e8
  • /test 4.15-e2e-aws-rhcos4-high
  • /test 4.15-e2e-aws-rhcos4-moderate
  • /test 4.15-e2e-aws-rhcos4-stig
  • /test 4.15-images
  • /test 4.16-e2e-aws-ocp4-cis
  • /test 4.16-e2e-aws-ocp4-cis-node
  • /test 4.16-e2e-aws-ocp4-e8
  • /test 4.16-e2e-aws-ocp4-high
  • /test 4.16-e2e-aws-ocp4-high-node
  • /test 4.16-e2e-aws-ocp4-moderate
  • /test 4.16-e2e-aws-ocp4-moderate-node
  • /test 4.16-e2e-aws-ocp4-pci-dss
  • /test 4.16-e2e-aws-ocp4-pci-dss-node
  • /test 4.16-e2e-aws-ocp4-stig
  • /test 4.16-e2e-aws-ocp4-stig-node
  • /test 4.16-e2e-aws-rhcos4-e8
  • /test 4.16-e2e-aws-rhcos4-high
  • /test 4.16-e2e-aws-rhcos4-moderate
  • /test 4.16-e2e-aws-rhcos4-stig
  • /test 4.16-images
  • /test e2e-aws-ocp4-cis
  • /test e2e-aws-ocp4-cis-node
  • /test e2e-aws-ocp4-e8
  • /test e2e-aws-ocp4-high
  • /test e2e-aws-ocp4-high-node
  • /test e2e-aws-ocp4-moderate
  • /test e2e-aws-ocp4-moderate-node
  • /test e2e-aws-ocp4-pci-dss
  • /test e2e-aws-ocp4-pci-dss-node
  • /test e2e-aws-ocp4-stig
  • /test e2e-aws-ocp4-stig-node
  • /test e2e-aws-rhcos4-e8
  • /test e2e-aws-rhcos4-high
  • /test e2e-aws-rhcos4-moderate
  • /test e2e-aws-rhcos4-stig
  • /test images

Use /test all to run the following jobs that were automatically triggered:

  • pull-ci-ComplianceAsCode-content-master-4.13-images
  • pull-ci-ComplianceAsCode-content-master-4.14-images
  • pull-ci-ComplianceAsCode-content-master-4.15-images
  • pull-ci-ComplianceAsCode-content-master-4.16-images
  • pull-ci-ComplianceAsCode-content-master-images
Details

In response to this:

test 4.14-e2e-aws-ocp4-cis
/test 4.14-e2e-aws-ocp4-cis-node
/test 4.14-e2e-aws-ocp4-e8
/test 4.14-e2e-aws-ocp4-high
/test 4.14-e2e-aws-ocp4-high-node
/test 4.14-e2e-aws-ocp4-moderate
/test 4.14-e2e-aws-ocp4-moderate-node
/test 4.14-e2e-aws-ocp4-pci-dss
/test 4.14-e2e-aws-ocp4-pci-dss-node
/test 4.14-e2e-aws-ocp4-stig
/test 4.14-e2e-aws-ocp4-stig-node
/test 4.14-e2e-aws-rhcos4-e8
/test 4.14-e2e-aws-rhcos4-high
/test 4.14-e2e-aws-rhcos4-moderate
/test 4.14-e2e-aws-rhcos4-stig

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/test-infra repository.

@rhmdnd
Copy link
Copy Markdown
Collaborator

rhmdnd commented Apr 23, 2024

/test e2e-aws-ocp4-cis
/test e2e-aws-ocp4-cis-node
/test e2e-aws-ocp4-e8
/test e2e-aws-ocp4-high
/test e2e-aws-ocp4-high-node
/test e2e-aws-ocp4-moderate
/test e2e-aws-ocp4-moderate-node
/test e2e-aws-ocp4-pci-dss
/test e2e-aws-ocp4-pci-dss-node
/test e2e-aws-ocp4-stig
/test e2e-aws-ocp4-stig-node
/test e2e-aws-rhcos4-e8
/test e2e-aws-rhcos4-high
/test e2e-aws-rhcos4-moderate
/test e2e-aws-rhcos4-stig

@Vincent056
Copy link
Copy Markdown
Contributor Author

/retest

@rhmdnd
Copy link
Copy Markdown
Collaborator

rhmdnd commented Apr 24, 2024

We might want to consider rebasing this change to pickup @yuumasato's fix for the OVN rules, which should help by reducing the amount of false negatives in the tests.

@Vincent056
Copy link
Copy Markdown
Contributor Author

/test e2e-aws-ocp4-cis
/test e2e-aws-ocp4-cis-node
/test e2e-aws-ocp4-e8
/test e2e-aws-ocp4-high
/test e2e-aws-ocp4-high-node
/test e2e-aws-ocp4-moderate
/test e2e-aws-ocp4-moderate-node
/test e2e-aws-ocp4-pci-dss
/test e2e-aws-ocp4-pci-dss-node
/test e2e-aws-ocp4-stig
/test e2e-aws-ocp4-stig-node
/test e2e-aws-rhcos4-e8
/test e2e-aws-rhcos4-high
/test e2e-aws-rhcos4-moderate
/test e2e-aws-rhcos4-stig

default_result: PASS
result_after_remediation: PASS
e2e-stig-node-master-file-permissions-ovn-cni-server-sock:
default_result: PASS
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.

This didn't seem to get applied in the latest test run:

helpers.go:829: Result - Name: e2e-stig-node-master-file-permissions-ovn-cni-server-sock - Status: PASS - Severity: medium
helpers.go:836: E2E-FAILURE: The expected result for the e2e-stig-node-master-file-permissions-ovn-cni-server-sock rule didn't match. Expected 'NOT-APPLICABLE', Got 'PASS' 

e2e-stig-node-master-file-permissions-ovn-cni-server-sock:
default_result: PASS
result_after_remediation: NOT-APPLICABLE
e2e-stig-node-master-file-permissions-ovn-db-files:
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.

This didn't seem to get applied in the latest test run:

helpers.go:829: Result - Name: e2e-stig-node-master-file-permissions-ovn-db-files - Status: PASS - Severity: medium
helpers.go:836: E2E-FAILURE: The expected result for the e2e-stig-node-master-file-permissions-ovn-db-files rule didn't match. Expected 'NOT-APPLICABLE', Got 'PASS' 

default_result: NOT-APPLICABLE
result_after_remediation: NOT-APPLICABLE
e2e-stig-node-worker-file-groupowner-ovn-cni-server-sock:
default_result: PASS
Copy link
Copy Markdown
Collaborator

@rhmdnd rhmdnd Apr 25, 2024

Choose a reason for hiding this comment

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

Similar comment here:

helpers.go:829: Result - Name: e2e-stig-node-worker-file-groupowner-ovn-cni-server-sock - Status: PASS - Severity: medium
helpers.go:836: E2E-FAILURE: The expected result for the e2e-stig-node-worker-file-groupowner-ovn-cni-server-sock rule didn't match. Expected 'NOT-APPLICABLE', Got 'PASS' 

default_result: NOT-APPLICABLE
result_after_remediation: NOT-APPLICABLE
e2e-stig-node-worker-file-owner-ovn-db-files:
default_result: PASS
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.

Similar comment here:

helpers.go:829: Result - Name: e2e-stig-node-worker-file-owner-ovn-db-files - Status: PASS - Severity: medium
helpers.go:836: E2E-FAILURE: The expected result for the e2e-stig-node-worker-file-owner-ovn-db-files rule didn't match. Expected 'NOT-APPLICABLE', Got 'PASS' 

default_result: PASS
result_after_remediation: NOT-APPLICABLE
e2e-stig-node-worker-file-permissions-ovn-db-files:
default_result: PASS
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.

Similar comment here:

helpers.go:829: Result - Name: e2e-stig-node-worker-file-permissions-ovn-db-files - Status: PASS - Severity: medium
helpers.go:836: E2E-FAILURE: The expected result for the e2e-stig-node-worker-file-permissions-ovn-db-files rule didn't match. Expected 'NOT-APPLICABLE', Got 'PASS' 

@Vincent056
Copy link
Copy Markdown
Contributor Author

/test e2e-aws-ocp4-high-node
/test e2e-aws-rhcos4-high

@Vincent056
Copy link
Copy Markdown
Contributor Author

/test e2e-aws-ocp4-high-node

Vincent056 and others added 7 commits April 26, 2024 08:10
Having a organized way to manage e2e assertion files, we will have all e2e assertion files located at tests/assertions/<platform>/<product-name>-<profile-name>-<ocp-version>.ymlfor example tests/ocp4/assertions/ocp4-cis-4.14.yml
Newlines are causing CI to fail, even for test related changes. This
also clarifies the RHCOS assertion file name.
Adding ocp4-cis, ocp4-cis-node, ocp4-e8, ocp4-high, ocp4-high-node, ocp4-moderate, ocp4-moderate-node, ocp4-pci-dss, ocp4-pci-dss-node, ocp4-stig assertion files for OCP 4.13
Adding ocp4-cis, ocp4-cis-node, ocp4-e8, ocp4-high, ocp4-high-node, ocp4-moderate, ocp4-moderate-node, ocp4-pci-dss, ocp4-pci-dss-node, ocp4-stig assertion files for OCP 4.14
Added assertion files for profiles:

ocp4-cis
ocp4-cis-node
ocp4-e8
ocp4-high
ocp4-high-node
ocp4-moderate
ocp4-moderate-node
ocp4-pci-dss
ocp4-pci-dss-node
ocp4-stig
ocp4-stig-node
rhcos4-e8
rhcos4-high
rhcos4-moderate
rhcos4-stig
Let's remove result_after_remediation for rules does not have remediation, also remove it for MANUAL result
Added rhcos4-high,rhcos4-moderate, rhcos4-stig assertion fiels
@Vincent056
Copy link
Copy Markdown
Contributor Author

/test e2e-aws-ocp4-high-node

Fix rule result for file-owner-ovn-db-files, file-permissions-ovn-cni-server-sock and file-permissions-ovn-db-files
@Vincent056
Copy link
Copy Markdown
Contributor Author

/test e2e-aws-ocp4-cis
/test e2e-aws-ocp4-cis-node
/test e2e-aws-ocp4-e8
/test e2e-aws-ocp4-high
/test e2e-aws-ocp4-high-node
/test e2e-aws-ocp4-moderate
/test e2e-aws-ocp4-moderate-node
/test e2e-aws-ocp4-pci-dss
/test e2e-aws-ocp4-pci-dss-node
/test e2e-aws-ocp4-stig
/test e2e-aws-ocp4-stig-node
/test e2e-aws-rhcos4-e8
/test e2e-aws-rhcos4-high
/test e2e-aws-rhcos4-moderate
/test e2e-aws-rhcos4-stig

@qlty-cloud-legacy
Copy link
Copy Markdown

Code Climate has analyzed commit eb04585 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 59.4% (0.0% change).

View more on Code Climate.

@rhmdnd
Copy link
Copy Markdown
Collaborator

rhmdnd commented Apr 29, 2024

/test e2e-aws-ocp4-cis
/test e2e-aws-ocp4-cis-node
/test e2e-aws-ocp4-e8
/test e2e-aws-ocp4-high
/test e2e-aws-ocp4-high-node
/test e2e-aws-ocp4-moderate
/test e2e-aws-ocp4-moderate-node
/test e2e-aws-ocp4-pci-dss
/test e2e-aws-ocp4-pci-dss-node
/test e2e-aws-ocp4-stig
/test e2e-aws-ocp4-stig-node
/test e2e-aws-rhcos4-e8
/test e2e-aws-rhcos4-high
/test e2e-aws-rhcos4-moderate
/test e2e-aws-rhcos4-stig

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Apr 29, 2024

@Vincent056: 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/prow/4.13-e2e-aws-ocp4-pci-dss-node 09bf909 link true /test 4.13-e2e-aws-ocp4-pci-dss-node
ci/prow/4.13-e2e-aws-ocp4-cis-node 09bf909 link true /test 4.13-e2e-aws-ocp4-cis-node
ci/prow/4.13-e2e-aws-rhcos4-e8 09bf909 link true /test 4.13-e2e-aws-rhcos4-e8
ci/prow/4.13-e2e-aws-ocp4-stig 09bf909 link true /test 4.13-e2e-aws-ocp4-stig
ci/prow/4.13-e2e-aws-ocp4-moderate-node 09bf909 link true /test 4.13-e2e-aws-ocp4-moderate-node
ci/prow/4.13-e2e-aws-ocp4-high-node 09bf909 link true /test 4.13-e2e-aws-ocp4-high-node
ci/prow/4.13-e2e-aws-rhcos4-moderate 09bf909 link true /test 4.13-e2e-aws-rhcos4-moderate
ci/prow/4.13-e2e-aws-rhcos4-high 09bf909 link true /test 4.13-e2e-aws-rhcos4-high
ci/prow/4.13-e2e-aws-rhcos4-stig 09bf909 link true /test 4.13-e2e-aws-rhcos4-stig
ci/prow/e2e-aws-ocp4-pci-dss-node eb04585 link true /test e2e-aws-ocp4-pci-dss-node
ci/prow/e2e-aws-ocp4-cis-node eb04585 link true /test e2e-aws-ocp4-cis-node
ci/prow/e2e-aws-ocp4-pci-dss eb04585 link true /test e2e-aws-ocp4-pci-dss
ci/prow/e2e-aws-ocp4-cis eb04585 link true /test e2e-aws-ocp4-cis
ci/prow/e2e-aws-ocp4-stig eb04585 link true /test e2e-aws-ocp4-stig
ci/prow/e2e-aws-ocp4-moderate eb04585 link true /test e2e-aws-ocp4-moderate
ci/prow/e2e-aws-ocp4-high eb04585 link true /test e2e-aws-ocp4-high
ci/prow/e2e-aws-ocp4-e8 eb04585 link true /test e2e-aws-ocp4-e8
ci/prow/e2e-aws-rhcos4-moderate eb04585 link true /test e2e-aws-rhcos4-moderate
ci/prow/e2e-aws-rhcos4-high eb04585 link true /test e2e-aws-rhcos4-high

Full PR test history. Your PR dashboard.

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/test-infra repository. I understand the commands that are listed here.

Copy link
Copy Markdown
Collaborator

@rhmdnd rhmdnd left a comment

Choose a reason for hiding this comment

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

/lgtm

Let's land these updates and fine tune the results in follow on patches. This will at least fix some of our CI.

@rhmdnd rhmdnd merged commit 2218bb4 into ComplianceAsCode:master Apr 30, 2024
@Mab879 Mab879 added this to the 0.1.74 milestone Apr 30, 2024
@Mab879 Mab879 added the Test Suite Update in Test Suite. label Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OpenShift OpenShift product related. Test Suite Update in Test Suite.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants