Skip to content

OLM test failed on local #305

@vaibhavjainwiz

Description

@vaibhavjainwiz

I am facing below error while running OLM test on Kogito operator at local setup.
Error logs:

TASK [operator_info : Adding operator version label to 'oi_auto_labels'] *******
fatal: [localhost]: FAILED! => 
  msg: |-
    The conditional check 'cluster_type == "ocp"' failed. The error was: error while evaluating conditional (cluster_type == "ocp"): 'cluster_type' is undefined
  
    The error appears to be in '/playbooks/upstream/roles/operator_info/tasks/op_info_ver.yml': line 157, column 3, but may
    be elsewhere in the file depending on the exact syntax problem.
  
    The offending line appears to be:

I am running OLM test using below cmd:

SCRIPT_URL="https://raw.githubusercontent.com/redhat-openshift-ecosystem/operator-test-playbooks/master/upstream/test/test.sh"
export OP_TEST_ANSIBLE_PULL_REPO=https://github.com/redhat-openshift-ecosystem/operator-test-playbooks
bash <(curl -sL "${SCRIPT_URL}") kiwi  community-operators/kogito-operator/"${version}"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions