Skip to content

ubuntu arm64 runner crashes during setup-python action #1059

Closed
LizardByte/Sunshine
#3820

Description

@ReenigneArcher

Description:
Runner crashing on arm64 Ubuntu with Python 3.12.

Version 3.12 is available for downloading
Download from "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/actions/python-versions/releases/download/3.12.9-13149478207/python-3.12.9-linux-22.04-arm64.tar.gz"
Extract downloaded archive
/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /home/runner/work/_temp/21fe679b-ead0-4849-80b4-714b2d7c9484 -f /home/runner/work/_temp/215e9730-ce84-4c28-b02a-4bac101e769b
/usr/bin/tar: ./lib/python3.12/config-3.12-aarch64-linux-gnu/libpython3.12.a: Wrote only 6656 of 10240 bytes

Action version:
Specify the action version

Platform:

  • Ubuntu (arm64)
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:

3.12 (only one I am using)

Repro steps:
It is not consistent, but fails sometimes.

I'm not sure, but it might be related to me using the maximize build space action; however I have been using that for years and this issue just started popping up. Edit: This action has been used for years on the standard runner. The arm runner is somewhat new, but it had been working fine there for probably 2-3 months.

Edit: The runner should not be out of space at this point since this occurs near the beginning of the workflow. Normally if we run out of space it happens during the CUDA installation, which happens quite a bit later.

Expected behavior:
Install Python without crashing the runner.

Actual behavior:
Runner crashes in the middle of installing Python.

Activity

  1. suyashgaonkar commented on Mar 24, 2025

    @suyashgaonkar

    Hi @ReenigneArcher, Thank you for creating this issue. We will investigate it and provide feedback as soon as we have some updates.

  2. v-priyagupta108 commented on Mar 26, 2025

    @v-priyagupta108
    Contributor

    Hello @ReenigneArcher 👋,
    We attempted to reproduce the issue on our end but were unable to do so. It appears that the runner crash is related to disk space or memory issues on the arm64 Ubuntu runner. The crash occurs while extracting the Python archive during the setup-python action, suggesting that the problem is likely due to environmental factors such as disk space or memory constraints, rather than an issue with the setup-python action.

    To address this problem more effectively, please raise this issue in the partner-runner-images repository. We are closing this issue for now.
    Please feel free to reach out if you have any further concerns or need additional assistance.
    Thank you for your understanding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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