ZERO Test Coverage using coverlet

Hi
I’m using Github Actions to push the analysis converage (coverlet) reports to sonarCloud, but unfortinality every time the coverage shows ZERO.

would appriate any help on this

here is my yml file:

name: SonarCloud
on:
  push:
    branches:
      - main
  pull_request:
    types: [opened, synchronize, reopened]
jobs:
  build:
    name: Build and analyze
    runs-on: windows-latest
    env:
      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 
      SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
    steps:
      - name: Set up JDK 17
        uses: actions/setup-java@v3
        with:
          java-version: 17
          distribution: 'zulu' # Alternative distribution options are available.
      - uses: actions/checkout@v3
        with:
          fetch-depth: 0  # Shallow clones should be disabled for a better relevancy of analysis
      - name: Cache SonarCloud packages
        uses: actions/cache@v3
        with:
          path: ~\sonar\cache
          key: ${{ runner.os }}-sonar
          restore-keys: ${{ runner.os }}-sonar
      - name: Cache SonarCloud scanner
        id: cache-sonar-scanner
        uses: actions/cache@v3
        with:
          path: .\.sonar\scanner
          key: ${{ runner.os }}-sonar-scanner
          restore-keys: ${{ runner.os }}-sonar-scanner
      - name: Install SonarCloud scanner
        if: steps.cache-sonar-scanner.outputs.cache-hit != 'true'
        shell: powershell
        run: |
          New-Item -Path .\.sonar\scanner -ItemType Directory
          dotnet tool update dotnet-sonarscanner --tool-path .\.sonar\scanner

      - name: 'Add Nuget source'
        run: dotnet nuget add source https://nuget.pkg.github.com/XXXXXXXX/index.json -n 'XXXXXXXX' -u ${{ secrets.NUGET_SOURCE_USERNAME }} -p ${{ secrets.NUGET_SOURCE_TOKEN }} --store-password-in-clear-text

      - name: Build and run tests with Coverlet
        run: dotnet test  /p:CollectCoverage=true /p:IncludeTestAssembly=true /p:CoverletOutputFormat=opencover
      
      - name: Import code coverage to SonarCloud
        env:
          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
        run: | 
          dotnet tool install --global dotnet-sonarscanner 
          dotnet sonarscanner begin /o:"XXXXXXXX" /k:"XXXXXXXX" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" 
          dotnet build
          dotnet test --collect:"XPlat Code Coverage" --format opencover
          dotnet sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"

and here is the log of the last step

Run dotnet tool install --global dotnet-sonarscanner 
  
You can invoke the tool using the following command: dotnet-sonarscanner
Tool 'dotnet-sonarscanner' (version '6.2.0') was successfully installed.
SonarScanner for MSBuild 6.2
Using the .NET Core version of the Scanner for MSBuild
Pre-processing started.
Preparing working directories...
06:48:42.907  Updating build integration targets...
06:48:43.257  Fetching analysis configuration settings...
06:48:44.744  Provisioning analyzer assemblies for cs...
06:48:44.744  Installing required Roslyn analyzers...
06:48:44.745  Processing plugin: csharp version 9.23.2.88755
06:48:45.321  Processing plugin: vbnet version 9.23.2.88755
06:48:45.985  Processing plugin: securitycsharpfrontend version 10.5.0.30668
06:48:48.043  Provisioning analyzer assemblies for vbnet...
06:48:48.043  Installing required Roslyn analyzers...
06:48:48.043  Processing plugin: csharp version 9.23.2.88755
06:48:48.043  Processing plugin: vbnet version 9.23.2.88755
06:48:48.243  Incremental PR analysis: Base branch parameter was not provided.
06:48:48.243  Cache data is empty. A full analysis will be performed.
06:48:48.264  Pre-processing succeeded.
MSBuild version 17.9.8+b34f75857 for .NET
  Determining projects to restore...
  All projects are up-to-date for restore.
D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\API\appsettings.json(16,34): warning S2068: "password" detected here, make sure this is not a hard-coded credential. (https://rules.sonarsource.com/csharp/RSPEC-2068) [D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\API\API.csproj]
  Functions -> D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\Functions\bin\Debug\net8.0\Functions.dll
D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\API\Configuration\MappingConfiguration.cs(16,14): warning S2094: Remove this empty class, write its code or make it an "interface". (https://rules.sonarsource.com/csharp/RSPEC-2094) [D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\API\API.csproj]
D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\API\Services\SampleService.cs(3,14): warning S2094: Remove this empty class, write its code or make it an "interface". (https://rules.sonarsource.com/csharp/RSPEC-2094) [D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\API\API.csproj]
D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\API\Program.cs(24,10): warning S5122: Make sure this permissive CORS policy is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5122) [D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\API\API.csproj]
  API -> D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\API\bin\Debug\net8.0\API.dll
  Sonar: (API.csproj) Project processed successfully
  Determining projects to restore...
D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\Functions.Test\Tests\EmptyTest.cs(6,22): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\Functions.Test\Functions.Test.csproj]
  Functions.Test -> D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\Functions.Test\bin\Debug\net8.0\Functions.Test.dll
  Sonar: (Functions.Test.csproj) Project processed successfully
  Restored C:\Users\runneradmin\AppData\Local\Temp\ormp3fcs.goe\WorkerExtensions.csproj (in 54.43 sec).
  WorkerExtensions -> C:\Users\runneradmin\AppData\Local\Temp\ormp3fcs.goe\buildout\Microsoft.Azure.Functions.Worker.Extensions.dll
D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\.sonarqube\bin\targets\SonarQube.Integration.targets(373,5): warning : The project does not have a valid ProjectGuid. Analysis results for this project will not be uploaded. Project file: C:\Users\runneradmin\AppData\Local\Temp\ormp3fcs.goe\WorkerExtensions.csproj [C:\Users\runneradmin\AppData\Local\Temp\ormp3fcs.goe\WorkerExtensions.csproj]
  Sonar: (WorkerExtensions.csproj) Project processed successfully
  Sonar: (Functions.csproj) Project processed successfully
  API.Test -> D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\API.Test\bin\Debug\net8.0\API.Test.dll
  Sonar: (API.Test.csproj) Project processed successfully
Build succeeded.
D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\API\appsettings.json(16,34): warning S2068: "password" detected here, make sure this is not a hard-coded credential. (https://rules.sonarsource.com/csharp/RSPEC-2068) [D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\API\API.csproj]
D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\API\Configuration\MappingConfiguration.cs(16,14): warning S2094: Remove this empty class, write its code or make it an "interface". (https://rules.sonarsource.com/csharp/RSPEC-2094) [D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\API\API.csproj]
D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\API\Services\SampleService.cs(3,14): warning S2094: Remove this empty class, write its code or make it an "interface". (https://rules.sonarsource.com/csharp/RSPEC-2094) [D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\API\API.csproj]
D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\API\Program.cs(24,10): warning S5122: Make sure this permissive CORS policy is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5122) [D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\API\API.csproj]
D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\Functions.Test\Tests\EmptyTest.cs(6,22): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\Functions.Test\Functions.Test.csproj]
D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\.sonarqube\bin\targets\SonarQube.Integration.targets(373,5): warning : The project does not have a valid ProjectGuid. Analysis results for this project will not be uploaded. Project file: C:\Users\runneradmin\AppData\Local\Temp\ormp3fcs.goe\WorkerExtensions.csproj [C:\Users\runneradmin\AppData\Local\Temp\ormp3fcs.goe\WorkerExtensions.csproj]
    6 Warning(s)
    0 Error(s)
Time Elapsed 00:01:14.73
MSBUILD : error MSB1001: Unknown switch.
    Full command line: 'C:\Program Files\dotnet\sdk\8.0.204\MSBuild.dll -maxcpucount -verbosity:m -restore -target:VSTest -nodereuse:false -nologo -property:VSTestCollect="XPlat Code Coverage" --format opencover -property:VSTestArtifactsProcessingMode=collect -property:VSTestSessionCorrelationId=852_529eccfd-c4f5-4e30-9a80-8e4a940a4619 -distributedlogger:Microsoft.DotNet.Tools.MSBuild.MSBuildLogger,C:\Program Files\dotnet\sdk\8.0.204\dotnet.dll*Microsoft.DotNet.Tools.MSBuild.MSBuildForwardingLogger,C:\Program Files\dotnet\sdk\8.0.204\dotnet.dll'
  Switches appended by response files:
Switch: --format
For switch syntax, type "MSBuild -help"
SonarScanner for MSBuild 6.2
Using the .NET Core version of the Scanner for MSBuild
Post-processing started.
06:50:04.412  06:50:04.412  WARNING: Directory 'C:\Users\runneradmin\AppData\Local\Temp\ormp3fcs.goe' is not located under the base directory 'D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog' and will not be analyzed.
Calling the SonarScanner CLI...
INFO: Scanner configuration file: C:\Users\runneradmin\.dotnet\tools\.store\dotnet-sonarscanner\6.2.0\dotnet-sonarscanner\6.2.0\tools\netcoreapp3.1\any\sonar-scanner-5.0.1.3006\bin\..\conf\sonar-scanner.properties
INFO: Project root configuration file: D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\.sonarqube\out\sonar-project.properties
INFO: SonarScanner 5.0.1.3006
INFO: Java 17.0.11 Azul Systems, Inc. (64-bit)
INFO: Windows Server 2022 10.0 amd64
INFO: User cache: C:\Users\runneradmin\.sonar\cache
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=355ms
INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu
INFO: User cache: C:\Users\runneradmin\.sonar\cache
INFO: Loading required plugins
INFO: Load plugins index
INFO: Load plugins index (done) | time=341ms
INFO: Load/download plugins
INFO: Load/download plugins (done) | time=845ms
INFO: Found an active CI vendor: 'Github Actions'
INFO: Load project settings for component key: 'Asem-MKL_Roxiit.BE.Catalog'
INFO: Load project settings for component key: 'Asem-MKL_Roxiit.BE.Catalog' (done) | time=320ms
INFO: Process project properties
INFO: Project key: Asem-MKL_Roxiit.BE.Catalog
INFO: Base dir: D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog
INFO: Working dir: D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\.sonarqube\out\.sonar
INFO: Load project branches
INFO: Load project branches (done) | time=543ms
INFO: Check ALM binding of project 'Asem-MKL_Roxiit.BE.Catalog'
INFO: Detected project binding: BOUND
INFO: Check ALM binding of project 'Asem-MKL_Roxiit.BE.Catalog' (done) | time=277ms
INFO: Load project pull requests
INFO: Load project pull requests (done) | time=315ms
INFO: Load branch configuration
INFO: Github event: push
INFO: Auto-configuring branch main
INFO: Load branch configuration (done) | time=6ms
INFO: Load quality profiles
INFO: Load quality profiles (done) | time=360ms
INFO: Load active rules
INFO: Load active rules (done) | time=11393ms
INFO: Organization key: asem-mkl
INFO: Branch name: main, type: long-lived
INFO: Preprocessing files...
INFO: 3 languages detected in 20 preprocessed files
INFO: 0 files ignored because of inclusion/exclusion patterns
INFO: 7 files ignored because of scm ignore settings
INFO: Loading plugins for detected languages
INFO: Load/download plugins
INFO: Load/download plugins (done) | time=299ms
INFO: Executing phase 2 project builders
INFO: Executing phase 2 project builders (done) | time=46ms
INFO: Load project repositories
INFO: Load project repositories (done) | time=326ms
INFO: Indexing files...
INFO: Project configuration:
INFO:   Excluded sources: **/build-wrapper-dump.json
INFO: Indexing files of module 'Functions.Test'
INFO:   Base dir: D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\Functions.Test
INFO:   Test paths: GlobalUsings.cs, Tests/EmptyTest.cs
INFO:   Excluded sources: **/build-wrapper-dump.json
INFO: Indexing files of module 'API'
INFO:   Base dir: D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\API
INFO:   Source paths: Configuration/DependencyInjectionConfiguration.cs, Configurat...
INFO:   Excluded sources: **/build-wrapper-dump.json
INFO: Indexing files of module 'Functions'
INFO:   Base dir: D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\Functions
INFO:   Source paths: Program.cs, obj/Debug/net8.0/Functions.GlobalUsings.g.cs, obj...
INFO:   Excluded sources: **/build-wrapper-dump.json
INFO: Indexing files of module 'API.Test'
INFO:   Base dir: D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\API.Test
INFO:   Test paths: Configuration/ApiWebApplicationFactory.cs, GlobalUsings.cs, Tes...
INFO:   Excluded sources: **/build-wrapper-dump.json
INFO: Indexing files of module 'Asem-MKL_Roxiit.BE.Catalog'
INFO:   Base dir: D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog
INFO:   Source paths: .dockerignore
INFO:   Excluded sources: **/build-wrapper-dump.json
INFO: 20 files indexed
INFO: Quality profile for cs: Sonar way
INFO: Quality profile for docker: Sonar way
INFO: Quality profile for json: Sonar way
INFO: ------------- Run sensors on module Functions
INFO: Load metrics repository
INFO: Load metrics repository (done) | time=308ms
INFO: Sensor cache enabled
INFO: Load sensor cache
INFO: Load sensor cache (623 bytes) | time=947ms
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.9.0.0
INFO: Language version: CSharp12
INFO: Concurrent execution: enabled
INFO: Sensor C# Analysis Log [csharp] (done) | time=9ms
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=3ms
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=2ms
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=29ms
INFO: Sensor IaC AzureResourceManager Sensor [iac]
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor IaC AzureResourceManager Sensor [iac] (done) | time=116ms
INFO: Sensor IaC Docker Sensor [iac]
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor IaC Docker Sensor [iac] (done) | time=42ms
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=3ms
INFO: Sensor AWS SAM template file sensor [security]
INFO: Sensor AWS SAM template file sensor [security] (done) | time=1ms
INFO: Sensor AWS SAM Inline template file sensor [security]
INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=1ms
INFO: ------------- Run sensors on module API
INFO: Sensor C# Project Type Information [csharp]
INFO: Sensor C# Project Type Information [csharp] (done) | time=1ms
INFO: Sensor C# Analysis Log [csharp]
INFO: Roslyn version: 4.9.0.0
INFO: Language version: CSharp12
INFO: Concurrent execution: enabled
INFO: Sensor C# Analysis Log [csharp] (done) | time=2ms
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=2ms
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 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=6ms
INFO: Sensor IaC AzureResourceManager Sensor [iac]
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor IaC AzureResourceManager Sensor [iac] (done) | time=4ms
INFO: Sensor IaC Docker Sensor [iac]
INFO: 1 source file to be analyzed
INFO: 1/1 source file has been analyzed
INFO: Sensor IaC Docker Sensor [iac] (done) | time=176ms
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: Sensor AWS SAM Inline template file sensor [security]
INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=0ms
INFO: ------------- Run sensors on module Functions.Test
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.9.0.0
INFO: Language version: CSharp12
INFO: Concurrent execution: enabled
INFO: Sensor C# Analysis Log [csharp] (done) | time=1ms
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (done) | time=1ms
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 IaC Docker Sensor [iac]
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor IaC Docker Sensor [iac] (done) | time=13ms
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=1ms
INFO: Sensor AWS SAM Inline template file sensor [security]
INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=0ms
INFO: ------------- Run sensors on module API.Test
INFO: Sensor C# Project Type Information [csharp]
INFO: Sensor C# Project Type Information [csharp] (done) | time=1ms
INFO: Sensor C# Analysis Log [csharp]
INFO: Roslyn version: 4.9.0.0
INFO: Language version: CSharp12
INFO: Concurrent execution: enabled
INFO: Sensor C# Analysis Log [csharp] (done) | time=4ms
INFO: Sensor C# Properties [csharp]
INFO: Sensor C# Properties [csharp] (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 IaC Docker Sensor [iac]
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor IaC Docker Sensor [iac] (done) | time=9ms
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 AWS SAM Inline template file sensor [security]
INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=1ms
INFO: ------------- Run sensors on module Asem-MKL_Roxiit.BE.Catalog
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 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 IaC Docker Sensor [iac]
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor IaC Docker Sensor [iac] (done) | time=6ms
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 AWS SAM Inline template file sensor [security]
INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=0ms
INFO: Sensor TextAndSecretsSensor [text]
INFO: Available processors: 2
INFO: Using 2 threads for analysis.
INFO: 18 source files to be analyzed
INFO: 18/18 source files have been analyzed
INFO: Sensor TextAndSecretsSensor [text] (done) | time=735ms
INFO: Sensor JavaSecuritySensor [security]
INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5147, S5334, S5883, S6096, S6173, S6287, S6350, S6384, S6390, S6398, S6399, S6547, S6549
INFO: Load type hierarchy and UCFGs: Starting
INFO: Load type hierarchy: Starting
INFO: Reading type hierarchy from: D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\.sonarqube\out\.sonar\ucfg2\java
INFO: Read 0 type definitions
INFO: Load type hierarchy: Time spent was 00:00:00.003
INFO: Load UCFGs: Starting
INFO: Load UCFGs: Time spent was 00:00:00.000
INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.003
INFO: No UCFGs have been included for analysis.
INFO: java security sensor: Time spent was 00:00:00.007
INFO: Sensor JavaSecuritySensor [security] (done) | time=64ms
INFO: Sensor CSharpSecuritySensor [security]
INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5883, S6096, S6173, S6287, S6350, S6399, S6639, S6641
INFO: Load type hierarchy and UCFGs: Starting
INFO: Load type hierarchy: Starting
INFO: Reading type hierarchy from: D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\.sonarqube\out\ucfg2\cs
INFO: Read 5 type definitions
INFO: Load type hierarchy: Time spent was 00:00:00.032
INFO: Load UCFGs: Starting
INFO: Reading UCFGs from: D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\.sonarqube\out\ucfg2\cs
INFO: Load UCFGs: Time spent was 00:00:00.095
INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.130
INFO: Analyzing 7 UCFGs to detect vulnerabilities.
INFO: Check cache: Starting
INFO: Load cache: Starting
INFO: Load cache: Time spent was 00:00:00.000
INFO: Check cache: Time spent was 00:00:00.000
INFO: Create runtime call graph: Starting
INFO: Variable Type Analysis #1: Starting
INFO: Create runtime type propagation graph: Starting
INFO: Create runtime type propagation graph: Time spent was 00:00:00.015
INFO: Run SCC (Tarjan) on 58 nodes: Starting
INFO: Run SCC (Tarjan) on 58 nodes: Time spent was 00:00:00.003
INFO: Tarjan found 58 strongly connected components
INFO: Propagate runtime types to strongly connected components: Starting
INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.004
INFO: Variable Type Analysis #1: Time spent was 00:00:00.025
INFO: Variable Type Analysis #2: Starting
INFO: Create runtime type propagation graph: Starting
INFO: Create runtime type propagation graph: Time spent was 00:00:00.002
INFO: Run SCC (Tarjan) on 58 nodes: Starting
INFO: Run SCC (Tarjan) on 58 nodes: Time spent was 00:00:00.000
INFO: Tarjan found 58 strongly connected components
INFO: Propagate runtime types to strongly connected components: Starting
INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.000
INFO: Variable Type Analysis #2: Time spent was 00:00:00.003
INFO: Create runtime call graph: Time spent was 00:00:00.030
INFO: Load config: Starting
INFO: Load config: Time spent was 00:00:00.398
INFO: Compute entry points: Starting
INFO: Compute entry points: Time spent was 00:00:00.098
INFO: No entry points found.
INFO: csharp security sensor: Time spent was 00:00:00.657
INFO: csharp security sensor: Begin: 2024-04-21T06:50:36.622920900Z, End: 2024-04-21T06:50:37.280918900Z, Duration: 00:00:00.657
  Load type hierarchy and UCFGs: Begin: 2024-04-21T06:50:36.622920900Z, End: 2024-04-21T06:50:36.752921200Z, Duration: 00:00:00.130
    Load type hierarchy: Begin: 2024-04-21T06:50:36.622920900Z, End: 2024-04-21T06:50:36.655920800Z, Duration: 00:00:00.032
    Load UCFGs: Begin: 2024-04-21T06:50:36.655920800Z, End: 2024-04-21T06:50:36.751920700Z, Duration: 00:00:00.095
  Check cache: Begin: 2024-04-21T06:50:36.752921200Z, End: 2024-04-21T06:50:36.752921200Z, Duration: 00:00:00.000
    Load cache: Begin: 2024-04-21T06:50:36.752921200Z, End: 2024-04-21T06:50:36.752921200Z, Duration: 00:00:00.000
  Create runtime call graph: Begin: 2024-04-21T06:50:36.752921200Z, End: 2024-04-21T06:50:36.782921200Z, Duration: 00:00:00.030
    Variable Type Analysis #1: Begin: 2024-04-21T06:50:36.753921600Z, End: 2024-04-21T06:50:36.779915600Z, Duration: 00:00:00.025
      Create runtime type propagation graph: Begin: 2024-04-21T06:50:36.754922100Z, End: 2024-04-21T06:50:36.770921800Z, Duration: 00:00:00.015
      Run SCC (Tarjan) on 58 nodes: Begin: 2024-04-21T06:50:36.771921900Z, End: 2024-04-21T06:50:36.774921900Z, Duration: 00:00:00.003
      Propagate runtime types to strongly connected components: Begin: 2024-04-21T06:50:36.774921900Z, End: 2024-04-21T06:50:36.779915600Z, Duration: 00:00:00.004
    Variable Type Analysis #2: Begin: 2024-04-21T06:50:36.779915600Z, End: 2024-04-21T06:50:36.782921200Z, Duration: 00:00:00.003
      Create runtime type propagation graph: Begin: 2024-04-21T06:50:36.779915600Z, End: 2024-04-21T06:50:36.781920200Z, Duration: 00:00:00.002
      Run SCC (Tarjan) on 58 nodes: Begin: 2024-04-21T06:50:36.781920200Z, End: 2024-04-21T06:50:36.781920200Z, Duration: 00:00:00.000
      Propagate runtime types to strongly connected components: Begin: 2024-04-21T06:50:36.781920200Z, End: 2024-04-21T06:50:36.781920200Z, Duration: 00:00:00.000
  Load config: Begin: 2024-04-21T06:50:36.782921200Z, End: 2024-04-21T06:50:37.181920300Z, Duration: 00:00:00.398
  Compute entry points: Begin: 2024-04-21T06:50:37.181920300Z, End: 2024-04-21T06:50:37.280918900Z, Duration: 00:00:00.098
INFO: csharp security sensor peak memory: 114 MB
INFO: Sensor CSharpSecuritySensor [security] (done) | time=662ms
INFO: Sensor PhpSecuritySensor [security]
INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5335, S5883, S6173, S6287, S6350
INFO: Load type hierarchy and UCFGs: Starting
INFO: Load type hierarchy: Starting
INFO: Reading type hierarchy from: D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\.sonarqube\out\.sonar\ucfg2\php
INFO: Read 0 type definitions
INFO: Load type hierarchy: Time spent was 00:00:00.000
INFO: Load UCFGs: Starting
INFO: Load UCFGs: Time spent was 00:00:00.000
INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.001
INFO: No UCFGs have been included for analysis.
INFO: php security sensor: Time spent was 00:00:00.001
INFO: Sensor PhpSecuritySensor [security] (done) | time=1ms
INFO: Sensor PythonSecuritySensor [security]
INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5147, S5334, S5496, S6287, S6350, S6639, S6680, S6776, S6839
INFO: Load type hierarchy and UCFGs: Starting
INFO: Load type hierarchy: Starting
INFO: Reading type hierarchy from: D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\.sonarqube\out\.sonar\ucfg2\python
INFO: Read 0 type definitions
INFO: Load type hierarchy: Time spent was 00:00:00.001
INFO: Load UCFGs: Starting
INFO: Load UCFGs: Time spent was 00:00:00.001
INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.003
INFO: No UCFGs have been included for analysis.
INFO: python security sensor: Time spent was 00:00:00.003
INFO: Sensor PythonSecuritySensor [security] (done) | time=6ms
INFO: Sensor JsSecuritySensor [security]
INFO: Enabled taint analysis rules: S6287, S5883, S5147, S6350, S2631, S2083, S6105, S5131, S5146, S2076, S5144, S5334, S6096, S3649, S5696
INFO: Load type hierarchy and UCFGs: Starting
INFO: Load type hierarchy: Starting
INFO: Reading type hierarchy from: D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\.sonarqube\out\.sonar\ucfg2\js
INFO: Read 0 type definitions
INFO: Load type hierarchy: Time spent was 00:00:00.000
INFO: Load UCFGs: Starting
INFO: Load UCFGs: Time spent was 00:00:00.000
INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000
INFO: No UCFGs have been included for analysis.
INFO: js security sensor: Time spent was 00:00:00.002
INFO: Sensor JsSecuritySensor [security] (done) | time=3ms
INFO: ------------- Run sensors on project
INFO: Sensor C# [csharp]
INFO: Importing results from 6 proto files in 'D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\.sonarqube\out\1\output-cs'
INFO: Importing results from 6 proto files in 'D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\.sonarqube\out\0\output-cs'
INFO: Importing results from 6 proto files in 'D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\.sonarqube\out\2\output-cs'
INFO: Importing results from 6 proto files in 'D:\a\Roxiit.BE.Catalog\Roxiit.BE.Catalog\.sonarqube\out\3\output-cs'
INFO: Importing 4 Roslyn reports
INFO: Found 4 MSBuild C# projects: 2 MAIN projects. 2 TEST projects.
INFO: Sensor C# [csharp] (done) | time=226ms
INFO: Sensor Analysis Warnings import [csharp]
INFO: Sensor Analysis Warnings import [csharp] (done) | time=4ms
INFO: Sensor C# File Caching Sensor [csharp]
INFO: Sensor C# File Caching Sensor [csharp] (done) | time=6ms
INFO: Sensor Zero Coverage Sensor
INFO: Sensor Zero Coverage Sensor (done) | time=8ms
INFO: CPD Executor 2 files had no CPD blocks
INFO: CPD Executor Calculating CPD for 5 files
INFO: CPD Executor CPD calculation finished (done) | time=12ms
INFO: Analysis report generated in 424ms, dir size=266 KB
INFO: Analysis report compressed in 63ms, zip size=70 KB
INFO: Analysis report uploaded in 606ms
INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=Asem-MKL_Roxiit.BE.Catalog&branch=main
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 https://sonarcloud.io/api/ce/task?id=AY7_a8w_USVGAeGoBUir
INFO: Sensor cache published successfully
INFO: Analysis total time: 29.232 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 34.232s
INFO: Final Memory: 14M/54M
INFO: ------------------------------------------------------------------------
The SonarScanner CLI has finished
06:50:39.838  Post-processing succeeded.

Have you tried passing the appropriate analysis parameter?

It has been fixed, the issue was related the format of the report.

1 Like