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

[chore][CI/CD] Fix failing codecov uploads #9930

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

crobert-1
Copy link
Member

Description:

The build-and-test workflow has been failing consistently the last few days on the upload coverage step. The reason is outlined in open-telemetry/opentelemetry-collector-contrib#32259.

Link to tracking Issue:
Contrib issue, but same underlying cause: open-telemetry/opentelemetry-collector-contrib#32259

Testing:
None yet, the CI/CD tests on this PR should be successful if this works.

@crobert-1 crobert-1 requested review from a team and djaglowski April 9, 2024 18:30
Copy link

codecov bot commented Apr 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.01%. Comparing base (c6d1482) to head (5ccb0f8).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9930      +/-   ##
==========================================
+ Coverage   91.31%   92.01%   +0.70%     
==========================================
  Files         357      357              
  Lines       19202    16464    -2738     
==========================================
- Hits        17534    15150    -2384     
+ Misses       1340      986     -354     
  Partials      328      328              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@codeboten codeboten merged commit 4be76ed into open-telemetry:main Apr 9, 2024
48 checks passed
@github-actions github-actions bot added this to the next release milestone Apr 9, 2024
@crobert-1
Copy link
Member Author

crobert-1 commented Apr 9, 2024

Looks like PRs coming from forks are still failing. The token doesn't seem to be applied in that case.

info - 2024-04-09 19:44:16,576 -- ci service found: github-actions
debug - 2024-04-09 19:44:16,579 -- versioning system found: <class 'codecov_cli.helpers.versioning_systems.GitVersioningSystem'>
debug - 2024-04-09 19:44:16,582 -- versioning system found: <class 'codecov_cli.helpers.versioning_systems.GitVersioningSystem'>
debug - 2024-04-09 19:44:16,585 -- Loading config from /home/runner/work/opentelemetry-collector/opentelemetry-collector/.codecov.yml
debug - 2024-04-09 19:44:16,587 -- Starting create commit process --- {"commit_sha": "c6adfcc53eae21a492d91c27fadfaa4d858250e0", "parent_sha": null, "pr": "9241", "branch": "goleak_service", "slug": "open-telemetry/opentelemetry-collector", "token": null, "service": "github", "enterprise_url": null}
info - 2024-04-09 19:44:16,605 -- The PR is happening in a forked repo. Using tokenless upload.
info - 2024-04-09 19:44:16,870 -- Process Commit creating complete
debug - 2024-04-09 19:44:16,870 -- Commit creating result --- {"result": "RequestResult(error=RequestError(code='HTTP Error 429', params={}, description='{\"detail\":\"Tokenless has reached GitHub rate limit. Please upload using a token: https://docs.codecov.com/docs/adding-the-codecov-token. Expected available in 103 seconds.\"}'), warnings=[], status_code=429, text='{\"detail\":\"Tokenless has reached GitHub rate limit. Please upload using a token: https://docs.codecov.com/docs/adding-the-codecov-token. Expected available in 103 seconds.\"}')"}
error - 2024-04-09 19:44:16,870 -- Commit creating failed: {"detail":"Tokenless has reached GitHub rate limit. Please upload using a token: https://docs.codecov.com/docs/adding-the-codecov-token. Expected available in 103 seconds."}
Error: Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/Wandalen/codecov-action/dist/codecov' failed with exit code 1
Error: Process returned exit code 1

Link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants