Skip to content

Commit 3e7511e

Browse files
authored
[CI] Disable privileged test (#22484)
1 parent 17f589a commit 3e7511e

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

.buildkite/pipeline.yml

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -317,20 +317,22 @@
317317
--test_env=CONDA_PREFIX
318318
--test_env=CONDA_DEFAULT_ENV
319319
python/ray/tests/...
320-
- label: ":python: (Privileged test)"
321-
conditions: ["RAY_CI_PYTHON_AFFECTED"]
322-
commands:
323-
- LINUX_WHEELS=1 ./ci/travis/ci.sh build
324-
- pip install docker
325-
# We build image ray-worker-container:nightly-py36-cpu which have installed podman,but not push it.
326-
# And we save this image to a tarball, so that we can load it to podman image storage in the
327-
# nested-container which run tests. And in this nested-container, Raylet will start ray worker
328-
# process in double-nested-container.
329-
- python ./ci/travis/build-docker-images.py --py-versions py36 --device-types cpu --build-type BUILDKITE --only-build-worker-container
330-
- mkdir /ray-mount/containers
331-
- docker save -o /ray-mount/containers/images.tar rayproject/ray-worker-container:nightly-py36-cpu
332-
- docker run --rm --privileged -v /ray/containers:/var/lib/containers -v /ray:/ray --entrypoint /bin/bash
333-
rayproject/ray-worker-container:nightly-py36-cpu /ray/ci/travis/test-worker-in-container.sh
320+
321+
# https://github.com/ray-project/ray/issues/22460
322+
#- label: ":python: (Privileged test)"
323+
#conditions: ["RAY_CI_PYTHON_AFFECTED"]
324+
#commands:
325+
#- LINUX_WHEELS=1 ./ci/travis/ci.sh build
326+
#- pip install docker
327+
#We build image ray-worker-container:nightly-py36-cpu which have installed podman,but not push it.
328+
#And we save this image to a tarball, so that we can load it to podman image storage in the
329+
#nested-container which run tests. And in this nested-container, Raylet will start ray worker
330+
#process in double-nested-container.
331+
#- python ./ci/travis/build-docker-images.py --py-versions py36 --device-types cpu --build-type BUILDKITE --only-build-worker-container
332+
#- mkdir /ray-mount/containers
333+
#- docker save -o /ray-mount/containers/images.tar rayproject/ray-worker-container:nightly-py36-cpu
334+
#- docker run --rm --privileged -v /ray/containers:/var/lib/containers -v /ray:/ray --entrypoint /bin/bash
335+
#rayproject/ray-worker-container:nightly-py36-cpu /ray/ci/travis/test-worker-in-container.sh
334336

335337
- label: ":redis: HA GCS (Dashboard + Serve Tests)"
336338
conditions:

0 commit comments

Comments
 (0)