Codecov suddenly stopped working for Github organization repo

Please check the troubleshooting guide before creating a ticket.

Description

The codecov for a public repo in my Github org has suddenly stopped working. When I log into codecov with my github account, I can no longer see the repo in the list. If I use the URL directly, I can see that no reports have been uploaded: Codecov

It seems to have stopped working 14 days ago.

Repository

CI/CD

Travis CI: Travis CI - Test and Deploy Your Code with Confidence

Uploader

I’m using the bash uploader:

bash <(curl -s https://codecov.io/bash)

Commit SHAs

Any pull requests in the last 14 days

Codecov YAML

coverage:
  status:
    project:
      default:
        target: 90
        threshold: 1
        base: auto

Codecov Output

  _____          _

 / ____|        | |

| |     ___   __| | ___  ___ _____   __

| |    / _ \ / _` |/ _ \/ __/ _ \ \ / /

| |___| (_) | (_| |  __/ (_| (_) \ V /

 \_____\___/ \__,_|\___|\___\___/ \_/

                              Bash-20201009-048fee3

==> Travis CI detected.

    project root: .

    Fixing merge commit SHA

    Yaml found at: .codecov.yml

==> Running gcov in . (disable via -X gcov)

==> Python coveragepy not found

==> Searching for coverage reports in:

    + .

    -> Found 1 reports

==> Detecting git/mercurial file structure

==> Appending build variables

    + TRAVIS_OS_NAME

    + 1.15.x

==> Reading reports

    + ./coverage.txt bytes=29613

==> Appending adjustments

    https://docs.codecov.io/docs/fixing-reports

    + Found adjustments

==> Gzipping contents

==> Uploading reports

    url: https://codecov.io

    query: branch=master&commit=6656c6d447cc7bff12aad94bbce601c1aff0b692&build=399.1&build_url=&name=&tag=&slug=manywho%2Fawsinventory&service=travis&flags=&pr=143&job=738855931&cmd_args=

->  Pinging Codecov

https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=master&commit=6656c6d447cc7bff12aad94bbce601c1aff0b692&build=399.1&build_url=&name=&tag=&slug=manywho%2Fawsinventory&service=travis&flags=&pr=143&job=738855931&cmd_args=

->  Uploading to

<html lang=en>

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: <html lang=en>

    X> Failed to upload

==> Uploading to Codecov

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100  5936  100   104  100  5832     47   2679  0:00:02  0:00:02 --:--:--  2680

    View reports at https://codecov.io/github/manywho/awsinventory/commit/6656c6d447cc7bff12aad94bbce601c1aff0b692

Additional Information

I haven’t changed anything to do with the codecov configuration since it was working correctly

@itmecho, this should be resolved, are you still seeing this issue?

Thanks Tom, I can now see that there is a report generated from my “Try to fix codecov” PR! Do I need to merge this in to get new PRs to work or can I close it?

I still don’t see the repository when I log into codecov, I have to got directly to the URL

@itmecho yes, you will need to merge for new PRs to work (or those PRs will need your changes).

It is really strange that you cannot see the repository, because even opening up your page in an incognito window shows the repo. Can you try clearing your cookies and seeing if that helps?

Thanks, I’ve merged that now.

Yea, it used to appear, now it’s gone. I cleared my cookies and local storage and it still isn’t there. Same thing in private browsing =\

Hmmm, it looks like something has gone wrong with the GitHub integration. Would you be able to logout, revoke the GitHub Oauth access here, and try logging back into Codecov? Note, you will need to reauthorize Codecov.