Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coverage report upload fails #1736

Open
btschwertfeger opened this issue Jan 5, 2025 · 0 comments
Open

Coverage report upload fails #1736

btschwertfeger opened this issue Jan 5, 2025 · 0 comments
Assignees
Labels
Medium Medium Priority Issues (to be fixed or re-evaluated in 3 months support

Comments

@btschwertfeger
Copy link

I just found out that the coverage of my project is not being uploaded since a while. The last succeeding upload is three months ago.

The current job log: https://github.com/btschwertfeger/python-kraken-sdk/actions/runs/12467098749/job/34796431566

Configuration: https://github.com/btschwertfeger/python-kraken-sdk/blob/2b97c6b1fe5c64dd605ef0d4e8c24f18b96365fd/.github/codecov.yml

CI Job: https://github.com/btschwertfeger/python-kraken-sdk/blob/2b97c6b1fe5c64dd605ef0d4e8c24f18b96365fd/.github/workflows/_codecov.yaml (called from https://github.com/btschwertfeger/python-kraken-sdk/blob/2b97c6b1fe5c64dd605ef0d4e8c24f18b96365fd/.github/workflows/cicd.yaml#L202-L217)

The log:

Run codecov/codecov-action@1e68e06f1dbfde0e4cefc87efeba9e4643565303
Run CC_ACTION_VERSION=$(cat ${GITHUB_ACTION_PATH}/src/version)
==> Running Action version 5.1.2
Run git config --global --add safe.directory /home/runner/work/python-kraken-sdk/python-kraken-sdk
Run CC_FORK="false"
Run if [ "false" == 'true' ] && [ "$CC_FORK" != 'true' ];
==> Token set from input
Run if [ -z "$CC_BRANCH" ] && [ -z "$CC_TOKEN" ] && [ "$CC_FORK" == 'true' ]
Run if [ -z "$CC_SHA" ];
Run ${GITHUB_ACTION_PATH}/dist/codecov.sh
     _____          _
    / ____|        | |
   | |     ___   __| | ___  ___ _____   __
   | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
   | |___| (_) | (_| |  __/ (_| (_) \ V /
    \_____\___/ \__,_|\___|\___\___/ \_/
                            Wrapper-0.0.[31](https://github.com/btschwertfeger/python-kraken-sdk/actions/runs/12467098749/job/34796431566#step:10:32)
                                  
==> Detected linux
 -> Downloading https://cli.codecov.io/latest/linux/codecov
==> Finishing downloading linux:latest
      Version: v9.1.1
 
gpg: directory '/home/runner/.gnupg' created
gpg: keybox '/home/runner/.gnupg/pubring.kbx' created
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
==> Verifying GPG signature integrity
 -> Downloading https://cli.codecov.io/latest/linux/codecov.SHA256SUM
 -> Downloading https://cli.codecov.io/latest/linux/codecov.SHA256SUM.sig
 
gpg: Signature made Sat Dec  7 16:07:53 2024 UTC
gpg:                using RSA key 27034E7FDB850E0BBC2C62FF806BB28AED779869
gpg: Can't check signature: No public key
==> Could not verify signature. Please contact Codecov if problem continues
codecov: OK
==> CLI integrity verified

 -> Token of length 36 detected
==> Running upload-coverage
      ./codecov --verbose upload-coverage -t <redacted> --git-service github --env OS,PYTHON --file coverage.xml --flag unittests --gcov-executable gcov --name codecov-umbrella
info - 2024-12-23 13:16:52,490 -- ci service found: github-actions
debug - 2024-12-23 13:16:52,496 -- versioning system found: <class 'codecov_cli.helpers.versioning_systems.GitVersioningSystem'>
debug - 2024-12-23 13:16:52,501 -- versioning system found: <class 'codecov_cli.helpers.versioning_systems.GitVersioningSystem'>
debug - 2024-12-23 13:16:52,505 -- Loading config from /home/runner/work/python-kraken-sdk/python-kraken-sdk/.github/codecov.yml
debug - 2024-12-23 13:16:52,509 -- Starting upload coverage --- {"verbose": true, "auto_load_params_from": null, "codecov_yml_path": null, "enterprise_url": null, "version": "cli-9.1.1", "command": "upload-coverage", "git_service": "github", "env_vars": {"OS,PYTHON": null}, "flags": ["unittests"], "gcov_executable": "gcov", "name": "codecov-umbrella", "commit_sha": "2ef96f8fc766e7564888f5d12cfea138da0b89eb", "fail_on_error": false, "slug": "btschwertfeger/python-kraken-sdk", "report_code": "default", "network_root_folder": "/home/runner/work/python-kraken-sdk/python-kraken-sdk", "files_search_root_folder": "/home/runner/work/python-kraken-sdk/python-kraken-sdk", "files_search_exclude_folders": [], "disable_search": false, "disable_file_fixes": false, "build_code": "12[46](https://github.com/btschwertfeger/python-kraken-sdk/actions/runs/12467098749/job/34796431566#step:10:48)7098749", "build_url": "https://github.com/btschwertfeger/python-kraken-sdk/actions/runs/12467098749", "job_code": "CI/CD", "branch": "master", "pull_request_number": null, "plugin_names": ["xcode", "gcov", "pycoverage"], "dry_run": false, "use_legacy_uploader": false, "handle_no_reports_found": false, "report_type": "coverage", "network_filter": null, "network_prefix": null, "gcov_args": null, "gcov_ignore": null, "gcov_include": null, "swift_project": null, "parent_sha": null}
debug - 2024-12-23 13:16:52,509 -- Selected preparation plugins --- {"selected_plugins": ["<class 'codecov_cli.plugins.xcode.XcodePlugin'>", "<class 'codecov_cli.plugins.gcov.GcovPlugin'>", "<class 'codecov_cli.plugins.pycoverage.Pycoverage'>"], "cli_config": {}}
debug - 2024-12-23 13:16:52,509 -- Running preparation plugin: <class 'codecov_cli.plugins.xcode.XcodePlugin'>
debug - 2024-12-23 13:16:52,509 -- Running xcode plugin...
warning - 2024-12-23 13:16:52,509 -- xcrun is not installed or can't be found.
debug - 2024-12-23 13:16:52,510 -- Running preparation plugin: <class 'codecov_cli.plugins.gcov.GcovPlugin'>
debug - 2024-12-23 13:16:52,510 -- Running gcov plugin...
warning - 2024-12-23 13:16:52,630 -- No gcov data found.
debug - 2024-12-23 13:16:52,630 -- Running preparation plugin: <class 'codecov_cli.plugins.pycoverage.Pycoverage'>
info - 2024-12-23 13:16:52,630 -- Generating coverage.xml report in /home/runner/work/python-kraken-sdk/python-kraken-sdk
info - 2024-12-23 13:16:52,994 -- Wrote XML report to coverage.xml
debug - 2024-12-23 13:16:52,995 -- Collecting relevant files
info - 2024-12-23 13:16:53,122 -- Found 1 coverage files to report
info - 2024-12-23 13:16:53,123 -- > /home/runner/work/python-kraken-sdk/python-kraken-sdk/coverage.xml
debug - 2024-12-23 13:16:53,127 -- Selected uploader to use: <class 'codecov_cli.services.upload.upload_sender.UploadSender'>
debug - 2024-12-23 13:16:53,129 -- Sending upload request to Codecov
warning - 2024-12-23 13:16:54,136 -- Request failed. Retrying --- {"retry": 0}
warning - 2024-12-23 13:16:55,640 -- Request failed. Retrying --- {"retry": 1}
warning - 2024-12-23 13:16:57,656 -- Request failed. Retrying --- {"retry": 2}
Traceback (most recent call last):
  File "codecov_cli/main.py", line 89, in <module>
  File "codecov_cli/main.py", line 85, in run
  File "click/core.py", line 1157, in __call__
  File "click/core.py", line 1078, in main
  File "click/core.py", line 1688, in invoke
  File "click/core.py", line 1434, in invoke
  File "click/core.py", line 783, in invoke
  File "click/decorators.py", line 33, in new_func
  File "codecov_cli/commands/upload_coverage.py", line 78, in upload_coverage
  File "click/core.py", line 783, in invoke
  File "codecov_cli/services/upload_coverage/__init__.py", line 50, in upload_coverage_logic
  File "codecov_cli/services/upload/__init__.py", line 135, in do_upload_logic
  File "codecov_cli/services/upload/upload_sender.py", line 85, in send_upload_data
  File "codecov_cli/helpers/request.py", line 82, in wrapper
Exception: Request failed after too many retries

Does anyone has ideas how to trace these back?

@thomasrockhu-codecov thomasrockhu-codecov self-assigned this Jan 7, 2025
@thomasrockhu-codecov thomasrockhu-codecov added support Medium Medium Priority Issues (to be fixed or re-evaluated in 3 months labels Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Medium Medium Priority Issues (to be fixed or re-evaluated in 3 months support
Projects
None yet
Development

No branches or pull requests

2 participants