Description
since roughly friday (apr 5), test runs using actions/setup-python@v5 have been erroring out, apparently randomly, with
import pkg_resources
SyntaxError: source code string cannot contain null bytes
here is an example of a failing run: https://github.com/vyperlang/vyper/actions/runs/8583718233/job/23523259737#step:7:85
prior to friday, with no code or workflow changes, the same CI encountered no such errors, here is an example: https://github.com/vyperlang/vyper/actions/runs/8561560272/job/23463040450.
i suspect the issue is a bad python binary or builtins image. force reinstalling setuptools appears to fix the issue, as here: https://github.com/vyperlang/vyper/actions/runs/8588960022
Platforms affected
Runner images affected
Image version and build link
https://github.com/vyperlang/vyper/actions/runs/8583718233/job/23523259737#step:7:85
2024-04-06T20:48:27.8925830Z Current runner version: '2.315.0'
2024-04-06T20:48:27.8949086Z ##[group]Operating System
2024-04-06T20:48:27.8949821Z Ubuntu
2024-04-06T20:48:27.8950200Z 22.04.4
2024-04-06T20:48:27.8950495Z LTS
2024-04-06T20:48:27.8950894Z ##[endgroup]
2024-04-06T20:48:27.8951288Z ##[group]Runner Image
2024-04-06T20:48:27.8951682Z Image: ubuntu-22.04
2024-04-06T20:48:27.8952186Z Version: 20240403.1.0
2024-04-06T20:48:27.8953230Z Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20240403.1/images/ubuntu/Ubuntu2204-Readme.md
2024-04-06T20:48:27.8954657Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20240403.1
2024-04-06T20:48:27.8955596Z ##[endgroup]
Is it regression?
yes
Expected behavior
see description
Actual behavior
see description
Repro steps
the issue is flaky, and i have not been able to reliably reproduce it. please see the logs of the failing test run for example failing cases. (i am happy to provide links to more failing jobs, i have about a dozen since friday).
Description
since roughly friday (apr 5), test runs using
actions/setup-python@v5have been erroring out, apparently randomly, withhere is an example of a failing run: https://github.com/vyperlang/vyper/actions/runs/8583718233/job/23523259737#step:7:85
prior to friday, with no code or workflow changes, the same CI encountered no such errors, here is an example: https://github.com/vyperlang/vyper/actions/runs/8561560272/job/23463040450.
i suspect the issue is a bad python binary or builtins image. force reinstalling setuptools appears to fix the issue, as here: https://github.com/vyperlang/vyper/actions/runs/8588960022
Platforms affected
Runner images affected
Image version and build link
https://github.com/vyperlang/vyper/actions/runs/8583718233/job/23523259737#step:7:85
Is it regression?
yes
Expected behavior
see description
Actual behavior
see description
Repro steps
the issue is flaky, and i have not been able to reliably reproduce it. please see the logs of the failing test run for example failing cases. (i am happy to provide links to more failing jobs, i have about a dozen since friday).