[Bugs] [Bug 1368918] New: tests/bugs/cli/bug-1320388.t: Infrequent failures

bugzilla at redhat.com bugzilla at redhat.com
Mon Aug 22 06:23:58 UTC 2016


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

            Bug ID: 1368918
           Summary: tests/bugs/cli/bug-1320388.t: Infrequent failures
           Product: GlusterFS
           Version: 3.8.2
         Component: tests
          Keywords: Triaged
          Assignee: bugs at gluster.org
          Reporter: aspandey at redhat.com
                CC: amukherj at redhat.com, bugs at gluster.org,
                    kaushal at redhat.com
        Depends On: 1368349



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

The bug-1320388.t test has been failing on slave24 and slave27 builders causing
all recent regression jobs [1][2] to fail on these machines.

The failure is happening because the test is attempting to enable management
encryption without having valid certificates (/etc/ssl/glusterfs.{ca,key,pem}).
In slave24 these files are not present (possibly because of re-imaging) and in
slave27 these certificates are expired, as the machine was down for 2 months.

The test depended on these certificates being generated by another test,
features/ssl-authz.t, in a previous run. But this ssl-authz is run after
bug-1320388.t, so valid certificates weren't present on slave24 and slave27.

The test needs to ensure that it generates certificates on its own before
enabling management encryption to avoid this failure.

[1] https://build.gluster.org/computer/slave24.cloud.gluster.org/builds
[2] https://build.gluster.org/computer/slave27.cloud.gluster.org/builds

--- Additional comment from Vijay Bellur on 2016-08-19 04:50:02 EDT ---

REVIEW: http://review.gluster.org/15202 (tests/cli: Generate SSL certificates)
posted (#1) for review on master by Ashish Pandey (aspandey at redhat.com)

--- Additional comment from Worker Ant on 2016-08-22 00:03:47 EDT ---

COMMIT: http://review.gluster.org/15202 committed in master by Atin Mukherjee
(amukherj at redhat.com) 
------
commit fad93c16a3fc52171f3f2b024baa5bc8b8749bee
Author: Ashish Pandey <aspandey at redhat.com>
Date:   Fri Aug 19 14:13:51 2016 +0530

    tests/cli: Generate SSL certificates

    Generate SSL certificates before enabling
    management encryption to avoid test failure.

    Change-Id: Iab23b36703f4653f1d5bb9d14695e4d3fa63ad61
    Signed-off-by: Ashish Pandey <aspandey at redhat.com>
    BUG: 1368349
    Signed-off-by: Ashish Pandey <aspandey at redhat.com>
    Reviewed-on: http://review.gluster.org/15202
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Atin Mukherjee <amukherj at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1368349
[Bug 1368349] tests/bugs/cli/bug-1320388.t: Infrequent failures
-- 
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