Problems after migrating from travis-ci.org to travis-ci.com

Description

After migration from travis-ci.org to travis-ci.com Codecov always shows “CI build failed”. Looking at the build the link “View CI” goes to travis-ci.org (of course), but that is just a “migrated” page now.

Is there somewhere I need to change the URL? If so, where is that? Or is there something I need to change on Travis, the YAML files or somewhere else?

Repository

CI/CD

Uploader

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

Commit SHAs

Please include the commit SHA(s)

Codecov YAML

coverage:
  status:
    project:
      default: off
      unittests:
        flags: unittests
      integration:
        flags: integration

ignore:
  - "**/*.mock"
  
flags:
  # filter the folder(s) you wish to measure by that flag
  integration:
    paths:
      - src
  unittests:
    paths:
      - src

```

### Codecov Output

```
$ bash <(curl -s https://codecov.io/bash) -X gcovout
  _____          _
 / ____|        | |
| |     ___   __| | ___  ___ _____   __
| |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| |  __/ (_| (_) \ V /
 \_____\___/ \__,_|\___|\___\___/ \_/
                              Bash-20200728-9fb7d93
==> Travis CI detected.
    project root: /home/travis/build/thoni56/c-xrefactory
--> token set from env
    Yaml found at: .codecov.yml
==> Running gcov in /home/travis/build/thoni56/c-xrefactory (disable via -X gcov)
==> Python coveragepy not found
==> Searching for coverage reports in:
    + /home/travis/build/thoni56/c-xrefactory
    -> Found 80 reports
==> Detecting git/mercurial file structure
==> Appending build variables
    + TRAVIS_OS_NAME
==> Reading reports
    + /home/travis/build/thoni56/c-xrefactory/tests/test_cgram_coverage/cgram_coverage.c bytes=56
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/jslsemact_tests.c.gcov bytes=1920
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/html.mock.gcov bytes=6911
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/yylex_tests.c.gcov bytes=5160
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/options_tests.c.gcov bytes=1216
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/id_tests.c.gcov bytes=1542
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/refactory.mock.gcov bytes=6810
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/filetable.mock.gcov bytes=14856
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/lexer.mock.gcov bytes=880
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/classhierarchy.mock.gcov bytes=4614
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/^#cxref.c.gcov bytes=427174
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/^#commons.c.gcov bytes=22477
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/symbol_tests.c.gcov bytes=1836
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/misc.mock.gcov bytes=130724
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/cexp_parser.mock.gcov bytes=664
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/commons.mock.gcov bytes=16591
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/symboltable.mock.gcov bytes=8368
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/^#semact.c.gcov bytes=84219
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/cxfile_tests.c.gcov bytes=1805
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/^#lexer.c.gcov bytes=82090
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/^#position.c.gcov bytes=4502
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/commons_tests.c.gcov bytes=2321
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/^#log.c.gcov bytes=7249
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/cxref.mock.gcov bytes=112242
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/^#jslsemact.c.gcov bytes=45957
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/editor.mock.gcov bytes=54644
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/yylex.mock.gcov bytes=10832
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/^#symbol.c.gcov bytes=4440
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/^#hashlist.tc.gcov bytes=15839
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/editor_tests.c.gcov bytes=1950
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/filetable_tests.c.gcov bytes=8063
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/utils.mock.gcov bytes=637
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/lexer_tests.c.gcov bytes=3025
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/jsemact.mock.gcov bytes=78547
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/^#hash.c.gcov bytes=1319
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/^#extract.c.gcov bytes=108625
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/olcxtab.mock.gcov bytes=10660
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/symbol.mock.gcov bytes=6304
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/memory_tests.c.gcov bytes=2759
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/^#id.c.gcov bytes=1691
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/^#yylex.c.gcov bytes=223956
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/misc_tests.c.gcov bytes=1424
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/c_parser.mock.gcov bytes=661
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/^#lexembuffer.c.gcov bytes=8402
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/reftab.mock.gcov bytes=14240
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/main.mock.gcov bytes=8673
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/^#options.c.gcov bytes=56858
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/^#characterreader.c.gcov bytes=15768
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/^#cxfile.c.gcov bytes=114870
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/^#filedescriptor.c.gcov bytes=1222
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/olcxtab_tests.c.gcov bytes=1408
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/characterreader.mock.gcov bytes=8459
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/symboltable_tests.c.gcov bytes=1627
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/classcaster.mock.gcov bytes=2011
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/lexembuffer_tests.c.gcov bytes=10602
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/memory.mock.gcov bytes=23940
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/semact_tests.c.gcov bytes=2074
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/^#filetable.c.gcov bytes=4477
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/semact.mock.gcov bytes=31243
    +m /home/travis/build/thoni56/c-xrefactory/src/unittests/^#memory.c.gcov bytes=13265
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/fileio.mock.gcov bytes=8098
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/extract_tests.c.gcov bytes=5038
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/^#hashtab.tc.gcov bytes=9922
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/cxfile.mock.gcov bytes=10915
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/typemodifier.mock.gcov bytes=7259
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/complete.mock.gcov bytes=17215
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/classfilereader.mock.gcov bytes=8998
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/extract.mock.gcov bytes=2043
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/^#misc.c.gcov bytes=97672
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/#usr#include#zlib.h.gcov bytes=127300
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/yacc_parser.mock.gcov bytes=681
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/options.mock.gcov bytes=5804
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/caching.mock.gcov bytes=7653
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/position_tests.c.gcov bytes=2291
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/java_parser.mock.gcov bytes=458
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/editorbuffertab.mock.gcov bytes=6640
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/zlib.mock.gcov bytes=948
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/cxref_tests.c.gcov bytes=4252
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/jsltypetab.mock.gcov bytes=6157
    + /home/travis/build/thoni56/c-xrefactory/src/unittests/^#editor.c.gcov bytes=120973
==> Appending adjustments
    https://docs.codecov.io/docs/fixing-reports
    + Found adjustments
==> Gzipping contents
==> Uploading reports
    url: https://codecov.io
    query: branch=master&commit=f09be88d38aaca35121cd8accf6d3c8987982975&build=886.1&build_url=&name=&tag=&slug=thoni56%2Fc-xrefactory&service=travis&flags=&pr=false&job=376175859&cmd_args=X
->  Pinging Codecov
https://codecov.io/upload/v4?package=bash-20200728-9fb7d93&token=secret&branch=master&commit=f09be88d38aaca35121cd8accf6d3c8987982975&build=886.1&build_url=&name=&tag=&slug=thoni56%2Fc-xrefactory&service=travis&flags=&pr=false&job=376175859&cmd_args=X
->  Uploading to
https://storage.googleapis.com/codecov/v4/raw/2020-08-21/A53B2F80F602BACA3533E032ADA2390E/f09be88d38aaca35121cd8accf6d3c8987982975/0c7ff40e-3544-402b-a7a6-b24a79824dba.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200821%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200821T145011Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a5b3d9d94532edf6fe0c58825a2350263f61441c2a9928fd5455ed831046e9ca
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 81162    0     0  100 81162      0   340k --:--:-- --:--:-- --:--:--  338k
    -> View reports at https://codecov.io/github/thoni56/c-xrefactory/commit/f09be88d38aaca35121cd8accf6d3c8987982975
The command "bash <(curl -s https://codecov.io/bash) -X gcovout" exited with 0.
```

### Additional Information

Hi @thoni56, thanks for this, we’ll look into it.

Thanks. The mystery with “always fail” has been resolved, I think. Am I right in assuming it is the state from the repo is reflected here? I had another CI linked for a while, which failed. Removing that other CI seemed to have solved it.

The “erroneous” link to the builds (pointing to travis-ci.org) is still there, though.

Hi @thoni56, just a quick update here. It looks like we have an issue with how we resolve to either .org or .com as you found. With the current plan from Travis to migrate completely to .com, we will be making the fix on our side in the coming weeks.

1 Like

Apologies @thoni56, but this should be resolved now. Let me know if you’re still running into issues.