Bug 1703433

Summary: gluster-block: setup GCOV & LCOV job
Product: [Community] GlusterFS Reporter: Prasanna Kumar Kalever <prasanna.kalever>
Component: project-infrastructureAssignee: Deepshikha khandelwal <dkhandel>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: mainlineCC: atumball, bugs, dkhandel, gluster-infra, pasik, sankarshan
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-02 03:38:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Prasanna Kumar Kalever 2019-04-26 12:08:59 UTC
Description of problem:

### Kind of issue

Infra request:

Setup GCOV & LCOV job for gluster-block project which should run nightly or weekly to help visualize test & line coverage achieved, which intern help us understand:

* how often each line of code executes
* what lines of code are actually executed
* how much computing time each section of code uses

and work on possible optimizations.

### Other useful information

Repo:
https://github.com/gluster/gluster-block

To start with, we can build like we do with [travis](https://github.com/gluster/gluster-block/blob/master/extras/docker/Dockerfile.fedora29)

Need to install run time dependencies:
# yum install glusterfs-server targetcli tcmu-runner

then start glusterd
# systemctl start glusterd

Then run simple test case
# [./tests/basic.t](https://github.com/gluster/gluster-block/blob/master/tests/basic.t)