Test run for D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application\aspnet-core-dotnet-core.UnitTests\bin\release\netcoreapp3.1\aspnet-core-dotnet-core.UnitTests.dll (.NETCoreApp,Version=v3.1) Microsoft (R) Test Execution Command Line Tool Version 17.1.0 Copyright (c) Microsoft Corporation. All rights reserved. Starting test execution, please wait... A total of 1 test files matched the specified pattern. Microsoft (R) Coverage Collection Tool Version 16.0.30319.3002 Copyright (c) Microsoft Corporation. All rights reserved. Attachments: D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application\aspnet-core-dotnet-core.UnitTests\TestResults\4078eefd-c66e-4ee4-a847-b322df1f407f\runneradmin_fv-az450-602_2022-03-23.10_39_01.coverage Passed! - Failed: 0, Passed: 2, Skipped: 0, Total: 2, Duration: 462 ms - aspnet-core-dotnet-core.UnitTests.dll (netcoreapp3.1) >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> SonarScanner for MSBuild 5.5.3 Using the .NET Core version of the Scanner for MSBuild Post-processing started. 10:39:09.342 10:39:09.342 WARNING: File 'C:\Users\runneradmin\.nuget\packages\microsoft.net.test.sdk\16.6.1\build\netcoreapp2.1\Microsoft.NET.Test.Sdk.Program.cs' is not located under the root directory 'D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application' and will not be analyzed. 10:39:09.342 10:39:09.342 WARNING: File 'C:\Users\runneradmin\.nuget\packages\microsoft.testplatform.testhost\16.6.1\build\netcoreapp2.1\x64\testhost.exe' is not located under the root directory 'D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application' and will not be analyzed. 10:39:09.342 10:39:09.342 WARNING: File 'C:\Users\runneradmin\.nuget\packages\microsoft.testplatform.testhost\16.6.1\build\netcoreapp2.1\x64\testhost.dll' is not located under the root directory 'D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application' and will not be analyzed. 10:39:09.342 10:39:09.342 WARNING: File 'C:\Users\runneradmin\.nuget\packages\mstest.testadapter\2.1.2\build\_common\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll' is not located under the root directory 'D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application' and will not be analyzed. 10:39:09.343 10:39:09.343 WARNING: File 'C:\Users\runneradmin\.nuget\packages\mstest.testadapter\2.1.2\build\_common\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll' is not located under the root directory 'D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application' and will not be analyzed. 10:39:09.343 10:39:09.343 WARNING: File 'C:\Users\runneradmin\.nuget\packages\mstest.testadapter\2.1.2\build\netcoreapp1.0\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll' is not located under the root directory 'D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application' and will not be analyzed. Calling the SonarScanner CLI... INFO: Scanner configuration file: D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application\.sonar\scanner\.store\dotnet-sonarscanner\5.5.3\dotnet-sonarscanner\5.5.3\tools\net5.0\any\sonar-scanner-4.6.2.2472\bin\..\conf\sonar-scanner.properties INFO: Project root configuration file: D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application\.sonarqube\out\sonar-project.properties INFO: SonarScanner 4.6.2.2472 INFO: Java 11.0.14 Azul Systems, Inc. (64-bit) INFO: Windows Server 2022 10.0 amd64 INFO: User cache: C:\Users\runneradmin\.sonar\cache INFO: Scanner configuration file: D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application\.sonar\scanner\.store\dotnet-sonarscanner\5.5.3\dotnet-sonarscanner\5.5.3\tools\net5.0\any\sonar-scanner-4.6.2.2472\bin\..\conf\sonar-scanner.properties INFO: Project root configuration file: D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application\.sonarqube\out\sonar-project.properties INFO: Analyzing on SonarCloud INFO: Default locale: "en_US", source code encoding: "windows-1252" (analysis is platform dependent) INFO: Load global settings INFO: Load global settings (done) | time=926ms INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu INFO: User cache: C:\Users\runneradmin\.sonar\cache INFO: Load/download plugins INFO: Load plugins index INFO: Load plugins index (done) | time=215ms INFO: Load/download plugins (done) | time=31047ms INFO: Loaded core extensions: developer-scanner INFO: Found an active CI vendor: 'Github Actions' INFO: Load project settings for component key: '' INFO: Load project settings for component key: '' (done) | time=180ms INFO: Process project properties INFO: Execute project builders INFO: Execute project builders (done) | time=41ms INFO: Project key: INFO: Base dir: D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application INFO: Working dir: D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application\.sonarqube\out\.sonar INFO: Load project branches INFO: Load project branches (done) | time=185ms INFO: Check ALM binding of project '' INFO: Detected project binding: BOUND INFO: Check ALM binding of project '' (done) | time=167ms INFO: Load project pull requests INFO: Load project pull requests (done) | time=170ms INFO: Load branch configuration INFO: Github event: push INFO: Auto-configuring branch master INFO: Load branch configuration (done) | time=270ms INFO: Load quality profiles INFO: Load quality profiles (done) | time=232ms INFO: Load active rules INFO: Load active rules (done) | time=5944ms INFO: Organization key: INFO: Branch name: master, type: long-lived INFO: Load project repositories INFO: Load project repositories (done) | time=181ms INFO: Indexing files... INFO: Project configuration: INFO: Excluded sources: **/build-wrapper-dump.json INFO: Indexing files of module 'aspnet-core-dotnet-core' INFO: Base dir: D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application\aspnet-core-dotnet-core INFO: Source paths: Pages/About.cshtml.cs, Pages/Contact.cshtml.cs, Pages/Error.c... INFO: Excluded sources: **/build-wrapper-dump.json INFO: Indexing files of module 'aspnet-core-dotnet-core.FunctionalTests' INFO: Base dir: D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application\aspnet-core-dotnet-core.FunctionalTests INFO: Test paths: SampleFunctionalTests.cs, functionalTests.runsettings INFO: Excluded sources: **/build-wrapper-dump.json INFO: Indexing files of module 'aspnet-core-dotnet-core.UnitTests' INFO: Base dir: D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application\aspnet-core-dotnet-core.UnitTests INFO: Test paths: SampleUnitTests.cs INFO: Excluded sources: **/build-wrapper-dump.json INFO: Indexing files of module '' INFO: Base dir: D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application INFO: Excluded sources: **/build-wrapper-dump.json INFO: 47 files indexed INFO: 0 files ignored because of inclusion/exclusion patterns INFO: 4 files ignored because of scm ignore settings INFO: Quality profile for cs: Sonar way INFO: Quality profile for css: Sonar way INFO: Quality profile for js: Sonar way INFO: Quality profile for json: Sonar way INFO: Quality profile for web: Sonar way INFO: ------------- Run sensors on module aspnet-core-dotnet-core INFO: Load metrics repository INFO: Load metrics repository (done) | time=182ms INFO: Sensor IaC CloudFormation Sensor [iac] INFO: 0 source files to be analyzed INFO: 0/0 source files have been analyzed INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=22ms INFO: Sensor C# Project Type Information [csharp] INFO: Sensor C# Project Type Information [csharp] (done) | time=2ms INFO: Sensor C# Analysis Log [csharp] INFO: Roslyn version: 4.1.0.0 INFO: Language version: CSharp8 INFO: Concurrent execution: disabled INFO: Roslyn version: 4.1.0.0 INFO: Language version: CSharp8 INFO: Concurrent execution: disabled INFO: Sensor C# Analysis Log [csharp] (done) | time=8ms INFO: Sensor C# Properties [csharp] INFO: Sensor C# Properties [csharp] (done) | time=2ms INFO: Sensor HTML [web] INFO: Sensor HTML [web] (done) | time=241ms INFO: Sensor Text Sensor [text] INFO: 26 source files to be analyzed INFO: 26/26 source files have been analyzed INFO: Sensor Text Sensor [text] (done) | time=122ms INFO: Sensor VB.NET Project Type Information [vbnet] INFO: Sensor VB.NET Project Type Information [vbnet] (done) | time=1ms INFO: Sensor VB.NET Analysis Log [vbnet] INFO: Sensor VB.NET Analysis Log [vbnet] (done) | time=19ms INFO: Sensor VB.NET Properties [vbnet] INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms INFO: Sensor JaCoCo XML Report Importer [jacoco] 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 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=3ms INFO: Sensor JavaScript analysis [javascript] INFO: Deploying custom rules bundle jar:file:/C:/Users/runneradmin/.sonar/cache/5cd27f8c723a77dc42d046ee720c918a/sonar-securityjsfrontend-plugin.jar!/js-vulnerabilities-rules-1.0.0.tgz to D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application\.sonarqube\out\.sonar\.sonartmp\eslint-bridge-bundle\package\custom-rules6494145913750918156 INFO: 2 source files to be analyzed INFO: 2/2 source files have been analyzed INFO: Sensor JavaScript analysis [javascript] (done) | time=14851ms INFO: Sensor TypeScript analysis [javascript] INFO: No input files found for analysis INFO: Sensor TypeScript analysis [javascript] (done) | time=2ms INFO: Sensor CSS Metrics [javascript] INFO: Sensor CSS Metrics [javascript] (done) | time=391ms INFO: Sensor CSS Rules [javascript] INFO: 14 source files to be analyzed INFO: 14/14 source files have been analyzed INFO: Sensor CSS Rules [javascript] (done) | time=2029ms INFO: Sensor ThymeLeaf template sensor [securityjavafrontend] INFO: Sensor ThymeLeaf template sensor [securityjavafrontend] (done) | time=1ms INFO: Sensor Serverless configuration file sensor [security] INFO: 0 Serverless function entries were found in the project INFO: 0 Serverless function handlers were kept as entrypoints INFO: Sensor Serverless configuration file sensor [security] (done) | time=20ms INFO: Sensor AWS SAM template file sensor [security] INFO: Sensor AWS SAM template file sensor [security] (done) | time=1ms INFO: ------------- Run sensors on module aspnet-core-dotnet-core.FunctionalTests INFO: Sensor C# Project Type Information [csharp] INFO: Sensor C# Project Type Information [csharp] (done) | time=2ms INFO: Sensor C# Analysis Log [csharp] INFO: Roslyn version: 4.1.0.0 INFO: Language version: CSharp8 INFO: Concurrent execution: disabled INFO: Sensor C# Analysis Log [csharp] (done) | time=1ms INFO: Sensor C# Properties [csharp] INFO: Sensor C# Properties [csharp] (done) | time=1ms INFO: Sensor Text Sensor [text] INFO: 1 source file to be analyzed INFO: 1/1 source file has been analyzed INFO: Sensor Text Sensor [text] (done) | time=4ms INFO: Sensor VB.NET Project Type Information [vbnet] INFO: Sensor VB.NET Project Type Information [vbnet] (done) | time=0ms INFO: Sensor VB.NET Analysis Log [vbnet] INFO: Sensor VB.NET Analysis Log [vbnet] (done) | time=0ms INFO: Sensor VB.NET Properties [vbnet] INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms INFO: Sensor JaCoCo XML Report Importer [jacoco] 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 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms INFO: Sensor CSS Rules [javascript] INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. INFO: Sensor CSS Rules [javascript] (done) | time=0ms INFO: Sensor ThymeLeaf template sensor [securityjavafrontend] INFO: Sensor ThymeLeaf template sensor [securityjavafrontend] (done) | time=1ms INFO: Sensor Serverless configuration file sensor [security] INFO: 0 Serverless function entries were found in the project INFO: 0 Serverless function handlers were kept as entrypoints INFO: Sensor Serverless configuration file sensor [security] (done) | time=1ms INFO: Sensor AWS SAM template file sensor [security] INFO: Sensor AWS SAM template file sensor [security] (done) | time=0ms INFO: ------------- Run sensors on module aspnet-core-dotnet-core.UnitTests INFO: Sensor C# Project Type Information [csharp] INFO: Sensor C# Project Type Information [csharp] (done) | time=0ms INFO: Sensor C# Analysis Log [csharp] INFO: Roslyn version: 4.1.0.0 INFO: Language version: CSharp8 INFO: Concurrent execution: disabled INFO: Sensor C# Analysis Log [csharp] (done) | time=1ms INFO: Sensor C# Properties [csharp] INFO: Sensor C# Properties [csharp] (done) | time=1ms INFO: Sensor Text Sensor [text] INFO: 1 source file to be analyzed INFO: 1/1 source file has been analyzed INFO: Sensor Text Sensor [text] (done) | time=3ms INFO: Sensor VB.NET Project Type Information [vbnet] INFO: Sensor VB.NET Project Type Information [vbnet] (done) | time=0ms INFO: Sensor VB.NET Analysis Log [vbnet] INFO: Sensor VB.NET Analysis Log [vbnet] (done) | time=1ms INFO: Sensor VB.NET Properties [vbnet] INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms INFO: Sensor JaCoCo XML Report Importer [jacoco] 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 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=0ms INFO: Sensor CSS Rules [javascript] INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. INFO: Sensor CSS Rules [javascript] (done) | time=0ms INFO: Sensor ThymeLeaf template sensor [securityjavafrontend] INFO: Sensor ThymeLeaf template sensor [securityjavafrontend] (done) | time=1ms INFO: Sensor Serverless configuration file sensor [security] INFO: 0 Serverless function entries were found in the project INFO: 0 Serverless function handlers were kept as entrypoints INFO: Sensor Serverless configuration file sensor [security] (done) | time=1ms INFO: Sensor AWS SAM template file sensor [security] INFO: Sensor AWS SAM template file sensor [security] (done) | time=0ms INFO: ------------- Run sensors on module INFO: Sensor C# Project Type Information [csharp] INFO: Sensor C# Project Type Information [csharp] (done) | time=1ms INFO: Sensor C# Analysis Log [csharp] INFO: Sensor C# Analysis Log [csharp] (done) | time=0ms INFO: Sensor C# Properties [csharp] INFO: Sensor C# Properties [csharp] (done) | time=0ms INFO: Sensor Text Sensor [text] INFO: 0 source files to be analyzed INFO: 0/0 source files have been analyzed INFO: Sensor Text Sensor [text] (done) | time=2ms INFO: Sensor VB.NET Project Type Information [vbnet] INFO: Sensor VB.NET Project Type Information [vbnet] (done) | time=2ms INFO: Sensor VB.NET Analysis Log [vbnet] INFO: Sensor VB.NET Analysis Log [vbnet] (done) | time=1ms INFO: Sensor VB.NET Properties [vbnet] INFO: Sensor VB.NET Properties [vbnet] (done) | time=0ms INFO: Sensor JaCoCo XML Report Importer [jacoco] 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 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms INFO: Sensor CSS Rules [javascript] INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. INFO: Sensor CSS Rules [javascript] (done) | time=1ms INFO: Sensor ThymeLeaf template sensor [securityjavafrontend] INFO: Sensor ThymeLeaf template sensor [securityjavafrontend] (done) | time=0ms INFO: Sensor Serverless configuration file sensor [security] INFO: 0 Serverless function entries were found in the project INFO: 0 Serverless function handlers were kept as entrypoints INFO: Sensor Serverless configuration file sensor [security] (done) | time=0ms INFO: Sensor AWS SAM template file sensor [security] INFO: Sensor AWS SAM template file sensor [security] (done) | time=0ms INFO: Sensor JavaSecuritySensor [security] INFO: Reading type hierarchy from: D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application\.sonarqube\out\.sonar\ucfg2\java INFO: Read 0 type definitions INFO: Reading UCFGs from: D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application\.sonarqube\out\.sonar\ucfg2\java INFO: No UCFGs have been included for analysis. INFO: Sensor JavaSecuritySensor [security] (done) | time=4ms INFO: Sensor CSharpSecuritySensor [security] INFO: Reading type hierarchy from: D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application\.sonarqube\out\ucfg_cs2 INFO: Read 17 type definitions INFO: Reading UCFGs from: D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application\.sonarqube\out\ucfg_cs2 INFO: 10:40:21.5022179 Building Runtime Type propagation graph INFO: 10:40:21.5274996 Running Tarjan on 480 nodes INFO: 10:40:21.5351656 Tarjan found 480 components INFO: 10:40:21.537166 Variable type analysis: done INFO: 10:40:21.539976 Building Runtime Type propagation graph INFO: 10:40:21.5504973 Running Tarjan on 480 nodes INFO: 10:40:21.5514943 Tarjan found 480 components INFO: 10:40:21.554497 Variable type analysis: done INFO: Analyzing 61 ucfgs to detect vulnerabilities. INFO: All rules entrypoints : 0 INFO: Retained UCFGs : 0 INFO: Taint analysis starting. Entrypoints: 0 INFO: Taint analysis: done. INFO: Sensor CSharpSecuritySensor [security] (done) | time=1017ms INFO: Sensor PhpSecuritySensor [security] INFO: Reading type hierarchy from: D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application\.sonarqube\out\.sonar\ucfg2\php INFO: Read 0 type definitions INFO: Reading UCFGs from: D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application\.sonarqube\out\.sonar\ucfg2\php INFO: No UCFGs have been included for analysis. INFO: Sensor PhpSecuritySensor [security] (done) | time=3ms INFO: Sensor PythonSecuritySensor [security] INFO: Reading type hierarchy from: D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application\.sonarqube\out\.sonar\ucfg2\python INFO: Read 0 type definitions INFO: Reading UCFGs from: D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application\.sonarqube\out\.sonar\ucfg2\python INFO: No UCFGs have been included for analysis. INFO: Sensor PythonSecuritySensor [security] (done) | time=5ms INFO: Sensor JsSecuritySensor [security] INFO: Reading type hierarchy from: D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application\.sonarqube\out\.sonar\ucfg2\js INFO: Read 0 type definitions INFO: Reading UCFGs from: D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application\.sonarqube\out\.sonar\ucfg2\js INFO: No UCFGs have been included for analysis. INFO: Sensor JsSecuritySensor [security] (done) | time=1ms INFO: ------------- Run sensors on project INFO: Sensor C# [csharp] INFO: Importing results from 6 proto files in 'D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application\.sonarqube\out\1\output-cs' INFO: Importing results from 6 proto files in 'D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application\.sonarqube\out\1.Razor\output-cs' INFO: Importing results from 6 proto files in 'D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application\.sonarqube\out\0\output-cs' INFO: Importing results from 6 proto files in 'D:\a\DevOpsStarterMvc\DevOpsStarterMvc\Application\.sonarqube\out\2\output-cs' INFO: Importing 4 Roslyn reports INFO: Found 3 MSBuild C# projects: 1 MAIN project. 2 TEST projects. INFO: Sensor C# [csharp] (done) | time=178ms INFO: Sensor C# Tests Coverage Report Import [csharp] WARN: Could not find any coverage report file matching the pattern '$(Agent.TempDirectory)\**\*.coveragexml'. Troubleshooting guide: https://community.sonarsource.com/t/37151 INFO: Sensor C# Tests Coverage Report Import [csharp] (done) | time=4ms INFO: Sensor C# Unit Test Results Import [csharp] INFO: Sensor C# Unit Test Results Import [csharp] (done) | time=3ms INFO: Sensor Zero Coverage Sensor INFO: Sensor Zero Coverage Sensor (done) | time=16ms INFO: CPD Executor 7 files had no CPD blocks INFO: CPD Executor Calculating CPD for 12 files INFO: CPD Executor CPD calculation finished (done) | time=15ms INFO: Analysis report generated in 555ms, dir size=790 KB INFO: Analysis report compressed in 86ms, zip size=204 KB INFO: Analysis report uploaded in 543ms INFO: ANALYSIS SUCCESSFUL, you can find the results at: INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report INFO: More about the report processing at INFO: Analysis total time: 43.493 s INFO: ------------------------------------------------------------------------ INFO: EXECUTION SUCCESS INFO: ------------------------------------------------------------------------ INFO: Total time: 1:20.727s INFO: Final Memory: 34M/117M INFO: ------------------------------------------------------------------------ The SonarScanner CLI has finished 10:40:30.903 Post-processing succeeded.