codecov-python icon indicating copy to clipboard operation
codecov-python copied to clipboard

The filename, directory name, or volume label syntax is incorrect. FIND: Parameter format not correct Error: No coverage report found

Open evandrocoan opened this issue 6 years ago • 3 comments

IF "%COVERAGE%"=="py36" (coverage report -m)
Name                                              Stmts   Miss  Cover   Missing
-------------------------------------------------------------------------------
all\debug_tools\__init__.py                           2      0   100%   
all\debug_tools\dynamic_iteration.py                187    187     0%   38-498
all\debug_tools\estimated_time_left\__init__.py      92     92     0%   1-112
all\debug_tools\estimated_time_left\examples.py      37     37     0%   1-40
all\debug_tools\lockable_type.py                     66     44    33%   53-69, 77-81, 88-91, 98, 104, 111-114, 121, 128-131, 138, 141, 152-158, 166-176, 182-192
all\debug_tools\logger.py                           464    120    74%   83, 173, 185, 194, 206, 216-222, 239-240, 297, 317-318, 327, 349-350, 359, 381, 395-397, 405-406, 440-441, 444, 447, 538-539, 589-590, 614-617, 622, 658-665, 676-680, 740-744, 753-759, 767, 772, 783, 813, 832, 839-840, 853-855, 863, 866-905, 927-928, 935-959, 994, 1038, 1048-1049, 1065, 1070, 1078-1079
all\debug_tools\stream_replacement_model.py         151     33    78%   74, 123-125, 159, 162, 165, 168, 171, 183, 186, 192, 195, 201, 207, 216, 219, 222, 225, 228, 234, 237, 240, 246, 249, 270, 273, 279, 282, 285, 310, 322-323
all\debug_tools\testing_utilities.py                 48     10    79%   89, 107-111, 121-127
all\debug_tools\utilities.py                        239    118    51%   52-55, 60-61, 71, 76, 87, 90, 93, 115, 142, 253-254, 279-280, 288-290, 298-299, 310-324, 331-341, 349-352, 364, 376-378, 385-392, 401-419, 428-445, 457-489, 505, 508, 514-516, 520-522, 534-540, 543, 556-574
-------------------------------------------------------------------------------
TOTAL                                              1286    641    50%   
IF "%COVERAGE%"=="py36" (coverage --version)
Coverage.py, version 4.0.3.
Documentation at https://coverage.readthedocs.org

IF "%COVERAGE%"=="py36" (codecov -t %CODECOV_TOKEN%)
The filename, directory name, or volume label syntax is incorrect.
FIND: Parameter format not correct
      _____          _
     / ____|        | |
    | |     ___   __| | ___  ___ _____   __
    | |    / _ \ / _  |/ _ \/ __/ _ \ \ / /
    | |___| (_) | (_| |  __/ (_| (_) \ V /
     \_____\___/ \____|\___|\___\___/ \_/
                                    v2.0.15
==> Detecting CI provider
    AppVeyor Detected
==> Preparing upload
    Error running `cd 'C:\projects\pythondebugtools' && git ls-files`: None
==> Processing gcov (disable by -X gcov)
    Executing gcov (find 'C:\projects\pythondebugtools' -not -path './bower_components/**' -not -path './node_modules/**' -not -path './vendor/**' -type f -name '*.gcno'  -exec gcov -pb  {} +)
    Error running `find 'C:\projects\pythondebugtools' -not -path './bower_components/**' -not -path './node_modules/**' -not -path './vendor/**' -type f -name '*.gcno'  -exec gcov -pb  {} +`: None
==> Collecting reports
XX> Searching for reports disabled
Error: No coverage report found
Tip: See all example repositories: https://github.com/codecov?query=example
Support channels:

Source:

  1. https://ci.appveyor.com/project/evandrocoan/pythondebugtools/build/job/enoyc2ks6ai7htww

evandrocoan avatar Oct 13 '18 02:10 evandrocoan

I just manage to fix the Error: No coverage report found by using this command line on AppVeyor:

    - IF "%COVERAGE%"=="py36" (codecov -f coverage.xml -t %CODECOV_TOKEN%)

But the other two error lines remains:

IF "%COVERAGE%"=="py36" (codecov -f coverage.xml -t %CODECOV_TOKEN%)
The filename, directory name, or volume label syntax is incorrect.
FIND: Parameter format not correct
      _____          _
     / ____|        | |
    | |     ___   __| | ___  ___ _____   __
    | |    / _ \ / _  |/ _ \/ __/ _ \ \ / /
    | |___| (_) | (_| |  __/ (_| (_) \ V /
     \_____\___/ \____|\___|\___\___/ \_/
                                    v2.0.15
==> Detecting CI provider
    AppVeyor Detected
==> Preparing upload
    Error running `cd 'C:\projects\pythondebugtools' && git ls-files`: None
==> Processing gcov (disable by -X gcov)
    Executing gcov (find 'C:\projects\pythondebugtools' -not -path './bower_components/**' -not -path './node_modules/**' -not -path './vendor/**' -type f -name '*.gcno'  -exec gcov -pb  {} +)
    Error running `find 'C:\projects\pythondebugtools' -not -path './bower_components/**' -not -path './node_modules/**' -not -path './vendor/**' -type f -name '*.gcno'  -exec gcov -pb  {} +`: None
==> Collecting reports
XX> Searching for reports disabled
    Targeting specific files
    + coverage.xml bytes=49806
==> Uploading
    .url https://codecov.io
    .query commit=a4ba7fe66fd3397dc0871d47c95a613953d96dbe&branch=master&job=evandrocoan%2Fpythondebugtools%2F1.0.292&token=<secret>&service=appveyor&build=wk870p7tp3u8lc4i&slug=evandrocoan%2FDebugTools&package=py2.0.15
    Pinging Codecov...
    Uploading to S3...
    https://codecov.io/github/evandrocoan/DebugTools/commit/a4ba7fe66fd3397dc0871d47c95a613953d96dbe

Source:

  1. https://ci.appveyor.com/project/evandrocoan/pythondebugtools/build/job/wk870p7tp3u8lc4i

evandrocoan avatar Oct 13 '18 03:10 evandrocoan

Why this fix has not been accepted?

I have the same: https://stackoverflow.com/q/59934305/2506522

raczben avatar Feb 04 '20 14:02 raczben

This should also be resolved now as codecov-python now uses python to find the files instead of the find command.

nmoinvaz avatar Dec 02 '20 06:12 nmoinvaz