# Long upload times and timeouts for GHA codecov/codecov-action@v1

**URL:** <https://community.codecov.com/t/long-upload-times-and-timeouts-for-gha-codecov-codecov-action-v1/1588>\
**Category:** Bug Fixes\
**Created:** [June 14, 2020, 3:33am UTC](https://community.codecov.com/t/long-upload-times-and-timeouts-for-gha-codecov-codecov-action-v1/1588 "2020-06-14T03:33:26Z")\
**Posts on this page:** 16\
**Page:** 2

<div class="post-metadata">

**Author:** ![mmoayyed](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/mmoayyed/32/544_2.png) [@mmoayyed](https://community.codecov.com/u/mmoayyed)\
**Post date:** [July 7, 2020, 5:47am UTC](https://community.codecov.com/t/long-upload-times-and-timeouts-for-gha-codecov-codecov-action-v1/1588/21 "2020-07-07T05:47:23Z")

</div>

Another example:

1. All Mongo tests passing:  
[https://github.com/apereo/cas/runs/842960465?check\_suite\_focus=true](https://github.com/apereo/cas/runs/842960465?check_suite_focus=true)

2. Codecov showing 0 test coverage:  
[https://codecov.io/gh/apereo/cas/tree/77845983f83126da061cefde2142b1ea8c5714e3/support/cas-server-support-audit-mongo/src/main/java/org/apereo/cas](https://codecov.io/gh/apereo/cas/tree/77845983f83126da061cefde2142b1ea8c5714e3/support/cas-server-support-audit-mongo/src/main/java/org/apereo/cas)

3. Similar warnings as above:

```auto
2020-07-06T20:42:05.7105162Z ##[group]Run codecov/codecov-action@v1.0.10
2020-07-06T20:42:05.7105405Z with:
2020-07-06T20:42:05.7105590Z flags: mongo
2020-07-06T20:42:05.7105835Z fail_***_if_error: true
2020-07-06T20:42:05.7106013Z env:
2020-07-06T20:42:05.7106230Z JAVA_OPTS: -Xms512m -Xmx6048m -Xss128m -XX:ReservedCodeCacheSize=512m -server -XX:+UseG1GC
2020-07-06T20:42:05.7106496Z GRADLE_OPTS: -Xms512m -Xmx6048m -Xss128m -XX:ReservedCodeCacheSize=512m -server -XX:+UseG1GC
2020-07-06T20:42:05.7106716Z TERM: xterm-256color
2020-07-06T20:42:05.7106912Z SONATYPE_USER: ***
2020-07-06T20:42:05.7107122Z SONATYPE_PWD: ***
2020-07-06T20:42:05.7107335Z GH_PAGES_TOKEN: ***
2020-07-06T20:42:05.7107556Z RENOVATE_TOKEN: ***
2020-07-06T20:42:05.7107743Z GRADLE_BUILDCACHE_USER: ***
2020-07-06T20:42:05.7107938Z GRADLE_BUILDCACHE_PSW: ***
2020-07-06T20:42:05.7108148Z PYTHON_VERSION: 3.8.2
2020-07-06T20:42:05.7108359Z JDK_CURRENT: 11.0.7
2020-07-06T20:42:05.7108529Z JDK_LATEST: 14
2020-07-06T20:42:05.7109075Z JAVA_HOME: /opt/hostedtoolcache/jdk/11.0.7/x64
2020-07-06T20:42:05.7109293Z JAVA_HOME_11.0.7_x64: /opt/hostedtoolcache/jdk/11.0.7/x64
2020-07-06T20:42:05.7109485Z ##[endgroup]
2020-07-06T20:53:17.3790476Z (node:6613) UnhandledPromiseRejectionWarning: Error: connect ETIMEDOUT 35.199.43.247:443
2020-07-06T20:53:17.3790976Z at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1129:14)
2020-07-06T20:53:17.3791563Z (node:6613) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
2020-07-06T20:53:17.3793323Z (node:6613) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
2020-07-06T20:53:23.0976179Z Post job cleanup.

```

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [July 22, 2020, 3:50pm UTC](https://community.codecov.com/t/long-upload-times-and-timeouts-for-gha-codecov-codecov-action-v1/1588/22 "2020-07-22T15:50:40Z")

</div>

Hi @mmoayyed, I updated the action to `1.0.12`. Would you be able to see if this is still an issue?

---

<div class="post-metadata">

**Author:** ![mmoayyed](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/mmoayyed/32/544_2.png) [@mmoayyed](https://community.codecov.com/u/mmoayyed)\
**Post date:** [July 22, 2020, 4:08pm UTC](https://community.codecov.com/t/long-upload-times-and-timeouts-for-gha-codecov-codecov-action-v1/1588/23 "2020-07-22T16:08:56Z")

</div>

Thanks. I updated the action and kick off another run:  
[https://github.com/apereo/cas/actions/runs/178699099](https://github.com/apereo/cas/actions/runs/178699099)

Will post results shortly.

---

<div class="post-metadata">

**Author:** ![mmoayyed](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/mmoayyed/32/544_2.png) [@mmoayyed](https://community.codecov.com/u/mmoayyed)\
**Post date:** [July 22, 2020, 4:45pm UTC](https://community.codecov.com/t/long-upload-times-and-timeouts-for-gha-codecov-codecov-action-v1/1588/24 "2020-07-22T16:45:04Z")

</div>

Failed:  
[https://github.com/apereo/cas/runs/899319279?check\_suite\_focus=true](https://github.com/apereo/cas/runs/899319279?check_suite_focus=true)

Failed:  
[https://github.com/apereo/cas/runs/899319576?check\_suite\_focus=true](https://github.com/apereo/cas/runs/899319576?check_suite_focus=true)

---

<div class="post-metadata">

**Author:** ![mmoayyed](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/mmoayyed/32/544_2.png) [@mmoayyed](https://community.codecov.com/u/mmoayyed)\
**Post date:** [July 24, 2020, 6:05am UTC](https://community.codecov.com/t/long-upload-times-and-timeouts-for-gha-codecov-codecov-action-v1/1588/25 "2020-07-24T06:05:45Z")

</div>

More failures popping up, for pull requests:  
[https://github.com/apereo/cas/actions/runs/180257634](https://github.com/apereo/cas/actions/runs/180257634)

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [July 28, 2020, 4:24pm UTC](https://community.codecov.com/t/long-upload-times-and-timeouts-for-gha-codecov-codecov-action-v1/1588/26 "2020-07-28T16:24:24Z")

</div>

Hi @mmoayyed, thanks here, we’re still working on fixes to reduce failures. Will update when we push some changes.

---

<div class="post-metadata">

**Author:** ![mmoayyed](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/mmoayyed/32/544_2.png) [@mmoayyed](https://community.codecov.com/u/mmoayyed)\
**Post date:** [July 29, 2020, 5:06am UTC](https://community.codecov.com/t/long-upload-times-and-timeouts-for-gha-codecov-codecov-action-v1/1588/27 "2020-07-29T05:06:01Z")

</div>

No problem. Look forward to trying out new updates!

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [July 29, 2020, 2:07pm UTC](https://community.codecov.com/t/long-upload-times-and-timeouts-for-gha-codecov-codecov-action-v1/1588/28 "2020-07-29T14:07:50Z")

</div>

Hi @mmoayyed, we made some updates to the underlying bash script, please let me know if you still see issues.

---

<div class="post-metadata">

**Author:** ![mmoayyed](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/mmoayyed/32/544_2.png) [@mmoayyed](https://community.codecov.com/u/mmoayyed)\
**Post date:** [July 30, 2020, 7:31pm UTC](https://community.codecov.com/t/long-upload-times-and-timeouts-for-gha-codecov-codecov-action-v1/1588/29 "2020-07-30T19:31:27Z")

</div>

Thanks @tom. I have kicked off another build and am watching the results closely. Will post an update shortly.

---

<div class="post-metadata">

**Author:** ![mmoayyed](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/mmoayyed/32/544_2.png) [@mmoayyed](https://community.codecov.com/u/mmoayyed)\
**Post date:** [July 31, 2020, 5:46am UTC](https://community.codecov.com/t/long-upload-times-and-timeouts-for-gha-codecov-codecov-action-v1/1588/30 "2020-07-31T05:46:51Z")

</div>

Results from the most recent build; Two more timeouts:

[https://github.com/mmoayyed/cas/runs/930558253?check\_suite\_focus=true](https://github.com/mmoayyed/cas/runs/930558253?check_suite_focus=true)

and

[https://github.com/mmoayyed/cas/runs/930558290?check\_suite\_focus=true](https://github.com/mmoayyed/cas/runs/930558290?check_suite_focus=true)

---

<div class="post-metadata">

**Author:** ![mmoayyed](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/mmoayyed/32/544_2.png) [@mmoayyed](https://community.codecov.com/u/mmoayyed)\
**Post date:** [July 31, 2020, 6:47pm UTC](https://community.codecov.com/t/long-upload-times-and-timeouts-for-gha-codecov-codecov-action-v1/1588/32 "2020-07-31T18:47:13Z")

</div>

I restarted the same job a few more times and it looks like at times it does pass altogether, but there are phantom failures here and there.

That said, there is something strange about how results are process. For example, the commit tied to this job finished around yesterday and yet codecov shows files are still in the queue to be processed:

> **[Code coverage done right.](https://app.codecov.io/gh/mmoayyed/cas/commit/915cc2c6766366b5177f55c5c22c2bf195cbcd3c)**
>
> Hosted coverage report highly integrated with GitHub, Bitbucket and GitLab. Awesome pull request comments to enhance your QA.

Is this accurate?

---

<div class="post-metadata">

**Author:** ![adamtheturtle](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/adamtheturtle/32/1028_2.png) [@adamtheturtle](https://community.codecov.com/u/adamtheturtle)\
**Post date:** [August 17, 2020, 11:08pm UTC](https://community.codecov.com/t/long-upload-times-and-timeouts-for-gha-codecov-codecov-action-v1/1588/33 "2020-08-17T23:08:40Z")

</div>

I’m still seeing issues on 1.0.12.

Just now:

 ![Screenshot 2020-08-18 at 00.03.42](https://canada1.discourse-cdn.com/flex029/uploads/codecov/original/2X/c/cb4044a8b0cfd2461e38e21973cdb89ce7d12a8c.png)

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [August 18, 2020, 2:18am UTC](https://community.codecov.com/t/long-upload-times-and-timeouts-for-gha-codecov-codecov-action-v1/1588/34 "2020-08-18T02:18:35Z")

</div>

Hi @adamtheturtle, I just released `v1.0.13`. Can you let me know how that is?

---

<div class="post-metadata">

**Author:** ![adamtheturtle](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/adamtheturtle/32/1028_2.png) [@adamtheturtle](https://community.codecov.com/u/adamtheturtle)\
**Post date:** [August 18, 2020, 12:44pm UTC](https://community.codecov.com/t/long-upload-times-and-timeouts-for-gha-codecov-codecov-action-v1/1588/35 "2020-08-18T12:44:26Z")

</div>

I have a repository with \>40 jobs in the main CI workflow ([GitHub - VWS-Python/vws-python-mock: Mock of the Vuforia Web Services (VWS) API](https://github.com/VWS-Python/vws-python-mock)).  
In this repository it was very rare to not see this error on at least one job per run.  
In my branch bumping this action to `v1.0.13` the run passed ([Bump codecov and make CI fail if it fails by adamtheturtle · Pull Request #690 · VWS-Python/vws-python-mock · GitHub](https://github.com/VWS-Python/vws-python-mock/pull/690)).  
However, the code coverage is reported as 99.25%, even hours later, and the “missing” coverage is code which I am certain is covered.

For example, [https://codecov.io/gh/VWS-Python/vws-python-mock/compare/355730c6297fc61e4cede0f9cdf5dc2e66918e06...143c1ffd35af34b7c14fc3817ddf1e25f31b82f3/src/tests/mock\_vws/test\_query.py](https://codecov.io/gh/VWS-Python/vws-python-mock/compare/355730c6297fc61e4cede0f9cdf5dc2e66918e06...143c1ffd35af34b7c14fc3817ddf1e25f31b82f3/src/tests/mock_vws/test_query.py).  
This shows that `test_query::TestAcceptHeader::test_valid` is not covered at all.  
However, I can see at [Bump codecov and make CI fail if it fails by adamtheturtle · Pull Request #690 · VWS-Python/vws-python-mock · GitHub](https://github.com/VWS-Python/vws-python-mock/pull/690/checks?check_run_id=997337082) that the tests ran and passed.  
It is as if the coverage report from [https://pipelines.actions.githubusercontent.com/24aMLzmFiVrnOAZbDJVsjvzPJ0pTXAUSmss8BIAcQXv2PpCi9Y/\_apis/pipelines/1/runs/518/signedlogcontent/18?urlExpires=2020-08-18T12%3A37%3A30.7865207Z&urlSigningMethod=HMACV1&urlSignature=Fu%2FFZ9GTOitbaxKxsPzOvXloNsadurjGE9Qoi68eLHI%3D](https://pipelines.actions.githubusercontent.com/24aMLzmFiVrnOAZbDJVsjvzPJ0pTXAUSmss8BIAcQXv2PpCi9Y/_apis/pipelines/1/runs/518/signedlogcontent/18?urlExpires=2020-08-18T12%3A37%3A30.7865207Z&urlSigningMethod=HMACV1&urlSignature=Fu%2FFZ9GTOitbaxKxsPzOvXloNsadurjGE9Qoi68eLHI%3D) is not considered.

I can create a different issue for this if appropriate - I would appreciate some advice on this.

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [August 18, 2020, 3:52pm UTC](https://community.codecov.com/t/long-upload-times-and-timeouts-for-gha-codecov-codecov-action-v1/1588/36 "2020-08-18T15:52:08Z")

</div>

Hi @adamtheturtle, if you don’t mind, would you be able to open a new issue for this?

---

<div class="post-metadata">

**Author:** ![adamtheturtle](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/adamtheturtle/32/1028_2.png) [@adamtheturtle](https://community.codecov.com/u/adamtheturtle)\
**Post date:** [August 18, 2020, 8:15pm UTC](https://community.codecov.com/t/long-upload-times-and-timeouts-for-gha-codecov-codecov-action-v1/1588/37 "2020-08-18T20:15:05Z")

</div>

@tom Sure - I created [Coverage not accurately reported](https://community.codecov.com/t/coverage-not-accurately-measured/1888).

[Previous page](https://community.codecov.com/t/long-upload-times-and-timeouts-for-gha-codecov-codecov-action-v1/1588.md?page=1)
