diff --git a/.github/workflows/ci_xpu.yml b/.github/workflows/ci_xpu.yml index cbc75adeb..f99ca7d17 100644 --- a/.github/workflows/ci_xpu.yml +++ b/.github/workflows/ci_xpu.yml @@ -77,7 +77,7 @@ jobs: -e "MODEL_PATH=/ssd3/model" \ -e "http_proxy=$(git config --global --get http.proxy)" \ -e "https_proxy=$(git config --global --get https.proxy)" \ - -e "no_proxy=bcebos.com" \ + -e "no_proxy=bcebos.com,mirrors.tuna.tsinghua.edu.cn,127.0.0.1,localhost" \ -e "FD_API_PORT=${FD_API_PORT}" \ -e "FD_ENGINE_QUEUE_PORT=${FD_ENGINE_QUEUE_PORT}" \ -e "FD_METRICS_PORT=${FD_METRICS_PORT}" \ diff --git a/scripts/run_ci_xpu.sh b/scripts/run_ci_xpu.sh index 7e75bb2a1..6e63ec75d 100644 --- a/scripts/run_ci_xpu.sh +++ b/scripts/run_ci_xpu.sh @@ -2,6 +2,8 @@ DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" echo "$DIR" +#安装lsof工具 +apt install -y lsof #先kill一遍 ps -efww | grep -E 'api_server' | grep -v grep | awk '{print $2}' | xargs kill -9 || true ps -efww | grep -E '8188' | grep -v grep | awk '{print $2}' | xargs kill -9 || true