mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-12-24 13:28:13 +08:00
[CI] Fix partial instability issues (#4461)
This commit is contained in:
1
.github/workflows/_base_test.yml
vendored
1
.github/workflows/_base_test.yml
vendored
@@ -160,6 +160,7 @@ jobs:
|
||||
git config --global --add safe.directory /workspace/FastDeploy
|
||||
cd FastDeploy
|
||||
pushd tests/ce/deploy
|
||||
ps -ef | grep "${FD_CACHE_QUEUE_PORT}" | grep -v grep | awk "{print \$2}" | xargs -r kill -9
|
||||
ps -ef | grep "${FD_ENGINE_QUEUE_PORT}" | grep -v grep | awk "{print \$2}" | xargs -r kill -9
|
||||
python3.10 deploy.py > dd.log 2>&1 &
|
||||
sleep 3
|
||||
|
||||
1
.github/workflows/_logprob_test_linux.yml
vendored
1
.github/workflows/_logprob_test_linux.yml
vendored
@@ -148,6 +148,7 @@ jobs:
|
||||
--skip install
|
||||
|
||||
cd PaddleTest/framework/ServeTest
|
||||
ps -ef | grep "${FD_CACHE_QUEUE_PORT}" | grep -v grep | awk "{print \$2}" | xargs -r kill -9
|
||||
ps -ef | grep "${FD_ENGINE_QUEUE_PORT}" | grep -v grep | awk "{print \$2}" | xargs -r kill -9
|
||||
python3.10 deploy.py > dd.log 2>&1 &
|
||||
sleep 3
|
||||
|
||||
1
.github/workflows/_unit_test_coverage.yml
vendored
1
.github/workflows/_unit_test_coverage.yml
vendored
@@ -292,6 +292,7 @@ jobs:
|
||||
needs: run_tests_with_coverage
|
||||
if: always()
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
env:
|
||||
fd_archive_url: ${{ inputs.FASTDEPLOY_ARCHIVE_URL }}
|
||||
steps:
|
||||
|
||||
@@ -33,6 +33,7 @@ for file in $TEST_FILES; do
|
||||
success_pytest=$((success_pytest+1))
|
||||
fi
|
||||
ps -ef | grep "${FD_CACHE_QUEUE_PORT}" | grep -v grep | awk '{print $2}' | xargs -r kill -9
|
||||
ps -ef | grep "${FD_ENGINE_QUEUE_PORT}" | grep -v grep | awk '{print $2}' | xargs -r kill -9
|
||||
done
|
||||
|
||||
##################################
|
||||
|
||||
@@ -29,6 +29,7 @@ for subdir in "$run_path"*/; do
|
||||
exit_code=$?
|
||||
set -e
|
||||
ps -ef | grep "${FD_CACHE_QUEUE_PORT}" | grep -v grep | awk '{print $2}' | xargs -r kill -9
|
||||
ps -ef | grep "${FD_ENGINE_QUEUE_PORT}" | grep -v grep | awk '{print $2}' | xargs -r kill -9
|
||||
|
||||
if [ $exit_code -ne 0 ]; then
|
||||
if [ -f "${subdir%/}/log/workerlog.0" ]; then
|
||||
|
||||
@@ -45,7 +45,7 @@ class LLMReqClient:
|
||||
continue
|
||||
data = frames[-1]
|
||||
response = msgpack.unpackb(data)
|
||||
print(f"get result data {response}")
|
||||
# print(f"get result data {response}")
|
||||
result_queue.put(response)
|
||||
if self.need_exit:
|
||||
break
|
||||
|
||||
@@ -362,6 +362,7 @@ def test_streaming(openai_client, capsys):
|
||||
# ==========================
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="Temporarily skip this case due to unstable execution")
|
||||
def test_non_streaming_with_stop_str(openai_client):
|
||||
"""
|
||||
Test non-streaming chat functionality with the local service
|
||||
|
||||
Reference in New Issue
Block a user