Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions .buildkite/core.rayci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -293,34 +293,41 @@ steps:
- "3.13"

# cpp tests
- label: ":ray: core: cgroup tests"
tags: core_cpp
instance_type: medium
commands:
- bazel run //ci/ray_ci:test_in_docker -- //:all //src/... core --only-tags=cgroup --build-type cgroup
--privileged --cache-test-results

- label: ":ray: core: cpp tests"
tags: core_cpp
instance_type: medium
commands:
- bazel run //ci/ray_ci:test_in_docker -- //:all //src/... core --build-type clang
- bazel run //ci/ray_ci:test_in_docker -- //:all //src/... core --except-tags=cgroup --build-type clang
--cache-test-results --parallelism-per-worker 2

- label: ":ray: core: cpp asan tests"
tags: core_cpp
instance_type: medium
commands:
- bazel run //ci/ray_ci:test_in_docker -- //:all //src/... core --build-type asan-clang
--cache-test-results --parallelism-per-worker 2
- bazel run //ci/ray_ci:test_in_docker -- //:all //src/... core --except-tags=cgroup
--build-type asan-clang --cache-test-results --parallelism-per-worker 2

- label: ":ray: core: cpp ubsan tests"
tags: core_cpp
instance_type: large
commands:
- bazel run //ci/ray_ci:test_in_docker -- //:all //src/... core --build-type ubsan
--except-tags no_ubsan
- bazel run //ci/ray_ci:test_in_docker -- //:all //src/... core
--build-type ubsan --except-tags no_ubsan,cgroup
--cache-test-results --parallelism-per-worker 2

- label: ":ray: core: cpp tsan tests"
tags: core_cpp
instance_type: medium
commands:
- bazel run //ci/ray_ci:test_in_docker -- //:all //src/... core --build-type tsan-clang
--except-tags no_tsan
- bazel run //ci/ray_ci:test_in_docker -- //:all //src/... core
--build-type tsan-clang --except-tags no_tsan,cgroup
Copy link
Collaborator

Choose a reason for hiding this comment

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

so where is the cgroup test being run?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I want to make sure I understand correctly, here I add cgroup tag to filter group, not apply group. So cgroup will not be executed for cpp TSAN test.

--cache-test-results --parallelism-per-worker 2

- label: ":ray: core: flaky cpp tests"
Expand Down
3 changes: 1 addition & 2 deletions src/ray/common/cgroup/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ ray_cc_test(
size = "small",
srcs = ["cgroup_v2_utils_privileged_test.cc"],
tags = [
# TODO(hjiang, ibrahim, lonnie): Setup CI for cgroup testing environment.
"manual",
"cgroup",
"exclusive",
"team:core",
],
Expand Down