-
Notifications
You must be signed in to change notification settings - Fork 298
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
[BUG] Code Coverage is broken #2649
Comments
[Triage] Hi @peternied, thank you for taking the time to file this issue. I see you labelled this as a good first issue, and we definitely agree. Thank you. |
### Description Seeing a ton of CI failures due to code coverage upload failures. I'd like to fix this - but I'd rather keep the builds flowing in until we have a better solution. E.g: https://github.com/opensearch-project/security/actions/runs/6153593099/job/16697726519?pr=3339 - Related #2649 ### Check List - [ ] New functionality includes testing - [ ] New functionality has been documented - [X] Commits are signed per the DCO using --signoff By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check [here](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin). Signed-off-by: Peter Nied <petern@amazon.com>
### Description Seeing a ton of CI failures due to code coverage upload failures. I'd like to fix this - but I'd rather keep the builds flowing in until we have a better solution. E.g: https://github.com/opensearch-project/security/actions/runs/6153593099/job/16697726519?pr=3339 - Related #2649 ### Check List - [ ] New functionality includes testing - [ ] New functionality has been documented - [X] Commits are signed per the DCO using --signoff By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check [here](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin). Signed-off-by: Peter Nied <petern@amazon.com> (cherry picked from commit 6d78bce) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Looks like this wasn't fixed, taking another attempt to fix this |
### Description Fix the association of code coverage results with source code. You'll have seen how this was broken because we stopped getting the comment on PRs with coverage information. My apologies for breaking this in the most recent change to centralized the CC runs. ### Issues Resolved - Resolves #2649 ### Testing ✅ Inspection CC report on this PR, see [[link]](#3668 (comment)). ### Check List - [ ] ~New functionality includes testing~ - [ ] ~New functionality has been documented~ - [X] Commits are signed per the DCO using --signoff By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check [here](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin). --------- Signed-off-by: Peter Nied <petern@amazon.com>
Going to keep this opened until the backport [1] is created and merged into 2.x |
Just FYI, I did not actually close this on you, I think it auto closed when I merged that PR @peternied |
I haven't seen failures on CC in the past several days, and the PR I had out wasn't making any difference |
What is the bug?
Code coverage is being uploaded on pull requests due to errors:
JDK11 build [Source]
JDK17 build [Source]
What is the expected behavior?
Looks like our github action is uses: codecov/codecov-action@v1 this is deprecated and should be replaced with v3 - see details from https://github.com/codecov/codecov-action#%EF%B8%8F--deprecation-of-v1
The text was updated successfully, but these errors were encountered: