2021-02-18 14:19:28 -08:00
|
|
|
- label: ":ferris_wheel: Wheels and Jars"
|
|
|
|
conditions:
|
|
|
|
[
|
2021-06-30 01:12:47 +08:00
|
|
|
"RAY_CI_LINUX_WHEELS_AFFECTED",
|
|
|
|
"RAY_CI_JAVA_AFFECTED",
|
2021-02-18 14:19:28 -08:00
|
|
|
]
|
|
|
|
commands:
|
|
|
|
# Build the wheels and jars
|
|
|
|
- LINUX_WHEELS=1 LINUX_JARS=1 ./ci/travis/ci.sh build
|
|
|
|
- bash ./java/build-jar-multiplatform.sh linux
|
|
|
|
# Upload the wheels and jars
|
|
|
|
# We don't want to push on PRs, in fact, the copy_files will fail because unauthenticated.
|
|
|
|
- if [ "$BUILDKITE_PULL_REQUEST" != "false" ]; then exit 0; fi
|
|
|
|
- pip install -q docker aws_requests_auth boto3
|
2021-06-04 00:48:12 -07:00
|
|
|
# Upload to branch directory.
|
2021-06-03 20:10:31 -07:00
|
|
|
- python .buildkite/copy_files.py --destination branch_wheels --path ./.whl
|
|
|
|
- python .buildkite/copy_files.py --destination branch_jars --path ./.jar/linux
|
2021-06-04 00:48:12 -07:00
|
|
|
# Upload to latest directory.
|
|
|
|
- if [ "$BUILDKITE_BRANCH" == "master" ]; then python .buildkite/copy_files.py --destination wheels --path ./.whl; fi
|
|
|
|
- if [ "$BUILDKITE_BRANCH" == "master" ]; then python .buildkite/copy_files.py --destination jars --path ./.jar/linux; fi
|
2021-02-18 14:19:28 -08:00
|
|
|
|
2021-05-19 13:46:42 -07:00
|
|
|
- label: ":ferris_wheel: Post-wheel tests"
|
|
|
|
conditions: ["RAY_CI_LINUX_WHEELS_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- LINUX_WHEELS=1 ./ci/travis/ci.sh build
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
|
|
|
--test_tag_filters=post_wheel_build
|
|
|
|
--test_env=CONDA_EXE
|
|
|
|
--test_env=CONDA_PYTHON_EXE
|
|
|
|
--test_env=CONDA_SHLVL
|
|
|
|
--test_env=CONDA_PREFIX
|
|
|
|
--test_env=CONDA_DEFAULT_ENV
|
|
|
|
--test_env=CI
|
2021-05-21 15:15:52 -07:00
|
|
|
--test_env=RAY_CI_POST_WHEEL_TESTS=True
|
2021-06-09 18:02:16 -07:00
|
|
|
python/ray/tests/... python/ray/serve/... python/ray/tune/... rllib/... doc/...
|
2021-05-19 13:46:42 -07:00
|
|
|
|
2021-08-05 17:58:19 -07:00
|
|
|
- label: ":ferris_wheel: Debug Wheels"
|
|
|
|
conditions:
|
|
|
|
[
|
|
|
|
"RAY_CI_LINUX_WHEELS_AFFECTED",
|
|
|
|
"RAY_CI_JAVA_AFFECTED",
|
|
|
|
]
|
|
|
|
commands:
|
|
|
|
# Build the debug wheels
|
2021-08-17 10:21:41 -07:00
|
|
|
- RAY_DEBUG_BUILD=debug LINUX_WHEELS=1 ./ci/travis/ci.sh build
|
2021-08-05 17:58:19 -07:00
|
|
|
# Upload the wheels.
|
|
|
|
# We don't want to push on PRs, in fact, the copy_files will fail because unauthenticated.
|
|
|
|
- if [ "$BUILDKITE_PULL_REQUEST" != "false" ]; then exit 0; fi
|
|
|
|
- pip install -q docker aws_requests_auth boto3
|
|
|
|
# Upload to branch directory.
|
|
|
|
- python .buildkite/copy_files.py --destination branch_wheels --path ./.whl
|
|
|
|
# Upload to latest directory.
|
|
|
|
- if [ "$BUILDKITE_BRANCH" == "master" ]; then python .buildkite/copy_files.py --destination wheels --path ./.whl; fi
|
|
|
|
|
2021-08-17 10:21:41 -07:00
|
|
|
# Not working now.
|
|
|
|
# - label: ":ferris_wheel: ASAN Wheels"
|
|
|
|
# conditions:
|
|
|
|
# [
|
|
|
|
# "RAY_CI_LINUX_WHEELS_AFFECTED",
|
|
|
|
# "RAY_CI_JAVA_AFFECTED",
|
|
|
|
# ]
|
|
|
|
# commands:
|
|
|
|
# # Build the asan wheels
|
|
|
|
# - RAY_DEBUG_BUILD=asan LINUX_WHEELS=1 ./ci/travis/ci.sh build
|
|
|
|
# # Upload the wheels.
|
|
|
|
# # We don't want to push on PRs, in fact, the copy_files will fail because unauthenticated.
|
|
|
|
# - if [ "$BUILDKITE_PULL_REQUEST" != "false" ]; then exit 0; fi
|
|
|
|
# - pip install -q docker aws_requests_auth boto3
|
|
|
|
# # Upload to branch directory.
|
|
|
|
# - python .buildkite/copy_files.py --destination branch_wheels --path ./.whl
|
|
|
|
# # Upload to latest directory.
|
|
|
|
# - if [ "$BUILDKITE_BRANCH" == "master" ]; then python .buildkite/copy_files.py --destination wheels --path ./.whl; fi
|
|
|
|
|
2021-10-26 17:32:56 -07:00
|
|
|
- label: ":docker: Build Images: py36 (1/2)"
|
2021-02-18 14:19:28 -08:00
|
|
|
conditions: ["RAY_CI_LINUX_WHEELS_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- LINUX_WHEELS=1 ./ci/travis/ci.sh build
|
2021-06-03 20:10:31 -07:00
|
|
|
- pip install -q docker aws_requests_auth boto3
|
|
|
|
- if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
|
2021-10-26 17:32:56 -07:00
|
|
|
- python ./ci/travis/build-docker-images.py --py-versions py36 --device-types cpu cu101 cu102 --build-type BUILDKITE --build-base
|
2021-02-18 14:19:28 -08:00
|
|
|
|
2021-10-26 17:32:56 -07:00
|
|
|
- label: ":docker: Build Images: py36 (2/2)"
|
2021-02-18 14:19:28 -08:00
|
|
|
conditions: ["RAY_CI_LINUX_WHEELS_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- LINUX_WHEELS=1 ./ci/travis/ci.sh build
|
2021-06-03 20:10:31 -07:00
|
|
|
- pip install -q docker aws_requests_auth boto3
|
|
|
|
- if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
|
2021-10-26 17:32:56 -07:00
|
|
|
- python ./ci/travis/build-docker-images.py --py-versions py36 --device-types cu110 cu111 cu112 --build-type BUILDKITE --build-base
|
2021-05-24 10:31:54 -07:00
|
|
|
|
2021-10-26 17:32:56 -07:00
|
|
|
- label: ":docker: Build Images: py37 (1/2)"
|
2021-05-24 10:31:54 -07:00
|
|
|
conditions: ["RAY_CI_LINUX_WHEELS_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- LINUX_WHEELS=1 ./ci/travis/ci.sh build
|
2021-06-03 20:10:31 -07:00
|
|
|
- pip install -q docker aws_requests_auth boto3
|
|
|
|
- if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
|
2021-10-26 17:32:56 -07:00
|
|
|
- python ./ci/travis/build-docker-images.py --py-versions py37 --device-types cpu cu101 cu102 --build-type BUILDKITE --build-base
|
2021-02-18 14:19:28 -08:00
|
|
|
|
2021-10-26 17:32:56 -07:00
|
|
|
- label: ":docker: Build Images: py37 (2/2)"
|
2021-07-22 13:38:57 -07:00
|
|
|
conditions: ["RAY_CI_LINUX_WHEELS_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- LINUX_WHEELS=1 ./ci/travis/ci.sh build
|
|
|
|
- pip install -q docker aws_requests_auth boto3
|
|
|
|
- if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
|
2021-10-26 17:32:56 -07:00
|
|
|
- python ./ci/travis/build-docker-images.py --py-versions py37 --device-types cu110 cu111 cu112 --build-type BUILDKITE --build-base
|
|
|
|
|
|
|
|
- label: ":docker: Build Images: py38 (1/2)"
|
|
|
|
conditions: ["RAY_CI_LINUX_WHEELS_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- LINUX_WHEELS=1 ./ci/travis/ci.sh build
|
|
|
|
- pip install -q docker aws_requests_auth boto3
|
|
|
|
- if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
|
|
|
|
- python ./ci/travis/build-docker-images.py --py-versions py38 --device-types cpu cu101 cu102 --build-type BUILDKITE --build-base
|
|
|
|
|
|
|
|
- label: ":docker: Build Images: py38 (2/2)"
|
|
|
|
conditions: ["RAY_CI_LINUX_WHEELS_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- LINUX_WHEELS=1 ./ci/travis/ci.sh build
|
|
|
|
- pip install -q docker aws_requests_auth boto3
|
|
|
|
- if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
|
|
|
|
- python ./ci/travis/build-docker-images.py --py-versions py38 --device-types cu110 cu111 cu112 --build-type BUILDKITE --build-base
|
|
|
|
|
|
|
|
- label: ":docker: Build Images: py39 (1/2)"
|
|
|
|
conditions: ["RAY_CI_LINUX_WHEELS_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- LINUX_WHEELS=1 ./ci/travis/ci.sh build
|
|
|
|
- pip install -q docker aws_requests_auth boto3
|
|
|
|
- if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
|
|
|
|
- python ./ci/travis/build-docker-images.py --py-versions py39 --device-types cpu cu101 cu102 --build-type BUILDKITE --build-base
|
|
|
|
|
|
|
|
- label: ":docker: Build Images: py39 (2/2)"
|
|
|
|
conditions: ["RAY_CI_LINUX_WHEELS_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- LINUX_WHEELS=1 ./ci/travis/ci.sh build
|
|
|
|
- pip install -q docker aws_requests_auth boto3
|
|
|
|
- if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
|
|
|
|
- python ./ci/travis/build-docker-images.py --py-versions py39 --device-types cu110 cu111 cu112 --build-type BUILDKITE --build-base
|
2021-07-22 13:38:57 -07:00
|
|
|
|
2021-01-29 15:48:02 -08:00
|
|
|
- label: ":book: Lint"
|
|
|
|
commands:
|
2021-02-05 12:58:07 -08:00
|
|
|
- export LINT=1
|
|
|
|
- ./ci/travis/install-dependencies.sh
|
|
|
|
- ./ci/travis/ci.sh lint
|
|
|
|
- ./ci/travis/ci.sh build
|
2021-01-29 15:48:02 -08:00
|
|
|
|
|
|
|
- label: ":java: Java"
|
2021-02-05 12:58:07 -08:00
|
|
|
conditions: ["RAY_CI_JAVA_AFFECTED"]
|
2021-01-29 15:48:02 -08:00
|
|
|
commands:
|
2021-10-08 02:38:37 +09:00
|
|
|
- ./java/test.sh
|
2021-01-29 15:48:02 -08:00
|
|
|
|
2022-01-20 13:56:25 -08:00
|
|
|
- label: ":java: :redis: Java"
|
|
|
|
conditions: ["RAY_CI_JAVA_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- RAY_bootstrap_with_gcs=1 RAY_gcs_grpc_based_pubsub=1 RAY_gcs_storage=memory ./java/test.sh
|
|
|
|
|
2022-01-19 01:26:34 -08:00
|
|
|
- label: ":cpp: Ray CPP Worker"
|
2021-10-29 16:47:54 -07:00
|
|
|
conditions: [ "RAY_CI_CPP_AFFECTED" ]
|
2021-01-29 15:48:02 -08:00
|
|
|
commands:
|
2021-04-14 12:47:31 -07:00
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-02-05 12:58:07 -08:00
|
|
|
- ./ci/travis/ci.sh test_cpp
|
2021-01-29 15:48:02 -08:00
|
|
|
|
2022-01-19 01:26:34 -08:00
|
|
|
- label: ":redis: Ray CPP Worker"
|
|
|
|
conditions: [ "RAY_CI_CPP_AFFECTED" ]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
|
|
|
- RAY_bootstrap_with_gcs=1 RAY_gcs_grpc_based_pubsub=1 RAY_gcs_storage=memory ./ci/travis/ci.sh test_cpp
|
|
|
|
|
2021-01-25 16:05:59 -08:00
|
|
|
- label: ":cpp: Tests"
|
2021-10-29 16:47:54 -07:00
|
|
|
conditions: [ "RAY_CI_CORE_CPP_AFFECTED" ]
|
2021-01-18 00:44:24 -08:00
|
|
|
commands:
|
2021-04-14 12:47:31 -07:00
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-09-17 19:01:07 -07:00
|
|
|
- bazel test --config=ci --config=llvm $(./scripts/bazel_export_options)
|
2021-01-25 16:05:59 -08:00
|
|
|
--build_tests_only
|
|
|
|
-- //:all -rllib/... -core_worker_test
|
|
|
|
|
|
|
|
- label: ":cpp: Tests (ASAN)"
|
2021-10-29 16:47:54 -07:00
|
|
|
conditions: [ "RAY_CI_CORE_CPP_AFFECTED" ]
|
2021-01-18 17:20:45 -08:00
|
|
|
commands:
|
2021-04-14 12:47:31 -07:00
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-09-17 19:01:07 -07:00
|
|
|
- bazel test --config=ci --config=asan-clang $(./scripts/bazel_export_options)
|
2021-01-25 16:05:59 -08:00
|
|
|
--build_tests_only
|
|
|
|
--jobs=2
|
|
|
|
-- //:all -//:core_worker_test
|
|
|
|
|
2021-08-17 10:22:03 -07:00
|
|
|
- label: ":cpp: Tests (UBSAN)"
|
2021-10-29 16:47:54 -07:00
|
|
|
conditions: [ "RAY_CI_CORE_CPP_AFFECTED" ]
|
2021-08-17 10:22:03 -07:00
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
|
|
|
- bazel test --config=ci --config=ubsan $(./scripts/bazel_export_options)
|
|
|
|
--build_tests_only
|
|
|
|
--jobs=2
|
|
|
|
-- //:all -//:core_worker_test -//:logging_test
|
|
|
|
|
2021-08-24 00:57:32 -07:00
|
|
|
- label: ":cpp: Tests (TSAN)"
|
2021-10-29 16:47:54 -07:00
|
|
|
conditions: [ "RAY_CI_CORE_CPP_AFFECTED" ]
|
2021-08-24 00:57:32 -07:00
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-09-17 19:01:07 -07:00
|
|
|
- bazel test --config=ci --config=tsan-clang $(./scripts/bazel_export_options)
|
2021-08-24 00:57:32 -07:00
|
|
|
--build_tests_only
|
|
|
|
--jobs=2
|
|
|
|
-- //:all -//:core_worker_test -//:event_test -//:gcs_actor_manager_test
|
|
|
|
-//:gcs_placement_group_manager_test -//:gcs_placement_group_scheduler_test
|
2021-09-19 12:01:31 -07:00
|
|
|
-//:gcs_server_rpc_test -//:gcs_server_test
|
2021-08-24 00:57:32 -07:00
|
|
|
-//:metric_exporter_client_test -//:stats_test -//:worker_pool_test
|
|
|
|
|
2021-01-25 16:05:59 -08:00
|
|
|
- label: ":serverless: Dashboard + Serve Tests"
|
2021-02-05 12:58:07 -08:00
|
|
|
conditions:
|
|
|
|
[
|
2021-06-30 01:12:47 +08:00
|
|
|
"RAY_CI_SERVE_AFFECTED",
|
|
|
|
"RAY_CI_DASHBOARD_AFFECTED",
|
|
|
|
"RAY_CI_PYTHON_AFFECTED",
|
2021-02-05 12:58:07 -08:00
|
|
|
]
|
|
|
|
commands:
|
2021-04-14 12:47:31 -07:00
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-02-05 12:58:07 -08:00
|
|
|
- TORCH_VERSION=1.6 ./ci/travis/install-dependencies.sh
|
2022-01-21 12:08:25 -08:00
|
|
|
- 'git clone https://github.com/wg/wrk.git /tmp/wrk && pushd /tmp/wrk && make -j && sudo cp wrk /usr/local/bin && popd'
|
2021-02-24 20:41:52 -08:00
|
|
|
- ./dashboard/tests/run_ui_tests.sh
|
2021-09-15 11:17:15 -05:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) python/ray/dashboard/...
|
2021-09-30 11:28:44 -07:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
|
|
|
--test_tag_filters=-post_wheel_build
|
|
|
|
python/ray/serve/...
|
2021-11-16 08:12:08 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
|
|
|
--test_tag_filters=team:serve
|
|
|
|
release/...
|
2021-01-25 16:05:59 -08:00
|
|
|
|
2021-08-31 15:26:25 +02:00
|
|
|
- label: ":python: Minimal install"
|
|
|
|
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
|
|
|
- ./ci/travis/install-minimal.sh
|
|
|
|
- ./ci/travis/env_info.sh
|
|
|
|
- python ./ci/travis/check_minimal_install.py
|
|
|
|
- bazel test --test_output=streamed --config=ci $(./scripts/bazel_export_options)
|
|
|
|
python/ray/tests/test_basic
|
|
|
|
- bazel test --test_output=streamed --config=ci $(./scripts/bazel_export_options)
|
|
|
|
python/ray/tests/test_basic_2
|
|
|
|
- bazel test --test_output=streamed --config=ci $(./scripts/bazel_export_options)
|
|
|
|
python/ray/tests/test_basic_3
|
2021-12-22 13:39:32 +05:30
|
|
|
- bazel test --test_output=streamed --config=ci $(./scripts/bazel_export_options)
|
|
|
|
python/ray/tests/test_basic_4
|
|
|
|
- bazel test --test_output=streamed --config=ci $(./scripts/bazel_export_options)
|
|
|
|
python/ray/tests/test_basic_5
|
2021-10-28 13:04:22 -07:00
|
|
|
- bazel test --test_output=streamed --config=ci --test_env=RAY_MINIMAL=1 $(./scripts/bazel_export_options)
|
|
|
|
python/ray/tests/test_output
|
2021-10-19 07:16:04 -07:00
|
|
|
- bazel test --test_output=streamed --config=ci --test_env=RAY_MINIMAL=1 $(./scripts/bazel_export_options)
|
|
|
|
python/ray/tests/test_runtime_env_ray_minimal
|
2022-01-26 21:03:54 +09:00
|
|
|
- bazel test --test_output=streamed --config=ci $(./scripts/bazel_export_options)
|
|
|
|
python/ray/tests/test_runtime_env
|
|
|
|
- bazel test --test_output=streamed --config=ci $(./scripts/bazel_export_options)
|
|
|
|
python/ray/tests/test_runtime_env_complicated
|
|
|
|
- bazel test --test_output=streamed --config=ci $(./scripts/bazel_export_options)
|
|
|
|
python/ray/tests/test_runtime_env_validation
|
2021-10-21 13:47:29 -07:00
|
|
|
- bazel test --test_output=streamed --config=ci --test_env=RAY_MINIMAL=1 $(./scripts/bazel_export_options)
|
|
|
|
python/ray/tests/test_serve_ray_minimal
|
2022-02-01 15:34:40 +09:00
|
|
|
- bazel test --test_output=streamed --config=ci --test_env=RAY_MINIMAL=1 $(./scripts/bazel_export_options)
|
|
|
|
python/ray/dashboard/test_dashboard
|
2022-02-09 15:12:36 +09:00
|
|
|
- bazel test --test_output=streamed --config=ci --test_env=RAY_MINIMAL=1 $(./scripts/bazel_export_options)
|
|
|
|
python/ray/tests/test_usage_stats
|
2021-12-09 21:14:10 +00:00
|
|
|
|
2022-02-16 17:35:02 +00:00
|
|
|
- label: ":python: Release test package unit tests"
|
|
|
|
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
|
|
|
- pip install -e release/
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
|
|
|
--build_tests_only
|
|
|
|
--test_tag_filters=release_unit
|
|
|
|
release/...
|
|
|
|
|
2022-01-05 10:49:14 -08:00
|
|
|
- label: ":python: (Small & Client)"
|
2021-02-05 12:58:07 -08:00
|
|
|
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
2021-01-25 16:05:59 -08:00
|
|
|
commands:
|
2021-04-14 12:47:31 -07:00
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-02-05 12:58:07 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
2022-01-05 10:49:14 -08:00
|
|
|
--test_tag_filters=client_tests,small_size_python_tests
|
|
|
|
-- python/ray/tests/...
|
|
|
|
- label: ":python: (Large)"
|
|
|
|
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
|
|
|
parallelism: 3
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
|
|
|
- . ./ci/travis/ci.sh test_large
|
2021-01-25 16:05:59 -08:00
|
|
|
- label: ":python: (Medium A-J)"
|
2021-02-05 12:58:07 -08:00
|
|
|
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
2021-01-25 16:05:59 -08:00
|
|
|
commands:
|
2021-04-14 12:47:31 -07:00
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-02-05 12:58:07 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
2021-12-11 01:03:17 -08:00
|
|
|
--test_tag_filters=-kubernetes,medium_size_python_tests_a_to_j
|
2021-01-25 16:05:59 -08:00
|
|
|
python/ray/tests/...
|
|
|
|
- label: ":python: (Medium K-Z)"
|
2021-02-05 12:58:07 -08:00
|
|
|
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
2021-01-25 16:05:59 -08:00
|
|
|
commands:
|
2021-04-14 12:47:31 -07:00
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-02-05 12:58:07 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
2021-12-11 01:03:17 -08:00
|
|
|
--test_tag_filters=-kubernetes,medium_size_python_tests_k_to_z
|
2021-01-25 16:05:59 -08:00
|
|
|
python/ray/tests/...
|
2021-11-03 11:58:16 -07:00
|
|
|
- label: ":python: Debug Test"
|
|
|
|
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
2021-08-05 17:58:19 -07:00
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
|
|
|
- pip uninstall -y ray
|
2021-08-17 10:21:41 -07:00
|
|
|
- RAY_DEBUG_BUILD=debug ./ci/travis/ci.sh build
|
2021-08-05 17:58:19 -07:00
|
|
|
- bazel test --config=ci-debug $(./scripts/bazel_export_options)
|
2021-12-11 01:03:17 -08:00
|
|
|
--test_tag_filters=-kubernetes,debug_tests
|
2021-08-05 17:58:19 -07:00
|
|
|
python/ray/tests/...
|
2021-11-03 11:58:16 -07:00
|
|
|
- label: ":python: (ASAN tests)"
|
2021-08-17 10:21:41 -07:00
|
|
|
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
|
|
|
- RLLIB_TESTING=1 ./ci/travis/install-dependencies.sh
|
|
|
|
- bazel test --config=ci --config=asan $(./scripts/bazel_export_options)
|
|
|
|
--config=asan-buildkite
|
2021-12-11 01:03:17 -08:00
|
|
|
--test_tag_filters=-kubernetes,asan_tests
|
2021-08-17 10:21:41 -07:00
|
|
|
--test_env=CONDA_EXE
|
|
|
|
--test_env=CONDA_PYTHON_EXE
|
|
|
|
--test_env=CONDA_SHLVL
|
|
|
|
--test_env=CONDA_PREFIX
|
|
|
|
--test_env=CONDA_DEFAULT_ENV
|
|
|
|
python/ray/tests/...
|
2021-11-12 08:11:06 +08:00
|
|
|
- label: ":python: (Privileged test)"
|
|
|
|
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- LINUX_WHEELS=1 ./ci/travis/ci.sh build
|
|
|
|
- pip install docker
|
|
|
|
# We build image ray-worker-container:nightly-py36-cpu which have installed podman,but not push it.
|
|
|
|
# And we save this image to a tarball, so that we can load it to podman image storage in the
|
|
|
|
# nested-container which run tests. And in this nested-container, Raylet will start ray worker
|
|
|
|
# process in double-nested-container.
|
|
|
|
- python ./ci/travis/build-docker-images.py --py-versions py36 --device-types cpu --build-type BUILDKITE --only-build-worker-container
|
|
|
|
- mkdir /ray-mount/containers
|
|
|
|
- docker save -o /ray-mount/containers/images.tar rayproject/ray-worker-container:nightly-py36-cpu
|
|
|
|
- docker run --rm --privileged -v /ray/containers:/var/lib/containers -v /ray:/ray --entrypoint /bin/bash
|
|
|
|
rayproject/ray-worker-container:nightly-py36-cpu /ray/ci/travis/test-worker-in-container.sh
|
2021-01-25 16:05:59 -08:00
|
|
|
|
2021-12-10 14:36:57 -08:00
|
|
|
- label: ":redis: HA GCS (Dashboard + Serve Tests)"
|
|
|
|
conditions:
|
|
|
|
[
|
|
|
|
"RAY_CI_SERVE_AFFECTED",
|
|
|
|
"RAY_CI_DASHBOARD_AFFECTED",
|
|
|
|
"RAY_CI_PYTHON_AFFECTED",
|
|
|
|
]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
|
|
|
- TORCH_VERSION=1.6 ./ci/travis/install-dependencies.sh
|
2022-01-21 12:08:25 -08:00
|
|
|
- 'git clone https://github.com/wg/wrk.git /tmp/wrk && pushd /tmp/wrk && make -j && sudo cp wrk /usr/local/bin && popd'
|
2021-12-10 14:36:57 -08:00
|
|
|
- ./dashboard/tests/run_ui_tests.sh
|
2021-12-21 08:50:42 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
|
|
|
--test_env=RAY_gcs_grpc_based_pubsub=1
|
|
|
|
--test_env=RAY_bootstrap_with_gcs=1
|
2022-01-13 16:12:03 -08:00
|
|
|
--test_env=RAY_gcs_storage=memory -- //python/ray/dashboard/...
|
2021-12-10 14:36:57 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
|
|
|
--test_tag_filters=-post_wheel_build
|
2021-12-21 08:50:42 -08:00
|
|
|
--test_env=RAY_gcs_grpc_based_pubsub=1
|
|
|
|
--test_env=RAY_bootstrap_with_gcs=1
|
|
|
|
--test_env=RAY_gcs_storage=memory
|
2022-01-07 22:54:50 -08:00
|
|
|
-- python/ray/serve/...
|
2022-01-10 16:35:57 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
|
|
|
--test_tag_filters=team:serve
|
|
|
|
--test_env=RAY_gcs_grpc_based_pubsub=1
|
|
|
|
--test_env=RAY_bootstrap_with_gcs=1
|
|
|
|
--test_env=RAY_gcs_storage=memory
|
|
|
|
release/...
|
2022-01-05 10:49:14 -08:00
|
|
|
- label: ":redis: HA GCS (Small & Client)"
|
2021-11-03 11:58:16 -07:00
|
|
|
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
2022-01-05 10:49:14 -08:00
|
|
|
--test_tag_filters=client_tests,small_size_python_tests
|
2021-12-21 08:50:42 -08:00
|
|
|
--test_env=RAY_gcs_grpc_based_pubsub=1
|
|
|
|
--test_env=RAY_bootstrap_with_gcs=1
|
|
|
|
--test_env=RAY_gcs_storage=memory
|
2022-01-17 23:08:47 -08:00
|
|
|
-- python/ray/tests/...
|
2022-01-05 10:49:14 -08:00
|
|
|
- label: ":redis: HA GCS (Large)"
|
|
|
|
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
|
|
|
parallelism: 3
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
|
|
|
- . ./ci/travis/ci.sh test_large_gcs
|
2021-11-03 11:58:16 -07:00
|
|
|
- label: ":redis: HA GCS (Medium A-J)"
|
|
|
|
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
2021-12-11 01:03:17 -08:00
|
|
|
--test_tag_filters=-kubernetes,medium_size_python_tests_a_to_j
|
2021-12-21 08:50:42 -08:00
|
|
|
--test_env=RAY_gcs_grpc_based_pubsub=1
|
|
|
|
--test_env=RAY_bootstrap_with_gcs=1
|
|
|
|
--test_env=RAY_gcs_storage=memory
|
2021-11-03 11:58:16 -07:00
|
|
|
-- //python/ray/tests/...
|
|
|
|
- label: ":redis: HA GCS (Medium K-Z)"
|
|
|
|
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
2021-12-11 01:03:17 -08:00
|
|
|
--test_tag_filters=-kubernetes,medium_size_python_tests_k_to_z
|
2021-12-21 08:50:42 -08:00
|
|
|
--test_env=RAY_gcs_grpc_based_pubsub=1
|
|
|
|
--test_env=RAY_bootstrap_with_gcs=1
|
|
|
|
--test_env=RAY_gcs_storage=memory
|
2021-11-03 11:58:16 -07:00
|
|
|
-- //python/ray/tests/...
|
|
|
|
|
2021-06-16 03:50:21 +02:00
|
|
|
- label: ":octopus: Tune soft imports test"
|
|
|
|
conditions: ["RAY_CI_TUNE_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
|
|
|
# no TUNE_TESTING=1 on purpose
|
|
|
|
- ./ci/travis/install-dependencies.sh
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=soft_imports python/ray/tune/...
|
2022-02-11 10:09:00 -08:00
|
|
|
|
|
|
|
- label: ":steam_locomotive: Train minimal install"
|
|
|
|
conditions: ["RAY_CI_TRAIN_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
|
|
|
- ./ci/travis/install-minimal.sh
|
|
|
|
- ./ci/travis/env_info.sh
|
|
|
|
- python ./ci/travis/check_minimal_install.py
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=minimal python/ray/train/...
|