[Gluster-devel] Regression tests marked as SUCCESS when they shouldn't be

Jeff Darcy jdarcy at redhat.com
Thu Apr 16 02:56:36 UTC 2015


> Noticing several of the recent regression tests are being marked as SUCCESS
> in Jenkins (then Gerrit), when they're clearly failing.
> 
> eg:
> 
>   http://build.gluster.org/job/rackspace-regression-2GB-triggered/6968/console
>   http://build.gluster.org/job/rackspace-regression-2GB-triggered/6969/console
>   http://build.gluster.org/job/rackspace-regression-2GB-triggered/6970/console
>   http://build.gluster.org/job/rackspace-regression-2GB-triggered/6966/console
> 
> Is this something to do with your patch to try and get failures finishing
> faster?

Yes, I think it probably is.  At line 221 we echo the status for debugging,
but that means the result of main() is the result of the echo (practically
always zero) rather than the real result.  All we need to do is take out
that echo line.


More information about the Gluster-devel mailing list