All of lore.kernel.org
 help / color / mirror / Atom feed
* coverity scan - a plea for help!
@ 2013-05-09 16:26 Sage Weil
  2013-05-09 17:15 ` Travis Rhoden
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Sage Weil @ 2013-05-09 16:26 UTC (permalink / raw)
  To: ceph-devel

We were added to coverity's awesome scan program a while back, which gives 
free access to their static analysis tool to open source projects.

Currently it identifies 421 issues.  We've already taken care of the ones 
that are highest impact, but the usefulness of periodic scans is limited 
until we can eliminate the noise from the remaining issues and easily see 
when new problems come up.

If anybody is interested in helping out in the cleanup effort, let me know 
and I'll share the login info.  This would provide significant value to 
our overall quality efforts and is a pretty easy way to make a meaningful 
contribution to the project without a huge investment in understanding the 
code and architecture!

sage

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: coverity scan - a plea for help!
  2013-05-09 16:26 coverity scan - a plea for help! Sage Weil
@ 2013-05-09 17:15 ` Travis Rhoden
  2013-05-09 20:31 ` Danny Al-Gaaf
  2013-10-31 23:30 ` Sage Weil
  2 siblings, 0 replies; 9+ messages in thread
From: Travis Rhoden @ 2013-05-09 17:15 UTC (permalink / raw)
  To: Sage Weil; +Cc: ceph-devel

Hi Sage,

My C skills are a bit rusty, but this seems like a good way to revive
them.  Without making any hard commitments, I'm certainly interested.

 - Travis

On Thu, May 9, 2013 at 12:26 PM, Sage Weil <sage@inktank.com> wrote:
> We were added to coverity's awesome scan program a while back, which gives
> free access to their static analysis tool to open source projects.
>
> Currently it identifies 421 issues.  We've already taken care of the ones
> that are highest impact, but the usefulness of periodic scans is limited
> until we can eliminate the noise from the remaining issues and easily see
> when new problems come up.
>
> If anybody is interested in helping out in the cleanup effort, let me know
> and I'll share the login info.  This would provide significant value to
> our overall quality efforts and is a pretty easy way to make a meaningful
> contribution to the project without a huge investment in understanding the
> code and architecture!
>
> sage
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: coverity scan - a plea for help!
  2013-05-09 16:26 coverity scan - a plea for help! Sage Weil
  2013-05-09 17:15 ` Travis Rhoden
@ 2013-05-09 20:31 ` Danny Al-Gaaf
  2013-05-09 20:45   ` Sage Weil
  2013-10-31 23:30 ` Sage Weil
  2 siblings, 1 reply; 9+ messages in thread
From: Danny Al-Gaaf @ 2013-05-09 20:31 UTC (permalink / raw)
  To: Sage Weil; +Cc: ceph-devel

[-- Attachment #1: Type: text/plain, Size: 882 bytes --]

Hi Sage,

I would like to take a look at the issues.

Danny

Am 09.05.2013 18:26, schrieb Sage Weil:
> We were added to coverity's awesome scan program a while back, which gives 
> free access to their static analysis tool to open source projects.
> 
> Currently it identifies 421 issues.  We've already taken care of the ones 
> that are highest impact, but the usefulness of periodic scans is limited 
> until we can eliminate the noise from the remaining issues and easily see 
> when new problems come up.
> 
> If anybody is interested in helping out in the cleanup effort, let me know 
> and I'll share the login info.  This would provide significant value to 
> our overall quality efforts and is a pretty easy way to make a meaningful 
> contribution to the project without a huge investment in understanding the 
> code and architecture!
> 
> sage



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 316 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: coverity scan - a plea for help!
  2013-05-09 20:31 ` Danny Al-Gaaf
@ 2013-05-09 20:45   ` Sage Weil
  0 siblings, 0 replies; 9+ messages in thread
From: Sage Weil @ 2013-05-09 20:45 UTC (permalink / raw)
  To: Danny Al-Gaaf; +Cc: ceph-devel

Thanks, Danny and Travis!  Sent login info privately.

sage

On Thu, 9 May 2013, Danny Al-Gaaf wrote:

> Hi Sage,
> 
> I would like to take a look at the issues.
> 
> Danny
> 
> Am 09.05.2013 18:26, schrieb Sage Weil:
> > We were added to coverity's awesome scan program a while back, which gives 
> > free access to their static analysis tool to open source projects.
> > 
> > Currently it identifies 421 issues.  We've already taken care of the ones 
> > that are highest impact, but the usefulness of periodic scans is limited 
> > until we can eliminate the noise from the remaining issues and easily see 
> > when new problems come up.
> > 
> > If anybody is interested in helping out in the cleanup effort, let me know 
> > and I'll share the login info.  This would provide significant value to 
> > our overall quality efforts and is a pretty easy way to make a meaningful 
> > contribution to the project without a huge investment in understanding the 
> > code and architecture!
> > 
> > sage
> 
> 
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: coverity scan - a plea for help!
  2013-05-09 16:26 coverity scan - a plea for help! Sage Weil
  2013-05-09 17:15 ` Travis Rhoden
  2013-05-09 20:31 ` Danny Al-Gaaf
@ 2013-10-31 23:30 ` Sage Weil
  2013-11-01  0:38   ` Li Wang
  2013-11-01  1:58   ` Xing Lin
  2 siblings, 2 replies; 9+ messages in thread
From: Sage Weil @ 2013-10-31 23:30 UTC (permalink / raw)
  To: ceph-devel

Hi everyone,

When I send this out several months ago, Danny Al-Gaaf stepped up and 
submitted an amazing number of patches cleaning up the most concerning 
issues that Coverity had picked up.  His attention has been directed 
elsewhere more recently, but there are still a number of outstanding 
issues in Coverity's tracker that are reasonably quick and easy to resolve 
and will make our ability to identify newly introduced defects much 
simpler.

Coverity Scan makes it really easy to participate: just create an account 
and I can grant you access to the Ceph project.  If you're interested in 
contributing here (and it's an easy way to quickly start working with the 
Ceph code), let me know!

Thanks-
sage


On Thu, 9 May 2013, Sage Weil wrote:

> We were added to coverity's awesome scan program a while back, which gives 
> free access to their static analysis tool to open source projects.
> 
> Currently it identifies 421 issues.  We've already taken care of the ones 
> that are highest impact, but the usefulness of periodic scans is limited 
> until we can eliminate the noise from the remaining issues and easily see 
> when new problems come up.
> 
> If anybody is interested in helping out in the cleanup effort, let me know 
> and I'll share the login info.  This would provide significant value to 
> our overall quality efforts and is a pretty easy way to make a meaningful 
> contribution to the project without a huge investment in understanding the 
> code and architecture!
> 
> sage
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: coverity scan - a plea for help!
  2013-10-31 23:30 ` Sage Weil
@ 2013-11-01  0:38   ` Li Wang
  2013-11-01  1:58   ` Xing Lin
  1 sibling, 0 replies; 9+ messages in thread
From: Li Wang @ 2013-11-01  0:38 UTC (permalink / raw)
  To: Sage Weil; +Cc: ceph-devel

Hi Sage,
   If you trust, I think we can try this job.

Cheers,
Li Wang

On 11/01/2013 07:30 AM, Sage Weil wrote:
> Hi everyone,
>
> When I send this out several months ago, Danny Al-Gaaf stepped up and
> submitted an amazing number of patches cleaning up the most concerning
> issues that Coverity had picked up.  His attention has been directed
> elsewhere more recently, but there are still a number of outstanding
> issues in Coverity's tracker that are reasonably quick and easy to resolve
> and will make our ability to identify newly introduced defects much
> simpler.
>
> Coverity Scan makes it really easy to participate: just create an account
> and I can grant you access to the Ceph project.  If you're interested in
> contributing here (and it's an easy way to quickly start working with the
> Ceph code), let me know!
>
> Thanks-
> sage
>
>
> On Thu, 9 May 2013, Sage Weil wrote:
>
>> We were added to coverity's awesome scan program a while back, which gives
>> free access to their static analysis tool to open source projects.
>>
>> Currently it identifies 421 issues.  We've already taken care of the ones
>> that are highest impact, but the usefulness of periodic scans is limited
>> until we can eliminate the noise from the remaining issues and easily see
>> when new problems come up.
>>
>> If anybody is interested in helping out in the cleanup effort, let me know
>> and I'll share the login info.  This would provide significant value to
>> our overall quality efforts and is a pretty easy way to make a meaningful
>> contribution to the project without a huge investment in understanding the
>> code and architecture!
>>
>> sage
>>
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: coverity scan - a plea for help!
  2013-10-31 23:30 ` Sage Weil
  2013-11-01  0:38   ` Li Wang
@ 2013-11-01  1:58   ` Xing Lin
  2013-11-01 15:49     ` Sage Weil
  1 sibling, 1 reply; 9+ messages in thread
From: Xing Lin @ 2013-11-01  1:58 UTC (permalink / raw)
  To: Sage Weil, ceph-devel

Hi Sage,

I would like to help here as well.

Thanks,
Xing

On 10/31/2013 5:30 PM, Sage Weil wrote:
> Hi everyone,
>
> When I send this out several months ago, Danny Al-Gaaf stepped up and
> submitted an amazing number of patches cleaning up the most concerning
> issues that Coverity had picked up.  His attention has been directed
> elsewhere more recently, but there are still a number of outstanding
> issues in Coverity's tracker that are reasonably quick and easy to resolve
> and will make our ability to identify newly introduced defects much
> simpler.
>
> Coverity Scan makes it really easy to participate: just create an account
> and I can grant you access to the Ceph project.  If you're interested in
> contributing here (and it's an easy way to quickly start working with the
> Ceph code), let me know!
>
> Thanks-
> sage
>
>
> On Thu, 9 May 2013, Sage Weil wrote:
>
>> We were added to coverity's awesome scan program a while back, which gives
>> free access to their static analysis tool to open source projects.
>>
>> Currently it identifies 421 issues.  We've already taken care of the ones
>> that are highest impact, but the usefulness of periodic scans is limited
>> until we can eliminate the noise from the remaining issues and easily see
>> when new problems come up.
>>
>> If anybody is interested in helping out in the cleanup effort, let me know
>> and I'll share the login info.  This would provide significant value to
>> our overall quality efforts and is a pretty easy way to make a meaningful
>> contribution to the project without a huge investment in understanding the
>> code and architecture!
>>
>> sage
>>
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: coverity scan - a plea for help!
  2013-11-01  1:58   ` Xing Lin
@ 2013-11-01 15:49     ` Sage Weil
  2013-11-01 16:14       ` Sage Weil
  0 siblings, 1 reply; 9+ messages in thread
From: Sage Weil @ 2013-11-01 15:49 UTC (permalink / raw)
  To: Xing Lin, Li Wang; +Cc: ceph-devel

Awesome!  You just need to create a user at

https://scan.coverity.com/users/sign_up

Once you log in, click 'add yourself to an open source project' on the 
right to request access.

Thanks!
sage


On Thu, 31 Oct 2013, Xing Lin wrote:

> Hi Sage,
> 
> I would like to help here as well.
> 
> Thanks,
> Xing
> 
> On 10/31/2013 5:30 PM, Sage Weil wrote:
> > Hi everyone,
> > 
> > When I send this out several months ago, Danny Al-Gaaf stepped up and
> > submitted an amazing number of patches cleaning up the most concerning
> > issues that Coverity had picked up.  His attention has been directed
> > elsewhere more recently, but there are still a number of outstanding
> > issues in Coverity's tracker that are reasonably quick and easy to resolve
> > and will make our ability to identify newly introduced defects much
> > simpler.
> > 
> > Coverity Scan makes it really easy to participate: just create an account
> > and I can grant you access to the Ceph project.  If you're interested in
> > contributing here (and it's an easy way to quickly start working with the
> > Ceph code), let me know!
> > 
> > Thanks-
> > sage
> > 
> > 
> > On Thu, 9 May 2013, Sage Weil wrote:
> > 
> > > We were added to coverity's awesome scan program a while back, which gives
> > > free access to their static analysis tool to open source projects.
> > > 
> > > Currently it identifies 421 issues.  We've already taken care of the ones
> > > that are highest impact, but the usefulness of periodic scans is limited
> > > until we can eliminate the noise from the remaining issues and easily see
> > > when new problems come up.
> > > 
> > > If anybody is interested in helping out in the cleanup effort, let me know
> > > and I'll share the login info.  This would provide significant value to
> > > our overall quality efforts and is a pretty easy way to make a meaningful
> > > contribution to the project without a huge investment in understanding the
> > > code and architecture!
> > > 
> > > sage
> > > 
> > --
> > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: coverity scan - a plea for help!
  2013-11-01 15:49     ` Sage Weil
@ 2013-11-01 16:14       ` Sage Weil
  0 siblings, 0 replies; 9+ messages in thread
From: Sage Weil @ 2013-11-01 16:14 UTC (permalink / raw)
  To: Xing Lin, Li Wang; +Cc: ceph-devel

A few notes:

I would prioritize things by severity, since that will make it easiest to 
see new high impact issues sooner.

There are lots of defects relating to the test code.  These are less 
important, but it would be nice to get them cleaned up eventually as well.

We've been setting the status to "Fix Submitted" once a patch is prepared 
and sent (via github pull request).

We've also been noting the coverity warning in the commit message.  
(Someday it might be useful to cross-reference these).  For example:

 CID 1100697 (#1 of 1): Uncaught exception (UNCAUGHT_EXCEPT)
 root_function: In function "main" an exception of type "ceph::buffer::end_of_buffer" is thrown and never caught.

Thanks, everyone!
sage


On Fri, 1 Nov 2013, Sage Weil wrote:

> Awesome!  You just need to create a user at
> 
> https://scan.coverity.com/users/sign_up
> 
> Once you log in, click 'add yourself to an open source project' on the 
> right to request access.
> 
> Thanks!
> sage
> 
> 
> On Thu, 31 Oct 2013, Xing Lin wrote:
> 
> > Hi Sage,
> > 
> > I would like to help here as well.
> > 
> > Thanks,
> > Xing
> > 
> > On 10/31/2013 5:30 PM, Sage Weil wrote:
> > > Hi everyone,
> > > 
> > > When I send this out several months ago, Danny Al-Gaaf stepped up and
> > > submitted an amazing number of patches cleaning up the most concerning
> > > issues that Coverity had picked up.  His attention has been directed
> > > elsewhere more recently, but there are still a number of outstanding
> > > issues in Coverity's tracker that are reasonably quick and easy to resolve
> > > and will make our ability to identify newly introduced defects much
> > > simpler.
> > > 
> > > Coverity Scan makes it really easy to participate: just create an account
> > > and I can grant you access to the Ceph project.  If you're interested in
> > > contributing here (and it's an easy way to quickly start working with the
> > > Ceph code), let me know!
> > > 
> > > Thanks-
> > > sage
> > > 
> > > 
> > > On Thu, 9 May 2013, Sage Weil wrote:
> > > 
> > > > We were added to coverity's awesome scan program a while back, which gives
> > > > free access to their static analysis tool to open source projects.
> > > > 
> > > > Currently it identifies 421 issues.  We've already taken care of the ones
> > > > that are highest impact, but the usefulness of periodic scans is limited
> > > > until we can eliminate the noise from the remaining issues and easily see
> > > > when new problems come up.
> > > > 
> > > > If anybody is interested in helping out in the cleanup effort, let me know
> > > > and I'll share the login info.  This would provide significant value to
> > > > our overall quality efforts and is a pretty easy way to make a meaningful
> > > > contribution to the project without a huge investment in understanding the
> > > > code and architecture!
> > > > 
> > > > sage
> > > > 
> > > --
> > > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> > > the body of a message to majordomo@vger.kernel.org
> > > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > 
> > 
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-11-01 16:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-09 16:26 coverity scan - a plea for help! Sage Weil
2013-05-09 17:15 ` Travis Rhoden
2013-05-09 20:31 ` Danny Al-Gaaf
2013-05-09 20:45   ` Sage Weil
2013-10-31 23:30 ` Sage Weil
2013-11-01  0:38   ` Li Wang
2013-11-01  1:58   ` Xing Lin
2013-11-01 15:49     ` Sage Weil
2013-11-01 16:14       ` Sage Weil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.