question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Codecov extremely verbose

See original GitHub issue

I’m new to GitHub Actions and Codecov, so forgive me if I’m just missing something stupid here. But I’m using what I think is a fairly simple setup - mostly default configuration. It seems to be functioning correctly: uploading reports, and adding comments to my PRs.

However, in the workflow I notice there’s a ton of logging going on. It looks like it’s echoing every command to the output multiple times, which is a ton of stuff I’d rather not have to sift through. I’ve set verbose: false, so I’m not sure what else could be causing it.

Here’s a snippet of the beginning of the output, starting with the workflow step definition - maybe you can help me figure out what’s going on here?

Run codecov/codecov-action@v1
  with:
    name: codecov-umbrella
    file: ./test/OnionSeed.UnitTests/TestResults/coverage.netcoreapp3.1.cobertura.xml
    flags: unit,netcoreapp3.1
    fail_ci_if_error: false
    verbose: false
"C:\Program Files\Git\bin\bash.exe" codecov.sh -Q github-action -f ./test/OnionSeed.UnitTests/TestResults/coverage.netcoreapp3.1.cobertura.xml -n codecov-umbrella -F unit,netcoreapp3.1 -v
+ curl_s=

  _____          _
 / ____|        | |
| |     ___   __| | ___  ___ _____   __
| |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| |  __/ (_| (_) \ V /
 \_____\___/ \__,_|\___|\___\___/ \_/
                              Bash-20201217-3d3df35


+ getopts a:A:b:B:cC:dD:e:f:F:g:G:hJ:k:Kn:p:P:Q:q:r:R:s:S:t:T:u:U:vx:X:ZN:- o
+ say '
  _____          _
 / ____|        | |
| |     ___   __| | ___  ___ _____   __
| |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| |  __/ (_| (_) \ V /
 \_____\___/ \__,_|\___|\___\___/ \_/
                              Bash-20201217-3d3df35

'
+ echo -e '
  _____          _
 / ____|        | |
| |     ___   __| | ___  ___ _____   __
| |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| |  __/ (_| (_) \ V /
 \_____\___/ \__,_|\___|\___\___/ \_/
                              Bash-20201217-3d3df35

'
++ command -v git
+ '[' -x /mingw64/bin/git ']'
++ git --version
+ say '   git version 2.29.2.windows.3 found'
   git version 2.29.2.windows.3 found
+ echo -e '   git version 2.29.2.windows.3 found'
++ command -v curl
+ '[' -x /mingw64/bin/curl ']'
++ curl --version
+ say '   curl 7.73.0 (x86_64-w64-mingw32) libcurl/7.73.0 OpenSSL/1.1.1h (Schannel) zlib/1.2.11 brotli/1.0.9 zstd/1.4.5 libidn2/2.3.0 libssh2/1.9.0 nghttp2/1.41.0
Release-Date: 2020-10-14
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp 
Features: AsynchDNS brotli HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz Metalink MultiSSL NTLM SPNEGO SSL SSPI TLS-SRP zstd found'
   curl 7.73.0 (x86_64-w64-mingw32) libcurl/7.73.0 OpenSSL/1.1.1h (Schannel) zlib/1.2.11 brotli/1.0.9 zstd/1.4.5 libidn2/2.3.0 libssh2/1.9.0 nghttp2/1.41.0
Release-Date: 2020-10-14
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp 
Features: AsynchDNS brotli HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz Metalink MultiSSL NTLM SPNEGO SSL SSPI TLS-SRP zstd found
+ echo -e '   curl 7.73.0 (x86_64-w64-mingw32) libcurl/7.73.0 OpenSSL/1.1.1h (Schannel) zlib/1.2.11 brotli/1.0.9 zstd/1.4.5 libidn2/2.3.0 libssh2/1.9.0 nghttp2/1.41.0
Release-Date: 2020-10-14
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp 
Features: AsynchDNS brotli HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz Metalink MultiSSL NTLM SPNEGO SSL SSPI TLS-SRP zstd found'
+ search_in=D:/a/onion-seed/onion-seed
+ '[' '' '!=' '' ']'
+ '[' true = true ']'
+ '[' '' = true ']'
+ '[' '' = true ']'
+ '[' true = true ']'
+ '[' '' = codeship ']'
+ '[' -n '' ']'
+ '[' '' '!=' '' ']'
+ '[' true = true ']'
+ '[' '' = true ']'
+ '[' '' '!=' '' ']'
+ '[' '' '!=' '' ']'
+ '[' true = true ']'
+ '[' '' = true ']'
+ '[' true = true ']'
+ '[' '' = true ']'
+ '[' true = true ']'
+ '[' '' = true ']'
+ '[' true = drone ']'
+ '[' '' = true ']'
+ '[' true = true ']'
+ '[' '' '!=' '' ']'
+ [[ true = \t\r\u\e ]]
+ [[ '' = \t\r\u\e ]]
+ [[ '' = \T\r\u\e ]]
+ '[' true = true ']'
+ '[' '' '!=' '' ']'
+ '[' true = true ']'
+ '[' '' = true ']'
+ '[' '' = true ']'
+ '[' '' = true ']'
+ '[' '' = true ']'
+ '[' '' '!=' '' ']'
+ '[' true '!=' '' ']'
+ say '\033[0;90m==>\033[0m GitHub Actions detected.'
==> GitHub Actions detected.
+ echo -e '\033[0;90m==>\033[0m GitHub Actions detected.'
+ service=github-actions
+ branch=build
+ '[' '' '!=' '' ']'
+ commit=42c9ada630b22b20fd7d52ce4dbcad79592f2ac7
+ slug=TaffarelJr/onion-seed
+ build=429814419
++ urlencode http://github.com/TaffarelJr/onion-seed/actions/runs/429814419
++ echo http://github.com/TaffarelJr/onion-seed/actions/runs/429814419
++ curl -Gso /dev/null -w '%{url_effective}' --data-urlencode @- ''
++ cut -c 3-
++ sed -e s/%0A//
+ build_url=http%3A%2F%2Fgithub.com%2FTaffarelJr%2Fonion-seed%2Factions%2Fruns%2F429814419
+ mc=
+ '[' -n '' ']'
+ [[ '' =~ ^[a-z0-9]{40}[[:space:]][a-z0-9]{40}$ ]]
+ say '    \033[0;90mproject root:\033[0m D:/a/onion-seed/onion-seed'
    project root: D:/a/onion-seed/onion-seed
+ echo -e '    \033[0;90mproject root:\033[0m D:/a/onion-seed/onion-seed'
+ '[' '' '!=' '' ']'
+ '[' build = '' ']'
+ '[' '' = '' ']'
+ '[' '' '!=' '' ']'
+ '[' 42c9ada630b22b20fd7d52ce4dbcad79592f2ac7 = '' ']'
+ '[' '' '!=' '' ']'
+ '[' '' '!=' '' ']'
+ '[' '' '!=' '' ']'
+ '[' TaffarelJr/onion-seed = '' ']'
++ cd D:/a/onion-seed/onion-seed
++ git ls-files '*codecov.yml' '*codecov.yaml'
++ find . -maxdepth 1 -type f -name '*codecov.y*ml'
+ yaml='.codecov.yml
./.codecov.yml'
++ echo '.codecov.yml
./.codecov.yml'
++ head -1
+ yaml=.codecov.yml
+ '[' .codecov.yml '!=' '' ']'
+ say '    \033[0;90mYaml found at:\033[0m .codecov.yml'
+ echo -e '    \033[0;90mYaml found at:\033[0m .codecov.yml'
    Yaml found at: .codecov.yml
+ [[ .codecov.yml != /* ]]
+ yaml=D:/a/onion-seed/onion-seed/.codecov.yml
++ parse_yaml D:/a/onion-seed/onion-seed/.codecov.yml
++ local prefix=

...
(and so on)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
TaffarelJrcommented, Dec 18, 2020

Because I’m great with reading comprehension, 😃 I tried again, this time with the verbose setting left out completely - and it looks like that did the trick:

Run codecov/codecov-action@v1
  with:
    name: codecov-umbrella
    file: ./test/OnionSeed.UnitTests/TestResults/coverage.netcoreapp3.1.cobertura.xml
    flags: unit,netcoreapp3.1
    fail_ci_if_error: false
"C:\Program Files\Git\bin\bash.exe" codecov.sh -Q github-action -f ./test/OnionSeed.UnitTests/TestResults/coverage.netcoreapp3.1.cobertura.xml -n codecov-umbrella -F unit,netcoreapp3.1

  _____          _
 / ____|        | |
| |     ___   __| | ___  ___ _____   __
| |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| |  __/ (_| (_) \ V /
 \_____\___/ \__,_|\___|\___\___/ \_/
                              Bash-20201217-3d3df35


   git version 2.29.2.windows.3 found
   curl 7.73.0 (x86_64-w64-mingw32) libcurl/7.73.0 OpenSSL/1.1.1h (Schannel) zlib/1.2.11 brotli/1.0.9 zstd/1.4.5 libidn2/2.3.0 libssh2/1.9.0 nghttp2/1.41.0
Release-Date: 2020-10-14
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp 
Features: AsynchDNS brotli HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz Metalink MultiSSL NTLM SPNEGO SSL SSPI TLS-SRP zstd found
==> GitHub Actions detected.
    project root: D:/a/onion-seed/onion-seed
    Yaml found at: .codecov.yml
    -> Found 1 reports
==> Detecting git/mercurial file structure
==> Reading reports
    + ./test/OnionSeed.UnitTests/TestResults/coverage.netcoreapp3.1.cobertura.xml bytes=17437
==> Appending adjustments
    https://docs.codecov.io/docs/fixing-reports
    -> No adjustments found
==> Gzipping contents
        4.0K	/tmp/codecov.y91PCm.gz
==> Uploading reports

...
(and so on)
0reactions
thomasrockhucommented, Dec 18, 2020

Thanks for confirming @TaffarelJr, it must be a falsey thing. I’ll make a change on our end in case this comes up again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Codecov Uploader
Codecov uses a separate upload tool to make it easy to upload coverage reports to Codecov for ... It is Highly Recommended to...
Read more >
Error: failed to properly upload · Issue #598 · codecov ... - GitHub
Hi, We are getting failed to properly upload errors in our codecov reports. This is a link to a failed report: test. The...
Read more >
Remove codecov from our pipeline - GitLab.org / gitaly
Codecov makes very verbose messages on merge requests, for analysis of our pipeline coverage. I don't ever look at it, as it seems...
Read more >
code coverage - Why is codedov not showing the report?
I generate the report using codeception using the "Run Codecept coverage" command. Why on the codecov site I see commits and 100% coverage,...
Read more >
CodeCov Test Coverage Integration - AppVeyor
CodeCov visualises code coverage and can enforce standards via GitHub and ... The feedback is immediate and you iterate very quickly.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found