<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 11/23/2013 01:35 AM, Lalatendu
Mohanty wrote:<br>
</div>
<blockquote cite="mid:528FB8F2.7080609@redhat.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">On 11/23/2013 01:27 AM, Anand Avati
wrote:<br>
</div>
<blockquote
cite="mid:CAFboF2zmnt89_QvcFUuE703z5WfOR2ueJ+U+ZcNOSOZN2YP2Vg@mail.gmail.com"
type="cite">
<div dir="ltr">Lala,
<div><br>
</div>
<div>It would be ideal if we hooked this into Jenkins and run
along with regression test in parallel. How feasible is it
to set it up that way?</div>
<div><br>
</div>
</div>
</blockquote>
<br>
Yup, agree. Will try to find a solution for this. We need a way
to download the result from <a moz-do-not-send="true"
href="http://scan.coverity.com" target="_blank">http://scan.coverity.com</a>
and analyse it through scripts. If anybody already have done it
let us know :).<br>
<br>
</blockquote>
<br>
Bummer! . Coverity allows only 4 runs per week for opensource
projects that have lines of code between 100K to 500K and GlusterFS
has more than 300K lines of code. Read the faq link below for
details. <br>
<a class="moz-txt-link-freetext" href="https://scan.coverity.com/faq#frequency">https://scan.coverity.com/faq#frequency</a><br>
<br>
What should we do now?<br>
<br>
-Lala<br>
<br>
<blockquote cite="mid:528FB8F2.7080609@redhat.com" type="cite">
<blockquote
cite="mid:CAFboF2zmnt89_QvcFUuE703z5WfOR2ueJ+U+ZcNOSOZN2YP2Vg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Avati</div>
</div>
<div class="gmail_extra"> <br>
<br>
<div class="gmail_quote">On Fri, Nov 22, 2013 at 11:51 AM,
Lalatendu Mohanty <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:lmohanty@redhat.com"
target="_blank">lmohanty@redhat.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"> Hi
Gluster Ants,<br>
<br>
There is a way, we can automate the Coverity scan runs and
we will get a email like below, which will tell us if any
code issues introduced in to the code base. Will it be
helpful/good if we run Coverity scan daily with the latest
code base and send the results to "<a
moz-do-not-send="true"
href="mailto:gluster-devel@nongnu.org" target="_blank">gluster-devel@nongnu.org</a>"?
I think it would be helpful. But wanted to take a feed
back from you all before doing it. Feedback/ Thoughts?<br>
<br>
<br>
Thanks,<br>
Lala<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
-------- Original Message --------<br>
Subject: New Defects reported by Coverity Scan for
GlusterFS<br>
Date: Thu, 21 Nov 2013 14:14:04 -0800<br>
From: <a moz-do-not-send="true"
href="mailto:scan-admin@coverity.com" target="_blank">scan-admin@coverity.com</a><br>
<br>
<br>
Hi,<br>
<br>
<br>
Please find the latest report on new defect(s)
introduced to GlusterFS found with Coverity Scan.<br>
<br>
Defect(s) Reported-by: Coverity Scan<br>
Showing 7 of 10 defect(s)<br>
<br>
<br>
** CID 1130760: Sizeof not portable (SIZEOF_MISMATCH)<br>
/xlators/encryption/crypt/src/data.c: 487 in
set_config_avec_data()<br>
<br>
** CID 1130759: Sizeof not portable (SIZEOF_MISMATCH)<br>
/xlators/encryption/crypt/src/data.c: 566 in
set_config_avec_hole()<br>
<br>
** CID 1130756: Unchecked return value
(CHECKED_RETURN)<br>
/xlators/encryption/crypt/src/crypt.c: 2627 in
crypt_fsetxattr()<br>
<br>
** CID 1130755: Unchecked return value
(CHECKED_RETURN)<br>
/xlators/encryption/crypt/src/crypt.c: 2649 in
crypt_setxattr()<br>
<br>
** CID 1130758: Dereference after null check
(FORWARD_NULL)<br>
/xlators/encryption/crypt/src/crypt.c: 3298 in
linkop_grab_local()<br>
<br>
** CID 1130757: Null pointer dereference
(FORWARD_NULL)<br>
/api/src/glfs-fops.c: 718 in glfs_preadv_async()<br>
/api/src/glfs-fops.c: 718 in glfs_preadv_async()<br>
<br>
** CID 1124349: Unchecked return value
(CHECKED_RETURN)<br>
/xlators/mgmt/glusterd/src/glusterd-volume-set.c: 120 in
validate_cache_max_min_size()<br>
/xlators/mgmt/glusterd/src/glusterd-volume-set.c: 129 in
validate_cache_max_min_size()<br>
/xlators/mgmt/glusterd/src/glusterd-volume-set.c: 130 in
validate_cache_max_min_size()<br>
<br>
<br>
<br>
<br>
________________________________________________________________________________________________________
<br>
To view the defects in Coverity Scan visit, <a
moz-do-not-send="true" href="http://scan.coverity.com"
target="_blank">http://scan.coverity.com</a><br>
<br>
To unsubscribe from the email notification for new
defects, <a moz-do-not-send="true"
href="http://scan5.coverity.com/cgi-bin/unsubscribe.py"
target="_blank">http://scan5.coverity.com/cgi-bin/unsubscribe.py</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Gluster-devel mailing list<br>
<a moz-do-not-send="true"
href="mailto:Gluster-devel@nongnu.org" target="_blank">Gluster-devel@nongnu.org</a><br>
<a moz-do-not-send="true"
href="https://lists.nongnu.org/mailman/listinfo/gluster-devel"
target="_blank">https://lists.nongnu.org/mailman/listinfo/gluster-devel</a><br>
</blockquote>
<br>
<br>
_______________________________________________<br>
Gluster-devel mailing list<br>
<a moz-do-not-send="true"
href="mailto:Gluster-devel@nongnu.org" target="_blank">Gluster-devel@nongnu.org</a><br>
<a moz-do-not-send="true"
href="https://lists.nongnu.org/mailman/listinfo/gluster-devel"
target="_blank">https://lists.nongnu.org/mailman/listinfo/gluster-devel</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Gluster-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-devel@nongnu.org">Gluster-devel@nongnu.org</a>
<a class="moz-txt-link-freetext" href="https://lists.nongnu.org/mailman/listinfo/gluster-devel">https://lists.nongnu.org/mailman/listinfo/gluster-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>