Coverity build error

1,922 views
Skip to first unread message

Nitzan Yemal

unread,
Feb 20, 2017, 4:54:29 AM2/20/17
to Jenkins Users, nitzan...@vonage.com
Hello,

I'm trying to create a job with coverity plugin for static analysis and I get this error (using Coverity plugin 1.8.1 and coverity version 8.6 on Ubuntu machine)  : 


BUILD SUCCESSFUL

Total time: 8 mins 54.262 secs
[Coverity] cmd so far is: [/home/jenkins/Developer/cov-analysis-linux64-8.6.0/bin/cov-build, --dir, /slave/coverity/temp-5063947259947141964.tmp, --no-command, --fs-capture-search, $WORKSPACE]
[commit_VoXIP_coverity] $ /home/jenkins/Developer/cov-analysis-linux64-8.6.0/bin/cov-build --dir /slave/coverity/temp-5063947259947141964.tmp --no-command --fs-capture-search /slave/workspace/commit_VoXIP_coverity
Coverity Build Capture (64-bit) version 8.6.0 on Linux 3.13.0-106-generic x86_64
Internal version numbers: 2d06cace01 p-kent1-push-26368.885.208


[STATUS] Running filesystem capture search...
[STATUS] Emitting 5 source files from filesystem capture
|0----------25-----------50----------75---------100|
****************************************************
5 Android Applications have been captured and are ready for analysis
The cov-build utility completed successfully.
[Coverity] cmd so far is: [/home/jenkins/Developer/cov-analysis-linux64-8.6.0/bin/cov-analyze, --dir, /slave/coverity/temp-5063947259947141964.tmp]
[commit_VoXIP_coverity] $ /home/jenkins/Developer/cov-analysis-linux64-8.6.0/bin/cov-analyze --dir /slave/coverity/temp-5063947259947141964.tmp
Coverity Static Analysis version 8.6.0 on Linux 3.13.0-106-generic x86_64
Internal version numbers: 2d06cace01 p-kent1-push-26368.885.208

Using 4 workers as limited by CPU(s)
Looking for translation units
Error: intermediate directory contains no translation units.
[Coverity] /home/jenkins/Developer/cov-analysis-linux64-8.6.0/bin/cov-analyze returned 2, aborting...
Build step 'Coverity' changed build result to FAILURE


Any advice?

Thanks,
Nitzan


Richard Ginga

unread,
Feb 21, 2017, 8:02:31 AM2/21/17
to jenkins...@googlegroups.com
A "no translation units" typically means nothing was actually compiled.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/295c9fab-8bf6-498b-a10b-e3a89f83efc0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Dick Ginga
Build Engineer

Reply all
Reply to author
Forward
0 new messages