0% found this document useful (0 votes)
193 views17 pages

Sonarqube Analysis

The SonarScanner tool is analyzing a project on a SonarQube server. It indexed 8,682 files from the project and ran various sensors to analyze the code. One sensor failed to run as Node.js was not available during analysis. The analysis produced metrics and issues that will be available on the SonarQube server.

Uploaded by

AhteshInamdar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
193 views17 pages

Sonarqube Analysis

The SonarScanner tool is analyzing a project on a SonarQube server. It indexed 8,682 files from the project and ran various sensors to analyze the code. One sensor failed to run as Node.js was not available during analysis. The analysis produced metrics and issues that will be available on the SonarQube server.

Uploaded by

AhteshInamdar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

jenkins@NBRserver:~/sonarqube/sonar-scanner-4.5.0.2216-linux/bin$ .

/sonar-scanne
r
INFO: Scanner configuration file: /home/jenkins/sonarqube/sonar-scanner-4.5.0.22

16-linux/conf/sonar-scanner.properties
INFO: Project root configuration file: NONE
INFO: SonarScanner 4.5.0.2216
INFO: Java 11.0.3 AdoptOpenJDK (64-bit)
INFO: Linux 4.4.0-116-generic amd64
INFO: User cache: /home/jenkins/.sonar/cache
INFO: Scanner configuration file: /home/jenkins/sonarqube/sonar-scanner-4.5.0.22

16-linux/conf/sonar-scanner.properties
INFO: Project root configuration file: NONE
INFO: Analyzing on SonarQube server 7.9.3
INFO: Default locale: "en_US", source code encoding: "UTF-8" (analysis is platform
dependent)
INFO: Load global settings
INFO: Load global settings (done) | time=1287ms
INFO: Server id: 41330257-AWxMp0bA2zq7zVwdQ5y-
INFO: User cache: /home/jenkins/.sonar/cache
INFO: Load/download plugins
INFO: Load plugins index
INFO: Load plugins index (done) | time=282ms
INFO: Load/download plugins (done) | time=81538ms
INFO: Loaded core extensions: developer-scanner
INFO: Process project properties
INFO: Execute project builders
INFO: Execute project builders (done) | time=5ms
INFO: Project key: ELDS.NBR_BSW
INFO: Base dir: /home/jenkins/CI/jenkins/workspace/NBR_NIGHTLY_BUILD/NBR/DEV
INFO: Working dir: /home/jenkins/CI/jenkins/workspace/NBR_NIGHTLY_BUILD/NBR/DEV/
.scannerwork
INFO: Load project settings for component key: 'ELDS.NBR_BSW'
INFO: Load project settings for component key: 'ELDS.NBR_BSW' (done) | time=185m
s
INFO: Load project branches
INFO: Load project branches (done) | time=182ms
INFO: Load project pull requests
INFO: Load project pull requests (done) | time=175ms
INFO: Load branch configuration
INFO: Load branch configuration (done) | time=2ms
INFO: Load quality profiles
INFO: Load quality profiles (done) | time=298ms
INFO: Load active rules
INFO: Load active rules (done) | time=5603ms
INFO: Indexing files...
INFO: Project configuration:
INFO: Load project repositories
INFO: Load project repositories (done) | time=190ms
INFO: 8560 files indexed... (last one was Tools/CMakeDependencies/CppUTestExt/M
ockSupportPlugin.h)
INFO: 8682 files indexed
INFO: 0 files ignored because of scm ignore settings
INFO: Quality profile for c: Sonar way
INFO: Quality profile for cpp: Sonar way
INFO: Quality profile for js: Sonar way Recommended
INFO: Quality profile for objc: Sonar way
INFO: Quality profile for py: Sonar way
INFO: Quality profile for xml: Sonar way
INFO: ------------- Run sensors on module ELDS.NBR_BSW
INFO: Load metrics repository
INFO: Load metrics repository (done) | time=186ms
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by net.sf.cglib.core.ReflectUtils$1(file:/ho

me/jenkins/.sonar/cache/a89f1943fc75b65becd9fb4ecab8d913/sonar-tsql-plugin.jar)
to method
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java
.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of net.sf.cglib.core.
ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect
ive access operations
WARNING: All illegal access operations will be denied in a future release
INFO: Sensor SonarCSS Rules [cssfamily]
INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is
skipped.
INFO: Sensor SonarCSS Rules [cssfamily] (done) | time=17ms
INFO: Sensor JavaXmlSensor [java]
INFO: 81 source files to be analyzed
INFO: Sensor JavaXmlSensor [java] (done) | time=2274ms
INFO: Sensor HTML [web]
INFO: 81/81 source files have been analyzed
INFO: Sensor HTML [web] (done) | time=50ms
INFO: Sensor XML Sensor [xml]
INFO: 100 source files to be analyzed
INFO: Sensor XML Sensor [xml] (done) | time=1883ms
INFO: Sensor Python Sensor [python]
INFO: 100/100 source files have been analyzed
INFO: Starting global symbols computation
INFO: 11 source files to be analyzed
INFO: 11/11 source files have been analyzed
INFO: Starting rules execution
INFO: 11 source files to be analyzed
INFO: 11/11 source files have been analyzed
INFO: Sensor Python Sensor [python] (done) | time=2686ms
INFO: Sensor Cobertura Sensor for Python coverage [python]
INFO: Sensor Cobertura Sensor for Python coverage [python] (done) | time=209ms
INFO: Sensor PythonXUnitSensor [python]
INFO: Sensor PythonXUnitSensor [python] (done) | time=143ms
INFO: Sensor JaCoCo XML Report Importer [jacoco]
INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locat
ions:
target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/repor

ts/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=56ms
INFO: Sensor JavaScript analysis [javascript]
ERROR: Error when running: 'node -v'. Is Node.js available during analysis?
org.sonarsource.nodejs.NodeCommandException: Error when running: 'node -v'. Is
Node.js available during analysis?
at org.sonarsource.nodejs.NodeCommand.start(NodeCommand.java:83)
at org.sonarsource.nodejs.NodeCommandBuilderImpl.getVersion(NodeCommandB

uilderImpl.java:196)
at org.sonarsource.nodejs.NodeCommandBuilderImpl.checkNodeCompatibility(

NodeCommandBuilderImpl.java:169)
at org.sonarsource.nodejs.NodeCommandBuilderImpl.build(NodeCommandBuilde
rImpl.java:144)
at org.sonar.plugins.javascript.eslint.EslintBridgeServerImpl.initNodeCo

mmand(EslintBridgeServerImpl.java:149)
at org.sonar.plugins.javascript.eslint.EslintBridgeServerImpl.startServe

r(EslintBridgeServerImpl.java:107)
at org.sonar.plugins.javascript.eslint.EslintBridgeServerImpl.startServe

rLazily(EslintBridgeServerImpl.java:170)
at org.sonar.plugins.javascript.eslint.AbstractEslintSensor.execute(Abst

ractEslintSensor.java:106)
at org.sonar.plugins.javascript.eslint.JavaScriptEslintBasedSensor.execu

te(JavaScriptEslintBasedSensor.java:49)
at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensor
Wrapper.java:48)
at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsE
xecutor.java:85)
at org.sonar.scanner.sensor.ModuleSensorsExecutor.lambda$execute$1(Modul

eSensorsExecutor.java:59)
at org.sonar.scanner.sensor.ModuleSensorsExecutor.withModuleStrategy(Mod

uleSensorsExecutor.java:77)
at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsE
xecutor.java:59)
at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanCon
tainer.java:82)
at org.sonar.core.platform.ComponentContainer.startComponents(ComponentC
ontainer.java:136)
at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer
.java:122)
at org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer
.java:400)
at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectSc

anContainer.java:395)
at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanC
ontainer.java:358)
at org.sonar.core.platform.ComponentContainer.startComponents(ComponentC
ontainer.java:136)
at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer
.java:122)
at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(GlobalContai
ner.java:141)
at org.sonar.core.platform.ComponentContainer.startComponents(ComponentC
ontainer.java:136)
at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer
.java:122)
at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:73)
at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:67)
at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.exec

ute(BatchIsolatedLauncher.java:46)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Nativ
e Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknow
n Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Un
known Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(Iso

latedLauncherProxy.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.j
ava: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)
Caused by: java.io.IOException: Cannot run program "node": error=2, No such file
or directory
at java.base/java.lang.ProcessBuilder.start(Unknown Source)
at java.base/java.lang.ProcessBuilder.start(Unknown Source)
at org.sonarsource.nodejs.NodeCommand$ProcessWrapperImpl.start(NodeComma
nd.java:175)
at org.sonarsource.nodejs.NodeCommand.start(NodeCommand.java:79)
... 38 common frames omitted
Caused by: java.io.IOException: error=2, No such file or directory
at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
at java.base/java.lang.ProcessImpl.<init>(Unknown Source)
at java.base/java.lang.ProcessImpl.start(Unknown Source)
... 42 common frames omitted

INFO: Sensor JavaScript analysis [javascript] (done) | time=888ms


INFO: Sensor CFamily [cpp]
INFO: SonarCFamily plugin version: 6.8.0.16475
INFO: Using build-wrapper output: /home/jenkins/sonarqube/build-wrapper-dump.jso
n
INFO: Available processors: 4
INFO: Using 1 thread for analysis according to value of "sonar.cfamily.threads"
property.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/CSA/UAL/src/20_UAL_Source/ual_sysloglibparser.c at line
505 for encoding
UTF-8. Please fix file content or configure the encoding to be
used using property
'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/src/BAE/tripCharacteristic_C.c at line 4 f
or encoding UTF-8.
Please fix file content or configure the encoding to be used
using property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/external/Function_Designs/CSWI_breaker_int

erlocking/DCSXSWI_wrap.h at line 1 for encoding UTF-8. Please fix file content o


r configure the
encoding to be used using property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/src/sys_meas/SM_Subf.c at line 4 for encoding UTF-8


. Please fix file
content or configure the encoding to be used using property 's
onar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/CSA/UAM/src/authpwd.c at line 4 for encoding UTF-8. Ple


ase fix file
content or configure the encoding to be used using property 'sonar.
sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/src/CORE/AutoRecloser_B.c at line 2 for en


coding UTF-8.
Please fix file content or configure the encoding to be used using
property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/OSAL/src/Driver/LCD/LCD_ST75162.c at line 169 for encod


ing UTF-8. Please
fix file content or configure the encoding to be used using pr
operty 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/SERVICE/inc/modbus.h at line 52 for encoding UTF-8. Ple


ase fix file
content or configure the encoding to be used using property 'sonar.
sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/LHMI/inc/SM_Config.h at line 4 for encoding UTF-8. Plea


se fix file content
or configure the encoding to be used using property 'sonar.s
ourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/inc/core/AutoRecloser_B.h at line 2 for en


coding UTF-8.
Please fix file content or configure the encoding to be used using
property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/LHMI/unit_test_lhmi/lcd_drv.c at line 238 for encoding


UTF-8. Please fix
file content or configure the encoding to be used using proper
ty 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/framework/inc/interfaces/itf_lhmi.h at line 61 for enco


ding UTF-8. Please
fix file content or configure the encoding to be used using p
roperty 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/CSA/UAM/inc/sw.h at line 4 for encoding UTF-8. Please fix


file content or configure the encoding to be used using property
'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/src/CORE/GenerOverCurr_Time_C.c at line 100


for encoding UTF-8. Please fix file content or configure the encoding to be used
using property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/LHMI/inc/itf_lhmi.h at line 61 for encoding UTF-8. Please


fix file content or configure the encoding to be used using property
'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/OSAL/src/Driver/FilseSys/linux_posix/linux_fs.c at line 193


for encoding UTF-8. Please fix file content or configure the encoding to be used
using property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/external/Function_Designs/SEQRFUF_fuse_fai
lure/SEQSPVC_wrap.h
at line 5 for encoding UTF-8. Please fix file content or configure the encoding to
be used using property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/src/CORE/fusefailsupvn_rfuf_a.c at line 3 for


encoding UTF-8. Please fix file content or configure the encoding to be used using
property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/LHMI/inc/fsearch.h at line 16 for encoding UTF-8. Please


fix file content or configure the encoding to be used using property 'sonar.so
urceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/inc/bae/tripCharacteristic_C.h at line 5 f
or encoding UTF-8.
Please fix file content or configure the encoding to be used
using property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/src/CORE/earthingSwitch_A.c at line 2 for


encoding UTF-8.
Please fix file content or configure the encoding to be used usi
ng property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/external/Function_Designs/DEFxPTOC_directi

onal_earthfault/DEFHPDEF_wrap.h at line 2 for encoding UTF-8. Please fix file co


ntent or configure
the encoding to be used using property 'sonar.sourceEncoding'
.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N
BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/src/CORE/lln0.c at line 2 for encoding UTF-8.
Please fix file content or configure the encoding to be used using property
'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/CSA/UAL/src/20_UAL_Source/ual.c at line 756 for encoding


UTF-8. Please fix file content or configure the encoding to be used using property
'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/inc/nvmem/tvosio.h at line 4 for encoding UTF-8. Pl


ease fix file content or configure the encoding to be used using property 'sonar
.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/CSA/SCA/20_SCA_Generic/trscaconfig.c at line 4 for enco


ding UTF-8. Please
fix file content or configure the encoding to be used using property
'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/CSA/SCA/20_SCA_Generic/sca_ssl_connection_check.c at line
465 for encoding UTF-8. Please fix file content or configure the encoding to be used
using property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/LHMI/inc/tma.h at line 4 for encoding UTF-8. Please fix


file content or configure the encoding to be used using property 'sonar.sourceE
ncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/inc/SM_SysMeasP.h at line 4 for encoding UTF-8. Please


fix file content or configure the encoding to be used using property 'sonar.
sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/src/test/SM_Sett.c at line 4 for encoding


UTF-8. Please fix
file content or configure the encoding to be used using property
'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/CSA/UAL/src/20_UAL_Source/ual_syslogcoder.c at line 235 for


encoding UTF-8. Please fix file content or configure the encoding to be use
d using property
'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/external/Function_Designs/PHPTUC_general_u
ndercurrent/PHPTUC_wrap.h at line 3 for encoding UTF-8. Please fix file content or
configure the encoding to be used using property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/src/CORE/EFDir_B.c at line 9 for encoding


UTF-8. Please fix
file content or configure the encoding to be used using proper
ty 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/CSA/UAM/inc/authority.h at line 5 for encoding UTF-8.


Please fix file content or configure the encoding to be used using property 'sona
r.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/LHMI/unit_test_lhmi/LCD_ST75162.c at line 237 for encoding


UTF-8. Please fix file content or configure the encoding to be used using pr operty
'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/LHMI/inc/statusmanager.h at line 17 for encoding UTF-8.


Please fix file content or configure the encoding to be used using property 'so
nar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/OSAL/src/Driver/FilseSys/HCC_SafeFAT/HCC_VFS.c at line 339


for encoding UTF-8. Please fix file content or configure the encoding to be used
using property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/IEC61850_V6_2000/external/IEC61850_src/src/time_str.c at
line 2747 for encoding UTF-8. Please fix file content or configure the encoding to
be used using property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/LHMI/inc/displaytask.h at line 16 for encoding UTF-8.


Please fix file content or configure the encoding to be used using property 'sona
r.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/LHMI/inc/nbrprotocol.h at line 17 for encoding UTF-8.


Please fix file content or configure the encoding to be used using property 'sona
r.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/src/sys_meas/SM_Init.c at line 4 for encoding UTF-8 .


Please fix file content or configure the encoding to be used using property 's
onar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N
BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/src/CORE/ovloadtherm_motor_a.c at line 4 f or
encoding UTF-8. Please fix file content or configure the encoding to be used using
property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/inc/bae/admittanceCalc_A.h at line 5 for


encoding UTF-8. Please fix file content or configure the encoding to be used using
property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/LHMI/inc/erha.h at line 4 for encoding UTF-8. Please fix


file content or configure the encoding to be used using property 'sonar.source
Encoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/LHMI/inc/tvosio.h at line 4 for encoding UTF-8. Please fix


file content or configure the encoding to be used using property 'sonar.sour
ceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/LHMI/src/statusmanager.c at line 16 for encoding UTF-8.


Please fix file
content or configure the encoding to be used using property 'so
nar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/external/Function_Designs/CSWI_breaker_int

erlocking/ESSXSWI_wrap.h at line 1 for encoding UTF-8. Please fix file content or


configure the encoding to be used using property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/external/Function_Designs/PHPTOV_overvolta
ge/PHPTOV_wrap.h at
line 16 for encoding UTF-8. Please fix file content or configure the encoding to be
used using property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/src/BAE/currentTimer_b.c at line 1259 for


encoding UTF-8.
Please fix file content or configure the encoding to be used usi
ng property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/OSAL/src/Driver/ADC_CT_VT/CT_VT_Smart_Sampling/SmartSam
pling.h at line 20
for encoding UTF-8. Please fix file content or configure the
encoding to be used using property
'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N
BR_NIGHTLY_BUILD/NBR/DEV/OSAL/src/Driver/ADC_CT_VT/CT_VT_Smart_Sampling/SmartSam
pling.c at line 20
for encoding UTF-8. Please fix file content or configure the
encoding to be used using property
'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/src/CORE/breaker_A.c at line 2 for encodin


g UTF-8. Please fix
file content or configure the encoding to be used using prop
erty 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/inc/core/ovloadtherm_2timcons_A.h at line
6 for encoding
UTF-8. Please fix file content or configure the encoding to be us
ed using property
'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/LHMI/inc/tvos.h at line 4 for encoding UTF-8. Please fi


x file content or
configure the encoding to be used using property 'sonar.source
Encoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/src/BAE/currentTimer_a.c at line 837 for e


ncoding UTF-8.
Please fix file content or configure the encoding to be used usin
g property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/OSAL/unit_test_osal/ADC_standalone/ADS13exx/SmartSensor
/SmartSampling.h at
line 20 for encoding UTF-8. Please fix file content or confi
gure the encoding to be used using
property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/src/CORE/ovloadtherm_2timcons_A.c at line
4 for encoding
UTF-8. Please fix file content or configure the encoding to be us
ed using property
'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/OSAL/unit_test_osal/ADC_standalone/ADS13exx/SmartSensor
/SmartSampling.c at
line 20 for encoding UTF-8. Please fix file content or confi
gure the encoding to be used using
property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/OSAL/src/library/QuadnetSupport/SNTP/sntp.c at line 262


for encoding
UTF-8. Please fix file content or configure the encoding to be use
d using property
'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/external/Function_Designs/PHPTUV_undervolt
age/PHPTUV_wrap.h
at line 16 for encoding UTF-8. Please fix file content or conf
igure the encoding to be used using
property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/external/Function_Designs/CCRDIF_current_c

ircuit_supervision/CCSPVC_wrap.h at line 4 for encoding UTF-8. Please fix file c


ontent or configure
the encoding to be used using property 'sonar.sourceEncoding
'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/OSAL/src/Kernel/Quadros_RTXC/rtxcCmdShell/commands/quad
net_cmds/udptest.c
at line 185 for encoding UTF-8. Please fix file content or co
nfigure the encoding to be used using
property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/CSA/UAL/src/20_UAL_Source/ual_extserverhandler.c at lin
e 379 for encoding
UTF-8. Please fix file content or configure the encoding to b
e used using property
'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/external/Function_Designs/SSCBR_cb_cond_mo

nitoring/SSCBR_wrap.h at line 2 for encoding UTF-8. Please fix file content or


configure the encoding to be used using property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/LHMI/src/fsearch.c at line 17 for encoding UTF-8. Please


fix file content or configure the encoding to be used using property 'sonar.so
urceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N
BR_NIGHTLY_BUILD/NBR/DEV/CSA/UAM/inc/authpwd.h at line 4 for encoding UTF-8. Please
fix file content or configure the encoding to be used using property 'sonar.
sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/src/BAE/admittanceCalc_A.c at line 4 for


encoding UTF-8. Please fix file content or configure the encoding to be used using
property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/OSAL/src/Driver/BIO/Board/Board_BIO.c at line 49 for


encoding UTF-8. Please fix file content or configure the encoding to be used using
property
'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/external/Function_Designs/DEFxPTOC_directi

onal_earthfault/DEFLPDEF_wrap.h at line 2 for encoding UTF-8. Please fix file


content or configure the encoding to be used using property 'sonar.sourceEncoding'
.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/CSA/UAL/inc/10_UAL_Interfaces/ua.h at line 296 for encoding


UTF-8. Please fix file content or configure the encoding to be used using property
'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/LHMI/src/crc32.c at line 16 for encoding UTF-8. Please fix


file content or configure the encoding to be used using property 'sonar.sour
ceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/LHMI/inc/sw.h at line 4 for encoding UTF-8. Please fix


file content or configure the encoding to be used using property 'sonar.sourceEn
coding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/inc/core/ovloadtherm_motor_a.h at line 6 for


encoding UTF-8. Please fix file content or configure the encoding to be used using
property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/LHMI/inc/crc.h at line 16 for encoding UTF-8. Please fix


file content or configure the encoding to be used using property 'sonar.source
Encoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/LHMI/src/displaytask.c at line 16 for encoding UTF-8.


Please fix file content or configure the encoding to be used using property 'sona
r.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/external/Function_Designs/PTTR_thermal_ove
rload/T1PTTR_wrap.h
at line 1 for encoding UTF-8. Please fix file content or configure the encoding to
be used using property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/src/CORE/disconnector_A.c at line 2 for


encoding UTF-8. Please fix file content or configure the encoding to be used using
property
'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/LHMI/inc/buffermanager.h at line 17 for encoding


UTF-8.Please fix file content or configure the encoding to be used using property
'so
nar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/inc/core/fusefailsupvn_rfuf_a.h at line 6
for encoding UTF-8.
Please fix file content or configure the encoding to be used
using property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/external/Function_Designs/DARREC_autoreclo
ser/DARREC_wrap.h
at line 2 for encoding UTF-8. Please fix file content or configure the encoding to
be used using property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/src/CORE/GenerOverCurr_Time_D.c at line 100


for encoding UTF-8. Please fix file content or configure the encoding to be used
using property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/OSAL/src/Kernel/Quadros_RTXC/Drivers/comdrv.h at line 3
7 for encoding
UTF-8. Please fix file content or configure the encoding to be used using property
'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/CSA/UAL/src/20_UAL_Source/ual_integration_61850.c at line
813 for encoding UTF-8. Please fix file content or configure the encoding to be used
using property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N
BR_NIGHTLY_BUILD/NBR/DEV/AFE/src/sys_meas/SM_Main.c at line 4 for encoding UTF-8
. Please fix file
content or configure the encoding to be used using property 's
onar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/OSAL/src/Kernel/Quadros_RTXC/Drivers/intcps.h at line 396


for encoding UTF-8. Please fix file content or configure the encoding to be used
using property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/AFE/AFL_CORE/src/CORE/intermittentEF_sub_c.c at line 2
for encoding UTF-8.
Please fix file content or configure the encoding to be used
using property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/OSAL/src/Driver/FilseSys/osal_fs.c at line 426 for encoding


UTF-8. Please fix file content or configure the encoding to be used using property
'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/framework/inc/interfaces/itf_modbus.h at line 34 for en


coding UTF-8.
Please fix file content or configure the encoding to be used using
property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/IEC61850_6_0500/external/IEC61850_src/src/time_str.c at
line 2747 for encoding UTF-8. Please fix file content or configure the encoding to
be used using property 'sonar.sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/LHMI/src/flashtask.c at line 16 for encoding UTF-8. Please


fix file content or configure the encoding to be used using property 'sonar.
sourceEncoding'.
WARN: Invalid character encountered in file /home/jenkins/CI/jenkins/workspace/N

BR_NIGHTLY_BUILD/NBR/DEV/OSAL/src/Driver/RS485/uart_drv.h at line 45 for encoding


UTF-8. Please fix file content or configure the encoding to be used using property
'sonar.sourceEncoding'.
WARN:
SonarCFamily plugin supports incremental analysis with the use of a cache:
* if you do not want to enable cache explicitly disable it by setting the follow
ing property to
your analysis: sonar.cfamily.cache.enabled=false
* to enable cache please specify the following 2 options and visit the documenta
tion page for more information (https://xc-s-zw00510.xc.abb.com/documentation/an

alysis/languages/cfamily/):
- sonar.cfamily.cache.enabled=true
- sonar.cfamily.cache.path=relative_or_absolute_path_to_cache_location

INFO: Subprocess(es) done in 63ms


INFO: 0 compilation units analyzed
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 3:07.252s
INFO: Final Memory: 40M/137M
INFO: ------------------------------------------------------------------------
ERROR: Error during SonarScanner execution
java.lang.IllegalStateException: The "build-wrapper-dump.json" file was found but 0
C/C++/Objective-C files were analyzed. Please make sure that:
* you are using the latest version of the build-wrapper and the SonarCFamily
analyzer
* you are correctly invoking the scanner with correct configuration
* your compiler is supported
* you are wrapping your build correctly
* you are wrapping a full/clean build
* you are providing the path to the correct build-wrapper output directory
* you are building and analyzing the same source checkout, absolute paths must
be identical in
build and analysis steps
at com.sonar.cpp.plugin.CFamilySensor.execute(CFamilySensor.java:357)
at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensor
Wrapper.java:48)
at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsE
xecutor.java:85)
at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsE
xecutor.java:62)
at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanCon
tainer.java:82)
at org.sonar.core.platform.ComponentContainer.startComponents(ComponentC
ontainer.java:136)
at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer
.java:122)
at org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer
.java:400)
at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectSc

anContainer.java:395)
at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanC
ontainer.java:358)
at org.sonar.core.platform.ComponentContainer.startComponents(ComponentC
ontainer.java:136)
at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer
.java:122)
at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(GlobalContai
ner.java:141)
at org.sonar.core.platform.ComponentContainer.startComponents(ComponentC
ontainer.java:136)
at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer
.java:122)
at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:73)
at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:67)
at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.exec

ute(BatchIsolatedLauncher.java:46)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Nativ
e Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknow
n Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Un
known Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(Iso

latedLauncherProxy.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.j
ava: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.
jenkins@NBRserver:~/sonarqube/sonar-scanner-4.5.0.2216-linux/bin

You might also like