Dotnet codecov tool stuck at processing

Description

Codecov is stuck in “Processing…” step for private repo using dotnet tool

Commit SHAs

e.g. 897921210b9026d092e1ac2b8aff68fe5fad5617 but this happen for every commit

Repository

private repository

CI/CD or Build URL

self hosted github action

Uploader

dotnet global tool

Codecov Output

codecov -f "**/TestResults/**/*.xml" -t ***
  shell: C:\Program Files (x86)\PowerShell\7\pwsh.EXE -command ". '{0}'"
  env:
*redacted*
    CODECOV_TOKEN: ***

            _____          _
            / ____|        | |
            | |     ___   __| | ___  ___ _____   __
            | |    / _ \ / _  |/ _ \/ __/ _ \ \ / /
            | |___| (_) | (_| |  __/ (_| (_) \ V /
            \_____\___/ \____|\___|\___\___/ \_/
            exe-1.13.0+7ae0cff1f1999c619ffbbb39430d4e545f25ef14
            
GitHubAction detected.
Git detected.
Project root: *redacted*
Reading reports.
*redacted*\TestResults\05e9fc05-e0fe-456e-abfb-014b3887541c\coverage.opencover.xml
*redacted*\TestResults\8c2ab7a0-d816-47e6-9675-b11bbdb6f6b9\coverage.opencover.xml
*redacted*\TestResults\6dc1aaf5-82c2-4ee7-82f5-a7b1b28dd9f8\coverage.opencover.xml
*redacted*\TestResults\83694003-86cf-4cf2-90be-bfb074a16365\coverage.opencover.xml
Uploading Reports.
url: https://codecov.io
query: https://codecov.io/upload/v4?branch=development%2Fmaster&commit=4a164586d8628c801940a4314ae25d19538630f1&build=871205568&tag=&pr=&name=&flags=&slug=Incpraca%2FIncpraca2Backend&package=exe-1.13.0+7ae0cff1f1999c619ffbbb39430d4e545f25ef14&build_url=https://github.com/Incpraca/Incpraca2Backend/actions/runs/871205568&yaml=codecov.yml&job=&service=github-actions
Pinging Codecov
Uploading
Uploading to S3 https://storage.googleapis.com
View reports at: https://codecov.io/github/Incpraca/Incpraca2Backend/commit/4a164586d8628c801940a4314ae25d19538630f1

Expected Results

A codecov analysis shown at overview and per commit

Actual Results

According to dotnet tool raports were uploaded but I am unable to access them via web interface - " Unable to find report content in the storage archive.". The “Overview” is not showing any updates for any branch

Additional Information

We are using .NET 5 and the tests are run using
dotnet test Tests.sln -c Release --no-build --no-restore --verbosity normal --settings coverlet.runsettings

coverlet.runsettings:

<?xml version="1.0" encoding="utf-8" ?>
<RunSettings>
  <DataCollectionRunSettings>
    <DataCollectors>
      <DataCollector friendlyName="XPlat Code Coverage">
        <Configuration>
          <Format>opencover</Format>
          <Exclude>[*.Test]*,[*]*.Program</Exclude>
          <ExcludeByAttribute>Obsolete,GeneratedCodeAttribute,CompilerGeneratedAttribute</ExcludeByAttribute>
          <SingleHit>false</SingleHit>
          <UseSourceLink>true</UseSourceLink>
          <IncludeTestAssembly>true</IncludeTestAssembly>
        </Configuration>
      </DataCollector>
    </DataCollectors>
  </DataCollectionRunSettings>
</RunSettings>

@romfir I looked up the most recent upload for this repo and it looks like we cannot process the upload. It seems like there are not utf-8 characters in the upload. Are you able to print out the contents of the xml files you are uploading and check?

Can You point me to the non UTF-8 characters in the upload? I’ve used some online UTF-8 validator and according to it these coverage xmls are correct

Hi @romfir, actually I think I mispoke. Would you be able to try the new uploader and see if you are getting the same issue?