I am using SonarQube server 10.5.1.90531, SonarScanner 5.0.1.3006, CFamily plugin version: 6.54.0.69031.
I am trying to analyze my C++ source code using real time processing build (rtp) running on vxWorks. I am using Wind River compiler wrtool with build-wrapper. Below is the command:
build-wrapper-win-x86-64.exe --out-dir C:\Temp\wrws\myproject wrtool.bat prj build myproject
When running my script, I got some good correct info messages such as:
09:53:05.277 INFO: 4 source files to be analyzed
09:53:05.318 INFO: 4/4 source files have been analyzed
Then I got some errors below.
09:53:10.514 INFO: Found empty cache on server
09:53:10.589 DEBUG: Not enough content in 'Shared/MSV/msv.hpp' to have CPD blocks, it will not be part of the duplication detection
09:53:10.601 DEBUG: Not enough content in 'Shared/utils/Msg.cpp' to have CPD blocks, it will not be part of the duplication detection
09:53:10.619 DEBUG: Not enough content in 'Shared/MSV/msv.cpp' to have CPD blocks, it will not be part of the duplication detection
09:53:10.672 INFO: Subprocess(es) done in 39ms
09:53:10.682 DEBUG: C:\Temp\wrws\sbc\Shared\utils\Msg.h not marked as unchanged: file added
09:53:10.682 DEBUG: C:\Temp\wrws\sbc\Shared\MSV\msv.hpp not marked as unchanged: file added
09:53:10.683 DEBUG: C:\Temp\wrws\sbc\Shared\MSV\msv.cpp not marked as unchanged: file added
09:53:10.683 DEBUG: C:\Temp\wrws\sbc\Shared\utils\Msg.cpp not marked as unchanged: file added
09:53:10.683 INFO: 0/4 files marked as unchanged
09:53:10.683 INFO: Cache: 0/0 hits, 125 bytes
09:53:10.683 INFO: SE: 0 out of 0
09:53:10.683 INFO: PCH: unique=0 use=0 (forceInclude=0,throughHeader=0,firstInclude=0) out of 0 (forceInclude=0,throughHeader=0)
09:53:10.684 INFO: Z3 refutation rate: 0 out of 0
09:53:10.684 INFO: 0 compilation units analyzed
09:53:11.290 INFO: ------------------------------------------------------------------------
09:53:11.291 INFO: EXECUTION FAILURE
I am not sure what the problem is? I know my build is clean.
Thanks for the help