[pdal] First stab at Coverity Scan

Mateusz Loskot mateusz at loskot.net
Wed Nov 30 15:39:37 PST 2016


On 30 November 2016 at 23:27, Mateusz Loskot <mateusz at loskot.net> wrote:
> On 30 November 2016 at 22:50, Howard Butler <howard at hobu.co> wrote:
>>> On Nov 30, 2016, at 3:26 PM, Mateusz Loskot <mateusz at loskot.net> wrote:
>>>
>>> I've joined Andrew's efforst and I'm trying to configure Coverity Scan for PDAL.
>>> I have configured it for several projects, including libLAS and
>>> it generally is not a great deal of work.
>>>
>>> However, with PDAL I'm hitting a wall.
>>>
>>> I created new branch in PDAL/PDAL repo:
>>>
>>> https://github.com/PDAL/PDAL/tree/coverity_scan
>>>
>>> (Initially, I worked in mloskot/PDAL and I thought my problems
>>> might be due missing some secret configs on GitHub/Travis CI.)
>>>
>>> The build is failing with the error:
>>>
>>> docker: command not found
>>>
>>> https://travis-ci.org/PDAL/PDAL/jobs/180215967
>>>
>>> In .travis.yml, I haven't changed anything regarding docker.
>>> I only re-configured the build matrix a bit adding 3rd build for the Coverity.
>>>
>>> I'm puzzled:
>>> Why Travis CI properly sets up the docker service for the builds of master,
>>> while it fails to do it for build based on coverity_scan branch?
>>
>> Travis looks like it is not starting Docker for some reason.
>>
>> See https://travis-ci.org/PDAL/PDAL/jobs/180215967#L119
>
>
> Right, though it runs on the main builds
> https://travis-ci.org/PDAL/PDAL/jobs/180221701#L233
>
>> Others seem to have similar problems, but the path
>> forward is not clear https://www.google.com/search?q=travis+docker+unrecognized+service&
>
> Yes, I found number of related older/later GH issues and it seems to
> be a recurring issue
> (seems related to complex build matrices, ie. matrix.include).

For the record, switching Ubuntu Trusty in .travis.yml with

distro: trusty

fixes the docker.

Build succeeded but Coverity Scan did not due to build configuration issue

https://travis-ci.org/PDAL/PDAL/jobs/180236279#L506

To be solved.

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net


More information about the pdal mailing list