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.
I understand that the community boards are a free, best-effort tool. While we hope to have someone on the Codecov team resolve your problem quickly, this is not always possible.
Description
We have codecov report as a required check in our github PRs. Earlier we had the issue of report upload failure [1]. We fixed this issue by providing CODECOV_TOKEN as a github secret and now the upload step does not fail.
However, now there is an intermittent issue where the code coverage report is not shown in the PR. But the report upload status shows it as a success.
[1] Upload Issues (`Unable to locate build via Github Actions API`)
CI/CD URL
Codecov Output
Please provide the full output of running the uploader on your CI/CD. This will typically have the Codecov logo as ASCII.
Run codecov/codecov-action@v2
==> linux OS detected
https://uploader.codecov.io/latest/linux/codecov.SHA256SUM
==> SHASUM file signed by key id 806bb28aed779869
==> Uploader SHASUM verified (080b43eaec3434326bb0f61653a82d27aba15c311ddde9d3f68cb364314f7aae codecov)
==> Running version latest
==> Running version v0.3.5
/home/runner/work/_actions/codecov/codecov-action/v2/dist/codecov -n -Q github-action-2.1.0 -C fa2871dcc35a951305412c717d7652fb73c343c0
[2023-03-09T17:22:25.232Z] ['info']
_____ _
/ ____| | |
| | ___ __| | ___ ___ _____ __
| | / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| | __/ (_| (_) \ V /
\_____\___/ \__,_|\___|\___\___/ \_/
Codecov report uploader 0.3.5
[2023-03-09T17:22:25.242Z] ['info'] => Project root located at: /home/runner/work/module-ballerina-oauth2/module-ballerina-oauth2
[2023-03-09T17:22:25.246Z] ['info'] -> Token found by environment variables
[2023-03-09T17:22:25.256Z] ['info'] Searching for coverage files...
[2023-03-09T17:22:25.486Z] ['info'] Warning: Some files located via search were excluded from upload.
[2023-03-09T17:22:25.486Z] ['info'] If Codecov did not locate your files, please review https://docs.codecov.com/docs/supported-report-formats
[2023-03-09T17:22:25.486Z] ['info'] => Found 1 possible coverage files:
ballerina/target/report/oauth2/coverage-report.xml
[2023-03-09T17:22:25.486Z] ['info'] Processing /home/runner/work/module-ballerina-oauth2/module-ballerina-oauth2/ballerina/target/report/oauth2/coverage-report.xml...
[2023-03-09T17:22:25.493Z] ['info'] Using manual override from args.
[2023-03-09T17:22:25.493Z] ['info'] Detected GitHub Actions as the CI provider.
[2023-03-09T17:22:25.495Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=github-action-2.1.0-uploader-0.3.5&token=*******&branch=load-test-results&build=4376805991&build_url=https%3A%2F%2Fgithub.com%2Fballerina-platform%2Fmodule-ballerina-oauth2%2Factions%2Fruns%2F4376805991&commit=fa2871dcc35a951305412c717d7652fb73c343c0&job=PR+build&pr=930&service=github-actions&slug=ballerina-platform%2Fmodule-ballerina-oauth2&name=&tag=&flags=&parent=
[2023-03-09T17:22:37.896Z] ['info'] https://app.codecov.io/github/ballerina-platform/module-ballerina-oauth2/commit/fa2871dcc35a951305412c717d7652fb73c343c0
https://storage.googleapis.com/codecov/v4/raw/2023-03-09/ED1151E2687A8D369723D81C2DB4238C/fa2871dcc35a951305412c717d7652fb73c343c0/39a39006-d023-4ad6-9a5f-1419e509c715.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230309%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230309T172237Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6ab9a3d28e85b04ff773d9511d41fa0f7da7459aed8b1ccbee97292a3b788f26
[2023-03-09T17:22:37.897Z] ['info'] Uploading...
[2023-03-09T17:22:38.078Z] ['info'] {"status":"success","resultURL":"https://app.codecov.io/github/ballerina-platform/module-ballerina-oauth2/commit/fa2871dcc35a951305412c717d7652fb73c343c0"}
Expected Results
Codecoverage results reflected in the PR.
Actual Results
No code coverage information
Additional Information
This is intermittent and occurs rarely.