Uploading on Windows has silent failure

Please check the troubleshooting guide before creating a ticket.

Description

We use the codecov-action in buildpacks/pack (here is the configuration), and we have noticed of late (around the past month) that it hasn’t commented coverage on any PRs, and hence, is totally not working for us.

Looking into it, it seems that the codecov GH action silently fails to upload on a windows runner, with this error:

Couldn't read data from file "/tmp/codecov.MsdkCD.gz", this makes an empty POST.

Oddly enough, the linux runner seems fine, and while the macos runner has some odd logs (see here: Pinging Codecov gets Error 411 · Issue #164 · codecov/codecov-action · GitHub), it also seems fine.

Repository

CI/CD

Github Actions

Uploader

Bash

Commit SHAs

eb56eae

Codecov YAML

codecov:
  notify:
    after_n_builds: 4

coverage:
  round: up
  status:
    project:
      default:
        threshold: 1%
    patch:
      default:
        threshold: 10%

comment:
  layout: "reach,diff,flags"
  require_changes: yes
  after_n_builds: 4

Codecov Output

  _____          _
 / ____|        | |
| |     ___   __| | ___  ___ _____   __
| |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| |  __/ (_| (_) \ V /
 \_____\___/ \__,_|\___|\___\___/ \_/
                              Bash-20201009-048fee3


==> GitHub Actions detected.
    project root: C:/actions-runners/pack/_work/pack/pack
    Yaml found at: codecov.yml
    -> Found 1 reports
==> Detecting git/mercurial file structure
==> Reading reports
    + ./out/tests/coverage-unit.txt bytes=187867
==> Appending adjustments
    https://docs.codecov.io/docs/fixing-reports
FIND: Parameter format not correct
FIND: Parameter format not correct
FIND: Parameter format not correct

    -> No adjustments found
==> Gzipping contents
==> Uploading reports
    url: https://codecov.io
    query: branch=naked-locator&commit=096088d2ccc16471e4dc508f6ff90d6023be2a8c&build=318589972&build_url=http%3A%2F%2Fgithub.com%2Fbuildpacks%2Fpack%2Factions%2Fruns%2F318589972&name=&tag=&slug=buildpacks%2Fpack&service=github-actions&flags=unit,os_windows&pr=902&job=&cmd_args=f,n,F,Z
->  Pinging Codecov
https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=naked-locator&commit=096088d2ccc16471e4dc508f6ff90d6023be2a8c&build=318589972&build_url=http%3A%2F%2Fgithub.com%2Fbuildpacks%2Fpack%2Factions%2Fruns%2F318589972&name=&tag=&slug=buildpacks%2Fpack&service=github-actions&flags=unit,os_windows&pr=902&job=&cmd_args=f,n,F,Z
->  Uploading to
<html lang=en>
Warning: Couldn't read data from file "/tmp/codecov.MsdkCD.gz", this makes an 
Warning: empty POST.
  % 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
Warning: Couldn't read data from file "/tmp/codecov.MsdkCD.gz", this makes an 
Warning: empty POST.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
100    99  100    99    0     0     99      0  0:00:01  0:00:01 --:--:--    77
    View reports at https://codecov.io/github/buildpacks/pack/commit/096088d2ccc16471e4dc508f6ff90d6023be2a8c

Additional Information

Ported from Uploading on Windows has silent failure · Issue #163 · codecov/codecov-action · GitHub

1 Like

@dfreilich, thanks for this. Would you be able to run this with the verbose flag?

I’ve added the verbose flag, and it is being run in this PR:

I can’t paste the entire logs, because they are too many characters (there’s a 32K character limit, and one log alone is 320K, apparently)

We have 2 windows jobs, both self-hosted runners:

  • lcow (linux containers on Windows OS)
  • wcow (Windows containers on Windows OS)

The lcow uploading logs:

==> Gzipping contents
+ gzip -nf9 /tmp/codecov.bdd5IA
++ echo 'branch=verbose-codecov       &commit=7fed2a765ec7a2b95deb02fe4d5360699d280347       &build=356262746       &build_url=http%3A%2F%2Fgithub.com%2Fbuildpacks%2Fpack%2Factions%2Fruns%2F356262746       &name=       &tag=       &slug=buildpacks%2Fpack       &service=github-actions       &flags=unit,os_windows       &pr=944       &job=       &cmd_args=f,n,F,Z,v'
++ tr -d ' '
+ query='branch=verbose-codecov&commit=7fed2a765ec7a2b95deb02fe4d5360699d280347&build=356262746&build_url=http%3A%2F%2Fgithub.com%2Fbuildpacks%2Fpack%2Factions%2Fruns%2F356262746&name=&tag=&slug=buildpacks%2Fpack&service=github-actions&flags=unit,os_windows&pr=944&job=&cmd_args=f,n,F,Z,v'
==> Uploading reports
    url: https://codecov.io
+ say '\033[0;90m==>\033[0m Uploading reports'
+ echo -e '\033[0;90m==>\033[0m Uploading reports'
+ say '    \033[0;90murl:\033[0m https://codecov.io'
+ echo -e '    \033[0;90murl:\033[0m https://codecov.io'
+ say '    \033[0;90mquery:\033[0m branch=verbose-codecov&commit=7fed2a765ec7a2b95deb02fe4d5360699d280347&build=356262746&build_url=http%3A%2F%2Fgithub.com%2Fbuildpacks%2Fpack%2Factions%2Fruns%2F356262746&name=&tag=&slug=buildpacks%2Fpack&service=github-actions&flags=unit,os_windows&pr=944&job=&cmd_args=f,n,F,Z,v'
+ echo -e '    \033[0;90mquery:\033[0m branch=verbose-codecov&commit=7fed2a765ec7a2b95deb02fe4d5360699d280347&build=356262746&build_url=http%3A%2F%2Fgithub.com%2Fbuildpacks%2Fpack%2Factions%2Fruns%2F356262746&name=&tag=&slug=buildpacks%2Fpack&service=github-actions&flags=unit,os_windows&pr=944&job=&cmd_args=f,n,F,Z,v'
    query: branch=verbose-codecov&commit=7fed2a765ec7a2b95deb02fe4d5360699d280347&build=356262746&build_url=http%3A%2F%2Fgithub.com%2Fbuildpacks%2Fpack%2Factions%2Fruns%2F356262746&name=&tag=&slug=buildpacks%2Fpack&service=github-actions&flags=unit,os_windows&pr=944&job=&cmd_args=f,n,F,Z,v
++ echo 'package=bash-20201106-81372f2&token=secret&branch=verbose-codecov&commit=7fed2a765ec7a2b95deb02fe4d5360699d280347&build=356262746&build_url=http%3A%2F%2Fgithub.com%2Fbuildpacks%2Fpack%2Factions%2Fruns%2F356262746&name=&tag=&slug=buildpacks%2Fpack&service=github-actions&flags=unit,os_windows&pr=944&job=&cmd_args=f,n,F,Z,v'
++ tr -d ' '
+ queryNoToken='package=bash-20201106-81372f2&token=secret&branch=verbose-codecov&commit=7fed2a765ec7a2b95deb02fe4d5360699d280347&build=356262746&build_url=http%3A%2F%2Fgithub.com%2Fbuildpacks%2Fpack%2Factions%2Fruns%2F356262746&name=&tag=&slug=buildpacks%2Fpack&service=github-actions&flags=unit,os_windows&pr=944&job=&cmd_args=f,n,F,Z,v'
++ echo 'package=bash-20201106-81372f2&token=&branch=verbose-codecov&commit=7fed2a765ec7a2b95deb02fe4d5360699d280347&build=356262746&build_url=http%3A%2F%2Fgithub.com%2Fbuildpacks%2Fpack%2Factions%2Fruns%2F356262746&name=&tag=&slug=buildpacks%2Fpack&service=github-actions&flags=unit,os_windows&pr=944&job=&cmd_args=f,n,F,Z,v'
++ tr -d ' '
+ query='package=bash-20201106-81372f2&token=&branch=verbose-codecov&commit=7fed2a765ec7a2b95deb02fe4d5360699d280347&build=356262746&build_url=http%3A%2F%2Fgithub.com%2Fbuildpacks%2Fpack%2Factions%2Fruns%2F356262746&name=&tag=&slug=buildpacks%2Fpack&service=github-actions&flags=unit,os_windows&pr=944&job=&cmd_args=f,n,F,Z,v'
->  Pinging Codecov
+ '[' 1 = 1 ']'
+ say '\033[0;90m->\033[0m  Pinging Codecov'
+ echo -e '\033[0;90m->\033[0m  Pinging Codecov'
+ say 'https://codecov.io/upload/v4?package=bash-20201106-81372f2&token=secret&branch=verbose-codecov&commit=7fed2a765ec7a2b95deb02fe4d5360699d280347&build=356262746&build_url=http%3A%2F%2Fgithub.com%2Fbuildpacks%2Fpack%2Factions%2Fruns%2F356262746&name=&tag=&slug=buildpacks%2Fpack&service=github-actions&flags=unit,os_windows&pr=944&job=&cmd_args=f,n,F,Z,v'
+ echo -e 'https://codecov.io/upload/v4?package=bash-20201106-81372f2&token=secret&branch=verbose-codecov&commit=7fed2a765ec7a2b95deb02fe4d5360699d280347&build=356262746&build_url=http%3A%2F%2Fgithub.com%2Fbuildpacks%2Fpack%2Factions%2Fruns%2F356262746&name=&tag=&slug=buildpacks%2Fpack&service=github-actions&flags=unit,os_windows&pr=944&job=&cmd_args=f,n,F,Z,v'
https://codecov.io/upload/v4?package=bash-20201106-81372f2&token=secret&branch=verbose-codecov&commit=7fed2a765ec7a2b95deb02fe4d5360699d280347&build=356262746&build_url=http%3A%2F%2Fgithub.com%2Fbuildpacks%2Fpack%2Factions%2Fruns%2F356262746&name=&tag=&slug=buildpacks%2Fpack&service=github-actions&flags=unit,os_windows&pr=944&job=&cmd_args=f,n,F,Z,v
++ curl -X POST --retry 5 --retry-delay 2 --connect-timeout 2 -H 'X-Reduced-Redundancy: false' -H 'X-Content-Type: application/x-gzip' -H 'Content-Length: 0' --write-out '\n%{response_code}\n' 'https://codecov.io/upload/v4?package=bash-20201106-81372f2&token=&branch=verbose-codecov&commit=7fed2a765ec7a2b95deb02fe4d5360699d280347&build=356262746&build_url=http%3A%2F%2Fgithub.com%2Fbuildpacks%2Fpack%2Factions%2Fruns%2F356262746&name=&tag=&slug=buildpacks%2Fpack&service=github-actions&flags=unit,os_windows&pr=944&job=&cmd_args=f,n,F,Z,v'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
100   560  100   560    0     0    280      0  0:00:02  0:00:02 --:--:--   189
100   560  100   560    0     0    280      0  0:00:02  0:00:02 --:--:--   189
+ res='https://codecov.io/github/buildpacks/pack/commit/7fed2a765ec7a2b95deb02fe4d5360699d280347
https://storage.googleapis.com/codecov/v4/raw/2020-11-10/9CF2A73FBA703D2189E7978B5D903E1E/7fed2a765ec7a2b95deb02fe4d5360699d280347/609535f0-ca34-41c6-b3fe-2ebac929ddff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201110T170223Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=77144f174f5bbf60810a3a111cf83f58e732304fe8acc1ac540274c9d37f673e
200'
++ echo 'https://codecov.io/github/buildpacks/pack/commit/7fed2a765ec7a2b95deb02fe4d5360699d280347
https://storage.googleapis.com/codecov/v4/raw/2020-11-10/9CF2A73FBA703D2189E7978B5D903E1E/7fed2a765ec7a2b95deb02fe4d5360699d280347/609535f0-ca34-41c6-b3fe-2ebac929ddff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201110T170223Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=77144f174f5bbf60810a3a111cf83f58e732304fe8acc1ac540274c9d37f673e
200'
++ sed -n 2p
+ s3target='https://storage.googleapis.com/codecov/v4/raw/2020-11-10/9CF2A73FBA703D2189E7978B5D903E1E/7fed2a765ec7a2b95deb02fe4d5360699d280347/609535f0-ca34-41c6-b3fe-2ebac929ddff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201110T170223Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=77144f174f5bbf60810a3a111cf83f58e732304fe8acc1ac540274c9d37f673e'
++ tail -n1
+ status=200
+ '[' 200 = 200 ']'
->  Uploading to
https://storage.googleapis.com/codecov/v4/raw/2020-11-10/9CF2A73FBA703D2189E7978B5D903E1E/7fed2a765ec7a2b95deb02fe4d5360699d280347/609535f0-ca34-41c6-b3fe-2ebac929ddff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201110T170223Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=77144f174f5bbf60810a3a111cf83f58e732304fe8acc1ac540274c9d37f673e
+ '[' 'https://storage.googleapis.com/codecov/v4/raw/2020-11-10/9CF2A73FBA703D2189E7978B5D903E1E/7fed2a765ec7a2b95deb02fe4d5360699d280347/609535f0-ca34-41c6-b3fe-2ebac929ddff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201110T170223Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=77144f174f5bbf60810a3a111cf83f58e732304fe8acc1ac540274c9d37f673e' '!=' '' ']'
+ say '\033[0;90m->\033[0m  Uploading to'
+ echo -e '\033[0;90m->\033[0m  Uploading to'
+ say 'https://storage.googleapis.com/codecov/v4/raw/2020-11-10/9CF2A73FBA703D2189E7978B5D903E1E/7fed2a765ec7a2b95deb02fe4d5360699d280347/609535f0-ca34-41c6-b3fe-2ebac929ddff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201110T170223Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=77144f174f5bbf60810a3a111cf83f58e732304fe8acc1ac540274c9d37f673e'
+ echo -e 'https://storage.googleapis.com/codecov/v4/raw/2020-11-10/9CF2A73FBA703D2189E7978B5D903E1E/7fed2a765ec7a2b95deb02fe4d5360699d280347/609535f0-ca34-41c6-b3fe-2ebac929ddff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201110T170223Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=77144f174f5bbf60810a3a111cf83f58e732304fe8acc1ac540274c9d37f673e'
++ curl -fiX PUT --data-binary @/tmp/codecov.bdd5IA.gz -H 'Content-Type: application/x-gzip' -H 'Content-Encoding: gzip' 'https://storage.googleapis.com/codecov/v4/raw/2020-11-10/9CF2A73FBA703D2189E7978B5D903E1E/7fed2a765ec7a2b95deb02fe4d5360699d280347/609535f0-ca34-41c6-b3fe-2ebac929ddff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201110T170223Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=77144f174f5bbf60810a3a111cf83f58e732304fe8acc1ac540274c9d37f673e'
Warning: Couldn't read data from file "/tmp/codecov.bdd5IA.gz", this makes an 
Warning: empty POST.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
+ s3='HTTP/1.1 200 OK
X-GUploader-UploadID: ABg5-UyOUQcq11v_3Ht0X67y_GehoBZOI07d_Qn1u1tIYNwAbPnugeZ4nXYlxPPEmwQlYnBTMVOPcaS1WLW-Jhz3EJTrIwApSg
ETag: "d41d8cd98f00b204e9800998ecf8427e"
x-goog-generation: 1605027743470912
x-goog-metageneration: 1
x-goog-hash: crc32c=AAAAAA==
x-goog-hash: md5=1B2M2Y8AsgTpgAmY7PhCfg==
x-goog-stored-content-length: 0
x-goog-stored-content-encoding: gzip
Vary: Origin
Content-Length: 0
Date: Tue, 10 Nov 2020 17:02:23 GMT
Server: UploadServer
Content-Type: text/html; charset=UTF-8
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"

'
+ '[' 'HTTP/1.1 200 OK
X-GUploader-UploadID: ABg5-UyOUQcq11v_3Ht0X67y_GehoBZOI07d_Qn1u1tIYNwAbPnugeZ4nXYlxPPEmwQlYnBTMVOPcaS1WLW-Jhz3EJTrIwApSg
ETag: "d41d8cd98f00b204e9800998ecf8427e"
x-goog-generation: 1605027743470912
x-goog-metageneration: 1
x-goog-hash: crc32c=AAAAAA==
x-goog-hash: md5=1B2M2Y8AsgTpgAmY7PhCfg==
x-goog-stored-content-length: 0
x-goog-stored-content-encoding: gzip
Vary: Origin
Content-Length: 0
Date: Tue, 10 Nov 2020 17:02:23 GMT
Server: UploadServer
Content-Type: text/html; charset=UTF-8
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"

' '!=' '' ']'
++ echo 'https://codecov.io/github/buildpacks/pack/commit/7fed2a765ec7a2b95deb02fe4d5360699d280347
https://storage.googleapis.com/codecov/v4/raw/2020-11-10/9CF2A73FBA703D2189E7978B5D903E1E/7fed2a765ec7a2b95deb02fe4d5360699d280347/609535f0-ca34-41c6-b3fe-2ebac929ddff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201110T170223Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=77144f174f5bbf60810a3a111cf83f58e732304fe8acc1ac540274c9d37f673e
200'
++ sed -n 1p
+ say '    \033[0;32m->\033[0m View reports at \033[0;36mhttps://codecov.io/github/buildpacks/pack/commit/7fed2a765ec7a2b95deb02fe4d5360699d280347\033[0m'
+ echo -e '    \033[0;32m->\033[0m View reports at \033[0;36mhttps://codecov.io/github/buildpacks/pack/commit/7fed2a765ec7a2b95deb02fe4d5360699d280347\033[0m'
    -> View reports at https://codecov.io/github/buildpacks/pack/commit/7fed2a765ec7a2b95deb02fe4d5360699d280347
+ exit 0

The wcow logs:

==> Gzipping contents
+ gzip -nf9 /tmp/codecov.zZnCwd
++ echo 'branch=verbose-codecov       &commit=7fed2a765ec7a2b95deb02fe4d5360699d280347       &build=356262746       &build_url=http%3A%2F%2Fgithub.com%2Fbuildpacks%2Fpack%2Factions%2Fruns%2F356262746       &name=       &tag=       &slug=buildpacks%2Fpack       &service=github-actions       &flags=unit,os_windows       &pr=944       &job=       &cmd_args=f,n,F,Z,v'
++ tr -d ' '
+ query='branch=verbose-codecov&commit=7fed2a765ec7a2b95deb02fe4d5360699d280347&build=356262746&build_url=http%3A%2F%2Fgithub.com%2Fbuildpacks%2Fpack%2Factions%2Fruns%2F356262746&name=&tag=&slug=buildpacks%2Fpack&service=github-actions&flags=unit,os_windows&pr=944&job=&cmd_args=f,n,F,Z,v'
+ say '\033[0;90m==>\033[0m Uploading reports'
+ echo -e '\033[0;90m==>\033[0m Uploading reports'
+ say '    \033[0;90murl:\033[0m https://codecov.io'
==> Uploading reports
    url: https://codecov.io
    query: branch=verbose-codecov&commit=7fed2a765ec7a2b95deb02fe4d5360699d280347&build=356262746&build_url=http%3A%2F%2Fgithub.com%2Fbuildpacks%2Fpack%2Factions%2Fruns%2F356262746&name=&tag=&slug=buildpacks%2Fpack&service=github-actions&flags=unit,os_windows&pr=944&job=&cmd_args=f,n,F,Z,v
+ echo -e '    \033[0;90murl:\033[0m https://codecov.io'
+ say '    \033[0;90mquery:\033[0m branch=verbose-codecov&commit=7fed2a765ec7a2b95deb02fe4d5360699d280347&build=356262746&build_url=http%3A%2F%2Fgithub.com%2Fbuildpacks%2Fpack%2Factions%2Fruns%2F356262746&name=&tag=&slug=buildpacks%2Fpack&service=github-actions&flags=unit,os_windows&pr=944&job=&cmd_args=f,n,F,Z,v'
+ echo -e '    \033[0;90mquery:\033[0m branch=verbose-codecov&commit=7fed2a765ec7a2b95deb02fe4d5360699d280347&build=356262746&build_url=http%3A%2F%2Fgithub.com%2Fbuildpacks%2Fpack%2Factions%2Fruns%2F356262746&name=&tag=&slug=buildpacks%2Fpack&service=github-actions&flags=unit,os_windows&pr=944&job=&cmd_args=f,n,F,Z,v'
++ echo 'package=bash-20201106-81372f2&token=secret&branch=verbose-codecov&commit=7fed2a765ec7a2b95deb02fe4d5360699d280347&build=356262746&build_url=http%3A%2F%2Fgithub.com%2Fbuildpacks%2Fpack%2Factions%2Fruns%2F356262746&name=&tag=&slug=buildpacks%2Fpack&service=github-actions&flags=unit,os_windows&pr=944&job=&cmd_args=f,n,F,Z,v'
++ tr -d ' '
+ queryNoToken='package=bash-20201106-81372f2&token=secret&branch=verbose-codecov&commit=7fed2a765ec7a2b95deb02fe4d5360699d280347&build=356262746&build_url=http%3A%2F%2Fgithub.com%2Fbuildpacks%2Fpack%2Factions%2Fruns%2F356262746&name=&tag=&slug=buildpacks%2Fpack&service=github-actions&flags=unit,os_windows&pr=944&job=&cmd_args=f,n,F,Z,v'
++ echo 'package=bash-20201106-81372f2&token=&branch=verbose-codecov&commit=7fed2a765ec7a2b95deb02fe4d5360699d280347&build=356262746&build_url=http%3A%2F%2Fgithub.com%2Fbuildpacks%2Fpack%2Factions%2Fruns%2F356262746&name=&tag=&slug=buildpacks%2Fpack&service=github-actions&flags=unit,os_windows&pr=944&job=&cmd_args=f,n,F,Z,v'
++ tr -d ' '
+ query='package=bash-20201106-81372f2&token=&branch=verbose-codecov&commit=7fed2a765ec7a2b95deb02fe4d5360699d280347&build=356262746&build_url=http%3A%2F%2Fgithub.com%2Fbuildpacks%2Fpack%2Factions%2Fruns%2F356262746&name=&tag=&slug=buildpacks%2Fpack&service=github-actions&flags=unit,os_windows&pr=944&job=&cmd_args=f,n,F,Z,v'
+ '[' 1 = 1 ']'
+ say '\033[0;90m->\033[0m  Pinging Codecov'
+ echo -e '\033[0;90m->\033[0m  Pinging Codecov'
->  Pinging Codecov
https://codecov.io/upload/v4?package=bash-20201106-81372f2&token=secret&branch=verbose-codecov&commit=7fed2a765ec7a2b95deb02fe4d5360699d280347&build=356262746&build_url=http%3A%2F%2Fgithub.com%2Fbuildpacks%2Fpack%2Factions%2Fruns%2F356262746&name=&tag=&slug=buildpacks%2Fpack&service=github-actions&flags=unit,os_windows&pr=944&job=&cmd_args=f,n,F,Z,v
+ say 'https://codecov.io/upload/v4?package=bash-20201106-81372f2&token=secret&branch=verbose-codecov&commit=7fed2a765ec7a2b95deb02fe4d5360699d280347&build=356262746&build_url=http%3A%2F%2Fgithub.com%2Fbuildpacks%2Fpack%2Factions%2Fruns%2F356262746&name=&tag=&slug=buildpacks%2Fpack&service=github-actions&flags=unit,os_windows&pr=944&job=&cmd_args=f,n,F,Z,v'
+ echo -e 'https://codecov.io/upload/v4?package=bash-20201106-81372f2&token=secret&branch=verbose-codecov&commit=7fed2a765ec7a2b95deb02fe4d5360699d280347&build=356262746&build_url=http%3A%2F%2Fgithub.com%2Fbuildpacks%2Fpack%2Factions%2Fruns%2F356262746&name=&tag=&slug=buildpacks%2Fpack&service=github-actions&flags=unit,os_windows&pr=944&job=&cmd_args=f,n,F,Z,v'
++ curl -X POST --retry 5 --retry-delay 2 --connect-timeout 2 -H 'X-Reduced-Redundancy: false' -H 'X-Content-Type: application/x-gzip' -H 'Content-Length: 0' --write-out '\n%{response_code}\n' 'https://codecov.io/upload/v4?package=bash-20201106-81372f2&token=&branch=verbose-codecov&commit=7fed2a765ec7a2b95deb02fe4d5360699d280347&build=356262746&build_url=http%3A%2F%2Fgithub.com%2Fbuildpacks%2Fpack%2Factions%2Fruns%2F356262746&name=&tag=&slug=buildpacks%2Fpack&service=github-actions&flags=unit,os_windows&pr=944&job=&cmd_args=f,n,F,Z,v'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
 82   560   82   461    0     0    461      0  0:00:01  0:00:01 --:--:--   241
100   560  100   560    0     0    560      0  0:00:01  0:00:01 --:--:--   293
+ res='https://codecov.io/github/buildpacks/pack/commit/7fed2a765ec7a2b95deb02fe4d5360699d280347
https://storage.googleapis.com/codecov/v4/raw/2020-11-10/9CF2A73FBA703D2189E7978B5D903E1E/7fed2a765ec7a2b95deb02fe4d5360699d280347/0c08fc0d-238f-4fcb-b009-27db20a2c33c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201110T170247Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=312cc6756b21cdc336f384d67b1e04fa8374aee6365377fe788cc139974d7ea1
200'
++ echo 'https://codecov.io/github/buildpacks/pack/commit/7fed2a765ec7a2b95deb02fe4d5360699d280347
https://storage.googleapis.com/codecov/v4/raw/2020-11-10/9CF2A73FBA703D2189E7978B5D903E1E/7fed2a765ec7a2b95deb02fe4d5360699d280347/0c08fc0d-238f-4fcb-b009-27db20a2c33c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201110T170247Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=312cc6756b21cdc336f384d67b1e04fa8374aee6365377fe788cc139974d7ea1
200'
++ sed -n 2p
+ s3target='https://storage.googleapis.com/codecov/v4/raw/2020-11-10/9CF2A73FBA703D2189E7978B5D903E1E/7fed2a765ec7a2b95deb02fe4d5360699d280347/0c08fc0d-238f-4fcb-b009-27db20a2c33c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201110T170247Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=312cc6756b21cdc336f384d67b1e04fa8374aee6365377fe788cc139974d7ea1'
++ tail -n1
+ status=200
+ '[' 200 = 200 ']'
+ '[' 'https://storage.googleapis.com/codecov/v4/raw/2020-11-10/9CF2A73FBA703D2189E7978B5D903E1E/7fed2a765ec7a2b95deb02fe4d5360699d280347/0c08fc0d-238f-4fcb-b009-27db20a2c33c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201110T170247Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=312cc6756b21cdc336f384d67b1e04fa8374aee6365377fe788cc139974d7ea1' '!=' '' ']'
->  Uploading to
https://storage.googleapis.com/codecov/v4/raw/2020-11-10/9CF2A73FBA703D2189E7978B5D903E1E/7fed2a765ec7a2b95deb02fe4d5360699d280347/0c08fc0d-238f-4fcb-b009-27db20a2c33c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201110T170247Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=312cc6756b21cdc336f384d67b1e04fa8374aee6365377fe788cc139974d7ea1
+ say '\033[0;90m->\033[0m  Uploading to'
+ echo -e '\033[0;90m->\033[0m  Uploading to'
+ say 'https://storage.googleapis.com/codecov/v4/raw/2020-11-10/9CF2A73FBA703D2189E7978B5D903E1E/7fed2a765ec7a2b95deb02fe4d5360699d280347/0c08fc0d-238f-4fcb-b009-27db20a2c33c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201110T170247Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=312cc6756b21cdc336f384d67b1e04fa8374aee6365377fe788cc139974d7ea1'
+ echo -e 'https://storage.googleapis.com/codecov/v4/raw/2020-11-10/9CF2A73FBA703D2189E7978B5D903E1E/7fed2a765ec7a2b95deb02fe4d5360699d280347/0c08fc0d-238f-4fcb-b009-27db20a2c33c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201110T170247Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=312cc6756b21cdc336f384d67b1e04fa8374aee6365377fe788cc139974d7ea1'
++ curl -fiX PUT --data-binary @/tmp/codecov.zZnCwd.gz -H 'Content-Type: application/x-gzip' -H 'Content-Encoding: gzip' 'https://storage.googleapis.com/codecov/v4/raw/2020-11-10/9CF2A73FBA703D2189E7978B5D903E1E/7fed2a765ec7a2b95deb02fe4d5360699d280347/0c08fc0d-238f-4fcb-b009-27db20a2c33c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201110T170247Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=312cc6756b21cdc336f384d67b1e04fa8374aee6365377fe788cc139974d7ea1'
Warning: Couldn't read data from file "/tmp/codecov.zZnCwd.gz", this makes an 
Warning: empty POST.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
+ s3='HTTP/1.1 200 OK
X-GUploader-UploadID: ABg5-Ux-RD28bKs0gWuKwmnbVlEn1iDGYOsWFEKHTInMb8b57VyiGMIpbw1bPioSJQ06foB82UP6goCnp9wIQGnv0JI
ETag: "d41d8cd98f00b204e9800998ecf8427e"
x-goog-generation: 1605027767308429
x-goog-metageneration: 1
x-goog-hash: crc32c=AAAAAA==
x-goog-hash: md5=1B2M2Y8AsgTpgAmY7PhCfg==
x-goog-stored-content-length: 0
x-goog-stored-content-encoding: gzip
Vary: Origin
Content-Length: 0
Date: Tue, 10 Nov 2020 17:02:47 GMT
Server: UploadServer
Content-Type: text/html; charset=UTF-8
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"

'
+ '[' 'HTTP/1.1 200 OK
X-GUploader-UploadID: ABg5-Ux-RD28bKs0gWuKwmnbVlEn1iDGYOsWFEKHTInMb8b57VyiGMIpbw1bPioSJQ06foB82UP6goCnp9wIQGnv0JI
ETag: "d41d8cd98f00b204e9800998ecf8427e"
x-goog-generation: 1605027767308429
x-goog-metageneration: 1
x-goog-hash: crc32c=AAAAAA==
x-goog-hash: md5=1B2M2Y8AsgTpgAmY7PhCfg==
x-goog-stored-content-length: 0
x-goog-stored-content-encoding: gzip
Vary: Origin
Content-Length: 0
Date: Tue, 10 Nov 2020 17:02:47 GMT
Server: UploadServer
Content-Type: text/html; charset=UTF-8
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"

' '!=' '' ']'
++ echo 'https://codecov.io/github/buildpacks/pack/commit/7fed2a765ec7a2b95deb02fe4d5360699d280347
https://storage.googleapis.com/codecov/v4/raw/2020-11-10/9CF2A73FBA703D2189E7978B5D903E1E/7fed2a765ec7a2b95deb02fe4d5360699d280347/0c08fc0d-238f-4fcb-b009-27db20a2c33c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201110T170247Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=312cc6756b21cdc336f384d67b1e04fa8374aee6365377fe788cc139974d7ea1
200'
++ sed -n 1p
+ say '    \033[0;32m->\033[0m View reports at \033[0;36mhttps://codecov.io/github/buildpacks/pack/commit/7fed2a765ec7a2b95deb02fe4d5360699d280347\033[0m'
+ echo -e '    \033[0;32m->\033[0m View reports at \033[0;36mhttps://codecov.io/github/buildpacks/pack/commit/7fed2a765ec7a2b95deb02fe4d5360699d280347\033[0m'
+ exit 0
    -> View reports at https://codecov.io/github/buildpacks/pack/commit/7fed2a765ec7a2b95deb02fe4d5360699d280347

And, as you can see here, there is no change listed for Windows:
Screen Shot 2020-11-11 at 11.18.54 AM

I tried adding a comment with logs, but Akismet has blocked it. You can see the logs for the verbose jobs here: [DRAFT] Add verbose flag to codecov by dfreilich · Pull Request #944 · buildpacks/pack · GitHub
(attached to this PRhttps://github.com/buildpacks/pack/pull/944)

@dfreilich, I wonder if this is an issue with gzip. On either lcow or wcow, would you be able to

  1. run gzip -V to get the gzip version
  2. see if you can make a text file and run gzip -nf9 {path_to_file}. Does this properly create a .gz file?

On both wcow and lcow:

  • gzip -V returns gzip 1.8, Copyright © 2016 Free Software Foundation, Inc.
  • I was able to make a text file, run gzip -nf9 to make a .gz file, and then unzip it with gzip -d

Hmm… this is really tricky @dfreilich. There is definitely something strange with the creation and usage of the .gz file. Would you be able to make a CI step before the Codecov one that does

upload_file=$(mktemp /tmp/codecov.XXXXXX)
echo "test" >> "$upload_file"
gzip -nf9 "$upload_file"
du -h "$upload_file.gz"
hexdump -x $upload_file.gz
curl -fiX PUT --data-binary @$upload_file.gz -v -H 'Content-Type: application/x-gzip' -H 'Content-Encoding: gzip' --max-time 1 https://example.com
curl -fiX PUT --data-binary @"$upload_file.gz" -v -H 'Content-Type: application/x-gzip' -H 'Content-Encoding: gzip' --max-time 1 https://example.com

That’s effectively the most bare bones of what the uploader is trying to do with the upload file. I’d love to get an output of that if possible.

Thanks for the help @tom, and I’m sorry it took me so long to respond! I tried adding that, but I had some issues with Github Actions parsing of carriage returns, so I wasn’t able to succesfully run in on a Windows action.

When I ran it manually on the self-hosted Windows runner we used, all the steps worked:

$ upload_file=$(mktemp /tmp/codecov.XXXXXX)

Admin@windows-wcow-gh-runner-01 MINGW64 ~
$ echo "test" >> "$upload_file"

Admin@windows-wcow-gh-runner-01 MINGW64 ~
$

Admin@windows-wcow-gh-runner-01 MINGW64 ~
$

Admin@windows-wcow-gh-runner-01 MINGW64 ~
$ gzip -nf9 "$upload_file"

Admin@windows-wcow-gh-runner-01 MINGW64 ~
$ du -h "$upload_file.gz"
1.0K    /tmp/codecov.GNSUno.gz

Admin@windows-wcow-gh-runner-01 MINGW64 ~
$

Admin@windows-wcow-gh-runner-01 MINGW64 ~
$ hexdump -x $upload_file.gz
0000000    8b1f    0008    0000    0000    0302    492b    2e2d    02e1
0000010    c600    b935    053b    0000    0000
0000019

Admin@windows-wcow-gh-runner-01 MINGW64 ~
$ curl -fiX PUT --data-binary @$upload_file.gz -v -H 'Content-Type: application/x-gzip' -H 'Content-Encoding: gzip' --max-time 1 https://example.com
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 2606:2800:220:1:248:1893:25c8:1946:443...
* Connected to example.com (2606:2800:220:1:248:1893:25c8:1946) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
  CApath: none
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [88 bytes data]
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [155 bytes data]
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
{ [15 bytes data]
* TLSv1.3 (IN), TLS handshake, Certificate (11):
{ [3985 bytes data]
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
{ [264 bytes data]
* TLSv1.3 (IN), TLS handshake, Finished (20):
{ [52 bytes data]
* TLSv1.3 (OUT), TLS handshake, Finished (20):
} [52 bytes data]
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
*  subject: C=US; ST=California; L=Los Angeles; O=Internet Corporation for Assigned Names and Numbers; CN=www.example.org
*  start date: Nov 24 00:00:00 2020 GMT
*  expire date: Dec 25 23:59:59 2021 GMT
*  subjectAltName: host "example.com" matched cert's "example.com"
*  issuer: C=US; O=DigiCert Inc; CN=DigiCert TLS RSA SHA256 2020 CA1
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
} [5 bytes data]
* Using Stream ID: 1 (easy handle 0x26ee070)
} [5 bytes data]
> PUT / HTTP/2
> Host: example.com
> user-agent: curl/7.71.1
> accept: */*
> content-type: application/x-gzip
> content-encoding: gzip
> content-length: 25
>
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [233 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [233 bytes data]
* old SSL session ID is stale, removing
{ [5 bytes data]
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
} [5 bytes data]
* We are completely uploaded and fine
{ [5 bytes data]
* Operation timed out after 1001 milliseconds with 0 bytes received
} [5 bytes data]
* stopped the pause stream!
100    25    0     0  100    25      0     24  0:00:01  0:00:01 --:--:--    24
* Connection #0 to host example.com left intact
curl: (28) Operation timed out after 1001 milliseconds with 0 bytes received

Admin@windows-wcow-gh-runner-01 MINGW64 ~
$ curl -fiX PUT --data-binary @"$upload_file.gz" -v -H 'Content-Type: application/x-gzip' -H 'Content-Encoding: gzip' --max-time 1 https://example.com
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
*   Trying 2606:2800:220:1:248:1893:25c8:1946:443...
* Connected to example.com (2606:2800:220:1:248:1893:25c8:1946) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
  CApath: none
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [88 bytes data]
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [155 bytes data]
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
{ [15 bytes data]
* TLSv1.3 (IN), TLS handshake, Certificate (11):
{ [3985 bytes data]
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
{ [264 bytes data]
* TLSv1.3 (IN), TLS handshake, Finished (20):
{ [52 bytes data]
* TLSv1.3 (OUT), TLS handshake, Finished (20):
} [52 bytes data]
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
*  subject: C=US; ST=California; L=Los Angeles; O=Internet Corporation for Assigned Names and Numbers; CN=www.example.org
*  start date: Nov 24 00:00:00 2020 GMT
*  expire date: Dec 25 23:59:59 2021 GMT
*  subjectAltName: host "example.com" matched cert's "example.com"
*  issuer: C=US; O=DigiCert Inc; CN=DigiCert TLS RSA SHA256 2020 CA1
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
} [5 bytes data]
* Using Stream ID: 1 (easy handle 0x272e070)
} [5 bytes data]
> PUT / HTTP/2
> Host: example.com
> user-agent: curl/7.71.1
> accept: */*
> content-type: application/x-gzip
> content-encoding: gzip
> content-length: 25
>
} [5 bytes data]
* We are completely uploaded and fine
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [233 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [233 bytes data]
* old SSL session ID is stale, removing
{ [5 bytes data]
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
} [5 bytes data]
* Operation timed out after 1000 milliseconds with 0 bytes received
} [5 bytes data]
* stopped the pause stream!
100    25    0     0  100    25      0     25  0:00:01  0:00:01 --:--:--    25
* Connection #0 to host example.com left intact
curl: (28) Operation timed out after 1000 milliseconds with 0 bytes received

@dfreilich, apologies, this is really stumping me. Everything looks like it should work, but I think it’s just a strange edge case. Are you able to use codecov-exe here for Windows builds? I’d like you to be unblocked.

Hmm yes, I am able to use the codecov-exe for Windows, it seems! That won’t automatically update the codecov bot comments on the PR, though, will it?

It should work all just the same with the bot comments!

1 Like

Fantastic, thanks! This definitely helped unblock us, although hopefully we won’t always need to use the codecov-exe.

1 Like