5bc9e87da1
I just saw in the trace output of a failure > grep -o 'CentOS-.[^>]*GenericCloud-.[^>]*.qcow2' > sort -r > head -1 sort: fflush failed: 'standard output': Broken pipe sort: write error i.e. the "head -1" has exited after reading one line, but "sort -r" still wants to write and thus has hit a pipe failure, and because we run with "-o pipefail" this has halted the script. This seems like it has been there more or less forever, maybe we just got lucky hitting it now? Anyway, we can work around this by using a process substitution and passing the output of this into head, this way we won't hit a pipe failure. I also updated the fedora path as it does the same thing. Change-Id: I44d97e5bb31702aacf396e0229329a2ef9c64f2f |
||
---|---|---|
.. | ||
block_device | ||
elements | ||
lib | ||
tests | ||
__init__.py | ||
disk_image_create.py | ||
element_dependencies.py | ||
logging_config.py | ||
paths.py | ||
version.py |