[Bugs] [Bug 1539658] New: tests/bugs/cli/ bug-822830.t fails on Centos 7 and locally

bugzilla at redhat.com bugzilla at redhat.com
Mon Jan 29 11:58:19 UTC 2018


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

            Bug ID: 1539658
           Summary: tests/bugs/cli/bug-822830.t fails on Centos 7 and
                    locally
           Product: GlusterFS
           Version: 4.0
         Component: cli
          Assignee: bugs at gluster.org
          Reporter: nigelb at redhat.com
                CC: bugs at gluster.org, nbalacha at redhat.com
        Depends On: 1536913



+++ This bug was initially created as a clone of Bug #1536913 +++

This test fails because we don't reset errno to 0 before the strtol call. When
it fails, it fails because errno = 101.

https://github.com/gluster/glusterfs/blob/master/libglusterfs/src/common-utils.c#L2441

--- Additional comment from Worker Ant on 2018-01-21 22:08:59 EST ---

REVIEW: https://review.gluster.org/19262 (libglusterfs: Reset errno before
call) posted (#1) for review on master by Nigel Babu

--- Additional comment from Worker Ant on 2018-01-23 13:08:58 EST ---

COMMIT: https://review.gluster.org/19262 committed in master by \"Nigel Babu\"
<nigelb at redhat.com> with a commit message- libglusterfs: Reset errno before
call

This was causing Gluster to return a failure when testing on Centos7.

BUG: 1536913
Change-Id: Idb90baef05058123a7f69e94a51dd79abd371815
Signed-off-by: Nigel Babu <nigelb at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1536913
[Bug 1536913] tests/bugs/cli/bug-822830.t fails on Centos 7 and locally
-- 
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