2019-08-27T17:51:43.5611076Z ##[section]Starting: Run Code Analysis 2019-08-27T17:51:43.5613236Z ============================================================================== 2019-08-27T17:51:43.5613294Z Task : Run Code Analysis 2019-08-27T17:51:43.5613352Z Description : Run scanner and upload the results to the SonarQube server. 2019-08-27T17:51:43.5613394Z Version : 4.6.3 2019-08-27T17:51:43.5613448Z Author : sonarsource 2019-08-27T17:51:43.5613497Z Help : This task is not needed for Maven and Gradle projects since the scanner should be run as part of the build. [More Information](http://redirect.sonarsource.com/doc/install-configure-scanner-tfs-ts.html) 2019-08-27T17:51:43.5613582Z ============================================================================== 2019-08-27T17:51:43.7309867Z [command]/home/vsts/work/_tasks/SonarQubeAnalyze_6d01813a-9589-4b15-8491-8164aeb38055/4.6.3/sonar-scanner/bin/sonar-scanner 2019-08-27T17:51:46.2790432Z INFO: Project root configuration file: /home/vsts/work/1/s/sonar-project.properties 2019-08-27T17:51:46.7972566Z INFO: SonarQube Scanner 3.3.0.1492 2019-08-27T17:51:46.7973320Z INFO: Java 1.8.0_222 Azul Systems, Inc. (64-bit) 2019-08-27T17:51:46.7973543Z INFO: Linux 4.15.0-1052-azure amd64 2019-08-27T17:51:48.1607982Z INFO: User cache: /home/vsts/.sonar/cache 2019-08-27T17:51:49.8257742Z INFO: SonarQube server 7.1.0 2019-08-27T17:51:49.8259628Z INFO: Default locale: "en_US", source code encoding: "UTF-8" (analysis is platform dependent) 2019-08-27T17:51:50.3697901Z INFO: Publish mode 2019-08-27T17:51:50.4791860Z INFO: Load global settings 2019-08-27T17:51:53.7704820Z INFO: Load global settings (done) | time=3291ms 2019-08-27T17:51:53.7767339Z INFO: Server id: ### sensitive info ### 2019-08-27T17:51:53.7848345Z INFO: User cache: /home/vsts/.sonar/cache 2019-08-27T17:51:54.2744607Z INFO: Load plugins index 2019-08-27T17:51:54.5784958Z INFO: Load plugins index (done) | time=304ms 2019-08-27T17:51:54.5787177Z INFO: Load/download plugins 2019-08-27T17:51:56.1200785Z INFO: Load/download plugins (done) | time=1541ms 2019-08-27T17:51:56.5300428Z INFO: Process project properties 2019-08-27T17:51:56.5586710Z INFO: Load project repositories 2019-08-27T17:51:58.3392105Z INFO: Load project repositories (done) | time=1780ms 2019-08-27T17:51:58.8134448Z INFO: Load quality profiles 2019-08-27T17:52:01.9905641Z INFO: Load quality profiles (done) | time=3177ms 2019-08-27T17:52:02.0056345Z INFO: Load active rules 2019-08-27T17:52:03.1076055Z INFO: Load active rules (done) | time=1104ms 2019-08-27T17:52:03.1103068Z INFO: Load metrics repository 2019-08-27T17:52:03.3792271Z INFO: Load metrics repository (done) | time=267ms 2019-08-27T17:52:03.4133401Z INFO: Project key: Promotions_test 2019-08-27T17:52:03.4138220Z INFO: Project base dir: /home/vsts/work/1/s 2019-08-27T17:52:03.4160703Z INFO: ------------- Scan Promotions_frontend 2019-08-27T17:52:03.5742873Z INFO: Load server rules 2019-08-27T17:52:03.6545409Z INFO: Load server rules (done) | time=81ms 2019-08-27T17:52:03.6929672Z INFO: Base dir: /home/vsts/work/1/s/client 2019-08-27T17:52:03.6930314Z INFO: Working dir: /home/vsts/work/1/s/.scannerwork/Promotions_test_frontend 2019-08-27T17:52:03.6944931Z INFO: Source paths: src 2019-08-27T17:52:03.6948641Z INFO: Test paths: src 2019-08-27T17:52:03.6952354Z INFO: Source encoding: UTF-8, default locale: en_US 2019-08-27T17:52:03.8149739Z INFO: Index files 2019-08-27T17:52:03.8177080Z INFO: Excluded sources: 2019-08-27T17:52:03.8177402Z INFO: **/*test* 2019-08-27T17:52:03.8177680Z INFO: **/*test* 2019-08-27T17:52:03.8177883Z INFO: Included tests: 2019-08-27T17:52:03.8178108Z INFO: **/*test* 2019-08-27T17:52:04.0613153Z INFO: 574 files indexed 2019-08-27T17:52:04.0613831Z INFO: 574 files ignored because of inclusion/exclusion patterns 2019-08-27T17:52:04.0616576Z INFO: Quality profile for ts: Sonar way 2019-08-27T17:52:04.9895631Z INFO: Sensor SonarJavaXmlFileSensor [java] 2019-08-27T17:52:04.9964699Z INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=7ms 2019-08-27T17:52:04.9965112Z INFO: Sensor SonarTS [typescript] 2019-08-27T17:52:05.3129792Z INFO: Analyzing 301 typescript file(s) with the following configuration file /home/vsts/work/1/s/client/tsconfig.json 2019-08-27T17:52:20.9886670Z INFO: 126 files analyzed out of 301. Current file: /home/vsts/work/1/s/client/src/components/LiftModal/ModelControls/index.tsx 2019-08-27T17:52:26.3162096Z INFO: 301 files analyzed out of 301 2019-08-27T17:52:27.1089575Z INFO: Sensor SonarTS [typescript] (done) | time=22112ms 2019-08-27T17:52:27.1548211Z INFO: ------------- Scan Promotions_backend 2019-08-27T17:52:27.1650723Z INFO: Base dir: /home/vsts/work/1/s/api 2019-08-27T17:52:27.1653517Z INFO: Working dir: /home/vsts/work/1/s/.scannerwork/Promotions_test_backend 2019-08-27T17:52:27.1657983Z INFO: Source paths: src 2019-08-27T17:52:27.1661004Z INFO: Test paths: src 2019-08-27T17:52:27.1664385Z INFO: Source encoding: UTF-8, default locale: en_US 2019-08-27T17:52:27.1810528Z INFO: Index files 2019-08-27T17:52:27.1820919Z INFO: Excluded sources: 2019-08-27T17:52:27.1821330Z INFO: **/*test* 2019-08-27T17:52:27.1821570Z INFO: **/*test* 2019-08-27T17:52:27.1821823Z INFO: Included tests: 2019-08-27T17:52:27.1822045Z INFO: **/*test* 2019-08-27T17:52:27.2259088Z INFO: 125 files indexed 2019-08-27T17:52:27.2259870Z INFO: 125 files ignored because of inclusion/exclusion patterns 2019-08-27T17:52:27.2260117Z INFO: Quality profile for ts: Sonar way 2019-08-27T17:52:27.2727657Z INFO: Sensor SonarJavaXmlFileSensor [java] 2019-08-27T17:52:27.2799886Z INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=3ms 2019-08-27T17:52:27.2803085Z INFO: Sensor SonarTS [typescript] 2019-08-27T17:52:27.4325034Z INFO: Analyzing 88 typescript file(s) with the following configuration file /home/vsts/work/1/s/api/tsconfig.json 2019-08-27T17:52:34.6634021Z INFO: 88 files analyzed out of 88 2019-08-27T17:52:34.8158594Z INFO: Sensor SonarTS [typescript] (done) | time=7535ms 2019-08-27T17:52:34.8362109Z INFO: ------------- Scan Promotions_test 2019-08-27T17:52:34.8473800Z INFO: Base dir: /home/vsts/work/1/s 2019-08-27T17:52:34.8477619Z INFO: Working dir: /home/vsts/work/1/s/.scannerwork 2019-08-27T17:52:34.8481112Z INFO: Source encoding: UTF-8, default locale: en_US 2019-08-27T17:52:34.8632660Z INFO: Index files 2019-08-27T17:52:34.8638960Z INFO: 0 files indexed 2019-08-27T17:52:34.9134391Z INFO: Sensor SonarJavaXmlFileSensor [java] 2019-08-27T17:52:34.9135674Z INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms 2019-08-27T17:52:34.9136028Z INFO: Sensor Zero Coverage Sensor 2019-08-27T17:52:35.0928142Z INFO: Sensor Zero Coverage Sensor (done) | time=179ms 2019-08-27T17:52:35.0946203Z INFO: Sensor CPD Block Indexer 2019-08-27T17:52:35.0951593Z INFO: Sensor CPD Block Indexer (done) | time=2ms 2019-08-27T17:52:35.1182701Z INFO: 136 files had no CPD blocks 2019-08-27T17:52:35.1186825Z INFO: Calculating CPD for 253 files 2019-08-27T17:52:35.1946774Z INFO: CPD calculation finished 2019-08-27T17:52:35.5775007Z INFO: Analysis report generated in 306ms, dir size=1 MB 2019-08-27T17:52:36.2793503Z INFO: Analysis reports compressed in 701ms, zip size=1 MB 2019-08-27T17:52:37.2472927Z INFO: Analysis report uploaded in 967ms 2019-08-27T17:52:37.2484217Z INFO: ANALYSIS SUCCESSFUL, you can browse ### link to sonarqube ### 2019-08-27T17:52:37.2492530Z INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report 2019-08-27T17:52:37.2493347Z INFO: More about the report processing at ### link to sonarqube ### 2019-08-27T17:52:37.3093660Z INFO: Task total time: 41.072 s 2019-08-27T17:52:37.7340852Z INFO: ------------------------------------------------------------------------ 2019-08-27T17:52:37.7407776Z INFO: EXECUTION SUCCESS 2019-08-27T17:52:37.7409260Z INFO: ------------------------------------------------------------------------ 2019-08-27T17:52:37.7409360Z INFO: Total time: 51.622s 2019-08-27T17:52:37.8157468Z INFO: Final Memory: 19M/418M 2019-08-27T17:52:37.8159025Z INFO: ------------------------------------------------------------------------ 2019-08-27T17:52:37.8530894Z ##[section]Finishing: Run Code Analysis