Skip to content

[ci][docker] Install google-cloud-cli in base-extra - #65757

Merged
elliot-barn merged 1 commit into
masterfrom
elliot-barn/fix-base-extra-gcloud-cli
Aug 28, 2026
Merged

elliot-barn merged 1 commit into
masterfrom
elliot-barn/fix-base-extra-gcloud-cli

Conversation

@elliot-barn

Copy link
Copy Markdown
Collaborator

What

docker/base-extra/Dockerfile installs the apt package google-cloud-sdk, which no longer exists. Renames it to google-cloud-cli. One word, one line.

Why

Any base-extra build that misses the layer cache fails outright:

Package google-cloud-sdk is not available, but is referred to by another package.
However the following packages replace it:
  google-cloud-cli
E: Package 'google-cloud-sdk' has no installation candidate
=> ERROR: process "/bin/bash -c /dev/pipes/EOF" ... exit code: 100

The package name is simply gone from Google's repo — confirmed against the live index, in every suite it serves:

$ curl -s https://packages.cloud.google.com/apt/dists/cloud-sdk/main/binary-amd64/Packages \
    | awk '/^Package: /{print $2}' | sort -u
google-cloud-cli
google-cloud-cli-anthos-auth
... (28 more google-cloud-cli-* components)
kubectl

# google-cloud-sdk stanzas per suite (amd64 / arm64):
cloud-sdk           0    cloud-sdk-jammy  0    cloud-sdk-bullseye  0
# google-cloud-cli stanzas: 49 in each

The rename happened at 467.0.0 — google-cloud-cli still carries Replaces: google-cloud-sdk (<< 467.0.0-0), which is the metadata apt is reading when it suggests the replacement. A Replaces relationship is not an installation candidate, so the install fails anyway. The old name kept resolving only while some version providing it remained in the repo's retention window; the oldest version now retained is 536.0.1-0, so that window has rolled past.

Why this surfaced now, not at the rename

The layer is normally an ECR cache hit, so the apt step never executes. It only runs on a cache miss:

cache image miss: GET .../rayproject/citemp/manifests/z-ac0c9dae...: MANIFEST_UNKNOWN: Requested image not found

The same commit and the same Dockerfile therefore built green on 2026-08-24 (cache hit: sha256:09ec1be3...) and failed on 2026-08-27. A green older build is not evidence the Dockerfile still builds — every image layering on base-extra (ray, ray-ml, ray-torch, all Python versions) hits this once its cache entry is gone.

Precedent

ci/docker/forge.Dockerfile:64 already installs google-cloud-cli from the same repo, same key, same apt source line. This only brings base-extra in line with it; the source list and key handling are unchanged.

Testing

Reproduced the CI failure and verified the fix in ubuntu:22.04 (the image's base), using the same apt source and key as the Dockerfile:

--- OLD NAME (expected to fail) ---
However the following packages replace it:
  google-cloud-cli
E: Package 'google-cloud-sdk' has no installation candidate

--- NEW NAME (expected to resolve) ---
Inst google-cloud-cli (582.0.0-0 cloud-sdk:cloud-sdk [amd64])
Conf google-cloud-cli (582.0.0-0 cloud-sdk:cloud-sdk [amd64])
Google Cloud SDK 582.0.0

No loss of tooling — the CLI entry points are all still provided:

gcloud   -> /usr/bin/gcloud
gsutil   -> /usr/bin/gsutil      (gsutil version: 5.37)
bq       -> /usr/bin/bq

Both architectures the image builds are covered: google-cloud-cli has 49 versions in the binary-amd64 index and 49 in binary-arm64.

Real verification is CI building base-extra on this PR.

Not a duplicate

gh pr list --state open --search "google-cloud-cli" returns nothing, and no open PR touches docker/base-extra/Dockerfile. Its last three commits (#61497, #60878, #60687) are unrelated.

AI assistance

AI assistance was used: diagnosing the failing Buildkite job, confirming the package's absence against the live apt index, and running the container reproduction above. Every changed line was reviewed and every command shown was run and its output confirmed before requesting review.

Google's cloud-sdk apt repo no longer publishes google-cloud-sdk, so any
base-extra rebuild that misses the layer cache fails with exit code 100:

  Package google-cloud-sdk is not available, but is referred to by another
  package. However the following packages replace it: google-cloud-cli
  E: Package 'google-cloud-sdk' has no installation candidate

The package was renamed at 467.0.0 (google-cloud-cli carries
`Replaces: google-cloud-sdk (<< 467.0.0-0)`), and every version old enough to
provide the old name has since aged out of the repo's retention window.

ci/docker/forge.Dockerfile already installs google-cloud-cli from the same
repo and key, so this only aligns base-extra with it. gcloud, gsutil and bq
are all still provided.

Signed-off-by: elliot-barn <[email protected]>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Dockerfile for the base-extra image by replacing the deprecated google-cloud-sdk package with google-cloud-cli in the list of APT packages to install. There are no review comments, and I have no additional feedback to provide.

elliot-barn added a commit that referenced this pull request Aug 27, 2026
Carries the fix from #65757 so this branch's release builds can rebuild the
base-extra layer. Google's cloud-sdk apt repo no longer publishes
google-cloud-sdk, so any cache-missing rebuild fails with exit code 100.

Drop this commit once #65757 lands on master.

Signed-off-by: elliot-barn <[email protected]>
@ray-gardener ray-gardener Bot added core Issues that should be addressed in Ray Core devprod labels Aug 27, 2026

@zhjwpku zhjwpku left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, google-cloud-cli is the rebranded package name, so we should use google-cloud-cli going forward.

https://docs.cloud.google.com/sdk/docs/install-sdk

@elliot-barn

Copy link
Copy Markdown
Collaborator Author

Verified against a real cache-miss rebuild

The container reproduction in the description shows the package is gone from the repo, but the more direct evidence is that this change fixes an actually-failing CI build.

wanda: ray-py3.14-cu12.8.1-cudnn-base-extra failed on release build 105426 (exit 1, ~2 min in) with:

cache image miss: GET .../rayproject/citemp/manifests/z-ac0c9dae...: MANIFEST_UNKNOWN: Requested image not found
...
E: Package 'google-cloud-sdk' has no installation candidate
=> ERROR: process "/bin/bash -c /dev/pipes/EOF" ... exit code: 100

With this one-line change applied, the same step on the same branch rebuilt the layer from scratch and passed on release build 105430, and the whole chain on top of it went green:

passed  wanda: ray-py3.14-cu12.8.1-cudnn-base-extra
passed  wanda: ray-torch.py3.14.cu12.8.1-cudnn.base
passed  wanda: ray-torch-anyscale py3.14 cu12.8.1-cudnn
passed  :crane: publish: ray-torch-anyscale py3.14 cu12.8.1-cudnn

That build then ran 23 GPU release tests on the resulting image, 19 of which passed — so the image is not just buildable but usable.

Why this is not visible on most builds

The layer is normally an ECR cache hit, so the apt-get install never executes. The identical commit and Dockerfile built green on 2026-08-24 (cache hit: sha256:09ec1be3...) and failed on 2026-08-27 once the citemp tag had been GC'd. Any image layering on base-extra — ray, ray-ml, ray-torch, every Python version — hits this the moment its cache entry expires, so a green recent build is not evidence the Dockerfile still builds from scratch.

@elliot-barn elliot-barn added the go add ONLY when ready to merge, run all tests label Aug 28, 2026
@elliot-barn
elliot-barn merged commit 6af5784 into master Aug 28, 2026
5 of 6 checks passed
@elliot-barn
elliot-barn deleted the elliot-barn/fix-base-extra-gcloud-cli branch August 28, 2026 21:01
AarryaSaraf pushed a commit to AarryaSaraf/ray that referenced this pull request Aug 31, 2026
## What

`docker/base-extra/Dockerfile` installs the apt package
`google-cloud-sdk`, which no longer exists. Renames it to
`google-cloud-cli`. One word, one line.

## Why

Any `base-extra` build that misses the layer cache fails outright:

```
Package google-cloud-sdk is not available, but is referred to by another package.
However the following packages replace it:
  google-cloud-cli
E: Package 'google-cloud-sdk' has no installation candidate
=> ERROR: process "/bin/bash -c /dev/pipes/EOF" ... exit code: 100
```

The package name is simply gone from Google's repo — confirmed against
the live index, in every suite it serves:

```
$ curl -s https://packages.cloud.google.com/apt/dists/cloud-sdk/main/binary-amd64/Packages \
    | awk '/^Package: /{print $2}' | sort -u
google-cloud-cli
google-cloud-cli-anthos-auth
... (28 more google-cloud-cli-* components)
kubectl

# google-cloud-sdk stanzas per suite (amd64 / arm64):
cloud-sdk           0    cloud-sdk-jammy  0    cloud-sdk-bullseye  0
# google-cloud-cli stanzas: 49 in each
```

The rename happened at 467.0.0 — `google-cloud-cli` still carries
`Replaces: google-cloud-sdk (<< 467.0.0-0)`, which is the metadata apt
is reading when it suggests the replacement. A `Replaces` relationship
is not an installation candidate, so the install fails anyway. The old
name kept resolving only while some version providing it remained in the
repo's retention window; the oldest version now retained is `536.0.1-0`,
so that window has rolled past.

## Why this surfaced now, not at the rename

The layer is normally an ECR cache hit, so the apt step never executes.
It only runs on a cache miss:

```
cache image miss: GET .../rayproject/citemp/manifests/z-ac0c9dae...: MANIFEST_UNKNOWN: Requested image not found
```

The same commit and the same Dockerfile therefore built green on
2026-08-24 (`cache hit: sha256:09ec1be3...`) and failed on 2026-08-27. A
green older build is not evidence the Dockerfile still builds — every
image layering on `base-extra` (ray, ray-ml, ray-torch, all Python
versions) hits this once its cache entry is gone.

## Precedent

`ci/docker/forge.Dockerfile:64` already installs `google-cloud-cli` from
the same repo, same key, same apt source line. This only brings
`base-extra` in line with it; the source list and key handling are
unchanged.

## Testing

Reproduced the CI failure and verified the fix in `ubuntu:22.04` (the
image's base), using the same apt source and key as the Dockerfile:

```
--- OLD NAME (expected to fail) ---
However the following packages replace it:
  google-cloud-cli
E: Package 'google-cloud-sdk' has no installation candidate

--- NEW NAME (expected to resolve) ---
Inst google-cloud-cli (582.0.0-0 cloud-sdk:cloud-sdk [amd64])
Conf google-cloud-cli (582.0.0-0 cloud-sdk:cloud-sdk [amd64])
Google Cloud SDK 582.0.0
```

No loss of tooling — the CLI entry points are all still provided:

```
gcloud   -> /usr/bin/gcloud
gsutil   -> /usr/bin/gsutil      (gsutil version: 5.37)
bq       -> /usr/bin/bq
```

Both architectures the image builds are covered: `google-cloud-cli` has
49 versions in the `binary-amd64` index and 49 in `binary-arm64`.

Real verification is CI building `base-extra` on this PR.

## Not a duplicate

`gh pr list --state open --search "google-cloud-cli"` returns nothing,
and no open PR touches `docker/base-extra/Dockerfile`. Its last three
commits (ray-project#61497, ray-project#60878, ray-project#60687) are unrelated.

## AI assistance

AI assistance was used: diagnosing the failing Buildkite job, confirming
the package's absence against the live apt index, and running the
container reproduction above. Every changed line was reviewed and every
command shown was run and its output confirmed before requesting review.

Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: Aarrya <[email protected]>
AarryaSaraf pushed a commit to AarryaSaraf/ray that referenced this pull request Aug 31, 2026
## What

`docker/base-extra/Dockerfile` installs the apt package
`google-cloud-sdk`, which no longer exists. Renames it to
`google-cloud-cli`. One word, one line.

## Why

Any `base-extra` build that misses the layer cache fails outright:

```
Package google-cloud-sdk is not available, but is referred to by another package.
However the following packages replace it:
  google-cloud-cli
E: Package 'google-cloud-sdk' has no installation candidate
=> ERROR: process "/bin/bash -c /dev/pipes/EOF" ... exit code: 100
```

The package name is simply gone from Google's repo — confirmed against
the live index, in every suite it serves:

```
$ curl -s https://packages.cloud.google.com/apt/dists/cloud-sdk/main/binary-amd64/Packages \
    | awk '/^Package: /{print $2}' | sort -u
google-cloud-cli
google-cloud-cli-anthos-auth
... (28 more google-cloud-cli-* components)
kubectl

# google-cloud-sdk stanzas per suite (amd64 / arm64):
cloud-sdk           0    cloud-sdk-jammy  0    cloud-sdk-bullseye  0
# google-cloud-cli stanzas: 49 in each
```

The rename happened at 467.0.0 — `google-cloud-cli` still carries
`Replaces: google-cloud-sdk (<< 467.0.0-0)`, which is the metadata apt
is reading when it suggests the replacement. A `Replaces` relationship
is not an installation candidate, so the install fails anyway. The old
name kept resolving only while some version providing it remained in the
repo's retention window; the oldest version now retained is `536.0.1-0`,
so that window has rolled past.

## Why this surfaced now, not at the rename

The layer is normally an ECR cache hit, so the apt step never executes.
It only runs on a cache miss:

```
cache image miss: GET .../rayproject/citemp/manifests/z-ac0c9dae...: MANIFEST_UNKNOWN: Requested image not found
```

The same commit and the same Dockerfile therefore built green on
2026-08-24 (`cache hit: sha256:09ec1be3...`) and failed on 2026-08-27. A
green older build is not evidence the Dockerfile still builds — every
image layering on `base-extra` (ray, ray-ml, ray-torch, all Python
versions) hits this once its cache entry is gone.

## Precedent

`ci/docker/forge.Dockerfile:64` already installs `google-cloud-cli` from
the same repo, same key, same apt source line. This only brings
`base-extra` in line with it; the source list and key handling are
unchanged.

## Testing

Reproduced the CI failure and verified the fix in `ubuntu:22.04` (the
image's base), using the same apt source and key as the Dockerfile:

```
--- OLD NAME (expected to fail) ---
However the following packages replace it:
  google-cloud-cli
E: Package 'google-cloud-sdk' has no installation candidate

--- NEW NAME (expected to resolve) ---
Inst google-cloud-cli (582.0.0-0 cloud-sdk:cloud-sdk [amd64])
Conf google-cloud-cli (582.0.0-0 cloud-sdk:cloud-sdk [amd64])
Google Cloud SDK 582.0.0
```

No loss of tooling — the CLI entry points are all still provided:

```
gcloud   -> /usr/bin/gcloud
gsutil   -> /usr/bin/gsutil      (gsutil version: 5.37)
bq       -> /usr/bin/bq
```

Both architectures the image builds are covered: `google-cloud-cli` has
49 versions in the `binary-amd64` index and 49 in `binary-arm64`.

Real verification is CI building `base-extra` on this PR.

## Not a duplicate

`gh pr list --state open --search "google-cloud-cli"` returns nothing,
and no open PR touches `docker/base-extra/Dockerfile`. Its last three
commits (ray-project#61497, ray-project#60878, ray-project#60687) are unrelated.

## AI assistance

AI assistance was used: diagnosing the failing Buildkite job, confirming
the package's absence against the live apt index, and running the
container reproduction above. Every changed line was reviewed and every
command shown was run and its output confirmed before requesting review.

Signed-off-by: elliot-barn <[email protected]>
Signed-off-by: Aarrya <[email protected]>
elliot-barn added a commit that referenced this pull request Sep 1, 2026
…65775)

## What

Switches the `training_ingest_benchmark` image_classification entries
from `byod: gpu` (the py3.10 `ray-ml` image) to `torch-cu128` on Python
3.11 — the image added in #65774.

| Entry | Expanded tests |
|---|---|
| `training_ingest_benchmark-task=image_classification` | 22 |
| `...-heterogenous_fixed_size` | 2 |
| `...-heterogenous_autoscaling` | 2 |
| `training_ingest_benchmark-soak_test` | 1 |

**27 expanded tests.** Also relaxes `validate_byod_type` (`torch-cu128`
was pinned to Python 3.14, now accepts 3.11 or 3.14) and adds a py3.11
image-name assertion.

**Stacked on #65774**, which builds the image this points at and must
merge first. This branch also carries a temporary cherry-pick of #65757
(`google-cloud-cli` in base-extra); without it the release build cannot
rebuild the `base-extra` layer at all. Drop that commit once #65757
lands.

## Why 3.11 rather than 3.14

These are the tests that hit a Ray Data race on Python 3.14:
`SplitCoordinator.stats()` serialises a live `DatasetStats` while the
executor appends to `metadata['Map(map_fn)']`, failing with
`RuntimeError: list changed size during iteration`. Reproduced twice
each on `skip_training.parquet`, `skip_training.jpeg.local_fs` and
`skip_training.parquet.fault_tolerance` (release builds 105430 and
105432), against 24 of the group's 27 tests passing on py3.14 and all of
them passing on master's py3.10 nightlies.

The py3.11 ray-torch image carries `torch 2.9.0+cu128` — taken from
`requirements_compiled_py3.11.txt`, the same version the py3.10 `ray-ml`
image runs. So this change moves the Python version and the image while
holding torch fixed, which is what makes the result interpretable.

## Dependency check

Everything these tests need is in
`python/deplocks/ray-torch/ray-torch-cu128_base_py3.11.lock`: `torch`,
`torchvision`, `transformers`, `datasets`, `daft`,
`sentence-transformers`. No `python_depset` or `post_build_script`
required.

Two differences worth knowing, both inherited from Ray's compiled pins
(details in #65774): `torchmetrics` is 0.10.3 rather than 1.9.0, and
`langchain-text-splitters` is absent on 3.11. Neither is imported by
these benchmarks.

`training_ingest_benchmark-task=recsys` deliberately stays on `ray-ml` —
it imports torchrec via `byod_install_torchrec.sh`, which is not in the
ray-torch lock. The other 43 `byod: gpu` entries are untouched.

## Testing

```
$ python -m pytest release/ray_release/tests/test_test.py release/ray_release/tests/test_config.py -q
  54 passed

$ parse_test_definition + validate_test + validate_byod_type over all tests
  validation errors: none
  py3.11  torch-cu128    27 tests
  py3.10  gpu            64 tests   (unchanged, incl. recsys)
```

The release run is the real verification, and it is also the only thing
that builds `ray-torch.py3.11.cu12.8.1-cudnn.base` —
`buildkite/microcheck` contains no ray-torch image jobs. Results will be
posted here.

## Known conflict

#65706 moves the same entries to py3.14 / `torch-cu128`. Whichever lands
second needs a rebase; if this one lands, that PR's ingest portion
becomes redundant.

## AI assistance

AI assistance was used for the swap, the validator change, the
dependency check and the failure triage referenced above. Every changed
line was reviewed and every command shown was run with its output
confirmed.

Release test run: https://github.com/ray-project/ray/pull/65775/changes

---------

Signed-off-by: elliot-barn <[email protected]>
elliot-barn added a commit that referenced this pull request Sep 30, 2026
…tra (#65757) (#66611)

Cherry-pick of #65757 onto `releases/2.58.1`.

Google's `cloud-sdk` apt repo no longer ships the `google-cloud-sdk`
package (it was replaced by `google-cloud-cli`), so any `base-extra`
image build that misses the layer cache fails with:

```
Package google-cloud-sdk is not available, but is referred to by another package.
However the following packages replace it:
  google-cloud-cli
E: Package 'google-cloud-sdk' has no installation candidate
```

This is currently failing every `base-extra` wanda build on the 2.58.1
patch branch (seen downstream in rayturbo build 14414).
`releases/2.59.0` already has the fix.

It applied cleanly with `git cherry-pick -x` from 6af5784; it's a
one-line change to `docker/base-extra/Dockerfile`.

Not a duplicate: no existing PR references #65757 against
`releases/2.58.1`.

Testing: relying on this PR's CI `base-extra` image builds; no local
tests run.

AI assistance was used to prepare this cherry-pick.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Signed-off-by: elliot-barn <[email protected]>
elliot-barn added a commit that referenced this pull request Sep 30, 2026
…tra (#65757) (#66610)

Cherry-pick of #65757 onto `releases/2.57.1`.

Google's `cloud-sdk` apt repo no longer ships the `google-cloud-sdk`
package (it was replaced by `google-cloud-cli`), so any `base-extra`
image build that misses the layer cache fails with:

```
Package google-cloud-sdk is not available, but is referred to by another package.
However the following packages replace it:
  google-cloud-cli
E: Package 'google-cloud-sdk' has no installation candidate
```

This is currently failing every `base-extra` wanda build on the 2.57.1
patch branch (seen downstream in rayturbo build 14414).
`releases/2.59.0` already has the fix.

It applied cleanly with `git cherry-pick -x` from 6af5784; it's a
one-line change to `docker/base-extra/Dockerfile`.

Not a duplicate: no existing PR references #65757 against
`releases/2.57.1`.

Testing: relying on this PR's CI `base-extra` image builds; no local
tests run.

AI assistance was used to prepare this cherry-pick.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Signed-off-by: elliot-barn <[email protected]>
nadongjun pushed a commit to nadongjun/ray that referenced this pull request Oct 6, 2026
## What

`docker/base-extra/Dockerfile` installs the apt package
`google-cloud-sdk`, which no longer exists. Renames it to
`google-cloud-cli`. One word, one line.

## Why

Any `base-extra` build that misses the layer cache fails outright:

```
Package google-cloud-sdk is not available, but is referred to by another package.
However the following packages replace it:
  google-cloud-cli
E: Package 'google-cloud-sdk' has no installation candidate
=> ERROR: process "/bin/bash -c /dev/pipes/EOF" ... exit code: 100
```

The package name is simply gone from Google's repo — confirmed against
the live index, in every suite it serves:

```
$ curl -s https://packages.cloud.google.com/apt/dists/cloud-sdk/main/binary-amd64/Packages \
    | awk '/^Package: /{print $2}' | sort -u
google-cloud-cli
google-cloud-cli-anthos-auth
... (28 more google-cloud-cli-* components)
kubectl

# google-cloud-sdk stanzas per suite (amd64 / arm64):
cloud-sdk           0    cloud-sdk-jammy  0    cloud-sdk-bullseye  0
# google-cloud-cli stanzas: 49 in each
```

The rename happened at 467.0.0 — `google-cloud-cli` still carries
`Replaces: google-cloud-sdk (<< 467.0.0-0)`, which is the metadata apt
is reading when it suggests the replacement. A `Replaces` relationship
is not an installation candidate, so the install fails anyway. The old
name kept resolving only while some version providing it remained in the
repo's retention window; the oldest version now retained is `536.0.1-0`,
so that window has rolled past.

## Why this surfaced now, not at the rename

The layer is normally an ECR cache hit, so the apt step never executes.
It only runs on a cache miss:

```
cache image miss: GET .../rayproject/citemp/manifests/z-ac0c9dae...: MANIFEST_UNKNOWN: Requested image not found
```

The same commit and the same Dockerfile therefore built green on
2026-08-24 (`cache hit: sha256:09ec1be3...`) and failed on 2026-08-27. A
green older build is not evidence the Dockerfile still builds — every
image layering on `base-extra` (ray, ray-ml, ray-torch, all Python
versions) hits this once its cache entry is gone.

## Precedent

`ci/docker/forge.Dockerfile:64` already installs `google-cloud-cli` from
the same repo, same key, same apt source line. This only brings
`base-extra` in line with it; the source list and key handling are
unchanged.

## Testing

Reproduced the CI failure and verified the fix in `ubuntu:22.04` (the
image's base), using the same apt source and key as the Dockerfile:

```
--- OLD NAME (expected to fail) ---
However the following packages replace it:
  google-cloud-cli
E: Package 'google-cloud-sdk' has no installation candidate

--- NEW NAME (expected to resolve) ---
Inst google-cloud-cli (582.0.0-0 cloud-sdk:cloud-sdk [amd64])
Conf google-cloud-cli (582.0.0-0 cloud-sdk:cloud-sdk [amd64])
Google Cloud SDK 582.0.0
```

No loss of tooling — the CLI entry points are all still provided:

```
gcloud   -> /usr/bin/gcloud
gsutil   -> /usr/bin/gsutil      (gsutil version: 5.37)
bq       -> /usr/bin/bq
```

Both architectures the image builds are covered: `google-cloud-cli` has
49 versions in the `binary-amd64` index and 49 in `binary-arm64`.

Real verification is CI building `base-extra` on this PR.

## Not a duplicate

`gh pr list --state open --search "google-cloud-cli"` returns nothing,
and no open PR touches `docker/base-extra/Dockerfile`. Its last three
commits (ray-project#61497, ray-project#60878, ray-project#60687) are unrelated.

## AI assistance

AI assistance was used: diagnosing the failing Buildkite job, confirming
the package's absence against the live apt index, and running the
container reproduction above. Every changed line was reviewed and every
command shown was run and its output confirmed before requesting review.

Signed-off-by: elliot-barn <[email protected]>
nadongjun pushed a commit to nadongjun/ray that referenced this pull request Oct 6, 2026
…ay-project#65775)

## What

Switches the `training_ingest_benchmark` image_classification entries
from `byod: gpu` (the py3.10 `ray-ml` image) to `torch-cu128` on Python
3.11 — the image added in ray-project#65774.

| Entry | Expanded tests |
|---|---|
| `training_ingest_benchmark-task=image_classification` | 22 |
| `...-heterogenous_fixed_size` | 2 |
| `...-heterogenous_autoscaling` | 2 |
| `training_ingest_benchmark-soak_test` | 1 |

**27 expanded tests.** Also relaxes `validate_byod_type` (`torch-cu128`
was pinned to Python 3.14, now accepts 3.11 or 3.14) and adds a py3.11
image-name assertion.

**Stacked on ray-project#65774**, which builds the image this points at and must
merge first. This branch also carries a temporary cherry-pick of ray-project#65757
(`google-cloud-cli` in base-extra); without it the release build cannot
rebuild the `base-extra` layer at all. Drop that commit once ray-project#65757
lands.

## Why 3.11 rather than 3.14

These are the tests that hit a Ray Data race on Python 3.14:
`SplitCoordinator.stats()` serialises a live `DatasetStats` while the
executor appends to `metadata['Map(map_fn)']`, failing with
`RuntimeError: list changed size during iteration`. Reproduced twice
each on `skip_training.parquet`, `skip_training.jpeg.local_fs` and
`skip_training.parquet.fault_tolerance` (release builds 105430 and
105432), against 24 of the group's 27 tests passing on py3.14 and all of
them passing on master's py3.10 nightlies.

The py3.11 ray-torch image carries `torch 2.9.0+cu128` — taken from
`requirements_compiled_py3.11.txt`, the same version the py3.10 `ray-ml`
image runs. So this change moves the Python version and the image while
holding torch fixed, which is what makes the result interpretable.

## Dependency check

Everything these tests need is in
`python/deplocks/ray-torch/ray-torch-cu128_base_py3.11.lock`: `torch`,
`torchvision`, `transformers`, `datasets`, `daft`,
`sentence-transformers`. No `python_depset` or `post_build_script`
required.

Two differences worth knowing, both inherited from Ray's compiled pins
(details in ray-project#65774): `torchmetrics` is 0.10.3 rather than 1.9.0, and
`langchain-text-splitters` is absent on 3.11. Neither is imported by
these benchmarks.

`training_ingest_benchmark-task=recsys` deliberately stays on `ray-ml` —
it imports torchrec via `byod_install_torchrec.sh`, which is not in the
ray-torch lock. The other 43 `byod: gpu` entries are untouched.

## Testing

```
$ python -m pytest release/ray_release/tests/test_test.py release/ray_release/tests/test_config.py -q
  54 passed

$ parse_test_definition + validate_test + validate_byod_type over all tests
  validation errors: none
  py3.11  torch-cu128    27 tests
  py3.10  gpu            64 tests   (unchanged, incl. recsys)
```

The release run is the real verification, and it is also the only thing
that builds `ray-torch.py3.11.cu12.8.1-cudnn.base` —
`buildkite/microcheck` contains no ray-torch image jobs. Results will be
posted here.

## Known conflict

ray-project#65706 moves the same entries to py3.14 / `torch-cu128`. Whichever lands
second needs a rebase; if this one lands, that PR's ingest portion
becomes redundant.

## AI assistance

AI assistance was used for the swap, the validator change, the
dependency check and the failure triage referenced above. Every changed
line was reviewed and every command shown was run with its output
confirmed.

Release test run: https://github.com/ray-project/ray/pull/65775/changes

---------

Signed-off-by: elliot-barn <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Issues that should be addressed in Ray Core devprod go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants