Bug 1368349 - tests/bugs/cli/bug-1320388.t: Infrequent failures
Summary: tests/bugs/cli/bug-1320388.t: Infrequent failures
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: cli
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ashish Pandey
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1368918 1368926
TreeView+ depends on / blocked
 
Reported: 2016-08-19 07:19 UTC by Kaushal
Modified: 2017-03-08 08:32 UTC (History)
3 users (show)

Fixed In Version: 3.10.0
Clone Of:
: 1368918 1368926 (view as bug list)
Environment:
Last Closed: 2017-03-08 08:32:43 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Kaushal 2016-08-19 07:19:01 UTC
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

Comment 1 Vijay Bellur 2016-08-19 08:50:02 UTC
REVIEW: http://review.gluster.org/15202 (tests/cli: Generate SSL certificates) posted (#1) for review on master by Ashish Pandey (aspandey)

Comment 2 Worker Ant 2016-08-22 04:03:47 UTC
COMMIT: http://review.gluster.org/15202 committed in master by Atin Mukherjee (amukherj) 
------
commit fad93c16a3fc52171f3f2b024baa5bc8b8749bee
Author: Ashish Pandey <aspandey>
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>
    BUG: 1368349
    Signed-off-by: Ashish Pandey <aspandey>
    Reviewed-on: http://review.gluster.org/15202
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Atin Mukherjee <amukherj>


Note You need to log in before you can comment on or make changes to this bug.