Upload from Travis fails because 'reason: connect ENETUNREACH'

Description

My uploads from Travis to CodeCov, which were working, now fail with an error like this:

The error stack is: Error: Error uploading to https://codecov.io: FetchError: request to https://storage.googleapis.com/codecov/v4/raw/... failed, reason: connect ENETUNREACH 

The Travis config looks like this:

os: linux
virt: lxd
dist: bionic

The script for uploading from Travis is this:

after_success:
  - curl -Os https://uploader.codecov.io/latest/linux/codecov
  - chmod +x codecov
  - ./codecov -v

CI/CD URL

Travis Run Link

Codecov Output

[2022-04-19T15:28:45.253Z] ['verbose'] Start of uploader: 1650382125253...
4476[2022-04-19T15:28:45.255Z] ['info'] 
4477     _____          _
4478    / ____|        | |
4479   | |     ___   __| | ___  ___ _____   __
4480   | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
4481   | |___| (_) | (_| |  __/ (_| (_) \ V /
4482    \_____\___/ \__,_|\___|\___\___/ \_/
4483
4484  Codecov report uploader 0.1.22
4485[2022-04-19T15:28:45.260Z] ['info'] => Project root located at: /home/travis/build/eeverman/andhow
4486[2022-04-19T15:28:45.264Z] ['info'] -> No token specified or token is empty
4487[2022-04-19T15:28:45.264Z] ['verbose'] Start of network processing...
4488[2022-04-19T15:28:45.264Z] ['verbose'] Searching for files in /home/travis/build/eeverman/andhow
4489[2022-04-19T15:28:45.269Z] ['info'] Searching for coverage files...
4490[2022-04-19T15:28:45.388Z] ['info'] Warning: Some files located via search were excluded from upload.
4491[2022-04-19T15:28:45.388Z] ['info'] If Codecov did not locate your files, please review https://docs.codecov.com/docs/supported-report-formats
4492[2022-04-19T15:28:45.388Z] ['verbose'] Preparing to clean the following coverage paths: andhow-annotation-processor/target/site/jacoco/jacoco.xml,andhow-junit5-extensions/target/site/jacoco/jacoco.xml,andhow-core/target/site/jacoco/jacoco.xml,andhow-shared-test-utils/target/site/jacoco/jacoco.xml
4493[2022-04-19T15:28:45.388Z] ['info'] => Found 4 possible coverage files:
4494  andhow-annotation-processor/target/site/jacoco/jacoco.xml
4495  andhow-junit5-extensions/target/site/jacoco/jacoco.xml
4496  andhow-core/target/site/jacoco/jacoco.xml
4497  andhow-shared-test-utils/target/site/jacoco/jacoco.xml
4498[2022-04-19T15:28:45.389Z] ['verbose'] End of network processing
4499[2022-04-19T15:28:45.389Z] ['info'] Processing /home/travis/build/eeverman/andhow/andhow-annotation-processor/target/site/jacoco/jacoco.xml...
4500[2022-04-19T15:28:45.390Z] ['info'] Processing /home/travis/build/eeverman/andhow/andhow-junit5-extensions/target/site/jacoco/jacoco.xml...
4501[2022-04-19T15:28:45.391Z] ['info'] Processing /home/travis/build/eeverman/andhow/andhow-core/target/site/jacoco/jacoco.xml...
4502[2022-04-19T15:28:45.392Z] ['info'] Processing /home/travis/build/eeverman/andhow/andhow-shared-test-utils/target/site/jacoco/jacoco.xml...
4503[2022-04-19T15:28:45.408Z] ['info'] Detected Travis CI as the CI provider.
4504[2022-04-19T15:28:45.408Z] ['verbose'] -> Using the following env variables:
4505[2022-04-19T15:28:45.408Z] ['verbose']      TRAVIS: true
4506[2022-04-19T15:28:45.408Z] ['verbose'] Using the following upload parameters:
4507[2022-04-19T15:28:45.408Z] ['verbose'] branch
4508[2022-04-19T15:28:45.409Z] ['verbose'] build
4509[2022-04-19T15:28:45.409Z] ['verbose'] buildURL
4510[2022-04-19T15:28:45.409Z] ['verbose'] commit
4511[2022-04-19T15:28:45.409Z] ['verbose'] job
4512[2022-04-19T15:28:45.409Z] ['verbose'] pr
4513[2022-04-19T15:28:45.409Z] ['verbose'] service
4514[2022-04-19T15:28:45.409Z] ['verbose'] slug
4515[2022-04-19T15:28:45.409Z] ['verbose'] name
4516[2022-04-19T15:28:45.409Z] ['verbose'] tag
4517[2022-04-19T15:28:45.409Z] ['verbose'] flags
4518[2022-04-19T15:28:45.409Z] ['verbose'] parent
4519[2022-04-19T15:28:45.410Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=uploader-0.1.22&token=*******&branch=Issue601-rm-deprecated-usage&build=1570.1&build_url=&commit=15a07874ae2e34aaf3be942799820b73eacd4ff1&job=567069281&pr=721&service=travis&slug=eeverman%2Fandhow&name=&tag=&flags=&parent=
4520[2022-04-19T15:28:45.410Z] ['verbose'] Passed token was 0 characters long
4521[2022-04-19T15:28:45.410Z] ['verbose'] https://codecov.io/upload/v4?package=uploader-0.1.22&branch=Issue601-rm-deprecated-usage&build=1570.1&build_url=&commit=15a07874ae2e34aaf3be942799820b73eacd4ff1&job=567069281&pr=721&service=travis&slug=eeverman%2Fandhow&name=&tag=&flags=&parent=
4522        Content-Type: 'text/plain'
4523        Content-Encoding: 'gzip'
4524        X-Reduced-Redundancy: 'false'
4525[2022-04-19T15:28:45.958Z] ['info'] https://codecov.io/github/eeverman/andhow/commit/15a07874ae2e34aaf3be942799820b73eacd4ff1
4526https://storage.googleapis.com/codecov/v4/raw/2022-04-19/ACBACB8BC42FD370F0A8044E2129DDD4/15a07874ae2e34aaf3be942799820b73eacd4ff1/665ae81f-beac-4a2e-b1bd-3a806c2415ca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220419T152845Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0f85abc77763b8a143e508a242988a07110c0b52e74337ba2826df545efa7539
4527[2022-04-19T15:28:45.959Z] ['verbose'] Returned upload url: https://storage.googleapis.com/codecov/v4/raw/2022-04-19/ACBACB8BC42FD370F0A8044E2129DDD4/15a07874ae2e34aaf3be942799820b73eacd4ff1/665ae81f-beac-4a2e-b1bd-3a806c2415ca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220419T152845Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0f85abc77763b8a143e508a242988a07110c0b52e74337ba2826df545efa7539
4528[2022-04-19T15:28:45.959Z] ['info'] Uploading...
4529[2022-04-19T15:28:47.005Z] ['error'] There was an error running the uploader: Error uploading to https://codecov.io: FetchError: request to https://storage.googleapis.com/codecov/v4/raw/2022-04-19/ACBACB8BC42FD370F0A8044E2129DDD4/15a07874ae2e34aaf3be942799820b73eacd4ff1/665ae81f-beac-4a2e-b1bd-3a806c2415ca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220419T152845Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0f85abc77763b8a143e508a242988a07110c0b52e74337ba2826df545efa7539 failed, reason: connect ENETUNREACH 2607:f8b0:4002:806::2010:443
4530[2022-04-19T15:28:47.005Z] ['verbose'] The error stack is: Error: Error uploading to https://codecov.io: FetchError: request to https://storage.googleapis.com/codecov/v4/raw/2022-04-19/ACBACB8BC42FD370F0A8044E2129DDD4/15a07874ae2e34aaf3be942799820b73eacd4ff1/665ae81f-beac-4a2e-b1bd-3a806c2415ca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220419T152845Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0f85abc77763b8a143e508a242988a07110c0b52e74337ba2826df545efa7539 failed, reason: connect ENETUNREACH 2607:f8b0:4002:806::2010:443
4531    at main (/snapshot/repo/dist/src/index.js)
4532    at processTicksAndRejections (node:internal/process/task_queues:96:5)
4533[2022-04-19T15:28:47.005Z] ['verbose'] End of uploader: 1752 milliseconds

Expected Results

No errors and a successful upload

Actual Results

Consistent failure to upload w/ unhelpful error message

Hi @eeverman, I’m not too sure why this is happening. I’ve reached out to the product team to see if they have any ideas, but it looks to be more based around something with a request to googleapis.

Hi @tom , I am having a similar issue except on Jenkins. It started a couple of days ago
If I run the codecov tool locally(on in the CI) it seems to work.

17:04:08  + codecov --required --root /home/ubuntu/jenkins/workspace/bol_generated_product_puller_dev --flags optin-puller .
17:04:08  [2022-04-20T21:04:08.580Z] ['info'] 
17:04:08       _____          _
17:04:08      / ____|        | |
17:04:08     | |     ___   __| | ___  ___ _____   __
17:04:08     | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
17:04:08     | |___| (_) | (_| |  __/ (_| (_) \ V /
17:04:08      \_____\___/ \__,_|\___|\___\___/ \_/
17:04:08  
17:04:08    Codecov report uploader 0.1.22
17:04:08  [2022-04-20T21:04:08.586Z] ['info'] => Project root located at: /home/ubuntu/jenkins/workspace/bol_generated_product_puller_dev
17:04:08  [2022-04-20T21:04:08.589Z] ['info'] ->  Token found by environment variables
17:04:08  [2022-04-20T21:04:08.594Z] ['info'] Searching for coverage files...
17:04:09  [2022-04-20T21:04:08.931Z] ['info'] Warning: Some files located via search were excluded from upload.
17:04:09  [2022-04-20T21:04:08.931Z] ['info'] If Codecov did not locate your files, please review https://docs.codecov.com/docs/supported-report-formats
17:04:09  [2022-04-20T21:04:08.931Z] ['info'] => Found 3 possible coverage files:
17:04:09    codecov.yaml
17:04:09    _symbol/codecov.yaml
17:04:09    optin/puller/coverage.xml
17:04:09  [2022-04-20T21:04:08.931Z] ['info'] Processing /home/ubuntu/jenkins/workspace/bol_generated_product_puller_dev/codecov.yaml...
17:04:09  [2022-04-20T21:04:08.933Z] ['info'] Processing /home/ubuntu/jenkins/workspace/bol_generated_product_puller_dev/_symbol/codecov.yaml...
17:04:09  [2022-04-20T21:04:08.933Z] ['info'] Processing /home/ubuntu/jenkins/workspace/bol_generated_product_puller_dev/optin/puller/coverage.xml...
17:04:09  [2022-04-20T21:04:08.937Z] ['info'] Detected Jenkins CI as the CI provider.
17:04:09  [2022-04-20T21:04:08.944Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=uploader-0.1.22&token=*******&branch=dev&build=90&build_url=https%3A%2F%2Fjenkins.symboldev.com%2Fjob%2FSymbol%2Fjob%2Fgenerated%2Fjob%2Fproduct%2Fjob%2Fpuller%2Fjob%2Fdev%2F90%2F&commit=a32e8ec4faffda6c8dd71b89d0508ae29eac0567&job=&pr=&service=jenkins&slug=Symbol%2Fproduct&name=&tag=&flags=optin-puller&parent=
17:04:09  [2022-04-20T21:04:09.243Z] ['info'] https://codecov.io/github/symbol/product/commit/a32e8ec4faffda6c8dd71b89d0508ae29eac0567
17:04:09  https://storage.googleapis.com/codecov/v4/raw/2022-04-20/FBE5B1B0EDC96BFF7A0B1CD19EF20BCC/a32e8ec4faffda6c8dd71b89d0508ae29eac0567/addd60cd-e57c-40f8-b5ab-046722b9a874.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220420%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220420T210409Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a4e26cf4e151f4720d45fae83ee99561544ee28952a44534910ba4873fff7f2d
17:04:09  [2022-04-20T21:04:09.244Z] ['info'] Uploading...
17:04:10  [2022-04-20T21:04:10.250Z] ['error'] There was an error running the uploader: Error uploading to https://codecov.io: FetchError: request to https://storage.googleapis.com/codecov/v4/raw/2022-04-20/FBE5B1B0EDC96BFF7A0B1CD19EF20BCC/a32e8ec4faffda6c8dd71b89d0508ae29eac0567/addd60cd-e57c-40f8-b5ab-046722b9a874.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220420%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220420T210409Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a4e26cf4e151f4720d45fae83ee99561544ee28952a44534910ba4873fff7f2d failed, reason: connect ENETUNREACH 2607:f8b0:4004:c0b::80:443

@tom Any new insight of where the upload is failing? I am not sure if related to the new version of the upload tool.

If I ran the same command locally trying to reproduce the issue it always works fine.

codecov --verbose --nonZero --rootDir ../.. --flags optin-puller --dir . 
[2022-04-26T18:32:11.361Z] ['verbose'] Start of uploader: 1650997931361...
[2022-04-26T18:32:11.362Z] ['info'] 
     _____          _
    / ____|        | |
   | |     ___   __| | ___  ___ _____   __
   | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
   | |___| (_) | (_| |  __/ (_| (_) \ V /
    \_____\___/ \__,_|\___|\___\___/ \_/

  Codecov report uploader 0.1.22
[2022-04-26T18:32:11.362Z] ['info'] => Project root located at: ../..
[2022-04-26T18:32:11.364Z] ['info'] ->  Token found by environment variables
[2022-04-26T18:32:11.365Z] ['verbose'] Start of network processing...
[2022-04-26T18:32:11.365Z] ['verbose'] Searching for files in ../..
[2022-04-26T18:32:11.369Z] ['info'] Searching for coverage files...
[2022-04-26T18:32:11.408Z] ['info'] Warning: Some files located via search were excluded from upload.
[2022-04-26T18:32:11.408Z] ['info'] If Codecov did not locate your files, please review https://docs.codecov.com/docs/supported-report-formats
[2022-04-26T18:32:11.408Z] ['verbose'] Preparing to clean the following coverage paths: coverage.xml
[2022-04-26T18:32:11.408Z] ['info'] => Found 1 possible coverage files:
  coverage.xml
[2022-04-26T18:32:11.408Z] ['verbose'] End of network processing
[2022-04-26T18:32:11.408Z] ['info'] Processing coverage.xml...
[2022-04-26T18:32:11.414Z] ['info'] Detected Local as the CI provider.
[2022-04-26T18:32:11.414Z] ['verbose'] -> Using the following env variables:
[2022-04-26T18:32:11.414Z] ['verbose']      BRANCH_NAME: undefined
[2022-04-26T18:32:11.414Z] ['verbose']      CI: undefined
[2022-04-26T18:32:11.414Z] ['verbose']      GIT_BRANCH: undefined
[2022-04-26T18:32:11.414Z] ['verbose']      GIT_COMMIT: undefined
[2022-04-26T18:32:11.422Z] ['verbose'] Using the following upload parameters:
[2022-04-26T18:32:11.422Z] ['verbose'] branch
[2022-04-26T18:32:11.422Z] ['verbose'] build
[2022-04-26T18:32:11.422Z] ['verbose'] buildURL
[2022-04-26T18:32:11.422Z] ['verbose'] commit
[2022-04-26T18:32:11.422Z] ['verbose'] job
[2022-04-26T18:32:11.422Z] ['verbose'] pr
[2022-04-26T18:32:11.422Z] ['verbose'] service
[2022-04-26T18:32:11.422Z] ['verbose'] slug
[2022-04-26T18:32:11.422Z] ['verbose'] name
[2022-04-26T18:32:11.422Z] ['verbose'] tag
[2022-04-26T18:32:11.422Z] ['verbose'] flags
[2022-04-26T18:32:11.423Z] ['verbose'] parent
[2022-04-26T18:32:11.423Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=uploader-0.1.22&token=*******&branch=dev&build=&build_url=&commit=93135b4fd97e1d62d940b435271c136d372c530d&job=&pr=&service=&slug=symbol%2Fproduct&name=&tag=&flags=optin-puller&parent=
[2022-04-26T18:32:11.424Z] ['verbose'] Passed token was 36 characters long
[2022-04-26T18:32:11.424Z] ['verbose'] https://codecov.io/upload/v4?package=uploader-0.1.22&branch=dev&build=&build_url=&commit=93135b4fd97e1d62d940b435271c136d372c530d&job=&pr=&service=&slug=symbol%2Fproduct&name=&tag=&flags=optin-puller&parent=
        Content-Type: 'text/plain'
        Content-Encoding: 'gzip'
        X-Reduced-Redundancy: 'false'
[2022-04-26T18:32:11.955Z] ['info'] https://codecov.io/github/symbol/product/commit/93135b4fd97e1d62d940b435271c136d372c530d
https://storage.googleapis.com/codecov/v4/raw/2022-04-26/FBE5B1B0EDC96BFF7A0B1CD19EF20BCC/93135b4fd97e1d62d940b435271c136d372c530d/bfc6ca42-cf0d-4042-a69e-81b7943f2d5a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T183211Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=49468b3ecd7546f17ba7a812d646c62ebb465d699280ccf38e1ca68cbfdb8837
[2022-04-26T18:32:11.955Z] ['verbose'] Returned upload url: https://storage.googleapis.com/codecov/v4/raw/2022-04-26/FBE5B1B0EDC96BFF7A0B1CD19EF20BCC/93135b4fd97e1d62d940b435271c136d372c530d/bfc6ca42-cf0d-4042-a69e-81b7943f2d5a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T183211Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=49468b3ecd7546f17ba7a812d646c62ebb465d699280ccf38e1ca68cbfdb8837
[2022-04-26T18:32:11.955Z] ['info'] Uploading...
[2022-04-26T18:32:12.364Z] ['info'] {"status":"success","resultURL":"https://codecov.io/github/symbol/product/commit/93135b4fd97e1d62d940b435271c136d372c530d"}
[2022-04-26T18:32:12.364Z] ['verbose'] End of uploader: 1003 milliseconds

Hi @tom
We have couple of jobs that upload to codecov. I noticed that cpp project is which uses the lcov to generate the data. Is this issue related to the data? :thinking:

This upload works.

+ ./codecov --required --root . --flags client-catapult -X gcov --file client_coverage.info
20:27:48  [2022-04-27T00:27:47.980Z] ['info'] 
20:27:48       _____          _
20:27:48      / ____|        | |
20:27:48     | |     ___   __| | ___  ___ _____   __
20:27:48     | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
20:27:48     | |___| (_) | (_| |  __/ (_| (_) \ V /
20:27:48      \_____\___/ \__,_|\___|\___\___/ \_/
20:27:48  
20:27:48    Codecov report uploader 0.2.0
20:27:48  [2022-04-27T00:27:47.995Z] ['info'] => Project root located at: /home/ubuntu/jenkins/workspace/Symbol/server-pipelines/catapult-client-build-catapult-project/catapult-src
20:27:48  [2022-04-27T00:27:47.998Z] ['info'] ->  Token found by environment variables
20:27:48  [2022-04-27T00:27:48.570Z] ['info'] Running coverage xml...
20:27:48  [2022-04-27T00:27:48.646Z] ['info'] Searching for coverage files...
20:27:48  [2022-04-27T00:27:48.788Z] ['info'] => Found 1 possible coverage files:
20:27:48    client_coverage.info
20:27:48  [2022-04-27T00:27:48.788Z] ['info'] Processing /home/ubuntu/jenkins/workspace/Symbol/server-pipelines/catapult-client-build-catapult-project/catapult-src/client_coverage.info...
20:27:49  [2022-04-27T00:27:48.883Z] ['info'] Detected Jenkins CI as the CI provider.
20:27:49  [2022-04-27T00:27:48.889Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=uploader-0.2.0&token=*******&branch=origin%2Fdev&build=3434&build_url=https%3A%2F%2Fjenkins.symboldev.com%2Fjob%2FSymbol%2Fjob%2Fserver-pipelines%2Fjob%2Fcatapult-client-build-catapult-project%2F3434%2F&commit=6a1e9afd38c0f8e9757c0675a78126e4c31d61e5&job=&pr=&service=jenkins&slug=symbol%2Fsymbol&name=&tag=&flags=client-catapult&parent=
20:27:49  [2022-04-27T00:27:49.325Z] ['info'] https://codecov.io/github/symbol/symbol/commit/6a1e9afd38c0f8e9757c0675a78126e4c31d61e5
20:27:49  https://storage.googleapis.com/codecov/v4/raw/2022-04-27/5906131E70BB6F6A9D0E465027DAF0E8/6a1e9afd38c0f8e9757c0675a78126e4c31d61e5/6cb91ca9-740a-4761-994d-a6e34f28fa92.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220427T002749Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=333a8cd920a7e80a7eadf038805455053a063453fe63514d7dfafcc92fc48704
20:27:49  [2022-04-27T00:27:49.326Z] ['info'] Uploading...
20:27:49  [2022-04-27T00:27:49.533Z] ['info'] {"status":"success","resultURL":"https://codecov.io/github/symbol/symbol/commit/6a1e9afd38c0f8e9757c0675a78126e4c31d61e5"}

This one fails

00:09:11  + codecov --required -X gcov --root . --flags catbuffer-parser --file catbuffer/parser/coverage.xml
00:09:11  [2022-04-28T04:09:11.291Z] ['info'] 
00:09:11       _____          _
00:09:11      / ____|        | |
00:09:11     | |     ___   __| | ___  ___ _____   __
00:09:11     | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
00:09:11     | |___| (_) | (_| |  __/ (_| (_) \ V /
00:09:11      \_____\___/ \__,_|\___|\___\___/ \_/
00:09:11  
00:09:11    Codecov report uploader 0.2.0
00:09:11  [2022-04-28T04:09:11.297Z] ['info'] => Project root located at: /home/ubuntu/jenkins/workspace/rated_symbol_parser_test_codecov
00:09:11  [2022-04-28T04:09:11.300Z] ['info'] ->  Token found by environment variables
00:09:11  [2022-04-28T04:09:11.393Z] ['info'] Running coverage xml...
00:09:11  [2022-04-28T04:09:11.480Z] ['info'] Searching for coverage files...
00:09:11  [2022-04-28T04:09:11.623Z] ['info'] => Found 1 possible coverage files:
00:09:11    catbuffer/parser/coverage.xml
00:09:11  [2022-04-28T04:09:11.623Z] ['info'] Processing /home/ubuntu/jenkins/workspace/rated_symbol_parser_test_codecov/catbuffer/parser/coverage.xml...
00:09:11  [2022-04-28T04:09:11.631Z] ['info'] Detected Jenkins CI as the CI provider.
00:09:11  [2022-04-28T04:09:11.637Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=uploader-0.2.0&token=*******&branch=test_codecov&build=7&build_url=https%3A%2F%2Fjenkins.symboldev.com%2Fjob%2FSymbol%2Fjob%2Fgenerated%2Fjob%2Fsymbol%2Fjob%2Fparser%2Fjob%2Ftest_codecov%2F7%2F&commit=a152e22aa0386675a6630d9bdeb27f256b897371&job=&pr=&service=jenkins&slug=Symbol%2Fsymbol&name=&tag=&flags=catbuffer-parser&parent=
00:09:12  [2022-04-28T04:09:12.047Z] ['info'] https://codecov.io/github/symbol/symbol/commit/a152e22aa0386675a6630d9bdeb27f256b897371
00:09:12  https://storage.googleapis.com/codecov/v4/raw/2022-04-28/5906131E70BB6F6A9D0E465027DAF0E8/a152e22aa0386675a6630d9bdeb27f256b897371/886bd15d-2cc2-4825-a88b-53088eeb0f04.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220428%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220428T040912Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bd855440b3b628fd4ab0bfa8f4c3726fb366d7abf692fce444471a8535586bab
00:09:12  [2022-04-28T04:09:12.047Z] ['info'] Uploading...
00:09:13  [2022-04-28T04:09:13.071Z] ['error'] There was an error running the uploader: Error uploading to https://codecov.io: FetchError: request to https://storage.googleapis.com/codecov/v4/raw/2022-04-28/5906131E70BB6F6A9D0E465027DAF0E8/a152e22aa0386675a6630d9bdeb27f256b897371/886bd15d-2cc2-4825-a88b-53088eeb0f04.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220428%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220428T040912Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bd855440b3b628fd4ab0bfa8f4c3726fb366d7abf692fce444471a8535586bab failed, reason: connect ENETUNREACH 2607:f8b0:4004:c06::80:443

FYI: I went back to version 0.1.20 of the uploader and this works fine.

Oh, that is helpful @Wayonb. I’m still trying to debug, but hopefully this will help figure out the issue.

@Wayonb just out of curiosity, does version 0.2.2 (latest) fix the issue?

@tom seeing the same issue with the 0.2.2 release

20:28:15  + codecov --verbose --nonZero --rootDir /home/ubuntu/jenkins/workspace/ted_symbol_python_codecov_latest --flags sdk-python --dir .
20:28:15  [2022-05-09T00:28:15.649Z] ['verbose'] Start of uploader: 1652056095649...
20:28:15  [2022-05-09T00:28:15.651Z] ['info'] 
20:28:15       _____          _
20:28:15      / ____|        | |
20:28:15     | |     ___   __| | ___  ___ _____   __
20:28:15     | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
20:28:15     | |___| (_) | (_| |  __/ (_| (_) \ V /
20:28:15      \_____\___/ \__,_|\___|\___\___/ \_/
20:28:15  
20:28:15    Codecov report uploader 0.2.2
20:28:15  [2022-05-09T00:28:15.651Z] ['info'] => Project root located at: /home/ubuntu/jenkins/workspace/ted_symbol_python_codecov_latest
20:28:15  [2022-05-09T00:28:15.654Z] ['info'] ->  Token found by environment variables
20:28:15  [2022-05-09T00:28:15.655Z] ['verbose'] Start of network processing...
20:28:15  [2022-05-09T00:28:15.655Z] ['verbose'] Searching for files in /home/ubuntu/jenkins/workspace/ted_symbol_python_codecov_latest
20:28:15  [2022-05-09T00:28:15.789Z] ['verbose'] Skipping coveragepy, no .coverage file found.
20:28:15  [2022-05-09T00:28:15.789Z] ['info'] Searching for coverage files...
20:28:15  [2022-05-09T00:28:15.861Z] ['info'] Warning: Some files located via search were excluded from upload.
20:28:15  [2022-05-09T00:28:15.862Z] ['info'] If Codecov did not locate your files, please review https://docs.codecov.com/docs/supported-report-formats
20:28:15  [2022-05-09T00:28:15.862Z] ['verbose'] Preparing to clean the following coverage paths: coverage.xml
20:28:15  [2022-05-09T00:28:15.862Z] ['info'] => Found 1 possible coverage files:
20:28:15    coverage.xml
20:28:15  [2022-05-09T00:28:15.862Z] ['verbose'] End of network processing
20:28:15  [2022-05-09T00:28:15.862Z] ['info'] Processing coverage.xml...
20:28:16  [2022-05-09T00:28:15.879Z] ['info'] Detected Jenkins CI as the CI provider.
20:28:16  [2022-05-09T00:28:15.880Z] ['verbose'] -> Using the following env variables:
20:28:16  [2022-05-09T00:28:15.880Z] ['verbose']      BRANCH_NAME: codecov_latest
20:28:16  [2022-05-09T00:28:15.880Z] ['verbose']      BUILD_NUMBER: 1
20:28:16  [2022-05-09T00:28:15.880Z] ['verbose']      BUILD_URL: https://jenkins.symboldev.com/job/Symbol/job/generated/job/symbol/job/python/job/codecov_latest/1/
20:28:16  [2022-05-09T00:28:15.880Z] ['verbose']      CHANGE_ID: undefined
20:28:16  [2022-05-09T00:28:15.880Z] ['verbose']      GIT_BRANCH: codecov_latest
20:28:16  [2022-05-09T00:28:15.880Z] ['verbose']      GIT_COMMIT: d0ad84310dc670079781dbcf5ebf3d645e9facc8
20:28:16  [2022-05-09T00:28:15.880Z] ['verbose']      JENKINS_URL: https://jenkins.symboldev.com/
20:28:16  [2022-05-09T00:28:15.880Z] ['verbose']      ghprbActualCommit: undefined
20:28:16  [2022-05-09T00:28:15.880Z] ['verbose']      ghprbPullId: undefined
20:28:16  [2022-05-09T00:28:15.880Z] ['verbose']      ghprbSourceBranch: undefined
20:28:16  [2022-05-09T00:28:15.885Z] ['verbose'] Using the following upload parameters:
20:28:16  [2022-05-09T00:28:15.885Z] ['verbose'] branch
20:28:16  [2022-05-09T00:28:15.885Z] ['verbose'] build
20:28:16  [2022-05-09T00:28:15.885Z] ['verbose'] buildURL
20:28:16  [2022-05-09T00:28:15.885Z] ['verbose'] commit
20:28:16  [2022-05-09T00:28:15.885Z] ['verbose'] job
20:28:16  [2022-05-09T00:28:15.885Z] ['verbose'] pr
20:28:16  [2022-05-09T00:28:15.885Z] ['verbose'] service
20:28:16  [2022-05-09T00:28:15.885Z] ['verbose'] slug
20:28:16  [2022-05-09T00:28:15.885Z] ['verbose'] name
20:28:16  [2022-05-09T00:28:15.885Z] ['verbose'] tag
20:28:16  [2022-05-09T00:28:15.886Z] ['verbose'] flags
20:28:16  [2022-05-09T00:28:15.886Z] ['verbose'] parent
20:28:16  [2022-05-09T00:28:15.887Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=uploader-0.2.2&token=*******&branch=codecov_latest&build=1&build_url=https%3A%2F%2Fjenkins.symboldev.com%2Fjob%2FSymbol%2Fjob%2Fgenerated%2Fjob%2Fsymbol%2Fjob%2Fpython%2Fjob%2Fcodecov_latest%2F1%2F&commit=d0ad84310dc670079781dbcf5ebf3d645e9facc8&job=&pr=&service=jenkins&slug=Symbol%2Fsymbol&name=&tag=&flags=sdk-python&parent=
20:28:16  [2022-05-09T00:28:15.887Z] ['verbose'] Passed token was 36 characters long
20:28:16  [2022-05-09T00:28:15.887Z] ['verbose'] https://codecov.io/upload/v4?package=uploader-0.2.2&branch=codecov_latest&build=1&build_url=https%3A%2F%2Fjenkins.symboldev.com%2Fjob%2FSymbol%2Fjob%2Fgenerated%2Fjob%2Fsymbol%2Fjob%2Fpython%2Fjob%2Fcodecov_latest%2F1%2F&commit=d0ad84310dc670079781dbcf5ebf3d645e9facc8&job=&pr=&service=jenkins&slug=Symbol%2Fsymbol&name=&tag=&flags=sdk-python&parent=
20:28:16          Content-Type: 'text/plain'
20:28:16          Content-Encoding: 'gzip'
20:28:16          X-Reduced-Redundancy: 'false'
20:28:16  [2022-05-09T00:28:16.235Z] ['info'] https://codecov.io/github/symbol/symbol/commit/d0ad84310dc670079781dbcf5ebf3d645e9facc8
20:28:16  https://storage.googleapis.com/codecov/v4/raw/2022-05-09/5906131E70BB6F6A9D0E465027DAF0E8/d0ad84310dc670079781dbcf5ebf3d645e9facc8/776795fb-2e71-4f0a-a321-dfb28f23fdc9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220509T002816Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0932c8cd03415edb62a2ab3144af91fab8fc722d2474fd58fd28ecaa6ea38548
20:28:16  [2022-05-09T00:28:16.235Z] ['verbose'] Returned upload url: https://storage.googleapis.com/codecov/v4/raw/2022-05-09/5906131E70BB6F6A9D0E465027DAF0E8/d0ad84310dc670079781dbcf5ebf3d645e9facc8/776795fb-2e71-4f0a-a321-dfb28f23fdc9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220509T002816Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0932c8cd03415edb62a2ab3144af91fab8fc722d2474fd58fd28ecaa6ea38548
20:28:16  [2022-05-09T00:28:16.235Z] ['info'] Uploading...
20:28:17  [2022-05-09T00:28:17.260Z] ['error'] There was an error running the uploader: Error uploading to https://codecov.io: FetchError: request to https://storage.googleapis.com/codecov/v4/raw/2022-05-09/5906131E70BB6F6A9D0E465027DAF0E8/d0ad84310dc670079781dbcf5ebf3d645e9facc8/776795fb-2e71-4f0a-a321-dfb28f23fdc9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220509T002816Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0932c8cd03415edb62a2ab3144af91fab8fc722d2474fd58fd28ecaa6ea38548 failed, reason: connect ENETUNREACH 2607:f8b0:4004:836::2010:443
20:28:17  [2022-05-09T00:28:17.260Z] ['verbose'] The error stack is: Error: Error uploading to https://codecov.io: FetchError: request to https://storage.googleapis.com/codecov/v4/raw/2022-05-09/5906131E70BB6F6A9D0E465027DAF0E8/d0ad84310dc670079781dbcf5ebf3d645e9facc8/776795fb-2e71-4f0a-a321-dfb28f23fdc9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220509T002816Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0932c8cd03415edb62a2ab3144af91fab8fc722d2474fd58fd28ecaa6ea38548 failed, reason: connect ENETUNREACH 2607:f8b0:4004:836::2010:443
20:28:17      at main (/snapshot/repo/dist/src/index.js)
20:28:17      at processTicksAndRejections (node:internal/process/task_queues:96:5)
20:28:17  [2022-05-09T00:28:17.260Z] ['verbose'] End of uploader: 1611 milliseconds

@Wayonb I don’t have an answer yet, but I am going to compile clues here that might be useful.

The error seems to be coming from hitting an IPv6 address, that doesn’t seem to be right.
The only relevant difference I can think of between the two is a bump to node v16

Any idea how many people are affected by this?

@eeverman we are not aware of a significant number of users affected by this. I’m working on a fix for the issue, hoping to deploy today or tomorrow.

@Wayonb @eeverman I deployed a new version of the uploader 0.2.3 that should fix the issue. Do you mind running CI again to see if the issue has been resolved?

Hi Tom -

I ran a fresh Travis build, but the latest url seems to be returning version 0.2.2 which failed as it had before. Do I need to specify a different url to get the 0.2.3 version? See the log below:

travis_fold:start:after_success.1
e[0Ktravis_time:start:1a5df86c
e[0K$ curl -Os https://uploader.codecov.io/latest/linux/codecov
travis_time:end:1a5df86c:start=1652825922827628710,finish=1652825923780252885,duration=952624175,event=after_success
e[0Ktravis_fold:end:after_success.1
e[0Ktravis_fold:start:after_success.2
e[0Ktravis_time:start:0a02468c
e[0K$ chmod +x codecov
travis_time:end:0a02468c:start=1652825923784711185,finish=1652825923788582113,duration=3870928,event=after_success
e[0Ktravis_fold:end:after_success.2
e[0Ktravis_fold:start:after_success.3
e[0Ktravis_time:start:0ad09e8a
e[0K$ ./codecov -v
[2022-05-17T22:18:44.019Z] ['verbose'] Start of uploader: 1652825924019...
[2022-05-17T22:18:44.021Z] ['info'] 
     _____          _
    / ____|        | |
   | |     ___   __| | ___  ___ _____   __
   | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
   | |___| (_) | (_| |  __/ (_| (_) \ V /
    \_____\___/ \__,_|\___|\___\___/ \_/

  Codecov report uploader 0.2.2
[2022-05-17T22:18:44.028Z] ['info'] => Project root located at: /home/travis/build/eeverman/andhow
[2022-05-17T22:18:44.032Z] ['info'] -> No token specified or token is empty
[2022-05-17T22:18:44.032Z] ['verbose'] Start of network processing...
[2022-05-17T22:18:44.032Z] ['verbose'] Searching for files in /home/travis/build/eeverman/andhow
[2022-05-17T22:18:44.042Z] ['verbose'] coveragepy is not installed
[2022-05-17T22:18:44.042Z] ['info'] Searching for coverage files...
[2022-05-17T22:18:44.159Z] ['info'] Warning: Some files located via search were excluded from upload.
[2022-05-17T22:18:44.159Z] ['info'] If Codecov did not locate your files, please review https://docs.codecov.com/docs/supported-report-formats
[2022-05-17T22:18:44.159Z] ['verbose'] Preparing to clean the following coverage paths: andhow-annotation-processor/target/site/jacoco/jacoco.xml,andhow-core/target/site/jacoco/jacoco.xml,andhow-junit5-extensions/target/site/jacoco/jacoco.xml,andhow-shared-test-utils/target/site/jacoco/jacoco.xml
[2022-05-17T22:18:44.159Z] ['info'] => Found 4 possible coverage files:
  andhow-annotation-processor/target/site/jacoco/jacoco.xml
  andhow-core/target/site/jacoco/jacoco.xml
  andhow-junit5-extensions/target/site/jacoco/jacoco.xml
  andhow-shared-test-utils/target/site/jacoco/jacoco.xml
[2022-05-17T22:18:44.159Z] ['verbose'] End of network processing
[2022-05-17T22:18:44.159Z] ['info'] Processing /home/travis/build/eeverman/andhow/andhow-annotation-processor/target/site/jacoco/jacoco.xml...
[2022-05-17T22:18:44.161Z] ['info'] Processing /home/travis/build/eeverman/andhow/andhow-core/target/site/jacoco/jacoco.xml...
[2022-05-17T22:18:44.163Z] ['info'] Processing /home/travis/build/eeverman/andhow/andhow-junit5-extensions/target/site/jacoco/jacoco.xml...
[2022-05-17T22:18:44.164Z] ['info'] Processing /home/travis/build/eeverman/andhow/andhow-shared-test-utils/target/site/jacoco/jacoco.xml...
[2022-05-17T22:18:44.179Z] ['info'] Detected Travis CI as the CI provider.
[2022-05-17T22:18:44.179Z] ['verbose'] -> Using the following env variables:
[2022-05-17T22:18:44.179Z] ['verbose']      TRAVIS: true
[2022-05-17T22:18:44.179Z] ['verbose'] Using the following upload parameters:
[2022-05-17T22:18:44.179Z] ['verbose'] branch
[2022-05-17T22:18:44.179Z] ['verbose'] build
[2022-05-17T22:18:44.179Z] ['verbose'] buildURL
[2022-05-17T22:18:44.179Z] ['verbose'] commit
[2022-05-17T22:18:44.179Z] ['verbose'] job
[2022-05-17T22:18:44.179Z] ['verbose'] pr
[2022-05-17T22:18:44.180Z] ['verbose'] service
[2022-05-17T22:18:44.180Z] ['verbose'] slug
[2022-05-17T22:18:44.180Z] ['verbose'] name
[2022-05-17T22:18:44.180Z] ['verbose'] tag
[2022-05-17T22:18:44.180Z] ['verbose'] flags
[2022-05-17T22:18:44.180Z] ['verbose'] parent
[2022-05-17T22:18:44.181Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=uploader-0.2.2&token=*******&branch=Issue601-rm-deprecated-usage&build=1572.1&build_url=&commit=d85b8755418e3a4c3adc1cf3da1739b150ef8362&job=570533631&pr=721&service=travis&slug=eeverman%2Fandhow&name=&tag=&flags=&parent=
[2022-05-17T22:18:44.181Z] ['verbose'] Passed token was 0 characters long
[2022-05-17T22:18:44.181Z] ['verbose'] https://codecov.io/upload/v4?package=uploader-0.2.2&branch=Issue601-rm-deprecated-usage&build=1572.1&build_url=&commit=d85b8755418e3a4c3adc1cf3da1739b150ef8362&job=570533631&pr=721&service=travis&slug=eeverman%2Fandhow&name=&tag=&flags=&parent=
        Content-Type: 'text/plain'
        Content-Encoding: 'gzip'
        X-Reduced-Redundancy: 'false'
[2022-05-17T22:18:44.711Z] ['info'] https://codecov.io/github/eeverman/andhow/commit/d85b8755418e3a4c3adc1cf3da1739b150ef8362
https://storage.googleapis.com/codecov/v4/raw/2022-05-17/ACBACB8BC42FD370F0A8044E2129DDD4/d85b8755418e3a4c3adc1cf3da1739b150ef8362/5f772ec1-0351-4db3-92e1-8de5d2901ae9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220517%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220517T221844Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a045f956fb049bece0c9151568f9f5ae0da49b88709c824957bf9bc094df45b5
[2022-05-17T22:18:44.712Z] ['verbose'] Returned upload url: https://storage.googleapis.com/codecov/v4/raw/2022-05-17/ACBACB8BC42FD370F0A8044E2129DDD4/d85b8755418e3a4c3adc1cf3da1739b150ef8362/5f772ec1-0351-4db3-92e1-8de5d2901ae9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220517%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220517T221844Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a045f956fb049bece0c9151568f9f5ae0da49b88709c824957bf9bc094df45b5
[2022-05-17T22:18:44.712Z] ['info'] Uploading...
[2022-05-17T22:18:45.756Z] ['error'] There was an error running the uploader: Error uploading to https://codecov.io: FetchError: request to https://storage.googleapis.com/codecov/v4/raw/2022-05-17/ACBACB8BC42FD370F0A8044E2129DDD4/d85b8755418e3a4c3adc1cf3da1739b150ef8362/5f772ec1-0351-4db3-92e1-8de5d2901ae9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220517%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220517T221844Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a045f956fb049bece0c9151568f9f5ae0da49b88709c824957bf9bc094df45b5 failed, reason: connect ENETUNREACH 2607:f8b0:4002:806::2010:443
[2022-05-17T22:18:45.757Z] ['verbose'] The error stack is: Error: Error uploading to https://codecov.io: FetchError: request to https://storage.googleapis.com/codecov/v4/raw/2022-05-17/ACBACB8BC42FD370F0A8044E2129DDD4/d85b8755418e3a4c3adc1cf3da1739b150ef8362/5f772ec1-0351-4db3-92e1-8de5d2901ae9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220517%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220517T221844Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a045f956fb049bece0c9151568f9f5ae0da49b88709c824957bf9bc094df45b5 failed, reason: connect ENETUNREACH 2607:f8b0:4002:806::2010:443
    at main (/snapshot/repo/dist/src/index.js)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
[2022-05-17T22:18:45.757Z] ['verbose'] End of uploader: 1738 milliseconds
travis_time:end:0ad09e8a:start=1652825923792593722,finish=1652825925764858364,duration=1972264642,event=after_success
e[0Ktravis_fold:end:after_success.3
e[0K
Done. Your build exited with 0.

@eeverman this might have been my mistake. It should be 0.2.3 now.

Sorry, I seem to be having intermittent Travis build issues as well. At long long, Travis did run again, but, sadly, the upload (now at 0.2.3) still fails in the same way:

$ curl -Os https://uploader.codecov.io/latest/linux/codecov
after_success.2
44750.00s$ chmod +x codecov
after_success.3
44762.00s$ ./codecov -v
4477[2022-06-07T15:49:58.721Z] ['verbose'] Start of uploader: 1654616998721...
4478[2022-06-07T15:49:58.723Z] ['info'] 
4479     _____          _
4480    / ____|        | |
4481   | |     ___   __| | ___  ___ _____   __
4482   | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
4483   | |___| (_) | (_| |  __/ (_| (_) \ V /
4484    \_____\___/ \__,_|\___|\___\___/ \_/
4485
4486  Codecov report uploader 0.2.3
4487[2022-06-07T15:49:58.731Z] ['info'] => Project root located at: /home/travis/build/eeverman/andhow
4488[2022-06-07T15:49:58.735Z] ['info'] -> No token specified or token is empty
4489[2022-06-07T15:49:58.735Z] ['verbose'] Start of network processing...
4490[2022-06-07T15:49:58.735Z] ['verbose'] Searching for files in /home/travis/build/eeverman/andhow
4491[2022-06-07T15:49:58.744Z] ['verbose'] coveragepy is not installed
4492[2022-06-07T15:49:58.745Z] ['info'] Searching for coverage files...
4493[2022-06-07T15:49:58.919Z] ['info'] Warning: Some files located via search were excluded from upload.
4494[2022-06-07T15:49:58.919Z] ['info'] If Codecov did not locate your files, please review https://docs.codecov.com/docs/supported-report-formats
4495[2022-06-07T15:49:58.919Z] ['verbose'] Preparing to clean the following coverage paths: andhow-annotation-processor/target/site/jacoco/jacoco.xml,andhow-junit5-extensions/target/site/jacoco/jacoco.xml,andhow-core/target/site/jacoco/jacoco.xml,andhow-shared-test-utils/target/site/jacoco/jacoco.xml
4496[2022-06-07T15:49:58.919Z] ['info'] => Found 4 possible coverage files:
4497  andhow-annotation-processor/target/site/jacoco/jacoco.xml
4498  andhow-junit5-extensions/target/site/jacoco/jacoco.xml
4499  andhow-core/target/site/jacoco/jacoco.xml
4500  andhow-shared-test-utils/target/site/jacoco/jacoco.xml
4501[2022-06-07T15:49:58.920Z] ['verbose'] End of network processing
4502[2022-06-07T15:49:58.920Z] ['info'] Processing /home/travis/build/eeverman/andhow/andhow-annotation-processor/target/site/jacoco/jacoco.xml...
4503[2022-06-07T15:49:58.922Z] ['info'] Processing /home/travis/build/eeverman/andhow/andhow-junit5-extensions/target/site/jacoco/jacoco.xml...
4504[2022-06-07T15:49:58.922Z] ['info'] Processing /home/travis/build/eeverman/andhow/andhow-core/target/site/jacoco/jacoco.xml...
4505[2022-06-07T15:49:58.925Z] ['info'] Processing /home/travis/build/eeverman/andhow/andhow-shared-test-utils/target/site/jacoco/jacoco.xml...
4506[2022-06-07T15:49:58.941Z] ['info'] Detected Travis CI as the CI provider.
4507[2022-06-07T15:49:58.941Z] ['verbose'] -> Using the following env variables:
4508[2022-06-07T15:49:58.941Z] ['verbose']      TRAVIS: true
4509[2022-06-07T15:49:58.941Z] ['verbose'] Using the following upload parameters:
4510[2022-06-07T15:49:58.941Z] ['verbose'] branch
4511[2022-06-07T15:49:58.941Z] ['verbose'] build
4512[2022-06-07T15:49:58.941Z] ['verbose'] buildURL
4513[2022-06-07T15:49:58.941Z] ['verbose'] commit
4514[2022-06-07T15:49:58.941Z] ['verbose'] job
4515[2022-06-07T15:49:58.942Z] ['verbose'] pr
4516[2022-06-07T15:49:58.942Z] ['verbose'] service
4517[2022-06-07T15:49:58.942Z] ['verbose'] slug
4518[2022-06-07T15:49:58.942Z] ['verbose'] name
4519[2022-06-07T15:49:58.942Z] ['verbose'] tag
4520[2022-06-07T15:49:58.942Z] ['verbose'] flags
4521[2022-06-07T15:49:58.942Z] ['verbose'] parent
4522[2022-06-07T15:49:58.943Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=uploader-0.2.3&token=*******&branch=main&build=1578.1&build_url=&commit=585c4505eed3c579bf4ae256f440c1a832341b87&job=572735931&pr=false&service=travis&slug=eeverman%2Fandhow&name=&tag=&flags=&parent=
4523[2022-06-07T15:49:58.943Z] ['verbose'] Passed token was 0 characters long
4524[2022-06-07T15:49:58.943Z] ['verbose'] https://codecov.io/upload/v4?package=uploader-0.2.3&branch=main&build=1578.1&build_url=&commit=585c4505eed3c579bf4ae256f440c1a832341b87&job=572735931&pr=false&service=travis&slug=eeverman%2Fandhow&name=&tag=&flags=&parent=
4525        Content-Type: 'text/plain'
4526        Content-Encoding: 'gzip'
4527        X-Reduced-Redundancy: 'false'
4528[2022-06-07T15:49:59.458Z] ['info'] https://codecov.io/github/eeverman/andhow/commit/585c4505eed3c579bf4ae256f440c1a832341b87
4529https://storage.googleapis.com/codecov/v4/raw/2022-06-07/ACBACB8BC42FD370F0A8044E2129DDD4/585c4505eed3c579bf4ae256f440c1a832341b87/432bb90c-24e9-4e38-a129-a5d20934a17f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220607%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220607T154959Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0fe312f904f30e5e14f63c68981cd834ca6bc1512549d890f35976320845d250
4530[2022-06-07T15:49:59.459Z] ['verbose'] Returned upload url: https://storage.googleapis.com/codecov/v4/raw/2022-06-07/ACBACB8BC42FD370F0A8044E2129DDD4/585c4505eed3c579bf4ae256f440c1a832341b87/432bb90c-24e9-4e38-a129-a5d20934a17f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220607%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220607T154959Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0fe312f904f30e5e14f63c68981cd834ca6bc1512549d890f35976320845d250
4531[2022-06-07T15:49:59.459Z] ['info'] Uploading...
4532[2022-06-07T15:50:00.477Z] ['error'] There was an error running the uploader: Error uploading to https://codecov.io: Error: connect ENETUNREACH 2607:f8b0:4002:c10::80:443
4533[2022-06-07T15:50:00.478Z] ['verbose'] The error stack is: Error: Error uploading to https://codecov.io: Error: connect ENETUNREACH 2607:f8b0:4002:c10::80:443
4534    at main (/snapshot/repo/dist/src/index.js)
4535    at processTicksAndRejections (node:internal/process/task_queues:96:5)
4536[2022-06-07T15:50:00.478Z] ['verbose'] End of uploader: 1757 milliseconds
4537
4538Done. Your build exited with 0.

Hi @eeverman sorry it’s been awhile to get back to you. Are you still seeing this in 0.2.4?

Hi @tom, I tried the latest uploader and still seeing the problem in my environment.

09:38:39  + curl -Os https://uploader.codecov.io/latest/linux/codecov
09:38:40  + chmod +x codecov
09:38:40  + ./codecov --required --root . --flags client-catapult -X gcov --file client_coverage.info
09:38:40  [2022-09-08T13:38:40.501Z] ['info'] 
09:38:40       _____          _
09:38:40      / ____|        | |
09:38:40     | |     ___   __| | ___  ___ _____   __
09:38:40     | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
09:38:40     | |___| (_) | (_| |  __/ (_| (_) \ V /
09:38:40      \_____\___/ \__,_|\___|\___\___/ \_/
09:38:40  
09:38:40    Codecov report uploader 0.3.1
09:38:40  [2022-09-08T13:38:40.507Z] ['info'] => Project root located at: /home/ubuntu/jenkins/workspace/symbol/server-pipelines/catapult-client-build-catapult-project
09:38:40  [2022-09-08T13:38:40.508Z] ['info'] ->  Token found by environment variables
09:38:40  [2022-09-08T13:38:40.733Z] ['info'] Searching for coverage files...
09:38:41  [2022-09-08T13:38:41.009Z] ['info'] Warning: Some files passed via the -f flag would normally be excluded from search.
09:38:41  [2022-09-08T13:38:41.009Z] ['info'] If Codecov encounters issues processing your reports, please review https://docs.codecov.com/docs/supported-report-formats
09:38:41  [2022-09-08T13:38:41.009Z] ['info'] => Found 1 possible coverage files:
09:38:41    catapult-src/client_coverage.info
09:38:41  [2022-09-08T13:38:41.009Z] ['info'] Processing /home/ubuntu/jenkins/workspace/symbol/server-pipelines/catapult-client-build-catapult-project/catapult-src/client_coverage.info...
09:38:41  [2022-09-08T13:38:41.128Z] ['info'] Detected Jenkins CI as the CI provider.
09:38:41  [2022-09-08T13:38:41.136Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=uploader-0.3.1&token=*******&branch=origin%2Fdev&build=3186&build_url=https%3A%2F%2F54.157.239.136%2Fjob%2Fsymbol%2Fjob%2Fserver-pipelines%2Fjob%2Fcatapult-client-build-catapult-project%2F3186%2F&commit=5b381885149d3a7a8d12d15716cb02b2f7143a7c&job=&pr=&service=jenkins&slug=&name=&tag=&flags=client-catapult&parent=
09:38:41  [2022-09-08T13:38:41.653Z] ['info'] https://codecov.io/github/Wayonb/monorepo/commit/5b381885149d3a7a8d12d15716cb02b2f7143a7c
09:38:41  https://storage.googleapis.com/codecov/v4/raw/2022-09-08/2231DFF0284206728389CDD40B33FE1F/5b381885149d3a7a8d12d15716cb02b2f7143a7c/66d0931f-a7e8-464c-b8b7-94a8714b9431.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220908%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220908T133841Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7b4991f37737521a5dc92d6cac4baf453bade38e68b9b77c579a6aef348faa49
09:38:41  [2022-09-08T13:38:41.653Z] ['info'] Uploading...
09:38:42  [2022-09-08T13:38:42.689Z] ['error'] There was an error running the uploader: Error uploading to https://codecov.io: Error: connect ENETUNREACH 2607:f8b0:4004:837::2010:443

Hi @tom, is there an option to force the codecov tool to use ipv4? We run our CI in docker container and they dont have IPv6. I am thinking this is why the upload is failing. I can run the upload not in a container and the tool uploads fine.

Hi @Wayonb sorry, I’ve been a bit bogged down this week. I’ll take a look to see how to force it or find another option.