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

OLM test failed on local #305

Open
vaibhavjainwiz opened this issue Jan 7, 2022 · 4 comments
Open

OLM test failed on local #305

vaibhavjainwiz opened this issue Jan 7, 2022 · 4 comments

Comments

@vaibhavjainwiz
Copy link

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}"
@vaibhavjainwiz
Copy link
Author

I am also suprised where Adding operator version label to 'oi_auto_labels' task is define. I didn't find it in redhat-openshift-ecosystem/operator-test-playbooks

@vaibhavjainwiz
Copy link
Author

any update would be helpful

1 similar comment
@vaibhavjainwiz
Copy link
Author

any update would be helpful

@vaibhavjainwiz
Copy link
Author

@J0zi @mvalarh

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

1 participant