Description
since adding “.codecov.yml” viewing commits in Web-UI show Unable to find report content in the storage archive.
BUT:
- codecov still adds correct github-checks (
codecov/patch
&codecov/project
) - codecov in branch overview still shows the coverage percentage (and not
Processing
)
I verified:
- no
Processing...
is shown - uploaded data is not empty
- jest coverage (nyc) did not change configuration / version between these commits
- looked for similar issues, but couldnt find any to resolve this
- that commit
1e66e8cb2b244d4c7b7100da7d89b643c2ae802f
fully removed the configuration file again - that the repository is not private
Repository
(branch beta
)
CI/CD
Github Actions
Uploader
Github Actions CodeCov (internally using bash uploader)
Commit SHAs
Last Working: f53df82122c32d1eb70ab6ea4ac9ffe950177a86
(adds “codecov.yml”, but dosnt get detected)
First Not working: c263114674bd333b0ac8acea809897cd15e998b3
(renaming “codecov.yml” to “.codecov.yml”)
Intermediate: 1e66e8cb2b244d4c7b7100da7d89b643c2ae802f
(reverting adding “codecov.yml”)
Current Latest: 12e264312fd5b043bb82dbbccbd77d5db27163dd
Codecov YAML
Default
Codecov Output
from commit 12e264312fd5b043bb82dbbccbd77d5db27163dd
(the current latest commit on branch)
_____ _
/ ____| | |
| | ___ __| | ___ ___ _____ __
| | / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| | __/ (_| (_) \ V /
\_____\___/ \__,_|\___|\___\___/ \_/
Bash-20200917-4e8f14b
==> GitHub Actions detected.
project root: .
Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml
==> Running gcov in . (disable via -X gcov)
==> Python coveragepy not found
==> Searching for coverage reports in:
+ .
-> Found 3 reports
==> Detecting git/mercurial file structure
==> Reading reports
+ ./packages/mongodb-memory-server-core/coverage/clover.xml bytes=53581
+ ./packages/mongodb-memory-server-core/coverage/lcov.info bytes=25712
+ ./packages/mongodb-memory-server-core/coverage/coverage-final.json bytes=185925
==> Appending adjustments
https://docs.codecov.io/docs/fixing-reports
-> No adjustments found
==> Gzipping contents
==> Uploading reports
url: https://codecov.io
query: branch=beta&commit=12e264312fd5b043bb82dbbccbd77d5db27163dd&build=292112067&build_url=http%3A%2F%2Fgithub.com%2Fnodkz%2Fmongodb-memory-server%2Factions%2Fruns%2F292112067&name=&tag=&slug=nodkz%2Fmongodb-memory-server&service=github-actions&flags=&pr=&job=&cmd_args=n,F
-> Pinging Codecov
https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=beta&commit=12e264312fd5b043bb82dbbccbd77d5db27163dd&build=292112067&build_url=http%3A%2F%2Fgithub.com%2Fnodkz%2Fmongodb-memory-server%2Factions%2Fruns%2F292112067&name=&tag=&slug=nodkz%2Fmongodb-memory-server&service=github-actions&flags=&pr=&job=&cmd_args=n,F
-> Uploading to
https://storage.googleapis.com/codecov/v4/raw/2020-10-06/1A2EF88455A7B6909AA0E6007942302D/12e264312fd5b043bb82dbbccbd77d5db27163dd/0b71b2a5-3b3e-4510-8dba-eb7029d58e15.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201006%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201006T200521Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=732313fcd16ca39c4131a850a0c57a533f0207b2f3bc1c10f4c7c923e239f083
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 35393 0 0 100 35393 0 157k --:--:-- --:--:-- --:--:-- 157k
-> View reports at https://codecov.io/github/nodkz/mongodb-memory-server/commit/12e264312fd5b043bb82dbbccbd77d5db27163dd
from commit c263114674bd333b0ac8acea809897cd15e998b3
(that renames “codecov.yml” to “.codecov.yml”)
_____ _
/ ____| | |
| | ___ __| | ___ ___ _____ __
| | / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| | __/ (_| (_) \ V /
\_____\___/ \__,_|\___|\___\___/ \_/
Bash-20200917-4e8f14b
==> GitHub Actions detected.
project root: .
Yaml found at: codecov.yml
==> Running gcov in . (disable via -X gcov)
==> Python coveragepy not found
==> Searching for coverage reports in:
+ .
-> Found 3 reports
==> Detecting git/mercurial file structure
==> Reading reports
+ ./packages/mongodb-memory-server-core/coverage/clover.xml bytes=53593
+ ./packages/mongodb-memory-server-core/coverage/lcov.info bytes=25733
+ ./packages/mongodb-memory-server-core/coverage/coverage-final.json bytes=185946
==> Appending adjustments
https://docs.codecov.io/docs/fixing-reports
-> No adjustments found
==> Gzipping contents
==> Uploading reports
url: https://codecov.io
query: branch=beta&commit=c263114674bd333b0ac8acea809897cd15e998b3&build=291702294&build_url=http%3A%2F%2Fgithub.com%2Fnodkz%2Fmongodb-memory-server%2Factions%2Fruns%2F291702294&name=&tag=&slug=nodkz%2Fmongodb-memory-server&service=github-actions&flags=&pr=&job=&cmd_args=n,F
-> Pinging Codecov
https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=beta&commit=c263114674bd333b0ac8acea809897cd15e998b3&build=291702294&build_url=http%3A%2F%2Fgithub.com%2Fnodkz%2Fmongodb-memory-server%2Factions%2Fruns%2F291702294&name=&tag=&slug=nodkz%2Fmongodb-memory-server&service=github-actions&flags=&pr=&job=&cmd_args=n,F
-> Uploading to
https://storage.googleapis.com/codecov/v4/raw/2020-10-06/1A2EF88455A7B6909AA0E6007942302D/c263114674bd333b0ac8acea809897cd15e998b3/da09de0f-5569-47dd-b363-3a1ac620fb93.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201006%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201006T192451Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b7a398eefc47e43b33eeb81424eb17f8a173c4be8e1ef76f471eed8c446bedf2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 35412 0 0 100 35412 0 187k --:--:-- --:--:-- --:--:-- 187k
-> View reports at https://codecov.io/github/nodkz/mongodb-memory-server/commit/c263114674bd333b0ac8acea809897cd15e998b3
Additional Information
Because of our workflow we currently only work with branch beta
and the mentioned commits are only on that branch at the moment
Here some pictures of what i meant:
Imgur: The magic of the Internet (because “New Users can only embed one media item”)
Edit: in the time this post was processed, and new post came up, which seems to be an similar issue, just that that post is for private repositories