Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Errors when retrying: curl: (3) <url> malformed #330

Closed
blueyed opened this issue Jul 2, 2020 · 13 comments · Fixed by commaai/openpilot#1839
Closed

Errors when retrying: curl: (3) <url> malformed #330

blueyed opened this issue Jul 2, 2020 · 13 comments · Fixed by commaai/openpilot#1839
Assignees

Comments

@blueyed
Copy link
Contributor

blueyed commented Jul 2, 2020

Codecov: Bash-20200629-ffaf297 on GitHub Actions.

2020-07-02T14:24:39.3313261Z + curl -S -L --connect-timeout 5 --retry 6 -s https://codecov.io/bash -o codecov-upload.sh
2020-07-02T14:24:45.3639758Z + bash codecov-upload.sh -Z -X fix -f coverage.xml -F GHA,Linux
2020-07-02T14:24:45.3689321Z 
2020-07-02T14:24:45.3689858Z   _____          _
2020-07-02T14:24:45.3690074Z  / ____|        | |
2020-07-02T14:24:45.3690214Z | |     ___   __| | ___  ___ _____   __
2020-07-02T14:24:45.3690461Z | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
2020-07-02T14:24:45.3690607Z | |___| (_) | (_| |  __/ (_| (_) \ V /
2020-07-02T14:24:45.3690747Z  \_____\___/ \__,_|\___|\___\___/ \_/
2020-07-02T14:24:45.3691340Z                               Bash-20200629-ffaf297
2020-07-02T14:24:45.3691422Z 
2020-07-02T14:24:45.3691497Z 
2020-07-02T14:24:45.3706627Z �[0;90m==>�[0m GitHub Actions detected.
2020-07-02T14:24:45.3832119Z     �[0;90mproject root:�[0m .
2020-07-02T14:24:45.3863402Z     Fixing merge commit SHA
2020-07-02T14:24:45.3948911Z     �[0;90mYaml found at:�[0m codecov.yml
2020-07-02T14:24:45.4022902Z �[0;90m-->�[0m token set from yaml
2020-07-02T14:24:45.4489223Z     �[0;90m->�[0m Found 1 reports
2020-07-02T14:24:45.4489659Z �[0;90m==>�[0m Detecting git/mercurial file structure
2020-07-02T14:24:45.4571795Z �[0;90m==>�[0m Reading reports
2020-07-02T14:24:45.4637274Z     �[0;32m+�[0m coverage.xml �[0;90mbytes=611652�[0m
2020-07-02T14:24:45.4677596Z �[0;90m==>�[0m Gzipping contents
2020-07-02T14:24:45.5195470Z �[0;90m==>�[0m Uploading reports
2020-07-02T14:24:45.5196568Z     �[0;90murl:�[0m https://codecov.io
2020-07-02T14:24:45.5197771Z     �[0;90mquery:�[0m branch=ci-py39&commit=b91115e3dca2eb61a6ce7d85ed06df3a1566d387&build=155469429&build_url=http%3A%2F%2Fgithub.com%2Fblueyed%2Fpytest%2Factions%2Fruns%2F155469429&name=doctesting&tag=&slug=blueyed%2Fpytest&service=github-actions&flags=GHA,Linux&pr=369&job=
2020-07-02T14:24:45.5238666Z �[0;90m->�[0m  Pinging Codecov
2020-07-02T14:24:45.5239448Z https://codecov.io/upload/v4?package=bash-20200629-ffaf297&token=secret&branch=ci-py39&commit=b91115e3dca2eb61a6ce7d85ed06df3a1566d387&build=155469429&build_url=http%3A%2F%2Fgithub.com%2Fblueyed%2Fpytest%2Factions%2Fruns%2F155469429&name=doctesting&tag=&slug=blueyed%2Fpytest&service=github-actions&flags=GHA,Linux&pr=369&job=
2020-07-02T14:26:55.4051309Z �[0;90m->�[0m  Uploading to
2020-07-02T14:26:55.4051928Z 
2020-07-02T14:26:55.4132737Z curl: (3) <url> malformed
2020-07-02T14:26:55.4146245Z     �[0;31mX>�[0m Failed to upload
2020-07-02T14:26:55.4147255Z     �[0;90m->�[0m Sleeping for 30s and trying again...
2020-07-02T14:27:25.4172352Z codecov-upload.sh: line 1668: [: 0+1: integer expression expected
2020-07-02T14:27:25.4172747Z �[0;90m==>�[0m Uploading to Codecov
2020-07-02T14:27:25.4251450Z curl: (3) <url> malformed
2020-07-02T14:27:25.4252266Z curl: (3) <url> malformed
2020-07-02T14:27:25.4253143Z   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
2020-07-02T14:27:25.4253769Z                                  Dload  Upload   Total   Spent    Left  Speed
2020-07-02T14:27:25.4254105Z 
2020-07-02T14:27:26.6312868Z   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
2020-07-02T14:27:27.6324525Z   0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
2020-07-02T14:27:28.6335386Z   0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
2020-07-02T14:27:29.6347950Z   0     0    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0
2020-07-02T14:27:30.6359863Z   0     0    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0
2020-07-02T14:27:31.6371026Z   0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0
2020-07-02T14:27:32.6382361Z   0     0    0     0    0     0      0      0 --:--:--  0:00:06 --:--:--     0
2020-07-02T14:27:33.6394242Z   0     0    0     0    0     0      0      0 --:--:--  0:00:07 --:--:--     0
2020-07-02T14:27:34.6405508Z   0     0    0     0    0     0      0      0 --:--:--  0:00:08 --:--:--     0
2020-07-02T14:27:35.6417644Z   0     0    0     0    0     0      0      0 --:--:--  0:00:09 --:--:--     0
2020-07-02T14:27:36.6420682Z   0     0    0     0    0     0      0      0 --:--:--  0:00:10 --:--:--     0
2020-07-02T14:27:37.6432602Z   0     0    0     0    0     0      0      0 --:--:--  0:00:11 --:--:--     0
2020-07-02T14:27:38.6445237Z   0     0    0     0    0     0      0      0 --:--:--  0:00:12 --:--:--     0
2020-07-02T14:27:39.6456702Z   0     0    0     0    0     0      0      0 --:--:--  0:00:13 --:--:--     0
2020-07-02T14:27:40.6467805Z   0     0    0     0    0     0      0      0 --:--:--  0:00:14 --:--:--     0
2020-07-02T14:27:41.6479496Z   0     0    0     0    0     0      0      0 --:--:--  0:00:15 --:--:--     0
2020-07-02T14:27:42.6490477Z   0     0    0     0    0     0      0      0 --:--:--  0:00:16 --:--:--     0
2020-07-02T14:27:43.6502160Z   0     0    0     0    0     0      0      0 --:--:--  0:00:17 --:--:--     0
2020-07-02T14:27:44.6514261Z   0     0    0     0    0     0      0      0 --:--:--  0:00:18 --:--:--     0
2020-07-02T14:27:45.6525798Z   0     0    0     0    0     0      0      0 --:--:--  0:00:19 --:--:--     0
2020-07-02T14:27:46.6536579Z   0     0    0     0    0     0      0      0 --:--:--  0:00:20 --:--:--     0
2020-07-02T14:27:47.6541498Z   0     0    0     0    0     0      0      0 --:--:--  0:00:21 --:--:--     0
2020-07-02T14:27:48.6553351Z   0     0    0     0    0     0      0      0 --:--:--  0:00:22 --:--:--     0
2020-07-02T14:27:49.6565769Z   0     0    0     0    0     0      0      0 --:--:--  0:00:23 --:--:--     0
2020-07-02T14:27:50.6577398Z   0     0    0     0    0     0      0      0 --:--:--  0:00:24 --:--:--     0
2020-07-02T14:27:51.6588861Z   0     0    0     0    0     0      0      0 --:--:--  0:00:25 --:--:--     0
2020-07-02T14:27:52.6601254Z   0     0    0     0    0     0      0      0 --:--:--  0:00:26 --:--:--     0
2020-07-02T14:27:53.6612719Z   0     0    0     0    0     0      0      0 --:--:--  0:00:27 --:--:--     0
2020-07-02T14:27:54.6624261Z   0     0    0     0    0     0      0      0 --:--:--  0:00:28 --:--:--     0
2020-07-02T14:27:55.6635976Z   0     0    0     0    0     0      0      0 --:--:--  0:00:29 --:--:--     0
2020-07-02T14:27:56.6647957Z   0     0    0     0    0     0      0      0 --:--:--  0:00:30 --:--:--     0
2020-07-02T14:27:57.6658987Z   0     0    0     0    0     0      0      0 --:--:--  0:00:31 --:--:--     0
2020-07-02T14:27:58.6671213Z   0     0    0     0    0     0      0      0 --:--:--  0:00:32 --:--:--     0
2020-07-02T14:27:59.6682758Z   0     0    0     0    0     0      0      0 --:--:--  0:00:33 --:--:--     0
2020-07-02T14:28:00.6694488Z   0     0    0     0    0     0      0      0 --:--:--  0:00:34 --:--:--     0
2020-07-02T14:28:01.6702295Z   0     0    0     0    0     0      0      0 --:--:--  0:00:35 --:--:--     0
2020-07-02T14:28:02.6714092Z   0     0    0     0    0     0      0      0 --:--:--  0:00:36 --:--:--     0
2020-07-02T14:28:03.6725501Z   0     0    0     0    0     0      0      0 --:--:--  0:00:37 --:--:--     0
2020-07-02T14:28:04.6737365Z   0     0    0     0    0     0      0      0 --:--:--  0:00:38 --:--:--     0
2020-07-02T14:28:05.6749325Z   0     0    0     0    0     0      0      0 --:--:--  0:00:39 --:--:--     0
2020-07-02T14:28:06.6760859Z   0     0    0     0    0     0      0      0 --:--:--  0:00:40 --:--:--     0
2020-07-02T14:28:07.6772945Z   0     0    0     0    0     0      0      0 --:--:--  0:00:41 --:--:--     0
2020-07-02T14:28:08.6783778Z   0     0    0     0    0     0      0      0 --:--:--  0:00:42 --:--:--     0
2020-07-02T14:28:09.6795685Z   0     0    0     0    0     0      0      0 --:--:--  0:00:43 --:--:--     0
2020-07-02T14:28:10.6807288Z   0     0    0     0    0     0      0      0 --:--:--  0:00:44 --:--:--     0
2020-07-02T14:28:11.6819405Z   0     0    0     0    0     0      0      0 --:--:--  0:00:45 --:--:--     0
2020-07-02T14:28:12.6830827Z   0     0    0     0    0     0      0      0 --:--:--  0:00:46 --:--:--     0
2020-07-02T14:28:13.6842991Z   0     0    0     0    0     0      0      0 --:--:--  0:00:47 --:--:--     0
2020-07-02T14:28:14.6853941Z   0     0    0     0    0     0      0      0 --:--:--  0:00:48 --:--:--     0
2020-07-02T14:28:15.6865548Z   0     0    0     0    0     0      0      0 --:--:--  0:00:49 --:--:--     0
2020-07-02T14:28:16.6877035Z   0     0    0     0    0     0      0      0 --:--:--  0:00:50 --:--:--     0
2020-07-02T14:28:17.6888211Z   0     0    0     0    0     0      0      0 --:--:--  0:00:51 --:--:--     0
2020-07-02T14:28:18.6900862Z   0     0    0     0    0     0      0      0 --:--:--  0:00:52 --:--:--     0
2020-07-02T14:28:19.6912626Z   0     0    0     0    0     0      0      0 --:--:--  0:00:53 --:--:--     0
2020-07-02T14:28:21.0368021Z   0     0    0     0    0     0      0      0 --:--:--  0:00:54 --:--:--     0
2020-07-02T14:28:21.6936143Z   0     0    0     0    0     0      0      0 --:--:--  0:00:55 --:--:--     0
2020-07-02T14:28:22.6947491Z   0     0    0     0    0     0      0      0 --:--:--  0:00:56 --:--:--     0
2020-07-02T14:28:23.6959218Z   0     0    0     0    0     0      0      0 --:--:--  0:00:57 --:--:--     0
2020-07-02T14:28:25.5381804Z   0     0    0     0    0     0      0      0 --:--:--  0:00:58 --:--:--     0
2020-07-02T14:28:25.6983252Z   0     0    0     0    0     0      0      0 --:--:--  0:00:59 --:--:--     0
2020-07-02T14:28:26.6994676Z   0     0    0     0    0     0      0      0 --:--:--  0:01:00 --:--:--     0
2020-07-02T14:28:27.7006121Z   0     0    0     0    0     0      0      0 --:--:--  0:01:01 --:--:--     0
2020-07-02T14:28:28.7017409Z   0     0    0     0    0     0      0      0 --:--:--  0:01:02 --:--:--     0
2020-07-02T14:28:29.7029493Z   0     0    0     0    0     0      0      0 --:--:--  0:01:03 --:--:--     0
2020-07-02T14:28:30.7041169Z   0     0    0     0    0     0      0      0 --:--:--  0:01:04 --:--:--     0
2020-07-02T14:28:31.7052781Z   0     0    0     0    0     0      0      0 --:--:--  0:01:05 --:--:--     0
2020-07-02T14:28:32.7064673Z   0     0    0     0    0     0      0      0 --:--:--  0:01:06 --:--:--     0
2020-07-02T14:28:33.7075609Z   0     0    0     0    0     0      0      0 --:--:--  0:01:07 --:--:--     0
2020-07-02T14:28:34.7087198Z   0     0    0     0    0     0      0      0 --:--:--  0:01:08 --:--:--     0
2020-07-02T14:28:35.7098787Z   0     0    0     0    0     0      0      0 --:--:--  0:01:09 --:--:--     0
2020-07-02T14:28:36.7110804Z   0     0    0     0    0     0      0      0 --:--:--  0:01:10 --:--:--     0
2020-07-02T14:28:37.7121565Z   0     0    0     0    0     0      0      0 --:--:--  0:01:11 --:--:--     0
2020-07-02T14:28:38.7133694Z   0     0    0     0    0     0      0      0 --:--:--  0:01:12 --:--:--     0
2020-07-02T14:28:39.7145376Z   0     0    0     0    0     0      0      0 --:--:--  0:01:13 --:--:--     0
2020-07-02T14:28:40.7157105Z   0     0    0     0    0     0      0      0 --:--:--  0:01:14 --:--:--     0
2020-07-02T14:28:41.7168745Z   0     0    0     0    0     0      0      0 --:--:--  0:01:15 --:--:--     0
2020-07-02T14:28:42.7180400Z   0     0    0     0    0     0      0      0 --:--:--  0:01:16 --:--:--     0
2020-07-02T14:28:43.7192465Z   0     0    0     0    0     0      0      0 --:--:--  0:01:17 --:--:--     0
2020-07-02T14:28:44.7203624Z   0     0    0     0    0     0      0      0 --:--:--  0:01:18 --:--:--     0
2020-07-02T14:28:45.7216449Z   0     0    0     0    0     0      0      0 --:--:--  0:01:19 --:--:--     0
2020-07-02T14:28:46.7227116Z   0     0    0     0    0     0      0      0 --:--:--  0:01:20 --:--:--     0
2020-07-02T14:28:47.7238845Z   0     0    0     0    0     0      0      0 --:--:--  0:01:21 --:--:--     0
2020-07-02T14:28:48.7250784Z   0     0    0     0    0     0      0      0 --:--:--  0:01:22 --:--:--     0
2020-07-02T14:28:49.7262414Z   0     0    0     0    0     0      0      0 --:--:--  0:01:23 --:--:--     0
2020-07-02T14:28:50.7274624Z   0     0    0     0    0     0      0      0 --:--:--  0:01:24 --:--:--     0
2020-07-02T14:28:51.7285810Z   0     0    0     0    0     0      0      0 --:--:--  0:01:25 --:--:--     0
2020-07-02T14:28:52.7298426Z   0     0    0     0    0     0      0      0 --:--:--  0:01:26 --:--:--     0
2020-07-02T14:28:53.7309249Z   0     0    0     0    0     0      0      0 --:--:--  0:01:27 --:--:--     0
2020-07-02T14:28:54.7321611Z   0     0    0     0    0     0      0      0 --:--:--  0:01:28 --:--:--     0
2020-07-02T14:28:55.7332678Z   0     0    0     0    0     0      0      0 --:--:--  0:01:29 --:--:--     0
2020-07-02T14:28:56.7344347Z   0     0    0     0    0     0      0      0 --:--:--  0:01:30 --:--:--     0
2020-07-02T14:28:57.7356171Z   0     0    0     0    0     0      0      0 --:--:--  0:01:31 --:--:--     0
2020-07-02T14:28:58.7366756Z   0     0    0     0    0     0      0      0 --:--:--  0:01:32 --:--:--     0
2020-07-02T14:28:59.7379292Z   0     0    0     0    0     0      0      0 --:--:--  0:01:33 --:--:--     0
2020-07-02T14:29:00.7381497Z   0     0    0     0    0     0      0      0 --:--:--  0:01:34 --:--:--     0
2020-07-02T14:29:01.7393651Z   0     0    0     0    0     0      0      0 --:--:--  0:01:35 --:--:--     0
2020-07-02T14:29:02.7405053Z   0     0    0     0    0     0      0      0 --:--:--  0:01:36 --:--:--     0
2020-07-02T14:29:03.7417259Z   0     0    0     0    0     0      0      0 --:--:--  0:01:37 --:--:--     0
2020-07-02T14:29:04.7429207Z   0     0    0     0    0     0      0      0 --:--:--  0:01:38 --:--:--     0
2020-07-02T14:29:05.7440418Z   0     0    0     0    0     0      0      0 --:--:--  0:01:39 --:--:--     0
2020-07-02T14:29:06.7451939Z   0     0    0     0    0     0      0      0 --:--:--  0:01:40 --:--:--     0
2020-07-02T14:29:07.7464934Z   0     0    0     0    0     0      0      0 --:--:--  0:01:41 --:--:--     0
2020-07-02T14:29:08.7476253Z   0     0    0     0    0     0      0      0 --:--:--  0:01:42 --:--:--     0
2020-07-02T14:29:09.7487628Z   0     0    0     0    0     0      0      0 --:--:--  0:01:43 --:--:--     0
2020-07-02T14:29:10.7499154Z   0     0    0     0    0     0      0      0 --:--:--  0:01:44 --:--:--     0
2020-07-02T14:29:11.7510829Z   0     0    0     0    0     0      0      0 --:--:--  0:01:45 --:--:--     0
2020-07-02T14:29:12.7523032Z   0     0    0     0    0     0      0      0 --:--:--  0:01:46 --:--:--     0
2020-07-02T14:29:13.7534384Z   0     0    0     0    0     0      0      0 --:--:--  0:01:47 --:--:--     0
2020-07-02T14:29:14.7545873Z   0     0    0     0    0     0      0      0 --:--:--  0:01:48 --:--:--     0
2020-07-02T14:29:15.7558228Z   0     0    0     0    0     0      0      0 --:--:--  0:01:49 --:--:--     0
2020-07-02T14:29:16.7569129Z   0     0    0     0    0     0      0      0 --:--:--  0:01:50 --:--:--     0
2020-07-02T14:29:17.7580346Z   0     0    0     0    0     0      0      0 --:--:--  0:01:51 --:--:--     0
2020-07-02T14:29:18.7593136Z   0     0    0     0    0     0      0      0 --:--:--  0:01:52 --:--:--     0
2020-07-02T14:29:19.7604097Z   0     0    0     0    0     0      0      0 --:--:--  0:01:53 --:--:--     0
2020-07-02T14:29:20.7616232Z   0     0    0     0    0     0      0      0 --:--:--  0:01:54 --:--:--     0
2020-07-02T14:29:21.7627236Z   0     0    0     0    0     0      0      0 --:--:--  0:01:55 --:--:--     0
2020-07-02T14:29:22.7638706Z   0     0    0     0    0     0      0      0 --:--:--  0:01:56 --:--:--     0
2020-07-02T14:29:23.7651879Z   0     0    0     0    0     0      0      0 --:--:--  0:01:57 --:--:--     0
2020-07-02T14:29:24.7663266Z   0     0    0     0    0     0      0      0 --:--:--  0:01:58 --:--:--     0
2020-07-02T14:29:25.7674249Z   0     0    0     0    0     0      0      0 --:--:--  0:01:59 --:--:--     0
2020-07-02T14:29:26.7685247Z   0     0    0     0    0     0      0      0 --:--:--  0:02:00 --:--:--     0
2020-07-02T14:29:27.7697255Z   0     0    0     0    0     0      0      0 --:--:--  0:02:01 --:--:--     0
2020-07-02T14:29:28.7708843Z   0     0    0     0    0     0      0      0 --:--:--  0:02:02 --:--:--     0
2020-07-02T14:29:29.7721584Z   0     0    0     0    0     0      0      0 --:--:--  0:02:03 --:--:--     0
2020-07-02T14:29:30.7732358Z   0     0    0     0    0     0      0      0 --:--:--  0:02:04 --:--:--     0
2020-07-02T14:29:31.7744086Z   0     0    0     0    0     0      0      0 --:--:--  0:02:05 --:--:--     0
2020-07-02T14:29:32.7754960Z   0     0    0     0    0     0      0      0 --:--:--  0:02:06 --:--:--     0
2020-07-02T14:29:33.7766753Z   0     0    0     0    0     0      0      0 --:--:--  0:02:07 --:--:--     0
2020-07-02T14:29:34.7778783Z   0     0    0     0    0     0      0      0 --:--:--  0:02:08 --:--:--     0
2020-07-02T14:29:35.1422975Z   0     0    0     0    0     0      0      0 --:--:--  0:02:09 --:--:--     0curl: (7) Failed to connect to codecov.io port 443: Connection timed out
2020-07-02T14:29:35.1458783Z     �[0;90m->�[0m Sleeping for 30s and trying again...
2020-07-02T14:30:05.1473414Z codecov-upload.sh: line 1721: [: 0+1: integer expression expected
2020-07-02T14:30:05.1475359Z     �[0;31mX> Failed to upload coverage reports�[0m
2020-07-02T14:30:05.1483645Z ##[error]Process completed with exit code 1.
@ehmicky
Copy link

ehmicky commented Jul 3, 2020

Same here:

2020-07-03T13:57:54.0312470Z   _____          _
2020-07-03T13:57:54.0312950Z  / ____|        | |
2020-07-03T13:57:54.0313494Z | |     ___   __| | ___  ___ _____   __
2020-07-03T13:57:54.0313904Z | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
2020-07-03T13:57:54.0314119Z | |___| (_) | (_| |  __/ (_| (_) \ V /
2020-07-03T13:57:54.0314350Z  \_____\___/ \__,_|\___|\___\___/ \_/
2020-07-03T13:57:54.0315222Z                               Bash-20200629-ffaf297
2020-07-03T13:57:54.0315533Z 
2020-07-03T13:57:54.0315763Z 
2020-07-03T13:57:54.0433391Z �[0;90m==>�[0m GitHub Actions detected.
2020-07-03T13:57:54.0538041Z     �[0;90mproject root:�[0m .
2020-07-03T13:57:54.0638936Z     �[0;90mYaml found at:�[0m codecov.yml
2020-07-03T13:57:54.1228501Z     �[0;90m->�[0m Found 1 reports
2020-07-03T13:57:54.1242337Z �[0;90m==>�[0m Detecting git/mercurial file structure
2020-07-03T13:57:54.1372133Z �[0;90m==>�[0m Reading reports
2020-07-03T13:57:54.1455314Z     �[0;32m+�[0m coverage/coverage-final.json �[0;90mbytes=379716�[0m
2020-07-03T13:57:54.1528875Z �[0;90m==>�[0m Appending adjustments
2020-07-03T13:57:54.1530457Z     �[0;36mhttps://docs.codecov.io/docs/fixing-reports�[0m
2020-07-03T13:57:55.4400588Z     �[0;32m+�[0m Found adjustments
2020-07-03T13:57:55.4453511Z �[0;90m==>�[0m Gzipping contents
2020-07-03T13:57:55.5101559Z �[0;90m==>�[0m Uploading reports
2020-07-03T13:57:55.5102596Z     �[0;90murl:�[0m https://codecov.io
2020-07-03T13:57:55.5104367Z     �[0;90mquery:�[0m branch=master&commit=2fa8584161bd0b9b8a2da933caead0804079fe1a&build=156645019&build_url=http%3A%2F%2Fgithub.com%2Fnetlify%2Fbuild%2Factions%2Fruns%2F156645019&name=&tag=&slug=netlify%2Fbuild&service=github-actions&flags=ubuntu,node_14&pr=&job=
2020-07-03T13:57:55.5144619Z �[0;90m->�[0m  Pinging Codecov
2020-07-03T13:57:55.5146421Z https://codecov.io/upload/v4?package=bash-20200629-ffaf297&token=secret&branch=master&commit=2fa8584161bd0b9b8a2da933caead0804079fe1a&build=156645019&build_url=http%3A%2F%2Fgithub.com%2Fnetlify%2Fbuild%2Factions%2Fruns%2F156645019&name=&tag=&slug=netlify%2Fbuild&service=github-actions&flags=ubuntu,node_14&pr=&job=
2020-07-03T14:00:05.5671698Z �[0;90m->�[0m  Uploading to
2020-07-03T14:00:05.5672336Z 
2020-07-03T14:00:05.5752293Z curl: (3) <url> malformed
2020-07-03T14:00:05.5762663Z     �[0;31mX>�[0m Failed to upload
2020-07-03T14:00:05.5763655Z     �[0;90m->�[0m Sleeping for 30s and trying again...
2020-07-03T14:00:35.5790705Z bash: line 1668: [: 0+1: integer expression expected
2020-07-03T14:00:35.5793838Z �[0;90m==>�[0m Uploading to Codecov
2020-07-03T14:00:35.5882330Z curl: (3) <url> malformed
2020-07-03T14:00:35.5882985Z curl: (3) <url> malformed
2020-07-03T14:00:35.5883793Z   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
2020-07-03T14:00:35.5884675Z                                  Dload  Upload   Total   Spent    Left  Speed
2020-07-03T14:00:35.5885004Z 
2020-07-03T14:00:36.8188937Z   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
2020-07-03T14:00:37.8201914Z   0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
2020-07-03T14:00:38.8213287Z   0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
2020-07-03T14:00:39.8225916Z   0     0    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0
2020-07-03T14:00:40.8237343Z   0     0    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0
2020-07-03T14:00:41.8249879Z   0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0
2020-07-03T14:00:42.8261855Z   0     0    0     0    0     0      0      0 --:--:--  0:00:06 --:--:--     0
2020-07-03T14:00:43.8275502Z   0     0    0     0    0     0      0      0 --:--:--  0:00:07 --:--:--     0
2020-07-03T14:00:44.8286641Z   0     0    0     0    0     0      0      0 --:--:--  0:00:08 --:--:--     0
2020-07-03T14:00:45.8298014Z   0     0    0     0    0     0      0      0 --:--:--  0:00:09 --:--:--     0
2020-07-03T14:00:46.8310940Z   0     0    0     0    0     0      0      0 --:--:--  0:00:10 --:--:--     0
2020-07-03T14:00:47.8321840Z   0     0    0     0    0     0      0      0 --:--:--  0:00:11 --:--:--     0
2020-07-03T14:00:48.8333553Z   0     0    0     0    0     0      0      0 --:--:--  0:00:12 --:--:--     0
2020-07-03T14:00:49.8348154Z   0     0    0     0    0     0      0      0 --:--:--  0:00:13 --:--:--     0
2020-07-03T14:00:50.8358093Z   0     0    0     0    0     0      0      0 --:--:--  0:00:14 --:--:--     0
2020-07-03T14:00:51.8369991Z   0     0    0     0    0     0      0      0 --:--:--  0:00:15 --:--:--     0
2020-07-03T14:00:52.8380999Z   0     0    0     0    0     0      0      0 --:--:--  0:00:16 --:--:--     0
2020-07-03T14:00:53.8393298Z   0     0    0     0    0     0      0      0 --:--:--  0:00:17 --:--:--     0
2020-07-03T14:00:54.8406912Z   0     0    0     0    0     0      0      0 --:--:--  0:00:18 --:--:--     0
2020-07-03T14:00:55.8418723Z   0     0    0     0    0     0      0      0 --:--:--  0:00:19 --:--:--     0
2020-07-03T14:00:56.8421308Z   0     0    0     0    0     0      0      0 --:--:--  0:00:20 --:--:--     0
2020-07-03T14:00:57.8434368Z   0     0    0     0    0     0      0      0 --:--:--  0:00:21 --:--:--     0
2020-07-03T14:00:59.4006126Z   0     0    0     0    0     0      0      0 --:--:--  0:00:22 --:--:--     0
2020-07-03T14:00:59.8458643Z   0     0    0     0    0     0      0      0 --:--:--  0:00:23 --:--:--     0
2020-07-03T14:01:00.8468784Z   0     0    0     0    0     0      0      0 --:--:--  0:00:24 --:--:--     0
2020-07-03T14:01:01.8480638Z   0     0    0     0    0     0      0      0 --:--:--  0:00:25 --:--:--     0
2020-07-03T14:01:02.8492758Z   0     0    0     0    0     0      0      0 --:--:--  0:00:26 --:--:--     0
2020-07-03T14:01:03.8503884Z   0     0    0     0    0     0      0      0 --:--:--  0:00:27 --:--:--     0
2020-07-03T14:01:04.8516081Z   0     0    0     0    0     0      0      0 --:--:--  0:00:28 --:--:--     0
2020-07-03T14:01:05.8528495Z   0     0    0     0    0     0      0      0 --:--:--  0:00:29 --:--:--     0
2020-07-03T14:01:06.8539528Z   0     0    0     0    0     0      0      0 --:--:--  0:00:30 --:--:--     0
2020-07-03T14:01:07.8551475Z   0     0    0     0    0     0      0      0 --:--:--  0:00:31 --:--:--     0
2020-07-03T14:01:08.8563977Z   0     0    0     0    0     0      0      0 --:--:--  0:00:32 --:--:--     0
2020-07-03T14:01:09.8577076Z   0     0    0     0    0     0      0      0 --:--:--  0:00:33 --:--:--     0
2020-07-03T14:01:10.8588556Z   0     0    0     0    0     0      0      0 --:--:--  0:00:34 --:--:--     0
2020-07-03T14:01:11.8601358Z   0     0    0     0    0     0      0      0 --:--:--  0:00:35 --:--:--     0
2020-07-03T14:01:12.8613550Z   0     0    0     0    0     0      0      0 --:--:--  0:00:36 --:--:--     0
2020-07-03T14:01:13.8625025Z   0     0    0     0    0     0      0      0 --:--:--  0:00:37 --:--:--     0
2020-07-03T14:01:14.8636367Z   0     0    0     0    0     0      0      0 --:--:--  0:00:38 --:--:--     0
2020-07-03T14:01:15.8648116Z   0     0    0     0    0     0      0      0 --:--:--  0:00:39 --:--:--     0
2020-07-03T14:01:16.8660622Z   0     0    0     0    0     0      0      0 --:--:--  0:00:40 --:--:--     0
2020-07-03T14:01:17.8672941Z   0     0    0     0    0     0      0      0 --:--:--  0:00:41 --:--:--     0
2020-07-03T14:01:18.8685173Z   0     0    0     0    0     0      0      0 --:--:--  0:00:42 --:--:--     0
2020-07-03T14:01:19.8695994Z   0     0    0     0    0     0      0      0 --:--:--  0:00:43 --:--:--     0
2020-07-03T14:01:20.8708045Z   0     0    0     0    0     0      0      0 --:--:--  0:00:44 --:--:--     0
2020-07-03T14:01:21.8720871Z   0     0    0     0    0     0      0      0 --:--:--  0:00:45 --:--:--     0
2020-07-03T14:01:22.8731291Z   0     0    0     0    0     0      0      0 --:--:--  0:00:46 --:--:--     0
2020-07-03T14:01:23.8743643Z   0     0    0     0    0     0      0      0 --:--:--  0:00:47 --:--:--     0
2020-07-03T14:01:24.8755167Z   0     0    0     0    0     0      0      0 --:--:--  0:00:48 --:--:--     0
2020-07-03T14:01:25.8768275Z   0     0    0     0    0     0      0      0 --:--:--  0:00:49 --:--:--     0
2020-07-03T14:01:26.8780828Z   0     0    0     0    0     0      0      0 --:--:--  0:00:50 --:--:--     0
2020-07-03T14:01:27.8792519Z   0     0    0     0    0     0      0      0 --:--:--  0:00:51 --:--:--     0
2020-07-03T14:01:28.8804459Z   0     0    0     0    0     0      0      0 --:--:--  0:00:52 --:--:--     0
2020-07-03T14:01:29.8815554Z   0     0    0     0    0     0      0      0 --:--:--  0:00:53 --:--:--     0
2020-07-03T14:01:30.8828320Z   0     0    0     0    0     0      0      0 --:--:--  0:00:54 --:--:--     0
2020-07-03T14:01:31.8840137Z   0     0    0     0    0     0      0      0 --:--:--  0:00:55 --:--:--     0
2020-07-03T14:01:32.8852430Z   0     0    0     0    0     0      0      0 --:--:--  0:00:56 --:--:--     0
2020-07-03T14:01:33.8864830Z   0     0    0     0    0     0      0      0 --:--:--  0:00:57 --:--:--     0
2020-07-03T14:01:34.8876211Z   0     0    0     0    0     0      0      0 --:--:--  0:00:58 --:--:--     0
2020-07-03T14:01:35.8888629Z   0     0    0     0    0     0      0      0 --:--:--  0:00:59 --:--:--     0
2020-07-03T14:01:36.8901175Z   0     0    0     0    0     0      0      0 --:--:--  0:01:00 --:--:--     0
2020-07-03T14:01:37.8913149Z   0     0    0     0    0     0      0      0 --:--:--  0:01:01 --:--:--     0
2020-07-03T14:01:38.8925414Z   0     0    0     0    0     0      0      0 --:--:--  0:01:02 --:--:--     0
2020-07-03T14:01:39.8936387Z   0     0    0     0    0     0      0      0 --:--:--  0:01:03 --:--:--     0
2020-07-03T14:01:40.8941647Z   0     0    0     0    0     0      0      0 --:--:--  0:01:04 --:--:--     0
2020-07-03T14:01:41.8954470Z   0     0    0     0    0     0      0      0 --:--:--  0:01:05 --:--:--     0
2020-07-03T14:01:42.8966044Z   0     0    0     0    0     0      0      0 --:--:--  0:01:06 --:--:--     0
2020-07-03T14:01:43.8977802Z   0     0    0     0    0     0      0      0 --:--:--  0:01:07 --:--:--     0
2020-07-03T14:01:44.8990857Z   0     0    0     0    0     0      0      0 --:--:--  0:01:08 --:--:--     0
2020-07-03T14:01:45.9001773Z   0     0    0     0    0     0      0      0 --:--:--  0:01:09 --:--:--     0
2020-07-03T14:01:46.9014564Z   0     0    0     0    0     0      0      0 --:--:--  0:01:10 --:--:--     0
2020-07-03T14:01:47.9025104Z   0     0    0     0    0     0      0      0 --:--:--  0:01:11 --:--:--     0
2020-07-03T14:01:48.9039946Z   0     0    0     0    0     0      0      0 --:--:--  0:01:12 --:--:--     0
2020-07-03T14:01:49.9050205Z   0     0    0     0    0     0      0      0 --:--:--  0:01:13 --:--:--     0
2020-07-03T14:01:50.9061801Z   0     0    0     0    0     0      0      0 --:--:--  0:01:14 --:--:--     0
2020-07-03T14:01:51.9073646Z   0     0    0     0    0     0      0      0 --:--:--  0:01:15 --:--:--     0
2020-07-03T14:01:52.9085997Z   0     0    0     0    0     0      0      0 --:--:--  0:01:16 --:--:--     0
2020-07-03T14:01:53.9098376Z   0     0    0     0    0     0      0      0 --:--:--  0:01:17 --:--:--     0
2020-07-03T14:01:54.9110195Z   0     0    0     0    0     0      0      0 --:--:--  0:01:18 --:--:--     0
2020-07-03T14:01:55.9123124Z   0     0    0     0    0     0      0      0 --:--:--  0:01:19 --:--:--     0
2020-07-03T14:01:56.9134298Z   0     0    0     0    0     0      0      0 --:--:--  0:01:20 --:--:--     0
2020-07-03T14:01:57.9146119Z   0     0    0     0    0     0      0      0 --:--:--  0:01:21 --:--:--     0
2020-07-03T14:01:58.9158199Z   0     0    0     0    0     0      0      0 --:--:--  0:01:22 --:--:--     0
2020-07-03T14:01:59.9169771Z   0     0    0     0    0     0      0      0 --:--:--  0:01:23 --:--:--     0
2020-07-03T14:02:00.9180654Z   0     0    0     0    0     0      0      0 --:--:--  0:01:24 --:--:--     0
2020-07-03T14:02:01.9192995Z   0     0    0     0    0     0      0      0 --:--:--  0:01:25 --:--:--     0
2020-07-03T14:02:02.9204802Z   0     0    0     0    0     0      0      0 --:--:--  0:01:26 --:--:--     0
2020-07-03T14:02:03.9208885Z   0     0    0     0    0     0      0      0 --:--:--  0:01:27 --:--:--     0
2020-07-03T14:02:04.9222488Z   0     0    0     0    0     0      0      0 --:--:--  0:01:28 --:--:--     0
2020-07-03T14:02:05.9235025Z   0     0    0     0    0     0      0      0 --:--:--  0:01:29 --:--:--     0
2020-07-03T14:02:06.9246697Z   0     0    0     0    0     0      0      0 --:--:--  0:01:30 --:--:--     0
2020-07-03T14:02:07.9258595Z   0     0    0     0    0     0      0      0 --:--:--  0:01:31 --:--:--     0
2020-07-03T14:02:08.9270569Z   0     0    0     0    0     0      0      0 --:--:--  0:01:32 --:--:--     0
2020-07-03T14:02:09.9280910Z   0     0    0     0    0     0      0      0 --:--:--  0:01:33 --:--:--     0
2020-07-03T14:02:10.9293119Z   0     0    0     0    0     0      0      0 --:--:--  0:01:34 --:--:--     0
2020-07-03T14:02:11.9304658Z   0     0    0     0    0     0      0      0 --:--:--  0:01:35 --:--:--     0
2020-07-03T14:02:12.9316266Z   0     0    0     0    0     0      0      0 --:--:--  0:01:36 --:--:--     0
2020-07-03T14:02:13.9328504Z   0     0    0     0    0     0      0      0 --:--:--  0:01:37 --:--:--     0
2020-07-03T14:02:15.4246408Z   0     0    0     0    0     0      0      0 --:--:--  0:01:38 --:--:--     0
2020-07-03T14:02:15.9351694Z   0     0    0     0    0     0      0      0 --:--:--  0:01:39 --:--:--     0
2020-07-03T14:02:16.9363805Z   0     0    0     0    0     0      0      0 --:--:--  0:01:40 --:--:--     0
2020-07-03T14:02:17.9376221Z   0     0    0     0    0     0      0      0 --:--:--  0:01:41 --:--:--     0
2020-07-03T14:02:18.9387221Z   0     0    0     0    0     0      0      0 --:--:--  0:01:42 --:--:--     0
2020-07-03T14:02:19.9398670Z   0     0    0     0    0     0      0      0 --:--:--  0:01:43 --:--:--     0
2020-07-03T14:02:20.9412129Z   0     0    0     0    0     0      0      0 --:--:--  0:01:44 --:--:--     0
2020-07-03T14:02:21.9423567Z   0     0    0     0    0     0      0      0 --:--:--  0:01:45 --:--:--     0
2020-07-03T14:02:22.9433979Z   0     0    0     0    0     0      0      0 --:--:--  0:01:46 --:--:--     0
2020-07-03T14:02:23.9446218Z   0     0    0     0    0     0      0      0 --:--:--  0:01:47 --:--:--     0
2020-07-03T14:02:24.9456737Z   0     0    0     0    0     0      0      0 --:--:--  0:01:48 --:--:--     0
2020-07-03T14:02:25.9468313Z   0     0    0     0    0     0      0      0 --:--:--  0:01:49 --:--:--     0
2020-07-03T14:02:26.9480541Z   0     0    0     0    0     0      0      0 --:--:--  0:01:50 --:--:--     0
2020-07-03T14:02:27.9491365Z   0     0    0     0    0     0      0      0 --:--:--  0:01:51 --:--:--     0
2020-07-03T14:02:28.9503109Z   0     0    0     0    0     0      0      0 --:--:--  0:01:52 --:--:--     0
2020-07-03T14:02:29.9514947Z   0     0    0     0    0     0      0      0 --:--:--  0:01:53 --:--:--     0
2020-07-03T14:02:30.9527164Z   0     0    0     0    0     0      0      0 --:--:--  0:01:54 --:--:--     0
2020-07-03T14:02:31.9539652Z   0     0    0     0    0     0      0      0 --:--:--  0:01:55 --:--:--     0
2020-07-03T14:02:32.9550500Z   0     0    0     0    0     0      0      0 --:--:--  0:01:56 --:--:--     0
2020-07-03T14:02:33.9562705Z   0     0    0     0    0     0      0      0 --:--:--  0:01:57 --:--:--     0
2020-07-03T14:02:34.9574795Z   0     0    0     0    0     0      0      0 --:--:--  0:01:58 --:--:--     0
2020-07-03T14:02:35.9585944Z   0     0    0     0    0     0      0      0 --:--:--  0:01:59 --:--:--     0
2020-07-03T14:02:36.9597937Z   0     0    0     0    0     0      0      0 --:--:--  0:02:00 --:--:--     0
2020-07-03T14:02:37.9611254Z   0     0    0     0    0     0      0      0 --:--:--  0:02:01 --:--:--     0
2020-07-03T14:02:38.9620539Z   0     0    0     0    0     0      0      0 --:--:--  0:02:02 --:--:--     0
2020-07-03T14:02:39.9632541Z   0     0    0     0    0     0      0      0 --:--:--  0:02:03 --:--:--     0
2020-07-03T14:02:40.9644114Z   0     0    0     0    0     0      0      0 --:--:--  0:02:04 --:--:--     0
2020-07-03T14:02:41.9657252Z   0     0    0     0    0     0      0      0 --:--:--  0:02:05 --:--:--     0
2020-07-03T14:02:42.9669182Z   0     0    0     0    0     0      0      0 --:--:--  0:02:06 --:--:--     0
2020-07-03T14:02:43.9680173Z   0     0    0     0    0     0      0      0 --:--:--  0:02:07 --:--:--     0
2020-07-03T14:02:44.9692462Z   0     0    0     0    0     0      0      0 --:--:--  0:02:08 --:--:--     0
2020-07-03T14:02:45.3023647Z   0     0    0     0    0     0      0      0 --:--:--  0:02:09 --:--:--     0curl: (7) Failed to connect to codecov.io port 443: Connection timed out
2020-07-03T14:02:45.3068919Z     �[0;90m->�[0m Sleeping for 30s and trying again...
2020-07-03T14:03:15.3088631Z bash: line 1721: [: 0+1: integer expression expected
2020-07-03T14:03:15.3091330Z     �[0;31mX> Failed to upload coverage reports�[0m
2020-07-03T14:03:15.3101945Z ##[error]Process completed with exit code 1.

This is triggered from the following GitHub actions workflow.yml:

jobs:
  build:
    strategy:
      matrix:
        os: [ubuntu-latest, macOS-latest, windows-latest]
        node: [8.3.0, 14]
        exclude:
          - os: macOS-latest
            node: 8.3.0
          - os: windows-latest
            node: 8.3.0
      fail-fast: false
    runs-on: ${{ matrix.os }}
    steps:
      - name: Git checkout
        uses: actions/checkout@v1
      - name: Node.js ${{ matrix.node }}
        uses: actions/setup-node@v1
        with:
          node-version: ${{ matrix.node }}
      - name: Install dependencies
        run: npm install
      - name: Linting
        run: npm run format
      - name: Tests
        run: npm run test:ci
      - name: Codecov test coverage
        run: bash scripts/coverage.sh "${{ matrix.os }}" "${{ matrix.node }}"

With coverage.sh:

#!/bin/bash
# Upload test coverage to Codecov

os="$1"
os="${os/-latest/}"

node="$2"
node="node_${node//./_}"

curl -s https://codecov.io/bash | \
  bash -s -- -Z -f coverage/coverage-final.json -F "$os" -F "$node"

@get-data-
Copy link

My development builds began failing this morning. This is the command which I use to initiate the Codecov section of my pipeline:

bash <(curl -s https://codecov.io/bash) -t "${CODECOV_TOKEN}" -f path/to/coverage.xml -Z

I received the same error multiple times and it was working fine earlier in the week.

953 | \| \|___\| (_) \| (_\| \|  __/ (_\| (_) \ V /
954 | \_____\___/ \__,_\|\___\|\___\___/ \_/
955 | Bash-20200629-ffaf297
956 |  
957 |  
958 | ·[0;90m==>·[0m AWS Codebuild detected.
959 | ·[0;90mproject root:·[0m .
960 | not found!
961 | ·[0;90mYaml found at:·[0m ./codecov.yml
962 | ·[0;90m->·[0m Found 1 reports
963 | ·[0;90m==>·[0m Detecting git/mercurial file structure
964 | ·[0;90m==>·[0m Reading reports
965 | ·[0;32m+·[0m /codebuild/******************
966 | ·[0;90m==>·[0m Appending adjustments
967 | ·[0;36mhttps://docs.codecov.io/docs/fixing-reports·[0m
968 | ·[0;90m->·[0m No adjustments found
969 | ·[0;90m==>·[0m Gzipping contents
970 | ·[0;90m==>·[0m Uploading reports
971 | ·[0;90murl:·[0m https://codecov.io
972 | ·[0;90mquery:·[0m branch=&commit=*************************
973 | ·[0;90m->·[0m  Pinging Codecov
--
974 | https://codecov.io/upload/v4?package=bash-20200629-*************redacted*****************
975 | ·[0;90m->·[0m  Uploading to
976 | <!DOCTYPE html>
977 | curl: (3) Host name '<!DOCTYPE html>' contains bad letter
978 | ·[0;31mX>·[0m Failed to upload
979 | ·[0;90m->·[0m Sleeping for 30s and trying again...
980 | /dev/fd/63: line 1668: [: 0+1: integer expression expected
981 | ·[0;90m==>·[0m Uploading to Codecov
982 | curl: (3) <url> malformed
983 | curl: (3) <url> malformed
984 | % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
985 | Dload  Upload   Total   Spent    Left  Speed
986 |  
987 | 0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
988 | 100 18797  100    65  100 18732   1969   554k --:--:-- --:--:-- --:--:--  556k
989 | ·[0;32mHTTP 400
990 | pr must match pattern ^(\d+\|false\|null\|undefined\|true)$·[0m

[Container] 2020/07/03 15:54:15 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command:

@blueyed
Copy link
Contributor Author

blueyed commented Jul 7, 2020

Caused by 8f75c11, fixed in 1c82577
/cc @thomasrockhu

@blueyed
Copy link
Contributor Author

blueyed commented Jul 7, 2020

Closing as fixed by #327 - please consider deploying it.

@blueyed blueyed closed this as completed Jul 7, 2020
@blueyed blueyed changed the title Errors when retrying: curl: (3) <url> malformed / [: 0+1: integer expression expected Errors when retrying: curl: (3) <url> malformed Jul 7, 2020
@blueyed
Copy link
Contributor Author

blueyed commented Jul 7, 2020

"curl: (3) malformed" still happens with af362d8 (current master) though:

2020-07-07T12:25:15.7439501Z + curl -S -L --connect-timeout 5 --retry 6 -s -o codecov.sh https://raw.githubusercontent.com/codecov/codecov-bash/af362d8bc/codecov
2020-07-07T12:25:16.0195698Z + bash codecov.sh -Z -X fix -f coverage.xml -F GHA,Linux
2020-07-07T12:25:16.0242192Z 
2020-07-07T12:25:16.0242655Z   _____          _
2020-07-07T12:25:16.0243004Z  / ____|        | |
2020-07-07T12:25:16.0243359Z | |     ___   __| | ___  ___ _____   __
2020-07-07T12:25:16.0243632Z | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
2020-07-07T12:25:16.0243880Z | |___| (_) | (_| |  __/ (_| (_) \ V /
2020-07-07T12:25:16.0244129Z  \_____\___/ \__,_|\___|\___\___/ \_/
2020-07-07T12:25:16.0244743Z                               Bash-tbd
2020-07-07T12:25:16.0245115Z 
2020-07-07T12:25:16.0245309Z 
2020-07-07T12:25:16.0253819Z �[0;90m==>�[0m GitHub Actions detected.
2020-07-07T12:25:16.0345751Z     �[0;90mproject root:�[0m .
2020-07-07T12:25:16.0417942Z     �[0;90mYaml found at:�[0m codecov.yml
2020-07-07T12:25:16.0495888Z �[0;90m-->�[0m token set from yaml
2020-07-07T12:25:16.0940118Z     �[0;90m->�[0m Found 1 reports
2020-07-07T12:25:16.0941041Z �[0;90m==>�[0m Detecting git/mercurial file structure
2020-07-07T12:25:16.1020365Z �[0;90m==>�[0m Reading reports
2020-07-07T12:25:16.1083518Z     �[0;32m+�[0m coverage.xml �[0;90mbytes=1283766�[0m
2020-07-07T12:25:16.1123315Z �[0;90m==>�[0m Gzipping contents
2020-07-07T12:25:16.2122790Z �[0;90m==>�[0m Uploading reports
2020-07-07T12:25:16.2123615Z     �[0;90murl:�[0m https://codecov.io
2020-07-07T12:25:16.2124398Z     �[0;90mquery:�[0m branch=my-master&commit=966935e499bedba8ca332ec9a0c32372f0241781&build=160598973&build_url=http%3A%2F%2Fgithub.com%2Fblueyed%2Fpytest%2Factions%2Fruns%2F160598973&name=ubuntu-py38%20%28pexpect%2C%20integration%29&tag=&slug=blueyed%2Fpytest&service=github-actions&flags=GHA,Linux&pr=&job=&cmd_args=Z,X,f,F
2020-07-07T12:25:16.2159777Z �[0;90m->�[0m  Pinging Codecov
2020-07-07T12:25:16.2160847Z https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=my-master&commit=966935e499bedba8ca332ec9a0c32372f0241781&build=160598973&build_url=http%3A%2F%2Fgithub.com%2Fblueyed%2Fpytest%2Factions%2Fruns%2F160598973&name=ubuntu-py38%20%28pexpect%2C%20integration%29&tag=&slug=blueyed%2Fpytest&service=github-actions&flags=GHA,Linux&pr=&job=&cmd_args=Z,X,f,F
2020-07-07T12:27:26.9423393Z �[0;90m->�[0m  Uploading to
2020-07-07T12:27:26.9424003Z 
2020-07-07T12:27:26.9519404Z curl: (3) <url> malformed
2020-07-07T12:27:26.9526936Z     �[0;31mX>�[0m Failed to upload
2020-07-07T12:27:26.9527680Z     �[0;90m->�[0m Sleeping for 30s and trying again...
2020-07-07T12:27:56.9765626Z �[0;90m->�[0m  Pinging Codecov
2020-07-07T12:27:56.9766497Z https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=my-master&commit=966935e499bedba8ca332ec9a0c32372f0241781&build=160598973&build_url=http%3A%2F%2Fgithub.com%2Fblueyed%2Fpytest%2Factions%2Fruns%2F160598973&name=ubuntu-py38%20%28pexpect%2C%20integration%29&tag=&slug=blueyed%2Fpytest&service=github-actions&flags=GHA,Linux&pr=&job=&cmd_args=Z,X,f,F
2020-07-07T12:30:06.6866365Z �[0;90m->�[0m  Uploading to
2020-07-07T12:30:06.6867253Z 
2020-07-07T12:30:06.6938880Z curl: (3) <url> malformed
2020-07-07T12:30:06.6952447Z     �[0;31mX>�[0m Failed to upload
2020-07-07T12:30:06.6953327Z     �[0;90m->�[0m Sleeping for 30s and trying again...
2020-07-07T12:30:36.6971509Z �[0;90m->�[0m  Pinging Codecov
2020-07-07T12:30:36.6972578Z https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=my-master&commit=966935e499bedba8ca332ec9a0c32372f0241781&build=160598973&build_url=http%3A%2F%2Fgithub.com%2Fblueyed%2Fpytest%2Factions%2Fruns%2F160598973&name=ubuntu-py38%20%28pexpect%2C%20integration%29&tag=&slug=blueyed%2Fpytest&service=github-actions&flags=GHA,Linux&pr=&job=&cmd_args=Z,X,f,F
2020-07-07T12:32:46.4313243Z �[0;90m->�[0m  Uploading to
2020-07-07T12:32:46.4314419Z 
2020-07-07T12:32:46.4391519Z curl: (3) <url> malformed
2020-07-07T12:32:46.4401196Z     �[0;31mX>�[0m Failed to upload
2020-07-07T12:32:46.4401954Z     �[0;90m->�[0m Sleeping for 30s and trying again...
2020-07-07T12:33:16.4418086Z �[0;90m->�[0m  Pinging Codecov
2020-07-07T12:33:16.4419542Z https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=my-master&commit=966935e499bedba8ca332ec9a0c32372f0241781&build=160598973&build_url=http%3A%2F%2Fgithub.com%2Fblueyed%2Fpytest%2Factions%2Fruns%2F160598973&name=ubuntu-py38%20%28pexpect%2C%20integration%29&tag=&slug=blueyed%2Fpytest&service=github-actions&flags=GHA,Linux&pr=&job=&cmd_args=Z,X,f,F
2020-07-07T12:35:26.1748165Z �[0;90m->�[0m  Uploading to
2020-07-07T12:35:26.1749099Z 
2020-07-07T12:35:26.1814999Z curl: (3) <url> malformed
2020-07-07T12:35:26.1830361Z     �[0;31mX>�[0m Failed to upload
2020-07-07T12:35:26.1831297Z     �[0;90m->�[0m Sleeping for 30s and trying again...
2020-07-07T12:35:56.1850065Z �[0;90m==>�[0m Uploading to Codecov
2020-07-07T12:35:56.1929292Z   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
2020-07-07T12:35:56.1932847Z                                  Dload  Upload   Total   Spent    Left  Speed
2020-07-07T12:35:56.1933140Z 
2020-07-07T12:35:57.3993046Z   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
...
2020-07-07T12:38:05.9120944Z   0     0    0     0    0     0      0      0 --:--:--  0:02:09 --:--:--     0curl: (7) Failed to connect to codecov.io port 443: Connection timed out
2020-07-07T12:38:05.9168684Z     �[0;90m->�[0m Sleeping for 30s and trying again...
2020-07-07T12:38:35.9270322Z   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
2020-07-07T12:38:35.9274835Z                                  Dload  Upload   Total   Spent    Left  Speed
2020-07-07T12:38:35.9275230Z 
2020-07-07T12:38:37.1294358Z   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
...

@thomasrockhu
Copy link
Contributor

That's really strange @blueyed , I ran this locally and got

--> bash codecov.sh -Z -X fix -f coverage.xml -F GHA,Linux -t <token>                                                                                                                                    (10:25)

  _____          _
 / ____|        | |
| |     ___   __| | ___  ___ _____   __
| |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| |  __/ (_| (_) \ V /
 \_____\___/ \__,_|\___|\___\___/ \_/
                              Bash-tbd


x> No CI provider detected.
    Testing inside Docker? http://docs.codecov.io/docs/testing-with-docker
    Testing with Tox? https://docs.codecov.io/docs/python#section-testing-with-tox
    project root: .
    Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml
    -> Found 1 reports
==> Detecting git/mercurial file structure
==> Reading reports
    + coverage.xml bytes=2767
==> Gzipping contents
==> Uploading reports
    url: https://codecov.io
    query: branch=update-env&commit=d8de319c9c2b7bbfe775ffcf1fc5ff12bce29051&build=&build_url=&name=&tag=&slug=codecov%2Fcodecov-bash&service=&flags=GHA,Linux&pr=&job=&cmd_args=Z,X,f,F,t
->  Pinging Codecov                                                                                                                                                                                                                           https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=update-env&commit=d8de319c9c2b7bbfe775ffcf1fc5ff12bce29051&build=&build_url=&name=&tag=&slug=codecov%2Fcodecov-bash&service=&flags=GHA,Linux&pr=&job=&cmd_args=Z,X,f,F,t
->  Uploading to
https://storage.googleapis.com/codecov/v4/raw/2020-07-07/585BF6AD54F3A3D2D976835B5F9B45FF/d8de319c9c2b7bbfe775ffcf1fc5ff12bce29051/1bb7b0d8-2593-4c02-b76d-d48eedbf96ff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHK
K3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200707%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200707T142608Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=09ebedb38ac9cae41166a1165be9e02791f0ef79419d36ab104fe7169ec3e916
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   654    0     0  100   654      0   1648 --:--:-- --:--:-- --:--:--  1651
    -> View reports at https://codecov.io/github/codecov/codecov-bash/commit/d8de319c9c2b7bbfe775ffcf1fc5ff12bce29051

What is suspicious to me is that

2020-07-07T12:25:16.2159777Z �[0;90m->�[0m  Pinging Codecov
2020-07-07T12:25:16.2160847Z https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=my-master&commit=966935e499bedba8ca332ec9a0c32372f0241781&build=160598973&build_url=http%3A%2F%2Fgithub.com%2Fblueyed%2Fpytest%2Factions%2Fruns%2F160598973&name=ubuntu-py38%20%28pexpect%2C%20integration%29&tag=&slug=blueyed%2Fpytest&service=github-actions&flags=GHA,Linux&pr=&job=&cmd_args=Z,X,f,F
2020-07-07T12:27:26.9423393Z �[0;90m->�[0m  Uploading to
2020-07-07T12:27:26.9424003Z 

this last line is empty. It makes me believe that there was an error case we don't handle when getting the presigned PUT from Codecov. If you are able to, @blueyed, would you be able to try to reproduce with the -v flag on as well?

@blueyed
Copy link
Contributor Author

blueyed commented Jul 7, 2020

Yeah, s3target appears to be empty there.
Code ref:

codecov-bash/codecov

Lines 1676 to 1686 in 285e646

res=$(curl $curl_s -X POST $curlargs $cacert \
-H 'X-Reduced-Redundancy: false' \
-H 'X-Content-Type: application/x-gzip' \
"$url/upload/v4?$query" || true)
# a good replay is "https://codecov.io" + "\n" + "https://codecov.s3.amazonaws.com/..."
status=$(echo "$res" | head -1 | grep 'HTTP ' | cut -d' ' -f2)
if [ "$status" = "" ];
then
s3target=$(echo "$res" | sed -n 2p)
say "${e}->${x} Uploading to"
say "${s3target}"

I've added -v now - this is not really reproducible though - but could certainly be triggered by messing with the script itself, of course.

@thomasrockhu
Copy link
Contributor

Thanks @blueyed! I'll mess around this week to try to catch it as well, thanks for your help here, as always.

@ocurero
Copy link
Contributor

ocurero commented Aug 19, 2020

Is there any news?

Mine is still failing

@thomasrockhu
Copy link
Contributor

@ocurero can you post a link to a build that is failing or the Codecov output?

@ocurero
Copy link
Contributor

ocurero commented Aug 19, 2020

Uhmmmm it failed with the same error as @blueyed, but now that I look it again it's failing for some other reason. I'm not sure if this is a consequence or is in fact a different issue. This is the output (the build ends OK even though the Z parm is used):

+ curl -s https://codecov.io/bash
+ bash -s -- -Zvt @/home/build/CODECOV_TOKEN
+ curl_s=
+ getopts a:A:b:B:cC:dD:e:f:F:g:G:hJ:k:Kn:p:P:q:r:R:s:S:t:T:u:U:vx:X:ZN: o
+ codecov_flags+=("$o")
+ case "$o" in
+ '[' @ = @ ']'
++ tr -d ' \n'
+ token=
+ getopts a:A:b:B:cC:dD:e:f:F:g:G:hJ:k:Kn:p:P:q:r:R:s:S:t:T:u:U:vx:X:ZN: o

This is the command: curl -s https://codecov.io/bash | bash -s -- -Zvt @/home/build/CODECOV_TOKEN;

Thanks!

@hugovk
Copy link

hugovk commented Aug 21, 2020

I've been getting a lot too, most recently at hugovk/pypistats#139, using this in GitHub Actions:

      - name: Upload coverage
        if: success()
        run: |
          curl --retry 8 -s https://codecov.io/bash -o codecov.sh
          bash codecov.sh -F ${{ matrix.codecov-flag }}
        env:
          CODECOV_NAME: ${{ matrix.os }} Python ${{ matrix.python-version }}

(Others listed at hugovk/pypistats#130, but I kept restarting and restarting until they passed.)

Should I add some logging? Or should https://github.com/codecov/codecov-action be more reliable?

@thomasrockhu
Copy link
Contributor

Hi all, we've added some logging and made some changes to make this easier to debug. If you are still experiencing this issue, please make a post on our community boards.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants