[Bugfix][CI] skip conftest for NPU compatibility test (#55799)
Signed-off-by: yangzeyu <532183776@qq.com>
Zeyu Yang committed
Sep 13, 2026 at 01:03 UTC
dff76bc3e8d702901e6dda5971f9506a6c1bc00f
1 file changed
+5
-14
.buildkite/scripts/hardware_ci/run-npu-test.sh
+5
-14
@@ -76,21 +76,12 @@ FROM ${BASE_IMAGE_NAME}
76
ENV DEBIAN_FRONTEND=noninteractive
77
ENV SOC_VERSION="ascend910b1"
78
79
-# Install uv and configure uv to use internal PyPI mirror
80
-RUN curl -LsSf https://astral.sh/uv/install.sh | sh
81
-ENV PATH="/root/.local/bin:$PATH"
82
-ENV UV_SYSTEM_PYTHON=true
83
-ENV UV_INDEX_URL="http://cache-service-vllm.nginx-pypi-cache.svc.cluster.local:${PYPI_CACHE_PORT}/pypi/simple"
84
-ENV UV_EXTRA_INDEX_URL="https://mirrors.huaweicloud.com/ascend/repos/pypi"
85
-
86
-RUN apt-get update -y && \
87
- apt-get install -y python3-pip git vim wget net-tools gcc g++ cmake libnuma-dev && \
88
- rm -rf /var/cache/apt/* && \
89
- rm -rf /var/lib/apt/lists/*
79
+RUN pip config set global.index-url http://cache-service-vllm.nginx-pypi-cache.svc.cluster.local:${PYPI_CACHE_PORT}/pypi/simple && \
80
+ pip config set global.trusted-host cache-service-vllm.nginx-pypi-cache.svc.cluster.local
81
82
# Install for pytest to make the docker build cache layer always valid
92
-RUN --mount=type=cache,target=/root/.cache/uv \
93
- uv pip install pytest>=6.0 'modelscope<1.38' --quiet
83
+RUN --mount=type=cache,target=/root/.cache/pip \
84
+ pip install pytest>=6.0
85
86
WORKDIR /workspace/vllm
87
@@ -167,5 +158,5 @@ docker run \
158
"${image_name}" \
159
bash -c '
160
set -e
170
- pytest -v -s tests/e2e/vllm_interface/test_vllm_pr_interface_compatibility.py
161
+ pytest --noconftest -v -s tests/e2e/vllm_interface/test_vllm_pr_interface_compatibility.py
162
'