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

Do not run package_audit-libs_installed package removal test scenarios #12099

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

mildas
Copy link
Contributor

@mildas mildas commented Jun 27, 2024

Description:

Exclude test scenarios that remove audit-libs package.

Rationale:

After removing the package, it's not possible to ssh to the system:

kex_exchange_identification: read: Connection reset by peer
Connection reset by 192.168.122.110 port 22
Failed to connect!

causing:

ERROR - Script package-installed-removed.fail.sh using profile (all) found issue:
ERROR - Rule xccdf_org.ssgproject.content_rule_package_audit-libs_installed has not been evaluated! Wrong profile selected in test scenario or there has been problem starting the evaluation. Please inspect the log file /home/mlysonek/SCAP/content/logs/rule-custom-2024-06-27-1521/package_audit-libs_installed-package-installed-removed.fail.sh-initial.verbose.log for details.
ERROR - The initial scan failed for rule 'xccdf_org.ssgproject.content_rule_package_audit-libs_installed'.

Review Hints:

$ python3 tests/automatus.py rule --datastream build/ssg-rhel9-ds.xml --libvirt qemu:///session test-suite-rhel9 --no-reports package_audit-libs_installed

@mildas mildas added the Test Suite Update in Test Suite. label Jun 27, 2024
Copy link

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

Fedora Environment
Open in Gitpod

Oracle Linux 8 Environment
Open in Gitpod

Copy link

github-actions bot commented Jun 27, 2024

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

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:12099

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

@Mab879 Mab879 added this to the 0.1.74 milestone Jun 27, 2024
@Mab879 Mab879 self-assigned this Jun 27, 2024
Copy link
Member

@Mab879 Mab879 left a comment

Choose a reason for hiding this comment

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

Please take a look at the testing farm failures.

@mildas mildas force-pushed the exclude_audit-libs_removal branch from d38c22f to f4926b9 Compare June 28, 2024 14:07
Copy link

codeclimate bot commented Jun 28, 2024

Code Climate has analyzed commit f4926b9 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.

@mildas
Copy link
Contributor Author

mildas commented Jun 28, 2024

@Mab879 Done

@Mab879 Mab879 merged commit 1fdaed5 into ComplianceAsCode:master Jun 28, 2024
92 of 93 checks passed
@mildas mildas deleted the exclude_audit-libs_removal branch July 17, 2024 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Test Suite Update in Test Suite.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants