tripleo-ci-centos-8-standalone-tv-validation failing the tripleo-validations/stable/train due to log path mismatch.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
mathieu bultel |
Bug Description
Job is failing due to mismatch in the log path determination between the validations-common, validations-libs and tripleo-
Trace:
------
2021-06-25 17:22:50.053216 | primary | TASK [Run validations] *******
2021-06-25 17:22:50.053306 | primary | Friday 25 June 2021 17:22:50 +0000 (0:00:00.211) 0:42:42.243 ***********
2021-06-25 17:22:55.116995 | primary | fatal: [undercloud]: FAILED! => {
2021-06-25 17:22:55.117090 | primary | "changed": true,
2021-06-25 17:22:55.117121 | primary | "cmd": "validation run --validation check-cpu --validation-dir /usr/share/
2021-06-25 17:22:55.117145 | primary | "delta": "0:00:04.550239",
2021-06-25 17:22:55.117167 | primary | "end": "2021-06-25 17:22:55.086073",
2021-06-25 17:22:55.117205 | primary | "rc": 1,
2021-06-25 17:22:55.117229 | primary | "start": "2021-06-25 17:22:50.535834"
2021-06-25 17:22:55.117250 | primary | }
2021-06-25 17:22:55.117271 | primary |
2021-06-25 17:22:55.117294 | primary | STDOUT:
2021-06-25 17:22:55.117343 | primary |
2021-06-25 17:22:55.117368 | primary | [WARNING]: Skipping key (deprecated) in group (overcloud) as it is not a
2021-06-25 17:22:55.117388 | primary | mapping, it is a <class 'ansible.
2021-06-25 17:22:55.117409 | primary | [WARNING]: Found both group and host with same name: standalone
2021-06-25 17:22:55.117430 | primary |
2021-06-25 17:22:55.117451 | primary | PLAY [localhost] *******
2021-06-25 17:22:55.117472 | primary |
2021-06-25 17:22:55.117493 | primary | TASK [check_cpu : Gather facts] *******
2021-06-25 17:22:55.117529 | primary | Friday 25 June 2021 17:22:53 +0000 (0:00:00.066) 0:00:00.066 ***********
2021-06-25 17:22:55.117553 | primary | ok: [localhost]
2021-06-25 17:22:55.117574 | primary |
2021-06-25 17:22:55.117595 | primary | TASK [check_cpu : Verify the number of CPU cores] *******
2021-06-25 17:22:55.117619 | primary | Friday 25 June 2021 17:22:54 +0000 (0:00:01.260) 0:00:01.326 ***********
2021-06-25 17:22:55.117640 | primary | ok: [localhost]
2021-06-25 17:22:55.117660 | primary |
2021-06-25 17:22:55.117680 | primary | PLAY RECAP *******
2021-06-25 17:22:55.117706 | primary | localhost : ok=2 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
2021-06-25 17:22:55.117728 | primary | Friday 25 June 2021 17:22:54 +0000 (0:00:00.172) 0:00:01.499 ***********
2021-06-25 17:22:55.117749 | primary | =======
2021-06-25 17:22:55.117769 | primary | check_cpu : Gather facts -------
2021-06-25 17:22:55.117790 | primary | check_cpu : Verify the number of CPU cores -------
2021-06-25 17:22:55.117811 | primary |
2021-06-25 17:22:55.117831 | primary |
2021-06-25 17:22:55.117851 | primary | STDERR:
2021-06-25 17:22:55.117871 | primary |
2021-06-25 17:22:55.117892 | primary | No validation has been run, please check log in the Ansible working directory.
2021-06-25 17:22:55.117912 | primary |
2021-06-25 17:22:55.117932 | primary |
2021-06-25 17:22:55.117952 | primary | MSG:
2021-06-25 17:22:55.117973 | primary |
2021-06-25 17:22:55.117993 | primary | non-zero return code
Examples of failed jobs:
-------
https:/
https:/
The underlying issue has been known for a significant amount of time, and there were several attempts to fix it.
In short, VF determines which validations were run, and the results, by reading stored logs. Originally there was no notification about failed attempt to write the logs, and so the first issues became apparent only during the subsequent retrieval.
Recent patches largely removed this issue, most notably the https:/
Unfortunately there are still inconsistencies in the behavior, between the validations-libs, validations-common and tripleo-
That, as it emerged during the discussion, were irreconcilable.
Unfortunately, one patch attempting to unify behavior across VF was merged anyway and created the issue detailed.
Changed in tripleo: | |
assignee: | nobody → mathieu bultel (mat-bultel) |
Changed in tripleo: | |
milestone: | none → xena-rc1 |
tags: | added: promotion-blocker |
description: | updated |
description: | updated |
Changed in tripleo: | |
status: | Triaged → Fix Released |
http:// paste.openstack .org/show/ 806988/
https:/ /zuul.openstack .org/builds? job_name= tripleo- ci-centos- 8-standalone- tv-validation& branch= stable% 2Ftrain
2021-06-25 17:22:55.117851 | primary | STDERR:
2021-06-25 17:22:55.117871 | primary |
2021-06-25 17:22:55.117892 | primary | No validation has been run, please check log in the Ansible working directory.
2021-06-25 17:22:55.117912 | primary |
2021-06-25 17:22:55.117932 | primary |
2021-06-25 17:22:55.117952 | primary | MSG:
2021-06-25 17:22:55.117973 | primary |
2021-06-25 17:22:55.117993 | primary | non-zero return code