ERROR: Error during SonarScanner execution java.lang.IllegalStateException: The "build-wrapper-dump.json" file was found empty

Hello Team,

I am trying to run sonar analysis for C++ code for the first time. when I run build command it is not adding any content to the build-wrapper-dump.json. below is the output of the file:

# (C) SonarSource SA, 2014-2021, info@sonarsource.com
# All SONARSOURCE programs and content are copyright protected.
# SONARSOURCE and SONARQUBE are trademarks of SonarSource SA. All rights are expressly reserved.
#
# This file is designed exclusively for use with the SONARSOURCE C / C++ / Objective-C Plugin.
# It may not be used in connection with any other software.
# Any other use is prohibited by law and may be grounds for immediate termination of your License.
{
"version":"6.20",
"captures":[
]}
build-wrapper.log output -
# (C) SonarSource SA, 2014-2021, info@sonarsource.com
# All SONARSOURCE programs and content are copyright protected.
# SONARSOURCE and SONARQUBE are trademarks of SonarSource SA. All rights are expressly reserved.
#
# This file is designed exclusively for use with the SONARSOURCE C / C++ / Objective-C Plugin.
# It may not be used in connection with any other software.
# Any other use is prohibited by law and may be grounds for immediate termination of your License.
{
"version":"6.20",
"captures":[
]}
[root@centos77 results]# cat build-wrapper.log
Mon Oct 11 16:52:38 2021: build-wrapper, version 6.20 (linux-x86)
Mon Oct 11 16:52:38 2021: System name: Linux Nodename: centos77 Release: 3.10.0-1160.36.2.el7.x86_64 Version: #1 SMP Wed Jul 21 11:57:15 UTC 2021 Machine: x86_64
Mon Oct 11 16:52:38 2021: socket path: /tmp/build-wrapper-socket.IwtsYc
Mon Oct 11 16:52:38 2021: dynamic library found: /root/cproject/sdl/build-wrapper-linux-x86/libinterceptor-i686.so
Mon Oct 11 16:52:38 2021: dynamic library found: /root/cproject/sdl/build-wrapper-linux-x86/libinterceptor-x86_64.so
Mon Oct 11 16:52:38 2021: dynamic library found: /root/cproject/sdl/build-wrapper-linux-x86/libinterceptor-haswell.so
Mon Oct 11 16:52:38 2021: command executed as: <build-wrapper-linux-x86-64>
Mon Oct 11 16:52:38 2021: command line received: <make -p clean all>
Mon Oct 11 16:52:38 2021: env 0: <XDG_SESSION_ID=11888>
Mon Oct 11 16:52:38 2021: env 1: <HOSTNAME=centos77>
Mon Oct 11 16:52:38 2021: env 2: <SELINUX_ROLE_REQUESTED=>
Mon Oct 11 16:52:38 2021: env 3: <TERM=xterm>
Mon Oct 11 16:52:38 2021: env 4: <SHELL=/bin/bash>
Mon Oct 11 16:52:38 2021: env 5: <HISTSIZE=1000>
Mon Oct 11 16:52:38 2021: env 6: <SSH_CLIENT=10.134.139.23 52936 22>
Mon Oct 11 16:52:38 2021: env 7: <GRADLE_HOME=/opt/gradle/gradle-5.0>
Mon Oct 11 16:52:38 2021: env 8: <SELINUX_USE_CURRENT_RANGE=>
Mon Oct 11 16:52:38 2021: env 9: <OLDPWD=/root>
Mon Oct 11 16:52:38 2021: env 10: <SSH_TTY=/dev/pts/0>
Mon Oct 11 16:52:38 2021: env 11: <USER=root>
Mon Oct 11 16:52:38 2021: env 12: <LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:>
Mon Oct 11 16:52:38 2021: env 13: <MAIL=/var/spool/mail/root>
Mon Oct 11 16:52:38 2021: env 14: <PATH=/opt/gradle/gradle-5.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/sonar-scanner-4.6.2.2472-linux/bin:/root/bin:/root/cproject/sdl/cov-analysis-linux64-2020.12-3.sh/bin:/root/cproject/sdl/cov-analysis-linux64-2020.12-3.sh/bin:/root/cproject/sdl/cov-analysis-linux64-2020.12-3.sh/bin:/root/cproject/sdl/cov-analysis-linux64-2020.12-3.sh/bin:/root/cproject/sdl/cov-analysis-linux64-2020.12-3.sh/bin:/root/cproject/sdl/build-wrapper-linux-x86>
Mon Oct 11 16:52:38 2021: env 15: <PWD=/root/cproject/sdl>
Mon Oct 11 16:52:38 2021: env 16: <LANG=en_US.UTF-8>
Mon Oct 11 16:52:38 2021: env 17: <SELINUX_LEVEL_REQUESTED=>
Mon Oct 11 16:52:38 2021: env 18: <HISTCONTROL=ignoredups>
Mon Oct 11 16:52:38 2021: env 19: <SHLVL=1>
Mon Oct 11 16:52:38 2021: env 20: <HOME=/root>
Mon Oct 11 16:52:38 2021: env 21: <LOGNAME=root>
Mon Oct 11 16:52:38 2021: env 22: <SSH_CONNECTION=10.134.139.23 52936 10.244.130.35 22>
Mon Oct 11 16:52:38 2021: env 23: <LESSOPEN=||/usr/bin/lesspipe.sh %s>
Mon Oct 11 16:52:38 2021: env 24: <XDG_RUNTIME_DIR=/run/user/0>
Mon Oct 11 16:52:38 2021: env 25: <_=/root/cproject/sdl/build-wrapper-linux-x86/build-wrapper-linux-x86-64>
Mon Oct 11 16:52:38 2021: executing: <make -p clean all>
Mon Oct 11 16:52:38 2021: initializing json file
Mon Oct 11 16:52:38 2021: process created with pid: 15413
Mon Oct 11 16:52:38 2021: parent pid: 15412
Mon Oct 11 16:52:38 2021: working directory: </root/cproject/sdl>
Mon Oct 11 16:52:38 2021: executable: </root/cproject/sdl/build-wrapper-linux-x86/build-wrapper-linux-x86-64>
Mon Oct 11 16:52:38 2021: argv[0]: <build-wrapper-linux-x86-64>
Mon Oct 11 16:52:38 2021: argv[1]: <-c>
Mon Oct 11 16:52:38 2021: argv[2]: <>
Mon Oct 11 16:52:38 2021: argv[3]: <make>
Mon Oct 11 16:52:38 2021: argv[4]: <-p>
Mon Oct 11 16:52:38 2021: argv[5]: <clean>
Mon Oct 11 16:52:38 2021: argv[6]: <all>
Mon Oct 11 16:52:38 2021: skipping process with pid: 15413
Mon Oct 11 16:52:38 2021: process created with pid: 15414
Mon Oct 11 16:52:38 2021: parent pid: 15413
Mon Oct 11 16:52:38 2021: working directory: </root/cproject/sdl>
Mon Oct 11 16:52:38 2021: executable: </usr/bin/make>
Mon Oct 11 16:52:38 2021: argv[0]: <make>
Mon Oct 11 16:52:38 2021: argv[1]: <-p>
Mon Oct 11 16:52:38 2021: argv[2]: <clean>
Mon Oct 11 16:52:38 2021: argv[3]: <all>
Mon Oct 11 16:52:38 2021: skipping process with pid: 15414
Mon Oct 11 16:52:38 2021: finalizing json file
Mon Oct 11 16:52:38 2021: returned with code: 2

Below is the Output from the sonar-scanner command:

ERROR: Error during SonarScanner execution
java.lang.IllegalStateException: The "build-wrapper-dump.json" file was found empty. Please make sure that:
  * you are using the latest version of the build-wrapper and the CFamily analyzer
  * your compiler is supported
  * you are wrapping your build correctly
  * you are wrapping a full/clean build
  * if you are building your project inside a Docker container, build-wrapper is wrapping the build process inside the container and not wrapping the external Docker process
        at com.sonar.cpp.plugin.CFamilySensor.process(CFamilySensor.java:442)
        at com.sonar.cpp.plugin.CFamilySensor.execute(CFamilySensor.java:175)
        at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:48)
        at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:85)
        at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:62)
        at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:82)
        at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:137)
        at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:123)
        at org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer.java:392)
        at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:388)
        at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:357)
        at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:137)
        at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:123)
        at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(GlobalContainer.java:150)
        at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:137)
        at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:123)
        at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:72)
        at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:66)
        at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.base/java.lang.reflect.Method.invoke(Unknown Source)
        at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
        at com.sun.proxy.$Proxy0.execute(Unknown Source)
        at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
        at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
        at org.sonarsource.scanner.cli.Main.execute(Main.java:112)
        at org.sonarsource.scanner.cli.Main.execute(Main.java:75)
        at org.sonarsource.scanner.cli.Main.main(Main.java:61)
ERROR:
ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.

sonar-project.properties file:

sonar.host.url=http://localhost:9000
sonar.login=123456
sonar.projectKey=ch1
sonar.projectName=ch1

sonar.sources=.

# The build-wrapper output dir
sonar.cfamily.build-wrapper-output=/root/cproject/sdl/results

# Encoding of the source files
sonar.sourceEncoding=UTF-8

Any help would be appreciated.

Thanks in Advance,
Manikanta

Hi @bunty ,

You are running make -p clean all but it fails, what command are you using to build your project? You should first look at having your project built successfully before wrapping it with build-wrapper.

@mpaladin - we have used below command to built the project
export DOCKER_BUILDKIT=1
eval “$(ssh-agent -s)”
ssh-add
docker build -t sdl:latest --ssh default --secret id=art_secret,src=/root/art_secret.txt -f docker_test/Dockerfile-Test .

tried again, I see some data in build-wrapper-dump.json
“-c”,
“src/abort.cpp”,
“-o”,
“src/libsdl_la-abort.o”],
“env”:[
“SQ_WRAPPER_SOCKET=/tmp/build-wrapper-socket.kwcgX7”,
“SQ_WRAPPER_LIBRARY=/opt/sonar-scanner/build-wrapper/libinterceptor-${PLATFORM}.so”,
“DUALCASE=1”,
“LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:”,
“SSH_CONNECTION=10.135.203.214 54338 100.64.25.129 22”,
“LESSCLOSE=/usr/bin/lesspipe %s %s”,
“LANG=en_US.UTF-8”,
“OLDPWD=/root/sdl/build/src”,
“MAKE_TERMOUT=/dev/pts/0”,
“MFLAGS=-p”,
“XDG_SESSION_ID=3522”,
“USER=root”,
“PWD=/root/sdl/build”,
“HOME=/root”,
“SSH_CLIENT=10.135.203.214 54338 22”,
“XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop”,
“SSH_TTY=/dev/pts/0”,
“MAIL=/var/mail/root”,
“SHELL=/bin/bash”,
“TERM=xterm”,
“MAKELEVEL=1”,
“SHLVL=3”,
“MAKE_TERMERR=/dev/pts/0”,
“LOGNAME=root”,
“XDG_RUNTIME_DIR=/run/user/0”,
“PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/sonar-scanner/bin:/opt/sonar-scanner/build-wrapper”,
“MAKEFLAGS=p”,
“LESSOPEN=| /usr/bin/lesspipe %s”,
“_=/usr/bin/g++”,
“LD_PRELOAD=”]},
{
“compiler”:“clang”,
“cwd”:"/root/sdl/build",
“executable”:"/usr/bin/x86_64-linux-gnu-g+±7",
“cmd”:[
“g++”,

and build was successfull -
root@Ubuntu1804-01:~/sdl/build# sonar-scanner
INFO: Scanner configuration file: /opt/sonar-scanner/conf/sonar-scanner.properties
INFO: Project root configuration file: /root/sdl/build/sonar-project.properties
INFO: SonarScanner 4.6.2.2472
INFO: Java 11.0.11 AdoptOpenJDK (64-bit)
INFO: Linux 4.15.0-144-generic amd64
INFO: User cache: /root/.sonar/cache
INFO: Scanner configuration file: /opt/sonar-scanner/conf/sonar-scanner.properties
INFO: Project root configuration file: /root/sdl/build/sonar-project.properties
INFO: Analyzing on SonarQube server 8.9.2
INFO: Default locale: “en_US”, source code encoding: “UTF-8”
INFO: Load global settings
INFO: Load global settings (done) | time=184ms
INFO: Server id: 92D88F0A-AWQ8zWnEj-IP4FfTQdkY
INFO: User cache: /root/.sonar/cache
INFO: Load/download plugins
INFO: Load plugins index
INFO: Load plugins index (done) | time=131ms
INFO: Load/download plugins (done) | time=665ms
INFO: Loaded core extensions: developer-scanner
INFO: JavaScript/TypeScript frontend is enabled
INFO: Process project properties
INFO: Process project properties (done) | time=11ms
INFO: Execute project builders
INFO: Execute project builders (done) | time=2ms
INFO: Project key: ric-plt-sdl
INFO: Base dir: /root/sdl/build
INFO: Working dir: /root/sdl/build/.scannerwork
INFO: Load project settings for component key: ‘ric-plt-sdl’
INFO: Load project settings for component key: ‘ric-plt-sdl’ (done) | time=54ms
INFO: Load project branches
INFO: Load project branches (done) | time=52ms
INFO: Load project pull requests
INFO: Load project pull requests (done) | time=50ms
INFO: Load branch configuration
INFO: Load branch configuration (done) | time=2ms
INFO: Load quality profiles
INFO: Load quality profiles (done) | time=105ms
INFO: Load active rules
INFO: Load active rules (done) | time=3295ms
INFO: Indexing files…
INFO: Project configuration:
INFO: Excluded sources: docs/, 3rdparty/googletest/**/, 3rdparty/googletest/*
INFO: Load project repositories
INFO: Load project repositories (done) | time=69ms
INFO: 431 files indexed
INFO: 333 files ignored because of inclusion/exclusion patterns
INFO: 215 files ignored because of scm ignore settings
INFO: Quality profile for css: Sonar way
INFO: Quality profile for web: Sonar way
INFO: ------------- Run sensors on module ric-plt-sdl
INFO: JavaScript/TypeScript frontend is enabled
INFO: Load metrics repository
INFO: Load metrics repository (done) | time=66ms
INFO: Sensor CSS Metrics [cssfamily]
INFO: Sensor CSS Metrics [cssfamily] (done) | time=96ms
INFO: Sensor CSS Rules [cssfamily]
INFO: 139 source files to be analyzed
INFO: 139/139 source files have been analyzed
INFO: Sensor CSS Rules [cssfamily] (done) | time=3972ms
INFO: Sensor C# Project Type Information [csharp]
INFO: Sensor C# Project Type Information [csharp] (done) | time=3ms
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=2ms
INFO: Sensor JavaXmlSensor [java]
INFO: Sensor JavaXmlSensor [java] (done) | time=5ms
INFO: Sensor HTML [web]
INFO: Sensor HTML [web] (done) | time=3428ms
INFO: Sensor VB.NET Project Type Information [vbnet]
INFO: Sensor VB.NET Project Type Information [vbnet] (done) | time=1ms
INFO: Sensor VB.NET Properties [vbnet]
INFO: Sensor VB.NET Properties [vbnet] (done) | time=2ms
INFO: Sensor JaCoCo XML Report Importer [jacoco]
INFO: ‘sonar.coverage.jacoco.xmlReportPaths’ is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=5ms
INFO: Sensor ThymeLeaf template sensor [securityjavafrontend]
INFO: Sensor ThymeLeaf template sensor [securityjavafrontend] (done) | time=10ms
INFO: Sensor JavaSecuritySensor [security]
INFO: Reading type hierarchy from: /root/sdl/build/.scannerwork/ucfg2/java
INFO: Read 0 type definitions
INFO: Reading UCFGs from: /root/sdl/build/.scannerwork/ucfg2/java
INFO: No UCFGs have been included for analysis.
INFO: Sensor JavaSecuritySensor [security] (done) | time=5ms
INFO: Sensor CSharpSecuritySensor [security]
INFO: Reading type hierarchy from: /root/sdl/build/ucfg_cs2
INFO: Read 0 type definitions
INFO: Reading UCFGs from: /root/sdl/build/ucfg_cs2
INFO: No UCFGs have been included for analysis.
INFO: Sensor CSharpSecuritySensor [security] (done) | time=1ms
INFO: Sensor PhpSecuritySensor [security]
INFO: Reading type hierarchy from: /root/sdl/build/.scannerwork/ucfg2/php
INFO: Read 0 type definitions
INFO: Reading UCFGs from: /root/sdl/build/.scannerwork/ucfg2/php
INFO: No UCFGs have been included for analysis.
INFO: Sensor PhpSecuritySensor [security] (done) | time=1ms
INFO: Sensor PythonSecuritySensor [security]
INFO: Reading type hierarchy from: /root/sdl/build/.scannerwork/ucfg2/python
INFO: Read 0 type definitions
INFO: Reading UCFGs from: /root/sdl/build/.scannerwork/ucfg2/python
INFO: No UCFGs have been included for analysis.
INFO: Sensor PythonSecuritySensor [security] (done) | time=0ms
INFO: Sensor JsSecuritySensor [security]
INFO: Reading type hierarchy from: /root/sdl/build/.scannerwork/ucfg2/js
INFO: Read 0 type definitions
INFO: Reading UCFGs from: /root/sdl/build/.scannerwork/ucfg2/js
INFO: No UCFGs have been included for analysis.
INFO: Sensor JsSecuritySensor [security] (done) | time=1ms
INFO: ------------- Run sensors on project
INFO: Sensor Zero Coverage Sensor
INFO: Sensor Zero Coverage Sensor (done) | time=5ms
INFO: SCM Publisher SCM provider for this project is: git
INFO: SCM Publisher 139 source files to be analyzed
INFO: SCM Publisher 0/139 source files have been analyzed (done) | time=497ms
WARN: Missing blame information for the following files:
WARN: * coverage_report/html_report/src/redis/asyncdatabasediscovery.cpp.gcov.html
WARN: * coverage_report/html_report/src/asyncstorageimpl.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/rejectedbysdl.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/error.cpp.func.html
WARN: * coverage_report/html_report/src/errorqueries.cpp.gcov.html
WARN: * coverage_report/html_report/src/hostandport.cpp.func.html
WARN: * coverage_report/html_report/src/syncstorage.cpp.gcov.html
WARN: * coverage_report/html_report/src/createlogger.cpp.func.html
WARN: * coverage_report/html_report/src/system.cpp.func.html
WARN: * coverage_report/html_report/src/emptynamespace.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/rejectedbybackend.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/timer.cpp.gcov.html
WARN: * coverage_report/html_report/src/backenderror.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/redis/asyncsentineldatabasediscovery.cpp.gcov.html
WARN: * coverage_report/html_report/src/redis/hiredissystem.cpp.gcov.html
WARN: * coverage_report/html_report/src/namespaceconfigurationsimpl.cpp.gcov.html
WARN: * coverage_report/html_report/src/redis/asyncredisreply.cpp.func.html
WARN: * coverage_report/html_report/src/redis/asynccommanddispatcher.cpp.gcov.html
WARN: * coverage_report/html_report/src/asyncstorage.cpp.gcov.html
WARN: * coverage_report/html_report/src/filedescriptor.cpp.func.html
WARN: * coverage_report/html_report/src/namespacevalidator.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/asyncdummystorage.cpp.gcov.html
WARN: * coverage_report/html_report/src/redis/redisgeneral.cpp.gcov.html
WARN: * coverage_report/html_report/src/timer.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/redis/index-sort-f.html
WARN: * coverage_report/html_report/src/abort.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/invalidnamespace.cpp.gcov.html
WARN: * coverage_report/html_report/src/databaseconfigurationimpl.cpp.gcov.html
WARN: * coverage_report/html_report/src/emptynamespace.cpp.func.html
WARN: * coverage_report/html_report/src/hostandport.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/system.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/abort.cpp.func.html
WARN: * coverage_report/html_report/gcov.css
WARN: * coverage_report/html_report/src/redis/index.html
WARN: * coverage_report/html_report/src/notconnected.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/abort.cpp.gcov.html
WARN: * coverage_report/html_report/src/configurationpaths.cpp.func.html
WARN: * coverage_report/html_report/src/namespacevalidator.cpp.gcov.html
WARN: * coverage_report/html_report/src/redis/asynchiredisdatabasediscovery.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/rejectedbybackend.cpp.gcov.html
WARN: * coverage_report/html_report/src/eventfd.cpp.gcov.html
WARN: * coverage_report/html_report/src/redis/asyncredisstorage.cpp.gcov.html
WARN: * coverage_report/html_report/src/filedescriptor.cpp.gcov.html
WARN: * coverage_report/html_report/src/redis/index-sort-l.html
WARN: * coverage_report/html_report/src/notconnected.cpp.func.html
WARN: * coverage_report/html_report/src/backenderror.cpp.gcov.html
WARN: * coverage_report/html_report/src/publisherid.cpp.gcov.html
WARN: * coverage_report/html_report/src/syncstorage.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/asyncstorageimpl.cpp.gcov.html
WARN: * coverage_report/html_report/src/redis/asyncdatabasediscovery.cpp.func.html
WARN: * coverage_report/html_report/src/redis/contentsbuilder.cpp.func.html
WARN: * coverage_report/html_report/src/redis/asynchirediscommanddispatcher.cpp.func.html
WARN: * coverage_report/html_report/src/timerfd.cpp.func.html
WARN: * coverage_report/html_report/src/redis/asynchiredisdatabasediscovery.cpp.gcov.html
WARN: * coverage_report/html_report/index-sort-f.html
WARN: * coverage_report/html_report/src/redis/hiredisepolladapter.cpp.func.html
WARN: * coverage_report/html_report/src/databaseconfiguration.cpp.gcov.html
WARN: * coverage_report/html_report/src/asyncstorage.cpp.func.html
WARN: * coverage_report/html_report/src/namespaceconfigurationsimpl.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/index-sort-l.html
WARN: * coverage_report/html_report/src/index.html
WARN: * coverage_report/html_report/index.html
WARN: * coverage_report/html_report/src/engineimpl.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/createlogger.cpp.gcov.html
WARN: * coverage_report/html_report/src/rejectedbysdl.cpp.gcov.html
WARN: * coverage_report/html_report/src/engineimpl.cpp.func.html
WARN: * coverage_report/html_report/src/system.cpp.gcov.html
WARN: * coverage_report/html_report/src/configurationreader.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/operationinterrupted.cpp.gcov.html
WARN: * coverage_report/html_report/src/exception.cpp.gcov.html
WARN: * coverage_report/html_report/src/timerfd.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/redis/redisgeneral.cpp.func.html
WARN: * coverage_report/html_report/src/index-sort-f.html
WARN: * coverage_report/html_report/src/databaseconfiguration.cpp.func.html
WARN: * coverage_report/html_report/src/redis/asyncsentineldatabasediscovery.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/redis/hiredisepolladapter.cpp.gcov.html
WARN: * coverage_report/html_report/src/stdstreamlogger.cpp.gcov.html
WARN: * coverage_report/html_report/src/redis/contentsbuilder.cpp.gcov.html
WARN: * coverage_report/html_report/src/redis/redisgeneral.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/asyncdummystorage.cpp.func.html
WARN: * coverage_report/html_report/src/error.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/emptynamespace.cpp.gcov.html
WARN: * coverage_report/html_report/src/redis/asynchirediscommanddispatcher.cpp.gcov.html
WARN: * coverage_report/html_report/src/rejectedbybackend.cpp.func.html
WARN: * coverage_report/html_report/src/redis/asyncredisreply.cpp.gcov.html
WARN: * coverage_report/html_report/index-sort-l.html
WARN: * coverage_report/html_report/src/redis/hiredissystem.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/asyncstorageimpl.cpp.func.html
WARN: * coverage_report/html_report/src/publisherid.cpp.func.html
WARN: * coverage_report/html_report/src/syncstorageimpl.cpp.func.html
WARN: * coverage_report/html_report/src/configurationreader.cpp.func.html
WARN: * coverage_report/html_report/src/configurationpaths.cpp.gcov.html
WARN: * coverage_report/html_report/src/redis/asynccommanddispatcher.cpp.func.html
WARN: * coverage_report/html_report/src/timer.cpp.func.html
WARN: * coverage_report/html_report/src/databaseconfiguration.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/publisherid.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/error.cpp.gcov.html
WARN: * coverage_report/html_report/src/redis/hiredissystem.cpp.func.html
WARN: * coverage_report/html_report/src/eventfd.cpp.func.html
WARN: * coverage_report/html_report/src/redis/asyncredisstorage.cpp.func.html
WARN: * coverage_report/html_report/src/namespaceconfigurationsimpl.cpp.func.html
WARN: * coverage_report/html_report/src/errorqueries.cpp.func.html
WARN: * coverage_report/html_report/src/errorqueries.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/databaseconfigurationimpl.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/redis/asynchirediscommanddispatcher.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/databaseconfigurationimpl.cpp.func.html
WARN: * coverage_report/html_report/src/configurationpaths.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/redis/asyncredisstorage.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/redis/asyncsentineldatabasediscovery.cpp.func.html
WARN: * coverage_report/html_report/src/filedescriptor.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/configurationreader.cpp.gcov.html
WARN: * coverage_report/html_report/src/redis/asyncdatabasediscovery.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/stdstreamlogger.cpp.func.html
WARN: * coverage_report/html_report/src/stdstreamlogger.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/timerfd.cpp.gcov.html
WARN: * coverage_report/html_report/src/invalidnamespace.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/redis/contentsbuilder.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/invalidnamespace.cpp.func.html
WARN: * coverage_report/html_report/src/eventfd.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/asyncdummystorage.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/redis/asynccommanddispatcher.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/notconnected.cpp.gcov.html
WARN: * coverage_report/html_report/src/redis/asyncredisreply.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/hostandport.cpp.gcov.html
WARN: * coverage_report/html_report/src/operationinterrupted.cpp.func.html
WARN: * coverage_report/html_report/src/redis/asynchiredisdatabasediscovery.cpp.func.html
WARN: * coverage_report/html_report/src/syncstorageimpl.cpp.gcov.html
WARN: * coverage_report/html_report/src/syncstorage.cpp.func.html
WARN: * coverage_report/html_report/src/backenderror.cpp.func.html
WARN: * coverage_report/html_report/src/exception.cpp.func.html
WARN: * coverage_report/html_report/src/namespacevalidator.cpp.func.html
WARN: * coverage_report/html_report/src/exception.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/createlogger.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/operationinterrupted.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/syncstorageimpl.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/redis/hiredisepolladapter.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/asyncstorage.cpp.func-sort-c.html
WARN: * coverage_report/html_report/src/rejectedbysdl.cpp.func.html
WARN: * coverage_report/html_report/src/engineimpl.cpp.gcov.html
WARN: This may lead to missing/broken features in SonarQube
INFO: CPD Executor Calculating CPD for 138 files
INFO: CPD Executor CPD calculation finished (done) | time=400ms
INFO: Load New Code definition
INFO: Load New Code definition (done) | time=61ms
INFO: Analysis report generated in 216ms, dir size=2 MB
INFO: Analysis report compressed in 381ms, zip size=767 KB
INFO: Analysis report uploaded in 137ms
INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=ric-plt-sdl
INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AXx1fwQnCQBhH3iEwRji
INFO: Analysis total time: 24.072 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 27.464s
INFO: Final Memory: 29M/100M
INFO: ------------------------------------------------------------------------
but I am not seeing code coverage on SonarQube UI. May I know what might be the issue?.