hugovk/pypistats

Codecov failures

Closed this issue · 7 comments

Codecov is regularly failing to upload coverage, and failing the build.

Possibly same as codecov/codecov-bash#330.

For example: #129 failed 3/24 (12.5%) jobs.

Test / build (3.6, ubuntu-16.04)

Run curl --retry 8 -s https://codecov.io/bash -o codecov.sh
  curl --retry 8 -s https://codecov.io/bash -o codecov.sh
  bash codecov.sh -F GHA_Ubuntu_16
  shell: /bin/bash -e {0}
  env:
    pythonLocation: /opt/hostedtoolcache/Python/3.6.11/x64
    CODECOV_NAME: ubuntu-16.04 Python 3.6
##[error]Process completed with exit code 7.

Test / build (3.7, ubuntu-16.04)

Run curl --retry 8 -s https://codecov.io/bash -o codecov.sh
  curl --retry 8 -s https://codecov.io/bash -o codecov.sh
  bash codecov.sh -F GHA_Ubuntu_16
  shell: /bin/bash -e {0}
  env:
    pythonLocation: /opt/hostedtoolcache/Python/3.7.8/x64
    CODECOV_NAME: ubuntu-16.04 Python 3.7
##[error]Process completed with exit code 7.

Test / build (3.7, windows-latest)

Run curl --retry 8 -s https://codecov.io/bash -o codecov.sh
  curl --retry 8 -s https://codecov.io/bash -o codecov.sh
  bash codecov.sh -F GHA_Windows
  shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
  env:
    pythonLocation: C:\hostedtoolcache\windows\Python\3.7.8\x64
    CODECOV_NAME: windows-latest Python 3.7
/usr/bin/bash: codecov.sh: No such file or directory
##[error]Process completed with exit code 1.

Restarted, 1/24 failed:

Test / build (3.8, ubuntu-16.04)

Run curl --retry 8 -s https://codecov.io/bash -o codecov.sh
  curl --retry 8 -s https://codecov.io/bash -o codecov.sh
  bash codecov.sh -F GHA_Ubuntu_16
  shell: /bin/bash -e {0}
  env:
    pythonLocation: /opt/hostedtoolcache/Python/3.8.3/x64
    CODECOV_NAME: ubuntu-16.04 Python 3.8
##[error]Process completed with exit code 7.

Restarted, 1/12 failed:

Test / build (3.6, ubuntu-18.04)

Run curl --retry 8 -s https://codecov.io/bash -o codecov.sh
  curl --retry 8 -s https://codecov.io/bash -o codecov.sh
  bash codecov.sh -F GHA_Ubuntu_18
  shell: /bin/bash -e {0}
  env:
    pythonLocation: /opt/hostedtoolcache/Python/3.6.11/x64
    CODECOV_NAME: ubuntu-18.04 Python 3.6
##[error]Process completed with exit code 7.

After the next restart they all passed.

So that involved running 48 jobs in total (instead of 24), with 2 restarts, to get past 5 failures.

More failures from #132. First run, 1/24 failed:

  • Test / build (3.7, windows-latest)

Restart, 2/24 failed:

  • Test / build (3.7, ubuntu-16.04)
  • Test / build (3.7, windows-latest)

Restart, 24 passed.

So that involved running 72 jobs in total (instead of 24), with 2 restarts, to get past 3 failures.

More failures from #133. First run, 1/24 failed:

  • Test / build (3.6, ubuntu-16.04) (pull_request)

Restart, 12 passed.

So that involved running 36 jobs in total (instead of 24), with 1 restart, to get past 1 failure.

More in #134. First run, 1/24 failed:

  • Test / build (3.6, ubuntu-16.04) (pull_request)

Restart, 12 passed.

So that involved running 36 jobs in total (instead of 24), with 1 restart, to get past 1 failure.

A couple more in #139.

#149 needed 2 restarts.