Please check the troubleshooting guide before creating a ticket.
Description
Using the python uploader in a test container on CodeFresh. The upload shows it went but seems to be stuck in processing and can’t find commit in github.
Description of the issue
Repository
A link to the repository in question (or private)
CI/CD
CodeFresh
Uploader
codecov python
Commit SHAs
Collecting reports
- /codefresh/volume/splice/coverage.xml bytes=184673
==> Uploading
.url https://codecov.io
.query commit=5523a777d6c6ebdb7db61483f6fb73691308ab82&branch=feature%2FAMLG-3087-update-codecov&token=<secret>&package=py2.1.9
Gzipping contents..
Compressed contents to 12726 bytes
Pinging Codecov...
Uploading to S3...
https://codecov.io/github/cbsiamlg/splice/commit/5523a777d6c6ebdb7db61483f6fb73691308ab82
Codecov YAML
codecov:
token: $CODECOV_TOKEN
ci:
- “codefresh”
max_report_age: 24
disable_default_path_fixes: no
require_ci_to_pass: yes
notify:
after_n_builds: 2
wait_for_ci: yes
coverage:
range: “50…75”
round: down
precision: 2
status:
project:
default:
target: auto
threshold: 5%
paths:
- “video_app/**/*”
if_no_uploads: error
if_not_found: success
if_ci_failed: error
comment:
layout: “reach, diff, files, flags”
behavior: default
require_changes: true
branches:
- develop
- master
ignore:
- “tests/test_.py"
- "video_app/migrations/”
- “video_app/management/"
- "model_dev/**/”
- “mysql/"
- "temp_asset/**/”
- “credentials//"
- "splice/"
- "infrastructure//*”
Codecov Output
Detecting CI provider
Error running `['git', 'rev-parse', '--abbrev-ref', 'HEAD']`: [Errno 2] No such file or directory: 'git': 'git'
Error running `['hg', 'branch']`: [Errno 2] No such file or directory: 'hg': 'hg'
→ Got branch from git/hg
Error running `['git', 'rev-parse', 'HEAD']`: [Errno 2] No such file or directory: 'git': 'git'
Error running `['hg', 'id', '-i', '--debug', '|', 'tr', '-d', "'+'"]`: [Errno 2] No such file or directory: 'hg': 'hg'
→ Got sha from git/hg
==> Preparing upload
Error running `['git', 'ls-files']`: [Errno 2] No such file or directory: 'git': 'git'
Error running `['git', 'ls-files']`: [Errno 2] No such file or directory: 'git': 'git'
Error running `['hg', 'locate']`: [Errno 2] No such file or directory: 'hg': 'hg'
Additional Information
The command in our test container:
codecov -t “$CODECOV_TOKEN” -b “$CF_BRANCH” --pr “$CF_PULL_REQUEST_NUMBER” --commit=“$CF_REVISION”