Skip to content

Instantly share code, notes, and snippets.

@goldsworthy
Created August 13, 2018 15:20
Show Gist options
  • Save goldsworthy/44e497fc93d8486884d351a122967123 to your computer and use it in GitHub Desktop.
Save goldsworthy/44e497fc93d8486884d351a122967123 to your computer and use it in GitHub Desktop.
INFO: Scanner configuration file: /Users/-/Workspaces/tools/sonar-scanner-3.2.0.1227-macosx/conf/sonar-scanner.properties
INFO: Project root configuration file: /Users/-/Workspaces/tools/sonar-scala/examples/sbt/multi-module/sonar-project.properties
10:18:13.887 INFO: SonarQube Scanner 3.2.0.1227
10:18:13.890 INFO: Java 1.8.0_121 Oracle Corporation (64-bit)
10:18:13.890 INFO: Mac OS X 10.13.6 x86_64
10:18:13.998 DEBUG: keyStore is :
10:18:13.998 DEBUG: keyStore type is : jks
10:18:13.998 DEBUG: keyStore provider is :
10:18:13.998 DEBUG: init keystore
10:18:13.998 DEBUG: init keymanager of type SunX509
10:18:14.068 DEBUG: Create: /Users/-/.sonar/cache
10:18:14.070 INFO: User cache: /Users/-/.sonar/cache
10:18:14.070 DEBUG: Create: /Users/-/.sonar/cache/_tmp
10:18:14.072 DEBUG: Extract sonar-scanner-api-batch in temp...
10:18:14.080 DEBUG: Get bootstrap index...
10:18:14.081 DEBUG: Download: http://localhost:9000/batch/index
10:18:14.135 DEBUG: Get bootstrap completed
10:18:14.140 DEBUG: Create isolated classloader...
10:18:14.146 DEBUG: Start temp cleaning...
10:18:14.151 DEBUG: Temp cleaning done
10:18:14.151 DEBUG: Execution getVersion
10:18:14.153 INFO: SonarQube server 6.7.5
10:18:14.153 INFO: Default locale: "en_US", source code encoding: "UTF-8"
10:18:14.154 DEBUG: Work directory: /Users/-/Workspaces/tools/sonar-scala/examples/sbt/multi-module/.scannerwork
10:18:14.155 DEBUG: Execution execute
10:18:14.288 INFO: Publish mode
10:18:14.375 INFO: Load global settings
10:18:14.410 DEBUG: GET 200 http://localhost:9000/api/settings/values.protobuf | time=29ms
10:18:14.422 INFO: Load global settings (done) | time=48ms
10:18:14.428 INFO: Server id: BF41A1F2-AWUVhdJnyZF7bDXAzCz5
10:18:14.436 INFO: User cache: /Users/-/.sonar/cache
10:18:14.624 INFO: Load plugins index
10:18:14.632 DEBUG: GET 200 http://localhost:9000/api/plugins/installed | time=7ms
10:18:14.660 INFO: Load plugins index (done) | time=36ms
10:18:14.660 DEBUG: Load plugins
10:18:14.671 DEBUG: Load plugins (done) | time=11ms
10:18:14.700 DEBUG: Plugins:
10:18:14.700 DEBUG: * SonarC# 6.5.0.3766 (csharp)
10:18:14.700 DEBUG: * SonarPython 1.8.0.1496 (python)
10:18:14.700 DEBUG: * SonarJava 4.15.0.12310 (java)
10:18:14.700 DEBUG: * Scala 6.5.1 (scala)
10:18:14.700 DEBUG: * Flex 2.3 (flex)
10:18:14.700 DEBUG: * SonarQube :: Plugins :: SCM :: Git 1.3.0.869 (scmgit)
10:18:14.700 DEBUG: * SonarXML 1.4.3.1027 (xml)
10:18:14.700 DEBUG: * SonarPHP 2.11.0.2485 (php)
10:18:14.701 DEBUG: * SonarTS 1.1.0.1079 (typescript)
10:18:14.701 DEBUG: * SonarQube :: Plugins :: SCM :: SVN 1.6.0.860 (scmsvn)
10:18:14.701 DEBUG: * SonarJS 3.2.0.5506 (javascript)
10:18:15.300 INFO: Process project properties
10:18:15.309 DEBUG: Process project properties (done) | time=9ms
10:18:15.334 INFO: Load project repositories
10:18:15.345 DEBUG: GET 200 http://localhost:9000/batch/project.protobuf?key=example-sbt-multi-module | time=10ms
10:18:15.396 INFO: Load project repositories (done) | time=62ms
10:18:15.486 DEBUG: Available languages:
10:18:15.486 DEBUG: * C# => "cs"
10:18:15.486 DEBUG: * Python => "py"
10:18:15.486 DEBUG: * Java => "java"
10:18:15.486 DEBUG: * Scala => "scala"
10:18:15.486 DEBUG: * Flex => "flex"
10:18:15.487 DEBUG: * XML => "xml"
10:18:15.487 DEBUG: * PHP => "php"
10:18:15.487 DEBUG: * TypeScript => "ts"
10:18:15.487 DEBUG: * JavaScript => "js"
10:18:15.495 INFO: Load quality profiles
10:18:15.510 DEBUG: GET 200 http://localhost:9000/api/qualityprofiles/search.protobuf?projectKey=example-sbt-multi-module | time=15ms
10:18:15.518 INFO: Load quality profiles (done) | time=22ms
10:18:15.532 INFO: Load active rules
10:18:15.602 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=AWUVhfO5yZF7bDXAzDOS&p=1&ps=500 | time=70ms
10:18:15.726 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=AWUVhfTQyZF7bDXAzDVy&p=1&ps=500 | time=82ms
10:18:15.757 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=AWUViMPQ-iMPvdqOvJY_&p=1&ps=500 | time=16ms
10:18:15.787 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=AWUVhfV5yZF7bDXAzDbY&p=1&ps=500 | time=28ms
10:18:15.809 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=AWUVhfVDyZF7bDXAzDaZ&p=1&ps=500 | time=17ms
10:18:15.847 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=AWUVhfZ3yZF7bDXAzDg-&p=1&ps=500 | time=37ms
10:18:15.880 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=AWUVhfbOyZF7bDXAzDi9&p=1&ps=500 | time=29ms
10:18:15.916 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=AWUVhfeCyZF7bDXAzDlu&p=1&ps=500 | time=32ms
10:18:15.940 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activation=true&qprofile=AWUVhffUyZF7bDXAzDmy&p=1&ps=500 | time=21ms
10:18:15.954 INFO: Load active rules (done) | time=421ms
10:18:15.956 INFO: Load metrics repository
10:18:15.967 DEBUG: GET 200 http://localhost:9000/api/metrics/search?f=name,description,direction,qualitative,custom&ps=500&p=1 | time=10ms
10:18:15.981 INFO: Load metrics repository (done) | time=25ms
10:18:16.016 INFO: Project key: example-sbt-multi-module
10:18:16.016 DEBUG: Start recursive analysis of project modules
10:18:16.018 INFO: ------------- Scan Module 2
10:18:16.108 INFO: Load server rules
10:18:16.192 DEBUG: GET 200 http://localhost:9000/api/rules/list.protobuf | time=83ms
10:18:16.199 INFO: Load server rules (done) | time=92ms
10:18:16.226 INFO: Base dir: /Users/-/Workspaces/tools/sonar-scala/examples/sbt/multi-module/module2
10:18:16.226 INFO: Working dir: /Users/-/Workspaces/tools/sonar-scala/examples/sbt/multi-module/.scannerwork/example-sbt-multi-module_module2
10:18:16.228 INFO: Source paths: src/main/scala
10:18:16.229 INFO: Source encoding: UTF-8, default locale: en_US
10:18:16.308 DEBUG: Declared extensions of language C# were converted to sonar.lang.patterns.cs : **/*.cs
10:18:16.308 DEBUG: Declared extensions of language Python were converted to sonar.lang.patterns.py : **/*.py
10:18:16.308 DEBUG: Declared extensions of language Java were converted to sonar.lang.patterns.java : **/*.java,**/*.jav
10:18:16.308 DEBUG: Declared extensions of language Scala were converted to sonar.lang.patterns.scala : **/*.scala
10:18:16.308 DEBUG: Declared extensions of language Flex were converted to sonar.lang.patterns.flex : **/*.as
10:18:16.308 DEBUG: Declared extensions of language XML were converted to sonar.lang.patterns.xml : **/*.xml,**/*.xsd,**/*.xsl
10:18:16.309 DEBUG: Declared extensions of language PHP were converted to sonar.lang.patterns.php : **/*.php,**/*.php3,**/*.php4,**/*.php5,**/*.phtml,**/*.inc
10:18:16.309 DEBUG: Declared extensions of language TypeScript were converted to sonar.lang.patterns.ts : **/*.ts,**/*.tsx
10:18:16.309 DEBUG: Declared extensions of language JavaScript were converted to sonar.lang.patterns.js : **/*.js,**/*.jsx,**/*.vue
10:18:16.311 DEBUG: Initializers :
10:18:16.312 INFO: Index files
10:18:16.319 DEBUG: 'src/main/scala/Example2.scala' indexed with language 'scala'
10:18:16.320 INFO: 1 file indexed
10:18:16.320 INFO: Quality profile for scala: Scalastyle
10:18:16.878 DEBUG: 'Generic Coverage Report' skipped because one of the required properties is missing
10:18:16.879 DEBUG: 'Generic Test Executions Report' skipped because one of the required properties is missing
10:18:16.879 DEBUG: 'C#' skipped because there is no related file in current project
10:18:16.879 DEBUG: 'C# Tests Coverage Report Import' skipped because there is no related file in current project
10:18:16.880 DEBUG: '[Deprecated] C# Integration Tests Coverage Report Import' skipped because there is no related file in current project
10:18:16.880 DEBUG: 'C# Unit Test Results Import' skipped because there is no related file in current project
10:18:16.880 DEBUG: 'Python Squid Sensor' skipped because there is no related file in current project
10:18:16.880 DEBUG: 'SurefireSensor' skipped because there is no related file in current project
10:18:16.880 DEBUG: 'JaCoCoSensor' skipped because there is no related file in current project
10:18:16.880 DEBUG: 'JavaSquidSensor' skipped because there is no related file in current project
10:18:16.883 DEBUG: 'Scapegoat Sensor' skipped because there is no related rule activated in the quality profile
10:18:16.883 DEBUG: 'Flex' skipped because there is no related file in current project
10:18:16.883 DEBUG: 'Flex Cobertura' skipped because there is no related file in current project
10:18:16.883 DEBUG: 'XML Sensor' skipped because there is no related file in current project
10:18:16.884 DEBUG: 'PHP sensor' skipped because there is no related file in current project
10:18:16.884 DEBUG: 'TypeScript Sensor' skipped because there is no related file in current project
10:18:16.884 DEBUG: 'TypeScript LCOV Coverage Sensor' skipped because there is no related file in current project
10:18:16.885 DEBUG: 'JavaScript Squid Sensor' skipped because there is no related file in current project
10:18:16.886 DEBUG: Sensors : com.ncredinburgh.sonar.scalastyle.ScalastyleSensor@28fc1132 -> SonarJavaXmlFileSensor -> Scala Sensor -> Scoverage Sensor -> Analyzer for "php.ini" files
10:18:16.886 INFO: Sensor com.ncredinburgh.sonar.scalastyle.ScalastyleSensor [scala]
10:18:16.920 DEBUG: Using config ScalastyleConfiguration(sonar,true,List(ConfigurationChecker(org.scalastyle.scalariform.NoFinalizeChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.NoFinalizeChecker),None,Some(scalastyle_NoFinalizeChecker)), ConfigurationChecker(org.scalastyle.scalariform.EqualsHashCodeChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.EqualsHashCodeChecker),None,Some(scalastyle_EqualsHashCodeChecker)), ConfigurationChecker(org.scalastyle.scalariform.StructuralTypeChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.StructuralTypeChecker),None,Some(scalastyle_StructuralTypeChecker)), ConfigurationChecker(org.scalastyle.scalariform.SpaceAfterCommentStartChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.SpaceAfterCommentStartChecker),None,Some(scalastyle_SpaceAfterCommentStartChecker)), ConfigurationChecker(org.scalastyle.scalariform.ForBraceChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.ForBraceChecker),None,Some(scalastyle_ForBraceChecker)), ConfigurationChecker(org.scalastyle.scalariform.NoCloneChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.NoCloneChecker),None,Some(scalastyle_NoCloneChecker)), ConfigurationChecker(org.scalastyle.file.NewLineAtEofChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.file.NewLineAtEofChecker),None,Some(scalastyle_NewLineAtEofChecker)), ConfigurationChecker(org.scalastyle.file.FileTabChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.file.FileTabChecker),None,Some(scalastyle_FileTabChecker)), ConfigurationChecker(org.scalastyle.scalariform.CovariantEqualsChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.CovariantEqualsChecker),None,Some(scalastyle_CovariantEqualsChecker)), ConfigurationChecker(org.scalastyle.scalariform.SimplifyBooleanExpressionChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.SimplifyBooleanExpressionChecker),None,Some(scalastyle_SimplifyBooleanExpressionChecker)), ConfigurationChecker(org.scalastyle.scalariform.ReturnChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.ReturnChecker),None,Some(scalastyle_ReturnChecker)), ConfigurationChecker(org.scalastyle.scalariform.SpacesBeforePlusChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.SpacesBeforePlusChecker),None,Some(scalastyle_SpacesBeforePlusChecker)), ConfigurationChecker(org.scalastyle.scalariform.SpacesAfterPlusChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.SpacesAfterPlusChecker),None,Some(scalastyle_SpacesAfterPlusChecker)), ConfigurationChecker(org.scalastyle.scalariform.NoWhitespaceAfterLeftBracketChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.NoWhitespaceAfterLeftBracketChecker),None,Some(scalastyle_NoWhitespaceAfterLeftBracketChecker)), ConfigurationChecker(org.scalastyle.scalariform.NotImplementedErrorUsage,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.NotImplementedErrorUsage),None,Some(scalastyle_NotImplementedErrorUsage)), ConfigurationChecker(org.scalastyle.scalariform.NoWhitespaceBeforeRightBracketChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.NoWhitespaceBeforeRightBracketChecker),None,Some(scalastyle_NoWhitespaceBeforeRightBracketChecker)), ConfigurationChecker(org.scalastyle.scalariform.NoWhitespaceBeforeLeftBracketChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.NoWhitespaceBeforeLeftBracketChecker),None,Some(scalastyle_NoWhitespaceBeforeLeftBracketChecker)), ConfigurationChecker(org.scalastyle.scalariform.UppercaseLChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.UppercaseLChecker),None,Some(scalastyle_UppercaseLChecker))))
10:18:17.115 INFO: Sensor com.ncredinburgh.sonar.scalastyle.ScalastyleSensor [scala] (done) | time=229ms
10:18:17.116 INFO: Sensor SonarJavaXmlFileSensor [java]
10:18:17.116 INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
10:18:17.116 INFO: Sensor Scala Sensor [scala]
10:18:17.125 INFO: Sensor Scala Sensor [scala] (done) | time=9ms
10:18:17.125 INFO: Sensor Scoverage Sensor [scala]
10:18:17.125 INFO: [scoverage] Initializing the scoverage sensor.
10:18:17.126 DEBUG: [scoverage] The current working directory is: '/Users/-/Workspaces/tools/sonar-scala/examples/sbt/multi-module'.
10:18:17.127 DEBUG: [scoverage] The source prefixes are: [module2/src/main/scala].
10:18:17.127 INFO: [scoverage] Loading the scoverage report file: 'module2/target/scala-2.12/scoverage-report/scoverage.xml'.
10:18:17.130 ERROR: [scoverage] Aborting the scoverage sensor execution, cause: an error occurred while reading the scoverage report file: 'module2/target/scala-2.12/scoverage-report/scoverage.xml', the error was: module2/target/scala-2.12/scoverage-report/scoverage.xml (No such file or directory).
10:18:17.131 INFO: Sensor Scoverage Sensor [scala] (done) | time=6ms
10:18:17.131 INFO: Sensor Analyzer for "php.ini" files [php]
10:18:17.132 INFO: Sensor Analyzer for "php.ini" files [php] (done) | time=1ms
10:18:17.140 DEBUG: 'module2/src/main/scala/Example2.scala' generated metadata with charset 'UTF-8'
10:18:17.140 INFO: SCM provider for this project is: git
10:18:17.141 INFO: 1 files to be analyzed
10:18:17.157 DEBUG: readpipe [git, --version],/usr/bin
10:18:17.169 DEBUG: readpipe may return 'git version 2.15.2 (Apple Git-101.1)'
10:18:17.169 DEBUG: remaining output:
10:18:17.169 DEBUG: readpipe [git, config, --system, --edit],/usr/bin
10:18:17.182 DEBUG: readpipe may return '/private/etc/gitconfig'
10:18:17.182 DEBUG: remaining output:
10:18:17.210 DEBUG: Blame file examples/sbt/multi-module/module2/src/main/scala/Example2.scala
10:18:17.314 DEBUG: Unable to blame file src/main/scala/Example2.scala. No blame info at line 3. Is file committed? [Author: PersonIdent[Not Committed Yet, , Mon Aug 13 10:18:17 2018 -0500] Source commit: null]
10:18:17.318 INFO: 0/1 files analyzed
10:18:17.318 WARN: Missing blame information for the following files:
10:18:17.318 WARN: * module2/src/main/scala/Example2.scala
10:18:17.318 WARN: This may lead to missing/broken features in SonarQube
10:18:17.320 INFO: ------------- Scan Module 1
10:18:17.331 INFO: Base dir: /Users/-/Workspaces/tools/sonar-scala/examples/sbt/multi-module/module1
10:18:17.331 INFO: Working dir: /Users/-/Workspaces/tools/sonar-scala/examples/sbt/multi-module/.scannerwork/example-sbt-multi-module_module1
10:18:17.331 INFO: Source paths: src/main/scala
10:18:17.332 INFO: Source encoding: UTF-8, default locale: en_US
10:18:17.344 DEBUG: Declared extensions of language C# were converted to sonar.lang.patterns.cs : **/*.cs
10:18:17.344 DEBUG: Declared extensions of language Python were converted to sonar.lang.patterns.py : **/*.py
10:18:17.344 DEBUG: Declared extensions of language Java were converted to sonar.lang.patterns.java : **/*.java,**/*.jav
10:18:17.344 DEBUG: Declared extensions of language Scala were converted to sonar.lang.patterns.scala : **/*.scala
10:18:17.344 DEBUG: Declared extensions of language Flex were converted to sonar.lang.patterns.flex : **/*.as
10:18:17.344 DEBUG: Declared extensions of language XML were converted to sonar.lang.patterns.xml : **/*.xml,**/*.xsd,**/*.xsl
10:18:17.344 DEBUG: Declared extensions of language PHP were converted to sonar.lang.patterns.php : **/*.php,**/*.php3,**/*.php4,**/*.php5,**/*.phtml,**/*.inc
10:18:17.344 DEBUG: Declared extensions of language TypeScript were converted to sonar.lang.patterns.ts : **/*.ts,**/*.tsx
10:18:17.344 DEBUG: Declared extensions of language JavaScript were converted to sonar.lang.patterns.js : **/*.js,**/*.jsx,**/*.vue
10:18:17.346 DEBUG: Initializers :
10:18:17.346 INFO: Index files
10:18:17.347 DEBUG: 'src/main/scala/Example1.scala' indexed with language 'scala'
10:18:17.348 INFO: 1 file indexed
10:18:17.348 INFO: Quality profile for scala: Scalastyle
10:18:17.386 DEBUG: 'Generic Coverage Report' skipped because one of the required properties is missing
10:18:17.386 DEBUG: 'Generic Test Executions Report' skipped because one of the required properties is missing
10:18:17.386 DEBUG: 'C#' skipped because there is no related file in current project
10:18:17.387 DEBUG: 'C# Tests Coverage Report Import' skipped because there is no related file in current project
10:18:17.387 DEBUG: '[Deprecated] C# Integration Tests Coverage Report Import' skipped because there is no related file in current project
10:18:17.387 DEBUG: 'C# Unit Test Results Import' skipped because there is no related file in current project
10:18:17.387 DEBUG: 'Python Squid Sensor' skipped because there is no related file in current project
10:18:17.387 DEBUG: 'SurefireSensor' skipped because there is no related file in current project
10:18:17.387 DEBUG: 'JaCoCoSensor' skipped because there is no related file in current project
10:18:17.387 DEBUG: 'JavaSquidSensor' skipped because there is no related file in current project
10:18:17.387 DEBUG: 'Scapegoat Sensor' skipped because there is no related rule activated in the quality profile
10:18:17.388 DEBUG: 'Flex' skipped because there is no related file in current project
10:18:17.388 DEBUG: 'Flex Cobertura' skipped because there is no related file in current project
10:18:17.388 DEBUG: 'XML Sensor' skipped because there is no related file in current project
10:18:17.388 DEBUG: 'PHP sensor' skipped because there is no related file in current project
10:18:17.388 DEBUG: 'TypeScript Sensor' skipped because there is no related file in current project
10:18:17.388 DEBUG: 'TypeScript LCOV Coverage Sensor' skipped because there is no related file in current project
10:18:17.388 DEBUG: 'JavaScript Squid Sensor' skipped because there is no related file in current project
10:18:17.389 DEBUG: Sensors : com.ncredinburgh.sonar.scalastyle.ScalastyleSensor@e07b4db -> SonarJavaXmlFileSensor -> Scala Sensor -> Scoverage Sensor -> Analyzer for "php.ini" files
10:18:17.389 INFO: Sensor com.ncredinburgh.sonar.scalastyle.ScalastyleSensor [scala]
10:18:17.391 DEBUG: Using config ScalastyleConfiguration(sonar,true,List(ConfigurationChecker(org.scalastyle.scalariform.NoFinalizeChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.NoFinalizeChecker),None,Some(scalastyle_NoFinalizeChecker)), ConfigurationChecker(org.scalastyle.scalariform.EqualsHashCodeChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.EqualsHashCodeChecker),None,Some(scalastyle_EqualsHashCodeChecker)), ConfigurationChecker(org.scalastyle.scalariform.StructuralTypeChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.StructuralTypeChecker),None,Some(scalastyle_StructuralTypeChecker)), ConfigurationChecker(org.scalastyle.scalariform.SpaceAfterCommentStartChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.SpaceAfterCommentStartChecker),None,Some(scalastyle_SpaceAfterCommentStartChecker)), ConfigurationChecker(org.scalastyle.scalariform.ForBraceChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.ForBraceChecker),None,Some(scalastyle_ForBraceChecker)), ConfigurationChecker(org.scalastyle.scalariform.NoCloneChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.NoCloneChecker),None,Some(scalastyle_NoCloneChecker)), ConfigurationChecker(org.scalastyle.file.NewLineAtEofChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.file.NewLineAtEofChecker),None,Some(scalastyle_NewLineAtEofChecker)), ConfigurationChecker(org.scalastyle.file.FileTabChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.file.FileTabChecker),None,Some(scalastyle_FileTabChecker)), ConfigurationChecker(org.scalastyle.scalariform.CovariantEqualsChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.CovariantEqualsChecker),None,Some(scalastyle_CovariantEqualsChecker)), ConfigurationChecker(org.scalastyle.scalariform.SimplifyBooleanExpressionChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.SimplifyBooleanExpressionChecker),None,Some(scalastyle_SimplifyBooleanExpressionChecker)), ConfigurationChecker(org.scalastyle.scalariform.ReturnChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.ReturnChecker),None,Some(scalastyle_ReturnChecker)), ConfigurationChecker(org.scalastyle.scalariform.SpacesBeforePlusChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.SpacesBeforePlusChecker),None,Some(scalastyle_SpacesBeforePlusChecker)), ConfigurationChecker(org.scalastyle.scalariform.SpacesAfterPlusChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.SpacesAfterPlusChecker),None,Some(scalastyle_SpacesAfterPlusChecker)), ConfigurationChecker(org.scalastyle.scalariform.NoWhitespaceAfterLeftBracketChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.NoWhitespaceAfterLeftBracketChecker),None,Some(scalastyle_NoWhitespaceAfterLeftBracketChecker)), ConfigurationChecker(org.scalastyle.scalariform.NotImplementedErrorUsage,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.NotImplementedErrorUsage),None,Some(scalastyle_NotImplementedErrorUsage)), ConfigurationChecker(org.scalastyle.scalariform.NoWhitespaceBeforeRightBracketChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.NoWhitespaceBeforeRightBracketChecker),None,Some(scalastyle_NoWhitespaceBeforeRightBracketChecker)), ConfigurationChecker(org.scalastyle.scalariform.NoWhitespaceBeforeLeftBracketChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.NoWhitespaceBeforeLeftBracketChecker),None,Some(scalastyle_NoWhitespaceBeforeLeftBracketChecker)), ConfigurationChecker(org.scalastyle.scalariform.UppercaseLChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.UppercaseLChecker),None,Some(scalastyle_UppercaseLChecker))))
10:18:17.443 DEBUG: Error message for rule org.scalastyle.scalariform.ReturnChecker
10:18:17.445 DEBUG: Looking for sonar rule for scalastyle_ReturnChecker
10:18:17.446 DEBUG: Matched to sonar rule Rule[id=<null>,name=Return,key=scalastyle_ReturnChecker,configKey=,plugin=Scalastyle,severity=MAJOR,isTemplate=false,status=READY,language=<null>,template=<null>]
10:18:17.451 DEBUG: 'module1/src/main/scala/Example1.scala' generated metadata with charset 'UTF-8'
10:18:17.463 INFO: Sensor com.ncredinburgh.sonar.scalastyle.ScalastyleSensor [scala] (done) | time=74ms
10:18:17.463 INFO: Sensor SonarJavaXmlFileSensor [java]
10:18:17.464 INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=1ms
10:18:17.464 INFO: Sensor Scala Sensor [scala]
10:18:17.469 INFO: Sensor Scala Sensor [scala] (done) | time=5ms
10:18:17.469 INFO: Sensor Scoverage Sensor [scala]
10:18:17.469 INFO: [scoverage] Initializing the scoverage sensor.
10:18:17.469 DEBUG: [scoverage] The current working directory is: '/Users/-/Workspaces/tools/sonar-scala/examples/sbt/multi-module'.
10:18:17.470 DEBUG: [scoverage] The source prefixes are: [module1/src/main/scala].
10:18:17.470 INFO: [scoverage] Loading the scoverage report file: 'module1/target/scala-2.12/scoverage-report/scoverage.xml'.
10:18:17.470 ERROR: [scoverage] Aborting the scoverage sensor execution, cause: an error occurred while reading the scoverage report file: 'module1/target/scala-2.12/scoverage-report/scoverage.xml', the error was: module1/target/scala-2.12/scoverage-report/scoverage.xml (No such file or directory).
10:18:17.470 INFO: Sensor Scoverage Sensor [scala] (done) | time=1ms
10:18:17.470 INFO: Sensor Analyzer for "php.ini" files [php]
10:18:17.470 INFO: Sensor Analyzer for "php.ini" files [php] (done) | time=0ms
10:18:17.476 INFO: ------------- Scan [example] SBT Multi Module
10:18:17.488 INFO: Base dir: /Users/-/Workspaces/tools/sonar-scala/examples/sbt/multi-module
10:18:17.488 INFO: Working dir: /Users/-/Workspaces/tools/sonar-scala/examples/sbt/multi-module/.scannerwork
10:18:17.488 INFO: Source paths: src/main/scala
10:18:17.488 INFO: Source encoding: UTF-8, default locale: en_US
10:18:17.502 DEBUG: Declared extensions of language C# were converted to sonar.lang.patterns.cs : **/*.cs
10:18:17.502 DEBUG: Declared extensions of language Python were converted to sonar.lang.patterns.py : **/*.py
10:18:17.503 DEBUG: Declared extensions of language Java were converted to sonar.lang.patterns.java : **/*.java,**/*.jav
10:18:17.503 DEBUG: Declared extensions of language Scala were converted to sonar.lang.patterns.scala : **/*.scala
10:18:17.503 DEBUG: Declared extensions of language Flex were converted to sonar.lang.patterns.flex : **/*.as
10:18:17.503 DEBUG: Declared extensions of language XML were converted to sonar.lang.patterns.xml : **/*.xml,**/*.xsd,**/*.xsl
10:18:17.503 DEBUG: Declared extensions of language PHP were converted to sonar.lang.patterns.php : **/*.php,**/*.php3,**/*.php4,**/*.php5,**/*.phtml,**/*.inc
10:18:17.503 DEBUG: Declared extensions of language TypeScript were converted to sonar.lang.patterns.ts : **/*.ts,**/*.tsx
10:18:17.504 DEBUG: Declared extensions of language JavaScript were converted to sonar.lang.patterns.js : **/*.js,**/*.jsx,**/*.vue
10:18:17.505 DEBUG: Initializers :
10:18:17.505 INFO: Index files
10:18:17.507 DEBUG: 'src/main/scala/Example.scala' indexed with language 'scala'
10:18:17.507 INFO: 1 file indexed
10:18:17.507 INFO: Quality profile for scala: Scalastyle
10:18:17.551 DEBUG: 'Generic Coverage Report' skipped because one of the required properties is missing
10:18:17.551 DEBUG: 'Generic Test Executions Report' skipped because one of the required properties is missing
10:18:17.551 DEBUG: 'C#' skipped because there is no related file in current project
10:18:17.551 DEBUG: 'C# Tests Coverage Report Import' skipped because there is no related file in current project
10:18:17.552 DEBUG: '[Deprecated] C# Integration Tests Coverage Report Import' skipped because there is no related file in current project
10:18:17.552 DEBUG: 'C# Unit Test Results Import' skipped because there is no related file in current project
10:18:17.552 DEBUG: 'Python Squid Sensor' skipped because there is no related file in current project
10:18:17.552 DEBUG: 'SurefireSensor' skipped because there is no related file in current project
10:18:17.552 DEBUG: 'JaCoCoSensor' skipped because there is no related file in current project
10:18:17.552 DEBUG: 'JavaSquidSensor' skipped because there is no related file in current project
10:18:17.553 DEBUG: 'Scapegoat Sensor' skipped because there is no related rule activated in the quality profile
10:18:17.553 DEBUG: 'Flex' skipped because there is no related file in current project
10:18:17.553 DEBUG: 'Flex Cobertura' skipped because there is no related file in current project
10:18:17.553 DEBUG: 'XML Sensor' skipped because there is no related file in current project
10:18:17.553 DEBUG: 'PHP sensor' skipped because there is no related file in current project
10:18:17.553 DEBUG: 'TypeScript Sensor' skipped because there is no related file in current project
10:18:17.554 DEBUG: 'TypeScript LCOV Coverage Sensor' skipped because there is no related file in current project
10:18:17.554 DEBUG: 'JavaScript Squid Sensor' skipped because there is no related file in current project
10:18:17.556 DEBUG: 'Generic Coverage Report' skipped because one of the required properties is missing
10:18:17.556 DEBUG: 'Generic Test Executions Report' skipped because one of the required properties is missing
10:18:17.556 DEBUG: 'C#' skipped because there is no related file in current project
10:18:17.557 DEBUG: 'C# Tests Coverage Report Import' skipped because there is no related file in current project
10:18:17.557 DEBUG: '[Deprecated] C# Integration Tests Coverage Report Import' skipped because there is no related file in current project
10:18:17.557 DEBUG: 'C# Unit Test Results Import' skipped because there is no related file in current project
10:18:17.557 DEBUG: 'Python Squid Sensor' skipped because there is no related file in current project
10:18:17.558 DEBUG: 'SurefireSensor' skipped because there is no related file in current project
10:18:17.558 DEBUG: 'JaCoCoSensor' skipped because there is no related file in current project
10:18:17.558 DEBUG: 'JavaSquidSensor' skipped because there is no related file in current project
10:18:17.558 DEBUG: 'Scapegoat Sensor' skipped because there is no related rule activated in the quality profile
10:18:17.558 DEBUG: 'Flex' skipped because there is no related file in current project
10:18:17.559 DEBUG: 'Flex Cobertura' skipped because there is no related file in current project
10:18:17.559 DEBUG: 'XML Sensor' skipped because there is no related file in current project
10:18:17.559 DEBUG: 'PHP sensor' skipped because there is no related file in current project
10:18:17.559 DEBUG: 'TypeScript Sensor' skipped because there is no related file in current project
10:18:17.562 DEBUG: 'TypeScript LCOV Coverage Sensor' skipped because there is no related file in current project
10:18:17.562 DEBUG: 'JavaScript Squid Sensor' skipped because there is no related file in current project
10:18:17.562 DEBUG: Sensors : com.ncredinburgh.sonar.scalastyle.ScalastyleSensor@8ef1d58 -> SonarJavaXmlFileSensor -> Scala Sensor -> Scoverage Sensor -> Analyzer for "php.ini" files -> Zero Coverage Sensor -> CPD Block Indexer
10:18:17.563 INFO: Sensor com.ncredinburgh.sonar.scalastyle.ScalastyleSensor [scala]
10:18:17.565 DEBUG: Using config ScalastyleConfiguration(sonar,true,List(ConfigurationChecker(org.scalastyle.scalariform.NoFinalizeChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.NoFinalizeChecker),None,Some(scalastyle_NoFinalizeChecker)), ConfigurationChecker(org.scalastyle.scalariform.EqualsHashCodeChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.EqualsHashCodeChecker),None,Some(scalastyle_EqualsHashCodeChecker)), ConfigurationChecker(org.scalastyle.scalariform.StructuralTypeChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.StructuralTypeChecker),None,Some(scalastyle_StructuralTypeChecker)), ConfigurationChecker(org.scalastyle.scalariform.SpaceAfterCommentStartChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.SpaceAfterCommentStartChecker),None,Some(scalastyle_SpaceAfterCommentStartChecker)), ConfigurationChecker(org.scalastyle.scalariform.ForBraceChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.ForBraceChecker),None,Some(scalastyle_ForBraceChecker)), ConfigurationChecker(org.scalastyle.scalariform.NoCloneChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.NoCloneChecker),None,Some(scalastyle_NoCloneChecker)), ConfigurationChecker(org.scalastyle.file.NewLineAtEofChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.file.NewLineAtEofChecker),None,Some(scalastyle_NewLineAtEofChecker)), ConfigurationChecker(org.scalastyle.file.FileTabChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.file.FileTabChecker),None,Some(scalastyle_FileTabChecker)), ConfigurationChecker(org.scalastyle.scalariform.CovariantEqualsChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.CovariantEqualsChecker),None,Some(scalastyle_CovariantEqualsChecker)), ConfigurationChecker(org.scalastyle.scalariform.SimplifyBooleanExpressionChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.SimplifyBooleanExpressionChecker),None,Some(scalastyle_SimplifyBooleanExpressionChecker)), ConfigurationChecker(org.scalastyle.scalariform.ReturnChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.ReturnChecker),None,Some(scalastyle_ReturnChecker)), ConfigurationChecker(org.scalastyle.scalariform.SpacesBeforePlusChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.SpacesBeforePlusChecker),None,Some(scalastyle_SpacesBeforePlusChecker)), ConfigurationChecker(org.scalastyle.scalariform.SpacesAfterPlusChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.SpacesAfterPlusChecker),None,Some(scalastyle_SpacesAfterPlusChecker)), ConfigurationChecker(org.scalastyle.scalariform.NoWhitespaceAfterLeftBracketChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.NoWhitespaceAfterLeftBracketChecker),None,Some(scalastyle_NoWhitespaceAfterLeftBracketChecker)), ConfigurationChecker(org.scalastyle.scalariform.NotImplementedErrorUsage,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.NotImplementedErrorUsage),None,Some(scalastyle_NotImplementedErrorUsage)), ConfigurationChecker(org.scalastyle.scalariform.NoWhitespaceBeforeRightBracketChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.NoWhitespaceBeforeRightBracketChecker),None,Some(scalastyle_NoWhitespaceBeforeRightBracketChecker)), ConfigurationChecker(org.scalastyle.scalariform.NoWhitespaceBeforeLeftBracketChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.NoWhitespaceBeforeLeftBracketChecker),None,Some(scalastyle_NoWhitespaceBeforeLeftBracketChecker)), ConfigurationChecker(org.scalastyle.scalariform.UppercaseLChecker,ErrorLevel,true,Map(scalastyle-checker -> org.scalastyle.scalariform.UppercaseLChecker),None,Some(scalastyle_UppercaseLChecker))))
10:18:17.575 INFO: Sensor com.ncredinburgh.sonar.scalastyle.ScalastyleSensor [scala] (done) | time=12ms
10:18:17.576 INFO: Sensor SonarJavaXmlFileSensor [java]
10:18:17.576 INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
10:18:17.576 INFO: Sensor Scala Sensor [scala]
10:18:17.579 INFO: Sensor Scala Sensor [scala] (done) | time=3ms
10:18:17.579 INFO: Sensor Scoverage Sensor [scala]
10:18:17.579 INFO: [scoverage] Initializing the scoverage sensor.
10:18:17.580 DEBUG: [scoverage] The current working directory is: '/Users/-/Workspaces/tools/sonar-scala/examples/sbt/multi-module'.
10:18:17.580 DEBUG: [scoverage] The source prefixes are: [src/main/scala].
10:18:17.580 INFO: [scoverage] Loading the scoverage report file: 'target/scala-2.12/scoverage-report/scoverage.xml'.
10:18:17.580 ERROR: [scoverage] Aborting the scoverage sensor execution, cause: an error occurred while reading the scoverage report file: 'target/scala-2.12/scoverage-report/scoverage.xml', the error was: target/scala-2.12/scoverage-report/scoverage.xml (No such file or directory).
10:18:17.580 INFO: Sensor Scoverage Sensor [scala] (done) | time=1ms
10:18:17.581 INFO: Sensor Analyzer for "php.ini" files [php]
10:18:17.581 INFO: Sensor Analyzer for "php.ini" files [php] (done) | time=1ms
10:18:17.581 INFO: Sensor Zero Coverage Sensor
10:18:17.595 INFO: Sensor Zero Coverage Sensor (done) | time=13ms
10:18:17.595 INFO: Sensor CPD Block Indexer
10:18:17.595 DEBUG: org.sonar.scanner.cpd.deprecated.DefaultCpdBlockIndexer is used for scala
10:18:17.595 DEBUG: No CpdMapping for language scala
10:18:17.595 INFO: Sensor CPD Block Indexer (done) | time=0ms
10:18:17.596 DEBUG: 'src/main/scala/Example.scala' generated metadata with charset 'UTF-8'
10:18:17.598 INFO: Calculating CPD for 0 files
10:18:17.599 INFO: CPD calculation finished
10:18:17.683 INFO: Analysis report generated in 80ms, dir size=31 KB
10:18:17.710 INFO: Analysis reports compressed in 27ms, zip size=11 KB
10:18:17.710 DEBUG: Upload report
10:18:17.732 DEBUG: POST 200 http://localhost:9000/api/ce/submit?projectKey=example-sbt-multi-module&projectName=[example]%20SBT%20Multi%20Module | time=20ms
10:18:17.735 INFO: Analysis report uploaded in 25ms
10:18:17.738 INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard/index/example-sbt-multi-module
10:18:17.738 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
10:18:17.739 INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AWUz3cmAlq3Q1H-MSEpD
10:18:17.739 DEBUG: Report metadata written to /Users/-/Workspaces/tools/sonar-scala/examples/sbt/multi-module/.scannerwork/report-task.txt
10:18:17.741 DEBUG: Post-jobs :
10:18:17.752 INFO: Task total time: 3.039 s
10:18:17.808 INFO: ------------------------------------------------------------------------
10:18:17.808 INFO: EXECUTION SUCCESS
10:18:17.809 INFO: ------------------------------------------------------------------------
10:18:17.809 INFO: Total time: 3.959s
10:18:17.873 INFO: Final Memory: 23M/404M
10:18:17.873 INFO: ------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment