pySTEPS / pysteps

Python framework for short-term ensemble prediction systems.
https://pysteps.github.io/
BSD 3-Clause "New" or "Revised" License
441 stars 160 forks source link

Cannot update coverage reports to codecov #354

Closed dnerini closed 3 months ago

dnerini commented 3 months ago

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