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

Adjust noobaa tests to handle the external DB type of deployment. #9721

Open
petr-balogh opened this issue Apr 24, 2024 · 0 comments
Open

Adjust noobaa tests to handle the external DB type of deployment. #9721

petr-balogh opened this issue Apr 24, 2024 · 0 comments
Assignees

Comments

@petr-balogh
Copy link
Member

Failures from run:
https://url.corp.redhat.com/9de7ba3

E.g.:
test_noobaa_postgres_cm_post_ocs_upgrade

ocs_ci.ocs.exceptions.CommandFailed: Error during execution of command: oc --kubeconfig /home/jenkins/current-cluster-dir/openshift-cluster-dir/auth/kubeconfig -n openshift-storage get ConfigMap noobaa-postgres-config -n openshift-storage -o yaml.
Error is Error from server (NotFound): configmaps "noobaa-postgres-config" not found

Those two:
test_unidirectional_bucketclass_replication_AWStoGCP_BC_Hybrid_
test_disabled_object_expiration
Fails with:

        source_bucket_name = source_bucket.name
        full_object_path = f"s3://{source_bucket_name}"
        nb_db_pod = Pod(
            **(
>               get_pods_having_label(
                    label=constants.NOOBAA_DB_LABEL_47_AND_ABOVE,
                    namespace=config.ENV_DATA["cluster_namespace"],
                )[0]
            )
        )
E       IndexError: list index out of range

tests/functional/object/mcg/test_bucket_replication.py:410: IndexError

test_verify_noobaa_db_service

                )
E               ocs_ci.ocs.exceptions.CommandFailed: Error during execution of command: oc -n openshift-storage logs noobaa-db-pg-0.
E               Error is Error from server (NotFound): pods "noobaa-db-pg-0" not found

ocs_ci/utility/utils.py:687: CommandFailed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants