
Ansible tasks that fail within block tasks call the failure callback, which means that they triggered Zuul early failure detection even if they were later rescued. To avoid this, ignore block tasks for purposes of early failure detection. Also make early failure detection "sticky". This helps uncover errors like this (the "remote" tests uncover this particular failure if the result is made sticky), and also ensures consistent behavior in dependent pipelines. Change-Id: I505667678e7384386819b5389036e4fb4f108afd
11 lines
441 B
YAML
11 lines
441 B
YAML
---
|
|
fixes:
|
|
- |
|
|
Ansible task failures in block/rescue stanzas could cause Zuul to
|
|
erroneously trigger early-failure behavior for the build, which
|
|
could result in inconsistent behavior in a dependent pipeline.
|
|
Task failures in Ansible blocks are no longer considered for early
|
|
failure detection, and if a build encounters an early failure, it
|
|
will cause the build result to be reported as a failure in all
|
|
cases.
|