Negative tests for VF validations are being needlessly iterated over polluting logs
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/
2022-06-06 16:51:51.505110 | primary | included: /usr/share/
2022-06-06 16:51:51.506995 | primary | included: /usr/share/
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-
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/
2022-06-06 16:51:51.625535 | primary | ...ignoring