CI: exit codes and results of shell tasks are ignored in quickstart
Bug #1676156 reported by
Sagi (Sergey) Shnaidman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
Sagi (Sergey) Shnaidman |
Bug Description
After we enabled adding timestamps in log files which was added by piped command, we lost status codes of first command in pipe:
command | awk ..add_timestamp_.. 2>&1 > command.log
awk
When "command" fails, the ansible shell task ignores it and consider result code of "awk" command only, because bash by default doesn't enable pipefail.
In bottom line: almost all failures in quickstart jobs will be ignored now and jobs will pass.
Changed in tripleo: | |
assignee: | nobody → Sagi (Sergey) Shnaidman (sshnaidm) |
tags: | removed: alert |
Changed in tripleo: | |
status: | Triaged → Fix Released |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/450023
Review: https:/