From 3043e18800926188cc8165d20b0a63e6aced334c Mon Sep 17 00:00:00 2001 From: elliot-barn Date: Fri, 31 Oct 2025 19:29:22 +0000 Subject: [PATCH 1/3] serve tests 3.10 Signed-off-by: elliot-barn --- .buildkite/serve.rayci.yml | 44 +++++++++++++++++++++++++------------- 1 file changed, 29 insertions(+), 15 deletions(-) diff --git a/.buildkite/serve.rayci.yml b/.buildkite/serve.rayci.yml index a8cf0b8fd3d8..b8e5d7c30c0d 100644 --- a/.buildkite/serve.rayci.yml +++ b/.buildkite/serve.rayci.yml @@ -51,8 +51,8 @@ steps: - bazel run //ci/ray_ci:test_in_docker -- //python/ray/serve/... //python/ray/tests/... serve --except-tags post_wheel_build,gpu,ha_integration,serve_tracing --workers "$${BUILDKITE_PARALLEL_JOB_COUNT}" --worker-id "$${BUILDKITE_PARALLEL_JOB}" --parallelism-per-worker 3 - --build-name servebuild --test-env=EXPECTED_PYTHON_VERSION=3.9 - depends_on: "servebuild" + --build-name servebuild-py3.10 --test-env=EXPECTED_PYTHON_VERSION=3.10 + depends_on: servebuild-multipy - label: ":ray-serve: serve: pydantic < 2.0 tests" parallelism: 2 @@ -81,8 +81,9 @@ steps: - bazel run //ci/ray_ci:test_in_docker -- //python/ray/serve/... //python/ray/tests/... serve --except-tags post_wheel_build,gpu,ha_integration,serve_tracing --workers "$${BUILDKITE_PARALLEL_JOB_COUNT}" --worker-id "$${BUILDKITE_PARALLEL_JOB}" --parallelism-per-worker 3 - --build-name servebuild --test-env=EXPECTED_PYTHON_VERSION=3.9 --test-env=RAY_SERVE_RUN_USER_CODE_IN_SEPARATE_THREAD=0 - depends_on: "servebuild" + --build-name servebuild-py3.10 --test-env=EXPECTED_PYTHON_VERSION=3.10 --test-env=RAY_SERVE_RUN_USER_CODE_IN_SEPARATE_THREAD=0 + --python-version 3.10 + depends_on: servebuild-multipy - label: ":ray-serve: serve: python {{matrix.python}} tests ({{matrix.worker_id}})" if: build.pull_request.labels includes "continuous-build" || pipeline.id == "0189e759-8c96-4302-b6b5-b4274406bf89" || pipeline.id == "018f4f1e-1b73-4906-9802-92422e3badaa" @@ -110,7 +111,9 @@ steps: instance_type: medium commands: - bazel run //ci/ray_ci:test_in_docker -- //release/... serve --parallelism-per-worker 3 - depends_on: servebuild + --build-name servebuild-py3.10 + --python-version 3.10 + depends_on: servebuild-multipy - label: ":ray-serve: serve: wheel tests" tags: @@ -123,9 +126,11 @@ steps: --parallelism-per-worker 3 --only-tags post_wheel_build --test-env=RAY_CI_POST_WHEEL_TESTS=True + --build-name servebuild-py3.10 + --python-version 3.10 depends_on: - manylinux - - servebuild + - servebuild-multipy - forge - label: ":ray-serve: serve: doc tests" @@ -138,12 +143,16 @@ steps: - bazel run //ci/ray_ci:test_in_docker -- python/ray/... //doc/... serve --only-tags doctest --parallelism-per-worker 3 + --build-name servebuild-py3.10 + --python-version 3.10 # doc examples - bazel run //ci/ray_ci:test_in_docker -- //doc/... serve --except-tags gpu,post_wheel_build,timeseries_libs,doctest --parallelism-per-worker 3 --skip-ray-installation - depends_on: servebuild + --build-name servebuild-py3.10 + --python-version 3.10 + depends_on: servebuild-multipy - label: ":ray-serve: serve: default minimal" tags: python @@ -152,9 +161,10 @@ steps: - bazel run //ci/ray_ci:test_in_docker -- //python/ray/dashboard/... serve --parallelism-per-worker 2 --build-name minbuild-default-py3.10 + --python-version 3.10 --test-env=RAY_DEFAULT=1 --only-tags minimal - depends_on: minbuild-serve + depends_on: minbuild-serve-multipy - label: ":ray-serve: serve: serve minimal" tags: @@ -164,8 +174,9 @@ steps: commands: - bazel run //ci/ray_ci:test_in_docker -- //python/ray/serve/tests/... serve --parallelism-per-worker 2 - --build-name minbuild-serve-py3.9 - --test-env=EXPECTED_PYTHON_VERSION=3.9 + --build-name minbuild-serve-py3.10 + --python-version 3.10 + --test-env=EXPECTED_PYTHON_VERSION=3.10 --test-env=RAY_DEFAULT=1 --only-tags minimal depends_on: minbuild-serve @@ -179,7 +190,9 @@ steps: commands: - bazel run //ci/ray_ci:test_in_docker -- python/ray/dashboard/... serve --parallelism-per-worker 3 - depends_on: servebuild + --build-name servebuild-py3.10 + --python-version 3.10 + depends_on: servebuild-multipy - label: ":ray-serve: serve: HA integration tests" tags: @@ -187,14 +200,14 @@ steps: - python instance_type: large commands: - - bazel run //ci/ray_ci:build_in_docker -- docker --platform cpu --canonical-tag ha_integration + - bazel run //ci/ray_ci:build_in_docker -- docker --platform cpu --canonical-tag ha_integration --python-version 3.10 - bazel run //ci/ray_ci:test_in_docker -- //python/ray/serve/tests/... serve - --only-tags ha_integration + --only-tags ha_integration --python-version 3.10 --build-name servebuild-py3.10 depends_on: - manylinux - forge - raycpubase - - servebuild + - servebuild-multipy - label: ":ray-serve: serve: tracing tests" tags: @@ -229,4 +242,5 @@ steps: soft_fail: true commands: - bazel run //ci/ray_ci:test_in_docker -- //... serve --run-flaky-tests --parallelism-per-worker 3 - depends_on: servebuild + --python-version 3.10 --build-name servebuild-py3.10 + depends_on: servebuild-multipy From fc7e7c3758614c89fddc5a108380540b1409e929 Mon Sep 17 00:00:00 2001 From: elliot-barn Date: Mon, 3 Nov 2025 15:34:13 +0000 Subject: [PATCH 2/3] downgrading serve tests to py3.9 Signed-off-by: elliot-barn --- .buildkite/serve.rayci.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.buildkite/serve.rayci.yml b/.buildkite/serve.rayci.yml index b8e5d7c30c0d..d4ceeda18486 100644 --- a/.buildkite/serve.rayci.yml +++ b/.buildkite/serve.rayci.yml @@ -6,14 +6,11 @@ depends_on: - ray-dashboard-build steps: # builds - - name: servebuild - wanda: ci/docker/serve.build.py39.wanda.yaml - tags: cibase - - name: servebuild-multipy label: "wanda: servebuild-py{{matrix}}" wanda: ci/docker/serve.build.wanda.yaml matrix: + - "3.9" - "3.10" - "3.12" env: @@ -51,7 +48,7 @@ steps: - bazel run //ci/ray_ci:test_in_docker -- //python/ray/serve/... //python/ray/tests/... serve --except-tags post_wheel_build,gpu,ha_integration,serve_tracing --workers "$${BUILDKITE_PARALLEL_JOB_COUNT}" --worker-id "$${BUILDKITE_PARALLEL_JOB}" --parallelism-per-worker 3 - --build-name servebuild-py3.10 --test-env=EXPECTED_PYTHON_VERSION=3.10 + --build-name servebuild-py3.9 --test-env=EXPECTED_PYTHON_VERSION=3.9 depends_on: servebuild-multipy - label: ":ray-serve: serve: pydantic < 2.0 tests" From bb268088ecc6adb09ecaf52a4a483d64922dc39a Mon Sep 17 00:00:00 2001 From: elliot-barn Date: Mon, 3 Nov 2025 17:37:35 +0000 Subject: [PATCH 3/3] updating depends on Signed-off-by: elliot-barn --- .buildkite/serve.rayci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/serve.rayci.yml b/.buildkite/serve.rayci.yml index d4ceeda18486..4002bcead4b4 100644 --- a/.buildkite/serve.rayci.yml +++ b/.buildkite/serve.rayci.yml @@ -161,7 +161,7 @@ steps: --python-version 3.10 --test-env=RAY_DEFAULT=1 --only-tags minimal - depends_on: minbuild-serve-multipy + depends_on: minbuild-serve - label: ":ray-serve: serve: serve minimal" tags: