Azure Functions project fails analysis

Hi
Does anyone know why the issue does not seem to be resolved yet - more than one year later.
Log INFO level when source generated projects don't have valid GUIDs · Issue #1899 · SonarSource/sonar-scanner-msbuild · GitHub is still in merge and has conflicts.

I’m switcing to use sln files for our dotnet solutions (functionapp as part of a monorepo) and as soon as i do this im met with:

##[error]/home/vsts/work/1/.sonarqube/bin/targets/SonarQube.Integration.targets(373,5): Error : The project does not have a valid ProjectGuid. Analysis results for this project will not be uploaded. Project file: /home/vsts/work/1/s/src/OBFUSCATED/obj/Release/net8.0/WorkerExtensions/WorkerExtensions.csproj

It works I we define the individual csproj files to build, but since they customer is moving to a monorepo it is a lot simpler to just use a sln file instead.

So is there an actual fix from SonarCloud on its way or do i need to hack my way thru?

Info about the system:

  • Azure Devops
  • Sonarcloud extensions
  • SonarCloudPrepare@2 >> SonarCloudScannerMode = MSBuild, MsbuildVersion = 6.2.0.85879
  • SonarCloudAnalyze@2 >> jdkversion = JAVA_HOME_21_X64
  • Building code: DotNetCoreCLI@2 >> cmd = build. Scope is solutionfile

DotNet info:
.NET 8
“Microsoft.Azure.Functions.Worker.Sdk” Version=“1.17.4”

Hello @tlogik

I created a new topic because according to our FAQ:

If the thread is older than 2 months, you should create a new thread that includes all your own details. A lot can change in 2 months, and simply “me too”-ing on an old thread doesn’t help anyone help you. But do reference any existing threads that seem relevant.

Please give us the following version information:

  • what is the version of the Scanner for .NET (MSBuild) that you are using?
  • what version of MSBuild are you using?
  • what version of Microsoft.Azure.Functions.Worker.Sdk are you using?

And we’ll need the logs:

  • please give us the verbose output of the scanner commands (please run SonarScanner.MSBuild.exe begin /k:“MyProject” /d:sonar.verbose=true as the begin step, and please attach the output of the BEGIN and END steps)
  • please give the output of running MSBuild in verbose mode (/v:d)

Also, please tell us:

  • what are the commands you are running to do the analysis?
  • are you running all commands from the same folder?

Most likely the issue you have is related to Project base path detection is wrong for Azure Functions projects · Issue #1309 · SonarSource/sonar-scanner-msbuild · GitHub rather than the issue that you mentioned, and my colleague Mary said there

After updating the version of the Microsoft.Azure.Functions.Worker.Sdk to 1.17.3, it seems that the autogenerated code is now created in the root project directory ( in my test, it was Project\obj\Debug\net6.0\WorkerExtensions).

Hi @Andrei_Epure

I have updated the original post with more info as it was anemic :frowning:

I’m unsure how you want me to gather logs etc. from azure devops in the manner you describe.

I can run the pipelines in diagnostic mode and thus retrieve much more data that can be provided.
Is that sufficient.

If it was not clear prior we are using SonarCloud and SonarCloud extenisons for Azure Devops Yaml Pipelines. (is part of the updated post)

Please let me know if the above is sufficient

LOGs from Azure Devops below:

SonarCloudPrepare@2

2024-09-03T12:24:42.3015259Z ##[debug]Evaluating condition for step: 'Sonarcloud Setup for analysis of the codebase'
2024-09-03T12:24:42.3018907Z ##[debug]Evaluating: and(succeeded(), eq('False', 'false'), eq('False', 'false'))
2024-09-03T12:24:42.3019248Z ##[debug]Evaluating and:
2024-09-03T12:24:42.3027331Z ##[debug]..Evaluating succeeded:
2024-09-03T12:24:42.3028150Z ##[debug]..=> True
2024-09-03T12:24:42.3028385Z ##[debug]..Evaluating eq:
2024-09-03T12:24:42.3029828Z ##[debug]....Evaluating String:
2024-09-03T12:24:42.3030407Z ##[debug]....=> 'False'
2024-09-03T12:24:42.3030814Z ##[debug]....Evaluating String:
2024-09-03T12:24:42.3030974Z ##[debug]....=> 'false'
2024-09-03T12:24:42.3035977Z ##[debug]..=> True
2024-09-03T12:24:42.3036460Z ##[debug]..Evaluating eq:
2024-09-03T12:24:42.3036619Z ##[debug]....Evaluating String:
2024-09-03T12:24:42.3036774Z ##[debug]....=> 'False'
2024-09-03T12:24:42.3036903Z ##[debug]....Evaluating String:
2024-09-03T12:24:42.3037041Z ##[debug]....=> 'false'
2024-09-03T12:24:42.3037165Z ##[debug]..=> True
2024-09-03T12:24:42.3037415Z ##[debug]=> True
2024-09-03T12:24:42.3039087Z ##[debug]Expanded: and(True, eq('False', 'false'), eq('False', 'false'))
2024-09-03T12:24:42.3039313Z ##[debug]Result: True
2024-09-03T12:24:42.3039619Z ##[section]Starting: Sonarcloud Setup for analysis of the codebase
2024-09-03T12:24:42.3047109Z ==============================================================================
2024-09-03T12:24:42.3047617Z Task         : Prepare Analysis Configuration
2024-09-03T12:24:42.3047698Z Description  : Prepare SonarCloud analysis configuration
2024-09-03T12:24:42.3047780Z Version      : 2.3.2
2024-09-03T12:24:42.3047843Z Author       : sonarsource
2024-09-03T12:24:42.3047937Z Help         : [More Information](https://docs.sonarcloud.io/advanced-setup/ci-based-analysis/sonarcloud-extension-for-azure-devops/)
2024-09-03T12:24:42.3048227Z ==============================================================================
2024-09-03T12:24:42.3398244Z ##[debug]Using node path: /home/vsts/agents/3.243.1/externals/node16/bin/node
2024-09-03T12:24:42.6404923Z ##[debug]agent.TempDirectory=/home/vsts/work/_temp
2024-09-03T12:24:42.6416761Z ##[debug]loading inputs and endpoints
2024-09-03T12:24:42.6421524Z ##[debug]loading INPUT_SONARCLOUD
2024-09-03T12:24:42.6435200Z ##[debug]loading INPUT_ORGANIZATION
2024-09-03T12:24:42.6436412Z ##[debug]loading INPUT_SCANNERMODE
2024-09-03T12:24:42.6438187Z ##[debug]loading INPUT_MSBUILDVERSION
2024-09-03T12:24:42.6439863Z ##[debug]loading INPUT_CONFIGMODE
2024-09-03T12:24:42.6441626Z ##[debug]loading INPUT_CONFIGFILE
2024-09-03T12:24:42.6445755Z ##[debug]loading INPUT_PROJECTKEY
2024-09-03T12:24:42.6449543Z ##[debug]loading INPUT_PROJECTNAME
2024-09-03T12:24:42.6452406Z ##[debug]loading INPUT_CLIPROJECTVERSION
2024-09-03T12:24:42.6455205Z ##[debug]loading INPUT_PROJECTVERSION
2024-09-03T12:24:42.6472984Z ##[debug]loading INPUT_CLISOURCES
2024-09-03T12:24:42.6476075Z ##[debug]loading INPUT_EXTRAPROPERTIES
2024-09-03T12:24:42.6478940Z ##[debug]loading ENDPOINT_AUTH_11ff0a28-b851-4359-a95b-7a82743dc58a
2024-09-03T12:24:42.6481998Z ##[debug]loading ENDPOINT_AUTH_SCHEME_11ff0a28-b851-4359-a95b-7a82743dc58a
2024-09-03T12:24:42.6483294Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_11ff0a28-b851-4359-a95b-7a82743dc58a_APITOKEN
2024-09-03T12:24:42.6486456Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2024-09-03T12:24:42.6487852Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2024-09-03T12:24:42.6489265Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2024-09-03T12:24:42.6493071Z ##[debug]loading SECRET_SYSTEM_ACCESSTOKEN
2024-09-03T12:24:42.6494236Z ##[debug]loaded 19
2024-09-03T12:24:42.6499009Z ##[debug]Agent.ProxyUrl=undefined
2024-09-03T12:24:42.6499691Z ##[debug]Agent.CAInfo=undefined
2024-09-03T12:24:42.6500962Z ##[debug]Agent.ClientCert=undefined
2024-09-03T12:24:42.6501269Z ##[debug]Agent.SkipCertValidation=undefined
2024-09-03T12:24:42.6703434Z ##[debug]Agent.ProxyUrl=undefined
2024-09-03T12:24:42.6703741Z ##[debug]Agent.CAInfo=undefined
2024-09-03T12:24:42.6706813Z ##[debug]Agent.ClientCert=undefined
2024-09-03T12:24:42.6707307Z ##[debug]check path : /home/vsts/work/_tasks/SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255/2.3.2/lib.json
2024-09-03T12:24:42.6707905Z ##[debug]adding resource file: /home/vsts/work/_tasks/SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255/2.3.2/lib.json
2024-09-03T12:24:42.6708228Z ##[debug]system.culture=en-US
2024-09-03T12:24:42.7313471Z ##[debug]SonarCloud=11ff0a28-b851-4359-a95b-7a82743dc58a
2024-09-03T12:24:42.7313931Z ##[debug]11ff0a28-b851-4359-a95b-7a82743dc58a=https://sonarcloud.io/
2024-09-03T12:24:42.7314738Z ##[debug]11ff0a28-b851-4359-a95b-7a82743dc58a auth param apitoken = ***
2024-09-03T12:24:42.7318731Z ##[debug]11ff0a28-b851-4359-a95b-7a82743dc58a auth param username = undefined
2024-09-03T12:24:42.7319544Z ##[debug]11ff0a28-b851-4359-a95b-7a82743dc58a auth param password = undefined
2024-09-03T12:24:42.7324038Z ##[debug]organization=OBFUSCATED_ORGANIZATION
2024-09-03T12:24:42.7366600Z ##[debug]scannerMode=MSBuild
2024-09-03T12:24:42.7369621Z ##[debug]projectKey=OBFUSCATED
2024-09-03T12:24:42.7375222Z ##[debug]projectName=OBFUSCATED_PROJECTNAME
2024-09-03T12:24:42.7375511Z ##[debug]projectVersion=1.0
2024-09-03T12:24:42.7377742Z ##[debug]organization=OBFUSCATED_ORGANIZATION
2024-09-03T12:24:42.7378107Z ##[debug][SQ] API GET: '/api/server/version' with full URL "https://sonarcloud.io/api/server/version" and query "undefined"
2024-09-03T12:24:42.7405592Z ##[debug]Not using a proxy agent
2024-09-03T12:24:42.8996103Z ##[debug][SQ] Server version: 8.0.0.56422
2024-09-03T12:24:42.9000890Z ##[debug]System.TeamFoundationCollectionUri=https://dev.azure.com/OBFUSCATED_ORGANIZATION/
2024-09-03T12:24:42.9001190Z ##[debug]Build.Repository.Provider=TfsGit
2024-09-03T12:24:42.9001456Z ##[debug]System.PullRequest.PullRequestId=undefined
2024-09-03T12:24:42.9001773Z ##[debug]System.TeamFoundationCollectionUri=https://dev.azure.com/OBFUSCATED_ORGANIZATION/
2024-09-03T12:24:42.9002070Z ##[debug]Build.Repository.Provider=TfsGit
2024-09-03T12:24:42.9002329Z ##[debug]Build.SourceBranch=refs/heads/main
2024-09-03T12:24:42.9003748Z ##[debug]SYSTEMVSSCONNECTION exists true
2024-09-03T12:24:43.2028974Z ##[debug]Build.Repository.Name=impact-citemplating-monorepo-tests
2024-09-03T12:24:43.2030082Z ##[debug]System.TeamProject=OBFUSCATED
2024-09-03T12:24:43.4183928Z ##[debug]Default branch of this repository is 'refs/heads/main'
2024-09-03T12:24:43.4184348Z ##[debug]SonarCloud or SonarQube version >= 7.2.0 detected, setting report-task.txt file to its newest location.
2024-09-03T12:24:43.4184653Z ##[debug]Agent.TempDirectory=/home/vsts/work/_temp
2024-09-03T12:24:43.4184905Z ##[debug]Build.BuildId=56909
2024-09-03T12:24:43.4185958Z ##[debug][SQ] Branch and PR parameters: {"sonar.scanner.metadataFilePath":"/home/vsts/work/_temp/sonar/56909/d155b4d9-8019-49a9-13df-ee84a73b0947/report-task.txt"}
2024-09-03T12:24:43.4189817Z ##[debug]extraProperties=sonar.cs.opencover.reportsPaths=/home/vsts/work/_temp/**/coverage.opencover.xml
sonar.scanner.metadataFilePath=/home/vsts/work/_temp/sonar/main20240903.1/report-task.txt
2024-09-03T12:24:43.4192888Z ##[debug]set SONAR_SERVER_VERSION=8.0.0
2024-09-03T12:24:43.4216845Z ##[debug]Processed: ##vso[task.setvariable variable=SONAR_SERVER_VERSION;isOutput=false;issecret=false;]8.0.0
2024-09-03T12:24:43.4217462Z ##[debug]set SONAR_SCANNER_MODE=MSBuild
2024-09-03T12:24:43.4218460Z ##[debug]Processed: ##vso[task.setvariable variable=SONAR_SCANNER_MODE;isOutput=false;issecret=false;]MSBuild
2024-09-03T12:24:43.4218999Z ##[debug]set SONAR_SCANNER_REPORTTASKFILE=/home/vsts/work/_temp/sonar/main20240903.1/report-task.txt
2024-09-03T12:24:43.4220191Z ##[debug]Processed: ##vso[task.setvariable variable=SONAR_SCANNER_REPORTTASKFILE;isOutput=false;issecret=false;]/home/vsts/work/_temp/sonar/main20240903.1/report-task.txt
2024-09-03T12:24:43.4221446Z ##[debug]set SONAR_ENDPOINT=********
2024-09-03T12:24:43.4228573Z ##[debug]Processed: ##vso[task.setvariable variable=SONAR_ENDPOINT;isOutput=false;issecret=true;]***
2024-09-03T12:24:43.4229563Z ##[debug]extraProperties=sonar.cs.opencover.reportsPaths=/home/vsts/work/_temp/**/coverage.opencover.xml
sonar.scanner.metadataFilePath=/home/vsts/work/_temp/sonar/main20240903.1/report-task.txt
2024-09-03T12:24:43.4229987Z ##[debug]set SONAR_SCANNER_MODE=MSBuild
2024-09-03T12:24:43.4232679Z ##[debug]Processed: ##vso[task.setvariable variable=SONAR_SCANNER_MODE;isOutput=false;issecret=false;]MSBuild
2024-09-03T12:24:43.4233106Z ##[debug]set SONAR_ENDPOINT=********
2024-09-03T12:24:43.4234285Z ##[debug]Processed: ##vso[task.setvariable variable=SONAR_ENDPOINT;isOutput=false;issecret=true;]***
2024-09-03T12:24:43.4234974Z ##[debug]set SONARQUBE_SCANNER_PARAMS={"sonar.host.url":"https://sonarcloud.io","sonar.token":***,"sonar.organization":"OBFUSCATED_ORGANIZATION","sonar.projectKey":"OBFUSCATED_PROJECTKEY","sonar.projectName":"OBFUSCATED_PROJECTNAME","sonar.projectVersion":"1.0","sonar.scanner.metadataFilePath":"/home/vsts/work/_temp/sonar/main20240903.1/report-task.txt","sonar.cs.opencover.reportsPaths":"/home/vsts/work/_temp/**/coverage.opencover.xml"}
2024-09-03T12:24:43.4236559Z ##[debug]Processed: ##vso[task.setvariable variable=SONARQUBE_SCANNER_PARAMS;isOutput=false;issecret=false;]{"sonar.host.url":"https://sonarcloud.io","sonar.token":***,"sonar.organization":"OBFUSCATED_ORGANIZATION","sonar.projectKey":"OBFUSCATED_PROJECTKEY","sonar.projectName":"OBFUSCATED_PROJECTNAME","sonar.projectVersion":"1.0","sonar.scanner.metadataFilePath":"/home/vsts/work/_temp/sonar/main20240903.1/report-task.txt","sonar.cs.opencover.reportsPaths":"/home/vsts/work/_temp/**/coverage.opencover.xml"}
2024-09-03T12:24:43.4237178Z ##[debug]msBuildVersion=6.2.0.85879
2024-09-03T12:24:43.4237532Z ##[debug]Downloading scanner from https://github.com/SonarSource/sonar-scanner-msbuild/releases/download/6.2.0.85879/sonar-scanner-6.2.0.85879-net.zip
2024-09-03T12:24:43.4241063Z ##[debug]
2024-09-03T12:24:43.4241324Z ##[debug]Agent.Version=3.243.1
2024-09-03T12:24:43.4241601Z ##[debug]Agent.TempDirectory=/home/vsts/work/_temp
2024-09-03T12:24:43.4241871Z ##[debug]testing directory '/home/vsts/work/_temp'
2024-09-03T12:24:43.4242425Z Downloading: https://github.com/SonarSource/sonar-scanner-msbuild/releases/download/6.2.0.85879/sonar-scanner-6.2.0.85879-net.zip
2024-09-03T12:24:43.4242753Z ##[debug]destination /home/vsts/work/_temp/59deea7d-db9c-48c3-a459-8dbf8aace93c
2024-09-03T12:24:43.4243029Z ##[debug]downloading
2024-09-03T12:24:43.9497864Z ##[debug]Content-Length of downloaded file: 1243565
2024-09-03T12:24:43.9498240Z ##[debug]creating stream
2024-09-03T12:24:44.0044387Z ##[debug]download complete
2024-09-03T12:24:44.0044789Z ##[debug]Downloaded file size: 1243565 bytes
2024-09-03T12:24:44.0045663Z ##[debug]Downloaded: https://github.com/SonarSource/sonar-scanner-msbuild/releases/download/6.2.0.85879/sonar-scanner-6.2.0.85879-net.zip file to /home/vsts/work/_temp/59deea7d-db9c-48c3-a459-8dbf8aace93c
2024-09-03T12:24:44.0046414Z ##[debug]Extracting /home/vsts/work/_temp/59deea7d-db9c-48c3-a459-8dbf8aace93c
2024-09-03T12:24:44.0046907Z Extracting archive
2024-09-03T12:24:44.0047730Z ##[debug]Agent.Version=3.243.1
2024-09-03T12:24:44.0048014Z ##[debug]Agent.TempDirectory=/home/vsts/work/_temp
2024-09-03T12:24:44.0048958Z ##[debug]testing directory '/home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe'
2024-09-03T12:24:44.0050326Z ##[debug]testing directory '/home/vsts/work/_temp'
2024-09-03T12:24:44.0050895Z ##[debug]mkdir '/home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe'
2024-09-03T12:24:44.0056175Z ##[debug]which 'unzip'
2024-09-03T12:24:44.0066365Z ##[debug]found: '/usr/bin/unzip'
2024-09-03T12:24:44.0066725Z ##[debug]/usr/bin/unzip arg: /home/vsts/work/_temp/59deea7d-db9c-48c3-a459-8dbf8aace93c
2024-09-03T12:24:44.0068985Z ##[debug]exec tool: /usr/bin/unzip
2024-09-03T12:24:44.0069252Z ##[debug]arguments:
2024-09-03T12:24:44.0069539Z ##[debug]   /home/vsts/work/_temp/59deea7d-db9c-48c3-a459-8dbf8aace93c
2024-09-03T12:24:44.0073097Z [command]/usr/bin/unzip /home/vsts/work/_temp/59deea7d-db9c-48c3-a459-8dbf8aace93c
2024-09-03T12:24:44.0151435Z Archive:  /home/vsts/work/_temp/59deea7d-db9c-48c3-a459-8dbf8aace93c
2024-09-03T12:24:44.0161601Z   inflating: sonar-scanner-5.0.1.3006/bin/sonar-scanner  
2024-09-03T12:24:44.0164621Z   inflating: sonar-scanner-5.0.1.3006/bin/sonar-scanner-debug  
2024-09-03T12:24:44.0168772Z   inflating: sonar-scanner-5.0.1.3006/bin/sonar-scanner-debug.bat  
2024-09-03T12:24:44.0173565Z   inflating: sonar-scanner-5.0.1.3006/bin/sonar-scanner.bat  
2024-09-03T12:24:44.0178231Z   inflating: sonar-scanner-5.0.1.3006/conf/sonar-scanner.properties  
2024-09-03T12:24:44.0230074Z   inflating: sonar-scanner-5.0.1.3006/lib/sonar-scanner-cli-5.0.1.3006.jar  
2024-09-03T12:24:44.0232543Z   inflating: Targets/SonarQube.Integration.ImportBefore.targets  
2024-09-03T12:24:44.0237434Z   inflating: Targets/SonarQube.Integration.targets  
2024-09-03T12:24:44.0282050Z   inflating: Google.Protobuf.dll     
2024-09-03T12:24:44.0350551Z   inflating: Newtonsoft.Json.dll     
2024-09-03T12:24:44.0352220Z   inflating: SonarQube.Analysis.xml  
2024-09-03T12:24:44.0363457Z   inflating: SonarScanner.MSBuild.Common.dll  
2024-09-03T12:24:44.0369659Z   inflating: SonarScanner.MSBuild.dll  
2024-09-03T12:24:44.0373949Z   inflating: SonarScanner.MSBuild.PostProcessor.dll  
2024-09-03T12:24:44.0396846Z   inflating: SonarScanner.MSBuild.PreProcessor.dll  
2024-09-03T12:24:44.0398356Z   inflating: SonarScanner.MSBuild.runtimeconfig.json  
2024-09-03T12:24:44.0406872Z   inflating: SonarScanner.MSBuild.Shim.dll  
2024-09-03T12:24:44.0414346Z   inflating: SonarScanner.MSBuild.Tasks.dll  
2024-09-03T12:24:44.0423641Z ##[debug]Exit code 0 received from tool '/usr/bin/unzip'
2024-09-03T12:24:44.0426010Z ##[debug]STDIO streams have closed for tool '/usr/bin/unzip'
2024-09-03T12:24:44.0434654Z ##[debug]Unzipped file to /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe
2024-09-03T12:24:44.0435602Z ##[debug]Absolute path for pathSegments: /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe,SonarScanner.MSBuild.dll = /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/SonarScanner.MSBuild.dll
2024-09-03T12:24:44.0436780Z ##[debug]set SONAR_SCANNER_LOCATION=/home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/SonarScanner.MSBuild.dll
2024-09-03T12:24:44.0437742Z ##[debug]Processed: ##vso[task.setvariable variable=SONAR_SCANNER_LOCATION;isOutput=false;issecret=false;]/home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/SonarScanner.MSBuild.dll
2024-09-03T12:24:44.0438381Z ##[debug]set SONAR_SCANNER_LOCATION=/home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/SonarScanner.MSBuild.dll
2024-09-03T12:24:44.0439421Z ##[debug]Processed: ##vso[task.setvariable variable=SONAR_SCANNER_LOCATION;isOutput=false;issecret=false;]/home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/SonarScanner.MSBuild.dll
2024-09-03T12:24:44.0440820Z ##[debug]Using .NET core scanner at /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/SonarScanner.MSBuild.dll
2024-09-03T12:24:44.0441418Z ##[debug]set SONAR_SCANNER_MSBUILD_DLL=/home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/SonarScanner.MSBuild.dll
2024-09-03T12:24:44.0442169Z ##[debug]Processed: ##vso[task.setvariable variable=SONAR_SCANNER_MSBUILD_DLL;isOutput=false;issecret=false;]/home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/SonarScanner.MSBuild.dll
2024-09-03T12:24:44.0442958Z ##[debug]Using scanner at /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/SonarScanner.MSBuild.dll
2024-09-03T12:24:44.0445535Z ##[debug]which 'dotnet'
2024-09-03T12:24:44.0446341Z ##[debug]found: '/usr/bin/dotnet'
2024-09-03T12:24:44.0447076Z ##[debug]which '/usr/bin/dotnet'
2024-09-03T12:24:44.0447574Z ##[debug]found: '/usr/bin/dotnet'
2024-09-03T12:24:44.0448349Z ##[debug]/usr/bin/dotnet arg: /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/SonarScanner.MSBuild.dll
2024-09-03T12:24:44.0449080Z ##[debug]defaultRoot: '/home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/SonarScanner.MSBuild.dll'
2024-09-03T12:24:44.0449750Z ##[debug]findOptions.allowBrokenSymbolicLinks: 'false'
2024-09-03T12:24:44.0450553Z ##[debug]findOptions.followSpecifiedSymbolicLink: 'true'
2024-09-03T12:24:44.0451101Z ##[debug]findOptions.followSymbolicLinks: 'true'
2024-09-03T12:24:44.0495365Z ##[debug]findOptions.skipMissingFiles: 'false'
2024-09-03T12:24:44.0495874Z ##[debug]matchOptions.debug: 'false'
2024-09-03T12:24:44.0496154Z ##[debug]matchOptions.nobrace: 'true'
2024-09-03T12:24:44.0496432Z ##[debug]matchOptions.noglobstar: 'false'
2024-09-03T12:24:44.0496902Z ##[debug]matchOptions.dot: 'true'
2024-09-03T12:24:44.0497179Z ##[debug]matchOptions.noext: 'false'
2024-09-03T12:24:44.0497713Z ##[debug]matchOptions.nocase: 'false'
2024-09-03T12:24:44.0498010Z ##[debug]matchOptions.nonull: 'false'
2024-09-03T12:24:44.0498472Z ##[debug]matchOptions.matchBase: 'false'
2024-09-03T12:24:44.0498752Z ##[debug]matchOptions.nocomment: 'false'
2024-09-03T12:24:44.0499042Z ##[debug]matchOptions.nonegate: 'false'
2024-09-03T12:24:44.0499337Z ##[debug]matchOptions.flipNegate: 'false'
2024-09-03T12:24:44.0500057Z ##[debug]pattern: '/home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/sonar-scanner-*/bin/sonar-scanner'
2024-09-03T12:24:44.0500930Z ##[debug]findPath: '/home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe'
2024-09-03T12:24:44.0501250Z ##[debug]statOnly: 'false'
2024-09-03T12:24:44.0501564Z ##[debug]findPath: '/home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe'
2024-09-03T12:24:44.0502040Z ##[debug]findOptions.allowBrokenSymbolicLinks: 'false'
2024-09-03T12:24:44.0502335Z ##[debug]findOptions.followSpecifiedSymbolicLink: 'true'
2024-09-03T12:24:44.0502642Z ##[debug]findOptions.followSymbolicLinks: 'true'
2024-09-03T12:24:44.0502928Z ##[debug]findOptions.skipMissingFiles: 'false'
2024-09-03T12:24:44.0505225Z ##[debug]  /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe (directory)
2024-09-03T12:24:44.0505567Z ##[debug]  /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/Google.Protobuf.dll (file)
2024-09-03T12:24:44.0506096Z ##[debug]  /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/Newtonsoft.Json.dll (file)
2024-09-03T12:24:44.0506438Z ##[debug]  /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/SonarQube.Analysis.xml (file)
2024-09-03T12:24:44.0506785Z ##[debug]  /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/SonarScanner.MSBuild.Common.dll (file)
2024-09-03T12:24:44.0507344Z ##[debug]  /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/SonarScanner.MSBuild.PostProcessor.dll (file)
2024-09-03T12:24:44.0507729Z ##[debug]  /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/SonarScanner.MSBuild.PreProcessor.dll (file)
2024-09-03T12:24:44.0508114Z ##[debug]  /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/SonarScanner.MSBuild.Shim.dll (file)
2024-09-03T12:24:44.0509013Z ##[debug]  /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/SonarScanner.MSBuild.Tasks.dll (file)
2024-09-03T12:24:44.0509395Z ##[debug]  /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/SonarScanner.MSBuild.dll (file)
2024-09-03T12:24:44.0509968Z ##[debug]  /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/SonarScanner.MSBuild.runtimeconfig.json (file)
2024-09-03T12:24:44.0510360Z ##[debug]  /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/Targets (directory)
2024-09-03T12:24:44.0511104Z ##[debug]  /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/Targets/SonarQube.Integration.ImportBefore.targets (file)
2024-09-03T12:24:44.0511620Z ##[debug]  /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/Targets/SonarQube.Integration.targets (file)
2024-09-03T12:24:44.0512272Z ##[debug]  /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/sonar-scanner-5.0.1.3006 (directory)
2024-09-03T12:24:44.0513458Z ##[debug]  /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/sonar-scanner-5.0.1.3006/bin (directory)
2024-09-03T12:24:44.0514246Z ##[debug]  /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/sonar-scanner-5.0.1.3006/bin/sonar-scanner (file)
2024-09-03T12:24:44.0514686Z ##[debug]  /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/sonar-scanner-5.0.1.3006/bin/sonar-scanner-debug (file)
2024-09-03T12:24:44.0515274Z ##[debug]  /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/sonar-scanner-5.0.1.3006/bin/sonar-scanner-debug.bat (file)
2024-09-03T12:24:44.0515961Z ##[debug]  /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/sonar-scanner-5.0.1.3006/bin/sonar-scanner.bat (file)
2024-09-03T12:24:44.0516382Z ##[debug]  /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/sonar-scanner-5.0.1.3006/conf (directory)
2024-09-03T12:24:44.0657611Z ##[debug]  /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/sonar-scanner-5.0.1.3006/conf/sonar-scanner.properties (file)
2024-09-03T12:24:44.0658782Z ##[debug]  /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/sonar-scanner-5.0.1.3006/lib (directory)
2024-09-03T12:24:44.0659722Z ##[debug]  /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/sonar-scanner-5.0.1.3006/lib/sonar-scanner-cli-5.0.1.3006.jar (file)
2024-09-03T12:24:44.0662164Z ##[debug]24 results
2024-09-03T12:24:44.0662806Z ##[debug]found 24 paths
2024-09-03T12:24:44.0663536Z ##[debug]applying include pattern
2024-09-03T12:24:44.0667407Z ##[debug]1 matches
2024-09-03T12:24:44.0668125Z ##[debug]1 final results
2024-09-03T12:24:44.0672101Z ##[debug]/usr/bin/dotnet arg: begin
2024-09-03T12:24:44.0898942Z ##[debug]/usr/bin/dotnet arg: /k:OBFUSCATED_PROJECTKEY
2024-09-03T12:24:44.0899461Z ##[debug]/usr/bin/dotnet arg: /o:OBFUSCATED_ORGANIZATION
2024-09-03T12:24:44.0899804Z ##[debug]system.debug=True
2024-09-03T12:24:44.0900131Z ##[debug]exec tool: /usr/bin/dotnet
2024-09-03T12:24:44.0901786Z ##[debug]arguments:
2024-09-03T12:24:44.0902492Z ##[debug]   /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/SonarScanner.MSBuild.dll
2024-09-03T12:24:44.0902875Z ##[debug]   begin
2024-09-03T12:24:44.0903416Z ##[debug]   /k:OBFUSCATED_PROJECTKEY
2024-09-03T12:24:44.0903764Z ##[debug]   /o:OBFUSCATED_ORGANIZATION
2024-09-03T12:24:44.0904536Z [command]/usr/bin/dotnet /home/vsts/work/_temp/bd44e736-09fd-4e58-b7ba-50c45e3948fe/SonarScanner.MSBuild.dll begin /k:OBFUSCATED_PROJECTKEY /o:OBFUSCATED_ORGANIZATION
2024-09-03T12:24:44.2933576Z SonarScanner for MSBuild 6.2
2024-09-03T12:24:44.2941250Z Using the .NET Core version of the Scanner for MSBuild
2024-09-03T12:24:44.4188661Z Pre-processing started.
2024-09-03T12:24:44.4207535Z Preparing working directories...
2024-09-03T12:24:44.4944263Z 12:24:44.493  Updating build integration targets...
2024-09-03T12:24:44.9485738Z 12:24:44.947  Fetching analysis configuration settings...
2024-09-03T12:24:45.8637387Z 12:24:45.863  Provisioning analyzer assemblies for cs...
2024-09-03T12:24:45.8639594Z 12:24:45.863  Installing required Roslyn analyzers...
2024-09-03T12:24:45.8642287Z 12:24:45.864  Processing plugin: csharp version 9.32.0.97167
2024-09-03T12:24:46.2000854Z 12:24:46.199  Processing plugin: vbnet version 9.32.0.97167
2024-09-03T12:24:46.3629298Z 12:24:46.362  Processing plugin: securitycsharpfrontend version 10.7.0-M1.32475
2024-09-03T12:24:47.1365571Z 12:24:47.136  Provisioning analyzer assemblies for vbnet...
2024-09-03T12:24:47.1366725Z 12:24:47.136  Installing required Roslyn analyzers...
2024-09-03T12:24:47.1367316Z 12:24:47.136  Processing plugin: csharp version 9.32.0.97167
2024-09-03T12:24:47.1375110Z 12:24:47.137  Processing plugin: vbnet version 9.32.0.97167
2024-09-03T12:24:47.1446242Z 12:24:47.144  Incremental PR analysis: Base branch parameter was not provided.
2024-09-03T12:24:47.1446829Z 12:24:47.144  Cache data is empty. A full analysis will be performed.
2024-09-03T12:24:47.1768653Z 12:24:47.176  Pre-processing succeeded.
2024-09-03T12:24:47.1845884Z ##[debug]Exit code 0 received from tool '/usr/bin/dotnet'
2024-09-03T12:24:47.1847300Z ##[debug]STDIO streams have closed for tool '/usr/bin/dotnet'
2024-09-03T12:24:47.1950131Z ##[section]Finishing: Sonarcloud Setup for analysis of the codebase

BUILD logs:

2024-09-03T12:25:03.1164927Z ##[debug]Evaluating condition for step: 'dotnet BUILD using parameteres'
2024-09-03T12:25:03.1165694Z ##[debug]Evaluating: SucceededNode()
2024-09-03T12:25:03.1165887Z ##[debug]Evaluating SucceededNode:
2024-09-03T12:25:03.1166736Z ##[debug]=> True
2024-09-03T12:25:03.1167005Z ##[debug]Result: True
2024-09-03T12:25:03.1167258Z ##[section]Starting: dotnet BUILD using parameteres
2024-09-03T12:25:03.1173925Z ==============================================================================
2024-09-03T12:25:03.1174035Z Task         : .NET Core
2024-09-03T12:25:03.1174091Z Description  : Build, test, package, or publish a dotnet application, or run a custom dotnet command
2024-09-03T12:25:03.1174200Z Version      : 2.242.1
2024-09-03T12:25:03.1174253Z Author       : Microsoft Corporation
2024-09-03T12:25:03.1174317Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/build/dotnet-core-cli
2024-09-03T12:25:03.1174411Z ==============================================================================
2024-09-03T12:25:03.2097729Z ##[debug]Using node path: /home/vsts/agents/3.243.1/externals/node20_1/bin/node
2024-09-03T12:25:03.3005174Z ##[debug]agent.TempDirectory=/home/vsts/work/_temp
2024-09-03T12:25:03.3011022Z ##[debug]loading inputs and endpoints
2024-09-03T12:25:03.3016835Z ##[debug]loading INPUT_COMMAND
2024-09-03T12:25:03.3038719Z ##[debug]loading INPUT_PUBLISHWEBPROJECTS
2024-09-03T12:25:03.3095822Z ##[debug]loading INPUT_PROJECTS
2024-09-03T12:25:03.3096323Z ##[debug]loading INPUT_ARGUMENTS
2024-09-03T12:25:03.3096817Z ##[debug]loading INPUT_PUBLISHTESTRESULTS
2024-09-03T12:25:03.3104219Z ##[debug]loading INPUT_ZIPAFTERPUBLISH
2024-09-03T12:25:03.3104584Z ##[debug]loading INPUT_MODIFYOUTPUTPATH
2024-09-03T12:25:03.3104875Z ##[debug]loading INPUT_SELECTORCONFIG
2024-09-03T12:25:03.3105175Z ##[debug]loading INPUT_INCLUDENUGETORG
2024-09-03T12:25:03.3105459Z ##[debug]loading INPUT_NUGETCONFIGPATH
2024-09-03T12:25:03.3105739Z ##[debug]loading INPUT_NOCACHE
2024-09-03T12:25:03.3106046Z ##[debug]loading INPUT_VERBOSITYRESTORE
2024-09-03T12:25:03.3106365Z ##[debug]loading INPUT_SEARCHPATTERNPUSH
2024-09-03T12:25:03.3106648Z ##[debug]loading INPUT_NUGETFEEDTYPE
2024-09-03T12:25:03.3106936Z ##[debug]loading INPUT_PUBLISHPACKAGEMETADATA
2024-09-03T12:25:03.3111829Z ##[debug]loading INPUT_SEARCHPATTERNPACK
2024-09-03T12:25:03.3112158Z ##[debug]loading INPUT_CONFIGURATIONTOPACK
2024-09-03T12:25:03.3112455Z ##[debug]loading INPUT_OUTPUTDIR
2024-09-03T12:25:03.3112739Z ##[debug]loading INPUT_NOBUILD
2024-09-03T12:25:03.3113041Z ##[debug]loading INPUT_INCLUDESYMBOLS
2024-09-03T12:25:03.3113334Z ##[debug]loading INPUT_INCLUDESOURCE
2024-09-03T12:25:03.3113632Z ##[debug]loading INPUT_VERSIONINGSCHEME
2024-09-03T12:25:03.3113930Z ##[debug]loading INPUT_REQUESTEDMAJORVERSION
2024-09-03T12:25:03.3114408Z ##[debug]loading INPUT_REQUESTEDMINORVERSION
2024-09-03T12:25:03.3114703Z ##[debug]loading INPUT_REQUESTEDPATCHVERSION
2024-09-03T12:25:03.3114990Z ##[debug]loading INPUT_VERBOSITYPACK
2024-09-03T12:25:03.3115284Z ##[debug]loading INPUT_WORKINGDIRECTORY
2024-09-03T12:25:03.3115605Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2024-09-03T12:25:03.3115916Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2024-09-03T12:25:03.3116238Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2024-09-03T12:25:03.3116605Z ##[debug]loading SECRET_SONAR_ENDPOINT
2024-09-03T12:25:03.3116896Z ##[debug]loading SECRET_SYSTEM_ACCESSTOKEN
2024-09-03T12:25:03.3117169Z ##[debug]loaded 32
2024-09-03T12:25:03.3117436Z ##[debug]Agent.ProxyUrl=undefined
2024-09-03T12:25:03.3117730Z ##[debug]Agent.CAInfo=undefined
2024-09-03T12:25:03.3118006Z ##[debug]Agent.ClientCert=undefined
2024-09-03T12:25:03.3118296Z ##[debug]Agent.SkipCertValidation=undefined
2024-09-03T12:25:03.4972172Z ##[debug]agent.proxyurl=undefined
2024-09-03T12:25:03.4973023Z ##[debug]VSTS_ARM_REST_IGNORE_SSL_ERRORS=undefined
2024-09-03T12:25:03.4973955Z ##[debug]AZURE_HTTP_USER_AGENT=VSTS_8de28d25-4fe4-46eb-8788-e83b307cfbf8_build_147_0
2024-09-03T12:25:03.4998094Z ##[debug]command=build
2024-09-03T12:25:03.4999695Z ##[debug]projects=./OBFUSCATED.sln
2024-09-03T12:25:03.5002290Z ##[debug]arguments=/P:Configuration=Release --no-restore -warnaserror  
2024-09-03T12:25:03.5004225Z ##[debug]publishWebProjects=true
2024-09-03T12:25:03.5005732Z ##[debug]zipAfterPublish=true
2024-09-03T12:25:03.5007952Z ##[debug]workingDirectory=/home/vsts/work/1/s
2024-09-03T12:25:03.5012269Z ##[debug]check path : /home/vsts/work/_tasks/DotNetCoreCLI_5541a522-603c-47ad-91fc-a4b1d163081b/2.242.1/node_modules/azure-pipelines-tasks-packaging-common/module.json
2024-09-03T12:25:03.5015926Z ##[debug]adding resource file: /home/vsts/work/_tasks/DotNetCoreCLI_5541a522-603c-47ad-91fc-a4b1d163081b/2.242.1/node_modules/azure-pipelines-tasks-packaging-common/module.json
2024-09-03T12:25:03.5016504Z ##[debug]system.culture=en-US
2024-09-03T12:25:03.5028330Z ##[debug]check path : /home/vsts/work/_tasks/DotNetCoreCLI_5541a522-603c-47ad-91fc-a4b1d163081b/2.242.1/task.json
2024-09-03T12:25:03.5028987Z ##[debug]adding resource file: /home/vsts/work/_tasks/DotNetCoreCLI_5541a522-603c-47ad-91fc-a4b1d163081b/2.242.1/task.json
2024-09-03T12:25:03.5029561Z ##[debug]system.culture=en-US
2024-09-03T12:25:03.5042137Z ##[debug]which 'dotnet'
2024-09-03T12:25:03.5049123Z ##[debug]found: '/usr/bin/dotnet'
2024-09-03T12:25:03.5067609Z Info: .NET Core SDK/runtime 2.2 and 3.0 are now End of Life(EOL) and have been removed from all hosted agents. If you're using these SDK/runtimes on hosted agents, kindly upgrade to newer versions which are not EOL, or else use UseDotNet task to install the required version.
2024-09-03T12:25:03.5074213Z ##[debug]System.DefaultWorkingDirectory=/home/vsts/work/1/s
2024-09-03T12:25:03.5076097Z ##[debug]defaultRoot: '/home/vsts/work/1/s'
2024-09-03T12:25:03.5077180Z ##[debug]findOptions.allowBrokenSymbolicLinks: 'false'
2024-09-03T12:25:03.5078011Z ##[debug]findOptions.followSpecifiedSymbolicLink: 'true'
2024-09-03T12:25:03.5078346Z ##[debug]findOptions.followSymbolicLinks: 'true'
2024-09-03T12:25:03.5078660Z ##[debug]findOptions.skipMissingFiles: 'false'
2024-09-03T12:25:03.5079364Z ##[debug]matchOptions.debug: 'false'
2024-09-03T12:25:03.5079675Z ##[debug]matchOptions.nobrace: 'true'
2024-09-03T12:25:03.5079959Z ##[debug]matchOptions.noglobstar: 'false'
2024-09-03T12:25:03.5080241Z ##[debug]matchOptions.dot: 'true'
2024-09-03T12:25:03.5080533Z ##[debug]matchOptions.noext: 'false'
2024-09-03T12:25:03.5080813Z ##[debug]matchOptions.nocase: 'false'
2024-09-03T12:25:03.5081094Z ##[debug]matchOptions.nonull: 'false'
2024-09-03T12:25:03.5081378Z ##[debug]matchOptions.matchBase: 'false'
2024-09-03T12:25:03.5081678Z ##[debug]matchOptions.nocomment: 'false'
2024-09-03T12:25:03.5081961Z ##[debug]matchOptions.nonegate: 'false'
2024-09-03T12:25:03.5082247Z ##[debug]matchOptions.flipNegate: 'false'
2024-09-03T12:25:03.5082901Z ##[debug]pattern: './OBFUSCATED.sln'
2024-09-03T12:25:03.5134942Z ##[debug]findPath: '/home/vsts/work/1/s/./OBFUSCATED.sln'
2024-09-03T12:25:03.5137256Z ##[debug]statOnly: 'true'
2024-09-03T12:25:03.5139729Z ##[debug]found 1 paths
2024-09-03T12:25:03.5142589Z ##[debug]applying include pattern
2024-09-03T12:25:03.5144579Z ##[debug]adjustedPattern: '/home/vsts/work/1/s/./OBFUSCATED.sln'
2024-09-03T12:25:03.5152985Z ##[debug]1 matches
2024-09-03T12:25:03.5155464Z ##[debug]1 final results
2024-09-03T12:25:03.5158535Z ##[debug]which '/usr/bin/dotnet'
2024-09-03T12:25:03.5161103Z ##[debug]found: '/usr/bin/dotnet'
2024-09-03T12:25:03.5164680Z ##[debug]/usr/bin/dotnet arg: build
2024-09-03T12:25:03.5167793Z ##[debug]/usr/bin/dotnet arg: /home/vsts/work/1/s/./OBFUSCATED.sln
2024-09-03T12:25:03.5171292Z ##[debug]/usr/bin/dotnet arg: -dl:CentralLogger,"/home/vsts/work/_tasks/DotNetCoreCLI_5541a522-603c-47ad-91fc-a4b1d163081b/2.242.1/dotnet-build-helpers/Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll"*ForwardingLogger,"/home/vsts/work/_tasks/DotNetCoreCLI_5541a522-603c-47ad-91fc-a4b1d163081b/2.242.1/dotnet-build-helpers/Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll"
2024-09-03T12:25:03.5174856Z ##[debug]/usr/bin/dotnet arg: /P:Configuration=Release --no-restore -warnaserror  
2024-09-03T12:25:03.5180340Z ##[debug]exec tool: /usr/bin/dotnet
2024-09-03T12:25:03.5182312Z ##[debug]arguments:
2024-09-03T12:25:03.5184538Z ##[debug]   build
2024-09-03T12:25:03.5186402Z ##[debug]   /home/vsts/work/1/s/./OBFUSCATED.sln
2024-09-03T12:25:03.5188648Z ##[debug]   -dl:CentralLogger,"/home/vsts/work/_tasks/DotNetCoreCLI_5541a522-603c-47ad-91fc-a4b1d163081b/2.242.1/dotnet-build-helpers/Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll"*ForwardingLogger,"/home/vsts/work/_tasks/DotNetCoreCLI_5541a522-603c-47ad-91fc-a4b1d163081b/2.242.1/dotnet-build-helpers/Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll"
2024-09-03T12:25:03.5190819Z ##[debug]   /P:Configuration=Release
2024-09-03T12:25:03.5192653Z ##[debug]   --no-restore
2024-09-03T12:25:03.5194420Z ##[debug]   -warnaserror
2024-09-03T12:25:03.5200072Z [command]/usr/bin/dotnet build /home/vsts/work/1/s/./OBFUSCATED.sln -dl:CentralLogger,"/home/vsts/work/_tasks/DotNetCoreCLI_5541a522-603c-47ad-91fc-a4b1d163081b/2.242.1/dotnet-build-helpers/Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll"*ForwardingLogger,"/home/vsts/work/_tasks/DotNetCoreCLI_5541a522-603c-47ad-91fc-a4b1d163081b/2.242.1/dotnet-build-helpers/Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll" /P:Configuration=Release --no-restore -warnaserror
2024-09-03T12:25:14.2829270Z   OBFUSCATED.Domain -> /home/vsts/work/1/s/src/OBFUSCATED/OBFUSCATED.Domain/bin/Release/net8.0/OBFUSCATED.Domain.dll
2024-09-03T12:25:14.3187280Z   Sonar: (OBFUSCATED.Domain.csproj) Project processed successfully
2024-09-03T12:25:17.1752919Z   Impact.FunctionApp.Isolated.Common -> /home/vsts/work/1/s/src/OBFUSCATED/Impact.FunctionApp.Isolated.Common/bin/Release/net8.0/Impact.FunctionApp.Isolated.Common.dll
2024-09-03T12:25:17.2092823Z   Sonar: (Impact.FunctionApp.Isolated.Common.csproj) Project processed successfully
2024-09-03T12:25:18.6774994Z   OBFUSCATED.Application -> /home/vsts/work/1/s/src/OBFUSCATED/OBFUSCATED.Application/bin/Release/net8.0/OBFUSCATED.Application.dll
2024-09-03T12:25:18.6860550Z   Sonar: (OBFUSCATED.Application.csproj) Project processed successfully
2024-09-03T12:25:20.4019583Z   OBFUSCATED.Infrastructure -> /home/vsts/work/1/s/src/OBFUSCATED/OBFUSCATED.Infrastructure/bin/Release/net8.0/OBFUSCATED.Infrastructure.dll
2024-09-03T12:25:20.4094231Z   Sonar: (OBFUSCATED.Infrastructure.csproj) Project processed successfully
2024-09-03T12:25:24.4638347Z   Determining projects to restore...
2024-09-03T12:25:34.7276376Z   Restored /home/vsts/work/1/s/src/OBFUSCATED/OBFUSCATED/obj/Release/net8.0/WorkerExtensions/WorkerExtensions.csproj (in 9.56 sec).
2024-09-03T12:25:36.3169017Z   WorkerExtensions -> /home/vsts/work/1/s/src/OBFUSCATED/OBFUSCATED/obj/Release/net8.0/WorkerExtensions/buildout/Microsoft.Azure.Functions.Worker.Extensions.dll
2024-09-03T12:25:36.3343615Z ##[debug]Processed: ##vso[task.logdetail id=750069f8-be45-43ff-9598-fd6eda955fd6;parentid=;name=SonarQube.Integration.targets;type=Build;starttime=2024-09-03T12:25:36.3311381Z;state=InProgress;]
2024-09-03T12:25:36.3440175Z ##[error]/home/vsts/work/1/.sonarqube/bin/targets/SonarQube.Integration.targets(373,5): Error : The project does not have a valid ProjectGuid. Analysis results for this project will not be uploaded. Project file: /home/vsts/work/1/s/src/OBFUSCATED/OBFUSCATED/obj/Release/net8.0/WorkerExtensions/WorkerExtensions.csproj
2024-09-03T12:25:36.3449862Z ##[debug]Processed: ##vso[task.logissue type=Error;sourcepath=/home/vsts/work/1/.sonarqube/bin/targets/SonarQube.Integration.targets;linenumber=373;columnnumber=5;code=;]The project does not have a valid ProjectGuid. Analysis results for this project will not be uploaded. Project file: /home/vsts/work/1/s/src/OBFUSCATED/OBFUSCATED/obj/Release/net8.0/WorkerExtensions/WorkerExtensions.csproj
2024-09-03T12:25:36.3494496Z ##[debug]Processed: ##vso[task.logdetail id=750069f8-be45-43ff-9598-fd6eda955fd6;parentid=;type=Build;result=Failed;finishtime=2024-09-03T12:25:36.3469919Z;progress=100;state=Completed;parentid=;name=;]
2024-09-03T12:25:36.3495468Z /home/vsts/work/1/.sonarqube/bin/targets/SonarQube.Integration.targets(373,5): error : The project does not have a valid ProjectGuid. Analysis results for this project will not be uploaded. Project file: /home/vsts/work/1/s/src/OBFUSCATED/OBFUSCATED/obj/Release/net8.0/WorkerExtensions/WorkerExtensions.csproj [/home/vsts/work/1/s/src/OBFUSCATED/OBFUSCATED/obj/Release/net8.0/WorkerExtensions/WorkerExtensions.csproj]
2024-09-03T12:25:36.3496011Z   Sonar: (WorkerExtensions.csproj) Project processed successfully
2024-09-03T12:25:37.9369915Z   OBFUSCATED -> /home/vsts/work/1/s/src/OBFUSCATED/OBFUSCATED/bin/Release/net8.0/OBFUSCATED.dll
2024-09-03T12:25:37.9446739Z   Sonar: (OBFUSCATED.csproj) Project processed successfully
2024-09-03T12:25:40.2467408Z   OBFUSCATED.Tests -> /home/vsts/work/1/s/tests/OBFUSCATED.Tests/OBFUSCATED.Tests/bin/Release/net8.0/OBFUSCATED.Tests.dll
2024-09-03T12:25:40.3602015Z   Sonar: (OBFUSCATED.Tests.csproj) Project processed successfully
2024-09-03T12:25:40.3829277Z 
2024-09-03T12:25:40.3831631Z Build FAILED.
2024-09-03T12:25:40.3833074Z 
2024-09-03T12:25:40.3834255Z /home/vsts/work/1/.sonarqube/bin/targets/SonarQube.Integration.targets(373,5): error : The project does not have a valid ProjectGuid. Analysis results for this project will not be uploaded. Project file: /home/vsts/work/1/s/src/OBFUSCATED/OBFUSCATED/obj/Release/net8.0/WorkerExtensions/WorkerExtensions.csproj [/home/vsts/work/1/s/src/OBFUSCATED/OBFUSCATED/obj/Release/net8.0/WorkerExtensions/WorkerExtensions.csproj]
2024-09-03T12:25:40.3835525Z     0 Warning(s)
2024-09-03T12:25:40.3836236Z     1 Error(s)
2024-09-03T12:25:40.3836412Z 
2024-09-03T12:25:40.3836653Z Time Elapsed 00:00:36.46
2024-09-03T12:25:40.4276625Z 
2024-09-03T12:25:40.4381943Z ##[debug]Exit code 1 received from tool '/usr/bin/dotnet'
2024-09-03T12:25:40.4382606Z ##[debug]STDIO streams have closed for tool '/usr/bin/dotnet'
2024-09-03T12:25:40.4458661Z ##[error]Error: The process '/usr/bin/dotnet' failed with exit code 1
2024-09-03T12:25:40.4459179Z ##[debug]Processed: ##vso[task.issue type=error;]Error: The process '/usr/bin/dotnet' failed with exit code 1
2024-09-03T12:25:40.4462196Z ##[warning].NET 5 has some compatibility issues with older Nuget versions(<=5.7), so if you are using an older Nuget version(and not dotnet cli) to restore, then the dotnet cli commands (e.g. dotnet build) which rely on such restored packages might fail. To mitigate such error, you can either: (1) - Use dotnet cli to restore, (2) - Use Nuget version 5.8 to restore, (3) - Use global.json using an older sdk version(<=3) to build
2024-09-03T12:25:40.4463535Z ##[debug]Processed: ##vso[task.issue type=warning;].NET 5 has some compatibility issues with older Nuget versions(<=5.7), so if you are using an older Nuget version(and not dotnet cli) to restore, then the dotnet cli commands (e.g. dotnet build) which rely on such restored packages might fail. To mitigate such error, you can either: (1) - Use dotnet cli to restore, (2) - Use Nuget version 5.8 to restore, (3) - Use global.json using an older sdk version(<=3) to build
2024-09-03T12:25:40.4488645Z Info: Azure Pipelines hosted agents have been updated and now contain .Net 5.x SDK/Runtime along with the older .Net Core version which are currently lts. Unless you have locked down a SDK version for your project(s), 5.x SDK might be picked up which might have breaking behavior as compared to previous versions. You can learn more about the breaking changes here: https://docs.microsoft.com/en-us/dotnet/core/tools/ and https://docs.microsoft.com/en-us/dotnet/core/compatibility/ . To learn about more such changes and troubleshoot, refer here: https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/build/dotnet-core-cli?view=azure-devops#troubleshooting
2024-09-03T12:25:40.4494419Z ##[debug]task result: Failed
2024-09-03T12:25:40.4498297Z ##[error]Dotnet command failed with non-zero exit code on the following projects : [
  '/home/vsts/work/1/s/./OBFUSCATED.sln'
]
2024-09-03T12:25:40.4498940Z ##[debug]Processed: ##vso[task.issue type=error;]Dotnet command failed with non-zero exit code on the following projects : [
  '/home/vsts/work/1/s/./OBFUSCATED.sln'
]
2024-09-03T12:25:40.4503327Z ##[debug]Processed: ##vso[task.complete result=Failed;]Dotnet command failed with non-zero exit code on the following projects : [
  '/home/vsts/work/1/s/./OBFUSCATED.sln'
]
2024-09-03T12:25:40.4555921Z ##[section]Finishing: dotnet BUILD using parameteres

Sorry. Below instructions for Azure DevOps.

Can you reproduce the problem with a stripped down Azure Functions project, and share it with us (on github for example)? Just to have a reproducer?

Alternatively, we’d require verbose logs of steps (and diagnostic logs for the dotnet build) - given it fails during the build we’d get the logs only for the first two steps (SonarCloudPrepare and the build). I can send a private message on this forum to share the logs

Share the Scanner for .NET verbose logs

  • “SonarQubePrepare” or “SonarCloudPrepare” task’s extraProperties argument if you are using Azure DevOps
    • For example:
      - task: SonarCloudPrepare@1
          inputs:
            SonarCloud: 'sonarcloud'
            organization: 'foo'
            scannerMode: 'MSBuild'
            projectKey: 'foo_sonar-scanning-someconsoleapp'
            projectName: 'sonar-scanning-someconsoleapp'
            extraProperties: |
              sonar.verbose=true
      
  • The important logs are in the END step (i.e. SonarQubeAnalyze / SonarCloudAnalyze / “Run Code Analysis”)

Share the msbuild detailed logs

dotnet build -v:d

Hi @Andrei_Epure

Thanks for the update.

Im adding new logs that has diagnostic logging

SonarCloudPrepare@2

2024-09-05T12:05:33.7486524Z ##[debug]Evaluating condition for step: 'Sonarcloud Setup for analysis of the codebase'
2024-09-05T12:05:33.7487781Z ##[debug]Evaluating: and(succeeded(), eq('False', 'false'), eq('False', 'false'))
2024-09-05T12:05:33.7488028Z ##[debug]Evaluating and:
2024-09-05T12:05:33.7488215Z ##[debug]..Evaluating succeeded:
2024-09-05T12:05:33.7488627Z ##[debug]..=> True
2024-09-05T12:05:33.7488877Z ##[debug]..Evaluating eq:
2024-09-05T12:05:33.7489256Z ##[debug]....Evaluating String:
2024-09-05T12:05:33.7489470Z ##[debug]....=> 'False'
2024-09-05T12:05:33.7489670Z ##[debug]....Evaluating String:
2024-09-05T12:05:33.7489859Z ##[debug]....=> 'false'
2024-09-05T12:05:33.7490058Z ##[debug]..=> True
2024-09-05T12:05:33.7490245Z ##[debug]..Evaluating eq:
2024-09-05T12:05:33.7490418Z ##[debug]....Evaluating String:
2024-09-05T12:05:33.7490577Z ##[debug]....=> 'False'
2024-09-05T12:05:33.7490744Z ##[debug]....Evaluating String:
2024-09-05T12:05:33.7490920Z ##[debug]....=> 'false'
2024-09-05T12:05:33.7491059Z ##[debug]..=> True
2024-09-05T12:05:33.7491221Z ##[debug]=> True
2024-09-05T12:05:33.7491702Z ##[debug]Expanded: and(True, eq('False', 'false'), eq('False', 'false'))
2024-09-05T12:05:33.7491946Z ##[debug]Result: True
2024-09-05T12:05:33.7492211Z ##[section]Starting: Sonarcloud Setup for analysis of the codebase
2024-09-05T12:05:33.7496886Z ==============================================================================
2024-09-05T12:05:33.7497028Z Task         : Prepare Analysis Configuration
2024-09-05T12:05:33.7497116Z Description  : Prepare SonarCloud analysis configuration
2024-09-05T12:05:33.7497206Z Version      : 2.3.2
2024-09-05T12:05:33.7497264Z Author       : sonarsource
2024-09-05T12:05:33.7497378Z Help         : [More Information](https://docs.sonarcloud.io/advanced-setup/ci-based-analysis/sonarcloud-extension-for-azure-devops/)
2024-09-05T12:05:33.7497530Z ==============================================================================
2024-09-05T12:05:33.8017163Z ##[debug]Using node path: /home/vsts/agents/3.243.1/externals/node16/bin/node
2024-09-05T12:05:34.0432146Z ##[debug]agent.TempDirectory=/home/vsts/work/_temp
2024-09-05T12:05:34.0440963Z ##[debug]loading inputs and endpoints
2024-09-05T12:05:34.0445864Z ##[debug]loading INPUT_SONARCLOUD
2024-09-05T12:05:34.0456675Z ##[debug]loading INPUT_ORGANIZATION
2024-09-05T12:05:34.0458405Z ##[debug]loading INPUT_SCANNERMODE
2024-09-05T12:05:34.0460053Z ##[debug]loading INPUT_MSBUILDVERSION
2024-09-05T12:05:34.0461415Z ##[debug]loading INPUT_CONFIGMODE
2024-09-05T12:05:34.0462853Z ##[debug]loading INPUT_CONFIGFILE
2024-09-05T12:05:34.0466037Z ##[debug]loading INPUT_PROJECTKEY
2024-09-05T12:05:34.0468955Z ##[debug]loading INPUT_PROJECTNAME
2024-09-05T12:05:34.0471058Z ##[debug]loading INPUT_CLIPROJECTVERSION
2024-09-05T12:05:34.0473354Z ##[debug]loading INPUT_PROJECTVERSION
2024-09-05T12:05:34.0487420Z ##[debug]loading INPUT_CLISOURCES
2024-09-05T12:05:34.0490373Z ##[debug]loading INPUT_EXTRAPROPERTIES
2024-09-05T12:05:34.0493234Z ##[debug]loading ENDPOINT_AUTH_11ff0a28-b851-4359-a95b-7a82743dc58a
2024-09-05T12:05:34.0496656Z ##[debug]loading ENDPOINT_AUTH_SCHEME_11ff0a28-b851-4359-a95b-7a82743dc58a
2024-09-05T12:05:34.0497972Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_11ff0a28-b851-4359-a95b-7a82743dc58a_APITOKEN
2024-09-05T12:05:34.0500636Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2024-09-05T12:05:34.0502127Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2024-09-05T12:05:34.0503260Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2024-09-05T12:05:34.0508092Z ##[debug]loading SECRET_SYSTEM_ACCESSTOKEN
2024-09-05T12:05:34.0508667Z ##[debug]loaded 19
2024-09-05T12:05:34.0514159Z ##[debug]Agent.ProxyUrl=undefined
2024-09-05T12:05:34.0514493Z ##[debug]Agent.CAInfo=undefined
2024-09-05T12:05:34.0515867Z ##[debug]Agent.ClientCert=undefined
2024-09-05T12:05:34.0516225Z ##[debug]Agent.SkipCertValidation=undefined
2024-09-05T12:05:34.0799558Z ##[debug]Agent.ProxyUrl=undefined
2024-09-05T12:05:34.0800001Z ##[debug]Agent.CAInfo=undefined
2024-09-05T12:05:34.0800818Z ##[debug]Agent.ClientCert=undefined
2024-09-05T12:05:34.0801249Z ##[debug]check path : /home/vsts/work/_tasks/SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255/2.3.2/lib.json
2024-09-05T12:05:34.0802323Z ##[debug]adding resource file: /home/vsts/work/_tasks/SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255/2.3.2/lib.json
2024-09-05T12:05:34.0802772Z ##[debug]system.culture=en-US
2024-09-05T12:05:34.2120274Z ##[debug]SonarCloud=11ff0a28-b851-4359-a95b-7a82743dc58a
2024-09-05T12:05:34.2121291Z ##[debug]11ff0a28-b851-4359-a95b-7a82743dc58a=https://sonarcloud.io/
2024-09-05T12:05:34.2123333Z ##[debug]11ff0a28-b851-4359-a95b-7a82743dc58a auth param apitoken = ***
2024-09-05T12:05:34.2123903Z ##[debug]11ff0a28-b851-4359-a95b-7a82743dc58a auth param username = undefined
2024-09-05T12:05:34.2124519Z ##[debug]11ff0a28-b851-4359-a95b-7a82743dc58a auth param password = undefined
2024-09-05T12:05:34.2125121Z ##[debug]organization=OBFUSCATED_ORGANIZATION
2024-09-05T12:05:34.2130042Z ##[debug]scannerMode=MSBuild
2024-09-05T12:05:34.2133370Z ##[debug]projectKey=OBFUSCATED_ORGANIZATION_OBFUSCATED_PROJECT_OBFUSCATED_COMPANY-citemplating-monorepo-tests_FastEndpoints
2024-09-05T12:05:34.2134537Z ##[debug]projectName=DotNetTemplate-OBFUSCATED_COMPANY.FunctionApp.Isolated02
2024-09-05T12:05:34.2135729Z ##[debug]projectVersion=1.0
2024-09-05T12:05:34.2136868Z ##[debug]organization=OBFUSCATED_ORGANIZATION
2024-09-05T12:05:34.2139644Z ##[debug][SQ] API GET: '/api/server/version' with full URL "https://sonarcloud.io/api/server/version" and query "undefined"
2024-09-05T12:05:34.2161739Z ##[debug]Not using a proxy agent
2024-09-05T12:05:34.3443999Z ##[debug][SQ] Server version: 8.0.0.56443
2024-09-05T12:05:34.3446768Z ##[debug]System.TeamFoundationCollectionUri=OBFUSCATED_URL
2024-09-05T12:05:34.3447235Z ##[debug]Build.Repository.Provider=TfsGit
2024-09-05T12:05:34.3448560Z ##[debug]System.PullRequest.PullRequestId=undefined
2024-09-05T12:05:34.3449515Z ##[debug]System.TeamFoundationCollectionUri=OBFUSCATED_URL
2024-09-05T12:05:34.3449956Z ##[debug]Build.Repository.Provider=TfsGit
2024-09-05T12:05:34.3450505Z ##[debug]Build.SourceBranch=refs/heads/main
2024-09-05T12:05:34.3454969Z ##[debug]SYSTEMVSSCONNECTION exists true
2024-09-05T12:05:34.5008188Z ##[debug]Build.Repository.Name=OBFUSCATED_COMPANY-citemplating-monorepo-tests
2024-09-05T12:05:34.5009200Z ##[debug]System.TeamProject=OBFUSCATED_PROJECT
2024-09-05T12:05:34.7099779Z ##[debug]Default branch of this repository is 'refs/heads/main'
2024-09-05T12:05:34.7100455Z ##[debug]SonarCloud or SonarQube version >= 7.2.0 detected, setting report-task.txt file to its newest location.
2024-09-05T12:05:34.7103202Z ##[debug]Agent.TempDirectory=/home/vsts/work/_temp
2024-09-05T12:05:34.7103919Z ##[debug]Build.BuildId=57060
2024-09-05T12:05:34.7106652Z ##[debug][SQ] Branch and PR parameters: {"sonar.scanner.metadataFilePath":"/home/vsts/work/_temp/sonar/57060/009484bd-4fd7-6cb5-5210-e91a6e6aa4cc/report-task.txt"}
2024-09-05T12:05:34.7110327Z ##[debug]extraProperties=sonar.cs.opencover.reportsPaths=/home/vsts/work/_temp/**/coverage.opencover.xml
sonar.scanner.metadataFilePath=/home/vsts/work/_temp/sonar/main20240905.8/report-task.txt
sonar.verbose=true
2024-09-05T12:05:34.7113668Z ##[debug]set SONAR_SERVER_VERSION=8.0.0
2024-09-05T12:05:34.7115359Z ##[debug]Processed: ##vso[task.setvariable variable=SONAR_SERVER_VERSION;isOutput=false;issecret=false;]8.0.0
2024-09-05T12:05:34.7115937Z ##[debug]set SONAR_SCANNER_MODE=MSBuild
2024-09-05T12:05:34.7116719Z ##[debug]Processed: ##vso[task.setvariable variable=SONAR_SCANNER_MODE;isOutput=false;issecret=false;]MSBuild
2024-09-05T12:05:34.7117377Z ##[debug]set SONAR_SCANNER_REPORTTASKFILE=/home/vsts/work/_temp/sonar/main20240905.8/report-task.txt
2024-09-05T12:05:34.7118597Z ##[debug]Processed: ##vso[task.setvariable variable=SONAR_SCANNER_REPORTTASKFILE;isOutput=false;issecret=false;]/home/vsts/work/_temp/sonar/main20240905.8/report-task.txt
2024-09-05T12:05:34.7121701Z ##[debug]set SONAR_ENDPOINT=********
2024-09-05T12:05:34.7132084Z ##[debug]Processed: ##vso[task.setvariable variable=SONAR_ENDPOINT;isOutput=false;issecret=true;]***
2024-09-05T12:05:34.7133793Z ##[debug]extraProperties=sonar.cs.opencover.reportsPaths=/home/vsts/work/_temp/**/coverage.opencover.xml
sonar.scanner.metadataFilePath=/home/vsts/work/_temp/sonar/main20240905.8/report-task.txt
sonar.verbose=true
2024-09-05T12:05:34.7137035Z ##[debug]set SONAR_SCANNER_MODE=MSBuild
2024-09-05T12:05:34.7138063Z ##[debug]Processed: ##vso[task.setvariable variable=SONAR_SCANNER_MODE;isOutput=false;issecret=false;]MSBuild
2024-09-05T12:05:34.7138958Z ##[debug]set SONAR_ENDPOINT=********
2024-09-05T12:05:34.7141230Z ##[debug]Processed: ##vso[task.setvariable variable=SONAR_ENDPOINT;isOutput=false;issecret=true;]***
2024-09-05T12:05:34.7142247Z ##[debug]set SONARQUBE_SCANNER_PARAMS={"sonar.host.url":"https://sonarcloud.io","sonar.token":***,"sonar.organization":"OBFUSCATED_ORGANIZATION","sonar.projectKey":"OBFUSCATED_ORGANIZATION_OBFUSCATED_PROJECT_OBFUSCATED_COMPANY-citemplating-monorepo-tests_FastEndpoints","sonar.projectName":"DotNetTemplate-OBFUSCATED_COMPANY.FunctionApp.Isolated02","sonar.projectVersion":"1.0","sonar.scanner.metadataFilePath":"/home/vsts/work/_temp/sonar/main20240905.8/report-task.txt","sonar.cs.opencover.reportsPaths":"/home/vsts/work/_temp/**/coverage.opencover.xml","sonar.verbose":"true"}
2024-09-05T12:05:34.7144598Z ##[debug]Processed: ##vso[task.setvariable variable=SONARQUBE_SCANNER_PARAMS;isOutput=false;issecret=false;]{"sonar.host.url":"https://sonarcloud.io","sonar.token":***,"sonar.organization":"OBFUSCATED_ORGANIZATION","sonar.projectKey":"OBFUSCATED_ORGANIZATION_OBFUSCATED_PROJECT_OBFUSCATED_COMPANY-citemplating-monorepo-tests_FastEndpoints","sonar.projectName":"DotNetTemplate-OBFUSCATED_COMPANY.FunctionApp.Isolated02","sonar.projectVersion":"1.0","sonar.scanner.metadataFilePath":"/home/vsts/work/_temp/sonar/main20240905.8/report-task.txt","sonar.cs.opencover.reportsPaths":"/home/vsts/work/_temp/**/coverage.opencover.xml","sonar.verbose":"true"}
2024-09-05T12:05:34.7145580Z ##[debug]msBuildVersion=6.2.0.85879
2024-09-05T12:05:34.7146057Z ##[debug]Downloading scanner from https://github.com/SonarSource/sonar-scanner-msbuild/releases/download/6.2.0.85879/sonar-scanner-6.2.0.85879-net.zip
2024-09-05T12:05:34.7146520Z ##[debug]
2024-09-05T12:05:34.7146852Z ##[debug]Agent.Version=3.243.1
2024-09-05T12:05:34.7147222Z ##[debug]Agent.TempDirectory=/home/vsts/work/_temp
2024-09-05T12:05:34.7149262Z ##[debug]testing directory '/home/vsts/work/_temp'
2024-09-05T12:05:34.7159209Z Downloading: https://github.com/SonarSource/sonar-scanner-msbuild/releases/download/6.2.0.85879/sonar-scanner-6.2.0.85879-net.zip
2024-09-05T12:05:34.7160240Z ##[debug]destination /home/vsts/work/_temp/fa59202f-d14f-4aae-b635-f92ebc094046
2024-09-05T12:05:34.7161876Z ##[debug]downloading
2024-09-05T12:05:35.2729659Z ##[debug]Content-Length of downloaded file: 1243565
2024-09-05T12:05:35.2730284Z ##[debug]creating stream
2024-09-05T12:05:35.2881200Z ##[debug]download complete
2024-09-05T12:05:35.2881610Z ##[debug]Downloaded file size: 1243565 bytes
2024-09-05T12:05:35.2884104Z ##[debug]Downloaded: https://github.com/SonarSource/sonar-scanner-msbuild/releases/download/6.2.0.85879/sonar-scanner-6.2.0.85879-net.zip file to /home/vsts/work/_temp/fa59202f-d14f-4aae-b635-f92ebc094046
2024-09-05T12:05:35.2884653Z ##[debug]Extracting /home/vsts/work/_temp/fa59202f-d14f-4aae-b635-f92ebc094046
2024-09-05T12:05:35.2884894Z Extracting archive
2024-09-05T12:05:35.2885153Z ##[debug]Agent.Version=3.243.1
2024-09-05T12:05:35.2885476Z ##[debug]Agent.TempDirectory=/home/vsts/work/_temp
2024-09-05T12:05:35.2885870Z ##[debug]testing directory '/home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297'
2024-09-05T12:05:35.2886232Z ##[debug]testing directory '/home/vsts/work/_temp'
2024-09-05T12:05:35.2886589Z ##[debug]mkdir '/home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297'
2024-09-05T12:05:35.2886979Z ##[debug]which 'unzip'
2024-09-05T12:05:35.2893347Z ##[debug]found: '/usr/bin/unzip'
2024-09-05T12:05:35.2899088Z ##[debug]/usr/bin/unzip arg: /home/vsts/work/_temp/fa59202f-d14f-4aae-b635-f92ebc094046
2024-09-05T12:05:35.2899459Z ##[debug]exec tool: /usr/bin/unzip
2024-09-05T12:05:35.2899995Z ##[debug]arguments:
2024-09-05T12:05:35.2900327Z ##[debug]   /home/vsts/work/_temp/fa59202f-d14f-4aae-b635-f92ebc094046
2024-09-05T12:05:35.2900948Z [command]/usr/bin/unzip /home/vsts/work/_temp/fa59202f-d14f-4aae-b635-f92ebc094046
2024-09-05T12:05:35.3218914Z Archive:  /home/vsts/work/_temp/fa59202f-d14f-4aae-b635-f92ebc094046
2024-09-05T12:05:35.3292263Z   inflating: sonar-scanner-5.0.1.3006/bin/sonar-scanner  
2024-09-05T12:05:35.3293360Z   inflating: sonar-scanner-5.0.1.3006/bin/sonar-scanner-debug  
2024-09-05T12:05:35.3295229Z   inflating: sonar-scanner-5.0.1.3006/bin/sonar-scanner-debug.bat  
2024-09-05T12:05:35.3296070Z   inflating: sonar-scanner-5.0.1.3006/bin/sonar-scanner.bat  
2024-09-05T12:05:35.3297560Z   inflating: sonar-scanner-5.0.1.3006/conf/sonar-scanner.properties  
2024-09-05T12:05:35.3353685Z   inflating: sonar-scanner-5.0.1.3006/lib/sonar-scanner-cli-5.0.1.3006.jar  
2024-09-05T12:05:35.3357524Z   inflating: Targets/SonarQube.Integration.ImportBefore.targets  
2024-09-05T12:05:35.3358230Z   inflating: Targets/SonarQube.Integration.targets  
2024-09-05T12:05:35.3402808Z   inflating: Google.Protobuf.dll     
2024-09-05T12:05:35.3471511Z   inflating: Newtonsoft.Json.dll     
2024-09-05T12:05:35.3472006Z   inflating: SonarQube.Analysis.xml  
2024-09-05T12:05:35.3480748Z   inflating: SonarScanner.MSBuild.Common.dll  
2024-09-05T12:05:35.3484810Z   inflating: SonarScanner.MSBuild.dll  
2024-09-05T12:05:35.3487972Z   inflating: SonarScanner.MSBuild.PostProcessor.dll  
2024-09-05T12:05:35.3501537Z   inflating: SonarScanner.MSBuild.PreProcessor.dll  
2024-09-05T12:05:35.3504720Z   inflating: SonarScanner.MSBuild.runtimeconfig.json  
2024-09-05T12:05:35.3509159Z   inflating: SonarScanner.MSBuild.Shim.dll  
2024-09-05T12:05:35.3515035Z   inflating: SonarScanner.MSBuild.Tasks.dll  
2024-09-05T12:05:35.3524687Z ##[debug]Exit code 0 received from tool '/usr/bin/unzip'
2024-09-05T12:05:35.3528352Z ##[debug]STDIO streams have closed for tool '/usr/bin/unzip'
2024-09-05T12:05:35.3538783Z ##[debug]Unzipped file to /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297
2024-09-05T12:05:35.3539757Z ##[debug]Absolute path for pathSegments: /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297,SonarScanner.MSBuild.dll = /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/SonarScanner.MSBuild.dll
2024-09-05T12:05:35.3540556Z ##[debug]set SONAR_SCANNER_LOCATION=/home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/SonarScanner.MSBuild.dll
2024-09-05T12:05:35.3541830Z ##[debug]Processed: ##vso[task.setvariable variable=SONAR_SCANNER_LOCATION;isOutput=false;issecret=false;]/home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/SonarScanner.MSBuild.dll
2024-09-05T12:05:35.3542433Z ##[debug]set SONAR_SCANNER_LOCATION=/home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/SonarScanner.MSBuild.dll
2024-09-05T12:05:35.3543180Z ##[debug]Processed: ##vso[task.setvariable variable=SONAR_SCANNER_LOCATION;isOutput=false;issecret=false;]/home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/SonarScanner.MSBuild.dll
2024-09-05T12:05:35.3544739Z ##[debug]Using .NET core scanner at /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/SonarScanner.MSBuild.dll
2024-09-05T12:05:35.3545400Z ##[debug]set SONAR_SCANNER_MSBUILD_DLL=/home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/SonarScanner.MSBuild.dll
2024-09-05T12:05:35.3546368Z ##[debug]Processed: ##vso[task.setvariable variable=SONAR_SCANNER_MSBUILD_DLL;isOutput=false;issecret=false;]/home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/SonarScanner.MSBuild.dll
2024-09-05T12:05:35.3548299Z ##[debug]Using scanner at /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/SonarScanner.MSBuild.dll
2024-09-05T12:05:35.3548889Z ##[debug]which 'dotnet'
2024-09-05T12:05:35.3554534Z ##[debug]found: '/usr/bin/dotnet'
2024-09-05T12:05:35.3555082Z ##[debug]which '/usr/bin/dotnet'
2024-09-05T12:05:35.3556809Z ##[debug]found: '/usr/bin/dotnet'
2024-09-05T12:05:35.3557389Z ##[debug]/usr/bin/dotnet arg: /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/SonarScanner.MSBuild.dll
2024-09-05T12:05:35.3562140Z ##[debug]defaultRoot: '/home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/SonarScanner.MSBuild.dll'
2024-09-05T12:05:35.3562763Z ##[debug]findOptions.allowBrokenSymbolicLinks: 'false'
2024-09-05T12:05:35.3563549Z ##[debug]findOptions.followSpecifiedSymbolicLink: 'true'
2024-09-05T12:05:35.3563980Z ##[debug]findOptions.followSymbolicLinks: 'true'
2024-09-05T12:05:35.3564566Z ##[debug]findOptions.skipMissingFiles: 'false'
2024-09-05T12:05:35.3567006Z ##[debug]matchOptions.debug: 'false'
2024-09-05T12:05:35.3567505Z ##[debug]matchOptions.nobrace: 'true'
2024-09-05T12:05:35.3568150Z ##[debug]matchOptions.noglobstar: 'false'
2024-09-05T12:05:35.3568524Z ##[debug]matchOptions.dot: 'true'
2024-09-05T12:05:35.3568843Z ##[debug]matchOptions.noext: 'false'
2024-09-05T12:05:35.3569172Z ##[debug]matchOptions.nocase: 'false'
2024-09-05T12:05:35.3569487Z ##[debug]matchOptions.nonull: 'false'
2024-09-05T12:05:35.3569821Z ##[debug]matchOptions.matchBase: 'false'
2024-09-05T12:05:35.3570141Z ##[debug]matchOptions.nocomment: 'false'
2024-09-05T12:05:35.3570472Z ##[debug]matchOptions.nonegate: 'false'
2024-09-05T12:05:35.3570793Z ##[debug]matchOptions.flipNegate: 'false'
2024-09-05T12:05:35.3572235Z ##[debug]pattern: '/home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/sonar-scanner-*/bin/sonar-scanner'
2024-09-05T12:05:35.3585489Z ##[debug]findPath: '/home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297'
2024-09-05T12:05:35.3586030Z ##[debug]statOnly: 'false'
2024-09-05T12:05:35.3586762Z ##[debug]findPath: '/home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297'
2024-09-05T12:05:35.3587322Z ##[debug]findOptions.allowBrokenSymbolicLinks: 'false'
2024-09-05T12:05:35.3588070Z ##[debug]findOptions.followSpecifiedSymbolicLink: 'true'
2024-09-05T12:05:35.3588505Z ##[debug]findOptions.followSymbolicLinks: 'true'
2024-09-05T12:05:35.3588847Z ##[debug]findOptions.skipMissingFiles: 'false'
2024-09-05T12:05:35.3593106Z ##[debug]  /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297 (directory)
2024-09-05T12:05:35.3597823Z ##[debug]  /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/Google.Protobuf.dll (file)
2024-09-05T12:05:35.3598592Z ##[debug]  /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/Newtonsoft.Json.dll (file)
2024-09-05T12:05:35.3599264Z ##[debug]  /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/SonarQube.Analysis.xml (file)
2024-09-05T12:05:35.3600094Z ##[debug]  /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/SonarScanner.MSBuild.Common.dll (file)
2024-09-05T12:05:35.3601864Z ##[debug]  /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/SonarScanner.MSBuild.PostProcessor.dll (file)
2024-09-05T12:05:35.3602486Z ##[debug]  /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/SonarScanner.MSBuild.PreProcessor.dll (file)
2024-09-05T12:05:35.3603209Z ##[debug]  /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/SonarScanner.MSBuild.Shim.dll (file)
2024-09-05T12:05:35.3604624Z ##[debug]  /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/SonarScanner.MSBuild.Tasks.dll (file)
2024-09-05T12:05:35.3605248Z ##[debug]  /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/SonarScanner.MSBuild.dll (file)
2024-09-05T12:05:35.3605921Z ##[debug]  /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/SonarScanner.MSBuild.runtimeconfig.json (file)
2024-09-05T12:05:35.3606374Z ##[debug]  /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/Targets (directory)
2024-09-05T12:05:35.3610089Z ##[debug]  /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/Targets/SonarQube.Integration.ImportBefore.targets (file)
2024-09-05T12:05:35.3610719Z ##[debug]  /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/Targets/SonarQube.Integration.targets (file)
2024-09-05T12:05:35.3611316Z ##[debug]  /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/sonar-scanner-5.0.1.3006 (directory)
2024-09-05T12:05:35.3612426Z ##[debug]  /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/sonar-scanner-5.0.1.3006/bin (directory)
2024-09-05T12:05:35.3613809Z ##[debug]  /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/sonar-scanner-5.0.1.3006/bin/sonar-scanner (file)
2024-09-05T12:05:35.3614461Z ##[debug]  /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/sonar-scanner-5.0.1.3006/bin/sonar-scanner-debug (file)
2024-09-05T12:05:35.3615304Z ##[debug]  /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/sonar-scanner-5.0.1.3006/bin/sonar-scanner-debug.bat (file)
2024-09-05T12:05:35.3616020Z ##[debug]  /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/sonar-scanner-5.0.1.3006/bin/sonar-scanner.bat (file)
2024-09-05T12:05:35.3619140Z ##[debug]  /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/sonar-scanner-5.0.1.3006/conf (directory)
2024-09-05T12:05:35.3747843Z ##[debug]  /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/sonar-scanner-5.0.1.3006/conf/sonar-scanner.properties (file)
2024-09-05T12:05:35.3748625Z ##[debug]  /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/sonar-scanner-5.0.1.3006/lib (directory)
2024-09-05T12:05:35.3749262Z ##[debug]  /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/sonar-scanner-5.0.1.3006/lib/sonar-scanner-cli-5.0.1.3006.jar (file)
2024-09-05T12:05:35.3750131Z ##[debug]24 results
2024-09-05T12:05:35.3750466Z ##[debug]found 24 paths
2024-09-05T12:05:35.3750824Z ##[debug]applying include pattern
2024-09-05T12:05:35.3751137Z ##[debug]1 matches
2024-09-05T12:05:35.3751428Z ##[debug]1 final results
2024-09-05T12:05:35.3752332Z ##[debug]/usr/bin/dotnet arg: begin
2024-09-05T12:05:35.3753061Z ##[debug]/usr/bin/dotnet arg: /k:OBFUSCATED_ORGANIZATION_OBFUSCATED_PROJECT_OBFUSCATED_COMPANY-citemplating-monorepo-tests_FastEndpoints
2024-09-05T12:05:35.3753589Z ##[debug]/usr/bin/dotnet arg: /o:OBFUSCATED_ORGANIZATION
2024-09-05T12:05:35.3755984Z ##[debug]system.debug=True
2024-09-05T12:05:35.3756608Z ##[debug]exec tool: /usr/bin/dotnet
2024-09-05T12:05:35.3757306Z ##[debug]arguments:
2024-09-05T12:05:35.3757739Z ##[debug]   /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/SonarScanner.MSBuild.dll
2024-09-05T12:05:35.3758687Z ##[debug]   begin
2024-09-05T12:05:35.3759046Z ##[debug]   /k:OBFUSCATED_ORGANIZATION_OBFUSCATED_PROJECT_OBFUSCATED_COMPANY-citemplating-monorepo-tests_FastEndpoints
2024-09-05T12:05:35.3759399Z ##[debug]   /o:OBFUSCATED_ORGANIZATION
2024-09-05T12:05:35.3760175Z [command]/usr/bin/dotnet /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/SonarScanner.MSBuild.dll begin /k:OBFUSCATED_ORGANIZATION_OBFUSCATED_PROJECT_OBFUSCATED_COMPANY-citemplating-monorepo-tests_FastEndpoints /o:OBFUSCATED_ORGANIZATION
2024-09-05T12:05:37.2154205Z SonarScanner for MSBuild 6.2
2024-09-05T12:05:37.2154926Z Using the .NET Core version of the Scanner for MSBuild
2024-09-05T12:05:38.1274545Z Pre-processing started.
2024-09-05T12:05:38.1355448Z Preparing working directories...
2024-09-05T12:05:38.3791452Z 12:05:38.378  12:05:38.344  Loading analysis properties from /home/vsts/work/_temp/ef1fcf92-7bdc-4a84-8da5-59a1e1826297/SonarQube.Analysis.xml
2024-09-05T12:05:38.3792418Z 12:05:38.378  12:05:38.378  sonar.verbose=true was specified - setting the log verbosity to 'Debug'
2024-09-05T12:05:38.3814816Z 12:05:38.381  Updating build integration targets...
2024-09-05T12:05:38.3851755Z 12:05:38.384  Installed SonarQube.Integration.ImportBefore.targets to /home/vsts/.local/share/Microsoft/MSBuild/4.0/Microsoft.Common.targets/ImportBefore
2024-09-05T12:05:38.3854735Z 12:05:38.385  Installed SonarQube.Integration.ImportBefore.targets to /home/vsts/.local/share/Microsoft/MSBuild/10.0/Microsoft.Common.targets/ImportBefore
2024-09-05T12:05:38.3855370Z 12:05:38.385  Installed SonarQube.Integration.ImportBefore.targets to /home/vsts/.local/share/Microsoft/MSBuild/11.0/Microsoft.Common.targets/ImportBefore
2024-09-05T12:05:38.3860080Z 12:05:38.385  Installed SonarQube.Integration.ImportBefore.targets to /home/vsts/.local/share/Microsoft/MSBuild/12.0/Microsoft.Common.targets/ImportBefore
2024-09-05T12:05:38.3860928Z 12:05:38.385  Installed SonarQube.Integration.ImportBefore.targets to /home/vsts/.local/share/Microsoft/MSBuild/14.0/Microsoft.Common.targets/ImportBefore
2024-09-05T12:05:38.3861720Z 12:05:38.385  Installed SonarQube.Integration.ImportBefore.targets to /home/vsts/.local/share/Microsoft/MSBuild/15.0/Microsoft.Common.targets/ImportBefore
2024-09-05T12:05:38.3862404Z 12:05:38.385  Installed SonarQube.Integration.ImportBefore.targets to /home/vsts/.local/share/Microsoft/MSBuild/Current/Microsoft.Common.targets/ImportBefore
2024-09-05T12:05:38.3864602Z 12:05:38.385  Installed SonarQube.Integration.ImportBefore.targets to /home/vsts/Microsoft/MSBuild/15.0/Microsoft.Common.targets/ImportBefore
2024-09-05T12:05:38.3865174Z 12:05:38.386  Installed SonarQube.Integration.ImportBefore.targets to /home/vsts/Microsoft/MSBuild/Current/Microsoft.Common.targets/ImportBefore
2024-09-05T12:05:38.3869138Z 12:05:38.386  Installed SonarQube.Integration.targets to /home/vsts/work/1/.sonarqube/bin/targets
2024-09-05T12:05:38.3873804Z 12:05:38.387  Creating config and output folders...
2024-09-05T12:05:38.3879539Z 12:05:38.387  Creating directory: /home/vsts/work/1/.sonarqube/conf
2024-09-05T12:05:38.3880246Z 12:05:38.387  Creating directory: /home/vsts/work/1/.sonarqube/out
2024-09-05T12:05:38.7475387Z 12:05:38.746  Fetching server version...
2024-09-05T12:05:38.7490121Z 12:05:38.748  Downloading from https://sonarcloud.io/api/server/version...
2024-09-05T12:05:39.3260925Z 12:05:39.325  Response received from https://sonarcloud.io/api/server/version...
2024-09-05T12:05:39.3289271Z 12:05:39.328  SonarCloud detected, skipping server version check.
2024-09-05T12:05:39.3290077Z 12:05:39.328  SonarCloud detected, skipping license check.
2024-09-05T12:05:39.4045399Z 12:05:39.404  Fetching analysis configuration settings...
2024-09-05T12:05:39.4068769Z 12:05:39.406  Fetching properties for project 'OBFUSCATED_ORGANIZATION_OBFUSCATED_PROJECT_OBFUSCATED_COMPANY-citemplating-monorepo-tests_FastEndpoints'...
2024-09-05T12:05:39.4074463Z 12:05:39.407  Downloading from https://sonarcloud.io/api/settings/values?component=OBFUSCATED_ORGANIZATION_OBFUSCATED_PROJECT_OBFUSCATED_COMPANY-citemplating-monorepo-tests_FastEndpoints...
2024-09-05T12:05:39.4555864Z 12:05:39.455  Response received from https://sonarcloud.io/api/settings/values?component=OBFUSCATED_ORGANIZATION_OBFUSCATED_PROJECT_OBFUSCATED_COMPANY-citemplating-monorepo-tests_FastEndpoints...
2024-09-05T12:05:39.4683127Z 12:05:39.467  Downloading from https://sonarcloud.io/api/languages/list...
2024-09-05T12:05:39.5151778Z 12:05:39.514  Response received from https://sonarcloud.io/api/languages/list...
2024-09-05T12:05:39.5185994Z 12:05:39.518  Fetching quality profile for project 'OBFUSCATED_ORGANIZATION_OBFUSCATED_PROJECT_OBFUSCATED_COMPANY-citemplating-monorepo-tests_FastEndpoints'...
2024-09-05T12:05:39.5186696Z 12:05:39.518  Downloading from https://sonarcloud.io/api/qualityprofiles/search?project=OBFUSCATED_ORGANIZATION_OBFUSCATED_PROJECT_OBFUSCATED_COMPANY-citemplating-monorepo-tests_FastEndpoints&organization=OBFUSCATED_ORGANIZATION...
2024-09-05T12:05:39.9599020Z 12:05:39.959  Response received from https://sonarcloud.io/api/qualityprofiles/search?project=OBFUSCATED_ORGANIZATION_OBFUSCATED_PROJECT_OBFUSCATED_COMPANY-citemplating-monorepo-tests_FastEndpoints&organization=OBFUSCATED_ORGANIZATION...
2024-09-05T12:05:39.9668964Z 12:05:39.966  Fetching rules for quality profile 'AZF0oasVMrY7X2DoDrJX'...
2024-09-05T12:05:39.9669341Z 12:05:39.966  Downloading from https://sonarcloud.io/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=AZF0oasVMrY7X2DoDrJX&p=1...
2024-09-05T12:05:40.0869524Z 12:05:40.086  Response received from https://sonarcloud.io/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=AZF0oasVMrY7X2DoDrJX&p=1...
2024-09-05T12:05:40.1276395Z 12:05:40.127  Local analyzer cache: /tmp/.sonarqube/resources
2024-09-05T12:05:40.1336614Z 12:05:40.133  Writing Roslyn generated ruleset to /home/vsts/work/1/.sonarqube/conf/Sonar-cs.ruleset...
2024-09-05T12:05:40.1575151Z 12:05:40.156  Writing Roslyn generated ruleset to /home/vsts/work/1/.sonarqube/conf/Sonar-cs-none.ruleset...
2024-09-05T12:05:40.1786359Z 12:05:40.178  Provisioning analyzer assemblies for cs...
2024-09-05T12:05:40.1789418Z 12:05:40.178  Installing required Roslyn analyzers...
2024-09-05T12:05:40.1794147Z 12:05:40.179  Processing plugin: csharp version 9.32.0.97167
2024-09-05T12:05:40.5131616Z 12:05:40.512  Cache miss: plugin files were not found in the local cache
2024-09-05T12:05:40.5216121Z 12:05:40.521  Fetching resource for plugin: csharp, version 9.32.0.97167. Resource: SonarAnalyzer-9.32.0.97167.zip
2024-09-05T12:05:40.5220139Z 12:05:40.521  Downloading SonarAnalyzer-9.32.0.97167.zip to /tmp/.sonarqube/resources/0
2024-09-05T12:05:40.5229373Z 12:05:40.522  Downloading file to /tmp/.sonarqube/resources/0/SonarAnalyzer-9.32.0.97167.zip...
2024-09-05T12:05:40.5230110Z 12:05:40.522  Downloading from https://sonarcloud.io/static/csharp/SonarAnalyzer-9.32.0.97167.zip...
2024-09-05T12:05:40.5899891Z 12:05:40.589  Response received from https://sonarcloud.io/static/csharp/SonarAnalyzer-9.32.0.97167.zip...
2024-09-05T12:05:40.5925798Z 12:05:40.592  Extracting files to /tmp/.sonarqube/resources/0...
2024-09-05T12:05:40.6730949Z 12:05:40.672  Processing plugin: vbnet version 9.32.0.97167
2024-09-05T12:05:40.6819359Z 12:05:40.681  Cache miss: plugin files were not found in the local cache
2024-09-05T12:05:40.6820654Z 12:05:40.681  Fetching resource for plugin: vbnet, version 9.32.0.97167. Resource: SonarAnalyzer-9.32.0.97167.zip
2024-09-05T12:05:40.6821155Z 12:05:40.681  Downloading SonarAnalyzer-9.32.0.97167.zip to /tmp/.sonarqube/resources/1
2024-09-05T12:05:40.6821566Z 12:05:40.681  Downloading file to /tmp/.sonarqube/resources/1/SonarAnalyzer-9.32.0.97167.zip...
2024-09-05T12:05:40.6822003Z 12:05:40.681  Downloading from https://sonarcloud.io/static/vbnet/SonarAnalyzer-9.32.0.97167.zip...
2024-09-05T12:05:40.7174051Z 12:05:40.716  Response received from https://sonarcloud.io/static/vbnet/SonarAnalyzer-9.32.0.97167.zip...
2024-09-05T12:05:40.7182258Z 12:05:40.717  Extracting files to /tmp/.sonarqube/resources/1...
2024-09-05T12:05:40.7299541Z 12:05:40.729  Processing plugin: securitycsharpfrontend version 10.7.0-M1.32475
2024-09-05T12:05:40.7303715Z 12:05:40.73  Cache miss: plugin files were not found in the local cache
2024-09-05T12:05:40.7304596Z 12:05:40.73  Fetching resource for plugin: securitycsharpfrontend, version 10.7.0-M1.32475. Resource: SonarAnalyzer.Security-10.7.0-M1.32475.zip
2024-09-05T12:05:40.7307845Z 12:05:40.73  Downloading SonarAnalyzer.Security-10.7.0-M1.32475.zip to /tmp/.sonarqube/resources/2
2024-09-05T12:05:40.7308510Z 12:05:40.73  Downloading file to /tmp/.sonarqube/resources/2/SonarAnalyzer.Security-10.7.0-M1.32475.zip...
2024-09-05T12:05:40.7309614Z 12:05:40.73  Downloading from https://sonarcloud.io/static/securitycsharpfrontend/SonarAnalyzer.Security-10.7.0-M1.32475.zip...
2024-09-05T12:05:40.8351196Z 12:05:40.834  Response received from https://sonarcloud.io/static/securitycsharpfrontend/SonarAnalyzer.Security-10.7.0-M1.32475.zip...
2024-09-05T12:05:40.8365372Z 12:05:40.836  Extracting files to /tmp/.sonarqube/resources/2...
2024-09-05T12:05:40.8551663Z 12:05:40.854  Writing Roslyn analyzer additional file to /home/vsts/work/1/.sonarqube/conf/cs/SonarLint.xml...
2024-09-05T12:05:40.8556181Z 12:05:40.855  Fetching quality profile for project 'OBFUSCATED_ORGANIZATION_OBFUSCATED_PROJECT_OBFUSCATED_COMPANY-citemplating-monorepo-tests_FastEndpoints'...
2024-09-05T12:05:40.8557140Z 12:05:40.855  Downloading from https://sonarcloud.io/api/qualityprofiles/search?project=OBFUSCATED_ORGANIZATION_OBFUSCATED_PROJECT_OBFUSCATED_COMPANY-citemplating-monorepo-tests_FastEndpoints&organization=OBFUSCATED_ORGANIZATION...
2024-09-05T12:05:41.2864068Z 12:05:41.285  Response received from https://sonarcloud.io/api/qualityprofiles/search?project=OBFUSCATED_ORGANIZATION_OBFUSCATED_PROJECT_OBFUSCATED_COMPANY-citemplating-monorepo-tests_FastEndpoints&organization=OBFUSCATED_ORGANIZATION...
2024-09-05T12:05:41.2870937Z 12:05:41.286  Fetching rules for quality profile 'AZF0oasVMrY7X2DoDrI4'...
2024-09-05T12:05:41.2871355Z 12:05:41.286  Downloading from https://sonarcloud.io/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=AZF0oasVMrY7X2DoDrI4&p=1...
2024-09-05T12:05:41.3562503Z 12:05:41.355  Response received from https://sonarcloud.io/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=AZF0oasVMrY7X2DoDrI4&p=1...
2024-09-05T12:05:41.3595742Z 12:05:41.358  Local analyzer cache: /tmp/.sonarqube/resources
2024-09-05T12:05:41.3596489Z 12:05:41.359  Writing Roslyn generated ruleset to /home/vsts/work/1/.sonarqube/conf/Sonar-vbnet.ruleset...
2024-09-05T12:05:41.3603477Z 12:05:41.359  Writing Roslyn generated ruleset to /home/vsts/work/1/.sonarqube/conf/Sonar-vbnet-none.ruleset...
2024-09-05T12:05:41.3610971Z 12:05:41.36  Provisioning analyzer assemblies for vbnet...
2024-09-05T12:05:41.3611241Z 12:05:41.36  Installing required Roslyn analyzers...
2024-09-05T12:05:41.3617162Z 12:05:41.36  Processing plugin: csharp version 9.32.0.97167
2024-09-05T12:05:41.3617488Z 12:05:41.361  Cache hit: using plugin files from /tmp/.sonarqube/resources/0
2024-09-05T12:05:41.3617732Z 12:05:41.361  Processing plugin: vbnet version 9.32.0.97167
2024-09-05T12:05:41.3617966Z 12:05:41.361  Cache hit: using plugin files from /tmp/.sonarqube/resources/1
2024-09-05T12:05:41.3626133Z 12:05:41.362  Writing Roslyn analyzer additional file to /home/vsts/work/1/.sonarqube/conf/vbnet/SonarLint.xml...
2024-09-05T12:05:41.3649731Z 12:05:41.364  Processing analysis cache
2024-09-05T12:05:41.3675048Z 12:05:41.366  Incremental PR analysis: Base branch parameter was not provided.
2024-09-05T12:05:41.3675350Z 12:05:41.366  Cache data is empty. A full analysis will be performed.
2024-09-05T12:05:41.3948897Z 12:05:41.394  Pre-processing succeeded.
2024-09-05T12:05:41.4019404Z ##[debug]Exit code 0 received from tool '/usr/bin/dotnet'
2024-09-05T12:05:41.4019833Z ##[debug]STDIO streams have closed for tool '/usr/bin/dotnet'
2024-09-05T12:05:41.4112170Z ##[section]Finishing: Sonarcloud Setup for analysis of the codebase


DotNetCoreCLI@2 → BUILD
I cannot add this since the logs are 75 MB in diagnostic mode!
I have tried a couple of times to upload a zipped version to the issue here but the upload is failed by your interface. Reason unknown.

The azure function app is vanilla and used for testing CI templating and more.

Thanks, I downloaded them. You can obliterate the link if you want. We’ll have a look in the next weeks.

1 Like

Hi @Andrei_Epure

Thanks for supporting. I look forward to your findings and potential short term solution.

Regards
Thomas

The short term solution is excluding the project from analysis.

<PropertyGroup>
  <!-- Exclude the project from analysis -->
  <SonarQubeExclude>true</SonarQubeExclude>
</PropertyGroup>```

Hi @Andrei_Epure

The problem, at least to me, seems that the project that is in fault is the one that the scanner creates on runtime.
It is not the code projects i have created that are in fault.
Moreover, as i have mentioned prior, if building from a set of csproj files everything works as it should (no guid issue), but building from a sln file causes this issue for function apps.
But it should work using the SLN file as well since dotnet build works on sln files.

This in the logs is the clue to me:

Determining projects to restore...
  Restored /home/vsts/work/1/s/src/Imp.DevopsTesting.Integrations.FunctionApp/Imp.DevopsTesting.Integrations.FunctionApp/obj/Release/net8.0/WorkerExtensions/WorkerExtensions.csproj (in 9.75 sec).
  WorkerExtensions -> /home/vsts/work/1/s/src/Imp.DevopsTesting.Integrations.FunctionApp/Imp.DevopsTesting.Integrations.FunctionApp/obj/Release/net8.0/WorkerExtensions/buildout/Microsoft.Azure.Functions.Worker.Extensions.dll
##[debug]Processed: ##vso[task.logdetail id=ccb8b224-ccc8-4052-b78c-f62df6bd7980;parentid=;name=SonarQube.Integration.targets;type=Build;starttime=2024-09-05T11:53:50.3583163Z;state=InProgress;]
##[error]/home/vsts/work/1/.sonarqube/bin/targets/SonarQube.Integration.targets(373,5): Error : The project does not have a valid ProjectGuid. Analysis results for this project will not be uploaded. Project file: /home/vsts/work/1/s/src/Imp.DevopsTesting.Integrations.FunctionApp/Imp.DevopsTesting.Integrations.FunctionApp/obj/Release/net8.0/WorkerExtensions/WorkerExtensions.csproj

and in particular:

Restored /home/vsts/work/1/s/src/Imp.DevopsTesting.Integrations.FunctionApp/Imp.DevopsTesting.Integrations.FunctionApp/obj/Release/net8.0/WorkerExtensions/WorkerExtensions.csproj 

the project WorkerExtensions.csproj is entirely a SonarCloud construct that happens in the CI pipeline steps.
So I cannot add any exceptions to this is created by your provided tooling.

Without having thoroughly thru your sourcecode i think the problem might exist in this file:

which relates to this MERGE request

that seems to be focused on supressing the issues with missing guids.
In my case this seems to be cause of the failing pipeline.

I look forward to a resolution and please feel free to reach out if you need anything from me to support the resolution process.

@Andrei_Epure

A thought.

Could it be as easy as the Sonar Scanner ensures setting

<PropertyGroup>
  <!-- Exclude the project from analysis -->
  <SonarQubeExclude>true</SonarQubeExclude>
</PropertyGroup>

in the .WorkerExtensions.csproj thus not having the generated code analyzed?
Again i have not studied the scanner code so this is basically just a brainfart :slight_smile:

You’re right. I apologize.

The problem is this WARN message - the message is in this resources file..

From your logs:

2024-09-05T12:18:36.1523459Z /REDACTED/1/.sonarqube/bin/targets/SonarQube.Integration.targets(373,5): error : The project does not have a valid ProjectGuid. Analysis results for this project will not be uploaded. Project file: REDACTED2/WorkerExtensions.csproj [REDACTED2/WorkerExtensions.csproj]

You have in your build configuration -warnaserror set to true, so the build will fail on warnings. The immediate mitigation would be to set this flag to false - this would unblock the build pipeline.

Indeed, this is related to issue 1899. If we will log INFO level this won’t be a problem for people treating warnings as errors.

No apology needed - you are just trying to help which is much appreciated.

That is 100% correct - aiming for maximum code quality :slight_smile:
Regardless I will examine building this and allowing warnings, however I hope you will still address the reported issue as a legit issue that needs some level of resolution.

Update:
I have just tested allowing warnings and the build does indeed succeed - thanks for that info.

I still look forward to a more rigid solution to my reported issue so i can again get all those pesky warnings to break our builds.

Thanks @Andrei_Epure

Thank you for your kind reply.

I agree with you. We need to fix this.

Yes, this is why we have this ticket in our backlog. We plan to make more efforts to improve the user experience of the scanner for .NET in the next quarters.

Regarding the opened PR - an external contributor opened it and didn’t address our comments.