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

[ROSA HCP] test_db_scc correct service acc namespace #11074

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

Conversation

DanielOsypenko
Copy link
Contributor

prevent failure with output:

[2024-11-25T21:25:03.352Z]         log.info(f"Verifying {service_account} was added to the anyuid scc")
[2024-11-25T21:25:03.352Z] >       assert helpers.validate_scc_policy(
[2024-11-25T21:25:03.352Z]             sa_name=scc_name,
[2024-11-25T21:25:03.352Z]             namespace=config.ENV_DATA["cluster_namespace"],
[2024-11-25T21:25:03.352Z]             scc_name=constants.ANYUID,
[2024-11-25T21:25:03.352Z]         ), "SA name is not present in anyuid scc"
[2024-11-25T21:25:03.352Z] �[1m�[31mE       AssertionError: SA name is not present in anyuid scc�[0m
[2024-11-25T21:25:03.352Z] �[1m�[31mE       assert False�[0m
[2024-11-25T21:25:03.352Z] �[1m�[31mE        +  where False = <function validate_scc_policy at 0x7fb730d11670>(sa_name='noobaa-db', namespace='odf-storage', scc_name='anyuid')�[0m
[2024-11-25T21:25:03.352Z] �[1m�[31mE        +    where <function validate_scc_policy at 0x7fb730d11670> = helpers.validate_scc_policy�[0m
[2024-11-25T21:25:03.352Z] �[1m�[31mE        +    and   'anyuid' = constants.ANYUID�[0m
[2024-11-25T21:25:03.352Z] 
[2024-11-25T21:25:03.352Z] �[1m�[31mtests/functional/object/mcg/test_mcg_resources_disruptions.py�[0m:275: AssertionError
[2024-11-25T21:25:03.352Z] 

Copy link

openshift-ci bot commented Dec 24, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: DanielOsypenko, sagihirshfeld

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

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.

2 participants