-
Notifications
You must be signed in to change notification settings - Fork 502
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
Intermittent failures during Post Setup Python step for MacOS #857
Comments
Hello @andrewkho |
Hello @andrewkho, we have investigated the issue and we are not able to reproduce it with actions/setup-python@v3,v4,v5. Please find the screenshots for reference. Please let us know in case of any further clarifications needed. |
Hi @aparnajyothi-y thanks for trying to repro. I think the issue is that there is no clear error message or way to debug this as far as I can tell. eg I have no idea what the container is doing, if the failure is eg. due to a timeout, if it's a timeout, how long is it? Or is it an OOM? It's really difficult to try and debug without anything to go on |
Hello @andrewkho, to help investigate the error message, could you please enable debug logs and run the workflow? You can follow the steps in this document to do so. Once done, kindly update the link to the repository with the debug logs included. This will assist in further inspection of the setup-python issue mentioned above, as we're currently unable to replicate the error. |
I'm new to Github Actions and I'm having trouble understanding this failure, apologies if this isn't the right way to flag the issue.
Description:
Post Setup Python fails intermittently with macos-latest. On successful runs it's much slower to clean up / shut down than windows and linux.
Action version:
Tested with Actions v3/v4 and setup-python v4/v5
Platform:
Runner type:
Tools version:
3.8, 3.9, 3.10
Repro steps:
The original workflow yaml is here: https://github.com/pytorch/data/blob/main/.github/workflows/stateful_dataloader_ci.yml
In this failed run I tried updating actions from v3 -> v4 and setup-python from v4 -> v5, and it still exhibits the behaviour:
Example of failed run: https://github.com/pytorch/data/actions/runs/8903946672/job/24452473208?pr=1249
Failed retry with debug logs: https://github.com/pytorch/data/actions/runs/8903946672/job/24475084388
Expected behavior:
Expect Post Setup-Python to finish quickly and succeed.
Actual behavior:
Post Setup-Python hangs and marks the run as failed.
The text was updated successfully, but these errors were encountered: