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 a scap remediation feature test #15491

Merged
merged 5 commits into from
Jul 1, 2024

Conversation

lhellebr
Copy link
Contributor

@lhellebr lhellebr commented Jun 24, 2024

Problem Statement

https://issues.redhat.com/browse/SAT-23240

Solution

Add an entity in airgun and test through WebUI (this is a WebUI-only feature). Create a host, run a scan, remediate an issue.

Requires SatelliteQE/airgun#1441

@lhellebr lhellebr requested a review from a team as a code owner June 24, 2024 15:05
@lhellebr lhellebr added the No-CherryPick PR doesnt need CherryPick to previous branches label Jun 24, 2024
@lhellebr
Copy link
Contributor Author

trigger: test-robottelo
pytest: tests/foreman/longrun/test_oscap.py::test_positive_oscap_remediation
airgun: 1441

1 similar comment
@lhellebr
Copy link
Contributor Author

trigger: test-robottelo
pytest: tests/foreman/longrun/test_oscap.py::test_positive_oscap_remediation
airgun: 1441

@Satellite-QE
Copy link
Collaborator

PRT Result

Build Number: 7503
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/longrun/test_oscap.py::test_positive_oscap_remediation --external-logging
Test Result : ================= 1 passed, 16 warnings in 1305.16s (0:21:45) ==================

@Satellite-QE Satellite-QE added the PRT-Passed Indicates that latest PRT run is passed for the PR label Jun 25, 2024
@lhellebr
Copy link
Contributor Author

trigger: test-robottelo
pytest: tests/foreman/longrun/test_oscap.py::test_positive_oscap_remediation
airgun: 1441

@lhellebr lhellebr requested a review from a team June 25, 2024 15:27
@Satellite-QE
Copy link
Collaborator

PRT Result

Build Number: 7526
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/longrun/test_oscap.py::test_positive_oscap_remediation --external-logging
Test Result : ================= 1 passed, 16 warnings in 1324.84s (0:22:04) ==================


:steps:

1. Create a valid scap content
Copy link
Contributor

Choose a reason for hiding this comment

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

I think, this step need to remove as this is part of setup.

tests/foreman/longrun/test_oscap.py Show resolved Hide resolved
tests/foreman/longrun/test_oscap.py Outdated Show resolved Hide resolved
pondrejk and others added 2 commits July 1, 2024 13:52
Co-authored-by: vijay sawant <visawant@redhat.com>
Co-authored-by: vijay sawant <visawant@redhat.com>
@Satellite-QE Satellite-QE removed the PRT-Passed Indicates that latest PRT run is passed for the PR label Jul 1, 2024
@pondrejk pondrejk added the PRT-Passed Indicates that latest PRT run is passed for the PR label Jul 1, 2024
@pondrejk
Copy link
Contributor

pondrejk commented Jul 1, 2024

trigger: test-robottelo
pytest: tests/foreman/longrun/test_oscap.py::test_positive_oscap_remediation
airgun: 1441

@Satellite-QE
Copy link
Collaborator

PRT Result

Build Number: 7593
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/longrun/test_oscap.py::test_positive_oscap_remediation --external-logging
Test Result : ================= 1 passed, 16 warnings in 1286.53s (0:21:26) ==================

@pondrejk
Copy link
Contributor

pondrejk commented Jul 1, 2024

pre-commit.ci autofix

@Satellite-QE Satellite-QE removed the PRT-Passed Indicates that latest PRT run is passed for the PR label Jul 1, 2024
@pondrejk pondrejk merged commit 204c9a4 into SatelliteQE:master Jul 1, 2024
9 checks passed
jyejare pushed a commit to jyejare/robottelo that referenced this pull request Oct 19, 2024
* Add a scap remediation feature test

* Update tests/foreman/longrun/test_oscap.py

Co-authored-by: vijay sawant <visawant@redhat.com>

* Update tests/foreman/longrun/test_oscap.py

Co-authored-by: vijay sawant <visawant@redhat.com>

* Update test_oscap.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: Peter Ondrejka <pondrejk@users.noreply.github.com>
Co-authored-by: vijay sawant <visawant@redhat.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
No-CherryPick PR doesnt need CherryPick to previous branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants