未验证 提交 75d216d1 编写于 作者: H Hui Li 提交者: GitHub

Merge pull request #10112 from taosdata/CI_OPT_2.4

Ci opt 2.4
# 806,,pytest,test.py -f update/append_commit_data.py too long time 113,,pytest,python3 test.py -f update/append_commit_data.py
# 20,,pytest,insert/retentionpolicy.py change date time # 20,,pytest,insert/retentionpolicy.py change date time
# 368,,develop-test/3-connectors/java,bash test.sh 368,,develop-test/3-connectors/java,bash test.sh
299,,pytest,python3 test.py -f update/merge_commit_data-0.py 299,,pytest,python3 test.py -f update/merge_commit_data-0.py
290,,pytest,python3 test.py -f update/merge_commit_data.py 290,,pytest,python3 test.py -f update/merge_commit_data.py
263,,script,./test.sh -f general/stream/stream_3.sim 263,,script,./test.sh -f general/stream/stream_3.sim
...@@ -103,6 +103,11 @@ ...@@ -103,6 +103,11 @@
55,,script,./test.sh -f general/db/delete_reusevnode.sim 55,,script,./test.sh -f general/db/delete_reusevnode.sim
55,,pytest,python3 test.py -f stream/metric_n.py 55,,pytest,python3 test.py -f stream/metric_n.py
55,,develop-test,python3 ./test.py -f 1-insert/batchInsert.py 55,,develop-test,python3 ./test.py -f 1-insert/batchInsert.py
,,pytest,python3 ./test.py -f functions/function_elapsed.py
,,pytest,python3 ./test.py -f alter/alterBackQuoteCol.py
# ,,pytest,python3 ./test.py -f ../system-test/0-management/1-stable/create_col_tag.py no such file
# ,,pytest,python3 ./test.py -f ../develop-test/0-management/3-tag/json_tag.py no such file
,,develop-test,python3 ./test.py -f 2-query/TD-13246.py
54,,script,./test.sh -f unique/arbitrator/dn3_mn1_vnode_nomaster.sim 54,,script,./test.sh -f unique/arbitrator/dn3_mn1_vnode_nomaster.sim
54,,script,./test.sh -f unique/arbitrator/dn3_mn1_r2_vnode_delDir.sim 54,,script,./test.sh -f unique/arbitrator/dn3_mn1_r2_vnode_delDir.sim
54,,script,./test.sh -f unique/arbitrator/dn3_mn1_multiCreateDropTable.sim 54,,script,./test.sh -f unique/arbitrator/dn3_mn1_multiCreateDropTable.sim
...@@ -133,9 +138,9 @@ ...@@ -133,9 +138,9 @@
47,,script,./test.sh -f unique/migrate/mn2_vn2_repl2_rmMnodeDir.sim 47,,script,./test.sh -f unique/migrate/mn2_vn2_repl2_rmMnodeDir.sim
47,,script,./test.sh -f unique/dnode/monitor.sim 47,,script,./test.sh -f unique/dnode/monitor.sim
47,,script,./test.sh -f unique/big/maxvnodes.sim 47,,script,./test.sh -f unique/big/maxvnodes.sim
# 47,,pytest,python3 test.py -f tools/taosdemoAllTest/NanoTestCase/taosdemoTestSupportNanosubscribe.py 47,,pytest,python3 test.py -f tools/taosdemoAllTest/NanoTestCase/taosdemoTestSupportNanosubscribe.py
45,,script,./test.sh -f unique/mnode/mgmt24.sim 45,,script,./test.sh -f unique/mnode/mgmt24.sim
# 45,,pytest,python3 test.py -f tools/taosdemoAllTest/TD-5213/insertSigcolumnsNum4096.py 45,,pytest,python3 test.py -f tools/taosdemoAllTest/TD-5213/insertSigcolumnsNum4096.py
44,,script,./test.sh -f unique/vnode/replica3_vgroup.sim 44,,script,./test.sh -f unique/vnode/replica3_vgroup.sim
44,,script,./test.sh -f unique/mnode/mgmt33.sim 44,,script,./test.sh -f unique/mnode/mgmt33.sim
44,,pytest,python3 test.py -f wal/sdbComp.py 44,,pytest,python3 test.py -f wal/sdbComp.py
...@@ -200,7 +205,7 @@ ...@@ -200,7 +205,7 @@
32,,script,./test.sh -f general/db/delete_reusevnode2.sim 32,,script,./test.sh -f general/db/delete_reusevnode2.sim
32,,script,./test.sh -f general/compress/compress.sim 32,,script,./test.sh -f general/compress/compress.sim
32,,script,./test.sh -f general/compress/commitlog.sim 32,,script,./test.sh -f general/compress/commitlog.sim
# 32,,pytest,python3 test.py -f tools/taosdemoAllTest/taosdemoTestInsertAllType.py 32,,pytest,python3 test.py -f tools/taosdemoAllTest/taosdemoTestInsertAllType.py
31,,script,./test.sh -f general/user/pass_alter.sim 31,,script,./test.sh -f general/user/pass_alter.sim
31,,script,./test.sh -f general/stable/disk.sim 31,,script,./test.sh -f general/stable/disk.sim
31,,script,./test.sh -f general/parser/lastrow.sim 31,,script,./test.sh -f general/parser/lastrow.sim
...@@ -254,7 +259,7 @@ ...@@ -254,7 +259,7 @@
22,,script,./test.sh -f general/parser/limit.sim 22,,script,./test.sh -f general/parser/limit.sim
22,,script,./test.sh -f general/insert/tcp.sim 22,,script,./test.sh -f general/insert/tcp.sim
22,,script,./test.sh -f general/cache/restart_table.sim 22,,script,./test.sh -f general/cache/restart_table.sim
# 22,,pytest,python3 test.py -f tools/taosdemoAllTest/taosdemoTestInsertShell.py 22,,pytest,python3 test.py -f tools/taosdemoAllTest/taosdemoTestInsertShell.py
22,,pytest,python3 test.py -f tag_lite/datatype.py 22,,pytest,python3 test.py -f tag_lite/datatype.py
22,,pytest,python3 test.py -f import_merge/importDataLastH.py 22,,pytest,python3 test.py -f import_merge/importDataLastH.py
22,,pytest,python3 test.py -f import_merge/importDataHO2.py 22,,pytest,python3 test.py -f import_merge/importDataHO2.py
...@@ -311,8 +316,8 @@ ...@@ -311,8 +316,8 @@
17,,script,./test.sh -f general/insert/query_file_memory.sim 17,,script,./test.sh -f general/insert/query_file_memory.sim
17,,script,./test.sh -f general/field/binary.sim 17,,script,./test.sh -f general/field/binary.sim
17,,script,./test.sh -f general/field/4.sim 17,,script,./test.sh -f general/field/4.sim
# 17,,pytest,python3 test.py -f subscribe/supertable.py 17,,pytest,python3 test.py -f subscribe/supertable.py
# 17,,pytest,python3 test.py -f query/query1970YearsAf.py 17,,pytest,python3 test.py -f query/query1970YearsAf.py
16,,script,./test.sh -f unique/account/account_len.sim 16,,script,./test.sh -f unique/account/account_len.sim
16,,script,./test.sh -f general/vector/table_time.sim 16,,script,./test.sh -f general/vector/table_time.sim
16,,script,./test.sh -f general/vector/multi.sim 16,,script,./test.sh -f general/vector/multi.sim
...@@ -414,7 +419,7 @@ ...@@ -414,7 +419,7 @@
13,,script,./test.sh -f general/compute/min.sim 13,,script,./test.sh -f general/compute/min.sim
13,,script,./test.sh -f general/compute/last.sim 13,,script,./test.sh -f general/compute/last.sim
13,,script,./test.sh -f general/compute/bottom.sim 13,,script,./test.sh -f general/compute/bottom.sim
# 13,,pytest,python3 test.py -f tools/taosdemoAllTest/NanoTestCase/taosdemoTestSupportNanoQuery.py 13,,pytest,python3 test.py -f tools/taosdemoAllTest/NanoTestCase/taosdemoTestSupportNanoQuery.py
13,,pytest,python3 test.py -f query/queryInsertValue.py 13,,pytest,python3 test.py -f query/queryInsertValue.py
13,,pytest,python3 test.py -f query/queryGroupTbname.py 13,,pytest,python3 test.py -f query/queryGroupTbname.py
13,,pytest,python3 test.py -f insert/openTsdbTelnetLinesInsert.py 13,,pytest,python3 test.py -f insert/openTsdbTelnetLinesInsert.py
...@@ -455,7 +460,7 @@ ...@@ -455,7 +460,7 @@
12,,script,./test.sh -f general/table/basic2.sim 12,,script,./test.sh -f general/table/basic2.sim
12,,script,./test.sh -f general/parser/udf.sim 12,,script,./test.sh -f general/parser/udf.sim
12,,script,./test.sh -f general/parser/udf_dll.sim 12,,script,./test.sh -f general/parser/udf_dll.sim
# 12,,script,./test.sh -f general/parser/columnValue.sim 12,,script,./test.sh -f general/parser/columnValue.sim
12,,script,./test.sh -f general/db/len.sim 12,,script,./test.sh -f general/db/len.sim
12,,script,./test.sh -f general/db/basic.sim 12,,script,./test.sh -f general/db/basic.sim
12,,script,./test.sh -f general/db/basic5.sim 12,,script,./test.sh -f general/db/basic5.sim
...@@ -522,7 +527,7 @@ ...@@ -522,7 +527,7 @@
9,,script,./test.sh -f general/parser/alter1.sim 9,,script,./test.sh -f general/parser/alter1.sim
9,,script,./test.sh -f general/db/delete.sim 9,,script,./test.sh -f general/db/delete.sim
9,,pytest,python3 test.py -f tools/taosdemoTestLimitOffset.py 9,,pytest,python3 test.py -f tools/taosdemoTestLimitOffset.py
# 9,,pytest,python3 test.py -f tools/taosdemoAllTest/NanoTestCase/taosdemoTestSupportNanoInsert.py 9,,pytest,python3 test.py -f tools/taosdemoAllTest/NanoTestCase/taosdemoTestSupportNanoInsert.py
9,,pytest,python3 test.py -f stream/showStreamExecTimeisNull.py 9,,pytest,python3 test.py -f stream/showStreamExecTimeisNull.py
9,,pytest,python3 test.py -f query/bug1876.py 9,,pytest,python3 test.py -f query/bug1876.py
9,,pytest,python3 test.py -f alter/alter_table_crash.py 9,,pytest,python3 test.py -f alter/alter_table_crash.py
...@@ -533,7 +538,7 @@ ...@@ -533,7 +538,7 @@
8,,pytest,python3 test.py -f query/unionAllTest.py 8,,pytest,python3 test.py -f query/unionAllTest.py
8,,pytest,python3 test.py -f query/queryFilterTswithDateUnit.py 8,,pytest,python3 test.py -f query/queryFilterTswithDateUnit.py
8,,pytest,python3 test.py -f query/queryDiffColsTagsAndOr.py 8,,pytest,python3 test.py -f query/queryDiffColsTagsAndOr.py
# 8,2,pytest,python3 test.py -f query/nestedQuery/nestedQuery_datacheck.py 8,2,pytest,python3 test.py -f query/nestedQuery/nestedQuery_datacheck.py
8,,pytest,python3 test.py -f query/bug1874.py 8,,pytest,python3 test.py -f query/bug1874.py
8,,pytest,python3 test.py -f functions/function_floor.py 8,,pytest,python3 test.py -f functions/function_floor.py
8,,develop-test,python3 ./test.py -f 5-taos-tools/taosdump/taosdumpTestTypeUnsignedTinyInt.py 8,,develop-test,python3 ./test.py -f 5-taos-tools/taosdump/taosdumpTestTypeUnsignedTinyInt.py
...@@ -546,7 +551,7 @@ ...@@ -546,7 +551,7 @@
8,,develop-test,python3 ./test.py -f 5-taos-tools/taosbenchmark/sml_interlace.py 8,,develop-test,python3 ./test.py -f 5-taos-tools/taosbenchmark/sml_interlace.py
8,,develop-test,python3 ./test.py -f 5-taos-tools/taosbenchmark/subscripe_json.py 8,,develop-test,python3 ./test.py -f 5-taos-tools/taosbenchmark/subscripe_json.py
8,,develop-test,python3 ./test.py -f 5-taos-tools/taosbenchmark/invalid_commandline.py 8,,develop-test,python3 ./test.py -f 5-taos-tools/taosbenchmark/invalid_commandline.py
# 7,,system-test,python3 ./test.py -f 2-query/TD-12191.py ## 7,,system-test,python3 ./test.py -f 2-query/TD-12191.py
7,,pytest,python3 test.py -f tools/taosdumpTest2.py 7,,pytest,python3 test.py -f tools/taosdumpTest2.py
7,,pytest,python3 test.py -f tools/taosdemoTestdatatype.py 7,,pytest,python3 test.py -f tools/taosdemoTestdatatype.py
7,,pytest,python3 test.py -f tag_lite/unsignedInt.py 7,,pytest,python3 test.py -f tag_lite/unsignedInt.py
...@@ -561,7 +566,7 @@ ...@@ -561,7 +566,7 @@
7,,develop-test,python3 ./test.py -f 5-taos-tools/taosdump/taosdumpTestTypeBigInt.py 7,,develop-test,python3 ./test.py -f 5-taos-tools/taosdump/taosdumpTestTypeBigInt.py
7,,develop-test,python3 ./test.py -f 2-query/constant_compare.py 7,,develop-test,python3 ./test.py -f 2-query/constant_compare.py
7,,develop-test,python3 ./test.py -f 5-taos-tools/taosbenchmark/limit_offset_json.py 7,,develop-test,python3 ./test.py -f 5-taos-tools/taosbenchmark/limit_offset_json.py
# 6,,system-test,python3 ./test.py -f 2-query/TD-11483.py ## 6,,system-test,python3 ./test.py -f 2-query/TD-11483.py
# 6,,system-test,python3 ./test.py -f 2-query/function_elapsed.py # 6,,system-test,python3 ./test.py -f 2-query/function_elapsed.py
6,,pytest,python3 test.py -f wal/addOldWalTest.py 6,,pytest,python3 test.py -f wal/addOldWalTest.py
6,,pytest,python3 test.py -f topic/topicQuery.py 6,,pytest,python3 test.py -f topic/topicQuery.py
...@@ -583,7 +588,7 @@ ...@@ -583,7 +588,7 @@
6,,pytest,python3 test.py -f query/bug2218.py 6,,pytest,python3 test.py -f query/bug2218.py
6,,pytest,python3 test.py -f query/bug2118.py 6,,pytest,python3 test.py -f query/bug2118.py
6,,pytest,python3 test.py -f query/bug2117.py 6,,pytest,python3 test.py -f query/bug2117.py
# 6,,pytest,python3 test.py -f perfbenchmark/bug3433.py 6,,pytest,python3 test.py -f perfbenchmark/bug3433.py
6,,pytest,python3 test.py -f insert/insert_before_use_db.py 6,,pytest,python3 test.py -f insert/insert_before_use_db.py
6,,pytest,python3 test.py -f import_merge/importHPORestart.py 6,,pytest,python3 test.py -f import_merge/importHPORestart.py
6,,pytest,python3 test.py -f import_merge/importHORestart.py 6,,pytest,python3 test.py -f import_merge/importHORestart.py
...@@ -621,7 +626,7 @@ ...@@ -621,7 +626,7 @@
5,,pytest,python3 test.py -f table/db_table.py 5,,pytest,python3 test.py -f table/db_table.py
5,,pytest,python3 test.py -f table/create_sensitive.py 5,,pytest,python3 test.py -f table/create_sensitive.py
5,,pytest,python3 test.py -f table/column_num.py 5,,pytest,python3 test.py -f table/column_num.py
# 5,,pytest,python3 test.py -f subscribe/singlemeter.py 5,,pytest,python3 test.py -f subscribe/singlemeter.py
5,,pytest,python3 test.py -f stable/insert.py 5,,pytest,python3 test.py -f stable/insert.py
5,,pytest,python3 test.py -f query/querySession.py 5,,pytest,python3 test.py -f query/querySession.py
5,,pytest,python3 test.py -f query/querySecondtscolumnTowherenow.py 5,,pytest,python3 test.py -f query/querySecondtscolumnTowherenow.py
...@@ -663,7 +668,7 @@ ...@@ -663,7 +668,7 @@
5,,develop-test,python3 ./test.py -f 2-query/timeline_agg_func_groupby.py 5,,develop-test,python3 ./test.py -f 2-query/timeline_agg_func_groupby.py
5,,develop-test,python3 ./test.py -f 2-query/session_two_stage.py 5,,develop-test,python3 ./test.py -f 2-query/session_two_stage.py
5,,develop-test,python3 ./test.py -f 0-others/TD-12435.py 5,,develop-test,python3 ./test.py -f 0-others/TD-12435.py
# 5,,develop-test,python3 ./test.py -f 0-others/json_tag.py 5,,develop-test,python3 ./test.py -f 0-others/json_tag.py
5,,system-test,python3 ./test.py -f 2-query/TD-12909.py 5,,system-test,python3 ./test.py -f 2-query/TD-12909.py
5,,develop-test,python3 ./test.py -f 2-query/function_mavg.py 5,,develop-test,python3 ./test.py -f 2-query/function_mavg.py
4,,system-test,python3 test.py -f 4-taosAdapter/TD-12163.py 4,,system-test,python3 test.py -f 4-taosAdapter/TD-12163.py
......
...@@ -140,7 +140,7 @@ function build_src() { ...@@ -140,7 +140,7 @@ function build_src() {
flock -x $lock_file -c "echo \"${hosts[index]} taos-tools build failed\" >>$log_dir/failed.log" flock -x $lock_file -c "echo \"${hosts[index]} taos-tools build failed\" >>$log_dir/failed.log"
return return
fi fi
script="cp -rf ${workdirs[index]}/taos-tools/build/build/bin/* ${workdirs[index]}/TDinternal/debug/build/bin/;cp -rf ${workdirs[index]}/taos-tools/build/build/lib/* ${workdirs[index]}/TDinternal/debug/build/lib/;cp -rf ${workdirs[index]}/taos-tools/build/build/lib64/* ${workdirs[index]}/TDinternal/debug/build/lib/;cp -rf ${workdirs[index]}/TDinternal/debug/build/bin/demo ${workdirs[index]}/TDinternal/debug/build/bin/taosdemo" script="cp -rf ${workdirs[index]}/taos-tools/build/build/bin/* ${workdirs[index]}/TDinternal/debug/build/bin/;cp -rf ${workdirs[index]}/taos-tools/build/build/lib/* ${workdirs[index]}/TDinternal/debug/build/lib/;cp -rf ${workdirs[index]}/taos-tools/build/build/lib64/* ${workdirs[index]}/TDinternal/debug/build/lib/;cp -rf ${workdirs[index]}/TDinternal/debug/build/bin/taosBenchmark ${workdirs[index]}/TDinternal/debug/build/bin/taosdemo"
cmd="${ssh_script} sh -c \"$script\"" cmd="${ssh_script} sh -c \"$script\""
${cmd} ${cmd}
} }
...@@ -150,7 +150,7 @@ function rename_taosdemo() { ...@@ -150,7 +150,7 @@ function rename_taosdemo() {
if [ -z ${passwords[index]} ]; then if [ -z ${passwords[index]} ]; then
ssh_script="ssh -o StrictHostKeyChecking=no ${usernames[index]}@${hosts[index]}" ssh_script="ssh -o StrictHostKeyChecking=no ${usernames[index]}@${hosts[index]}"
fi fi
local script="cp -rf ${workdirs[index]}/TDinternal/debug/build/bin/demo ${workdirs[index]}/TDinternal/debug/build/bin/taosdemo" local script="cp -rf ${workdirs[index]}/TDinternal/debug/build/bin/taosBenchmark ${workdirs[index]}/TDinternal/debug/build/bin/taosdemo 2>/dev/null"
cmd="${ssh_script} sh -c \"$script\"" cmd="${ssh_script} sh -c \"$script\""
${cmd} ${cmd}
} }
...@@ -182,7 +182,7 @@ function run_thread() { ...@@ -182,7 +182,7 @@ function run_thread() {
fi fi
local case_redo_time=`echo "$line"|cut -d, -f2` local case_redo_time=`echo "$line"|cut -d, -f2`
if [ -z "$case_redo_time" ]; then if [ -z "$case_redo_time" ]; then
case_redo_time=1 case_redo_time=${DEFAULT_RETRY_TIME:-2}
fi fi
local exec_dir=`echo "$line"|cut -d, -f3` local exec_dir=`echo "$line"|cut -d, -f3`
local case_cmd=`echo "$line"|cut -d, -f4` local case_cmd=`echo "$line"|cut -d, -f4`
...@@ -232,6 +232,10 @@ function run_thread() { ...@@ -232,6 +232,10 @@ function run_thread() {
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
redo=1 redo=1
fi fi
grep -q "ssh_exchange_identification: Connection closed by remote host" $log_dir/$case_file.log
if [ $? -eq 0 ]; then
redo=1
fi
grep -q "kex_exchange_identification: read: Connection reset by peer" $log_dir/$case_file.log grep -q "kex_exchange_identification: read: Connection reset by peer" $log_dir/$case_file.log
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
redo=1 redo=1
...@@ -273,7 +277,7 @@ function run_thread() { ...@@ -273,7 +277,7 @@ function run_thread() {
cat $log_dir/$case_file.log cat $log_dir/$case_file.log
echo "=====================================================" echo "====================================================="
echo -e "\e[34m log file: $log_dir/$case_file.log \e[0m" echo -e "\e[34m log file: $log_dir/$case_file.log \e[0m"
if [ ! -z $corefile ]; then if [ ! -z "$corefile" ]; then
echo -e "\e[34m corefiles: $corefile \e[0m" echo -e "\e[34m corefiles: $corefile \e[0m"
fi fi
fi fi
......
...@@ -43,11 +43,17 @@ fi ...@@ -43,11 +43,17 @@ fi
go env -w GOPROXY=https://goproxy.cn go env -w GOPROXY=https://goproxy.cn
echo "StrictHostKeyChecking no" >>/etc/ssh/ssh_config echo "StrictHostKeyChecking no" >>/etc/ssh/ssh_config
ln -s $CONTAINER_TESTDIR/debug/build/lib/libtaos.so /usr/lib/libtaos.so ln -s /home/debug/build/lib/libtaos.so /usr/lib/libtaos.so 2>/dev/null
npm config -g set unsafe-perm npm config -g set unsafe-perm
npm config -g set registry https://registry.npm.taobao.org npm config -g set registry https://registry.npm.taobao.org
mkdir -p /home/sim/tsim mkdir -p /home/sim/tsim
mkdir -p /var/lib/taos/subscribe
rm -rf ${CONTAINER_TESTDIR}/src/connector/nodejs/node_modules
rm -rf ${CONTAINER_TESTDIR}/tests/examples/nodejs/node_modules
rm -rf ${CONTAINER_TESTDIR}/tests/connectorTest/nodejsTest/nanosupport/node_modules
# ln -s /home/node_modules ${CONTAINER_TESTDIR}/src/connector/nodejs/
# ln -s /home/node_modules ${CONTAINER_TESTDIR}/tests/examples/nodejs/
# ln -s /home/node_modules ${CONTAINER_TESTDIR}/tests/connectorTest/nodejsTest/nanosupport/
# echo "$cmd"|grep -q "nodejs" # echo "$cmd"|grep -q "nodejs"
# if [ $? -eq 0 ]; then # if [ $? -eq 0 ]; then
# cd $CONTAINER_TESTDIR/src/connector/nodejs # cd $CONTAINER_TESTDIR/src/connector/nodejs
......
...@@ -77,24 +77,29 @@ if [ $? -eq 0 ]; then ...@@ -77,24 +77,29 @@ if [ $? -eq 0 ]; then
-v $TMP_DIR/thread_volume/$thread_no/node_modules:${CONTAINER_TESTDIR}/tests/examples/nodejs/node_modules \ -v $TMP_DIR/thread_volume/$thread_no/node_modules:${CONTAINER_TESTDIR}/tests/examples/nodejs/node_modules \
-v $TMP_DIR/thread_volume/$thread_no/node_modules:${CONTAINER_TESTDIR}/tests/connectorTest/nodejsTest/nanosupport/node_modules" -v $TMP_DIR/thread_volume/$thread_no/node_modules:${CONTAINER_TESTDIR}/tests/connectorTest/nodejsTest/nanosupport/node_modules"
fi fi
if [ -f "$REPDIR/src/plugins/taosadapter/example/config/taosadapter.toml" ]; then
TAOSADAPTER_TOML="-v $REPDIR/src/plugins/taosadapter/example/config/taosadapter.toml:/etc/taos/taosadapter.toml:ro"
fi
docker run \ docker run \
-v $REPDIR/tests:$CONTAINER_TESTDIR/tests \ -v $REPDIR/tests:$CONTAINER_TESTDIR/tests \
-v $MOUNT_DIR \ -v $MOUNT_DIR \
-v "$TMP_DIR/thread_volume/$thread_no/sim:${CONTAINER_TESTDIR}/sim" \ -v "$TMP_DIR/thread_volume/$thread_no/sim:${CONTAINER_TESTDIR}/sim" \
-v ${TMP_DIR}/thread_volume/$thread_no/coredump:/home/coredump \ -v ${TMP_DIR}/thread_volume/$thread_no/coredump:/home/coredump \
-v $INTERNAL_REPDIR/debug:$CONTAINER_TESTDIR/debug:ro \ -v $INTERNAL_REPDIR/debug:/home/debug:ro \
-v $REPDIR/deps:$CONTAINER_TESTDIR/deps:ro \ -v $REPDIR/deps:$CONTAINER_TESTDIR/deps:ro \
-v $REPDIR/src:$CONTAINER_TESTDIR/src \ -v $REPDIR/src:$CONTAINER_TESTDIR/src \
-v $REPDIR/src/inc/taos.h:/usr/include/taos.h:ro \ -v $REPDIR/src/inc/taos.h:/usr/include/taos.h:ro \
$TAOSADAPTER_TOML \
-v $REPDIR/tests/examples:$CONTAINER_TESTDIR/tests/examples \ -v $REPDIR/tests/examples:$CONTAINER_TESTDIR/tests/examples \
-v $REPDIR/snap:$CONTAINER_TESTDIR/snap:ro \ -v $REPDIR/snap:$CONTAINER_TESTDIR/snap:ro \
-v $REPDIR/alert:$CONTAINER_TESTDIR/alert:ro \ -v $REPDIR/alert:$CONTAINER_TESTDIR/alert:ro \
-v $REPDIR/packaging/cfg/taos.cfg:/etc/taos/taos.cfg:ro \ -v $REPDIR/packaging/cfg/taos.cfg:/etc/taos/taos.cfg:ro \
-v $REPDIR/packaging:$CONTAINER_TESTDIR/packaging:ro \
-v $REPDIR/README.md:$CONTAINER_TESTDIR/README.md:ro \ -v $REPDIR/README.md:$CONTAINER_TESTDIR/README.md:ro \
-v $REPDIR/src/connector/python/taos:/usr/local/lib/python3.8/site-packages/taos:ro \ -v $REPDIR/src/connector/python/taos:/usr/local/lib/python3.8/site-packages/taos:ro \
-e LD_LIBRARY_PATH=$CONTAINER_TESTDIR/debug/build/lib:$CONTAINER_TESTDIR/debug/build/lib64 \ -e LD_LIBRARY_PATH=/home/debug/build/lib:/home/debug/build/lib64 \
-e PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$CONTAINER_TESTDIR/debug/build/bin:/usr/local/go/bin:/usr/local/node-v12.20.0-linux-x64/bin:/usr/local/apache-maven-3.8.4/bin:/usr/local/jdk1.8.0_144/bin \ -e PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/debug/build/bin:/usr/local/go/bin:/usr/local/node-v12.20.0-linux-x64/bin:/usr/local/apache-maven-3.8.4/bin:/usr/local/jdk1.8.0_144/bin \
-e JAVA_HOME=/usr/local/jdk1.8.0_144 \ -e JAVA_HOME=/usr/local/jdk1.8.0_144 \
--rm --ulimit core=-1 taos_test:v1.0 $CONTAINER_TESTDIR/tests/parallel_test/run_case.sh -d "$exec_dir" -c "$cmd" --rm --ulimit core=-1 taos_test:v1.0 $CONTAINER_TESTDIR/tests/parallel_test/run_case.sh -d "$exec_dir" -c "$cmd"
ret=$? ret=$?
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册