summaryrefslogtreecommitdiffstats
path: root/coverity
AgeCommit message (Collapse)AuthorFilesLines
2019-05-10coverity: add OsmocomBB (without firmware)Vadim Yanitskiy2-0/+10
Change-Id: I2a4bcca411361484e872361dfd16d46189f52f35
2018-11-22Add osmo-sysmon to coverity submissionMax2-0/+2
Change-Id: I1e753d2c14198eccb046c259b3eec582b1921431
2018-09-19coverity: don't install systemd fileAlexander Couzens1-1/+1
Because the systemd install directory does not use --prefix as base, they are installed by default to /lib/systemd. As the coverity only scans the compilation, don't install systemd files. Change-Id: I39b491fc09f0db0efd8d9d09e8f4cba4ba49cdde
2018-08-08coverity: Re-order builds to ensure osmo-hlr before osmo-mscHarald Welte1-1/+1
osmo-msc now needs libosmo-gsup-client, which is built+installed as part of osmo-hlr Change-Id: I581d86cf9679ef978a018a5ba8deb8b0f034677b
2018-01-22cosmetic: remove wrapper scriptMax2-40/+38
The jenkins.sh is just a tiny wrapper around coverity_Osmocom.sh - let's remove this unnecessary indirection and move the code directly to jenkins.sh Change-Id: Iead3b8f39327f1d0dd80e12a9d38563c35701993
2018-01-22cosmetic: remove unused functionMax1-4/+0
Change-Id: Ie3885237cea2afbe5e8c0f89d2280284bb4d9150
2018-01-22Coverity: specify sysmoBTS L1 headers explicitlyMax1-1/+1
Fix upload by specifying L1 headers location properly. Fixes: OS#2845 Change-Id: Iba55922295cb2a258f90c5345f592d7d5f34ac51
2018-01-11Enable osmo-iuh submissionMax2-5/+1
It was disabled back in a days when it was dependent on a separate branch. Thisis no longer the case so we can enable it back. Also remove remaining leftovers. Change-Id: I5fd3bdab217b61f9ee50a5f1413b60d396535395
2017-12-14Remove OpenBSC from Coverity submissionMax2-11/+0
The OpenBSC codebase only receive occasional backports hence none of the issues uncovered by Coverity would be fixed unless it's also fixed in corresponding Osmo* project. Let's not clutter output with the information about issues which won't be fixed anyway. Change-Id: Ief3dfc641684fa33407957bf7cfcb6ecf35b847a
2017-11-05coverity: Don't use PARALLEL_MAKE for libsmpp34Harald Welte1-1/+10
... which apparently doesn't support this and every so often breaks the coverity upload build Change-Id: Id78f80cf0878a0807cd06a24fa5c9561c7b84b36
2017-10-11coverity: build with --enable-trxHarald Welte1-1/+1
Change-Id: I0684bc04b82ad57a1513bbd4627144d6c254b965
2017-10-11coverity: clone + build osmo-{mgw,bsc,msc,hlr}Harald Welte2-0/+9
Related: OS#2564 Change-Id: I6f046943f045a97c2bae4e99485a474c11d90a90
2017-10-11coverity: osmo-bts now builds without openbscHarald Welte1-5/+1
Change-Id: I09565441c0d9eb907edba82b26df38d08a5d868d
2017-10-11coverity: Add support for $PARALLEL_MAKE environment variableHarald Welte1-1/+1
Change-Id: I95b0e5f104155ac7c5ae993b7f3c0c0721d0157b
2017-10-11coverity: Reduce codeduplication in build_Osmocom.shHarald Welte1-94/+18
We don't need a separate build_foo function if it is identical in its body except for the 'foo' (project name). Let's clean this up. Change-Id: I27e9fc94142b42a7b7c2f9eca89056e1f90f1f0e
2017-10-11coverity: Don't start with a new clone, but simply fetch/checkoutHarald Welte1-3/+8
If a given git clone already exists, simply do a fetch + checkout -f, rather than cloning a decade worth of history from scratch. Change-Id: Icecb2d00a75bc303d84efafee5c1f2d52ba1b6b3
2017-10-02Use new GPRS repositoriesMax2-4/+4
* use coverity check on osmo-ggsn instead of openggsn * move osmo-sgsn and osmo-ggsn from nightly-split into nightly Change-Id: Ia49969cbfb9ef57b635a3b5759f411f71a54f8e1
2017-03-16coverity: add osmo-hlr to be scannedNeels Hofmeyr2-0/+8
2016-12-11coverity: build master branches, not iu branchesNeels Hofmeyr2-11/+11
Rebasing the iu branches onto the master branches is currently not happening regularly, since I'm focusing on the VLR. Rather scan the master branches so that the coverity issues are caught without further rebase effort required. Comment out everything Iu related with '#IU' comment markers: - don't checkout Iu branches - don't build osmo-iuh (depends on libosmo-sccp iu branch) - don't pass --enable-iu to openbsc, don't switch branches for osmo-bts We might consider adding a separate Iu build, but then we might get the same coverity warnings twice, so not pursuing that actively now. Change-Id: I0d6640b893b8d65d321af904b80d89da5bf3ea6a
2016-10-11coverity: check out clean sources every timeneels/testNeels Hofmeyr2-4/+3
Change-Id: I76782099e801ab89202c0103f97b7142b2c115fd
2016-10-11coverity: don't pull --rebase, instead fetch and reset --hardNeels Hofmeyr1-2/+6
Change-Id: Ida553a0f38c438a02139396512ff5da038359721
2016-10-01coverity: don't leak the tokens in build logsNeels Hofmeyr1-5/+18
Change-Id: I560f411beaca31bf2001e92a5baaa0c53dc9ce27
2016-10-01coverity: add jenkins.sh as explicit build server entry pointNeels Hofmeyr1-0/+2
During the recent refactorings, I need to edit the jenkins build config at the right time to apply renames. To make this easier in the future, add an explicit (so far trivial) entry point for jenkins that can just be updated from git. Change-Id: I8de9444df513b3aaaddb07b383e458186237dfab
2016-10-01coverity: add osmo-trx to Osmocom buildNeels Hofmeyr3-46/+9
Change-Id: I57d4658120444a4f6884c0b35ec61e8e7034c83c
2016-10-01coverity: drop the single-project coverity buildsNeels Hofmeyr2-167/+0
The combined Osmocom build is able to scan across all libraries at the same time and can find more errors, making the submission of single projects for scan obsolete. Change-Id: I24c55d10b587837fe3e3ff6089715e6896c12dcf
2016-10-01coverity: rename iuh build to OsmocomNeels Hofmeyr4-12/+12
This corresponds to the scan.coverity project name this is uploaded to. Also apply renaming in file content: call renamed build_Osmocom.sh, use dir source-Osmocom and install-Osmocom, use a token named 'Osmocom'. The point is that the combined build of all osmocom projects finds problems more accurately, since coverity can analyse across all libraries at the same time. Still build the iuh branches, since they are basically an extension of the current master branches (given that they are rebased onto master regularly, which they currently are). Name the generated tar Osmocom.tgz instead of myproject.tgz. Change-Id: If316d54327cca8aa1b499bf35b6b22385bd83702
2016-10-01coverity: cosmetic: remove some indentNeels Hofmeyr1-5/+5
Change-Id: I292cf434c0ec7060bdda6b5794d30e18aa089a06
2016-10-01coverity: favor upstream for conflicts during pullNeels Hofmeyr2-2/+2
An upstream branch rebase caused a merge conflict on the build server recently. This hopefully avoids that next time. Change-Id: Ib9f48b3b2283d1b8d1a79d42732d935236a2b1c9
2016-09-27prepare_source_iuh.sh: add missing layer1-apiNeels Hofmeyr1-0/+2
Change-Id: I1d0c471776a2451d9d763b26a69d662b0cc11deb
2016-09-27coverity: remove myproject.tgz before re-creating, x2Neels Hofmeyr2-0/+2
Just paranoia. Change-Id: Ia2ae2bd5e88e6aaaab4d1ac63bf07ccd469a63b7
2016-09-27coverity: have only source-iuh/, not also sources-iuh/Neels Hofmeyr1-1/+1
Change-Id: I016131a1385058a7d7c9b1906b652964861db691
2016-09-27coverity scripts: base all paths on initial $PWDNeels Hofmeyr4-24/+43
This allows having the coverity scripts in a different location than ~/coverity. In particular, this allows just cloning the osmo-ci anywhere, e.g. having ~/osmo-ci/coverity as the build location. Change-Id: I100cc763b06562dbeaea11c7175f3c92fc01117a
2016-09-27coverity_all.sh: remove odd stray ':'Neels Hofmeyr1-1/+0
Change-Id: I7ad85c69d2df33fd170498800697e9af71353bcf
2016-09-27build_iuh.sh: don't build sip twiceNeels Hofmeyr1-2/+0
Change-Id: I3169fd2d4ba337c65d414aeacf4c3845e8449a61
2016-09-27add scripts to setup the source repositoriesNeels Hofmeyr2-0/+54
These reflect the state found on the osmo build-1 server Change-Id: Icf582709b746e797364e8c1c25aa69ec858e5c2e
2016-09-27add coverity scripts found on osmo build-1Neels Hofmeyr5-0/+368
Change-Id: Ie69398dc95e8571b5a16fb529869f4c9fb3baa20