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

gsutil appears to be broken with Ubuntu 24.04 on v1.0.5 (seen on arm64) #11089

Open
2 of 15 tasks
phlax opened this issue Dec 3, 2024 · 3 comments
Open
2 of 15 tasks

gsutil appears to be broken with Ubuntu 24.04 on v1.0.5 (seen on arm64) #11089

phlax opened this issue Dec 3, 2024 · 3 comments

Comments

@phlax
Copy link

phlax commented Dec 3, 2024

Description

We have some ci that uses gsutil

Since today our large arm runners have started failing (arm64/ubuntu 24.04)

Run gsutil --version
Error: gsutil requires Python version 2.7 or 3.5-3.11, but a different version is installed.
You are currently running Python 3.12
Follow the steps below to resolve this issue:
	1. Switch to Python 3.5-3.11 using your Python version manager or install an appropriate version.
	2. If you are unsure how to manage Python versions, visit [https://cloud.google.com/storage/docs/gsutil_install#specifications] for detailed instructions.

gsutil always had the python requirement in its setup.py but for some reason it was ignored - we install it a few ways and it ~works

the difference between today and yesterday appears to be that the vms were updated to v1.0.5 and now it reliably fails

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

VM Image
  OS: Linux (arm64)
  Source: Marketplace
  Publisher: arm
  Offer: github_arm_linux_runner_2404
  Plan: github_arm_linux_runner_plan_2404
  Version: 1.0.5

https://github.com/envoyproxy/envoy/actions/runs/12134322882/job/33831342212#step:1:4

Is it regression?

yes

Expected behavior

to be able to use the installed gsutil

Actual behavior

error when tryng to use gsutil related to the system version of python

Repro steps

  • create a (large) arm64 runner
  • run: gsutil --version
@hemanthmanga
Copy link
Contributor

Hi @phlax, Thank you for bringing this issue to our attention. We are looking into this issue and will update you on this issue after investigating.

@phlax
Copy link
Author

phlax commented Dec 3, 2024

fwiw we have other ci that is using v1.0.7 - everything appears to work as expected in that case

@RaviAkshintala
Copy link
Contributor

Hi @phlax Currently, Ubuntu 24 uses Python version 3.12.7, and gsutil is compatible with Python versions 3.5-3.12. This issue is related to Python compatibility for gsutil, and this PR will update the Python version. We hope this resolves the issue.

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

No branches or pull requests

3 participants