Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot update coverage reports to codecov #354

Closed
dnerini opened this issue Apr 26, 2024 · 0 comments · Fixed by #358
Closed

Cannot update coverage reports to codecov #354

dnerini opened this issue Apr 26, 2024 · 0 comments · Fixed by #358
Assignees
Labels
bug Something isn't working

Comments

@dnerini
Copy link
Member

dnerini commented Apr 26, 2024

see for example https://github.com/pySTEPS/pysteps/actions/runs/8787373228/job/24168528632

{
  execArgs: [
    '-n',
    '',
    '-Q',
    'github-action-3.1.6',
    '-e',
    'OS,PYTHON',
    '-Z',
    '-f',
    '/home/runner/work/pysteps/pysteps/pysteps_data/coverage.xml',
    '-F',
    'unit_tests',
    '-C',
    '4fd7addb71a1daff2eaca7a4f59c3bd5b0b76edf',
    '-v'
  ]
}
==> linux OS detected
https://uploader.codecov.io/latest/linux/codecov.SHA256SUM
Received SHA256SUM 36bf26bb9d3284850f5212b9579c44a061ca6190c0e7a0841f78fae076f56ecd  codecov
Received SHA256SUM signature -----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEJwNOf9uFDgu8LGL/gGuyiu13mGkFAmYdRtQACgkQgGuyiu13
mGmoPw//VB73TH8SDYPIr/wA47dREJTZvdXUP1f1x2MLPvBUsHZAvvUBZrtXE+mD
FavDwiMJE3F20eQjP+5dIsI23xhRHKzYVR9jl5G+vhU6XRKPZ9NhRNk4B91cY7V2
hVic1F0T7PmdSq/I+OoAVFUK3xOXpld1IwmMjGM1yn1ylkueqJINIMnd/m8pAz0J
Grjo3hQ0evFm0vopEhlycHpEZTMB8jkhEVIAoZU2NwEVjlRE/ETR2Z6iMxn+dkUC
dGF/5szaHKEFnLeZ3aBX/2rfRcFZ60fmOSKgeWXFboevuaL1O74006pX87ZrELHZ
KF2jUh7fImLsofuHghHdgRwJR+deBDv1AV3hUn+cUK0ohloDpzAjgy35b47+iLV8
[2024-04-23T18:53:50.547Z] ['verbose'] pr
[2024-04-23T18:53:50.547Z] ['verbose'] service
[2024-04-23T18:53:50.547Z] ['verbose'] slug
[2024-04-23T18:53:50.547Z] ['verbose'] name
[2024-04-23T18:53:50.547Z] ['verbose'] tag
[2024-04-23T18:53:50.547Z] ['verbose'] flags
[2024-04-23T18:53:50.547Z] ['verbose'] parent
[2024-04-23T18:53:50.549Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=github-action-3.1.6-uploader-0.7.3&token=*******&branch=hackathon&build=8787373228&build_url=https%3A%2F%2Fgithub.com%2FpySTEPS%2Fpysteps%2Factions%2Fruns%2F8787373228&commit=4fd7addb71a1daff2eaca7a4f59c3bd5b0b76edf&job=Test+pysteps&pr=351&service=github-actions&slug=pySTEPS%2Fpysteps&name=&tag=&flags=unit_tests&parent=
[2024-04-23T18:53:50.549Z] ['verbose'] Passed token was 0 characters long
[2024-04-23T18:53:50.549Z] ['verbose'] https://codecov.io/upload/v4?package=github-action-3.1.6-uploader-0.7.3&branch=hackathon&build=8787373228&build_url=https%3A%2F%2Fgithub.com%2FpySTEPS%2Fpysteps%2Factions%2Fruns%2F8787373228&commit=4fd7addb71a1daff2eaca7a4f59c3bd5b0b76edf&job=Test+pysteps&pr=351&service=github-actions&slug=pySTEPS%2Fpysteps&name=&tag=&flags=unit_tests&parent=
        Content-Type: 'text/plain'
        Content-Encoding: 'gzip'
        X-Reduced-Redundancy: 'false'
[2024-04-23T18:53:50.735Z] ['error'] There was an error running the uploader: Error uploading to [https://codecov.io:](https://codecov.io/) Error: There was an error fetching the storage URL during POST: 404 - {'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')}
[2024-04-23T18:53:50.736Z] ['verbose'] The error stack is: Error: Error uploading to [https://codecov.io:](https://codecov.io/) Error: There was an error fetching the storage URL during POST: 404 - {'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')}
    at main (/snapshot/repo/dist/src/index.js)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[2024-04-23T18:53:50.736Z] ['verbose'] End of uploader: 667 milliseconds
Error: Codecov: Failed to properly upload: The process '/home/runner/work/_actions/codecov/codecov-action/v3/dist/codecov' failed with exit code 255
@dnerini dnerini self-assigned this Apr 26, 2024
@dnerini dnerini added the bug Something isn't working label Apr 26, 2024
@dnerini dnerini linked a pull request Apr 29, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant