Before submitting a topic, please confirm the following
I have searched for similar issues before creating this topic.
I have verified that my repository is using the Codecov GitHub app, if using GitHub
I have validated my codecov.yaml
configuration file.
I have filled out the below sections to the best of my ability.
Description
I keep getting errors running the uploader as following:
[‘error’] There was an error running the uploader: Error uploading to https://codecov.io: Error: There was an error fetching the storage URL during POST: 400 - Invalid request parameters
It seems that some branches succeed and others fail in the same repository.
CI/CD URL
Fail
- https://github.com/mochipon/pysesameos2/runs/7607762359?check_suite_focus=true
- https://github.com/mochipon/pysesameos2/runs/7607767140?check_suite_focus=true
Success
Codecov Output
Run codecov/codecov-action@v3
with:
fail_ci_if_error: true
token: ***
files: coverage.xml
env:
pythonLocation: /opt/hostedtoolcache/Python/3.7.13/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.7.13/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.7.13/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.7.13/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.7.13/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.7.13/x64/lib
==> linux OS detected
https://uploader.codecov.io/latest/linux/codecov.SHA256SUM
==> SHASUM file signed by key id 806bb28aed779869
==> Uploader SHASUM verified (432553f03714a83ab5cac78be2e7fe6a6050767f78f77e9c7a84bdb1c34a0bd3 codecov)
==> Running version latest
==> Running version v0.2.4
/home/runner/work/_actions/codecov/codecov-action/v3/dist/codecov -n -Q github-action-3.1.0 -Z -f coverage.xml -C e3c143b2eb26ba9dced4edb3c79f03ab4dab751f
[2022-08-01T08:55:53.411Z] ['info']
_____ _
/ ____| | |
| | ___ __| | ___ ___ _____ __
| | / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| | __/ (_| (_) \ V /
\_____\___/ \__,_|\___|\___\___/ \_/
Codecov report uploader 0.2.4
[2022-08-01T08:55:53.418Z] ['info'] => Project root located at: /home/runner/work/pysesameos2/pysesameos2
[2022-08-01T08:55:53.421Z] ['info'] -> Token found by environment variables
[2022-08-01T08:55:53.429Z] ['info'] Searching for coverage files...
[2022-08-01T08:55:53.502Z] ['info'] => Found 1 possible coverage files:
coverage.xml
[2022-08-01T08:55:53.503Z] ['info'] Processing /home/runner/work/pysesameos2/pysesameos2/coverage.xml...
[2022-08-01T08:55:53.506Z] ['info'] Using manual override from args.
[2022-08-01T08:55:53.507Z] ['info'] Detected GitHub Actions as the CI provider.
[2022-08-01T08:55:53.508Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=github-action-3.1.0-uploader-0.2.4&token=*******&branch=renovate%2Fbleak-0.x&build=2773540114&build_url=https%3A%2F%2Fgithub.com%2Fmochipon%2Fpysesameos2%2Factions%2Fruns%2F2773540114&commit=e3c143b2eb26ba9dced4edb3c79f03ab4dab751f&job=dev+workflow&pr=61&service=github-actions&slug=mochipon%2Fpysesameos2&name=&tag=&flags=&parent=
[2022-08-01T08:55:53.693Z] ['error'] There was an error running the uploader: Error uploading to https://codecov.io: Error: There was an error fetching the storage URL during POST: 400 - Invalid request parameters
Error: Codecov: Failed to properly upload: The process '/home/runner/work/_actions/codecov/codecov-action/v3/dist/codecov' failed with exit code 255
Expected Results
Upload coverage files successfully.
Actual Results
Keep getting error in uploading.