Skip to content

Commit da73250

Browse files
authored
[CI] Update CPU workflow log (#72435)
* test=document_fix cpu log * test=document_fix proxy * test=document_fix name * test=document_fix retry 4
1 parent fceec4e commit da73250

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

.github/workflows/CI.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ jobs:
4242

4343
cpu:
4444
name: Linux-CPU
45-
uses: ./.github/workflows/_CPU.yml
45+
uses: ./.github/workflows/_Linux-CPU.yml
4646
needs: clone
4747

4848
npu:
4949
name: Linux-NPU
50-
uses: ./.github/workflows/_NPU.yml
50+
uses: ./.github/workflows/_Linux-NPU.yml
5151
needs: cpu

.github/workflows/_CPU.yml renamed to .github/workflows/_Linux-CPU.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: PR-CI-CPU
1+
name: Linux-CPU
22

33
on:
44
workflow_call:
@@ -129,9 +129,6 @@ jobs:
129129
bash ${ci_scripts}/run_linux_cpu_test.sh
130130
EXCODE=$?
131131
source ${ci_scripts}/utils.sh; clean_build_files
132-
echo "::group::Install bce-python-sdk"
133-
python -m pip install bce-python-sdk==0.8.74
134-
echo "::endgroup::"
135132
exit $EXCODE
136133
'
137134
@@ -142,6 +139,10 @@ jobs:
142139
paddle_whl: paddlepaddle-0.0.0-cp39-cp39-linux_x86_64.whl
143140
run: |
144141
docker exec -t ${{ env.container_name }} /bin/bash -c '
142+
echo "::group::Install bce-python-sdk"
143+
source ${{ github.workspace }}/../../../proxy
144+
python -m pip install bce-python-sdk==0.8.74
145+
echo "::endgroup::"
145146
export AK=paddle
146147
export SK=paddle
147148
if [ ! -f "${{ env.bos_file }}" ]; then
@@ -151,6 +152,7 @@ jobs:
151152
fi
152153
cd dist
153154
echo "Uploading paddle_whl to bos"
155+
source ${{ github.workspace }}/../../../unproxy
154156
python3.9 ${{ env.bos_file }} ${{ env.paddle_whl }} paddle-github-action/PR/cpu_whl/${{ env.PR_ID }}/${{ env.COMMIT_ID }}
155157
'
156158

.github/workflows/_NPU.yml renamed to .github/workflows/_Linux-NPU.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: PR-CI-NPU-910B-Paddle
1+
name: Linux-NPU
22

33
on:
44
workflow_call:

ci/run_linux_cpu_test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ set +x
9494
rm -f $tmp_dir/*
9595
exec_times=0
9696
retry_unittests_record=''
97-
retry_time=2
97+
retry_time=4
9898
exec_time_array=('first' 'second' 'third' 'fourth')
9999
parallel_failed_tests_exec_retry_threshold=120
100100
exec_retry_threshold=30

ci/utils.sh

-2
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,7 @@ failed_test_lists=''
101101
tmp_dir=`mktemp -d`
102102

103103
function get_quickly_disable_ut() {
104-
echo "::group::Installing httpx..."
105104
python -m pip install httpx
106-
echo "::endgroup::"
107105
if disable_ut_quickly=$(python ${PADDLE_ROOT}/tools/get_quick_disable_lt.py); then
108106
echo "========================================="
109107
echo "The following unittests have been disabled:"

0 commit comments

Comments
 (0)