Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-41138

Coverity - Job Failed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • coverity-plugin
    • None
    • OS - Windows Server 2008R2 Datacenter
      Jenkins - 2.32.1

      Using Coverity plugin to scan my *.py codes for the first time. Plugin was installed successfully and server configuration is valid.

      Once configured my first job to scan the code, im getting the below output:
      In addition, Coverity scan settings attached.

      Checking Coverity configuration...
      [Stream] CoverityPlatform/Kruvi/Kruvi_001 : OK (version: 8.6.0)
      [Node] Jenkins : version 8.6.0
      Configuration is valid.

      Building in workspace C:\Program Files (x86)\Jenkins\workspace\Hostname
      [C:\Program, Files\Coverity\Coverity, Static, Analysis\bin\cov-build, --dir, C:\Program, Files, (x86)\Jenkins\coverity\temp-6535400382401528552.tmp, cmd, /c, call, C:\Windows\TEMP\hudson1682811972736486368.bat]
      [Hostname] $ "C:\Program Files\Coverity\Coverity Static Analysis\bin\cov-build" --dir $COV_IDIR cmd /c call C:\Windows\TEMP\hudson1682811972736486368.bat
      Coverity Build Capture (64-bit) version 8.6.0 on Windows Server 2008 R2 Server Datacenter (full installation), 64-bit, Service Pack 1 (build 7601)
      Internal version numbers: 2d06cace01 p-kent1-push-26368.885.208


      C:\Program Files (x86)\Jenkins\workspace\Hostname>C:\hostname\hostname.py
      Hello, world!

      C:\Program Files (x86)\Jenkins\workspace\Hostname>exit 0
      [WARNING] No files were emitted. This may be due to a problem with your configuration
      or because no files were actually compiled by your build command.
      Please make sure you have configured the compilers actually used in the compilation.
      For more details, please look at:
      C:/Program Files (x86)/Jenkins/coverity/temp-6535400382401528552.tmp/build-log.txt

      [Coverity] cmd so far is: [C:\Program Files\Coverity\Coverity Static Analysis\bin\cov-analyze, --dir, C:\Program Files (x86)\Jenkins\coverity\temp-6535400382401528552.tmp]
      [Hostname] $ "C:\Program Files\Coverity\Coverity Static Analysis\bin\cov-analyze" --dir "C:\Program Files (x86)\Jenkins\coverity\temp-6535400382401528552.tmp"
      Coverity Static Analysis version 8.6.0 on Windows Server 2008 R2 Server Datacenter (full installation), 64-bit, Service Pack 1 (build 7601)
      Internal version numbers: 2d06cace01 p-kent1-push-26368.885.208

      Using 1 worker as limited by CPU(s)
      Looking for translation units
      Error: intermediate directory contains no translation units.
      [Coverity] C:\Program Files\Coverity\Coverity Static Analysis\bin\cov-analyze returned 2, aborting...
      Build step 'Coverity' changed build result to FAILURE
      Finished: FAILURE

      please advise.

            jbriggs Joel Briggs
            ron2020 Shahar Ron
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: