avocado icon indicating copy to clipboard operation
avocado copied to clipboard

Release workflow: pushing packages to PyPI can fail silently

Open clebergnu opened this issue 3 years ago • 0 comments

Describe the bug A silent failure while pushing packages to PyPI was observed while running the release workflow for version 97.0:

https://github.com/avocado-framework/avocado/runs/6576658389?check_suite_focus=true#step:12:79

Uploading avocado_framework-97.0-py3-none-any.whl
25l
  0% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/439.9 kB • --:-- • ?
  0% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/439.9 kB • --:-- • ?
  0% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/439.9 kB • --:-- • ?
 61% ━━━━━━━━━━━━━━━━━━━━━━━━╸━━━━━━━━━━━━━━━ 270.3/439.9 kB • 00:01 • 3.2 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 439.9/439.9 kB • 00:00 • 3.5 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 439.9/439.9 kB • 00:00 • 3.5 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 439.9/439.9 kB • 00:00 • 3.5 MB/s
25hWARNING  Error during upload. Retry with the --verbose option for more details. 
ERROR    HTTPError: 403 Forbidden from https://upload.pypi.org/legacy/          
         Invalid or non-existent authentication information. See                
         https://pypi.org/help/#invalid-auth for more information.              
make: *** [Makefile.gh:82: update-pypi] Error 1
Error: Process completed with exit code 2.

The result being a (misleadingly) successful workflow run, but without packages available on PyPI.

Steps to reproduce Execution of the workflow from the GitHub interface.

Expected behavior The packages should be available on PyPI.

Current behavior Packages were not available on PyPI.

System information (please complete the following information): Not relevant.

Additional information There may have been some token issues that caused the failure, but still, the failure should not have gone silent.

clebergnu avatar Jun 04 '22 16:06 clebergnu