Dear SonarSource Community,
- SonarQube v6.7.3, with
- SonarJava 5.5.0.14655 (java)
- SonarCSS 1.0.3.724 (cssfamily)
- Crowd 2.0 (crowd)
- SonarWeb 2.6.0.1053 (web)
- Git 1.4.1.1128 (scmgit)
- SonarFlex 2.4.0.1222 (flex)
- SonarXML 1.5.1.1452 (xml)
- Timeline 1.5 (timeline)
- Motion Chart 1.7 (motionchart)
- SonarJS 4.1.0.6085 (javascript)
- Stash 1.3.0 (stash)
Scanning a maven multimodule project I have the following error:
[ERROR] Analysis didn't terminate normally, please verify ERROR and WARN logs above. Exit code 1
But I can’t find any useful information why it fails.
If I run the maven sonar with debug log, this is what I get for a module containing scss files.
So it seems node is correctly detected. What can be wrong here ?
Thanks for your help.
$ mvn sonar:sonar -X
[INFO] 08:39:06.758 ------------- Scan frontend
[INFO] 08:39:06.767 Base dir: /opt/devtools-work/repos_tmp/dxp-blueprint/modules/frontend
[INFO] 08:39:06.767 Working dir: /opt/devtools-work/repos_tmp/dxp-blueprint/modules/frontend/target/sonar
[INFO] 08:39:06.767 Source paths: .
[INFO] 08:39:06.767 Source encoding: UTF-8, default locale: en_US
[DEBUG] 08:39:06.778 Declared extensions of language Java were converted to sonar.lang.patterns.java : **/*.java,**/*.jav
[DEBUG] 08:39:06.778 Declared extensions of language CSS were converted to sonar.lang.patterns.css : **/*.css,**/*.less,**/*.scss
[DEBUG] 08:39:06.778 Declared extensions of language Web were converted to sonar.lang.patterns.web : **/*.html,**/*.xhtml,**/*.rhtml,**/*.shtml
[DEBUG] 08:39:06.778 Declared extensions of language Flex were converted to sonar.lang.patterns.flex : **/*.as
[DEBUG] 08:39:06.778 Declared extensions of language XML were converted to sonar.lang.patterns.xml : **/*.xml,**/*.exml
[DEBUG] 08:39:06.778 Declared extensions of language JavaScript were converted to sonar.lang.patterns.js : **/*.js,**/*.jsx,**/*.vue
[DEBUG] 08:39:06.779 Initializers :
[INFO] 08:39:06.779 Index files
[INFO] 08:39:06.780 Included sources:
[INFO] 08:39:06.780 bricks/swi-common-templates/src/sass/**
[DEBUG] 08:39:06.795 'modules/frontend/bricks/swi-common-templates/src/sass/_partials.scss' generated metadata with charset 'UTF-8'
[DEBUG] 08:39:06.795 'bricks/swi-common-templates/src/sass/_partials.scss' indexed with language 'css'
[DEBUG] 08:39:06.796 'modules/frontend/bricks/swi-common-templates/src/sass/partials/_footer.scss' generated metadata with charset 'UTF-8'
[DEBUG] 08:39:06.796 'bricks/swi-common-templates/src/sass/partials/_footer.scss' indexed with language 'css'
[DEBUG] 08:39:06.796 'modules/frontend/bricks/swi-common-templates/src/sass/partials/_icons.scss' generated metadata with charset 'UTF-8'
[DEBUG] 08:39:06.796 'bricks/swi-common-templates/src/sass/partials/_icons.scss' indexed with language 'css'
[DEBUG] 08:39:06.797 'modules/frontend/bricks/swi-common-templates/src/sass/partials/_uikit-sass.scss' generated metadata with charset 'UTF-8'
[DEBUG] 08:39:06.797 'bricks/swi-common-templates/src/sass/partials/_uikit-sass.scss' indexed with language 'css'
[DEBUG] 08:39:06.797 'modules/frontend/bricks/swi-common-templates/src/sass/partials/_header.scss' generated metadata with charset 'UTF-8'
[DEBUG] 08:39:06.797 'bricks/swi-common-templates/src/sass/partials/_header.scss' indexed with language 'css'
[DEBUG] 08:39:06.798 'modules/frontend/bricks/swi-common-templates/src/sass/variables/_fonts.scss' generated metadata with charset 'UTF-8'
[DEBUG] 08:39:06.798 'modules/frontend/bricks/swi-common-templates/src/sass/partials/_buttons.scss' generated metadata with charset 'UTF-8'
[DEBUG] 08:39:06.798 'bricks/swi-common-templates/src/sass/variables/_fonts.scss' indexed with language 'css'
[DEBUG] 08:39:06.798 'bricks/swi-common-templates/src/sass/partials/_buttons.scss' indexed with language 'css'
[DEBUG] 08:39:06.798 'modules/frontend/bricks/swi-common-templates/src/sass/_variables.scss' generated metadata with charset 'UTF-8'
[DEBUG] 08:39:06.799 'bricks/swi-common-templates/src/sass/_variables.scss' indexed with language 'css'
[DEBUG] 08:39:06.799 'modules/frontend/bricks/swi-common-templates/src/sass/variables/_colors.scss' generated metadata with charset 'UTF-8'
[DEBUG] 08:39:06.799 'bricks/swi-common-templates/src/sass/variables/_colors.scss' indexed with language 'css'
[DEBUG] 08:39:06.799 'modules/frontend/bricks/swi-common-templates/src/sass/variables/_general.scss' generated metadata with charset 'UTF-8'
[DEBUG] 08:39:06.799 'bricks/swi-common-templates/src/sass/variables/_general.scss' indexed with language 'css'
[INFO] 08:39:07.169 10 files indexed
[INFO] 08:39:07.169 49150 files ignored because of inclusion/exclusion patterns
[INFO] 08:39:07.169 Quality profile for css: Swissinfo way
[INFO] 08:39:07.169 Excluded sources for coverage:
[INFO] 08:39:07.169 **/ch/swissinfo/common/contentbeans/**/*Base.java
[INFO] 08:39:07.169 **/ch/swissinfo/testing/**
[INFO] 08:39:07.169 **/generated-classes/**
[INFO] 08:39:07.169 **/target/**
[INFO] 08:39:07.169 **/*.js
[DEBUG] 08:39:07.180 'Generic Coverage Report' skipped because one of the required properties is missing
[DEBUG] 08:39:07.180 'Generic Test Executions Report' skipped because one of the required properties is missing
[DEBUG] 08:39:07.180 'SurefireSensor' skipped because there is no related file in current project
[DEBUG] 08:39:07.180 'JaCoCoSensor' skipped because there is no related file in current project
[DEBUG] 08:39:07.180 'JavaSquidSensor' skipped because there is no related file in current project
[DEBUG] 08:39:07.180 'Import of stylelint issues' skipped because one of the required properties is missing
[DEBUG] 08:39:07.180 'Web' skipped because there is no related file in current project
[DEBUG] 08:39:07.180 'Flex' skipped because there is no related file in current project
[DEBUG] 08:39:07.180 'Flex Cobertura' skipped because there is no related file in current project
[DEBUG] 08:39:07.180 'XML Sensor' skipped because there is no related file in current project
[DEBUG] 08:39:07.180 'SonarJS' skipped because there is no related file in current project
[DEBUG] 08:39:07.180 'SonarJS Coverage' skipped because there is no related file in current project
[DEBUG] 08:39:07.180 Sensors : SonarJavaXmlFileSensor -> SonarCSS Metrics -> SonarCSS Rules
[INFO] 08:39:07.180 Sensor SonarJavaXmlFileSensor [java]
[INFO] 08:39:07.181 Sensor SonarJavaXmlFileSensor [java] (done) | time=1ms
[INFO] 08:39:07.181 Sensor SonarCSS Metrics [cssfamily]
[INFO] 08:39:07.191 Sensor SonarCSS Metrics [cssfamily] (done) | time=10ms
[INFO] 08:39:07.191 Sensor SonarCSS Rules [cssfamily]
[DEBUG] 08:39:07.191 Checking node version
[DEBUG] 08:39:07.194 Using Node.js v6.16.0
[DEBUG] 08:39:07.194 Deploying bundle to /opt/devtools-work/repos_tmp/dxp-blueprint/modules/frontend/target/sonar
[ERROR] 08:39:08.768 Analysis didn't terminate normally, please verify ERROR and WARN logs above. Exit code 1
[INFO] 08:39:08.768 Sensor SonarCSS Rules [cssfamily] (done) | time=1577ms
But I don’t see any usefull