From 8de9876d473bf010f6a73cb86094751ad64f0259 Mon Sep 17 00:00:00 2001 From: slzhou Date: Fri, 17 Mar 2023 13:34:29 +0800 Subject: [PATCH] fix:use dedicate environment python3.9 instead of python3.8 --- Jenkinsfile2 | 2 +- tests/parallel_test/run_case.sh | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile2 b/Jenkinsfile2 index bb7fa70c57..1f65aac8ad 100644 --- a/Jenkinsfile2 +++ b/Jenkinsfile2 @@ -407,7 +407,7 @@ pipeline { } } stage('linux test') { - agent{label " slave1_47 || slave1_48 || slave1_49 || slave1_52 || worker03 || slave215 || slave217 || slave219 "} + agent{label " slave219 "} options { skipDefaultCheckout() } when { changeRequest() diff --git a/tests/parallel_test/run_case.sh b/tests/parallel_test/run_case.sh index 4b755649a4..3bea47d85f 100755 --- a/tests/parallel_test/run_case.sh +++ b/tests/parallel_test/run_case.sh @@ -81,7 +81,12 @@ pip3 list|grep taospy pip3 uninstall taospy -y pip3 install taospy==2.7.6 +apt install -y python3 python3-dev python3-venv +/usr/bin/python3 -m venv /udfenv +source /udfenv/bin/activate pip3 install taospyudf +ldconfig +deactivate $TIMEOUT_CMD $cmd RET=$?