[OpenAFS-devel] clang analyzer buildbot

Michael Meffie mmeffie@sinenomine.net
Wed, 23 May 2018 16:11:24 -0400


Hello All,

During the hallway track at HEPiX 2018, Patrick Riehecky suggested we
could run the clang static analyzer against the OpenAFS with the easy
to use scan-build tool.  Patrick runs scan-build from time to time, and
we though it would be useful to do this nightly on the openafs.org
buildbot, so I've set up contrib builder on ubuntu 18.04 to run
scan-build nightly.

The buildbot waterfall has been configured to provide a link to the
reports generated. See the 'scan-build' builder on the builbot.openafs.org:

   https://buildbot.openafs.org/waterfall?show=scan-build

Instead of uploading the reports to the master, the reports are saved in
afs and are available via http:

   /afs/sinenomine.net/public/openafs/scan-build/
   https://download.sinenomine.net/openafs/scan-build/

The reports are available for 30 days (an arbitrary time) just to limit
the amount of disk space used for these.

Currently, the scans are running against the master branch only. Other
branches could be added if desired.  In addition to the scheduled
nightly scans, those with a buildbot account can trigger scans of
arbitrary gerrits as well.

Thanks to Patrick for the suggestion.

Best regards,
Mike

-- 
Michael Meffie <mmeffie@sinenomine.net>