Skip to content

Intermittent GLIBC errors on self-hosted Ubuntu 22.04 runners across multiple architectures and Python versions #1261

@anamargfer

Description

@anamargfer

Description:
We're experiencing intermittent GLIBC-related failures when using actions/setup-python on our self-hosted Ubuntu 22.04 runners. The issue is non-deterministic - the same Python version that works in one workflow run will fail in another run on the same day with the same configuration.

Action version:
It happens with all versions, but we are using v6.

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:
All Python versions, it depends on the run.

Repro steps:

  1. Cache some python versions on self-hosted runners
  2. Run workflow with
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.14.1' //This is only an example version
  1. Execute Python

Expected behavior:

  • setup-python should validate that cached Python binaries are compatible with the host system's GLIBC version. If a cached binary is incompatible, the action should download a compatible version.
  • All runners with the same OS should consistently succeed or fail, not intermittently

Actual behavior:

  • setup-python finds Python in tool-cache and reports success
  • No GLIBC compatibility check is performed
  • Workflow proceeds to use Python
  • Python execution fails with GLIBC version mismatch

Error Message - Example:

python3: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /etc/gha/_work/_tool/Python/3.13.10/x64/lib/libpython3.13.so.1.0)
python3: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /etc/gha/_work/_tool/Python/3.13.10/x64/lib/libpython3.13.so.1.0)

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions