Skip to content

Need help with PR check failures #6921

@chaganti-rajitha

Description

@chaganti-rajitha

We are seeing some issue with PR runs in the PR- #6916 that we raised for certification. Not able to identify the root cause for this. Can you please help in identifying the root cause.

Here are the log details:

TASK [operator_info_load : Show difference if failing] *************************
[ERROR]: Task failed: Conditional result (False) was derived from value of type 'list' at '/home/runner/.ansible/pull/runnervm3ublj.afbk53mwdokuzembgeyxeplq0b.ex.internal.cloudapp.net/upstream/roles/operator_info_load/tasks/op_info_consistency.yml:27:9'. Conditionals must have a boolean result.

Task failed.
Origin: /home/runner/.ansible/pull/runnervm3ublj.afbk53mwdokuzembgeyxeplq0b.ex.internal.cloudapp.net/upstream/roles/operator_info_load/tasks/op_info_consistency.yml:24:3

22     oi_check_operator_info_keys: "{{ op_info.keys() | list }}"
23
24 - name: "Show difference if failing"
     ^ column 3

<<< caused by >>>

Conditional result (False) was derived from value of type 'list' at '/home/runner/.ansible/pull/runnervm3ublj.afbk53mwdokuzembgeyxeplq0b.ex.internal.cloudapp.net/upstream/roles/operator_info_load/tasks/op_info_consistency.yml:27:9'. Conditionals must have a boolean result.
Origin: /home/runner/.ansible/pull/runnervm3ublj.afbk53mwdokuzembgeyxeplq0b.ex.internal.cloudapp.net/upstream/roles/operator_info_load/tasks/op_info_consistency.yml:27:9

25   debug:
26     var: oi_check_operators_artifact
27   when: oi_check_operators_artifact|difference(oi_check_operator_info_keys)
           ^ column 9

Broken conditionals can be temporarily allowed with the `ALLOW_BROKEN_CONDITIONALS` configuration option.

fatal: [localhost]: FAILED! => 
  msg: 'Task failed: Conditional result (False) was derived from value of type ''list'' at ''/home/runner/.ansible/pull/runnervm3ublj.afbk53mwdokuzembgeyxeplq0b.ex.internal.cloudapp.net/upstream/roles/operator_info_load/tasks/op_info_consistency.yml:27:9''. Conditionals must have a boolean result.'

PLAY RECAP *********************************************************************
localhost                  : ok=966  changed=142  unreachable=0    failed=1    skipped=841  rescued=0    ignored=0   

Starting Ansible Pull at 2025-09-25 13:21:32
/opt/pipx_bin/ansible-pull -U https://github.com/redhat-openshift-ecosystem/operator-test-playbooks -C upstream-community -i localhost, -e run_upstream=true -e run_prepare_catalog_repo_upstream=false -e run_remove_catalog_repo=false upstream/local.yml --tags reset_tools,operator_info -e operator_dir=/home/runner/work/community-operators/community-operators/operators/operators/dell-csm-operator -e cluster_type=k8s -e strict_cluster_version_labels=true -e strict_k8s_bundles=true -e production_registry_namespace=quay.io/operatorhubio -e manifest_format_disabled=true
Error: Process completed with exit code 2.

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