Skip to content
This repository was archived by the owner on Feb 24, 2021. It is now read-only.
This repository was archived by the owner on Feb 24, 2021. It is now read-only.

CodeCov Upload Error Message #203

@PlagueHO

Description

@PlagueHO

An error has recently started appearing during upload of the code coverage results to CodeCov.io. This error appears to not actually prevent upload or fail the build, so is not critical.

The error occurs when calling the codecov Python script from this line of the CodeCovIo module.

The output of the codecov python can be seen in the CodeCovUpload.log artifact stored in the AppVeyor build artifacts. This shows no errors:


      _____          _
     / ____|        | |
    | |     ___   __| | ___  ___ _____   __
    | |    / _ \ / _  |/ _ \/ __/ _ \ \ / /
    | |___| (_) | (_| |  __/ (_| (_) \ V /
     \_____\___/ \____|\___|\___\___/ \_/
                                    v2.0.10

�[90m==>�[0m Detecting CI provider
    AppVeyor Detected
�[90m==>�[0m Preparing upload
    Error running `cd 'C:\projects\xnetworking' && git ls-files`: None
�[31mXX>�[0m Skip processing gcov
�[90m==>�[0m Collecting reports
�[31mXX>�[0m Searching for reports disabled
    Targeting specific files
    �[32m+�[0m C:\Users\appveyor\AppData\Local\Temp\1\codeCov.json bytes=1015201
�[90m==>�[0m Uploading
    .url https://codecov.io
    .query service=appveyor&commit=287671eeb0117d7374e8102aaf6c329c9d9a7607&package=py2.0.10&branch=dev&build=bsjueksk050yjjm6&job=PowerShell%2Fxnetworking%2F3.1.786.0&pr=291&slug=PowerShell%2FxNetworking
    Pinging Codecov...
    Uploading to S3...
�[92m    https://codecov.io/github/PowerShell/xNetworking/commit/287671eeb0117d7374e8102aaf6c329c9d9a7607�[0m

It also shows the artifact being uploaded. The result can also be seen in CodeCov.io.

The error seems to occur or be outputted into the error stream somewhere in this Python code:
https://github.com/codecov/codecov-python/blob/master/codecov/__init__.py

The last changes to this code was made 5 days ago. looking back through AppVeyor logs, this error started appearing at least 4 days ago but not more than 6 days ago - so this would track with the recent changes made to the CodeCov Python.

This is occurring in all repos that process and upload code coverage.

Metadata

Metadata

Assignees

Labels

bugThe issue is a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions