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

bugzilla at redhat.com bugzilla at redhat.com
Mon Jan 29 13:24:57 UTC 2018


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

            Bug ID: 1539699
           Summary: tests/bugs/cli/bug-822830.t fails on Centos 7 and
                    locally
           Product: Red Hat Gluster Storage
           Version: 3.4
         Component: cli
          Assignee: kaushal at redhat.com
          Reporter: amukherj at redhat.com
        QA Contact: rhinduja at redhat.com
                CC: bugs at gluster.org, nbalacha at redhat.com,
                    nigelb at redhat.com, rhs-bugs at redhat.com,
                    storage-qa-internal at redhat.com
        Depends On: 1536913
            Blocks: 1539658



+++ 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
https://bugzilla.redhat.com/show_bug.cgi?id=1539658
[Bug 1539658] 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.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=a5u5MwUtLK&a=cc_unsubscribe


More information about the Bugs mailing list