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

Updated in-transit encryption test automation for enable/disable operations. #11121

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

Conversation

paraggit
Copy link
Contributor

@paraggit paraggit commented Jan 7, 2025

    Test to validate in-transit encryption enable-disable state transitions.

       Steps:
        1. Create a cephfs, rpd pvcs with different access mode.
        2. Change in-transit Encryption state.
        3. Create a pods and attach the PVC to it.
        4. Start IO from  All pods.
        5. During the IO running on the pod toggle intransit encryption state.

@paraggit paraggit requested a review from a team as a code owner January 7, 2025 16:06
@pull-request-size pull-request-size bot added the size/L PR that changes 100-499 lines label Jan 7, 2025
Copy link

openshift-ci bot commented Jan 7, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: paraggit

The full list of commands accepted by this bot can be found 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

@paraggit paraggit requested review from ebenahar and shyRozen January 7, 2025 16:08
Copy link

@ocs-ci ocs-ci left a comment

Choose a reason for hiding this comment

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

PR validation

Cluster Name:
Cluster Configuration:
PR Test Suite: tier1
PR Test Path: tests/functional/encryption/test_intransit_encryption_sanity.py
Additional Test Params:
OCP VERSION: 4.18
OCS VERSION: 4.18
tested against branch: master

Job FAILED (installation failed, tests not executed).

Copy link

@ocs-ci ocs-ci left a comment

Choose a reason for hiding this comment

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

PR validation

Cluster Name:
Cluster Configuration:
PR Test Suite: tier1
PR Test Path: tests/functional/encryption/test_intransit_encryption_sanity.py
Additional Test Params:
OCP VERSION: 4.18
OCS VERSION: 4.18
tested against branch: master

Job PASSED.

@paraggit paraggit added the Verified Mark when PR was verified and log provided label Jan 8, 2025
set_in_transit_encryption()
else:
set_in_transit_encryption(enabled=False)
initial_state = config.ENV_DATA.get("in_transit_encryption", False)
Copy link
Contributor

Choose a reason for hiding this comment

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

wouldn't this teardown be applicable to other existing or future tests? If so, suggest placing it in conftest.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/L PR that changes 100-499 lines Verified Mark when PR was verified and log provided
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants