question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The action seems broken. I use the following github actions with the workflow yaml:

name: Upload coverage to Codecov
      uses: codecov/codecov-action@v2
      with:
        files: ./coverage.xml
        verbose: true

with the default configuration (didn’t specify a codecov.yml file). When trying to upload the report I in my CI run i get:

 Codecov report uploader 0.1.0
[2021-09-16T13:47:15.789Z] ['info'] => Project root located at: /home/runner/work/NR_Error_Correction/NR_Error_Correction
[2021-09-16T13:47:15.790Z] ['info'] -> No token specified or token is empty
[2021-09-16T13:47:15.790Z] ['verbose'] Start of network processing...
[2021-09-16T13:47:15.791Z] ['verbose'] Searching for files in /home/runner/work/NR_Error_Correction/NR_Error_Correction
[2021-09-16T13:47:15.801Z] ['info'] Searching for coverage files...
[2021-09-16T13:47:15.811Z] ['info'] => Found 1 possible coverage files:
  ./coverage.xml
[2021-09-16T13:47:15.811Z] ['verbose'] End of network processing
[2021-09-16T13:47:15.811Z] ['info'] Processing ./coverage.xml...
[2021-09-16T13:47:15.814Z] ['info'] Detected GitHub Actions as the CI provider.
[2021-09-16T13:47:15.814Z] ['verbose'] -> Using the following env variables:
[2021-09-16T13:47:15.814Z] ['verbose']      GITHUB_ACTION: __codecov_codecov-action
[2021-09-16T13:47:15.814Z] ['verbose']      GITHUB_HEAD_REF: 
[2021-09-16T13:47:15.814Z] ['verbose']      GITHUB_REF: refs/heads/fix_code_cov
[2021-09-16T13:47:15.814Z] ['verbose']      GITHUB_REPOSITORY: YairMZ/NR_Error_Correction
[2021-09-16T13:47:15.814Z] ['verbose']      GITHUB_RUN_ID: 1241823412
[2021-09-16T13:47:15.814Z] ['verbose']      GITHUB_SERVER_URL: https://github.com
[2021-09-16T13:47:15.814Z] ['verbose']      GITHUB_SHA: 2af4e4b90aa96d8ec9c5cb67768c00b34c48ceb9
[2021-09-16T13:47:15.815Z] ['verbose']      GITHUB_WORKFLOW: NR Error Correction
[2021-09-16T13:47:15.816Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=github-action-2.1.0-uploader-0.1.0&token=*******&branch=fix_code_cov&build=1241823412&build_url=https%253A%252F%252Fgithub.com%252FYairMZ%252FNR_Error_Correction%252Factions%252Fruns%252F1241823412&commit=2af4e4b90aa96d8ec9c5cb67768c00b34c48ceb9&job=NR%2520Error%2520Correction&pr=&service=github-actions&slug=YairMZ%2FNR_Error_Correction&name=&tag=&flags=&parent=
[2021-09-16T13:47:15.816Z] ['verbose'] Passed token was 0 characters long
[2021-09-16T13:47:15.816Z] ['verbose'] https://codecov.io/upload/v4?package=github-action-2.1.0-uploader-0.1.0&branch=fix_code_cov&build=1241823412&build_url=https%253A%252F%252Fgithub.com%252FYairMZ%252FNR_Error_Correction%252Factions%252Fruns%252F1241823412&commit=2af4e4b90aa96d8ec9c5cb67768c00b34c48ceb9&job=NR%2520Error%2520Correction&pr=&service=github-actions&slug=YairMZ%2FNR_Error_Correction&name=&tag=&flags=&parent=
        Content-Type: 'text/plain'
        Content-Encoding: 'gzip'
        X-Reduced-Redundancy: 'false'
[2021-09-16T13:47:16.033Z] ['error'] Error POSTing to https://codecov.io: 400 Invalid request parameters
[2021-09-16T13:47:16.033Z] ['error'] Error: Error uploading to https://codecov.io: Error: Bad Request

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:9
  • Comments:5

github_iconTop GitHub Comments

1reaction
vkotroniscommented, Sep 16, 2021

+1, exactly same issue

[2021-09-16T15:02:09.665Z] ['error'] Error POSTing to https://codecov.io: 400 Invalid request parameters
[2021-09-16T15:02:09.666Z] ['error'] Error: Error uploading to https://codecov.io: Error: Bad Request
Error: Codecov: Failed to properly upload: The process '/home/runner/work/_actions/codecov/codecov-action/v2.1.0/dist/codecov' failed with exit code 255

It seems to have started happening today.

0reactions
vkotroniscommented, Sep 16, 2021
[2021-09-16T16:53:44.631Z] ['info'] Uploading...
[2021-09-16T16:53:44.824Z] ['info'] {"status":"success","resultURL":"https://codecov.io/...."}

Problem seems to have been resolved. Do we know the root cause?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Action Action – Broken Lyrics - Genius
[Verse 1] In just about any given situation. I'm wasting my patience. Even though my heart is open. I'm broken, so broken down....
Read more >
GitHub Action broken · Issue #4552 · returntocorp/semgrep
This used to work and suddenly broke. I re-ran the failed Github Actions workflow which succeeded but caused lots of false positives to...
Read more >
The broken $100-billion promise of climate finance - Nature
Global climate action needs trusted finance data. Compared with the investment required to avoid dangerous levels of climate change, ...
Read more >
Pre-Owned Inventory | Broken Arrow Oklahoma
Action Powersports is a powersports vehicles dealership with locations in Tulsa, Broken Arrow, and Norman, OK.
Read more >
Broken Arrow Pest Control
In Broken Arrow and the Tulsa area, Action Pest Management Inc. specializes in getting rid of all creepy, crawling, unwanted house or business...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found