Negative tests for VF validations are being needlessly iterated over polluting logs

Bug #1978478 reported by Jiri Podivin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Triaged
Low
Jiri Podivin

Bug Description

Validations executed for components don't have negative complements defined,
causing the "Run negative validation tests" to loop needlessly over them,
filling the log with ignored syntax errors.

Trace:
------
2022-06-06 16:51:51.399343 | primary | TASK [validations : Run negative validation tests] *****************************
2022-06-06 16:51:51.399363 | primary | Monday 06 June 2022 16:51:51 -0400 (0:00:00.033) 0:46:37.196 ***********
2022-06-06 16:51:51.503012 | primary | included: /usr/share/ansible/roles/validations/tasks/run.yaml for undercloud => (item={'key': 'undercloud-process-count', 'value': {'extra_args': '', 'extra_env_args': ''}})
2022-06-06 16:51:51.505110 | primary | included: /usr/share/ansible/roles/validations/tasks/run.yaml for undercloud => (item={'key': 'tripleo-latest-packages-version', 'value': {'extra_args': '', 'extra_env_args': ''}})
2022-06-06 16:51:51.506995 | primary | included: /usr/share/ansible/roles/validations/tasks/run.yaml for undercloud => (item={'key': 'check-for-dangling-images', 'value': {'extra_args': '', 'extra_env_args': ''}})
2022-06-06 16:51:51.523826 | primary |
2022-06-06 16:51:51.523865 | primary | TASK [validations : Set fact for extra args.] **********************************
2022-06-06 16:51:51.523882 | primary | Monday 06 June 2022 16:51:51 -0400 (0:00:00.124) 0:46:37.320 ***********
2022-06-06 16:51:51.546098 | primary | skipping: [undercloud]
2022-06-06 16:51:51.561181 | primary |
2022-06-06 16:51:51.561218 | primary | TASK [validations : Execute Validations undercloud-process-count] **************
2022-06-06 16:51:51.561256 | primary | Monday 06 June 2022 16:51:51 -0400 (0:00:00.037) 0:46:37.357 ***********
2022-06-06 16:51:51.586054 | primary | skipping: [undercloud]
2022-06-06 16:51:51.601286 | primary |
2022-06-06 16:51:51.601314 | primary | TASK [validations : set fact for run_results] **********************************
2022-06-06 16:51:51.601371 | primary | Monday 06 June 2022 16:51:51 -0400 (0:00:00.040) 0:46:37.398 ***********
2022-06-06 16:51:51.625487 | primary | fatal: [undercloud]: FAILED! => {"msg": "The conditional check 'run_results.rc != expected_rc' failed. The error was: error while evaluating conditional (run_results.rc != expected_rc): 'dict object' has no attribute 'rc'\n\nThe error appears to be in '/usr/share/ansible/roles/validations/tasks/run.yaml': line 26, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: set fact for run_results\n ^ here\n"}
2022-06-06 16:51:51.625535 | primary | ...ignoring

Tags: ci
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.