The conditional check ''negative_results' in name.value ' failed during set_fact

Bug #1977716 reported by chandan kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Jiri Podivin

Bug Description

periodic-tripleo-ci-centos-9-containers-multinode-tripleo-wallaby-validation[1] job is consistently failing at following steps[2] in component pipeline
```
TASK [validations : set fact for run_results] **********************************
2022-06-01 17:29:44.261943 | primary | Wednesday 01 June 2022 17:29:44 -0400 (0:00:05.109) 0:53:58.484 ********
2022-06-01 17:29:44.285070 | primary | skipping: [undercloud]
2022-06-01 17:29:44.302098 | primary |
2022-06-01 17:29:44.302131 | primary | TASK [validations : Set fact for extra args.] **********************************
2022-06-01 17:29:44.302161 | primary | Wednesday 01 June 2022 17:29:44 -0400 (0:00:00.040) 0:53:58.524 ********
2022-06-01 17:29:44.330016 | primary | fatal: [undercloud]: FAILED! => {"msg": "The conditional check ''negative_results' in name.value ' failed. The error was: Unexpected templating type error occurred on ({% if 'negative_results' in name.value %} True {% else %} False {% endif %}): argument of type 'NoneType' is not iterable\n\nThe error appears to be in '/usr/share/ansible/roles/validations/tasks/run.yaml': line 4, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n block:\n - name: Set fact for extra args.\n ^ here\n"}
2022-06-01 17:29:44.331568 | primary |
```
It is failing at this step: https://opendev.org/openstack/validations-common/src/branch/master/roles/validations/tasks/run.yaml#L4

Based on this https://opendev.org/openstack/validations-common/commits/branch/master there is suspecious merged in the triple-validations repo.

Filing this bug to track the issue.

Links:

[1]. https://review.rdoproject.org/zuul/builds?job_name=periodic-tripleo-ci-centos-9-containers-multinode-tripleo-wallaby-validation

[2]. https://logserver.rdoproject.org/openstack-component-tripleo/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-9-containers-multinode-tripleo-wallaby-validation/1e58cc7/job-output.txt

summary: - The conditional check ''negative_results' in name.value ' failed
+ The conditional check ''negative_results' in name.value ' failed during
+ set_fact
Jiri Podivin (jpodivin)
Changed in tripleo:
assignee: nobody → Jiri Podivin (jpodivin)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to validations-common (master)
Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to validations-common (master)

Reviewed: https://review.opendev.org/c/openstack/validations-common/+/844823
Committed: https://opendev.org/openstack/validations-common/commit/e8a183e34a21dfe1a1ad6b1639194a0675a72195
Submitter: "Zuul (22348)"
Branch: master

commit e8a183e34a21dfe1a1ad6b1639194a0675a72195
Author: Jiri Podivin <email address hidden>
Date: Mon Jun 6 12:05:30 2022 +0200

    Restoring variables lost in merge commit

    Closes-Bug: #1977716

    Signed-off-by: Jiri Podivin <email address hidden>
    Change-Id: Ia7c0fb0da2346c975b39a7c2a30c1083d6c190c6

Changed in tripleo:
status: In Progress → Fix Released
Jiri Podivin (jpodivin)
Changed in tripleo:
status: Fix Released → In Progress
Revision history for this message
Jiri Podivin (jpodivin) wrote :

The error is no longer present in recent executions of the job.
Closing.

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/validations-common 1.8.0

This issue was fixed in the openstack/validations-common 1.8.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.