Description
Similar to https://github.com/codecov/codecov-action/issues/330 I am getting a failure to build my CI when using the codecov-action repo GitHub Action.
The error is:
Run codecov/codecov-action@v1
with:
fail_ci_if_error: true
env:
USING_COVERAGE: 3.8
TOX_PARALLEL_NO_SPINNER: 1
CONDA_PKGS_DIR: /home/runner/conda_pkgs_dir
/usr/bin/bash codecov.sh -n -F -Q github-action-v1.5.2 -Z
_____ _
/ ____| | |
| | ___ __| | ___ ___ _____ __
| | / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| | __/ (_| (_) \ V /
\_____\___/ \__,_|\___|\___\___/ \_/
Bash-1.0.3
==> git version 2.32.0 found
==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
Release-Date: 2020-01-08
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets
==> GitHub Actions detected.
Env vars used:
-> GITHUB_ACTIONS: true
-> GITHUB_HEAD_REF:
-> GITHUB_REF: refs/heads/master
-> GITHUB_REPOSITORY: lmmx/impscan
-> GITHUB_RUN_ID: 1079804835
-> GITHUB_SHA: f100b3b655cccd7694c1d0f54022555d9b6e0bcd
-> GITHUB_WORKFLOW: CI
project root: .
Yaml found at: codecov.yml
==> Running gcov in . (disable via -X gcov)
==> Searching for coverage reports in:
+ .
-> Found 1 reports
==> Detecting git/mercurial file structure
==> Reading reports
+ ./coverage.xml bytes=47231
==> Appending adjustments
https://docs.codecov.io/docs/fixing-reports
+ Found adjustments
==> Gzipping contents
108K /tmp/codecov.d6DgsW.gz
==> Uploading reports
url: https://codecov.io
query: branch=master&commit=f100b3b655cccd7694c1d0f54022555d9b6e0bcd&build=1079804835&build_url=http%3A%2F%2Fgithub.com%2Flmmx%2Fimpscan%2Factions%2Fruns%2F1079804835&name=&tag=&slug=lmmx%2Fimpscan&service=github-actions&flags=&pr=&job=CI&cmd_args=n,F,Q,Z
-> Pinging Codecov
https://codecov.io/upload/v4?package=github-action-v1.5.2-1.0.3&token=secret&branch=master&commit=f100b3b655cccd7694c1d0f54022555d9b6e0bcd&build=1079804835&build_url=http%3A%2F%2Fgithub.com%2Flmmx%2Fimpscan%2Factions%2Fruns%2F1079804835&name=&tag=&slug=lmmx%2Fimpscan&service=github-actions&flags=&pr=&job=CI&cmd_args=n,F,Q,Z
{'detail': ErrorDetail(string='Could not find a repository, try using upload token', code='not_found')}
404
==> Uploading to Codecov
% 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 105k 100 103 100 105k 313 320k --:--:-- --:--:-- --:--:-- 320k
100 105k 100 103 100 105k 313 320k --:--:-- --:--:-- --:--:-- 320k
{'detail': ErrorDetail(string='Could not find a repository, try using upload token', code='not_found')}
Commit SHAs
f100b3b655cccd7694c1d0f54022555d9b6e0bcd
Repository
CI/CD or Build URL
Uploader
Codecov Output
See above
Expected Results
I’ve used this in another repo and the upload proceeds fine.
…
P.S. after re-running 4 times it finally succeeded (?), but this is going to cause problems if it keeps happening so I thought I should report it!