From 95b44d7b73ab1dd0df9ebef668978a6ceba1f95e Mon Sep 17 00:00:00 2001 From: SILONG ZENG <2609716663@qq.com> Date: Wed, 4 Mar 2026 11:47:26 +0800 Subject: [PATCH] [bugfix]fix file not found error in nightly of single-node (#6976) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### What this PR does / why we need it? 1. The **main image build** takes approximately **two hours**. The main image build time needs to be moved forward to **21pm(UTC+8)** to ensure that the nightly image build can use the latest main image. ``` bash schedule: # UTC+8: 8am, 12pm, 16pm, 22pm - cron: '0 0,4,8,14 * * *' ``` ---> ``` bash schedule: # UTC+8: 8am, 12pm, 16pm, 21pm - cron: '0 0,4,8,13 * * *' ``` Link: https://github.com/vllm-project/vllm-ascend/actions/runs/22632712302/job/65641055135#step:8:26 2. The nightly test is encountering the following error: ``` bash ImportError: ascend_transport.so: cannot open shared object file: No such file or directory. ``` Path need to be added: ``` bash export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib" >> ~/.bashrc ``` Link: https://github.com/vllm-project/vllm-ascend/actions/runs/22632712302/job/65641054911#step:7:529 ### Does this PR introduce _any_ user-facing change? ### How was this patch tested? - vLLM version: v0.16.0 - vLLM main: https://github.com/vllm-project/vllm/commit/15d76f74e2fdb12a95ea00f0ca283acf6219a2b7 --------- Signed-off-by: MrZ20 <2609716663@qq.com> --- .github/workflows/_e2e_nightly_single_node.yaml | 1 + .github/workflows/_e2e_nightly_single_node_models.yaml | 1 + .github/workflows/schedule_image_build_and_push.yaml | 4 ++-- Dockerfile | 1 + Dockerfile.310p | 1 + Dockerfile.310p.openEuler | 1 + Dockerfile.a3 | 1 + Dockerfile.a3.openEuler | 1 + Dockerfile.openEuler | 1 + 9 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/_e2e_nightly_single_node.yaml b/.github/workflows/_e2e_nightly_single_node.yaml index 03da7c9e..bae2043c 100644 --- a/.github/workflows/_e2e_nightly_single_node.yaml +++ b/.github/workflows/_e2e_nightly_single_node.yaml @@ -145,5 +145,6 @@ jobs: CONFIG_YAML_PATH: ${{ inputs.config_file_path }} working-directory: /vllm-workspace/vllm-ascend run: | + echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib" >> ~/.bashrc echo "Running YAML-driven test with config: ${{ inputs.config_file_path }}" pytest -sv tests/e2e/nightly/single_node/models/scripts/test_single_node.py diff --git a/.github/workflows/_e2e_nightly_single_node_models.yaml b/.github/workflows/_e2e_nightly_single_node_models.yaml index 2f9f9efe..c3b4199f 100644 --- a/.github/workflows/_e2e_nightly_single_node_models.yaml +++ b/.github/workflows/_e2e_nightly_single_node_models.yaml @@ -186,6 +186,7 @@ jobs: TORCH_NPU_VERSION: ${{ env.GHA_TORCH_NPU_VERSION }} run: | mkdir -p ./benchmarks/accuracy + echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib" >> ~/.bashrc echo "Received model_list: ${{ inputs.model_list }}" models=$(echo '${{ inputs.model_list }}' | jq -r '.[]') any_failure=0 diff --git a/.github/workflows/schedule_image_build_and_push.yaml b/.github/workflows/schedule_image_build_and_push.yaml index c0dbf8d1..e3c365b8 100644 --- a/.github/workflows/schedule_image_build_and_push.yaml +++ b/.github/workflows/schedule_image_build_and_push.yaml @@ -12,8 +12,8 @@ name: Image Build and Push on: schedule: - # UTC+8: 8am, 12pm, 16pm, 22pm - - cron: '0 0,4,8,14 * * *' + # UTC+8: 8am, 12pm, 16pm, 21pm + - cron: '0 0,4,8,13 * * *' push: tags: - 'v*' diff --git a/Dockerfile b/Dockerfile index f5c563fd..6752cb48 100644 --- a/Dockerfile +++ b/Dockerfile @@ -79,5 +79,6 @@ RUN python3 -m pip install modelscope 'ray>=2.47.1,<=2.48.0' 'protobuf>3.20.0' & python3 -m pip cache purge RUN echo "export LD_PRELOAD=/usr/lib/$(uname -m)-linux-gnu/libjemalloc.so.2:$LD_PRELOAD" >> ~/.bashrc +RUN echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib" >> ~/.bashrc CMD ["/bin/bash"] diff --git a/Dockerfile.310p b/Dockerfile.310p index 11a32e63..0a77fedf 100644 --- a/Dockerfile.310p +++ b/Dockerfile.310p @@ -61,5 +61,6 @@ RUN python3 -m pip install modelscope 'ray>=2.47.1,<=2.48.0' 'protobuf>3.20.0' & python3 -m pip cache purge RUN echo "export LD_PRELOAD=/usr/lib/$(uname -m)-linux-gnu/libjemalloc.so.2:$LD_PRELOAD" >> ~/.bashrc +RUN echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib" >> ~/.bashrc CMD ["/bin/bash"] diff --git a/Dockerfile.310p.openEuler b/Dockerfile.310p.openEuler index d71c885c..a09e9741 100644 --- a/Dockerfile.310p.openEuler +++ b/Dockerfile.310p.openEuler @@ -57,5 +57,6 @@ RUN python3 -m pip install modelscope 'ray>=2.47.1,<=2.48.0' 'protobuf>3.20.0' & python3 -m pip cache purge RUN echo "export LD_PRELOAD=/usr/lib64/libjemalloc.so.2:$LD_PRELOAD" >> ~/.bashrc +RUN echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib" >> ~/.bashrc CMD ["/bin/bash"] diff --git a/Dockerfile.a3 b/Dockerfile.a3 index e9bf3a24..25b5617d 100644 --- a/Dockerfile.a3 +++ b/Dockerfile.a3 @@ -78,5 +78,6 @@ RUN python3 -m pip install modelscope 'ray>=2.47.1,<=2.48.0' 'protobuf>3.20.0' & python3 -m pip cache purge RUN echo "export LD_PRELOAD=/usr/lib/$(uname -m)-linux-gnu/libjemalloc.so.2:$LD_PRELOAD" >> ~/.bashrc +RUN echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib" >> ~/.bashrc CMD ["/bin/bash"] diff --git a/Dockerfile.a3.openEuler b/Dockerfile.a3.openEuler index 39509407..526701b1 100644 --- a/Dockerfile.a3.openEuler +++ b/Dockerfile.a3.openEuler @@ -76,5 +76,6 @@ RUN python3 -m pip install modelscope 'ray>=2.47.1,<=2.48.0' 'protobuf>3.20.0' & python3 -m pip cache purge RUN echo "export LD_PRELOAD=/usr/lib64/libjemalloc.so.2:$LD_PRELOAD" >> ~/.bashrc +RUN echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib" >> ~/.bashrc CMD ["/bin/bash"] diff --git a/Dockerfile.openEuler b/Dockerfile.openEuler index 35437865..5d446ac9 100644 --- a/Dockerfile.openEuler +++ b/Dockerfile.openEuler @@ -76,5 +76,6 @@ RUN python3 -m pip install modelscope 'ray>=2.47.1,<=2.48.0' 'protobuf>3.20.0' & python3 -m pip cache purge RUN echo "export LD_PRELOAD=/usr/lib64/libjemalloc.so.2:$LD_PRELOAD" >> ~/.bashrc +RUN echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib" >> ~/.bashrc CMD ["/bin/bash"]