[Bugs] [Bug 1350104] New: the run-tests-in-vagrant.sh script should exit with an error if tests failed

bugzilla at redhat.com bugzilla at redhat.com
Sat Jun 25 15:32:26 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1350104

            Bug ID: 1350104
           Summary: the run-tests-in-vagrant.sh script should exit with an
                    error if tests failed
           Product: GlusterFS
           Version: mainline
         Component: tests
          Keywords: Triaged
          Severity: medium
          Priority: high
          Assignee: bugs at gluster.org
          Reporter: ndevos at redhat.com
                CC: bugs at gluster.org, rtalur at redhat.com



Description of problem:
When ./run-tests-in-vagrant.sh runs the regression tests, and tests fail, the
script does not exit with an error. This makes it impossible for a CI to report
the correct result.

Version-Release number of selected component (if applicable):
3.8 and mainline

How reproducible:
100%

Steps to Reproduce:
1. run ./run-tests-in-vagrant.sh --os=centos6
2. see it fail
3. check the return status with: echo $?

Actual results:
Jenkins notes a return value of 0 as SUCCESS

Expected results:
the script should exit with a non-zero value

Additional info:
See the output of this job in the CentOS CI:
 
https://ci.centos.org/view/Gluster/job/gluster_run-tests-in-vagrant/10/console

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list