Closed sk92129 closed 9 months ago
This is my next thought: my sonarqube scans are configured to run on the non-default branch. And maybe the community edition does not work with non-default branch. And when I try to specify the branch and use the branch plugin, it is not able to send the report.
Unlike my centos configuration -- that azure pipeline is working from the default branch and does not use the branch plugin.
I am going to try to merge most of the code into the default branch: main and try this again.
I merged my branch into the default branch (main), removed the sonar.branch.name from the sonar-project.properties and re-ran the scan from the azure pipeline . It was able to successfully start and finish the scan.
this issue can be closed
merging the code and sonar-project.properties into default branch resolved this
updated on Feb 5 to help clarify the problem
I am using sonarqube on Windows, with postgres. Using sonarqube-10.3.0.82913, sonar-scanner-5.0.1.3006-windows, with the plugins:
sonar-flutter-plugin-0.5.1-SNAPSHOT sonarqube-community-branch-plugin-1.18.0
The sonar-project.properties look like this:
sonar.projectKey=myapp sonar.projectName=myapp sonar.projectVersion=1.0.1 sonar.branch.name='R1.0'
i have tried with below in case it cares about string or not
sonar.branch.name=R1.0
sonar.sources=lib,pubspec.yaml sonar.tests=test sonar.login=admin sonar.password=admin
sonar.sourceEncoding=UTF-8
if this is set to true, then the scanner will fail at the flutter analyze step
sonar.dart.analyzer.options.override=false
I put in the sonarqube-community-branch-plugin and the sonar.branch.name and the override = false to get around some sonar.branch.name not found and this error. https://github.com/insideapp-oss/sonar-flutter/issues/206
Running the sonar-scanner.bat from the project folder works successfully.
But the scanner cannot seem to finish sending the report when running from the azure pipeline.
The azure build agent and sonarqube is running on the same machine.
Below is the full raw logs from azure pipeline:
the main error that seems to be stopping this is where it is trying to use a feature on sonarqube but the error says that the report cannot be uploaded because I am using an edition that does not support that.
Error during SonarScanner execution java.lang.IllegalStateException: Failed to upload report: Error 500 on http://localhost:9000/api/ce/submit?projectKey=myapp&projectName=myapp&characteristic=branch%3DR1.0&characteristic=branchType%3DBRANCH : {"errors":[{"msg":"Current edition does not support branch feature"}]}
Very strangely -- i have the same sonarqube and scanner along with just the flutter plugin working fine on a centos azure pipeline agent server. The version number of the sonarqube and scanner matches. The separate azure pipeline with the centos agent can start the analyze and report the results to the locally running sonarqube. With this separate azure agent pipeline and sonarqube, they are running on the same centos linux machine.
2024-02-03T01:08:49.7578222Z ##[debug]Evaluating condition for step: 'Run analyze' 2024-02-03T01:08:49.7579488Z ##[debug]Evaluating: SucceededNode() 2024-02-03T01:08:49.7579742Z ##[debug]Evaluating SucceededNode: 2024-02-03T01:08:49.7580182Z ##[debug]=> True 2024-02-03T01:08:49.7580792Z ##[debug]Result: True 2024-02-03T01:08:49.7581266Z ##[section]Starting: Run analyze 2024-02-03T01:08:49.7859790Z ============================================================================== 2024-02-03T01:08:49.7859962Z Task : Run Code Analysis 2024-02-03T01:08:49.7860040Z Description : Run scanner and upload the results to the SonarQube server. 2024-02-03T01:08:49.7860157Z Version : 5.19.0 2024-02-03T01:08:49.7860226Z Author : sonarsource 2024-02-03T01:08:49.7860338Z Help : Version: 5.19.0. This task is not needed for Maven and Gradle projects since the scanner should be run as part of the build.
More Information 2024-02-03T01:08:49.7860651Z ============================================================================== 2024-02-03T01:08:49.7922327Z ##[debug]Using node path: D:\BuildAgentMobileWeb\externals\node10\bin\node.exe 2024-02-03T01:08:50.0914018Z ##[debug]agent.TempDirectory=D:\BuildAgentMobileWeb_work_temp 2024-02-03T01:08:50.1001902Z ##[debug]loading inputs and endpoints 2024-02-03T01:08:50.1017092Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN 2024-02-03T01:08:50.1151149Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION 2024-02-03T01:08:50.1154473Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION 2024-02-03T01:08:50.1162318Z ##[debug]loading INPUT_JDKVERSION 2024-02-03T01:08:50.1169488Z ##[debug]loading SECRET_SONARQUBE_ENDPOINT 2024-02-03T01:08:50.1172880Z ##[debug]loading SECRET_SYSTEM_ACCESSTOKEN 2024-02-03T01:08:50.1181115Z ##[debug]loaded 6 2024-02-03T01:08:50.1198569Z ##[debug]Agent.ProxyUrl=undefined 2024-02-03T01:08:50.1199561Z ##[debug]Agent.CAInfo=undefined 2024-02-03T01:08:50.1200377Z ##[debug]Agent.ClientCert=undefined 2024-02-03T01:08:50.1200748Z ##[debug]Agent.SkipCertValidation=undefined 2024-02-03T01:08:50.2094028Z ##[debug]jdkversion=JAVA_HOME_11_X64 2024-02-03T01:08:50.2099141Z ##[debug]SONARQUBE_SCANNER_MODE=CLI 2024-02-03T01:08:50.2099756Z ##[debug]SONARQUBE_SCANNER_MODE=CLI 2024-02-03T01:08:50.2100949Z ##[debug]Trying to resolve JAVA_HOME_11_X64 from environment variables... 2024-02-03T01:08:50.2101628Z ##[debug]JAVA_HOME_11_X64=undefined 2024-02-03T01:08:50.2102215Z ##[debug]No value found for JAVA_HOME_11_X64. 2024-02-03T01:08:50.2104057Z ##[debug]SONARQUBE_SCANNER_PARAMS={"sonar.host.url":"http://localhost:9000","sonar.token":***,"project.settings":"D:\\BuildAgentMobileWeb\\_work\\1\\s\\sonar-project.properties","sonar.branch.name":"R1.0","sonar.scanner.metadataFilePath":"D:\\BuildAgentMobileWeb\\_work\\_temp\\sonar\\2926\\4e2eeef0-bbbe-4ab9-9922-9db86c0db7c2\\report-task.txt"} 2024-02-03T01:08:50.2109869Z ##[debug]Absolute path for pathSegments: D:\BuildAgentMobileWeb_work_tasks\SonarQubeAnalyze_6d01813a-9589-4b15-8491-8164aeb38055\5.19.0,sonar-scanner,bin,sonar-scanner = D:\BuildAgentMobileWeb_work_tasks\SonarQubeAnalyze_6d01813a-9589-4b15-8491-8164aeb38055\5.19.0\sonar-scanner\bin\sonar-scanner 2024-02-03T01:08:50.2113579Z ##[debug]which 'D:\BuildAgentMobileWeb_work_tasks\SonarQubeAnalyze_6d01813a-9589-4b15-8491-8164aeb38055\5.19.0\sonar-scanner\bin\sonar-scanner.bat' 2024-02-03T01:08:50.2126794Z ##[debug]found: 'D:\BuildAgentMobileWeb_work_tasks\SonarQubeAnalyze_6d01813a-9589-4b15-8491-8164aeb38055\5.19.0\sonar-scanner\bin\sonar-scanner.bat' 2024-02-03T01:08:50.2127830Z ##[debug]system.debug=True 2024-02-03T01:08:50.2129814Z ##[debug]exec tool: D:\BuildAgentMobileWeb_work_tasks\SonarQubeAnalyze_6d01813a-9589-4b15-8491-8164aeb38055\5.19.0\sonar-scanner\bin\sonar-scanner.bat 2024-02-03T01:08:50.2130284Z ##[debug]arguments: 2024-02-03T01:08:50.2139223Z [command]C:\Windows\system32\cmd.exe /D /S /C "D:\BuildAgentMobileWeb_work_tasks\SonarQubeAnalyze_6d01813a-9589-4b15-8491-8164aeb38055\5.19.0\sonar-scanner\bin\sonar-scanner.bat" 2024-02-03T01:08:50.6030069Z INFO: Scanner configuration file: D:\BuildAgentMobileWeb_work_tasks\SonarQubeAnalyze_6d01813a-9589-4b15-8491-8164aeb38055\5.19.0\sonar-scanner\bin..\conf\sonar-scanner.properties 2024-02-03T01:08:50.6043217Z INFO: Project root configuration file: D:\BuildAgentMobileWeb_work\1\s\sonar-project.properties 2024-02-03T01:08:50.6504859Z INFO: SonarScanner 4.8.1.3023 2024-02-03T01:08:50.6505152Z INFO: Java 17.0.7 JetBrains s.r.o. (64-bit) 2024-02-03T01:08:50.6506042Z INFO: Windows Server 2016 10.0 amd64 2024-02-03T01:08:50.9885548Z INFO: User cache: C:\Users\azurePipeline.sonar\cache 2024-02-03T01:08:51.3039849Z INFO: Analyzing on SonarQube server 10.3.0.82913 2024-02-03T01:08:51.3040328Z INFO: Default locale: "en_US", source code encoding: "UTF-8" 2024-02-03T01:08:51.8983129Z ##[debug]Agent running environment resource - Disk:D:\ Data available:30606.00MB out of 307196.00MB, Memory: used 25MB out of 8191MB, CPU: usage 1.34 2024-02-03T01:08:52.1832600Z INFO: Load global settings 2024-02-03T01:08:53.6574268Z INFO: Load global settings (done) | time=1476ms 2024-02-03T01:08:53.6608607Z INFO: Server id: 86E1FA4D-AY04i1J3rZ0daJsUwQ5v 2024-02-03T01:08:53.6657962Z INFO: User cache: C:\Users\azurePipeline.sonar\cache 2024-02-03T01:08:53.6693105Z INFO: Load/download plugins 2024-02-03T01:08:53.6693530Z INFO: Load plugins index 2024-02-03T01:08:54.1404819Z INFO: Load plugins index (done) | time=471ms 2024-02-03T01:08:55.0526131Z INFO: Load/download plugins (done) | time=1383ms 2024-02-03T01:08:55.9677904Z INFO: Process project properties 2024-02-03T01:08:55.9857528Z INFO: Process project properties (done) | time=19ms 2024-02-03T01:08:55.9885724Z INFO: Execute project builders 2024-02-03T01:08:55.9902132Z INFO: Execute project builders (done) | time=2ms 2024-02-03T01:08:55.9972767Z INFO: Project key: myapp 2024-02-03T01:08:55.9973818Z INFO: Base dir: D:\BuildAgentMobileWeb_work\1\s 2024-02-03T01:08:55.9974170Z INFO: Working dir: D:\BuildAgentMobileWeb_work\1\s.scannerwork 2024-02-03T01:08:56.0055157Z INFO: Load project settings for component key: 'myapp' 2024-02-03T01:08:56.3712352Z INFO: Load project settings for component key: 'myapp' (done) | time=366ms 2024-02-03T01:08:56.5450157Z INFO: Load project branches 2024-02-03T01:08:56.7578671Z INFO: Load project branches (done) | time=213ms 2024-02-03T01:08:56.7581970Z INFO: Load branch configuration 2024-02-03T01:08:56.7604659Z INFO: Load branch configuration (done) | time=2ms 2024-02-03T01:08:56.8357572Z INFO: Auto-configuring with CI 'Azure DevOps' 2024-02-03T01:08:56.8378926Z INFO: Load quality profiles 2024-02-03T01:08:56.9096492Z ##[debug]Agent running environment resource - Disk:D:\ Data available:30606.00MB out of 307196.00MB, Memory: used 25MB out of 8191MB, CPU: usage 1.33 2024-02-03T01:08:57.3403584Z INFO: Load quality profiles (done) | time=503ms 2024-02-03T01:08:57.3456775Z INFO: Load active rules 2024-02-03T01:09:01.9098847Z ##[debug]Agent running environment resource - Disk:D:\ Data available:30606.00MB out of 307196.00MB, Memory: used 25MB out of 8191MB, CPU: usage 1.31 2024-02-03T01:09:06.7544175Z INFO: Load active rules (done) | time=9408ms 2024-02-03T01:09:06.7600582Z INFO: Load analysis cache 2024-02-03T01:09:06.9109042Z ##[debug]Agent running environment resource - Disk:D:\ Data available:30606.00MB out of 307196.00MB, Memory: used 25MB out of 8191MB, CPU: usage 1.30 2024-02-03T01:09:06.9374526Z INFO: Load analysis cache (404) | time=178ms 2024-02-03T01:09:06.9768999Z INFO: Branch name: R1.0 2024-02-03T01:09:06.9785646Z WARN: The properties 'sonar.login' and 'sonar.password' are deprecated and will be removed in the future. Please pass a token with the 'sonar.token' property instead. 2024-02-03T01:09:06.9967000Z INFO: Load project repositories 2024-02-03T01:09:07.2139106Z INFO: Load project repositories (done) | time=217ms 2024-02-03T01:09:07.2595045Z INFO: Indexing files... 2024-02-03T01:09:07.2602709Z INFO: Project configuration: 2024-02-03T01:09:09.3185595Z INFO: 228 files indexed 2024-02-03T01:09:09.3186001Z INFO: 4 files ignored because of scm ignore settings 2024-02-03T01:09:09.3199451Z INFO: Quality profile for dart: dartanalyzer 2024-02-03T01:09:09.3200390Z INFO: Quality profile for yaml: Sonar way 2024-02-03T01:09:09.3200644Z INFO: ------------- Run sensors on module myapp 2024-02-03T01:09:10.1366027Z INFO: Load metrics repository 2024-02-03T01:09:10.3127674Z INFO: Load metrics repository (done) | time=176ms 2024-02-03T01:09:11.9253275Z ##[debug]Agent running environment resource - Disk:D:\ Data available:30603.00MB out of 307196.00MB, Memory: used 25MB out of 8191MB, CPU: usage 1.29 2024-02-03T01:09:13.0094859Z INFO: Sensor JaCoCo XML Report Importer [jacoco] 2024-02-03T01:09:13.0105289Z INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml 2024-02-03T01:09:13.0114888Z INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer 2024-02-03T01:09:13.0115250Z INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=3ms 2024-02-03T01:09:13.0115519Z INFO: Sensor IaC CloudFormation Sensor [iac] 2024-02-03T01:09:13.0410074Z INFO: 0 source files to be analyzed 2024-02-03T01:09:13.0604081Z INFO: 0/0 source files have been analyzed 2024-02-03T01:09:13.0604370Z INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=48ms 2024-02-03T01:09:13.0604585Z INFO: Sensor IaC Kubernetes Sensor [iac] 2024-02-03T01:09:13.0645455Z INFO: 0 source files to be analyzed 2024-02-03T01:09:13.0677210Z INFO: 0/0 source files have been analyzed 2024-02-03T01:09:13.0678231Z INFO: Sensor IaC Kubernetes Sensor [iac] (done) | time=8ms 2024-02-03T01:09:13.0678813Z INFO: Sensor JavaScript inside YAML analysis [javascript] 2024-02-03T01:09:13.0775206Z INFO: No input files found for analysis 2024-02-03T01:09:13.0776071Z INFO: Hit the cache for 0 out of 0 2024-02-03T01:09:13.0778847Z INFO: Miss the cache for 0 out of 0 2024-02-03T01:09:13.0779429Z INFO: Sensor JavaScript inside YAML analysis [javascript] (done) | time=10ms 2024-02-03T01:09:13.0779858Z INFO: Sensor CSS Rules [javascript] 2024-02-03T01:09:13.0799932Z INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. 2024-02-03T01:09:13.0800406Z INFO: Sensor CSS Rules [javascript] (done) | time=2ms 2024-02-03T01:09:13.0800680Z INFO: Sensor C# Project Type Information [csharp] 2024-02-03T01:09:13.0827376Z INFO: Sensor C# Project Type Information [csharp] (done) | time=2ms 2024-02-03T01:09:13.0827699Z INFO: Sensor C# Analysis Log [csharp] 2024-02-03T01:09:13.1184864Z INFO: Sensor C# Analysis Log [csharp] (done) | time=36ms 2024-02-03T01:09:13.1186550Z INFO: Sensor C# Properties [csharp] 2024-02-03T01:09:13.1187190Z INFO: Sensor C# Properties [csharp] (done) | time=0ms 2024-02-03T01:09:13.1187737Z INFO: Sensor Dart sensor [flutter] 2024-02-03T01:09:15.6560352Z WARN: Duplication reported for 'test/firebase_crashlytic_mock.dart' will be ignored because it's a test file. 2024-02-03T01:09:15.6787170Z WARN: Duplication reported for 'test/modules/eclaims/bloc/claims_event_test.dart' will be ignored because it's a test file. 2024-02-03T01:09:15.7438305Z WARN: Duplication reported for 'test/modules/eclaims/bloc/claims_state_test.dart' will be ignored because it's a test file. 2024-02-03T01:09:15.7773754Z WARN: Duplication reported for 'test/core/authentication/login/models/o_auth_configure_test.dart' will be ignored because it's a test file. 2024-02-03T01:09:15.7812083Z WARN: Duplication reported for 'test/core/location/repository/location_repository_test.dart' will be ignored because it's a test file. 2024-02-03T01:09:15.8056521Z WARN: Duplication reported for 'test/core/location/models/current_location_model_test.dart' will be ignored because it's a test file. 2024-02-03T01:09:15.8081980Z WARN: Duplication reported for 'test/core/location/bloc/location_event_test.dart' will be ignored because it's a test file. 2024-02-03T01:09:15.8611037Z WARN: Duplication reported for 'test/core/location/bloc/location_bloc_test.dart' will be ignored because it's a test file. 2024-02-03T01:09:15.8812557Z WARN: Duplication reported for 'test/modules/eclaims/repository/claims_repository_test.dart' will be ignored because it's a test file. 2024-02-03T01:09:15.8892342Z WARN: Duplication reported for 'test/core/location/repository/countries_list_test.dart' will be ignored because it's a test file. 2024-02-03T01:09:15.9693578Z WARN: Duplication reported for 'test/modules/eclaims/models/completed_claims_test.dart' will be ignored because it's a test file. 2024-02-03T01:09:15.9697865Z WARN: Duplication reported for 'test/core/authentication/login/bloc/login_bloc_test.dart' will be ignored because it's a test file. 2024-02-03T01:09:15.9698754Z WARN: Duplication reported for 'test/core/authentication/login/models/member_info_test.dart' will be ignored because it's a test file. 2024-02-03T01:09:15.9702014Z WARN: Duplication reported for 'test/modules/eclaims/bloc/claims_bloc_test.dart' will be ignored because it's a test file. 2024-02-03T01:09:15.9715944Z WARN: Duplication reported for 'test/core/authentication/login/models/last_logged_user_info_test.dart' will be ignored because it's a test file. 2024-02-03T01:09:15.9995382Z WARN: Duplication reported for 'test/core/authentication/login/repository/login_repository_test.dart' will be ignored because it's a test file. 2024-02-03T01:09:16.0080084Z WARN: Duplication reported for 'test/core/location/repository/location_data_repository_test.dart' will be ignored because it's a test file. 2024-02-03T01:09:16.0328403Z WARN: Duplication reported for 'test/core/authentication/login/utils/biometric_utils_test.dart' will be ignored because it's a test file. 2024-02-03T01:09:16.0612117Z WARN: Duplication reported for 'test/core/authentication/login/bloc/login_event_test.dart' will be ignored because it's a test file. 2024-02-03T01:09:16.1095768Z WARN: Duplication reported for 'test/core/authentication/login/repository/login_data_repository_test.dart' will be ignored because it's a test file. 2024-02-03T01:09:16.1262816Z INFO: Sensor Dart sensor [flutter] (done) | time=3001ms 2024-02-03T01:09:16.1263759Z INFO: Sensor Dart pubspec.yaml sensor [flutter] 2024-02-03T01:09:16.1264057Z INFO: Sensor Dart pubspec.yaml sensor [flutter] (done) | time=2ms 2024-02-03T01:09:16.1264336Z INFO: Sensor Dart analysis sensor [flutter] 2024-02-03T01:09:16.3544655Z INFO: Detected Flutter project with version 1.0.0+2 2024-02-03T01:09:16.3574904Z INFO: Using existing analysis_options.yaml since override is disabled 2024-02-03T01:09:16.3575378Z INFO: Running 'flutter.bat [analyze, --no-fatal-warnings, --no-fatal-infos]' 2024-02-03T01:09:16.9515215Z ##[debug]Agent running environment resource - Disk:D:\ Data available:30603.00MB out of 307196.00MB, Memory: used 25MB out of 8191MB, CPU: usage 1.28 2024-02-03T01:09:21.9595832Z ##[debug]Agent running environment resource - Disk:D:\ Data available:30603.00MB out of 307196.00MB, Memory: used 25MB out of 8191MB, CPU: usage 1.26 2024-02-03T01:09:26.9607928Z ##[debug]Agent running environment resource - Disk:D:\ Data available:30603.00MB out of 307196.00MB, Memory: used 25MB out of 8191MB, CPU: usage 1.25 2024-02-03T01:09:31.9730421Z ##[debug]Agent running environment resource - Disk:D:\ Data available:30603.00MB out of 307196.00MB, Memory: used 25MB out of 8191MB, CPU: usage 1.24 2024-02-03T01:09:37.9523285Z ##[debug]Agent running environment resource - Disk:D:\ Data available:30603.00MB out of 307196.00MB, Memory: used 25MB out of 8191MB, CPU: usage 1.23 2024-02-03T01:09:42.9595406Z ##[debug]Agent running environment resource - Disk:D:\ Data available:30603.00MB out of 307196.00MB, Memory: used 25MB out of 8191MB, CPU: usage 1.22 2024-02-03T01:09:47.9738100Z ##[debug]Agent running environment resource - Disk:D:\ Data available:30603.00MB out of 307196.00MB, Memory: used 25MB out of 8191MB, CPU: usage 1.20 2024-02-03T01:09:52.9751150Z ##[debug]Agent running environment resource - Disk:D:\ Data available:30603.00MB out of 307196.00MB, Memory: used 25MB out of 8191MB, CPU: usage 1.19 2024-02-03T01:09:57.9890311Z ##[debug]Agent running environment resource - Disk:D:\ Data available:30603.00MB out of 307196.00MB, Memory: used 25MB out of 8191MB, CPU: usage 1.18 2024-02-03T01:10:02.9896458Z ##[debug]Agent running environment resource - Disk:D:\ Data available:30603.00MB out of 307196.00MB, Memory: used 25MB out of 8191MB, CPU: usage 1.18 2024-02-03T01:10:08.0028893Z ##[debug]Agent running environment resource - Disk:D:\ Data available:30603.00MB out of 307196.00MB, Memory: used 25MB out of 8191MB, CPU: usage 1.17 2024-02-03T01:10:13.0181445Z ##[debug]Agent running environment resource - Disk:D:\ Data available:30603.00MB out of 307196.00MB, Memory: used 25MB out of 8191MB, CPU: usage 1.15 2024-02-03T01:10:18.0234208Z ##[debug]Agent running environment resource - Disk:D:\ Data available:30603.00MB out of 307196.00MB, Memory: used 25MB out of 8191MB, CPU: usage 1.14 2024-02-03T01:10:21.0946603Z INFO: Command 'flutter.bat analyze --no-fatal-warnings --no-fatal-infos' finished (exit 0) 2024-02-03T01:10:21.0974120Z INFO: Recording 11 issues 2024-02-03T01:10:21.1369245Z INFO: Sensor Dart analysis sensor [flutter] (done) | time=65016ms 2024-02-03T01:10:21.1370374Z INFO: Sensor Flutter unit tests [flutter] 2024-02-03T01:10:21.1379523Z WARN: Test report file D:\BuildAgentMobileWeb_work\1\s\tests.output not found 2024-02-03T01:10:21.1382417Z INFO: Sensor Flutter unit tests [flutter] (done) | time=1ms 2024-02-03T01:10:21.1383526Z INFO: Sensor Flutter Coverage [flutter] 2024-02-03T01:10:21.1388868Z INFO: Analysing [D:\BuildAgentMobileWeb_work\1\s\coverage\lcov.info] 2024-02-03T01:10:21.3607635Z WARN: Could not resolve 4 file paths in [D:\BuildAgentMobileWeb_work\1\s\coverage\lcov.info] 2024-02-03T01:10:21.3613286Z WARN: First unresolved path: lib\core\authentication\login\models\last_logged_user_info.g.dart (Run in DEBUG mode to get full list of unresolved paths) 2024-02-03T01:10:21.3613673Z INFO: Sensor Flutter Coverage [flutter] (done) | time=223ms 2024-02-03T01:10:21.3613878Z INFO: Sensor HTML [web] 2024-02-03T01:10:21.3653369Z INFO: Sensor HTML [web] (done) | time=4ms 2024-02-03T01:10:21.3653834Z INFO: Sensor TextAndSecretsSensor [text] 2024-02-03T01:10:21.8890920Z INFO: 228 source files to be analyzed 2024-02-03T01:10:23.0336310Z ##[debug]Agent running environment resource - Disk:D:\ Data available:30602.00MB out of 307196.00MB, Memory: used 25MB out of 8191MB, CPU: usage 1.14 2024-02-03T01:10:23.6332800Z INFO: 228/228 source files have been analyzed 2024-02-03T01:10:23.6333464Z INFO: Sensor TextAndSecretsSensor [text] (done) | time=2268ms 2024-02-03T01:10:23.6333832Z INFO: Sensor VB.NET Project Type Information [vbnet] 2024-02-03T01:10:23.6344589Z INFO: Sensor VB.NET Project Type Information [vbnet] (done) | time=1ms 2024-02-03T01:10:23.6345092Z INFO: Sensor VB.NET Analysis Log [vbnet] 2024-02-03T01:10:23.6655021Z INFO: Sensor VB.NET Analysis Log [vbnet] (done) | time=31ms 2024-02-03T01:10:23.6655437Z INFO: Sensor VB.NET Properties [vbnet] 2024-02-03T01:10:23.6655671Z INFO: Sensor VB.NET Properties [vbnet] (done) | time=1ms 2024-02-03T01:10:23.6655916Z INFO: Sensor com.github.mc1arke.sonarqube.plugin.scanner.ScannerPullRequestPropertySensor 2024-02-03T01:10:23.6662631Z INFO: Sensor com.github.mc1arke.sonarqube.plugin.scanner.ScannerPullRequestPropertySensor (done) | time=0ms 2024-02-03T01:10:23.6663364Z INFO: Sensor IaC Docker Sensor [iac] 2024-02-03T01:10:23.6685691Z INFO: 0 source files to be analyzed 2024-02-03T01:10:23.7458354Z INFO: 0/0 source files have been analyzed 2024-02-03T01:10:23.7460920Z INFO: Sensor IaC Docker Sensor [iac] (done) | time=80ms 2024-02-03T01:10:23.7531209Z INFO: ------------- Run sensors on project 2024-02-03T01:10:23.8255613Z INFO: Sensor Analysis Warnings import [csharp] 2024-02-03T01:10:23.8262651Z INFO: Sensor Analysis Warnings import [csharp] (done) | time=1ms 2024-02-03T01:10:23.8265007Z INFO: Sensor Zero Coverage Sensor 2024-02-03T01:10:23.8293707Z INFO: Sensor Zero Coverage Sensor (done) | time=3ms 2024-02-03T01:10:24.0698317Z INFO: SCM Publisher SCM provider for this project is: git 2024-02-03T01:10:24.0712730Z INFO: SCM Publisher 1 source file to be analyzed 2024-02-03T01:10:24.0753747Z WARN: Shallow clone detected, no blame information will be provided. You can convert to non-shallow with 'git fetch --unshallow'. 2024-02-03T01:10:24.0790624Z INFO: SCM Publisher 0/1 source files have been analyzed (done) | time=6ms 2024-02-03T01:10:24.0790932Z WARN: Missing blame information for the following files: 2024-02-03T01:10:24.0791108Z WARN: * pubspec.yaml 2024-02-03T01:10:24.0791313Z WARN: This may lead to missing/broken features in SonarQube 2024-02-03T01:10:24.0988597Z INFO: CPD Executor 54 files had no CPD blocks 2024-02-03T01:10:24.0989335Z INFO: CPD Executor Calculating CPD for 153 files 2024-02-03T01:10:24.3106519Z INFO: CPD Executor CPD calculation finished (done) | time=211ms 2024-02-03T01:10:25.0603722Z INFO: Load New Code definition 2024-02-03T01:10:25.2392305Z INFO: Load New Code definition (done) | time=179ms 2024-02-03T01:10:28.0359028Z ##[debug]Agent running environment resource - Disk:D:\ Data available:30601.00MB out of 307196.00MB, Memory: used 25MB out of 8191MB, CPU: usage 1.13 2024-02-03T01:10:30.8272625Z INFO: Analysis report generated in 930ms, dir size=1.1 MB 2024-02-03T01:10:32.6787423Z INFO: Analysis report compressed in 1839ms, zip size=471.9 kB 2024-02-03T01:10:33.0500866Z ##[debug]Agent running environment resource - Disk:D:\ Data available:30601.00MB out of 307196.00MB, Memory: used 25MB out of 8191MB, CPU: usage 1.12 2024-02-03T01:10:33.6764926Z INFO: ------------------------------------------------------------------------ 2024-02-03T01:10:33.6765356Z INFO: EXECUTION FAILURE 2024-02-03T01:10:33.6766158Z INFO: ------------------------------------------------------------------------ 2024-02-03T01:10:33.6770224Z INFO: Total time: 1:43.094s 2024-02-03T01:10:33.7521998Z INFO: Final Memory: 42M/147M 2024-02-03T01:10:33.7522849Z INFO: ------------------------------------------------------------------------ 2024-02-03T01:10:33.7580556Z ##[error]ERROR: Error during SonarScanner execution java.lang.IllegalStateException: Failed to upload report: Error 500 on http://localhost:9000/api/ce/submit?projectKey=myapp&projectName=myapp&characteristic=branch%3DR1.0&characteristic=branchType%3DBRANCH : {"errors":[{"msg":"Current edition does not support branch feature"}]} at org.sonar.scanner.report.ReportPublisher.upload(ReportPublisher.java:239) at org.sonar.scanner.report.ReportPublisher.execute(ReportPublisher.java:163) at org.sonar.scanner.scan.SpringProjectScanContainer.doAfterStart(SpringProjectScanContainer.java:371) at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:201) at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:180) at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:139) at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:201) at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:180) at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:71) at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:65) at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60) at jdk.proxy1/jdk.proxy1.$Proxy0.execute(Unknown Source) at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189) at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138) at org.sonarsource.scanner.cli.Main.execute(Main.java:126) at org.sonarsource.scanner.cli.Main.execute(Main.java:81) at org.sonarsource.scanner.cli.Main.main(Main.java:62) Caused by: org.sonarqube.ws.client.HttpException: Error 500 on http://localhost:9000/api/ce/submit?projectKey=myapp&projectName=myapp&characteristic=branch%3DR1.0&characteristic=branchType%3DBRANCH : {"errors":[{"msg":"Current edition does not support branch feature"}]} at org.sonarqube.ws.client.BaseResponse.failIfNotSuccessful(BaseResponse.java:36) at org.sonar.scanner.bootstrap.DefaultScannerWsClient.failIfUnauthorized(DefaultScannerWsClient.java:131) at org.sonar.scanner.bootstrap.DefaultScannerWsClient.call(DefaultScannerWsClient.java:90) at org.sonar.scanner.report.ReportPublisher.upload(ReportPublisher.java:237) ... 21 more ERROR: ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. 2024-02-03T01:10:33.7606005Z ##[debug]Processed: ##vso[task.logissue type=error;]ERROR: Error during SonarScanner execution java.lang.IllegalStateException: Failed to upload report: Error 500 on http://localhost:9000/api/ce/submit?projectKey=myapp&projectName=myapp&characteristic=branch%3DR1.0&characteristic=branchType%3DBRANCH : {"errors":[{"msg":"Current edition does not support branch feature"}]} at org.sonar.scanner.report.ReportPublisher.upload(ReportPublisher.java:239) at org.sonar.scanner.report.ReportPublisher.execute(ReportPublisher.java:163) at org.sonar.scanner.scan.SpringProjectScanContainer.doAfterStart(SpringProjectScanContainer.java:371) at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:201) at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:180) at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:139) at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:201) at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:180) at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:71) at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:65) at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60) at jdk.proxy1/jdk.proxy1.$Proxy0.execute(Unknown Source) at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189) at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138) at org.sonarsource.scanner.cli.Main.execute(Main.java:126) at org.sonarsource.scanner.cli.Main.execute(Main.java:81) at org.sonarsource.scanner.cli.Main.main(Main.java:62) Caused by: org.sonarqube.ws.client.HttpException: Error 500 on http://localhost:9000/api/ce/submit?projectKey=myapp&projectName=myapp&characteristic=branch%3DR1.0&characteristic=branchType%3DBRANCH : {"errors":[{"msg":"Current edition does not support branch feature"}]} at org.sonarqube.ws.client.BaseResponse.failIfNotSuccessful(BaseResponse.java:36) at org.sonar.scanner.bootstrap.DefaultScannerWsClient.failIfUnauthorized(DefaultScannerWsClient.java:131) at org.sonar.scanner.bootstrap.DefaultScannerWsClient.call(DefaultScannerWsClient.java:90) at org.sonar.scanner.report.ReportPublisher.upload(ReportPublisher.java:237) ... 21 more ERROR: ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. 2024-02-03T01:10:33.7611279Z ERROR: Error during SonarScanner execution 2024-02-03T01:10:33.7611738Z java.lang.IllegalStateException: Failed to upload report: Error 500 on http://localhost:9000/api/ce/submit?projectKey=myapp&projectName=myapp&characteristic=branch%3DR1.0&characteristic=branchType%3DBRANCH : {"errors":[{"msg":"Current edition does not support branch feature"}]} 2024-02-03T01:10:33.7612246Z at org.sonar.scanner.report.ReportPublisher.upload(ReportPublisher.java:239) 2024-02-03T01:10:33.7612613Z at org.sonar.scanner.report.ReportPublisher.execute(ReportPublisher.java:163) 2024-02-03T01:10:33.7612965Z at org.sonar.scanner.scan.SpringProjectScanContainer.doAfterStart(SpringProjectScanContainer.java:371) 2024-02-03T01:10:33.7613331Z at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:201) 2024-02-03T01:10:33.7613771Z at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:180) 2024-02-03T01:10:33.7614148Z at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:139) 2024-02-03T01:10:33.7614504Z at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:201) 2024-02-03T01:10:33.7614871Z at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:180) 2024-02-03T01:10:33.7615233Z at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:71) 2024-02-03T01:10:33.7615496Z at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:65) 2024-02-03T01:10:33.7615834Z at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46) 2024-02-03T01:10:33.7616147Z at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2024-02-03T01:10:33.7616513Z at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) 2024-02-03T01:10:33.7616948Z at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2024-02-03T01:10:33.7617261Z at java.base/java.lang.reflect.Method.invoke(Method.java:568) 2024-02-03T01:10:33.7617583Z at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60) 2024-02-03T01:10:33.7618038Z at jdk.proxy1/jdk.proxy1.$Proxy0.execute(Unknown Source) 2024-02-03T01:10:33.7618317Z at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189) 2024-02-03T01:10:33.7618654Z at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138) 2024-02-03T01:10:33.7619020Z at org.sonarsource.scanner.cli.Main.execute(Main.java:126) 2024-02-03T01:10:33.7619279Z at org.sonarsource.scanner.cli.Main.execute(Main.java:81) 2024-02-03T01:10:33.7619964Z at org.sonarsource.scanner.cli.Main.main(Main.java:62) 2024-02-03T01:10:33.7620462Z Caused by: org.sonarqube.ws.client.HttpException: Error 500 on http://localhost:9000/api/ce/submit?projectKey=myapp&projectName=myapp&characteristic=branch%3DR1.0&characteristic=branchType%3DBRANCH : {"errors":[{"msg":"Current edition does not support branch feature"}]} 2024-02-03T01:10:33.7620936Z at org.sonarqube.ws.client.BaseResponse.failIfNotSuccessful(BaseResponse.java:36) 2024-02-03T01:10:33.7621322Z at org.sonar.scanner.bootstrap.DefaultScannerWsClient.failIfUnauthorized(DefaultScannerWsClient.java:131) 2024-02-03T01:10:33.7621713Z at org.sonar.scanner.bootstrap.DefaultScannerWsClient.call(DefaultScannerWsClient.java:90) 2024-02-03T01:10:33.7622031Z at org.sonar.scanner.report.ReportPublisher.upload(ReportPublisher.java:237) 2024-02-03T01:10:33.7622261Z ... 21 more 2024-02-03T01:10:33.7622500Z ERROR: 2024-02-03T01:10:33.7622686Z ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. 2024-02-03T01:10:34.1695797Z ##[debug]Exit code 1 received from tool 'D:\BuildAgentMobileWeb_work_tasks\SonarQubeAnalyze_6d01813a-9589-4b15-8491-8164aeb38055\5.19.0\sonar-scanner\bin\sonar-scanner.bat' 2024-02-03T01:10:34.1701178Z ##[debug]STDIO streams have closed for tool 'D:\BuildAgentMobileWeb_work_tasks\SonarQubeAnalyze_6d01813a-9589-4b15-8491-8164aeb38055\5.19.0\sonar-scanner\bin\sonar-scanner.bat' 2024-02-03T01:10:34.1786289Z ##[debug]task result: Failed 2024-02-03T01:10:34.1787467Z ##[error]The process 'D:\BuildAgentMobileWeb_work_tasks\SonarQubeAnalyze_6d01813a-9589-4b15-8491-8164aeb38055\5.19.0\sonar-scanner\bin\sonar-scanner.bat' failed with exit code 1 2024-02-03T01:10:34.1788219Z ##[debug]Processed: ##vso[task.issue type=error;]The process 'D:\BuildAgentMobileWeb_work_tasks\SonarQubeAnalyze_6d01813a-9589-4b15-8491-8164aeb38055\5.19.0\sonar-scanner\bin\sonar-scanner.bat' failed with exit code 1 2024-02-03T01:10:34.1789221Z ##[debug]Processed: ##vso[task.complete result=Failed;]The process 'D:\BuildAgentMobileWeb_work_tasks\SonarQubeAnalyze_6d01813a-9589-4b15-8491-8164aeb38055\5.19.0\sonar-scanner\bin\sonar-scanner.bat' failed with exit code 1 2024-02-03T01:10:34.1865541Z ##[section]Finishing: Run analyze