Smoke failure at https://build.gluster.org/job/smoke/32376/console There's a: $ mv '/var/run/gluster/*dump*' /var/log/glusterfs/ before the 'tar' as well. Please note that single quotes block wildcard expansion. You might want to instead: $ find /var/run/gluster -type f -maxdepth 1 -name '*dump*' \ -exec mv {} /var/log/glusterfs ';' or just remove the single quotes or place the wildcard expression in double quotes
This happens because the /var/log/messages file gets an entry after the tar. But tar exists with status 1. It's okay to ignore this failure. We should probably catch the tar exit status 1 and return that as 0 instead. Or wrap the command with a `|| true`
This should be fixed up now.