"There was an error processing coverage reports"

Hello

I receive “There was an error processing coverage reports.”

The structure of the project

We use private bitbucket repo
I tried but in vain the codecov.yml with
fixes:

  • “/home/mouneer/projectName::”

Command: bash <(curl -s https://codecov.io/bash) -t xx-xx-xx-xx-xx -v

Sample of the output

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


+ search_in=.
+ '[' '' '!=' '' ']'
+ '[' '' = true ']'
+ '[' '' = true ']'
+ '[' '' '!=' '' ']'
+ '[' '' = true ']'
+ '[' '!' -z '' ']'
+ '[' '' '!=' '' ']'
+ '[' '' = true ']'
+ '[' '' '!=' '' ']'
+ '[' '' '!=' '' ']'
+ '[' '' = true ']'
+ '[' '' = true ']'
+ '[' '' = true ']'
+ '[' '' = drone ']'
+ '[' '' = true ']'
+ '[' '' '!=' '' ']'
+ [[ '' = \t\r\u\e ]]
+ [[ '' = \T\r\u\e ]]
+ '[' '' = true ']'
+ '[' '' = true ']'
+ '[' '' = true ']'
+ '[' '' = true ']'
+ '[' '' = true ']'
+ '[' '' '!=' '' ']'
+ '[' '' '!=' '' ']'
+ '[' '' '!=' '' ']'
+ '[' '' = true ']'
+ '[' '' = true ']'
+ '[' '' '!=' '' ']'
+ say '\033[0;31mx>\033[0m No CI provider detected.'
+ echo -e '\033[0;31mx>\033[0m No CI provider detected.'
x> No CI provider detected.
+ say '    Testing inside Docker? \033[0;36mhttp://docs.codecov.io/docs/testing-with-docker\033[0m'
+ echo -e '    Testing inside Docker? \033[0;36mhttp://docs.codecov.io/docs/testing-with-docker\033[0m'
    Testing inside Docker? http://docs.codecov.io/docs/testing-with-docker
+ say '    Testing with Tox? \033[0;36mhttps://docs.codecov.io/docs/python#section-testing-with-tox\033[0m'
+ echo -e '    Testing with Tox? \033[0;36mhttps://docs.codecov.io/docs/python#section-testing-with-tox\033[0m'
    Testing with Tox? https://docs.codecov.io/docs/python#section-testing-with-tox
+ say '    \033[0;90mproject root:\033[0m .'
+ echo -e '    \033[0;90mproject root:\033[0m .'
    project root: .
+ '[' '' '!=' '' ']'
+ '[' '' = '' ']'
++ git rev-parse --abbrev-ref HEAD
+ branch=feature/999
+ '[' feature/999 = HEAD ']'
+ '[' '' = '' ']'
+ mc=
+ '[' -n '' ']'
+ [[ '' =~ ^[a-z0-9]{40}[[:space:]][a-z0-9]{40}$ ]]
+ '[' '' '!=' '' ']'
+ '[' '' = '' ']'
++ git log -1 --format=%H
+ commit=82ef0592c299027e11d61b8d694e612bd0f042e8
+ '[' '' '!=' '' ']'
+ '[' '' '!=' '' ']'
+ '[' '' '!=' '' ']'
+ '[' '' = '' ']'
+ '[' '' = '' ']'
++ git config --get remote.origin.url
+ remote_addr=git@bitbucket.org:xxxx/tttt.git
+ '[' git@bitbucket.org:xxxx/tttt.git '!=' '' ']'
+ echo git@bitbucket.org:xxxx/tttt.git
+ grep -q //
++ echo git@bitbucket.org:xxxx/tttt.git
++ cut -d : -f 2
++ sed -e 's/\.git$//'
+ slug=xxxx/tttt
+ '[' xxxx/tttt = / ']'
++ cd .
++ git ls-files '*codecov.yml' '*codecov.yaml'
++ find . -maxdepth 1 -type f -name '*codecov.y*ml'
+ yaml=./codecov.yml
++ echo ./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=././codecov.yml
++ parse_yaml ././codecov.yml
++ local prefix=
+++ echo @
+++ tr @ '\034'
++ local 's=[[:space:]]*' 'w=[a-zA-Z0-9_]*' $'fs=\034'
++ sed -ne 's|^\([[:space:]]*\)\([a-zA-Z0-9_]*\)[[:space:]]*:[[:space:]]*"\(.*\)"[[:space:]]*$|\1\2\3|p' -e 's|^\([[:space:]]*\)\([a-zA-Z0-9_]*\)[[:space:]]*:[[:space:]]*\(.*\)[[:space:]]*$|\1\2\3|p' ././codecov.yml
++ awk $'-F\034' '{
      indent = length($1)/2;
      vname[indent] = $2;
      for (i in vname) {if (i > indent) {delete vname[i]}}
      if (length($3) > 0) {
         vn=""; if (indent > 0) {vn=(vn)(vname[0])("_")}
         printf("%s%s%s=\"%s\"\n", "",vn, $2, $3);
      }
   }'
+ config=
++ echo ''
++ grep 'codecov_token="'
+ '[' '' '!=' '' ']'
++ echo ''
++ grep 'codecov_url="'
+ '[' '' '!=' '' ']'
++ echo ''
++ grep 'codecov_slug="'
+ '[' '' '!=' '' ']'
+ '[' '' '!=' '' ']'
++ urlencode feature/999
++ echo feature/999
++ curl -Gso /dev/null -w '%{url_effective}' --data-urlencode @- ''
++ cut -c 3-
++ sed -e s/%0A//
+ branch=feature%2F999
++ '[' '' = '' ']'
++ echo ''
++ urlencode ''
++ echo ''
++ curl -Gso /dev/null -w '%{url_effective}' --data-urlencode @- ''
++ cut -c 3-
++ sed -e s/%0A//
++ '[' '' = '' ']'
++ echo ''
++ '[' '' = '' ']'
++ urlencode xxxx/tttt
++ echo xxxx/tttt
++ curl -Gso /dev/null -w '%{url_effective}' --data-urlencode @- ''
++ cut -c 3-
++ sed -e s/%0A//
++ '[' '' = '' ']'
++ echo ''
+ query='branch=feature%2F999       &commit=82ef0592c299027e11d61b8d694e612bd0f042e8       &build=       &build_url=       &name=       &tag=       &slug=xxx%2Fttt       &service=       &flags=       &pr=       &job='
+ '[' '!' -z '' ']'
+ '[' '' '!=' '' ']'
+ '[' 1 = 1 ']'
+ bower_components=bower_components
++ cd .
++ cat .bowerrc
++ echo ''
+ bower_rc=
+ '[' '' '!=' '' ']'
+ '[' 1 = 1 ']'
+ '[' -d /home/mouneer/Library/Developer/Xcode/DerivedData ']'
+ '[' 0 = 1 ']'
+ '[' 1 = 1 ']'
+ say '\033[0;90m==>\033[0m Running gcov in . \033[0;90m(disable via -X gcov)\033[0m'
+ echo -e '\033[0;90m==>\033[0m Running gcov in . \033[0;90m(disable via -X gcov)\033[0m'
==> Running gcov in . (disable via -X gcov)
+ '[' 1 = 0 ']'
+ bash -c 'find . -type f -name '\''*.gcno'\''  -not -path '\''./bower_components/**'\'' -not -path '\''./node_modules/**'\'' -not -path '\''./vendor/**'\'' -exec gcov -pb  {} +'
+ '[' 1 = 1 ']'
+ '[' '!' -f coverage.xml ']'
+ which coverage
+ say '\033[0;90m==>\033[0m Python coveragepy not found'
+ echo -e '\033[0;90m==>\033[0m Python coveragepy not found'
==> Python coveragepy not found
+ '[' '' '!=' '' ']'
+ say '\033[0;90m==>\033[0m Searching for coverage reports in:'
+ echo -e '\033[0;90m==>\033[0m Searching for coverage reports in:'
==> Searching for coverage reports in:
+ for _path in $search_in
+ say '    \033[0;32m+\033[0m .'
++ eval 'find . \(                         -name vendor                         -or -name htmlcov                         -or -name virtualenv                         -or -name js/generated/coverage                         -or -name .virtualenv                         -or -name virtualenvs                         -or -name .virtualenvs                         -or -name .env                         -or -name .envs                         -or -name env                         -or -name .yarn-cache                         -or -name envs                         -or -name .venv                         -or -name .venvs                         -or -name venv                         -or -name venvs                         -or -name .git                         -or -name .hg                         -or -name .tox                         -or -name __pycache__                         -or -name '\''.egg-info*'\''                         -or -name '\''bower_components'\''                         -or -name node_modules                         -or -name '\''conftest_*.c.gcov'\''                     \) -prune -or                     -type f \( -name '\''*coverage*.*'\''                      -or -name '\''nosetests.xml'\''                      -or -name '\''jacoco*.xml'\''                      -or -name '\''clover.xml'\''                      -or -name '\''report.xml'\''                      -or -name '\''*.codecov.*'\''                      -or -name '\''codecov.*'\''                      -or -name '\''cobertura.xml'\''                      -or -name '\''excoveralls.json'\''                      -or -name '\''luacov.report.out'\''                      -or -name '\''coverage-final.json'\''                      -or -name '\''naxsi.info'\''                      -or -name '\''lcov.info'\''                      -or -name '\''lcov.dat'\''                      -or -name '\''*.lcov'\''                      -or -name '\''*.clover'\''                      -or -name '\''cover.out'\''                      -or -name '\''gcov.info'\''                      -or -name '\''*.gcov'\''                      -or -name '\''*.lst'\''                       \)                                          -not -name '\''*.profdata'\''                     -not -name '\''coverage-summary.json'\''                     -not -name '\''phpunit-code-coverage.xml'\''                     -not -name '\''*/classycle/report.xml'\''                     -not -name '\''remapInstanbul.coverage*.json'\''                     -not -name '\''phpunit-coverage.xml'\''                     -not -name '\''*codecov.yml'\''                     -not -name '\''*.serialized'\''                     -not -name '\''.coverage*'\''                     -not -name '\''.*coveragerc'\''                     -not -name '\''*.sh'\''                     -not -name '\''*.bat'\''                     -not -name '\''*.ps1'\''                     -not -name '\''*.env'\''                     -not -name '\''*.cmake'\''                     -not -name '\''*.dox'\''                     -not -name '\''*.ec'\''                     -not -name '\''*.rst'\''                     -not -name '\''*.h'\''                     -not -name '\''*.scss'\''                     -not -name '\''*.o'\''                     -not -name '\''*.proto'\''                     -not -name '\''*.sbt'\''                     -not -name '\''*.xcoverage.*'\''                     -not -name '\''*.gz'\''                     -not -name '\''*.conf'\''                     -not -name '\''*.p12'\''                     -not -name '\''*.csv'\''                     -not -name '\''*.rsp'\''                     -not -name '\''*.m4'\''                     -not -name '\''*.pem'\''                     -not -name '\''*~'\''                     -not -name '\''*.exe'\''                     -not -name '\''*.am'\''                     -not -name '\''*.template'\''                     -not -name '\''*.cp'\''                     -not -name '\''*.bw'\''                     -not -name '\''*.crt'\''                     -not -name '\''*.log'\''                     -not -name '\''*.cmake'\''                     -not -name '\''*.pth'\''                     -not -name '\''*.in'\''                     -not -name '\''*.jar*'\''                     -not -name '\''*.pom*'\''                     -not -name '\''*.png'\''                     -not -name '\''*.jpg'\''                     -not -name '\''*.sql'\''                     -not -name '\''*.jpeg'\''                     -not -name '\''*.svg'\''                     -not -name '\''*.gif'\''                     -not -name '\''*.csv'\''                     -not -name '\''*.snapshot'\''                     -not -name '\''*.mak*'\''                     -not -name '\''*.bash'\''                     -not -name '\''*.data'\''                     -not -name '\''*.py'\''                     -not -name '\''*.class'\''                     -not -name '\''*.xcconfig'\''                     -not -name '\''*.ec'\''                     -not -name '\''*.coverage'\''                     -not -name '\''*.pyc'\''                     -not -name '\''*.cfg'\''                     -not -name '\''*.egg'\''                     -not -name '\''*.ru'\''                     -not -name '\''*.css'\''                     -not -name '\''*.less'\''                     -not -name '\''*.pyo'\''                     -not -name '\''*.whl'\''                     -not -name '\''*.html'\''                     -not -name '\''*.ftl'\''                     -not -name '\''*.erb'\''                     -not -name '\''*.rb'\''                     -not -name '\''*.js'\''                     -not -name '\''*.jade'\''                     -not -name '\''*.db'\''                     -not -name '\''*.md'\''                     -not -name '\''*.cpp'\''                     -not -name '\''*.gradle'\''                     -not -name '\''*.tar.tz'\''                     -not -name '\''*.scss'\''                     -not -name '\''include.lst'\''                     -not -name '\''fullLocaleNames.lst'\''                     -not -name '\''inputFiles.lst'\''                     -not -name '\''createdFiles.lst'\''                     -not -name '\''scoverage.measurements.*'\''                     -not -name '\''test_*_coverage.txt'\''                     -not -name '\''testrunner-coverage*'\''                     -print 2>/dev/null'
+++ find . '(' -name vendor -or -name htmlcov -or -name virtualenv -or -name js/generated/coverage -or -name .virtualenv -or -name virtualenvs -or -name .virtualenvs -or -name .env -or -name .envs -or -name env -or -name .yarn-cache -or -name envs -or -name .venv -or -name .venvs -or -name venv -or -name venvs -or -name .git -or -name .hg -or -name .tox -or -name __pycache__ -or -name '.egg-info*' -or -name bower_components -or -name node_modules -or -name 'conftest_*.c.gcov' ')' -prune -or -type f '(' -name '*coverage*.*' -or -name nosetests.xml -or -name 'jacoco*.xml' -or -name clover.xml -or -name report.xml -or -name '*.codecov.*' -or -name 'codecov.*' -or -name cobertura.xml -or -name excoveralls.json -or -name luacov.report.out -or -name coverage-final.json -or -name naxsi.info -or -name lcov.info -or -name lcov.dat -or -name '*.lcov' -or -name '*.clover' -or -name cover.out -or -name gcov.info -or -name '*.gcov' -or -name '*.lst' ')' -not -name '*.profdata' -not -name coverage-summary.json -not -name phpunit-code-coverage.xml -not -name '*/classycle/report.xml' -not -name 'remapInstanbul.coverage*.json' -not -name phpunit-coverage.xml -not -name '*codecov.yml' -not -name '*.serialized' -not -name '.coverage*' -not -name '.*coveragerc' -not -name '*.sh' -not -name '*.bat' -not -name '*.ps1' -not -name '*.env' -not -name '*.cmake' -not -name '*.dox' -not -name '*.ec' -not -name '*.rst' -not -name '*.h' -not -name '*.scss' -not -name '*.o' -not -name '*.proto' -not -name '*.sbt' -not -name '*.xcoverage.*' -not -name '*.gz' -not -name '*.conf' -not -name '*.p12' -not -name '*.csv' -not -name '*.rsp' -not -name '*.m4' -not -name '*.pem' -not -name '*~' -not -name '*.exe' -not -name '*.am' -not -name '*.template' -not -name '*.cp' -not -name '*.bw' -not -name '*.crt' -not -name '*.log' -not -name '*.cmake' -not -name '*.pth' -not -name '*.in' -not -name '*.jar*' -not -name '*.pom*' -not -name '*.png' -not -name '*.jpg' -not -name '*.sql' -not -name '*.jpeg' -not -name '*.svg' -not -name '*.gif' -not -name '*.csv' -not -name '*.snapshot' -not -name '*.mak*' -not -name '*.bash' -not -name '*.data' -not -name '*.py' -not -name '*.class' -not -name '*.xcconfig' -not -name '*.ec' -not -name '*.coverage' -not -name '*.pyc' -not -name '*.cfg' -not -name '*.egg' -not -name '*.ru' -not -name '*.css' -not -name '*.less' -not -name '*.pyo' -not -name '*.whl' -not -name '*.html' -not -name '*.ftl' -not -name '*.erb' -not -name '*.rb' -not -name '*.js' -not -name '*.jade' -not -name '*.db' -not -name '*.md' -not -name '*.cpp' -not -name '*.gradle' -not -name '*.tar.tz' -not -name '*.scss' -not -name include.lst -not -name fullLocaleNames.lst -not -name inputFiles.lst -not -name createdFiles.lst -not -name 'scoverage.measurements.*' -not -name 'test_*_coverage.txt' -not -name 'testrunner-coverage*' -print
+ files='./coverage/lcov.info
./coverage/clover.xml
./coverage/coverage-final.json'
++ echo './coverage/lcov.info
./coverage/clover.xml
./coverage/coverage-final.json'
++ wc -l
++ tr -d ' '
+ num_of_files=3
+ '[' 3 '!=' '' ']'
+ '[' './coverage/lcov.info
./coverage/clover.xml
./coverage/coverage-final.json' '!=' '' ']'
+ say '    \033[0;90m->\033[0m Found 3 reports'
+ echo -e '    \033[0;90m->\033[0m Found 3 reports'
    -> Found 3 reports
+ '[' './coverage/lcov.info
./coverage/clover.xml
./coverage/coverage-final.json' = '' ']'
+ '[' 1 == 1 ']'
+ say '\033[0;90m==>\033[0m Detecting git/mercurial file structure'
+ echo -e '\033[0;90m==>\033[0m Detecting git/mercurial file structure'
==> Detecting git/mercurial file structure
++ cd .
++ git ls-files
+ network='.commitlintrc.json
+ echo '<<<<<< network'
+ fr=0
+ say '\033[0;90m==>\033[0m Reading reports'
+ echo -e '\033[0;90m==>\033[0m Reading reports'
==> Reading reports
++ echo -e './coverage/lcov.info
./coverage/clover.xml
./coverage/coverage-final.json'
+ IFS=
+ read -r file
++ echo ./coverage/lcov.info
++ tr -d ' '
+ '[' ./coverage/lcov.info '!=' '' ']'
+ '[' -f ./coverage/lcov.info ']'
++ wc -c
+ report_len=70208
+ '[' 70208 -ne 0 ']'
++ echo 70208
++ tr -d ' '
+ say '    \033[0;32m+\033[0m ./coverage/lcov.info \033[0;90mbytes=70208\033[0m'
+ echo -e '    \033[0;32m+\033[0m ./coverage/lcov.info \033[0;90mbytes=70208\033[0m'
    + ./coverage/lcov.info bytes=70208
++ basename ./coverage/lcov.info
+ _filename=lcov.info
+ '[' info = gcov ']'
++ echo ./coverage/lcov.info
++ sed 's|^./||'
+ echo '# path=coverage/lcov.info'
+ cat ./coverage/lcov.info
+ echo '<<<<<< EOF'
+ fr=1
+ '[' 0 = 1 ']'
+ IFS=
+ read -r file
++ echo ./coverage/clover.xml
++ tr -d ' '
+ '[' ./coverage/clover.xml '!=' '' ']'
+ '[' -f ./coverage/clover.xml ']'
++ wc -c
+ report_len=157547
+ '[' 157547 -ne 0 ']'
++ echo 157547
++ tr -d ' '
+ say '    \033[0;32m+\033[0m ./coverage/clover.xml \033[0;90mbytes=157547\033[0m'
+ echo -e '    \033[0;32m+\033[0m ./coverage/clover.xml \033[0;90mbytes=157547\033[0m'
    + ./coverage/clover.xml bytes=157547
++ basename ./coverage/clover.xml
+ _filename=clover.xml
+ '[' xml = gcov ']'
++ echo ./coverage/clover.xml
++ sed 's|^./||'
+ echo '# path=coverage/clover.xml'
+ cat ./coverage/clover.xml
+ echo '<<<<<< EOF'
+ fr=1
+ '[' 0 = 1 ']'
+ IFS=
+ read -r file
++ echo ./coverage/coverage-final.json
++ tr -d ' '
+ '[' ./coverage/coverage-final.json '!=' '' ']'
+ '[' -f ./coverage/coverage-final.json ']'
++ wc -c
+ report_len=445435
+ '[' 445435 -ne 0 ']'
++ echo 445435
++ tr -d ' '
+ say '    \033[0;32m+\033[0m ./coverage/coverage-final.json \033[0;90mbytes=445435\033[0m'
+ echo -e '    \033[0;32m+\033[0m ./coverage/coverage-final.json \033[0;90mbytes=445435\033[0m'
    + ./coverage/coverage-final.json bytes=445435
++ basename ./coverage/coverage-final.json
+ _filename=coverage-final.json
+ '[' json = gcov ']'
++ echo ./coverage/coverage-final.json
++ sed 's|^./||'
+ echo '# path=coverage/coverage-final.json'
+ cat ./coverage/coverage-final.json
+ echo '<<<<<< EOF'
+ fr=1
+ '[' 0 = 1 ']'
+ IFS=
+ read -r file
+ '[' 1 = 0 ']'
+ '[' 1 = 1 ']'
+ say '\033[0;90m==>\033[0m Appending adjustments'
+ echo -e '\033[0;90m==>\033[0m Appending adjustments'
==> Appending adjustments
+ say '    \033[0;36mhttps://docs.codecov.io/docs/fixing-reports\033[0m'
+ echo -e '    \033[0;36mhttps://docs.codecov.io/docs/fixing-reports\033[0m'
    https://docs.codecov.io/docs/fixing-reports
+ empty_line='^[[:space:]]*$'
+ syntax_comment='^[[:space:]]*//.*'
+ syntax_comment_block='^[[:space:]]*(\/\*|\*\/)[[:space:]]*$'
+ syntax_bracket='^[[:space:]]*[\{\}][[:space:]]*(//.*)?$'
+ syntax_list='^[[:space:]]*[][][[:space:]]*(//.*)?$'
+ skip_dirs='-not -path '\''*/bower_components/*'\''              -not -path '\''*/node_modules/*'\'''
+ grep -m1 '.kt$'
+ echo '.editorconfig
+ say '    \033[0;32m+\033[0m Found adjustments'
+ echo -e '    \033[0;32m+\033[0m Found adjustments'
    + Found adjustments
+ echo '# path=fixes'
+ cat /tmp/codecov.adjustments.eLrBXj
+ echo '<<<<<< EOF'
+ rm -rf /tmp/codecov.adjustments.eLrBXj
+ '[' '' '!=' '' ']'
+ '[' 0 '!=' 0 ']'
+ say '\033[0;90m==>\033[0m Gzipping contents'
+ echo -e '\033[0;90m==>\033[0m Gzipping contents'
==> Gzipping contents
+ gzip -nf9 /tmp/codecov.sejqnF
++ echo 'branch=feature%2F999       &commit=82ef0592c299027e11d61b8d694e612bd0f042e8       &build=       &build_url=       &name=       &tag=       &slug=xxx%2Fttt       &service=       &flags=       &pr=       &job='
++ tr -d ' '
+ query='branch=feature%2F999&commit=82ef0592c299027e11d61b8d694e612bd0f042e8&build=&build_url=&name=&tag=&slug=xxx%2Fttt&service=&flags=&pr=&job='
+ say '\033[0;90m==>\033[0m Uploading reports'
+ echo -e '\033[0;90m==>\033[0m Uploading reports'
==> Uploading reports
+ say '    \033[0;90murl:\033[0m https://codecov.io'
+ echo -e '    \033[0;90murl:\033[0m https://codecov.io'
    url: https://codecov.io
+ say '    \033[0;90mquery:\033[0m branch=feature%2F999&commit=82ef0592c299027e11d61b8d694e612bd0f042e8&build=&build_url=&name=&tag=&slug=xxx%2Fttt&service=&flags=&pr=&job='
+ echo -e '    \033[0;90mquery:\033[0m branch=feature%2F999&commit=82ef0592c299027e11d61b8d694e612bd0f042e8&build=&build_url=&name=&tag=&slug=xxx%2Fttt&service=&flags=&pr=&job='
    query: branch=feature%2F999&commit=82ef0592c299027e11d61b8d694e612bd0f042e8&build=&build_url=&name=&tag=&slug=xxx%2Fttt&service=&flags=&pr=&job=
++ echo 'package=bash-20200602-f809a24&token=secret&branch=feature%2F999&commit=82ef0592c299027e11d61b8d694e612bd0f042e8&build=&build_url=&name=&tag=&slug=xxx%2Fttt&service=&flags=&pr=&job='
++ tr -d ' '
+ queryNoToken='package=bash-20200602-f809a24&token=secret&branch=feature%2F999&commit=82ef0592c299027e11d61b8d694e612bd0f042e8&build=&build_url=&name=&tag=&slug=xxx%2Fttt&service=&flags=&pr=&job='
++ echo 'package=bash-20200602-f809a24&token=xxxxxxxxxxxxxx&branch=feature%2F999&commit=82ef0592c299027e11d61b8d694e612bd0f042e8&build=&build_url=&name=&tag=&slug=xxx%2Fttt&service=&flags=&pr=&job='
++ tr -d ' '
+ query='package=bash-20200602-f809a24&token=xxxxxxxxxxxxxxxxxxxxxxxxxxx&branch=feature%2F999&commit=82ef0592c299027e11d61b8d694e612bd0f042e8&build=&build_url=&name=&tag=&slug=xxx%2Fttt&service=&flags=&pr=&job='
+ '[' 1 = 1 ']'
+ i=0
+ '[' 0 -lt 4 ']'
+ i=1
+ say '    \033[0;90m->\033[0m Pinging Codecov'
+ echo -e '    \033[0;90m->\033[0m Pinging Codecov'
    -> Pinging Codecov
+ say 'https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=feature%2F999&commit=82ef0592c299027e11d61b8d694e612bd0f042e8&build=&build_url=&name=&tag=&slug=xxx%2Fttt&service=&flags=&pr=&job='
+ echo -e 'https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=feature%2F999&commit=82ef0592c299027e11d61b8d694e612bd0f042e8&build=&build_url=&name=&tag=&slug=xxx%2Fttt&service=&flags=&pr=&job='
https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=feature%2F999&commit=82ef0592c299027e11d61b8d694e612bd0f042e8&build=&build_url=&name=&tag=&slug=xxx%2Fttt&service=&flags=&pr=&job=
++ curl -X POST -H 'X-Reduced-Redundancy: false' -H 'X-Content-Type: application/x-gzip' 'https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=xxxxxxxxxxxxxxx&branch=feature%2F999&commit=82ef0592c299027e11d61b8d694e612bd0f042e8&build=&build_url=&name=&tag=&slug=xxx%2Fttt&service=&flags=&pr=&job='
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   567  100   567    0     0    336      0  0:00:01  0:00:01 --:--:--   336
+ res='https://codecov.io/bitbucket/xxxx/tttt/commit/82ef0592c299027e11d61b8d694e612bd0f042e8
https://storage.googleapis.com/codecov/v4/raw/2020-06-11/8C1A6AAD91F05E4B0EB7D2060A5BB8B5/82ef0592c299027e11d61b8d694e612bd0f042e8/370d1e2e-5503-4f3e-8f41-74713581cdf5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200611%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200611T115648Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=69b1eec70727957bec25866e9f41cbb01fee563f5a2cdd63ae1673c15388fd33'
++ echo 'https://codecov.io/bitbucket/xxxx/tttt/commit/82ef0592c299027e11d61b8d694e612bd0f042e8
https://storage.googleapis.com/codecov/v4/raw/2020-06-11/8C1A6AAD91F05E4B0EB7D2060A5BB8B5/82ef0592c299027e11d61b8d694e612bd0f042e8/370d1e2e-5503-4f3e-8f41-74713581cdf5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200611%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200611T115648Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=69b1eec70727957bec25866e9f41cbb01fee563f5a2cdd63ae1673c15388fd33'
++ head -1
++ grep 'HTTP '
++ cut '-d ' -f2
+ status=
+ '[' '' = '' ']'
++ echo 'https://codecov.io/bitbucket/xxxx/tttt/commit/82ef0592c299027e11d61b8d694e612bd0f042e8
https://storage.googleapis.com/codecov/v4/raw/2020-06-11/8C1A6AAD91F05E4B0EB7D2060A5BB8B5/82ef0592c299027e11d61b8d694e612bd0f042e8/370d1e2e-5503-4f3e-8f41-74713581cdf5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200611%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200611T115648Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=69b1eec70727957bec25866e9f41cbb01fee563f5a2cdd63ae1673c15388fd33'
++ sed -n 2p
+ s3target='https://storage.googleapis.com/codecov/v4/raw/2020-06-11/8C1A6AAD91F05E4B0EB7D2060A5BB8B5/82ef0592c299027e11d61b8d694e612bd0f042e8/370d1e2e-5503-4f3e-8f41-74713581cdf5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200611%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200611T115648Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=69b1eec70727957bec25866e9f41cbb01fee563f5a2cdd63ae1673c15388fd33'
+ say '    \033[0;90m->\033[0m Uploading'
+ echo -e '    \033[0;90m->\033[0m Uploading'
    -> Uploading
++ curl -fiX PUT --data-binary @/tmp/codecov.sejqnF.gz -H 'Content-Type: application/x-gzip' -H 'Content-Encoding: gzip' 'https://storage.googleapis.com/codecov/v4/raw/2020-06-11/8C1A6AAD91F05E4B0EB7D2060A5BB8B5/82ef0592c299027e11d61b8d694e612bd0f042e8/370d1e2e-5503-4f3e-8f41-74713581cdf5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200611%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200611T115648Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=69b1eec70727957bec25866e9f41cbb01fee563f5a2cdd63ae1673c15388fd33'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 87898    0     0  100 87898      0  66538  0:00:01  0:00:01 --:--:-- 66488
+ s3='HTTP/2 200
x-guploader-uploadid: AAANsUk7kXgt00PA9yA0GxEJud24JU2zeCztqlP-U47jbBgZ7-zFBtCcdjmVeF1ePWPuP5EwO5UCHI3zjPulfeGTe58
etag: "6dee9b6ca4e28d4844e406bb7118b475"
x-goog-generation: 1591876610075410
x-goog-metageneration: 1
x-goog-hash: crc32c=8zC8zA==
x-goog-hash: md5=be6bbKTijUhE5Aa7cRi0dQ==
x-goog-stored-content-length: 87898
x-goog-stored-content-encoding: gzip
vary: Origin
content-length: 0
date: Thu, 11 Jun 2020 11:56:50 GMT
server: UploadServer
content-type: text/html; charset=UTF-8
alt-svc: h3-27=":443"; ma=2592000,h3-25=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q049=":443"; ma=2592000,h3-Q048=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
'
+ '[' 'HTTP/2 200
x-guploader-uploadid: AAANsUk7kXgt00PA9yA0GxEJud24JU2zeCztqlP-U47jbBgZ7-zFBtCcdjmVeF1ePWPuP5EwO5UCHI3zjPulfeGTe58
etag: "6dee9b6ca4e28d4844e406bb7118b475"
x-goog-generation: 1591876610075410
x-goog-metageneration: 1
x-goog-hash: crc32c=8zC8zA==
x-goog-hash: md5=be6bbKTijUhE5Aa7cRi0dQ==
x-goog-stored-content-length: 87898
x-goog-stored-content-encoding: gzip
vary: Origin
content-length: 0
date: Thu, 11 Jun 2020 11:56:50 GMT
server: UploadServer
content-type: text/html; charset=UTF-8
alt-svc: h3-27=":443"; ma=2592000,h3-25=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q049=":443"; ma=2592000,h3-Q048=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
' '!=' '' ']'
++ echo 'https://codecov.io/bitbucket/xxxx/tttt/commit/82ef0592c299027e11d61b8d694e612bd0f042e8
https://storage.googleapis.com/codecov/v4/raw/2020-06-11/8C1A6AAD91F05E4B0EB7D2060A5BB8B5/82ef0592c299027e11d61b8d694e612bd0f042e8/370d1e2e-5503-4f3e-8f41-74713581cdf5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200611%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200611T115648Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=69b1eec70727957bec25866e9f41cbb01fee563f5a2cdd63ae1673c15388fd33'
++ sed -n 1p
+ say '    \033[0;32m->\033[0m View reports at \033[0;36mhttps://codecov.io/bitbucket/xxxx/tttt/commit/82ef0592c299027e11d61b8d694e612bd0f042e8\033[0m'
+ echo -e '    \033[0;32m->\033[0m View reports at \033[0;36mhttps://codecov.io/bitbucket/xxxx/tttt/commit/82ef0592c299027e11d61b8d694e612bd0f042e8\033[0m'
    -> View reports at https://codecov.io/bitbucket/xxxx/tttt/commit/82ef0592c299027e11d61b8d694e612bd0f042e8
+ exit 0

Thanks and best regards
Mahmoud

Thanks and best regards

Hi @m0uneer, I think there is an issue with your team bot. Can you double check that it has the proper read and write permissions? The bot can be found at the bottom of your account yaml page https://codecov.io/account/bb/{organization}/yaml

Thanks Tom for your reply.

I navigated to the yaml page but I found that the editable area is empty with a note “Only team owners may adjust this file.” So I have a question. I have write access to the private repo and I have created the org account myself at Codecov, how come that I’m not an admin?

And should I ask the repo owner to create the account at Codecov instead of me? And should I delete my account?

Thanks for helping and please guide me to the missing part of our configuration

1 Like

Hi @m0uneer, user permissions are tied to Bitbucket-level access due to the nature of the coupling. Unfortunately, this means an admin will have to access this page, or I can send you the username of the bot via DM. You can then check the permissions on that bot to see if it has the correct permissions.

1 Like

Thanks @tom. things are more clear now but also please send me the bot details and how to check its permissions to double check.

Great, I have DMed you. For future users, please check out the team bot documentation as well.

1 Like