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.

Error: failed to properly upload

See original GitHub issue

Hi,

We are getting failed to properly upload errors in our codecov reports. This is a link to a failed report: test.

The error looks like this:

[2021-12-09T21:21:20.606Z] ['verbose'] parent
76
[2021-12-09T21:21:20.607Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=github-action-2.1.0-uploader-0.1.13&token=*******&branch=iwahbe%2Fignore-ambient-plugins-exclude-language-plugins&build=1560590304&build_url=https%3A%2F%2Fgithub.com%2Fpulumi%2Fpulumi%2Factions%2Fruns%2F1560590304&commit=0d49bcd7594916ab15876197c806c30cd5312477&job=.github%2Fworkflows%2Frun-build-and-acceptance-tests.yml&pr=8576&service=github-actions&slug=pulumi%2Fpulumi&name=&tag=&flags=&parent=
77
[2021-12-09T21:21:20.607Z] ['verbose'] Passed token was 0 characters long
78
[2021-12-09T21:21:20.607Z] ['verbose'] https://codecov.io/upload/v4?package=github-action-2.1.0-uploader-0.1.13&branch=iwahbe%2Fignore-ambient-plugins-exclude-language-plugins&build=1560590304&build_url=https%3A%2F%2Fgithub.com%2Fpulumi%2Fpulumi%2Factions%2Fruns%2F1560590304&commit=0d49bcd7594916ab15876197c806c30cd5312477&job=.github%2Fworkflows%2Frun-build-and-acceptance-tests.yml&pr=8576&service=github-actions&slug=pulumi%2Fpulumi&name=&tag=&flags=&parent=
79
        Content-Type: 'text/plain'
80
        Content-Encoding: 'gzip'
81
        X-Reduced-Redundancy: 'false'
82
[2021-12-09T21:21:20.804Z] ['error'] There was an error running the uploader: Error uploading to https://codecov.io: Error: There was an error fetching the storage URL during POST: 404 - Not Found - {'detail': ErrorDetail(string='Unable to locate build via Github Actions API. Please upload with the Codecov repository upload token to resolve issue.', code='not_found')}
83
[2021-12-09T21:21:20.805Z] ['verbose'] The error stack is: Error: Error uploading to https://codecov.io: Error: There was an error fetching the storage URL during POST: 404 - Not Found - {'detail': ErrorDetail(string='Unable to locate build via Github Actions API. Please upload with the Codecov repository upload token to resolve issue.', code='not_found')}
84
    at main (/snapshot/repo/dist/src/index.js)
85
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
86
[2021-12-09T21:21:20.805Z] ['verbose'] End of uploader: 431 milliseconds
87
Error: Codecov: Failed to properly upload: The process '/Users/runner/work/_actions/codecov/codecov-action/v2/dist/codecov' failed with exit code 255

It looks like the same issue as https://github.com/codecov/codecov-action/issues/595. Any help would be appreciated.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:26
  • Comments:57 (8 by maintainers)

github_iconTop GitHub Comments

13reactions
emilizacommented, Dec 15, 2021

@clementchadebec our repo is public, and we don’t have a secret configured

7reactions
rafaelcalpenacommented, Feb 4, 2022

We are getting this error on version v0.1.16, but version: "v0.1.15" in the action works fine:

- name: Upload coverage results to Codecov.io
      uses: codecov/codecov-action@v2
      with:
        token: ${{secrets.CODECOV_TOKEN}}
        version: "v0.1.15"
Read more comments on GitHub >

github_iconTop Results From Across the Web

Codecov-action failing to properly upload - Bug Fixes
The error is occurring in a dependabot PR. When I merge changes from master into the PR manually, codecov uploads just fine. However...
Read more >
codecov fails in github actions - Stack Overflow
I had failing builds although I had steps setup correctly. ... name: Upload reports to codecov env: CODECOV_TOKEN: ${{secrets.
Read more >
How to Fix the "Upload: Failed to Write File to Disk" Error in ...
Most of the time, the Upload: Failed to Write File to Disk Error is due to a problem with your site's file permissions....
Read more >
Common uploading errors - YouTube Help - Google Support
If you're having problems uploading your video, select the error message you're seeing and follow the troubleshooting steps to solve your issue.
Read more >
Fix problems uploading files on the OneDrive website
For more info about getting permission to access the file, contact your network administrator. You don't have permission to upload the file to...
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