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

Intermittent failures setting up 3.11.0 on macos-11 #568

Closed
2 of 5 tasks
AlexWaygood opened this issue Dec 17, 2022 · 3 comments
Closed
2 of 5 tasks

Intermittent failures setting up 3.11.0 on macos-11 #568

AlexWaygood opened this issue Dec 17, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@AlexWaygood
Copy link

AlexWaygood commented Dec 17, 2022

Hi,

We've been getting intermittent failures over at typeshed over the last few days when trying to set up Python 3.11.0 on macos-11. The problems appear to have started when we pinned our Python version to "3.11.0" (previously it was just "3.11").

The output logged to the CI terminal is (click to expand):
Run actions/setup-python@v4
  with:
    python-version: 3.11.0
    cache: pip
    cache-dependency-path: requirements-tests.txt
    check-latest: false
    token: ***
    update-environment: true
  env:
    PIP_DISABLE_PIP_VERSION_CHECK: 1
    FORCE_COLOR: 1
    TERM: xterm-256color
Version 3.11.0 was not found in the local cache
Version 3.11.0 is available for downloading
Download from "https://github.com/actions/python-versions/releases/download/3.11.0-3328127706/python-3.11.0-darwin-x64.tar.gz"
Extract downloaded archive
/usr/bin/tar xz -C /Users/runner/work/_temp/0508e595-870b-447c-9f90-557debae33c8 -f /Users/runner/work/_temp/d37af55f-8fec-4bc9-9331-1f011c1da5ab
Execute installation script
Check if Python hostedtoolcache folder exist...
Deleting Python /Users/runner/hostedtoolcache/Python/3.11.1/x64
Install Python binaries from prebuilt package
installer: Package name is Python
installer: Upgrading at base path /
installer: The upgrade was successful.
Create hostedtoolcach symlinks (Required for the backward compatibility)
Create Python 3.11.0 folder
Create additional symlinks (Required for the UsePythonVersion Azure Pipelines task and the setup-python GitHub Action)
Error: ln: python311: File exists
Error: The process '/bin/bash' failed with exit code 1

Our workflow file is here. Examples of failing runs:

The error only seems to be raised some of the time. (Maybe around 50% of our 3.11/macOS runs at the moment?)

Any idea what's going on here?

Action version:
actions/setup-python@v4

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:
3.11.0

@AlexWaygood AlexWaygood added bug Something isn't working needs triage labels Dec 17, 2022
@AlexWaygood AlexWaygood changed the title Intermittent failures setting up 3.11.0 on macos-latest Intermittent failures setting up 3.11.0 on macos-11 Dec 17, 2022
@MaksimZhukov
Copy link
Contributor

Hello @AlexWaygood! Thanks for reporting this!
We will investigate the issue and come back to you as soon as we have any updates

@MaksimZhukov
Copy link
Contributor

There was a problem with the Python 3.11.0 package. We rebuilt it, so you won't face the issue again.
I am closing the issue. Please contact us if you have any concerns.
Thanks!

@AlexWaygood
Copy link
Author

Brilliant, thanks @MaksimZhukov!

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

No branches or pull requests

2 participants