I’m trying to use the new source-based coverage reporting in
rust with codecov and it looks like I got everything working, the coverage report gets generated and reported, but in the end when I try to navigate to the coverage results all I get is an http 500 error with little additional information about what is wrong.
A link to the repository in question
CI/CD or Build URL
Github actions uploader which seems to use the bash uploader
Run codecov/codecov-action@v1 with: /usr/bin/bash codecov.sh -Q github-action -n -F _____ _ / ____| | | | | ___ __| | ___ ___ _____ __ | | / _ \ / _` |/ _ \/ __/ _ \ \ / / | |___| (_) | (_| | __/ (_| (_) \ V / \_____\___/ \__,_|\___|\___\___/ \_/ Bash-20201116-eea08d9 ==> 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 2 reports ==> Detecting git/mercurial file structure ==> Reading reports + ./.github/workflows/coverage.yml bytes=1162 + ./coverage.txt bytes=16374077 ==> Appending adjustments https://docs.codecov.io/docs/fixing-reports -> No adjustments found ==> Gzipping contents ==> Uploading reports url: https://codecov.io query: branch=jane%2Fsource-coverage&commit=c62a091f9f0c38130663c8983547017b7fea3ebd&build=366901525&build_url=http%3A%2F%2Fgithub.com%2FZcashFoundation%2Fzebra%2Factions%2Fruns%2F366901525&name=&tag=&slug=ZcashFoundation%2Fzebra&service=github-actions&flags=&pr=1293&job=&cmd_args=Q,n,F -> Pinging Codecov https://codecov.io/upload/v4?package=github-action-20201116-eea08d9&token=secret&branch=jane%2Fsource-coverage&commit=c62a091f9f0c38130663c8983547017b7fea3ebd&build=366901525&build_url=http%3A%2F%2Fgithub.com%2FZcashFoundation%2Fzebra%2Factions%2Fruns%2F366901525&name=&tag=&slug=ZcashFoundation%2Fzebra&service=github-actions&flags=&pr=1293&job=&cmd_args=Q,n,F -> Uploading to https://storage.googleapis.com/codecov/v4/raw/2020-11-16/35FC0F804A0DEBA781511E9D2BE8E078/fc861bbc5df8dc110b6fb38e8f7c2d19913f2c57/b0d713ed-ec82-47c5-a404-c403e4859786.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201116%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201116T220749Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b4b7a503cf72cc98f7aa166bed2a54d0c713248838df231f9ccf4be1eb741519 % 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 3218k 0 0 100 3218k 0 8605k --:--:-- --:--:-- --:--:-- 8605k -> View reports at https://codecov.io/github/ZcashFoundation/zebra/commit/fc861bbc5df8dc110b6fb38e8f7c2d19913f2c57
I’d have expected to either see an error indicating that the coverage format was incorrect or see the coverage results when I navigated to the coverage report.
Upload apparently excited successfully but the report was empty