-
Notifications
You must be signed in to change notification settings - Fork 155
Errors when retrying: curl: (3) <url> malformed #330
Comments
Same here:
This is triggered from the following GitHub actions 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 #!/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" |
My development builds began failing this morning. This is the command which I use to initiate the Codecov section of my pipeline:
I received the same error multiple times and it was working fine earlier in the week.
|
Caused by 8f75c11, fixed in 1c82577 |
Closing as fixed by #327 - please consider deploying it. |
"curl: (3) malformed" still happens with af362d8 (current master) though:
|
That's really strange @blueyed , I ran this locally and got
What is suspicious to me is that
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 |
Yeah, Lines 1676 to 1686 in 285e646
I've added |
Thanks @blueyed! I'll mess around this week to try to catch it as well, thanks for your help here, as always. |
Is there any news? Mine is still failing |
@ocurero can you post a link to a build that is failing or the Codecov output? |
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):
This is the command: Thanks! |
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? |
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. |
Codecov: Bash-20200629-ffaf297 on GitHub Actions.
The text was updated successfully, but these errors were encountered: