From cbfc9872c6b134ae8c4b862e9ab7a2e878d65233 Mon Sep 17 00:00:00 2001 From: dapan1121 Date: Tue, 18 Oct 2022 18:28:49 +0800 Subject: [PATCH 01/33] fix: add cachesize in show create database result --- include/common/tmsg.h | 1 + source/common/src/tmsg.c | 2 ++ source/dnode/mnode/impl/src/mndDb.c | 1 + source/libs/command/src/command.c | 4 ++-- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/include/common/tmsg.h b/include/common/tmsg.h index 5e2ca8896a..0febcdbba7 100644 --- a/include/common/tmsg.h +++ b/include/common/tmsg.h @@ -889,6 +889,7 @@ typedef struct { int32_t numOfVgroups; int32_t numOfStables; int32_t buffer; + int32_t cacheSize; int32_t pageSize; int32_t pages; int32_t daysPerFile; diff --git a/source/common/src/tmsg.c b/source/common/src/tmsg.c index 55e5616dd5..a3135c1f55 100644 --- a/source/common/src/tmsg.c +++ b/source/common/src/tmsg.c @@ -2761,6 +2761,7 @@ int32_t tSerializeSDbCfgRsp(void *buf, int32_t bufLen, const SDbCfgRsp *pRsp) { if (tEncodeI32(&encoder, pRsp->numOfVgroups) < 0) return -1; if (tEncodeI32(&encoder, pRsp->numOfStables) < 0) return -1; if (tEncodeI32(&encoder, pRsp->buffer) < 0) return -1; + if (tEncodeI32(&encoder, pRsp->cacheSize) < 0) return -1; if (tEncodeI32(&encoder, pRsp->pageSize) < 0) return -1; if (tEncodeI32(&encoder, pRsp->pages) < 0) return -1; if (tEncodeI32(&encoder, pRsp->daysPerFile) < 0) return -1; @@ -2800,6 +2801,7 @@ int32_t tDeserializeSDbCfgRsp(void *buf, int32_t bufLen, SDbCfgRsp *pRsp) { if (tDecodeI32(&decoder, &pRsp->numOfVgroups) < 0) return -1; if (tDecodeI32(&decoder, &pRsp->numOfStables) < 0) return -1; if (tDecodeI32(&decoder, &pRsp->buffer) < 0) return -1; + if (tDecodeI32(&decoder, &pRsp->cacheSize) < 0) return -1; if (tDecodeI32(&decoder, &pRsp->pageSize) < 0) return -1; if (tDecodeI32(&decoder, &pRsp->pages) < 0) return -1; if (tDecodeI32(&decoder, &pRsp->daysPerFile) < 0) return -1; diff --git a/source/dnode/mnode/impl/src/mndDb.c b/source/dnode/mnode/impl/src/mndDb.c index 3b31873857..b62097a4f0 100644 --- a/source/dnode/mnode/impl/src/mndDb.c +++ b/source/dnode/mnode/impl/src/mndDb.c @@ -863,6 +863,7 @@ static int32_t mndProcessGetDbCfgReq(SRpcMsg *pReq) { cfgRsp.numOfVgroups = pDb->cfg.numOfVgroups; cfgRsp.numOfStables = pDb->cfg.numOfStables; cfgRsp.buffer = pDb->cfg.buffer; + cfgRsp.cacheSize = pDb->cfg.cacheLastSize; cfgRsp.pageSize = pDb->cfg.pageSize; cfgRsp.pages = pDb->cfg.pages; cfgRsp.daysPerFile = pDb->cfg.daysPerFile; diff --git a/source/libs/command/src/command.c b/source/libs/command/src/command.c index 33e5b0e1e4..c32adb17ae 100644 --- a/source/libs/command/src/command.c +++ b/source/libs/command/src/command.c @@ -268,10 +268,10 @@ static void setCreateDBResultIntoDataBlock(SSDataBlock* pBlock, char* dbFName, S len += sprintf( buf2 + VARSTR_HEADER_SIZE, - "CREATE DATABASE `%s` BUFFER %d CACHEMODEL '%s' COMP %d DURATION %dm " + "CREATE DATABASE `%s` BUFFER %d CACHESIZE %d CACHEMODEL '%s' COMP %d DURATION %dm " "WAL_FSYNC_PERIOD %d MAXROWS %d MINROWS %d KEEP %dm,%dm,%dm PAGES %d PAGESIZE %d PRECISION '%s' REPLICA %d " "STRICT '%s' WAL_LEVEL %d VGROUPS %d SINGLE_STABLE %d", - dbFName, pCfg->buffer, cacheModelStr(pCfg->cacheLast), pCfg->compression, pCfg->daysPerFile, pCfg->walFsyncPeriod, + dbFName, pCfg->buffer, pCfg->cacheSize, cacheModelStr(pCfg->cacheLast), pCfg->compression, pCfg->daysPerFile, pCfg->walFsyncPeriod, pCfg->maxRows, pCfg->minRows, pCfg->daysToKeep0, pCfg->daysToKeep1, pCfg->daysToKeep2, pCfg->pages, pCfg->pageSize, prec, pCfg->replications, strictStr(pCfg->strict), pCfg->walLevel, pCfg->numOfVgroups, 1 == pCfg->numOfStables); From 8cc57a6bcd911e892c345b502d620f4a6f54bca5 Mon Sep 17 00:00:00 2001 From: chenhaoran Date: Wed, 19 Oct 2022 11:09:44 +0000 Subject: [PATCH 02/33] test:temp test --- tests/parallel_test/run_container.sh | 2 +- tests/script/jenkins/basic.txt | 846 +++++++++---------- tests/system-test/fulltest.sh | 1162 +++++++++++++------------- 3 files changed, 1005 insertions(+), 1005 deletions(-) diff --git a/tests/parallel_test/run_container.sh b/tests/parallel_test/run_container.sh index bb57f238f0..0de777e6f1 100755 --- a/tests/parallel_test/run_container.sh +++ b/tests/parallel_test/run_container.sh @@ -109,7 +109,7 @@ docker run \ -v ${TMP_DIR}/thread_volume/$thread_no/coredump:$coredump_dir \ -v $WORKDIR/taos-connector-python/taos:/usr/local/lib/python3.8/site-packages/taos:ro \ -v $WORKDIR/taos-connector-python/taosrest:/usr/local/lib/python3.8/site-packages/taosrest:ro \ - --rm --ulimit core=-1 taos_test:v1.0 $CONTAINER_TESTDIR/tests/parallel_test/run_case.sh -d "$exec_dir" -c "$cmd" $extra_param + --ulimit core=-1 taos_test:v1.0 $CONTAINER_TESTDIR/tests/parallel_test/run_case.sh -d "$exec_dir" -c "$cmd" $extra_param ret=$? exit $ret diff --git a/tests/script/jenkins/basic.txt b/tests/script/jenkins/basic.txt index d8f4a36261..e87ede67ae 100644 --- a/tests/script/jenkins/basic.txt +++ b/tests/script/jenkins/basic.txt @@ -1,458 +1,458 @@ -#======================b1-start=============== +# #======================b1-start=============== -# ---- user ---- -./test.sh -f tsim/user/basic.sim -./test.sh -f tsim/user/password.sim -./test.sh -f tsim/user/privilege_db.sim -./test.sh -f tsim/user/privilege_sysinfo.sim +# # ---- user ---- +# ./test.sh -f tsim/user/basic.sim +# ./test.sh -f tsim/user/password.sim +# ./test.sh -f tsim/user/privilege_db.sim +# ./test.sh -f tsim/user/privilege_sysinfo.sim -# ---- db ---- -./test.sh -f tsim/db/alter_option.sim -# unsupport ./test.sh -f tsim/db/alter_replica_13.sim -# unsupport ./test.sh -f tsim/db/alter_replica_31.sim -./test.sh -f tsim/db/basic1.sim -./test.sh -f tsim/db/basic2.sim -./test.sh -f tsim/db/basic3.sim -./test.sh -f tsim/db/basic4.sim -./test.sh -f tsim/db/basic5.sim -./test.sh -f tsim/db/basic6.sim -./test.sh -f tsim/db/commit.sim -./test.sh -f tsim/db/create_all_options.sim -./test.sh -f tsim/db/delete_reuse1.sim -./test.sh -f tsim/db/delete_reuse2.sim -./test.sh -f tsim/db/delete_reusevnode.sim -./test.sh -f tsim/db/delete_reusevnode2.sim -./test.sh -f tsim/db/delete_writing1.sim -./test.sh -f tsim/db/delete_writing2.sim -# unsupport ./test.sh -f tsim/db/dropdnodes.sim -./test.sh -f tsim/db/error1.sim -./test.sh -f tsim/db/keep.sim -./test.sh -f tsim/db/len.sim -./test.sh -f tsim/db/repeat.sim -./test.sh -f tsim/db/show_create_db.sim -./test.sh -f tsim/db/show_create_table.sim -./test.sh -f tsim/db/tables.sim -./test.sh -f tsim/db/taosdlog.sim +# # ---- db ---- +# ./test.sh -f tsim/db/alter_option.sim +# # unsupport ./test.sh -f tsim/db/alter_replica_13.sim +# # unsupport ./test.sh -f tsim/db/alter_replica_31.sim +# ./test.sh -f tsim/db/basic1.sim +# ./test.sh -f tsim/db/basic2.sim +# ./test.sh -f tsim/db/basic3.sim +# ./test.sh -f tsim/db/basic4.sim +# ./test.sh -f tsim/db/basic5.sim +# ./test.sh -f tsim/db/basic6.sim +# ./test.sh -f tsim/db/commit.sim +# ./test.sh -f tsim/db/create_all_options.sim +# ./test.sh -f tsim/db/delete_reuse1.sim +# ./test.sh -f tsim/db/delete_reuse2.sim +# ./test.sh -f tsim/db/delete_reusevnode.sim +# ./test.sh -f tsim/db/delete_reusevnode2.sim +# ./test.sh -f tsim/db/delete_writing1.sim +# ./test.sh -f tsim/db/delete_writing2.sim +# # unsupport ./test.sh -f tsim/db/dropdnodes.sim +# ./test.sh -f tsim/db/error1.sim +# ./test.sh -f tsim/db/keep.sim +# ./test.sh -f tsim/db/len.sim +# ./test.sh -f tsim/db/repeat.sim +# ./test.sh -f tsim/db/show_create_db.sim +# ./test.sh -f tsim/db/show_create_table.sim +# ./test.sh -f tsim/db/tables.sim +# ./test.sh -f tsim/db/taosdlog.sim -# ---- dnode -# unsupport ./test.sh -f tsim/dnode/balance_replica1.sim -# unsupport ./test.sh -f tsim/dnode/balance_replica3.sim -# unsupport ./test.sh -f tsim/dnode/balance1.sim -# unsupport ./test.sh -f tsim/dnode/balance2.sim -# unsupport ./test.sh -f tsim/dnode/balance3.sim -# unsupport ./test.sh -f tsim/dnode/balancex.sim -./test.sh -f tsim/dnode/create_dnode.sim -./test.sh -f tsim/dnode/drop_dnode_has_mnode.sim -# unsupport ./test.sh -f tsim/dnode/drop_dnode_has_qnode_snode.sim -# unsupport ./test.sh -f tsim/dnode/drop_dnode_has_vnode_replica1.sim -# unsupport ./test.sh -f tsim/dnode/drop_dnode_has_vnode_replica3.sim -# unsupport ./test.sh -f tsim/dnode/drop_dnode_has_multi_vnode_replica1.sim -# unsupport ./test.sh -f tsim/dnode/drop_dnode_has_multi_vnode_replica3.sim -./test.sh -f tsim/dnode/offline_reason.sim -# unsupport ./test.sh -f tsim/dnode/redistribute_vgroup_replica1.sim -# unsupport ./test.sh -f tsim/dnode/redistribute_vgroup_replica3_v1_leader.sim -# unsupport ./test.sh -f tsim/dnode/redistribute_vgroup_replica3_v1_follower.sim -# unsupport ./test.sh -f tsim/dnode/redistribute_vgroup_replica3_v2.sim -# unsupport ./test.sh -f tsim/dnode/redistribute_vgroup_replica3_v3.sim -# unsupport ./test.sh -f tsim/dnode/vnode_clean.sim -./test.sh -f tsim/dnode/use_dropped_dnode.sim +# # ---- dnode +# # unsupport ./test.sh -f tsim/dnode/balance_replica1.sim +# # unsupport ./test.sh -f tsim/dnode/balance_replica3.sim +# # unsupport ./test.sh -f tsim/dnode/balance1.sim +# # unsupport ./test.sh -f tsim/dnode/balance2.sim +# # unsupport ./test.sh -f tsim/dnode/balance3.sim +# # unsupport ./test.sh -f tsim/dnode/balancex.sim +# ./test.sh -f tsim/dnode/create_dnode.sim +# ./test.sh -f tsim/dnode/drop_dnode_has_mnode.sim +# # unsupport ./test.sh -f tsim/dnode/drop_dnode_has_qnode_snode.sim +# # unsupport ./test.sh -f tsim/dnode/drop_dnode_has_vnode_replica1.sim +# # unsupport ./test.sh -f tsim/dnode/drop_dnode_has_vnode_replica3.sim +# # unsupport ./test.sh -f tsim/dnode/drop_dnode_has_multi_vnode_replica1.sim +# # unsupport ./test.sh -f tsim/dnode/drop_dnode_has_multi_vnode_replica3.sim +# ./test.sh -f tsim/dnode/offline_reason.sim +# # unsupport ./test.sh -f tsim/dnode/redistribute_vgroup_replica1.sim +# # unsupport ./test.sh -f tsim/dnode/redistribute_vgroup_replica3_v1_leader.sim +# # unsupport ./test.sh -f tsim/dnode/redistribute_vgroup_replica3_v1_follower.sim +# # unsupport ./test.sh -f tsim/dnode/redistribute_vgroup_replica3_v2.sim +# # unsupport ./test.sh -f tsim/dnode/redistribute_vgroup_replica3_v3.sim +# # unsupport ./test.sh -f tsim/dnode/vnode_clean.sim +# ./test.sh -f tsim/dnode/use_dropped_dnode.sim -# ---- import ---- -./test.sh -f tsim/import/basic.sim -./test.sh -f tsim/import/commit.sim -./test.sh -f tsim/import/large.sim -./test.sh -f tsim/import/replica1.sim +# # ---- import ---- +# ./test.sh -f tsim/import/basic.sim +# ./test.sh -f tsim/import/commit.sim +# ./test.sh -f tsim/import/large.sim +# ./test.sh -f tsim/import/replica1.sim -# ---- insert ---- -./test.sh -f tsim/insert/backquote.sim -./test.sh -f tsim/insert/basic.sim -./test.sh -f tsim/insert/basic0.sim -./test.sh -f tsim/insert/basic1.sim -./test.sh -f tsim/insert/basic2.sim -./test.sh -f tsim/insert/commit-merge0.sim -./test.sh -f tsim/insert/insert_drop.sim -./test.sh -f tsim/insert/insert_select.sim -./test.sh -f tsim/insert/null.sim -./test.sh -f tsim/insert/query_block1_file.sim -./test.sh -f tsim/insert/query_block1_memory.sim -./test.sh -f tsim/insert/query_block2_file.sim -./test.sh -f tsim/insert/query_block2_memory.sim -./test.sh -f tsim/insert/query_file_memory.sim -./test.sh -f tsim/insert/query_multi_file.sim -./test.sh -f tsim/insert/tcp.sim -./test.sh -f tsim/insert/update0.sim -./test.sh -f tsim/insert/update1_sort_merge.sim +# # ---- insert ---- +# ./test.sh -f tsim/insert/backquote.sim +# ./test.sh -f tsim/insert/basic.sim +# ./test.sh -f tsim/insert/basic0.sim +# ./test.sh -f tsim/insert/basic1.sim +# ./test.sh -f tsim/insert/basic2.sim +# ./test.sh -f tsim/insert/commit-merge0.sim +# ./test.sh -f tsim/insert/insert_drop.sim +# ./test.sh -f tsim/insert/insert_select.sim +# ./test.sh -f tsim/insert/null.sim +# ./test.sh -f tsim/insert/query_block1_file.sim +# ./test.sh -f tsim/insert/query_block1_memory.sim +# ./test.sh -f tsim/insert/query_block2_file.sim +# ./test.sh -f tsim/insert/query_block2_memory.sim +# ./test.sh -f tsim/insert/query_file_memory.sim +# ./test.sh -f tsim/insert/query_multi_file.sim +# ./test.sh -f tsim/insert/tcp.sim +# ./test.sh -f tsim/insert/update0.sim +# ./test.sh -f tsim/insert/update1_sort_merge.sim -# ---- parser ---- -./test.sh -f tsim/parser/alter__for_community_version.sim -./test.sh -f tsim/parser/alter_column.sim -./test.sh -f tsim/parser/alter_stable.sim -./test.sh -f tsim/parser/alter.sim -./test.sh -f tsim/parser/alter1.sim -./test.sh -f tsim/parser/auto_create_tb_drop_tb.sim -./test.sh -f tsim/parser/auto_create_tb.sim -./test.sh -f tsim/parser/between_and.sim -./test.sh -f tsim/parser/binary_escapeCharacter.sim -./test.sh -f tsim/parser/col_arithmetic_operation.sim -./test.sh -f tsim/parser/columnValue_bigint.sim -./test.sh -f tsim/parser/columnValue_bool.sim -./test.sh -f tsim/parser/columnValue_double.sim -./test.sh -f tsim/parser/columnValue_float.sim -./test.sh -f tsim/parser/columnValue_int.sim -./test.sh -f tsim/parser/columnValue_smallint.sim -./test.sh -f tsim/parser/columnValue_tinyint.sim -./test.sh -f tsim/parser/columnValue_unsign.sim -./test.sh -f tsim/parser/commit.sim -./test.sh -f tsim/parser/condition.sim -./test.sh -f tsim/parser/constCol.sim -./test.sh -f tsim/parser/create_db.sim -./test.sh -f tsim/parser/create_mt.sim -./test.sh -f tsim/parser/create_tb_with_tag_name.sim -./test.sh -f tsim/parser/create_tb.sim -./test.sh -f tsim/parser/dbtbnameValidate.sim -./test.sh -f tsim/parser/distinct.sim -# TD-17623 ./test.sh -f tsim/parser/fill_stb.sim -./test.sh -f tsim/parser/fill_us.sim -./test.sh -f tsim/parser/fill.sim -./test.sh -f tsim/parser/first_last.sim -./test.sh -f tsim/parser/fourArithmetic-basic.sim -./test.sh -f tsim/parser/function.sim -./test.sh -f tsim/parser/groupby-basic.sim -./test.sh -f tsim/parser/groupby.sim -./test.sh -f tsim/parser/having_child.sim -./test.sh -f tsim/parser/having.sim -./test.sh -f tsim/parser/import_commit1.sim -./test.sh -f tsim/parser/import_commit2.sim -./test.sh -f tsim/parser/import_commit3.sim -./test.sh -f tsim/parser/import_file.sim -./test.sh -f tsim/parser/import.sim -./test.sh -f tsim/parser/insert_multiTbl.sim -./test.sh -f tsim/parser/insert_tb.sim -# TD-18293 ./test.sh -f tsim/parser/interp.sim -./test.sh -f tsim/parser/join_manyblocks.sim -./test.sh -f tsim/parser/join_multitables.sim -./test.sh -f tsim/parser/join_multivnode.sim -./test.sh -f tsim/parser/join.sim -./test.sh -f tsim/parser/last_cache.sim -./test.sh -f tsim/parser/last_groupby.sim -./test.sh -f tsim/parser/lastrow.sim -./test.sh -f tsim/parser/lastrow2.sim -./test.sh -f tsim/parser/like.sim -./test.sh -f tsim/parser/limit.sim -./test.sh -f tsim/parser/limit1.sim -# TD-17623 ./test.sh -f tsim/parser/limit2.sim -./test.sh -f tsim/parser/mixed_blocks.sim -./test.sh -f tsim/parser/nchar.sim -./test.sh -f tsim/parser/nestquery.sim -./test.sh -f tsim/parser/null_char.sim -./test.sh -f tsim/parser/precision_ns.sim -./test.sh -f tsim/parser/projection_limit_offset.sim -./test.sh -f tsim/parser/regex.sim -./test.sh -f tsim/parser/select_across_vnodes.sim -./test.sh -f tsim/parser/select_distinct_tag.sim -./test.sh -f tsim/parser/select_from_cache_disk.sim -./test.sh -f tsim/parser/select_with_tags.sim -./test.sh -f tsim/parser/selectResNum.sim -./test.sh -f tsim/parser/set_tag_vals.sim -# TD-19572 ./test.sh -f tsim/parser/single_row_in_tb.sim -./test.sh -f tsim/parser/sliding.sim -./test.sh -f tsim/parser/slimit_alter_tags.sim -./test.sh -f tsim/parser/slimit.sim -./test.sh -f tsim/parser/slimit1.sim -./test.sh -f tsim/parser/stableOp.sim -./test.sh -f tsim/parser/tags_dynamically_specifiy.sim -./test.sh -f tsim/parser/tags_filter.sim -./test.sh -f tsim/parser/tbnameIn.sim -./test.sh -f tsim/parser/timestamp.sim -./test.sh -f tsim/parser/top_groupby.sim -./test.sh -f tsim/parser/topbot.sim -./test.sh -f tsim/parser/union.sim -./test.sh -f tsim/parser/union_sysinfo.sim -./test.sh -f tsim/parser/where.sim +# # ---- parser ---- +# ./test.sh -f tsim/parser/alter__for_community_version.sim +# ./test.sh -f tsim/parser/alter_column.sim +# ./test.sh -f tsim/parser/alter_stable.sim +# ./test.sh -f tsim/parser/alter.sim +# ./test.sh -f tsim/parser/alter1.sim +# ./test.sh -f tsim/parser/auto_create_tb_drop_tb.sim +# ./test.sh -f tsim/parser/auto_create_tb.sim +# ./test.sh -f tsim/parser/between_and.sim +# ./test.sh -f tsim/parser/binary_escapeCharacter.sim +# ./test.sh -f tsim/parser/col_arithmetic_operation.sim +# ./test.sh -f tsim/parser/columnValue_bigint.sim +# ./test.sh -f tsim/parser/columnValue_bool.sim +# ./test.sh -f tsim/parser/columnValue_double.sim +# ./test.sh -f tsim/parser/columnValue_float.sim +# ./test.sh -f tsim/parser/columnValue_int.sim +# ./test.sh -f tsim/parser/columnValue_smallint.sim +# ./test.sh -f tsim/parser/columnValue_tinyint.sim +# ./test.sh -f tsim/parser/columnValue_unsign.sim +# ./test.sh -f tsim/parser/commit.sim +# ./test.sh -f tsim/parser/condition.sim +# ./test.sh -f tsim/parser/constCol.sim +# ./test.sh -f tsim/parser/create_db.sim +# ./test.sh -f tsim/parser/create_mt.sim +# ./test.sh -f tsim/parser/create_tb_with_tag_name.sim +# ./test.sh -f tsim/parser/create_tb.sim +# ./test.sh -f tsim/parser/dbtbnameValidate.sim +# ./test.sh -f tsim/parser/distinct.sim +# # TD-17623 ./test.sh -f tsim/parser/fill_stb.sim +# ./test.sh -f tsim/parser/fill_us.sim +# ./test.sh -f tsim/parser/fill.sim +# ./test.sh -f tsim/parser/first_last.sim +# ./test.sh -f tsim/parser/fourArithmetic-basic.sim +# ./test.sh -f tsim/parser/function.sim +# ./test.sh -f tsim/parser/groupby-basic.sim +# ./test.sh -f tsim/parser/groupby.sim +# ./test.sh -f tsim/parser/having_child.sim +# ./test.sh -f tsim/parser/having.sim +# ./test.sh -f tsim/parser/import_commit1.sim +# ./test.sh -f tsim/parser/import_commit2.sim +# ./test.sh -f tsim/parser/import_commit3.sim +# ./test.sh -f tsim/parser/import_file.sim +# ./test.sh -f tsim/parser/import.sim +# ./test.sh -f tsim/parser/insert_multiTbl.sim +# ./test.sh -f tsim/parser/insert_tb.sim +# # TD-18293 ./test.sh -f tsim/parser/interp.sim +# ./test.sh -f tsim/parser/join_manyblocks.sim +# ./test.sh -f tsim/parser/join_multitables.sim +# ./test.sh -f tsim/parser/join_multivnode.sim +# ./test.sh -f tsim/parser/join.sim +# ./test.sh -f tsim/parser/last_cache.sim +# ./test.sh -f tsim/parser/last_groupby.sim +# ./test.sh -f tsim/parser/lastrow.sim +# ./test.sh -f tsim/parser/lastrow2.sim +# ./test.sh -f tsim/parser/like.sim +# ./test.sh -f tsim/parser/limit.sim +# ./test.sh -f tsim/parser/limit1.sim +# # TD-17623 ./test.sh -f tsim/parser/limit2.sim +# ./test.sh -f tsim/parser/mixed_blocks.sim +# ./test.sh -f tsim/parser/nchar.sim +# ./test.sh -f tsim/parser/nestquery.sim +# ./test.sh -f tsim/parser/null_char.sim +# ./test.sh -f tsim/parser/precision_ns.sim +# ./test.sh -f tsim/parser/projection_limit_offset.sim +# ./test.sh -f tsim/parser/regex.sim +# ./test.sh -f tsim/parser/select_across_vnodes.sim +# ./test.sh -f tsim/parser/select_distinct_tag.sim +# ./test.sh -f tsim/parser/select_from_cache_disk.sim +# ./test.sh -f tsim/parser/select_with_tags.sim +# ./test.sh -f tsim/parser/selectResNum.sim +# ./test.sh -f tsim/parser/set_tag_vals.sim +# # TD-19572 ./test.sh -f tsim/parser/single_row_in_tb.sim +# ./test.sh -f tsim/parser/sliding.sim +# ./test.sh -f tsim/parser/slimit_alter_tags.sim +# ./test.sh -f tsim/parser/slimit.sim +# ./test.sh -f tsim/parser/slimit1.sim +# ./test.sh -f tsim/parser/stableOp.sim +# ./test.sh -f tsim/parser/tags_dynamically_specifiy.sim +# ./test.sh -f tsim/parser/tags_filter.sim +# ./test.sh -f tsim/parser/tbnameIn.sim +# ./test.sh -f tsim/parser/timestamp.sim +# ./test.sh -f tsim/parser/top_groupby.sim +# ./test.sh -f tsim/parser/topbot.sim +# ./test.sh -f tsim/parser/union.sim +# ./test.sh -f tsim/parser/union_sysinfo.sim +# ./test.sh -f tsim/parser/where.sim -# ---- query ---- -./test.sh -f tsim/query/charScalarFunction.sim -./test.sh -f tsim/query/explain.sim -./test.sh -f tsim/query/interval-offset.sim -./test.sh -f tsim/query/interval.sim -./test.sh -f tsim/query/scalarFunction.sim -./test.sh -f tsim/query/scalarNull.sim -./test.sh -f tsim/query/session.sim -./test.sh -f tsim/query/udf.sim +# # ---- query ---- +# ./test.sh -f tsim/query/charScalarFunction.sim +# ./test.sh -f tsim/query/explain.sim +# ./test.sh -f tsim/query/interval-offset.sim +# ./test.sh -f tsim/query/interval.sim +# ./test.sh -f tsim/query/scalarFunction.sim +# ./test.sh -f tsim/query/scalarNull.sim +# ./test.sh -f tsim/query/session.sim +# ./test.sh -f tsim/query/udf.sim -# ---- qnode -./test.sh -f tsim/qnode/basic1.sim +# # ---- qnode +# ./test.sh -f tsim/qnode/basic1.sim -# ---- snode ---- -# unsupport ./test.sh -f tsim/snode/basic1.sim +# # ---- snode ---- +# # unsupport ./test.sh -f tsim/snode/basic1.sim -# ---- bnode -./test.sh -f tsim/bnode/basic1.sim +# # ---- bnode +# ./test.sh -f tsim/bnode/basic1.sim -# ---- mnode -./test.sh -f tsim/mnode/basic1.sim -./test.sh -f tsim/mnode/basic2.sim -./test.sh -f tsim/mnode/basic3.sim -./test.sh -f tsim/mnode/basic4.sim -./test.sh -f tsim/mnode/basic5.sim +# # ---- mnode +# ./test.sh -f tsim/mnode/basic1.sim +# ./test.sh -f tsim/mnode/basic2.sim +# ./test.sh -f tsim/mnode/basic3.sim +# ./test.sh -f tsim/mnode/basic4.sim +# ./test.sh -f tsim/mnode/basic5.sim -# ---- show ---- -./test.sh -f tsim/show/basic.sim +# # ---- show ---- +# ./test.sh -f tsim/show/basic.sim -# ---- table ---- -./test.sh -f tsim/table/autocreate.sim -./test.sh -f tsim/table/basic1.sim -./test.sh -f tsim/table/basic2.sim -./test.sh -f tsim/table/basic3.sim -./test.sh -f tsim/table/bigint.sim -./test.sh -f tsim/table/binary.sim -./test.sh -f tsim/table/bool.sim -./test.sh -f tsim/table/column_name.sim -./test.sh -f tsim/table/column_num.sim -./test.sh -f tsim/table/column_value.sim -./test.sh -f tsim/table/column2.sim -./test.sh -f tsim/table/createmulti.sim -./test.sh -f tsim/table/date.sim -./test.sh -f tsim/table/db.table.sim -./test.sh -f tsim/table/delete_reuse1.sim -./test.sh -f tsim/table/delete_reuse2.sim -./test.sh -f tsim/table/delete_writing.sim -./test.sh -f tsim/table/describe.sim -./test.sh -f tsim/table/double.sim -./test.sh -f tsim/table/float.sim -./test.sh -f tsim/table/hash.sim -./test.sh -f tsim/table/int.sim -./test.sh -f tsim/table/limit.sim -./test.sh -f tsim/table/smallint.sim -./test.sh -f tsim/table/table_len.sim -./test.sh -f tsim/table/table.sim -./test.sh -f tsim/table/tinyint.sim -./test.sh -f tsim/table/vgroup.sim +# # ---- table ---- +# ./test.sh -f tsim/table/autocreate.sim +# ./test.sh -f tsim/table/basic1.sim +# ./test.sh -f tsim/table/basic2.sim +# ./test.sh -f tsim/table/basic3.sim +# ./test.sh -f tsim/table/bigint.sim +# ./test.sh -f tsim/table/binary.sim +# ./test.sh -f tsim/table/bool.sim +# ./test.sh -f tsim/table/column_name.sim +# ./test.sh -f tsim/table/column_num.sim +# ./test.sh -f tsim/table/column_value.sim +# ./test.sh -f tsim/table/column2.sim +# ./test.sh -f tsim/table/createmulti.sim +# ./test.sh -f tsim/table/date.sim +# ./test.sh -f tsim/table/db.table.sim +# ./test.sh -f tsim/table/delete_reuse1.sim +# ./test.sh -f tsim/table/delete_reuse2.sim +# ./test.sh -f tsim/table/delete_writing.sim +# ./test.sh -f tsim/table/describe.sim +# ./test.sh -f tsim/table/double.sim +# ./test.sh -f tsim/table/float.sim +# ./test.sh -f tsim/table/hash.sim +# ./test.sh -f tsim/table/int.sim +# ./test.sh -f tsim/table/limit.sim +# ./test.sh -f tsim/table/smallint.sim +# ./test.sh -f tsim/table/table_len.sim +# ./test.sh -f tsim/table/table.sim +# ./test.sh -f tsim/table/tinyint.sim +# ./test.sh -f tsim/table/vgroup.sim -# ---- stream -./test.sh -f tsim/stream/basic0.sim -./test.sh -f tsim/stream/basic1.sim -./test.sh -f tsim/stream/basic2.sim -./test.sh -f tsim/stream/drop_stream.sim -./test.sh -f tsim/stream/distributeInterval0.sim -./test.sh -f tsim/stream/distributeIntervalRetrive0.sim -./test.sh -f tsim/stream/distributeSession0.sim -./test.sh -f tsim/stream/session0.sim -./test.sh -f tsim/stream/session1.sim -./test.sh -f tsim/stream/state0.sim -./test.sh -f tsim/stream/triggerInterval0.sim -./test.sh -f tsim/stream/triggerSession0.sim -./test.sh -f tsim/stream/partitionby.sim -./test.sh -f tsim/stream/partitionby1.sim -# unsupport ./test.sh -f tsim/stream/schedSnode.sim -./test.sh -f tsim/stream/windowClose.sim -./test.sh -f tsim/stream/ignoreExpiredData.sim -./test.sh -f tsim/stream/sliding.sim -#./test.sh -f tsim/stream/partitionbyColumnInterval.sim -#./test.sh -f tsim/stream/partitionbyColumnSession.sim -#./test.sh -f tsim/stream/partitionbyColumnState.sim -#./test.sh -f tsim/stream/deleteInterval.sim -#./test.sh -f tsim/stream/deleteSession.sim -#./test.sh -f tsim/stream/deleteState.sim +# # ---- stream +# ./test.sh -f tsim/stream/basic0.sim +# ./test.sh -f tsim/stream/basic1.sim +# ./test.sh -f tsim/stream/basic2.sim +# ./test.sh -f tsim/stream/drop_stream.sim +# ./test.sh -f tsim/stream/distributeInterval0.sim +# ./test.sh -f tsim/stream/distributeIntervalRetrive0.sim +# ./test.sh -f tsim/stream/distributeSession0.sim +# ./test.sh -f tsim/stream/session0.sim +# ./test.sh -f tsim/stream/session1.sim +# ./test.sh -f tsim/stream/state0.sim +# ./test.sh -f tsim/stream/triggerInterval0.sim +# ./test.sh -f tsim/stream/triggerSession0.sim +# ./test.sh -f tsim/stream/partitionby.sim +# ./test.sh -f tsim/stream/partitionby1.sim +# # unsupport ./test.sh -f tsim/stream/schedSnode.sim +# ./test.sh -f tsim/stream/windowClose.sim +# ./test.sh -f tsim/stream/ignoreExpiredData.sim +# ./test.sh -f tsim/stream/sliding.sim +# #./test.sh -f tsim/stream/partitionbyColumnInterval.sim +# #./test.sh -f tsim/stream/partitionbyColumnSession.sim +# #./test.sh -f tsim/stream/partitionbyColumnState.sim +# #./test.sh -f tsim/stream/deleteInterval.sim +# #./test.sh -f tsim/stream/deleteSession.sim +# #./test.sh -f tsim/stream/deleteState.sim -# ---- transaction ---- -./test.sh -f tsim/trans/lossdata1.sim -./test.sh -f tsim/trans/create_db.sim +# # ---- transaction ---- +# ./test.sh -f tsim/trans/lossdata1.sim +# ./test.sh -f tsim/trans/create_db.sim -# ---- tmq -./test.sh -f tsim/tmq/basic1.sim -./test.sh -f tsim/tmq/basic2.sim -./test.sh -f tsim/tmq/basic3.sim -./test.sh -f tsim/tmq/basic4.sim -./test.sh -f tsim/tmq/basic1Of2Cons.sim -./test.sh -f tsim/tmq/basic2Of2Cons.sim -./test.sh -f tsim/tmq/basic3Of2Cons.sim -./test.sh -f tsim/tmq/basic4Of2Cons.sim -./test.sh -f tsim/tmq/basic2Of2ConsOverlap.sim -./test.sh -f tsim/tmq/topic.sim -./test.sh -f tsim/tmq/snapshot.sim -./test.sh -f tsim/tmq/snapshot1.sim +# # ---- tmq +# ./test.sh -f tsim/tmq/basic1.sim +# ./test.sh -f tsim/tmq/basic2.sim +# ./test.sh -f tsim/tmq/basic3.sim +# ./test.sh -f tsim/tmq/basic4.sim +# ./test.sh -f tsim/tmq/basic1Of2Cons.sim +# ./test.sh -f tsim/tmq/basic2Of2Cons.sim +# ./test.sh -f tsim/tmq/basic3Of2Cons.sim +# ./test.sh -f tsim/tmq/basic4Of2Cons.sim +# ./test.sh -f tsim/tmq/basic2Of2ConsOverlap.sim +# ./test.sh -f tsim/tmq/topic.sim +# ./test.sh -f tsim/tmq/snapshot.sim +# ./test.sh -f tsim/tmq/snapshot1.sim -# --- stable ---- -./test.sh -f tsim/stable/alter_comment.sim -./test.sh -f tsim/stable/alter_count.sim -./test.sh -f tsim/stable/alter_import.sim -./test.sh -f tsim/stable/alter_insert1.sim -./test.sh -f tsim/stable/alter_insert2.sim -./test.sh -f tsim/stable/alter_metrics.sim -./test.sh -f tsim/stable/column_add.sim -./test.sh -f tsim/stable/column_drop.sim -./test.sh -f tsim/stable/column_modify.sim -./test.sh -f tsim/stable/disk.sim -./test.sh -f tsim/stable/dnode3.sim -./test.sh -f tsim/stable/metrics.sim -./test.sh -f tsim/stable/refcount.sim -./test.sh -f tsim/stable/tag_add.sim -./test.sh -f tsim/stable/tag_drop.sim -./test.sh -f tsim/stable/tag_filter.sim -./test.sh -f tsim/stable/tag_modify.sim -./test.sh -f tsim/stable/tag_rename.sim -./test.sh -f tsim/stable/values.sim -./test.sh -f tsim/stable/vnode3.sim +# # --- stable ---- +# ./test.sh -f tsim/stable/alter_comment.sim +# ./test.sh -f tsim/stable/alter_count.sim +# ./test.sh -f tsim/stable/alter_import.sim +# ./test.sh -f tsim/stable/alter_insert1.sim +# ./test.sh -f tsim/stable/alter_insert2.sim +# ./test.sh -f tsim/stable/alter_metrics.sim +# ./test.sh -f tsim/stable/column_add.sim +# ./test.sh -f tsim/stable/column_drop.sim +# ./test.sh -f tsim/stable/column_modify.sim +# ./test.sh -f tsim/stable/disk.sim +# ./test.sh -f tsim/stable/dnode3.sim +# ./test.sh -f tsim/stable/metrics.sim +# ./test.sh -f tsim/stable/refcount.sim +# ./test.sh -f tsim/stable/tag_add.sim +# ./test.sh -f tsim/stable/tag_drop.sim +# ./test.sh -f tsim/stable/tag_filter.sim +# ./test.sh -f tsim/stable/tag_modify.sim +# ./test.sh -f tsim/stable/tag_rename.sim +# ./test.sh -f tsim/stable/values.sim +# ./test.sh -f tsim/stable/vnode3.sim -# --- for multi process mode -./test.sh -f tsim/user/basic.sim -m -./test.sh -f tsim/db/basic3.sim -m -./test.sh -f tsim/db/error1.sim -m -./test.sh -f tsim/insert/backquote.sim -m -# unsupport ./test.sh -f tsim/parser/fourArithmetic-basic.sim -m -./test.sh -f tsim/query/interval-offset.sim -m -# unsupport ./test.sh -f tsim/tmq/basic3.sim -m -./test.sh -f tsim/stable/vnode3.sim -m -./test.sh -f tsim/qnode/basic1.sim -m -# unsupport ./test.sh -f tsim/mnode/basic1.sim -m +# # --- for multi process mode +# ./test.sh -f tsim/user/basic.sim -m +# ./test.sh -f tsim/db/basic3.sim -m +# ./test.sh -f tsim/db/error1.sim -m +# ./test.sh -f tsim/insert/backquote.sim -m +# # unsupport ./test.sh -f tsim/parser/fourArithmetic-basic.sim -m +# ./test.sh -f tsim/query/interval-offset.sim -m +# # unsupport ./test.sh -f tsim/tmq/basic3.sim -m +# ./test.sh -f tsim/stable/vnode3.sim -m +# ./test.sh -f tsim/qnode/basic1.sim -m +# # unsupport ./test.sh -f tsim/mnode/basic1.sim -m -# --- sma -./test.sh -f tsim/sma/drop_sma.sim -./test.sh -f tsim/sma/tsmaCreateInsertQuery.sim -# temp disable -./test.sh -f tsim/sma/rsmaCreateInsertQuery.sim -./test.sh -f tsim/sma/rsmaPersistenceRecovery.sim +# # --- sma +# ./test.sh -f tsim/sma/drop_sma.sim +# ./test.sh -f tsim/sma/tsmaCreateInsertQuery.sim +# # temp disable +# ./test.sh -f tsim/sma/rsmaCreateInsertQuery.sim +# ./test.sh -f tsim/sma/rsmaPersistenceRecovery.sim -# --- valgrind ---- -./test.sh -f tsim/valgrind/checkError1.sim -./test.sh -f tsim/valgrind/checkError2.sim -./test.sh -f tsim/valgrind/checkError3.sim -./test.sh -f tsim/valgrind/checkError4.sim -./test.sh -f tsim/valgrind/checkError5.sim -./test.sh -f tsim/valgrind/checkError6.sim -./test.sh -f tsim/valgrind/checkError7.sim -./test.sh -f tsim/valgrind/checkError8.sim -./test.sh -f tsim/valgrind/checkUdf.sim +# # --- valgrind ---- +# ./test.sh -f tsim/valgrind/checkError1.sim +# ./test.sh -f tsim/valgrind/checkError2.sim +# ./test.sh -f tsim/valgrind/checkError3.sim +# ./test.sh -f tsim/valgrind/checkError4.sim +# ./test.sh -f tsim/valgrind/checkError5.sim +# ./test.sh -f tsim/valgrind/checkError6.sim +# ./test.sh -f tsim/valgrind/checkError7.sim +# ./test.sh -f tsim/valgrind/checkError8.sim +# ./test.sh -f tsim/valgrind/checkUdf.sim -# --- vnode ---- -# unsupport ./test.sh -f tsim/vnode/replica3_basic.sim -# unsupport ./test.sh -f tsim/vnode/replica3_repeat.sim -# unsupport ./test.sh -f tsim/vnode/replica3_vgroup.sim -# unsupport ./test.sh -f tsim/vnode/replica3_many.sim -# unsupport ./test.sh -f tsim/vnode/replica3_import.sim -# unsupport ./test.sh -f tsim/vnode/stable_balance_replica1.sim -# unsupport ./test.sh -f tsim/vnode/stable_dnode2_stop.sim -./test.sh -f tsim/vnode/stable_dnode2.sim -./test.sh -f tsim/vnode/stable_dnode3.sim -./test.sh -f tsim/vnode/stable_replica3_dnode6.sim -./test.sh -f tsim/vnode/stable_replica3_vnode3.sim +# # --- vnode ---- +# # unsupport ./test.sh -f tsim/vnode/replica3_basic.sim +# # unsupport ./test.sh -f tsim/vnode/replica3_repeat.sim +# # unsupport ./test.sh -f tsim/vnode/replica3_vgroup.sim +# # unsupport ./test.sh -f tsim/vnode/replica3_many.sim +# # unsupport ./test.sh -f tsim/vnode/replica3_import.sim +# # unsupport ./test.sh -f tsim/vnode/stable_balance_replica1.sim +# # unsupport ./test.sh -f tsim/vnode/stable_dnode2_stop.sim +# ./test.sh -f tsim/vnode/stable_dnode2.sim +# ./test.sh -f tsim/vnode/stable_dnode3.sim +# ./test.sh -f tsim/vnode/stable_replica3_dnode6.sim +# ./test.sh -f tsim/vnode/stable_replica3_vnode3.sim -# --- sync -./test.sh -f tsim/sync/3Replica1VgElect.sim -./test.sh -f tsim/sync/3Replica5VgElect.sim -./test.sh -f tsim/sync/oneReplica1VgElect.sim -./test.sh -f tsim/sync/oneReplica5VgElect.sim +# # --- sync +# ./test.sh -f tsim/sync/3Replica1VgElect.sim +# ./test.sh -f tsim/sync/3Replica5VgElect.sim +# ./test.sh -f tsim/sync/oneReplica1VgElect.sim +# ./test.sh -f tsim/sync/oneReplica5VgElect.sim -# --- catalog ---- -./test.sh -f tsim/catalog/alterInCurrent.sim +# # --- catalog ---- +# ./test.sh -f tsim/catalog/alterInCurrent.sim -# --- scalar ---- -./test.sh -f tsim/scalar/in.sim -./test.sh -f tsim/scalar/scalar.sim -./test.sh -f tsim/scalar/filter.sim -./test.sh -f tsim/scalar/caseWhen.sim +# # --- scalar ---- +# ./test.sh -f tsim/scalar/in.sim +# ./test.sh -f tsim/scalar/scalar.sim +# ./test.sh -f tsim/scalar/filter.sim +# ./test.sh -f tsim/scalar/caseWhen.sim -# ---- alter ---- -./test.sh -f tsim/alter/cached_schema_after_alter.sim -./test.sh -f tsim/alter/dnode.sim -./test.sh -f tsim/alter/table.sim +# # ---- alter ---- +# ./test.sh -f tsim/alter/cached_schema_after_alter.sim +# ./test.sh -f tsim/alter/dnode.sim +# ./test.sh -f tsim/alter/table.sim -# ---- cache ---- -./test.sh -f tsim/cache/new_metrics.sim -./test.sh -f tsim/cache/restart_table.sim -./test.sh -f tsim/cache/restart_metrics.sim +# # ---- cache ---- +# ./test.sh -f tsim/cache/new_metrics.sim +# ./test.sh -f tsim/cache/restart_table.sim +# ./test.sh -f tsim/cache/restart_metrics.sim -# ---- column ---- -./test.sh -f tsim/column/commit.sim -./test.sh -f tsim/column/metrics.sim -./test.sh -f tsim/column/table.sim +# # ---- column ---- +# ./test.sh -f tsim/column/commit.sim +# ./test.sh -f tsim/column/metrics.sim +# ./test.sh -f tsim/column/table.sim -# ---- compress ---- -./test.sh -f tsim/compress/commitlog.sim -./test.sh -f tsim/compress/compress2.sim -./test.sh -f tsim/compress/compress.sim -./test.sh -f tsim/compress/uncompress.sim +# # ---- compress ---- +# ./test.sh -f tsim/compress/commitlog.sim +# ./test.sh -f tsim/compress/compress2.sim +# ./test.sh -f tsim/compress/compress.sim +# ./test.sh -f tsim/compress/uncompress.sim -# ---- compute ---- -./test.sh -f tsim/compute/avg.sim -./test.sh -f tsim/compute/block_dist.sim -./test.sh -f tsim/compute/bottom.sim -./test.sh -f tsim/compute/count.sim -./test.sh -f tsim/compute/diff.sim -./test.sh -f tsim/compute/diff2.sim -./test.sh -f tsim/compute/first.sim -./test.sh -f tsim/compute/interval.sim -./test.sh -f tsim/compute/last_row.sim -./test.sh -f tsim/compute/last.sim -./test.sh -f tsim/compute/leastsquare.sim -./test.sh -f tsim/compute/max.sim -./test.sh -f tsim/compute/min.sim -./test.sh -f tsim/compute/null.sim -./test.sh -f tsim/compute/percentile.sim -./test.sh -f tsim/compute/stddev.sim -./test.sh -f tsim/compute/sum.sim -./test.sh -f tsim/compute/top.sim +# # ---- compute ---- +# ./test.sh -f tsim/compute/avg.sim +# ./test.sh -f tsim/compute/block_dist.sim +# ./test.sh -f tsim/compute/bottom.sim +# ./test.sh -f tsim/compute/count.sim +# ./test.sh -f tsim/compute/diff.sim +# ./test.sh -f tsim/compute/diff2.sim +# ./test.sh -f tsim/compute/first.sim +# ./test.sh -f tsim/compute/interval.sim +# ./test.sh -f tsim/compute/last_row.sim +# ./test.sh -f tsim/compute/last.sim +# ./test.sh -f tsim/compute/leastsquare.sim +# ./test.sh -f tsim/compute/max.sim +# ./test.sh -f tsim/compute/min.sim +# ./test.sh -f tsim/compute/null.sim +# ./test.sh -f tsim/compute/percentile.sim +# ./test.sh -f tsim/compute/stddev.sim +# ./test.sh -f tsim/compute/sum.sim +# ./test.sh -f tsim/compute/top.sim -# ---- field ---- -./test.sh -f tsim/field/2.sim -./test.sh -f tsim/field/3.sim -./test.sh -f tsim/field/4.sim -./test.sh -f tsim/field/5.sim -./test.sh -f tsim/field/6.sim -./test.sh -f tsim/field/binary.sim -./test.sh -f tsim/field/bigint.sim -./test.sh -f tsim/field/bool.sim -./test.sh -f tsim/field/double.sim -./test.sh -f tsim/field/float.sim -./test.sh -f tsim/field/int.sim -./test.sh -f tsim/field/single.sim -./test.sh -f tsim/field/smallint.sim -./test.sh -f tsim/field/tinyint.sim -./test.sh -f tsim/field/unsigined_bigint.sim +# # ---- field ---- +# ./test.sh -f tsim/field/2.sim +# ./test.sh -f tsim/field/3.sim +# ./test.sh -f tsim/field/4.sim +# ./test.sh -f tsim/field/5.sim +# ./test.sh -f tsim/field/6.sim +# ./test.sh -f tsim/field/binary.sim +# ./test.sh -f tsim/field/bigint.sim +# ./test.sh -f tsim/field/bool.sim +# ./test.sh -f tsim/field/double.sim +# ./test.sh -f tsim/field/float.sim +# ./test.sh -f tsim/field/int.sim +# ./test.sh -f tsim/field/single.sim +# ./test.sh -f tsim/field/smallint.sim +# ./test.sh -f tsim/field/tinyint.sim +# ./test.sh -f tsim/field/unsigined_bigint.sim -# ---- vector ---- -./test.sh -f tsim/vector/metrics_field.sim -./test.sh -f tsim/vector/metrics_mix.sim -./test.sh -f tsim/vector/metrics_query.sim -./test.sh -f tsim/vector/metrics_tag.sim -./test.sh -f tsim/vector/metrics_time.sim -./test.sh -f tsim/vector/multi.sim -./test.sh -f tsim/vector/single.sim -./test.sh -f tsim/vector/table_field.sim -./test.sh -f tsim/vector/table_mix.sim -./test.sh -f tsim/vector/table_query.sim -./test.sh -f tsim/vector/table_time.sim +# # ---- vector ---- +# ./test.sh -f tsim/vector/metrics_field.sim +# ./test.sh -f tsim/vector/metrics_mix.sim +# ./test.sh -f tsim/vector/metrics_query.sim +# ./test.sh -f tsim/vector/metrics_tag.sim +# ./test.sh -f tsim/vector/metrics_time.sim +# ./test.sh -f tsim/vector/multi.sim +# ./test.sh -f tsim/vector/single.sim +# ./test.sh -f tsim/vector/table_field.sim +# ./test.sh -f tsim/vector/table_mix.sim +# ./test.sh -f tsim/vector/table_query.sim +# ./test.sh -f tsim/vector/table_time.sim -# ---- wal ---- -./test.sh -f tsim/wal/kill.sim +# # ---- wal ---- +# ./test.sh -f tsim/wal/kill.sim -# ---- tag ---- -./test.sh -f tsim/tag/3.sim -./test.sh -f tsim/tag/4.sim -./test.sh -f tsim/tag/5.sim -./test.sh -f tsim/tag/6.sim -./test.sh -f tsim/tag/add.sim -./test.sh -f tsim/tag/bigint.sim -./test.sh -f tsim/tag/binary_binary.sim -./test.sh -f tsim/tag/binary.sim -./test.sh -f tsim/tag/bool_binary.sim -./test.sh -f tsim/tag/bool_int.sim -./test.sh -f tsim/tag/bool.sim -./test.sh -f tsim/tag/change.sim -./test.sh -f tsim/tag/column.sim -./test.sh -f tsim/tag/commit.sim -./test.sh -f tsim/tag/create.sim -./test.sh -f tsim/tag/delete.sim -./test.sh -f tsim/tag/double.sim -./test.sh -f tsim/tag/filter.sim -./test.sh -f tsim/tag/float.sim -./test.sh -f tsim/tag/int_binary.sim -./test.sh -f tsim/tag/int_float.sim -./test.sh -f tsim/tag/int.sim -./test.sh -f tsim/tag/set.sim -./test.sh -f tsim/tag/smallint.sim -./test.sh -f tsim/tag/tinyint.sim +# # ---- tag ---- +# ./test.sh -f tsim/tag/3.sim +# ./test.sh -f tsim/tag/4.sim +# ./test.sh -f tsim/tag/5.sim +# ./test.sh -f tsim/tag/6.sim +# ./test.sh -f tsim/tag/add.sim +# ./test.sh -f tsim/tag/bigint.sim +# ./test.sh -f tsim/tag/binary_binary.sim +# ./test.sh -f tsim/tag/binary.sim +# ./test.sh -f tsim/tag/bool_binary.sim +# ./test.sh -f tsim/tag/bool_int.sim +# ./test.sh -f tsim/tag/bool.sim +# ./test.sh -f tsim/tag/change.sim +# ./test.sh -f tsim/tag/column.sim +# ./test.sh -f tsim/tag/commit.sim +# ./test.sh -f tsim/tag/create.sim +# ./test.sh -f tsim/tag/delete.sim +# ./test.sh -f tsim/tag/double.sim +# ./test.sh -f tsim/tag/filter.sim +# ./test.sh -f tsim/tag/float.sim +# ./test.sh -f tsim/tag/int_binary.sim +# ./test.sh -f tsim/tag/int_float.sim +# ./test.sh -f tsim/tag/int.sim +# ./test.sh -f tsim/tag/set.sim +# ./test.sh -f tsim/tag/smallint.sim +# ./test.sh -f tsim/tag/tinyint.sim -#======================b1-end=============== +# #======================b1-end=============== diff --git a/tests/system-test/fulltest.sh b/tests/system-test/fulltest.sh index 4c0ef5a527..7831e86f76 100755 --- a/tests/system-test/fulltest.sh +++ b/tests/system-test/fulltest.sh @@ -2,611 +2,611 @@ set -e set -x -python3 ./test.py -f 0-others/taosShell.py -python3 ./test.py -f 0-others/taosShellError.py -python3 ./test.py -f 0-others/taosShellNetChk.py -python3 ./test.py -f 0-others/telemetry.py -python3 ./test.py -f 0-others/taosdMonitor.py -python3 ./test.py -f 0-others/udfTest.py -python3 ./test.py -f 0-others/udf_create.py -python3 ./test.py -f 0-others/udf_restart_taosd.py -python3 ./test.py -f 0-others/cachemodel.py -python3 ./test.py -f 0-others/udf_cfg1.py -python3 ./test.py -f 0-others/udf_cfg2.py +# python3 ./test.py -f 0-others/taosShell.py +# python3 ./test.py -f 0-others/taosShellError.py +# python3 ./test.py -f 0-others/taosShellNetChk.py +# python3 ./test.py -f 0-others/telemetry.py +# python3 ./test.py -f 0-others/taosdMonitor.py +# python3 ./test.py -f 0-others/udfTest.py +# python3 ./test.py -f 0-others/udf_create.py +# python3 ./test.py -f 0-others/udf_restart_taosd.py +# python3 ./test.py -f 0-others/cachemodel.py +# python3 ./test.py -f 0-others/udf_cfg1.py +# python3 ./test.py -f 0-others/udf_cfg2.py -python3 ./test.py -f 0-others/sysinfo.py -python3 ./test.py -f 0-others/user_control.py -python3 ./test.py -f 0-others/fsync.py +# python3 ./test.py -f 0-others/sysinfo.py +# python3 ./test.py -f 0-others/user_control.py +# python3 ./test.py -f 0-others/fsync.py python3 ./test.py -f 0-others/compatibility.py -python3 ./test.py -f 1-insert/alter_database.py -python3 ./test.py -f 1-insert/influxdb_line_taosc_insert.py -python3 ./test.py -f 1-insert/opentsdb_telnet_line_taosc_insert.py -python3 ./test.py -f 1-insert/opentsdb_json_taosc_insert.py -python3 ./test.py -f 1-insert/test_stmt_muti_insert_query.py -python3 ./test.py -f 1-insert/test_stmt_set_tbname_tag.py -python3 ./test.py -f 1-insert/alter_stable.py -python3 ./test.py -f 1-insert/alter_table.py -python3 ./test.py -f 1-insert/insertWithMoreVgroup.py -python3 ./test.py -f 1-insert/table_comment.py -python3 ./test.py -f 1-insert/time_range_wise.py -python3 ./test.py -f 1-insert/block_wise.py -python3 ./test.py -f 1-insert/create_retentions.py -python3 ./test.py -f 1-insert/table_param_ttl.py -python3 ./test.py -f 1-insert/mutil_stage.py -python3 ./test.py -f 1-insert/table_param_ttl.py -R -python3 ./test.py -f 1-insert/update_data_muti_rows.py -python3 ./test.py -f 1-insert/db_tb_name_check.py -python3 ./test.py -f 1-insert/database_pre_suf.py -python3 ./test.py -f 0-others/show.py -python3 ./test.py -f 2-query/abs.py -python3 ./test.py -f 2-query/abs.py -R -python3 ./test.py -f 2-query/and_or_for_byte.py -python3 ./test.py -f 2-query/and_or_for_byte.py -R -python3 ./test.py -f 2-query/apercentile.py -python3 ./test.py -f 2-query/apercentile.py -R -python3 ./test.py -f 2-query/arccos.py -python3 ./test.py -f 2-query/arccos.py -R -python3 ./test.py -f 2-query/arcsin.py -python3 ./test.py -f 2-query/arcsin.py -R -python3 ./test.py -f 2-query/arctan.py -python3 ./test.py -f 2-query/arctan.py -R -python3 ./test.py -f 2-query/avg.py -python3 ./test.py -f 2-query/avg.py -R -python3 ./test.py -f 2-query/between.py -python3 ./test.py -f 2-query/between.py -R -python3 ./test.py -f 2-query/bottom.py -python3 ./test.py -f 2-query/bottom.py -R -python3 ./test.py -f 2-query/cast.py -python3 ./test.py -f 2-query/cast.py -R -python3 ./test.py -f 2-query/ceil.py -python3 ./test.py -f 2-query/ceil.py -R -python3 ./test.py -f 2-query/char_length.py -python3 ./test.py -f 2-query/char_length.py -R -python3 ./test.py -f 2-query/check_tsdb.py -python3 ./test.py -f 2-query/check_tsdb.py -R -python3 ./test.py -f 2-query/concat.py -python3 ./test.py -f 2-query/concat.py -R -python3 ./test.py -f 2-query/concat_ws.py -python3 ./test.py -f 2-query/concat_ws.py -R -python3 ./test.py -f 2-query/concat_ws2.py -python3 ./test.py -f 2-query/concat_ws2.py -R -python3 ./test.py -f 2-query/cos.py -python3 ./test.py -f 2-query/cos.py -R -python3 ./test.py -f 2-query/count_partition.py -python3 ./test.py -f 2-query/count_partition.py -R -python3 ./test.py -f 2-query/count.py -python3 ./test.py -f 2-query/count.py -R -python3 ./test.py -f 2-query/db.py -python3 ./test.py -f 2-query/db.py -R -python3 ./test.py -f 2-query/diff.py -python3 ./test.py -f 2-query/diff.py -R -python3 ./test.py -f 2-query/distinct.py -python3 ./test.py -f 2-query/distinct.py -R -python3 ./test.py -f 2-query/distribute_agg_apercentile.py -python3 ./test.py -f 2-query/distribute_agg_apercentile.py -R -python3 ./test.py -f 2-query/distribute_agg_avg.py -python3 ./test.py -f 2-query/distribute_agg_avg.py -R -python3 ./test.py -f 2-query/distribute_agg_count.py -python3 ./test.py -f 2-query/distribute_agg_count.py -R -python3 ./test.py -f 2-query/distribute_agg_max.py -python3 ./test.py -f 2-query/distribute_agg_max.py -R -python3 ./test.py -f 2-query/distribute_agg_min.py -python3 ./test.py -f 2-query/distribute_agg_min.py -R -python3 ./test.py -f 2-query/distribute_agg_spread.py -python3 ./test.py -f 2-query/distribute_agg_spread.py -R -python3 ./test.py -f 2-query/distribute_agg_stddev.py -python3 ./test.py -f 2-query/distribute_agg_stddev.py -R -python3 ./test.py -f 2-query/distribute_agg_sum.py -python3 ./test.py -f 2-query/distribute_agg_sum.py -R -python3 ./test.py -f 2-query/explain.py -python3 ./test.py -f 2-query/explain.py -R -python3 ./test.py -f 2-query/first.py -python3 ./test.py -f 2-query/first.py -R -python3 ./test.py -f 2-query/floor.py -python3 ./test.py -f 2-query/floor.py -R -python3 ./test.py -f 2-query/function_null.py -python3 ./test.py -f 2-query/function_null.py -R -python3 ./test.py -f 2-query/function_stateduration.py -python3 ./test.py -f 2-query/function_stateduration.py -R -python3 ./test.py -f 2-query/histogram.py -python3 ./test.py -f 2-query/histogram.py -R -python3 ./test.py -f 2-query/hyperloglog.py -python3 ./test.py -f 2-query/hyperloglog.py -R -python3 ./test.py -f 2-query/interp.py -python3 ./test.py -f 2-query/interp.py -R -python3 ./test.py -f 2-query/irate.py -python3 ./test.py -f 2-query/irate.py -R -python3 ./test.py -f 2-query/join.py -python3 ./test.py -f 2-query/join.py -R -python3 ./test.py -f 2-query/last_row.py -python3 ./test.py -f 2-query/last_row.py -R -python3 ./test.py -f 2-query/last.py -python3 ./test.py -f 2-query/last.py -R -python3 ./test.py -f 2-query/leastsquares.py -python3 ./test.py -f 2-query/leastsquares.py -R -python3 ./test.py -f 2-query/length.py -python3 ./test.py -f 2-query/length.py -R -python3 ./test.py -f 2-query/log.py -# python3 ./test.py -f 2-query/log.py -R -python3 ./test.py -f 2-query/lower.py -python3 ./test.py -f 2-query/lower.py -R -python3 ./test.py -f 2-query/ltrim.py -python3 ./test.py -f 2-query/ltrim.py -R -python3 ./test.py -f 2-query/mavg.py -python3 ./test.py -f 2-query/mavg.py -R -python3 ./test.py -f 2-query/max_partition.py -python3 ./test.py -f 2-query/max_partition.py -R -python3 ./test.py -f 2-query/max.py -python3 ./test.py -f 2-query/max.py -R -python3 ./test.py -f 2-query/min.py -python3 ./test.py -f 2-query/min.py -R -python3 ./test.py -f 2-query/Now.py -python3 ./test.py -f 2-query/Now.py -R -python3 ./test.py -f 2-query/percentile.py -python3 ./test.py -f 2-query/percentile.py -R -python3 ./test.py -f 2-query/pow.py -python3 ./test.py -f 2-query/pow.py -R -python3 ./test.py -f 2-query/query_cols_tags_and_or.py -python3 ./test.py -f 2-query/query_cols_tags_and_or.py -R -python3 ./test.py -f 2-query/round.py -python3 ./test.py -f 2-query/round.py -R -python3 ./test.py -f 2-query/rtrim.py -python3 ./test.py -f 2-query/rtrim.py -R -python3 ./test.py -f 2-query/sample.py -python3 ./test.py -f 2-query/sample.py -R -python3 ./test.py -f 2-query/sin.py -python3 ./test.py -f 2-query/sin.py -R -python3 ./test.py -f 2-query/smaTest.py -python3 ./test.py -f 2-query/smaTest.py -R -python3 ./test.py -f 2-query/sml.py -python3 ./test.py -f 2-query/sml.py -R -python3 ./test.py -f 2-query/spread.py -python3 ./test.py -f 2-query/spread.py -R -python3 ./test.py -f 2-query/sqrt.py -python3 ./test.py -f 2-query/sqrt.py -R -python3 ./test.py -f 2-query/statecount.py -python3 ./test.py -f 2-query/statecount.py -R -python3 ./test.py -f 2-query/stateduration.py -python3 ./test.py -f 2-query/stateduration.py -R -python3 ./test.py -f 2-query/substr.py -python3 ./test.py -f 2-query/substr.py -R -python3 ./test.py -f 2-query/sum.py -python3 ./test.py -f 2-query/sum.py -R -python3 ./test.py -f 2-query/tail.py -python3 ./test.py -f 2-query/tail.py -R -python3 ./test.py -f 2-query/tan.py -# python3 ./test.py -f 2-query/tan.py -R -python3 ./test.py -f 2-query/Timediff.py -python3 ./test.py -f 2-query/Timediff.py -R -python3 ./test.py -f 2-query/timetruncate.py -# python3 ./test.py -f 2-query/timetruncate.py -R -python3 ./test.py -f 2-query/timezone.py -python3 ./test.py -f 2-query/timezone.py -R -python3 ./test.py -f 2-query/To_iso8601.py -python3 ./test.py -f 2-query/To_iso8601.py -R -python3 ./test.py -f 2-query/To_unixtimestamp.py -python3 ./test.py -f 2-query/To_unixtimestamp.py -R -python3 ./test.py -f 2-query/Today.py -# python3 ./test.py -f 2-query/Today.py -R -python3 ./test.py -f 2-query/top.py -python3 ./test.py -f 2-query/top.py -R -python3 ./test.py -f 2-query/tsbsQuery.py -python3 ./test.py -f 2-query/tsbsQuery.py -R -python3 ./test.py -f 2-query/ttl_comment.py -python3 ./test.py -f 2-query/ttl_comment.py -R -python3 ./test.py -f 2-query/twa.py -python3 ./test.py -f 2-query/twa.py -R -python3 ./test.py -f 2-query/union.py -python3 ./test.py -f 2-query/union.py -R -python3 ./test.py -f 2-query/unique.py -python3 ./test.py -f 2-query/unique.py -R -python3 ./test.py -f 2-query/upper.py -python3 ./test.py -f 2-query/upper.py -R -python3 ./test.py -f 2-query/varchar.py -python3 ./test.py -f 2-query/varchar.py -R +# python3 ./test.py -f 1-insert/alter_database.py +# python3 ./test.py -f 1-insert/influxdb_line_taosc_insert.py +# python3 ./test.py -f 1-insert/opentsdb_telnet_line_taosc_insert.py +# python3 ./test.py -f 1-insert/opentsdb_json_taosc_insert.py +# python3 ./test.py -f 1-insert/test_stmt_muti_insert_query.py +# python3 ./test.py -f 1-insert/test_stmt_set_tbname_tag.py +# python3 ./test.py -f 1-insert/alter_stable.py +# python3 ./test.py -f 1-insert/alter_table.py +# python3 ./test.py -f 1-insert/insertWithMoreVgroup.py +# python3 ./test.py -f 1-insert/table_comment.py +# python3 ./test.py -f 1-insert/time_range_wise.py +# python3 ./test.py -f 1-insert/block_wise.py +# python3 ./test.py -f 1-insert/create_retentions.py +# python3 ./test.py -f 1-insert/table_param_ttl.py +# python3 ./test.py -f 1-insert/mutil_stage.py +# python3 ./test.py -f 1-insert/table_param_ttl.py -R +# python3 ./test.py -f 1-insert/update_data_muti_rows.py +# python3 ./test.py -f 1-insert/db_tb_name_check.py +# python3 ./test.py -f 1-insert/database_pre_suf.py +# python3 ./test.py -f 0-others/show.py +# python3 ./test.py -f 2-query/abs.py +# python3 ./test.py -f 2-query/abs.py -R +# python3 ./test.py -f 2-query/and_or_for_byte.py +# python3 ./test.py -f 2-query/and_or_for_byte.py -R +# python3 ./test.py -f 2-query/apercentile.py +# python3 ./test.py -f 2-query/apercentile.py -R +# python3 ./test.py -f 2-query/arccos.py +# python3 ./test.py -f 2-query/arccos.py -R +# python3 ./test.py -f 2-query/arcsin.py +# python3 ./test.py -f 2-query/arcsin.py -R +# python3 ./test.py -f 2-query/arctan.py +# python3 ./test.py -f 2-query/arctan.py -R +# python3 ./test.py -f 2-query/avg.py +# python3 ./test.py -f 2-query/avg.py -R +# python3 ./test.py -f 2-query/between.py +# python3 ./test.py -f 2-query/between.py -R +# python3 ./test.py -f 2-query/bottom.py +# python3 ./test.py -f 2-query/bottom.py -R +# python3 ./test.py -f 2-query/cast.py +# python3 ./test.py -f 2-query/cast.py -R +# python3 ./test.py -f 2-query/ceil.py +# python3 ./test.py -f 2-query/ceil.py -R +# python3 ./test.py -f 2-query/char_length.py +# python3 ./test.py -f 2-query/char_length.py -R +# python3 ./test.py -f 2-query/check_tsdb.py +# python3 ./test.py -f 2-query/check_tsdb.py -R +# python3 ./test.py -f 2-query/concat.py +# python3 ./test.py -f 2-query/concat.py -R +# python3 ./test.py -f 2-query/concat_ws.py +# python3 ./test.py -f 2-query/concat_ws.py -R +# python3 ./test.py -f 2-query/concat_ws2.py +# python3 ./test.py -f 2-query/concat_ws2.py -R +# python3 ./test.py -f 2-query/cos.py +# python3 ./test.py -f 2-query/cos.py -R +# python3 ./test.py -f 2-query/count_partition.py +# python3 ./test.py -f 2-query/count_partition.py -R +# python3 ./test.py -f 2-query/count.py +# python3 ./test.py -f 2-query/count.py -R +# python3 ./test.py -f 2-query/db.py +# python3 ./test.py -f 2-query/db.py -R +# python3 ./test.py -f 2-query/diff.py +# python3 ./test.py -f 2-query/diff.py -R +# python3 ./test.py -f 2-query/distinct.py +# python3 ./test.py -f 2-query/distinct.py -R +# python3 ./test.py -f 2-query/distribute_agg_apercentile.py +# python3 ./test.py -f 2-query/distribute_agg_apercentile.py -R +# python3 ./test.py -f 2-query/distribute_agg_avg.py +# python3 ./test.py -f 2-query/distribute_agg_avg.py -R +# python3 ./test.py -f 2-query/distribute_agg_count.py +# python3 ./test.py -f 2-query/distribute_agg_count.py -R +# python3 ./test.py -f 2-query/distribute_agg_max.py +# python3 ./test.py -f 2-query/distribute_agg_max.py -R +# python3 ./test.py -f 2-query/distribute_agg_min.py +# python3 ./test.py -f 2-query/distribute_agg_min.py -R +# python3 ./test.py -f 2-query/distribute_agg_spread.py +# python3 ./test.py -f 2-query/distribute_agg_spread.py -R +# python3 ./test.py -f 2-query/distribute_agg_stddev.py +# python3 ./test.py -f 2-query/distribute_agg_stddev.py -R +# python3 ./test.py -f 2-query/distribute_agg_sum.py +# python3 ./test.py -f 2-query/distribute_agg_sum.py -R +# python3 ./test.py -f 2-query/explain.py +# python3 ./test.py -f 2-query/explain.py -R +# python3 ./test.py -f 2-query/first.py +# python3 ./test.py -f 2-query/first.py -R +# python3 ./test.py -f 2-query/floor.py +# python3 ./test.py -f 2-query/floor.py -R +# python3 ./test.py -f 2-query/function_null.py +# python3 ./test.py -f 2-query/function_null.py -R +# python3 ./test.py -f 2-query/function_stateduration.py +# python3 ./test.py -f 2-query/function_stateduration.py -R +# python3 ./test.py -f 2-query/histogram.py +# python3 ./test.py -f 2-query/histogram.py -R +# python3 ./test.py -f 2-query/hyperloglog.py +# python3 ./test.py -f 2-query/hyperloglog.py -R +# python3 ./test.py -f 2-query/interp.py +# python3 ./test.py -f 2-query/interp.py -R +# python3 ./test.py -f 2-query/irate.py +# python3 ./test.py -f 2-query/irate.py -R +# python3 ./test.py -f 2-query/join.py +# python3 ./test.py -f 2-query/join.py -R +# python3 ./test.py -f 2-query/last_row.py +# python3 ./test.py -f 2-query/last_row.py -R +# python3 ./test.py -f 2-query/last.py +# python3 ./test.py -f 2-query/last.py -R +# python3 ./test.py -f 2-query/leastsquares.py +# python3 ./test.py -f 2-query/leastsquares.py -R +# python3 ./test.py -f 2-query/length.py +# python3 ./test.py -f 2-query/length.py -R +# python3 ./test.py -f 2-query/log.py +# # python3 ./test.py -f 2-query/log.py -R +# python3 ./test.py -f 2-query/lower.py +# python3 ./test.py -f 2-query/lower.py -R +# python3 ./test.py -f 2-query/ltrim.py +# python3 ./test.py -f 2-query/ltrim.py -R +# python3 ./test.py -f 2-query/mavg.py +# python3 ./test.py -f 2-query/mavg.py -R +# python3 ./test.py -f 2-query/max_partition.py +# python3 ./test.py -f 2-query/max_partition.py -R +# python3 ./test.py -f 2-query/max.py +# python3 ./test.py -f 2-query/max.py -R +# python3 ./test.py -f 2-query/min.py +# python3 ./test.py -f 2-query/min.py -R +# python3 ./test.py -f 2-query/Now.py +# python3 ./test.py -f 2-query/Now.py -R +# python3 ./test.py -f 2-query/percentile.py +# python3 ./test.py -f 2-query/percentile.py -R +# python3 ./test.py -f 2-query/pow.py +# python3 ./test.py -f 2-query/pow.py -R +# python3 ./test.py -f 2-query/query_cols_tags_and_or.py +# python3 ./test.py -f 2-query/query_cols_tags_and_or.py -R +# python3 ./test.py -f 2-query/round.py +# python3 ./test.py -f 2-query/round.py -R +# python3 ./test.py -f 2-query/rtrim.py +# python3 ./test.py -f 2-query/rtrim.py -R +# python3 ./test.py -f 2-query/sample.py +# python3 ./test.py -f 2-query/sample.py -R +# python3 ./test.py -f 2-query/sin.py +# python3 ./test.py -f 2-query/sin.py -R +# python3 ./test.py -f 2-query/smaTest.py +# python3 ./test.py -f 2-query/smaTest.py -R +# python3 ./test.py -f 2-query/sml.py +# python3 ./test.py -f 2-query/sml.py -R +# python3 ./test.py -f 2-query/spread.py +# python3 ./test.py -f 2-query/spread.py -R +# python3 ./test.py -f 2-query/sqrt.py +# python3 ./test.py -f 2-query/sqrt.py -R +# python3 ./test.py -f 2-query/statecount.py +# python3 ./test.py -f 2-query/statecount.py -R +# python3 ./test.py -f 2-query/stateduration.py +# python3 ./test.py -f 2-query/stateduration.py -R +# python3 ./test.py -f 2-query/substr.py +# python3 ./test.py -f 2-query/substr.py -R +# python3 ./test.py -f 2-query/sum.py +# python3 ./test.py -f 2-query/sum.py -R +# python3 ./test.py -f 2-query/tail.py +# python3 ./test.py -f 2-query/tail.py -R +# python3 ./test.py -f 2-query/tan.py +# # python3 ./test.py -f 2-query/tan.py -R +# python3 ./test.py -f 2-query/Timediff.py +# python3 ./test.py -f 2-query/Timediff.py -R +# python3 ./test.py -f 2-query/timetruncate.py +# # python3 ./test.py -f 2-query/timetruncate.py -R +# python3 ./test.py -f 2-query/timezone.py +# python3 ./test.py -f 2-query/timezone.py -R +# python3 ./test.py -f 2-query/To_iso8601.py +# python3 ./test.py -f 2-query/To_iso8601.py -R +# python3 ./test.py -f 2-query/To_unixtimestamp.py +# python3 ./test.py -f 2-query/To_unixtimestamp.py -R +# python3 ./test.py -f 2-query/Today.py +# # python3 ./test.py -f 2-query/Today.py -R +# python3 ./test.py -f 2-query/top.py +# python3 ./test.py -f 2-query/top.py -R +# python3 ./test.py -f 2-query/tsbsQuery.py +# python3 ./test.py -f 2-query/tsbsQuery.py -R +# python3 ./test.py -f 2-query/ttl_comment.py +# python3 ./test.py -f 2-query/ttl_comment.py -R +# python3 ./test.py -f 2-query/twa.py +# python3 ./test.py -f 2-query/twa.py -R +# python3 ./test.py -f 2-query/union.py +# python3 ./test.py -f 2-query/union.py -R +# python3 ./test.py -f 2-query/unique.py +# python3 ./test.py -f 2-query/unique.py -R +# python3 ./test.py -f 2-query/upper.py +# python3 ./test.py -f 2-query/upper.py -R +# python3 ./test.py -f 2-query/varchar.py +# python3 ./test.py -f 2-query/varchar.py -R -python3 ./test.py -f 1-insert/update_data.py +# python3 ./test.py -f 1-insert/update_data.py -python3 ./test.py -f 1-insert/delete_data.py +# python3 ./test.py -f 1-insert/delete_data.py -python3 ./test.py -f 2-query/join2.py -python3 ./test.py -f 2-query/union1.py -python3 ./test.py -f 2-query/concat2.py +# python3 ./test.py -f 2-query/join2.py +# python3 ./test.py -f 2-query/union1.py +# python3 ./test.py -f 2-query/concat2.py -python3 ./test.py -f 2-query/json_tag.py +# python3 ./test.py -f 2-query/json_tag.py -# python3 ./test.py -f 2-query/nestedQuery.py -# TD-15983 subquery output duplicate name column. -# Please Xiangyang Guo modify the following script -# python3 ./test.py -f 2-query/nestedQuery_str.py +# # python3 ./test.py -f 2-query/nestedQuery.py +# # TD-15983 subquery output duplicate name column. +# # Please Xiangyang Guo modify the following script +# # python3 ./test.py -f 2-query/nestedQuery_str.py -python3 ./test.py -f 2-query/elapsed.py -python3 ./test.py -f 2-query/csum.py -python3 ./test.py -f 2-query/function_diff.py -python3 ./test.py -f 2-query/queryQnode.py +# python3 ./test.py -f 2-query/elapsed.py +# python3 ./test.py -f 2-query/csum.py +# python3 ./test.py -f 2-query/function_diff.py +# python3 ./test.py -f 2-query/queryQnode.py -python3 ./test.py -f 6-cluster/5dnode1mnode.py -python3 ./test.py -f 6-cluster/5dnode2mnode.py -N 5 -M 3 -python3 ./test.py -f 6-cluster/5dnode3mnodeStop.py -N 5 -M 3 -python3 ./test.py -f 6-cluster/5dnode3mnodeStop2Follower.py -N 5 -M 3 -python3 ./test.py -f 6-cluster/5dnode3mnodeStopLoop.py -N 5 -M 3 -python3 ./test.py -f 6-cluster/5dnode3mnodeSep1VnodeStopDnodeCreateDb.py -N 5 -M 3 -python3 ./test.py -f 6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateDb.py -N 5 -M 3 -python3 ./test.py -f 6-cluster/5dnode3mnodeSep1VnodeStopVnodeCreateDb.py -N 5 -M 3 -python3 ./test.py -f 6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateDbRep3.py -N 5 -M 3 +# python3 ./test.py -f 6-cluster/5dnode1mnode.py +# python3 ./test.py -f 6-cluster/5dnode2mnode.py -N 5 -M 3 +# python3 ./test.py -f 6-cluster/5dnode3mnodeStop.py -N 5 -M 3 +# python3 ./test.py -f 6-cluster/5dnode3mnodeStop2Follower.py -N 5 -M 3 +# python3 ./test.py -f 6-cluster/5dnode3mnodeStopLoop.py -N 5 -M 3 +# python3 ./test.py -f 6-cluster/5dnode3mnodeSep1VnodeStopDnodeCreateDb.py -N 5 -M 3 +# python3 ./test.py -f 6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateDb.py -N 5 -M 3 +# python3 ./test.py -f 6-cluster/5dnode3mnodeSep1VnodeStopVnodeCreateDb.py -N 5 -M 3 +# python3 ./test.py -f 6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateDbRep3.py -N 5 -M 3 -python3 ./test.py -f 6-cluster/5dnode3mnodeSep1VnodeStopDnodeCreateStb.py -N 5 -M 3 -python3 ./test.py -f 6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateStb.py -N 5 -M 3 -python3 ./test.py -f 6-cluster/5dnode3mnodeSep1VnodeStopVnodeCreateStb.py -N 5 -M 3 +# python3 ./test.py -f 6-cluster/5dnode3mnodeSep1VnodeStopDnodeCreateStb.py -N 5 -M 3 +# python3 ./test.py -f 6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateStb.py -N 5 -M 3 +# python3 ./test.py -f 6-cluster/5dnode3mnodeSep1VnodeStopVnodeCreateStb.py -N 5 -M 3 -python3 ./test.py -f 6-cluster/5dnode3mnodeRestartDnodeInsertData.py -N 5 -M 3 -python3 ./test.py -f 6-cluster/5dnode3mnodeRestartDnodeInsertDataAsync.py -N 5 -M 3 -# python3 ./test.py -f 6-cluster/5dnode3mnodeRestartMnodeInsertData.py -N 5 -M 3 -# python3 ./test.py -f 6-cluster/5dnode3mnodeRestartVnodeInsertData.py -N 5 -M 3 +# python3 ./test.py -f 6-cluster/5dnode3mnodeRestartDnodeInsertData.py -N 5 -M 3 +# python3 ./test.py -f 6-cluster/5dnode3mnodeRestartDnodeInsertDataAsync.py -N 5 -M 3 +# # python3 ./test.py -f 6-cluster/5dnode3mnodeRestartMnodeInsertData.py -N 5 -M 3 +# # python3 ./test.py -f 6-cluster/5dnode3mnodeRestartVnodeInsertData.py -N 5 -M 3 -python3 ./test.py -f 6-cluster/5dnode3mnodeAdd1Ddnoe.py -N 6 -M 3 -C 5 -# BUG python3 ./test.py -f 6-cluster/5dnode3mnodeStopInsert.py -# python3 ./test.py -f 6-cluster/5dnode3mnodeDrop.py -N 5 -python3 test.py -f 6-cluster/5dnode3mnodeStopConnect.py -N 5 -M 3 +# python3 ./test.py -f 6-cluster/5dnode3mnodeAdd1Ddnoe.py -N 6 -M 3 -C 5 +# # BUG python3 ./test.py -f 6-cluster/5dnode3mnodeStopInsert.py +# # python3 ./test.py -f 6-cluster/5dnode3mnodeDrop.py -N 5 +# python3 test.py -f 6-cluster/5dnode3mnodeStopConnect.py -N 5 -M 3 -python3 ./test.py -f 6-cluster/5dnode3mnodeRecreateMnode.py -N 5 -M 3 -python3 ./test.py -f 6-cluster/5dnode3mnodeStopFollowerLeader.py -N 5 -M 3 -python3 ./test.py -f 6-cluster/5dnode3mnodeStop2Follower.py -N 5 -M 3 +# python3 ./test.py -f 6-cluster/5dnode3mnodeRecreateMnode.py -N 5 -M 3 +# python3 ./test.py -f 6-cluster/5dnode3mnodeStopFollowerLeader.py -N 5 -M 3 +# python3 ./test.py -f 6-cluster/5dnode3mnodeStop2Follower.py -N 5 -M 3 -# vnode case -python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_createDb_replica1.py -N 4 -M 1 -python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica1_insertdatas.py -N 4 -M 1 -python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica1_insertdatas_querys.py -N 4 -M 1 -# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_force_stop_all_dnodes.py -N 4 -M 1 -python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas.py -N 4 -M 1 -# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_querys_loop_restart_all_vnode.py -N 4 -M 1 -# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_querys_loop_restart_follower.py -N 4 -M 1 -# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_querys_loop_restart_leader.py -N 4 -M 1 -python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_querys.py -N 4 -M 1 -# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_all_dnodes.py -N 4 -M 1 -# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_follower_sync.py -N 4 -M 1 -# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_follower_unsync_force_stop.py -N 4 -M 1 -# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_follower_unsync.py -N 4 -M 1 -# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_leader_forece_stop.py -N 4 -M 1 -python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_leader.py -N 4 -M 1 -# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_mnode3_insertdatas_querys.py -N 4 -M 1 -# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_follower_force_stop.py -N 4 -M 1 -# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_follower.py -N 4 -M 1 -# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_leader_force_stop.py -N 4 -M 1 -# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_leader.py -N 4 -M 1 -python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_vgroups.py -N 4 -M 1 -# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_vgroups_stopOne.py -N 4 -M 1 +# # vnode case +# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_createDb_replica1.py -N 4 -M 1 +# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica1_insertdatas.py -N 4 -M 1 +# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica1_insertdatas_querys.py -N 4 -M 1 +# # python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_force_stop_all_dnodes.py -N 4 -M 1 +# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas.py -N 4 -M 1 +# # python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_querys_loop_restart_all_vnode.py -N 4 -M 1 +# # python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_querys_loop_restart_follower.py -N 4 -M 1 +# # python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_querys_loop_restart_leader.py -N 4 -M 1 +# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_querys.py -N 4 -M 1 +# # python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_all_dnodes.py -N 4 -M 1 +# # python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_follower_sync.py -N 4 -M 1 +# # python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_follower_unsync_force_stop.py -N 4 -M 1 +# # python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_follower_unsync.py -N 4 -M 1 +# # python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_leader_forece_stop.py -N 4 -M 1 +# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_leader.py -N 4 -M 1 +# # python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_mnode3_insertdatas_querys.py -N 4 -M 1 +# # python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_follower_force_stop.py -N 4 -M 1 +# # python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_follower.py -N 4 -M 1 +# # python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_leader_force_stop.py -N 4 -M 1 +# # python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_leader.py -N 4 -M 1 +# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_vgroups.py -N 4 -M 1 +# # python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_vgroups_stopOne.py -N 4 -M 1 -python3 ./test.py -f 7-tmq/create_wrong_topic.py -python3 ./test.py -f 7-tmq/dropDbR3ConflictTransaction.py -N 3 -python3 ./test.py -f 7-tmq/basic5.py -python3 ./test.py -f 7-tmq/subscribeDb.py -python3 ./test.py -f 7-tmq/subscribeDb0.py -python3 ./test.py -f 7-tmq/subscribeDb1.py -python3 ./test.py -f 7-tmq/subscribeDb2.py -python3 ./test.py -f 7-tmq/subscribeDb3.py -#python3 ./test.py -f 7-tmq/subscribeDb4.py -python3 ./test.py -f 7-tmq/subscribeStb.py -python3 ./test.py -f 7-tmq/subscribeStb0.py -python3 ./test.py -f 7-tmq/subscribeStb1.py -python3 ./test.py -f 7-tmq/subscribeStb2.py -python3 ./test.py -f 7-tmq/subscribeStb3.py -python3 ./test.py -f 7-tmq/subscribeStb4.py -python3 ./test.py -f 7-tmq/db.py -python3 ./test.py -f 7-tmq/tmqError.py -python3 ./test.py -f 7-tmq/schema.py -python3 ./test.py -f 7-tmq/stbFilter.py -python3 ./test.py -f 7-tmq/tmqCheckData.py -python3 ./test.py -f 7-tmq/tmqCheckData1.py -#python3 ./test.py -f 7-tmq/tmq3mnodeSwitch.py -N 5 -python3 ./test.py -f 7-tmq/tmqConsumerGroup.py -#python3 ./test.py -f 7-tmq/tmqShow.py -python3 ./test.py -f 7-tmq/tmqAlterSchema.py -python3 ./test.py -f 7-tmq/tmqConsFromTsdb.py -python3 ./test.py -f 7-tmq/tmqConsFromTsdb1.py -python3 ./test.py -f 7-tmq/tmqConsFromTsdb-mutilVg.py -python3 ./test.py -f 7-tmq/tmqConsFromTsdb1-mutilVg.py -python3 ./test.py -f 7-tmq/tmqConsFromTsdb-1ctb.py -# python3 ./test.py -f 7-tmq/tmqConsFromTsdb1-1ctb.py -python3 ./test.py -f 7-tmq/tmqConsFromTsdb-1ctb-funcNFilter.py -python3 ./test.py -f 7-tmq/tmqConsFromTsdb-mutilVg-mutilCtb-funcNFilter.py -python3 ./test.py -f 7-tmq/tmqConsFromTsdb-mutilVg-mutilCtb.py -python3 ./test.py -f 7-tmq/tmqConsFromTsdb1-1ctb-funcNFilter.py -python3 ./test.py -f 7-tmq/tmqConsFromTsdb1-mutilVg-mutilCtb-funcNFilter.py -python3 ./test.py -f 7-tmq/tmqConsFromTsdb1-mutilVg-mutilCtb.py -python3 ./test.py -f 7-tmq/tmqAutoCreateTbl.py -python3 ./test.py -f 7-tmq/tmqDnodeRestart.py -python3 ./test.py -f 7-tmq/tmqUpdate-1ctb.py -python3 ./test.py -f 7-tmq/tmqUpdateWithConsume.py -python3 ./test.py -f 7-tmq/tmqUpdate-multiCtb-snapshot0.py -python3 ./test.py -f 7-tmq/tmqUpdate-multiCtb-snapshot1.py -python3 ./test.py -f 7-tmq/tmqDelete-1ctb.py -python3 ./test.py -f 7-tmq/tmqDelete-multiCtb.py -python3 ./test.py -f 7-tmq/tmqDropStb.py -python3 ./test.py -f 7-tmq/tmqDropStbCtb.py -python3 ./test.py -f 7-tmq/tmqDropNtb-snapshot0.py -python3 ./test.py -f 7-tmq/tmqDropNtb-snapshot1.py -python3 ./test.py -f 7-tmq/tmqUdf.py -python3 ./test.py -f 7-tmq/tmqUdf-multCtb-snapshot0.py -python3 ./test.py -f 7-tmq/tmqUdf-multCtb-snapshot1.py -python3 ./test.py -f 7-tmq/stbTagFilter-1ctb.py -python3 ./test.py -f 7-tmq/dataFromTsdbNWal.py -python3 ./test.py -f 7-tmq/dataFromTsdbNWal-multiCtb.py -python3 ./test.py -f 7-tmq/tmq_taosx.py -python3 ./test.py -f 7-tmq/stbTagFilter-multiCtb.py +# python3 ./test.py -f 7-tmq/create_wrong_topic.py +# python3 ./test.py -f 7-tmq/dropDbR3ConflictTransaction.py -N 3 +# python3 ./test.py -f 7-tmq/basic5.py +# python3 ./test.py -f 7-tmq/subscribeDb.py +# python3 ./test.py -f 7-tmq/subscribeDb0.py +# python3 ./test.py -f 7-tmq/subscribeDb1.py +# python3 ./test.py -f 7-tmq/subscribeDb2.py +# python3 ./test.py -f 7-tmq/subscribeDb3.py +# #python3 ./test.py -f 7-tmq/subscribeDb4.py +# python3 ./test.py -f 7-tmq/subscribeStb.py +# python3 ./test.py -f 7-tmq/subscribeStb0.py +# python3 ./test.py -f 7-tmq/subscribeStb1.py +# python3 ./test.py -f 7-tmq/subscribeStb2.py +# python3 ./test.py -f 7-tmq/subscribeStb3.py +# python3 ./test.py -f 7-tmq/subscribeStb4.py +# python3 ./test.py -f 7-tmq/db.py +# python3 ./test.py -f 7-tmq/tmqError.py +# python3 ./test.py -f 7-tmq/schema.py +# python3 ./test.py -f 7-tmq/stbFilter.py +# python3 ./test.py -f 7-tmq/tmqCheckData.py +# python3 ./test.py -f 7-tmq/tmqCheckData1.py +# #python3 ./test.py -f 7-tmq/tmq3mnodeSwitch.py -N 5 +# python3 ./test.py -f 7-tmq/tmqConsumerGroup.py +# #python3 ./test.py -f 7-tmq/tmqShow.py +# python3 ./test.py -f 7-tmq/tmqAlterSchema.py +# python3 ./test.py -f 7-tmq/tmqConsFromTsdb.py +# python3 ./test.py -f 7-tmq/tmqConsFromTsdb1.py +# python3 ./test.py -f 7-tmq/tmqConsFromTsdb-mutilVg.py +# python3 ./test.py -f 7-tmq/tmqConsFromTsdb1-mutilVg.py +# python3 ./test.py -f 7-tmq/tmqConsFromTsdb-1ctb.py +# # python3 ./test.py -f 7-tmq/tmqConsFromTsdb1-1ctb.py +# python3 ./test.py -f 7-tmq/tmqConsFromTsdb-1ctb-funcNFilter.py +# python3 ./test.py -f 7-tmq/tmqConsFromTsdb-mutilVg-mutilCtb-funcNFilter.py +# python3 ./test.py -f 7-tmq/tmqConsFromTsdb-mutilVg-mutilCtb.py +# python3 ./test.py -f 7-tmq/tmqConsFromTsdb1-1ctb-funcNFilter.py +# python3 ./test.py -f 7-tmq/tmqConsFromTsdb1-mutilVg-mutilCtb-funcNFilter.py +# python3 ./test.py -f 7-tmq/tmqConsFromTsdb1-mutilVg-mutilCtb.py +# python3 ./test.py -f 7-tmq/tmqAutoCreateTbl.py +# python3 ./test.py -f 7-tmq/tmqDnodeRestart.py +# python3 ./test.py -f 7-tmq/tmqUpdate-1ctb.py +# python3 ./test.py -f 7-tmq/tmqUpdateWithConsume.py +# python3 ./test.py -f 7-tmq/tmqUpdate-multiCtb-snapshot0.py +# python3 ./test.py -f 7-tmq/tmqUpdate-multiCtb-snapshot1.py +# python3 ./test.py -f 7-tmq/tmqDelete-1ctb.py +# python3 ./test.py -f 7-tmq/tmqDelete-multiCtb.py +# python3 ./test.py -f 7-tmq/tmqDropStb.py +# python3 ./test.py -f 7-tmq/tmqDropStbCtb.py +# python3 ./test.py -f 7-tmq/tmqDropNtb-snapshot0.py +# python3 ./test.py -f 7-tmq/tmqDropNtb-snapshot1.py +# python3 ./test.py -f 7-tmq/tmqUdf.py +# python3 ./test.py -f 7-tmq/tmqUdf-multCtb-snapshot0.py +# python3 ./test.py -f 7-tmq/tmqUdf-multCtb-snapshot1.py +# python3 ./test.py -f 7-tmq/stbTagFilter-1ctb.py +# python3 ./test.py -f 7-tmq/dataFromTsdbNWal.py +# python3 ./test.py -f 7-tmq/dataFromTsdbNWal-multiCtb.py +# python3 ./test.py -f 7-tmq/tmq_taosx.py +# python3 ./test.py -f 7-tmq/stbTagFilter-multiCtb.py -python3 ./test.py -f 99-TDcase/TD-19201.py +# python3 ./test.py -f 99-TDcase/TD-19201.py -#------------querPolicy 2----------- +# #------------querPolicy 2----------- -python3 ./test.py -f 2-query/between.py -Q 2 -python3 ./test.py -f 2-query/distinct.py -Q 2 -python3 ./test.py -f 2-query/varchar.py -Q 2 -python3 ./test.py -f 2-query/ltrim.py -Q 2 -python3 ./test.py -f 2-query/rtrim.py -Q 2 -python3 ./test.py -f 2-query/length.py -Q 2 -python3 ./test.py -f 2-query/char_length.py -Q 2 -python3 ./test.py -f 2-query/upper.py -Q 2 -python3 ./test.py -f 2-query/lower.py -Q 2 -python3 ./test.py -f 2-query/join.py -Q 2 -python3 ./test.py -f 2-query/join2.py -Q 2 -python3 ./test.py -f 2-query/cast.py -Q 2 -python3 ./test.py -f 2-query/substr.py -Q 2 -python3 ./test.py -f 2-query/union.py -Q 2 -python3 ./test.py -f 2-query/union1.py -Q 2 -python3 ./test.py -f 2-query/concat.py -Q 2 -python3 ./test.py -f 2-query/concat2.py -Q 2 -python3 ./test.py -f 2-query/concat_ws.py -Q 2 -python3 ./test.py -f 2-query/concat_ws2.py -Q 2 -#python3 ./test.py -f 2-query/check_tsdb.py -Q 2 -python3 ./test.py -f 2-query/spread.py -Q 2 -python3 ./test.py -f 2-query/hyperloglog.py -Q 2 -python3 ./test.py -f 2-query/explain.py -Q 2 -python3 ./test.py -f 2-query/leastsquares.py -Q 2 -python3 ./test.py -f 2-query/timezone.py -Q 2 -python3 ./test.py -f 2-query/Now.py -Q 2 -python3 ./test.py -f 2-query/Today.py -Q 2 -python3 ./test.py -f 2-query/max.py -Q 2 -python3 ./test.py -f 2-query/min.py -Q 2 -python3 ./test.py -f 2-query/count.py -Q 2 -python3 ./test.py -f 2-query/last.py -Q 2 -python3 ./test.py -f 2-query/first.py -Q 2 -python3 ./test.py -f 2-query/To_iso8601.py -Q 2 -python3 ./test.py -f 2-query/To_unixtimestamp.py -Q 2 -python3 ./test.py -f 2-query/timetruncate.py -Q 2 -python3 ./test.py -f 2-query/diff.py -Q 2 -python3 ./test.py -f 2-query/Timediff.py -Q 2 -python3 ./test.py -f 2-query/json_tag.py -Q 2 -python3 ./test.py -f 2-query/top.py -Q 2 -python3 ./test.py -f 2-query/bottom.py -Q 2 -python3 ./test.py -f 2-query/percentile.py -Q 2 -python3 ./test.py -f 2-query/apercentile.py -Q 2 -python3 ./test.py -f 2-query/abs.py -Q 2 -python3 ./test.py -f 2-query/ceil.py -Q 2 -python3 ./test.py -f 2-query/floor.py -Q 2 -python3 ./test.py -f 2-query/round.py -Q 2 -python3 ./test.py -f 2-query/log.py -Q 2 -python3 ./test.py -f 2-query/pow.py -Q 2 -python3 ./test.py -f 2-query/sqrt.py -Q 2 -python3 ./test.py -f 2-query/sin.py -Q 2 -python3 ./test.py -f 2-query/cos.py -Q 2 -python3 ./test.py -f 2-query/tan.py -Q 2 -python3 ./test.py -f 2-query/arcsin.py -Q 2 -python3 ./test.py -f 2-query/arccos.py -Q 2 -python3 ./test.py -f 2-query/arctan.py -Q 2 -python3 ./test.py -f 2-query/query_cols_tags_and_or.py -Q 2 -python3 ./test.py -f 2-query/interp.py -Q 2 +# python3 ./test.py -f 2-query/between.py -Q 2 +# python3 ./test.py -f 2-query/distinct.py -Q 2 +# python3 ./test.py -f 2-query/varchar.py -Q 2 +# python3 ./test.py -f 2-query/ltrim.py -Q 2 +# python3 ./test.py -f 2-query/rtrim.py -Q 2 +# python3 ./test.py -f 2-query/length.py -Q 2 +# python3 ./test.py -f 2-query/char_length.py -Q 2 +# python3 ./test.py -f 2-query/upper.py -Q 2 +# python3 ./test.py -f 2-query/lower.py -Q 2 +# python3 ./test.py -f 2-query/join.py -Q 2 +# python3 ./test.py -f 2-query/join2.py -Q 2 +# python3 ./test.py -f 2-query/cast.py -Q 2 +# python3 ./test.py -f 2-query/substr.py -Q 2 +# python3 ./test.py -f 2-query/union.py -Q 2 +# python3 ./test.py -f 2-query/union1.py -Q 2 +# python3 ./test.py -f 2-query/concat.py -Q 2 +# python3 ./test.py -f 2-query/concat2.py -Q 2 +# python3 ./test.py -f 2-query/concat_ws.py -Q 2 +# python3 ./test.py -f 2-query/concat_ws2.py -Q 2 +# #python3 ./test.py -f 2-query/check_tsdb.py -Q 2 +# python3 ./test.py -f 2-query/spread.py -Q 2 +# python3 ./test.py -f 2-query/hyperloglog.py -Q 2 +# python3 ./test.py -f 2-query/explain.py -Q 2 +# python3 ./test.py -f 2-query/leastsquares.py -Q 2 +# python3 ./test.py -f 2-query/timezone.py -Q 2 +# python3 ./test.py -f 2-query/Now.py -Q 2 +# python3 ./test.py -f 2-query/Today.py -Q 2 +# python3 ./test.py -f 2-query/max.py -Q 2 +# python3 ./test.py -f 2-query/min.py -Q 2 +# python3 ./test.py -f 2-query/count.py -Q 2 +# python3 ./test.py -f 2-query/last.py -Q 2 +# python3 ./test.py -f 2-query/first.py -Q 2 +# python3 ./test.py -f 2-query/To_iso8601.py -Q 2 +# python3 ./test.py -f 2-query/To_unixtimestamp.py -Q 2 +# python3 ./test.py -f 2-query/timetruncate.py -Q 2 +# python3 ./test.py -f 2-query/diff.py -Q 2 +# python3 ./test.py -f 2-query/Timediff.py -Q 2 +# python3 ./test.py -f 2-query/json_tag.py -Q 2 +# python3 ./test.py -f 2-query/top.py -Q 2 +# python3 ./test.py -f 2-query/bottom.py -Q 2 +# python3 ./test.py -f 2-query/percentile.py -Q 2 +# python3 ./test.py -f 2-query/apercentile.py -Q 2 +# python3 ./test.py -f 2-query/abs.py -Q 2 +# python3 ./test.py -f 2-query/ceil.py -Q 2 +# python3 ./test.py -f 2-query/floor.py -Q 2 +# python3 ./test.py -f 2-query/round.py -Q 2 +# python3 ./test.py -f 2-query/log.py -Q 2 +# python3 ./test.py -f 2-query/pow.py -Q 2 +# python3 ./test.py -f 2-query/sqrt.py -Q 2 +# python3 ./test.py -f 2-query/sin.py -Q 2 +# python3 ./test.py -f 2-query/cos.py -Q 2 +# python3 ./test.py -f 2-query/tan.py -Q 2 +# python3 ./test.py -f 2-query/arcsin.py -Q 2 +# python3 ./test.py -f 2-query/arccos.py -Q 2 +# python3 ./test.py -f 2-query/arctan.py -Q 2 +# python3 ./test.py -f 2-query/query_cols_tags_and_or.py -Q 2 +# python3 ./test.py -f 2-query/interp.py -Q 2 -# python3 ./test.py -f 2-query/nestedQuery.py -Q 2 -# python3 ./test.py -f 2-query/nestedQuery_str.py -Q 2 +# # python3 ./test.py -f 2-query/nestedQuery.py -Q 2 +# # python3 ./test.py -f 2-query/nestedQuery_str.py -Q 2 -python3 ./test.py -f 2-query/avg.py -Q 2 -# python3 ./test.py -f 2-query/elapsed.py -Q 2 -python3 ./test.py -f 2-query/csum.py -Q 2 -#python3 ./test.py -f 2-query/mavg.py -Q 2 -python3 ./test.py -f 2-query/sample.py -Q 2 -python3 ./test.py -f 2-query/function_diff.py -Q 2 -python3 ./test.py -f 2-query/unique.py -Q 2 -python3 ./test.py -f 2-query/stateduration.py -Q 2 -python3 ./test.py -f 2-query/function_stateduration.py -Q 2 -python3 ./test.py -f 2-query/statecount.py -Q 2 -python3 ./test.py -f 2-query/tail.py -Q 2 -python3 ./test.py -f 2-query/ttl_comment.py -Q 2 -python3 ./test.py -f 2-query/distribute_agg_count.py -Q 2 -python3 ./test.py -f 2-query/distribute_agg_max.py -Q 2 -python3 ./test.py -f 2-query/distribute_agg_min.py -Q 2 -python3 ./test.py -f 2-query/distribute_agg_sum.py -Q 2 -python3 ./test.py -f 2-query/distribute_agg_spread.py -Q 2 -python3 ./test.py -f 2-query/distribute_agg_apercentile.py -Q 2 -python3 ./test.py -f 2-query/distribute_agg_avg.py -Q 2 -python3 ./test.py -f 2-query/distribute_agg_stddev.py -Q 2 -python3 ./test.py -f 2-query/twa.py -Q 2 -python3 ./test.py -f 2-query/irate.py -Q 2 -python3 ./test.py -f 2-query/function_null.py -Q 2 -python3 ./test.py -f 2-query/count_partition.py -Q 2 -python3 ./test.py -f 2-query/max_partition.py -Q 2 -python3 ./test.py -f 2-query/last_row.py -Q 2 -python3 ./test.py -f 2-query/tsbsQuery.py -Q 2 -#------------querPolicy 3----------- +# python3 ./test.py -f 2-query/avg.py -Q 2 +# # python3 ./test.py -f 2-query/elapsed.py -Q 2 +# python3 ./test.py -f 2-query/csum.py -Q 2 +# #python3 ./test.py -f 2-query/mavg.py -Q 2 +# python3 ./test.py -f 2-query/sample.py -Q 2 +# python3 ./test.py -f 2-query/function_diff.py -Q 2 +# python3 ./test.py -f 2-query/unique.py -Q 2 +# python3 ./test.py -f 2-query/stateduration.py -Q 2 +# python3 ./test.py -f 2-query/function_stateduration.py -Q 2 +# python3 ./test.py -f 2-query/statecount.py -Q 2 +# python3 ./test.py -f 2-query/tail.py -Q 2 +# python3 ./test.py -f 2-query/ttl_comment.py -Q 2 +# python3 ./test.py -f 2-query/distribute_agg_count.py -Q 2 +# python3 ./test.py -f 2-query/distribute_agg_max.py -Q 2 +# python3 ./test.py -f 2-query/distribute_agg_min.py -Q 2 +# python3 ./test.py -f 2-query/distribute_agg_sum.py -Q 2 +# python3 ./test.py -f 2-query/distribute_agg_spread.py -Q 2 +# python3 ./test.py -f 2-query/distribute_agg_apercentile.py -Q 2 +# python3 ./test.py -f 2-query/distribute_agg_avg.py -Q 2 +# python3 ./test.py -f 2-query/distribute_agg_stddev.py -Q 2 +# python3 ./test.py -f 2-query/twa.py -Q 2 +# python3 ./test.py -f 2-query/irate.py -Q 2 +# python3 ./test.py -f 2-query/function_null.py -Q 2 +# python3 ./test.py -f 2-query/count_partition.py -Q 2 +# python3 ./test.py -f 2-query/max_partition.py -Q 2 +# python3 ./test.py -f 2-query/last_row.py -Q 2 +# python3 ./test.py -f 2-query/tsbsQuery.py -Q 2 +# #------------querPolicy 3----------- -python3 ./test.py -f 2-query/between.py -Q 3 -python3 ./test.py -f 2-query/distinct.py -Q 3 -python3 ./test.py -f 2-query/varchar.py -Q 3 -python3 ./test.py -f 2-query/ltrim.py -Q 3 -python3 ./test.py -f 2-query/rtrim.py -Q 3 -python3 ./test.py -f 2-query/length.py -Q 3 -python3 ./test.py -f 2-query/char_length.py -Q 3 -python3 ./test.py -f 2-query/upper.py -Q 3 -python3 ./test.py -f 2-query/lower.py -Q 3 -python3 ./test.py -f 2-query/join.py -Q 3 -python3 ./test.py -f 2-query/join2.py -Q 3 -python3 ./test.py -f 2-query/cast.py -Q 3 -python3 ./test.py -f 2-query/substr.py -Q 3 -python3 ./test.py -f 2-query/union.py -Q 3 -python3 ./test.py -f 2-query/union1.py -Q 3 -python3 ./test.py -f 2-query/concat.py -Q 3 -python3 ./test.py -f 2-query/concat2.py -Q 3 -python3 ./test.py -f 2-query/concat_ws.py -Q 3 -python3 ./test.py -f 2-query/concat_ws2.py -Q 3 -#python3 ./test.py -f 2-query/check_tsdb.py -Q 3 -python3 ./test.py -f 2-query/spread.py -Q 3 -python3 ./test.py -f 2-query/hyperloglog.py -Q 3 -python3 ./test.py -f 2-query/explain.py -Q 3 -python3 ./test.py -f 2-query/leastsquares.py -Q 3 -python3 ./test.py -f 2-query/timezone.py -Q 3 -python3 ./test.py -f 2-query/Now.py -Q 3 -python3 ./test.py -f 2-query/Today.py -Q 3 -python3 ./test.py -f 2-query/max.py -Q 3 -python3 ./test.py -f 2-query/min.py -Q 3 -python3 ./test.py -f 2-query/count.py -Q 3 -#python3 ./test.py -f 2-query/last.py -Q 3 -python3 ./test.py -f 2-query/first.py -Q 3 -python3 ./test.py -f 2-query/To_iso8601.py -Q 3 -python3 ./test.py -f 2-query/To_unixtimestamp.py -Q 3 -python3 ./test.py -f 2-query/timetruncate.py -Q 3 -python3 ./test.py -f 2-query/diff.py -Q 3 -python3 ./test.py -f 2-query/Timediff.py -Q 3 -python3 ./test.py -f 2-query/json_tag.py -Q 3 -python3 ./test.py -f 2-query/top.py -Q 3 -python3 ./test.py -f 2-query/bottom.py -Q 3 -python3 ./test.py -f 2-query/percentile.py -Q 3 -python3 ./test.py -f 2-query/apercentile.py -Q 3 -python3 ./test.py -f 2-query/abs.py -Q 3 -python3 ./test.py -f 2-query/ceil.py -Q 3 -python3 ./test.py -f 2-query/floor.py -Q 3 -python3 ./test.py -f 2-query/round.py -Q 3 -python3 ./test.py -f 2-query/log.py -Q 3 -python3 ./test.py -f 2-query/pow.py -Q 3 -python3 ./test.py -f 2-query/sqrt.py -Q 3 -python3 ./test.py -f 2-query/sin.py -Q 3 -python3 ./test.py -f 2-query/cos.py -Q 3 -python3 ./test.py -f 2-query/tan.py -Q 3 -python3 ./test.py -f 2-query/arcsin.py -Q 3 -python3 ./test.py -f 2-query/arccos.py -Q 3 -python3 ./test.py -f 2-query/arctan.py -Q 3 -python3 ./test.py -f 2-query/query_cols_tags_and_or.py -Q 3 -# python3 ./test.py -f 2-query/nestedQuery.py -Q 3 -# python3 ./test.py -f 2-query/nestedQuery_str.py -Q 3 -# python3 ./test.py -f 2-query/avg.py -Q 3 -# python3 ./test.py -f 2-query/elapsed.py -Q 3 -python3 ./test.py -f 2-query/csum.py -Q 3 -#python3 ./test.py -f 2-query/mavg.py -Q 3 -python3 ./test.py -f 2-query/sample.py -Q 3 -python3 ./test.py -f 2-query/function_diff.py -Q 3 -python3 ./test.py -f 2-query/unique.py -Q 3 -python3 ./test.py -f 2-query/stateduration.py -Q 3 -python3 ./test.py -f 2-query/function_stateduration.py -Q 3 -python3 ./test.py -f 2-query/statecount.py -Q 3 -python3 ./test.py -f 2-query/tail.py -Q 3 -python3 ./test.py -f 2-query/ttl_comment.py -Q 3 -python3 ./test.py -f 2-query/distribute_agg_count.py -Q 3 -python3 ./test.py -f 2-query/distribute_agg_max.py -Q 3 -python3 ./test.py -f 2-query/distribute_agg_min.py -Q 3 -python3 ./test.py -f 2-query/distribute_agg_sum.py -Q 3 -python3 ./test.py -f 2-query/distribute_agg_spread.py -Q 3 -python3 ./test.py -f 2-query/distribute_agg_apercentile.py -Q 3 -python3 ./test.py -f 2-query/distribute_agg_avg.py -Q 3 -python3 ./test.py -f 2-query/distribute_agg_stddev.py -Q 3 -python3 ./test.py -f 2-query/twa.py -Q 3 -python3 ./test.py -f 2-query/irate.py -Q 3 -python3 ./test.py -f 2-query/function_null.py -Q 3 -python3 ./test.py -f 2-query/count_partition.py -Q 3 -python3 ./test.py -f 2-query/max_partition.py -Q 3 -python3 ./test.py -f 2-query/last_row.py -Q 3 -python3 ./test.py -f 2-query/tsbsQuery.py -Q 3 -python3 ./test.py -f 2-query/sml.py -Q 3 -python3 ./test.py -f 2-query/interp.py -Q 3 +# python3 ./test.py -f 2-query/between.py -Q 3 +# python3 ./test.py -f 2-query/distinct.py -Q 3 +# python3 ./test.py -f 2-query/varchar.py -Q 3 +# python3 ./test.py -f 2-query/ltrim.py -Q 3 +# python3 ./test.py -f 2-query/rtrim.py -Q 3 +# python3 ./test.py -f 2-query/length.py -Q 3 +# python3 ./test.py -f 2-query/char_length.py -Q 3 +# python3 ./test.py -f 2-query/upper.py -Q 3 +# python3 ./test.py -f 2-query/lower.py -Q 3 +# python3 ./test.py -f 2-query/join.py -Q 3 +# python3 ./test.py -f 2-query/join2.py -Q 3 +# python3 ./test.py -f 2-query/cast.py -Q 3 +# python3 ./test.py -f 2-query/substr.py -Q 3 +# python3 ./test.py -f 2-query/union.py -Q 3 +# python3 ./test.py -f 2-query/union1.py -Q 3 +# python3 ./test.py -f 2-query/concat.py -Q 3 +# python3 ./test.py -f 2-query/concat2.py -Q 3 +# python3 ./test.py -f 2-query/concat_ws.py -Q 3 +# python3 ./test.py -f 2-query/concat_ws2.py -Q 3 +# #python3 ./test.py -f 2-query/check_tsdb.py -Q 3 +# python3 ./test.py -f 2-query/spread.py -Q 3 +# python3 ./test.py -f 2-query/hyperloglog.py -Q 3 +# python3 ./test.py -f 2-query/explain.py -Q 3 +# python3 ./test.py -f 2-query/leastsquares.py -Q 3 +# python3 ./test.py -f 2-query/timezone.py -Q 3 +# python3 ./test.py -f 2-query/Now.py -Q 3 +# python3 ./test.py -f 2-query/Today.py -Q 3 +# python3 ./test.py -f 2-query/max.py -Q 3 +# python3 ./test.py -f 2-query/min.py -Q 3 +# python3 ./test.py -f 2-query/count.py -Q 3 +# #python3 ./test.py -f 2-query/last.py -Q 3 +# python3 ./test.py -f 2-query/first.py -Q 3 +# python3 ./test.py -f 2-query/To_iso8601.py -Q 3 +# python3 ./test.py -f 2-query/To_unixtimestamp.py -Q 3 +# python3 ./test.py -f 2-query/timetruncate.py -Q 3 +# python3 ./test.py -f 2-query/diff.py -Q 3 +# python3 ./test.py -f 2-query/Timediff.py -Q 3 +# python3 ./test.py -f 2-query/json_tag.py -Q 3 +# python3 ./test.py -f 2-query/top.py -Q 3 +# python3 ./test.py -f 2-query/bottom.py -Q 3 +# python3 ./test.py -f 2-query/percentile.py -Q 3 +# python3 ./test.py -f 2-query/apercentile.py -Q 3 +# python3 ./test.py -f 2-query/abs.py -Q 3 +# python3 ./test.py -f 2-query/ceil.py -Q 3 +# python3 ./test.py -f 2-query/floor.py -Q 3 +# python3 ./test.py -f 2-query/round.py -Q 3 +# python3 ./test.py -f 2-query/log.py -Q 3 +# python3 ./test.py -f 2-query/pow.py -Q 3 +# python3 ./test.py -f 2-query/sqrt.py -Q 3 +# python3 ./test.py -f 2-query/sin.py -Q 3 +# python3 ./test.py -f 2-query/cos.py -Q 3 +# python3 ./test.py -f 2-query/tan.py -Q 3 +# python3 ./test.py -f 2-query/arcsin.py -Q 3 +# python3 ./test.py -f 2-query/arccos.py -Q 3 +# python3 ./test.py -f 2-query/arctan.py -Q 3 +# python3 ./test.py -f 2-query/query_cols_tags_and_or.py -Q 3 +# # python3 ./test.py -f 2-query/nestedQuery.py -Q 3 +# # python3 ./test.py -f 2-query/nestedQuery_str.py -Q 3 +# # python3 ./test.py -f 2-query/avg.py -Q 3 +# # python3 ./test.py -f 2-query/elapsed.py -Q 3 +# python3 ./test.py -f 2-query/csum.py -Q 3 +# #python3 ./test.py -f 2-query/mavg.py -Q 3 +# python3 ./test.py -f 2-query/sample.py -Q 3 +# python3 ./test.py -f 2-query/function_diff.py -Q 3 +# python3 ./test.py -f 2-query/unique.py -Q 3 +# python3 ./test.py -f 2-query/stateduration.py -Q 3 +# python3 ./test.py -f 2-query/function_stateduration.py -Q 3 +# python3 ./test.py -f 2-query/statecount.py -Q 3 +# python3 ./test.py -f 2-query/tail.py -Q 3 +# python3 ./test.py -f 2-query/ttl_comment.py -Q 3 +# python3 ./test.py -f 2-query/distribute_agg_count.py -Q 3 +# python3 ./test.py -f 2-query/distribute_agg_max.py -Q 3 +# python3 ./test.py -f 2-query/distribute_agg_min.py -Q 3 +# python3 ./test.py -f 2-query/distribute_agg_sum.py -Q 3 +# python3 ./test.py -f 2-query/distribute_agg_spread.py -Q 3 +# python3 ./test.py -f 2-query/distribute_agg_apercentile.py -Q 3 +# python3 ./test.py -f 2-query/distribute_agg_avg.py -Q 3 +# python3 ./test.py -f 2-query/distribute_agg_stddev.py -Q 3 +# python3 ./test.py -f 2-query/twa.py -Q 3 +# python3 ./test.py -f 2-query/irate.py -Q 3 +# python3 ./test.py -f 2-query/function_null.py -Q 3 +# python3 ./test.py -f 2-query/count_partition.py -Q 3 +# python3 ./test.py -f 2-query/max_partition.py -Q 3 +# python3 ./test.py -f 2-query/last_row.py -Q 3 +# python3 ./test.py -f 2-query/tsbsQuery.py -Q 3 +# python3 ./test.py -f 2-query/sml.py -Q 3 +# python3 ./test.py -f 2-query/interp.py -Q 3 -#------------querPolicy 4----------- +# #------------querPolicy 4----------- -python3 ./test.py -f 2-query/between.py -Q 4 -python3 ./test.py -f 2-query/distinct.py -Q 4 -python3 ./test.py -f 2-query/varchar.py -Q 4 -python3 ./test.py -f 2-query/ltrim.py -Q 4 -python3 ./test.py -f 2-query/rtrim.py -Q 4 -python3 ./test.py -f 2-query/length.py -Q 4 -python3 ./test.py -f 2-query/char_length.py -Q 4 -python3 ./test.py -f 2-query/upper.py -Q 4 -python3 ./test.py -f 2-query/lower.py -Q 4 -python3 ./test.py -f 2-query/join.py -Q 4 -python3 ./test.py -f 2-query/join2.py -Q 4 -python3 ./test.py -f 2-query/cast.py -Q 4 -python3 ./test.py -f 2-query/substr.py -Q 4 -python3 ./test.py -f 2-query/union.py -Q 4 -python3 ./test.py -f 2-query/union1.py -Q 4 -python3 ./test.py -f 2-query/concat.py -Q 4 -python3 ./test.py -f 2-query/concat2.py -Q 4 -python3 ./test.py -f 2-query/concat_ws.py -Q 4 -python3 ./test.py -f 2-query/concat_ws2.py -Q 4 -#python3 ./test.py -f 2-query/check_tsdb.py -Q 4 -python3 ./test.py -f 2-query/spread.py -Q 4 -python3 ./test.py -f 2-query/hyperloglog.py -Q 4 -python3 ./test.py -f 2-query/explain.py -Q 4 -python3 ./test.py -f 2-query/leastsquares.py -Q 4 -python3 ./test.py -f 2-query/timezone.py -Q 4 -python3 ./test.py -f 2-query/Now.py -Q 4 -python3 ./test.py -f 2-query/Today.py -Q 4 -python3 ./test.py -f 2-query/max.py -Q 4 -python3 ./test.py -f 2-query/min.py -Q 4 -python3 ./test.py -f 2-query/count.py -Q 4 -#python3 ./test.py -f 2-query/last.py -Q 4 -python3 ./test.py -f 2-query/first.py -Q 4 -python3 ./test.py -f 2-query/To_iso8601.py -Q 4 -python3 ./test.py -f 2-query/To_unixtimestamp.py -Q 4 -python3 ./test.py -f 2-query/timetruncate.py -Q 4 -python3 ./test.py -f 2-query/diff.py -Q 4 -python3 ./test.py -f 2-query/Timediff.py -Q 4 -python3 ./test.py -f 2-query/json_tag.py -Q 4 -python3 ./test.py -f 2-query/top.py -Q 4 -python3 ./test.py -f 2-query/bottom.py -Q 4 -python3 ./test.py -f 2-query/percentile.py -Q 4 -python3 ./test.py -f 2-query/apercentile.py -Q 4 -python3 ./test.py -f 2-query/abs.py -Q 4 -python3 ./test.py -f 2-query/ceil.py -Q 4 -python3 ./test.py -f 2-query/floor.py -Q 4 -python3 ./test.py -f 2-query/round.py -Q 4 -python3 ./test.py -f 2-query/log.py -Q 4 -python3 ./test.py -f 2-query/pow.py -Q 4 -python3 ./test.py -f 2-query/sqrt.py -Q 4 -python3 ./test.py -f 2-query/sin.py -Q 4 -python3 ./test.py -f 2-query/cos.py -Q 4 -python3 ./test.py -f 2-query/tan.py -Q 4 -python3 ./test.py -f 2-query/arcsin.py -Q 4 -python3 ./test.py -f 2-query/arccos.py -Q 4 -python3 ./test.py -f 2-query/arctan.py -Q 4 -python3 ./test.py -f 2-query/query_cols_tags_and_or.py -Q 4 -# python3 ./test.py -f 2-query/nestedQuery.py -Q 4 -# python3 ./test.py -f 2-query/nestedQuery_str.py -Q 4 -# python3 ./test.py -f 2-query/avg.py -Q 4 -# python3 ./test.py -f 2-query/elapsed.py -Q 4 -python3 ./test.py -f 2-query/csum.py -Q 4 -#python3 ./test.py -f 2-query/mavg.py -Q 4 -python3 ./test.py -f 2-query/sample.py -Q 4 -python3 ./test.py -f 2-query/function_diff.py -Q 4 -python3 ./test.py -f 2-query/unique.py -Q 4 -python3 ./test.py -f 2-query/stateduration.py -Q 4 -python3 ./test.py -f 2-query/function_stateduration.py -Q 4 -python3 ./test.py -f 2-query/statecount.py -Q 4 -python3 ./test.py -f 2-query/tail.py -Q 4 -python3 ./test.py -f 2-query/ttl_comment.py -Q 4 -python3 ./test.py -f 2-query/distribute_agg_count.py -Q 4 -python3 ./test.py -f 2-query/distribute_agg_max.py -Q 4 -python3 ./test.py -f 2-query/distribute_agg_min.py -Q 4 -python3 ./test.py -f 2-query/distribute_agg_sum.py -Q 4 -python3 ./test.py -f 2-query/distribute_agg_spread.py -Q 4 -python3 ./test.py -f 2-query/distribute_agg_apercentile.py -Q 4 -python3 ./test.py -f 2-query/distribute_agg_avg.py -Q 4 -python3 ./test.py -f 2-query/distribute_agg_stddev.py -Q 4 -python3 ./test.py -f 2-query/twa.py -Q 4 -python3 ./test.py -f 2-query/irate.py -Q 4 -python3 ./test.py -f 2-query/function_null.py -Q 4 -python3 ./test.py -f 2-query/count_partition.py -Q 4 -python3 ./test.py -f 2-query/max_partition.py -Q 4 -python3 ./test.py -f 2-query/last_row.py -Q 4 -python3 ./test.py -f 2-query/tsbsQuery.py -Q 4 -#python3 ./test.py -f 2-query/sml.py -Q 4 -python3 ./test.py -f 2-query/interp.py -Q 4 +# python3 ./test.py -f 2-query/between.py -Q 4 +# python3 ./test.py -f 2-query/distinct.py -Q 4 +# python3 ./test.py -f 2-query/varchar.py -Q 4 +# python3 ./test.py -f 2-query/ltrim.py -Q 4 +# python3 ./test.py -f 2-query/rtrim.py -Q 4 +# python3 ./test.py -f 2-query/length.py -Q 4 +# python3 ./test.py -f 2-query/char_length.py -Q 4 +# python3 ./test.py -f 2-query/upper.py -Q 4 +# python3 ./test.py -f 2-query/lower.py -Q 4 +# python3 ./test.py -f 2-query/join.py -Q 4 +# python3 ./test.py -f 2-query/join2.py -Q 4 +# python3 ./test.py -f 2-query/cast.py -Q 4 +# python3 ./test.py -f 2-query/substr.py -Q 4 +# python3 ./test.py -f 2-query/union.py -Q 4 +# python3 ./test.py -f 2-query/union1.py -Q 4 +# python3 ./test.py -f 2-query/concat.py -Q 4 +# python3 ./test.py -f 2-query/concat2.py -Q 4 +# python3 ./test.py -f 2-query/concat_ws.py -Q 4 +# python3 ./test.py -f 2-query/concat_ws2.py -Q 4 +# #python3 ./test.py -f 2-query/check_tsdb.py -Q 4 +# python3 ./test.py -f 2-query/spread.py -Q 4 +# python3 ./test.py -f 2-query/hyperloglog.py -Q 4 +# python3 ./test.py -f 2-query/explain.py -Q 4 +# python3 ./test.py -f 2-query/leastsquares.py -Q 4 +# python3 ./test.py -f 2-query/timezone.py -Q 4 +# python3 ./test.py -f 2-query/Now.py -Q 4 +# python3 ./test.py -f 2-query/Today.py -Q 4 +# python3 ./test.py -f 2-query/max.py -Q 4 +# python3 ./test.py -f 2-query/min.py -Q 4 +# python3 ./test.py -f 2-query/count.py -Q 4 +# #python3 ./test.py -f 2-query/last.py -Q 4 +# python3 ./test.py -f 2-query/first.py -Q 4 +# python3 ./test.py -f 2-query/To_iso8601.py -Q 4 +# python3 ./test.py -f 2-query/To_unixtimestamp.py -Q 4 +# python3 ./test.py -f 2-query/timetruncate.py -Q 4 +# python3 ./test.py -f 2-query/diff.py -Q 4 +# python3 ./test.py -f 2-query/Timediff.py -Q 4 +# python3 ./test.py -f 2-query/json_tag.py -Q 4 +# python3 ./test.py -f 2-query/top.py -Q 4 +# python3 ./test.py -f 2-query/bottom.py -Q 4 +# python3 ./test.py -f 2-query/percentile.py -Q 4 +# python3 ./test.py -f 2-query/apercentile.py -Q 4 +# python3 ./test.py -f 2-query/abs.py -Q 4 +# python3 ./test.py -f 2-query/ceil.py -Q 4 +# python3 ./test.py -f 2-query/floor.py -Q 4 +# python3 ./test.py -f 2-query/round.py -Q 4 +# python3 ./test.py -f 2-query/log.py -Q 4 +# python3 ./test.py -f 2-query/pow.py -Q 4 +# python3 ./test.py -f 2-query/sqrt.py -Q 4 +# python3 ./test.py -f 2-query/sin.py -Q 4 +# python3 ./test.py -f 2-query/cos.py -Q 4 +# python3 ./test.py -f 2-query/tan.py -Q 4 +# python3 ./test.py -f 2-query/arcsin.py -Q 4 +# python3 ./test.py -f 2-query/arccos.py -Q 4 +# python3 ./test.py -f 2-query/arctan.py -Q 4 +# python3 ./test.py -f 2-query/query_cols_tags_and_or.py -Q 4 +# # python3 ./test.py -f 2-query/nestedQuery.py -Q 4 +# # python3 ./test.py -f 2-query/nestedQuery_str.py -Q 4 +# # python3 ./test.py -f 2-query/avg.py -Q 4 +# # python3 ./test.py -f 2-query/elapsed.py -Q 4 +# python3 ./test.py -f 2-query/csum.py -Q 4 +# #python3 ./test.py -f 2-query/mavg.py -Q 4 +# python3 ./test.py -f 2-query/sample.py -Q 4 +# python3 ./test.py -f 2-query/function_diff.py -Q 4 +# python3 ./test.py -f 2-query/unique.py -Q 4 +# python3 ./test.py -f 2-query/stateduration.py -Q 4 +# python3 ./test.py -f 2-query/function_stateduration.py -Q 4 +# python3 ./test.py -f 2-query/statecount.py -Q 4 +# python3 ./test.py -f 2-query/tail.py -Q 4 +# python3 ./test.py -f 2-query/ttl_comment.py -Q 4 +# python3 ./test.py -f 2-query/distribute_agg_count.py -Q 4 +# python3 ./test.py -f 2-query/distribute_agg_max.py -Q 4 +# python3 ./test.py -f 2-query/distribute_agg_min.py -Q 4 +# python3 ./test.py -f 2-query/distribute_agg_sum.py -Q 4 +# python3 ./test.py -f 2-query/distribute_agg_spread.py -Q 4 +# python3 ./test.py -f 2-query/distribute_agg_apercentile.py -Q 4 +# python3 ./test.py -f 2-query/distribute_agg_avg.py -Q 4 +# python3 ./test.py -f 2-query/distribute_agg_stddev.py -Q 4 +# python3 ./test.py -f 2-query/twa.py -Q 4 +# python3 ./test.py -f 2-query/irate.py -Q 4 +# python3 ./test.py -f 2-query/function_null.py -Q 4 +# python3 ./test.py -f 2-query/count_partition.py -Q 4 +# python3 ./test.py -f 2-query/max_partition.py -Q 4 +# python3 ./test.py -f 2-query/last_row.py -Q 4 +# python3 ./test.py -f 2-query/tsbsQuery.py -Q 4 +# #python3 ./test.py -f 2-query/sml.py -Q 4 +# python3 ./test.py -f 2-query/interp.py -Q 4 From 360445488dc52d97bdebe51f4b30beb672fd6bb2 Mon Sep 17 00:00:00 2001 From: haoranchen Date: Wed, 19 Oct 2022 20:49:02 +0800 Subject: [PATCH 03/33] Update run_case.sh --- tests/parallel_test/run_case.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/parallel_test/run_case.sh b/tests/parallel_test/run_case.sh index e0b905375a..2a828eaad0 100755 --- a/tests/parallel_test/run_case.sh +++ b/tests/parallel_test/run_case.sh @@ -81,3 +81,5 @@ fi exit $RET +sleep 1800 + From 8ae44a23649453187350516b940e57a47669dad3 Mon Sep 17 00:00:00 2001 From: haoranchen Date: Wed, 19 Oct 2022 20:50:20 +0800 Subject: [PATCH 04/33] Update fulltest.sh --- tests/develop-test/fulltest.sh | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/tests/develop-test/fulltest.sh b/tests/develop-test/fulltest.sh index 69cade3855..4e782b3e02 100644 --- a/tests/develop-test/fulltest.sh +++ b/tests/develop-test/fulltest.sh @@ -2,19 +2,19 @@ set -e set -x -python3 ./test.py -f 5-taos-tools/taosbenchmark/auto_create_table_json.py -#python3 ./test.py -f 5-taos-tools/taosbenchmark/commandline.py -python3 ./test.py -f 5-taos-tools/taosbenchmark/custom_col_tag.py -python3 ./test.py -f 5-taos-tools/taosbenchmark/default_json.py -python3 ./test.py -f 5-taos-tools/taosbenchmark/demo.py -python3 ./test.py -f 5-taos-tools/taosbenchmark/insert_alltypes_json.py -python3 ./test.py -f 5-taos-tools/taosbenchmark/invalid_commandline.py -python3 ./test.py -f 5-taos-tools/taosbenchmark/json_tag.py -#python3 ./test.py -f 5-taos-tools/taosbenchmark/limit_offset_json.py -python3 ./test.py -f 5-taos-tools/taosbenchmark/query_json.py -python3 ./test.py -f 5-taos-tools/taosbenchmark/sample_csv_json.py -#python3 ./test.py -f 5-taos-tools/taosbenchmark/sml_interlace.py -python3 ./test.py -f 5-taos-tools/taosbenchmark/sml_json_alltypes.py -#python3 ./test.py -f 5-taos-tools/taosbenchmark/sml_telnet_alltypes.py -#python3 ./test.py -f 5-taos-tools/taosbenchmark/taosadapter_json.py -#python3 ./test.py -f 5-taos-tools/taosbenchmark/telnet_tcp.py +# python3 ./test.py -f 5-taos-tools/taosbenchmark/auto_create_table_json.py +# #python3 ./test.py -f 5-taos-tools/taosbenchmark/commandline.py +# python3 ./test.py -f 5-taos-tools/taosbenchmark/custom_col_tag.py +# python3 ./test.py -f 5-taos-tools/taosbenchmark/default_json.py +# python3 ./test.py -f 5-taos-tools/taosbenchmark/demo.py +# python3 ./test.py -f 5-taos-tools/taosbenchmark/insert_alltypes_json.py +# python3 ./test.py -f 5-taos-tools/taosbenchmark/invalid_commandline.py +# python3 ./test.py -f 5-taos-tools/taosbenchmark/json_tag.py +# #python3 ./test.py -f 5-taos-tools/taosbenchmark/limit_offset_json.py +# python3 ./test.py -f 5-taos-tools/taosbenchmark/query_json.py +# python3 ./test.py -f 5-taos-tools/taosbenchmark/sample_csv_json.py +# #python3 ./test.py -f 5-taos-tools/taosbenchmark/sml_interlace.py +# python3 ./test.py -f 5-taos-tools/taosbenchmark/sml_json_alltypes.py +# #python3 ./test.py -f 5-taos-tools/taosbenchmark/sml_telnet_alltypes.py +# #python3 ./test.py -f 5-taos-tools/taosbenchmark/taosadapter_json.py +# #python3 ./test.py -f 5-taos-tools/taosbenchmark/telnet_tcp.py From 17e1d400aa2f9f1b72d10b2a49b1f7da57d1a1a0 Mon Sep 17 00:00:00 2001 From: haoranchen Date: Wed, 19 Oct 2022 22:38:13 +0800 Subject: [PATCH 05/33] Update run_case.sh --- tests/parallel_test/run_case.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/parallel_test/run_case.sh b/tests/parallel_test/run_case.sh index 2a828eaad0..9ace923d64 100755 --- a/tests/parallel_test/run_case.sh +++ b/tests/parallel_test/run_case.sh @@ -79,7 +79,8 @@ if [ $RET -ne 0 ]; then pwd fi -exit $RET - sleep 1800 +exit $RET + + From 573c6e5814f7e717622329a671ba9a670fc9002d Mon Sep 17 00:00:00 2001 From: haoranchen Date: Thu, 20 Oct 2022 11:45:07 +0800 Subject: [PATCH 06/33] Update compatibility.py --- tests/system-test/0-others/compatibility.py | 128 ++++++++++---------- 1 file changed, 64 insertions(+), 64 deletions(-) diff --git a/tests/system-test/0-others/compatibility.py b/tests/system-test/0-others/compatibility.py index 25b023bb76..f2f2e5ca4c 100644 --- a/tests/system-test/0-others/compatibility.py +++ b/tests/system-test/0-others/compatibility.py @@ -78,77 +78,77 @@ class TDTestCase: def run(self): bPath=self.getBuildPath() cPath=self.getCfgPath() - dbname = "test" - stb = f"{dbname}.meters" - self.installTaosd(bPath,cPath) - tableNumbers=100 - recordNumbers1=100 - recordNumbers2=1000 - tdsqlF=tdCom.newTdSql() - print(tdsqlF) - tdsqlF.query(f"SELECT SERVER_VERSION();") - print(tdsqlF.query(f"SELECT SERVER_VERSION();")) - oldServerVersion=tdsqlF.queryResult[0][0] - tdLog.info(f"Base server version is {oldServerVersion}") - tdsqlF.query(f"SELECT CLIENT_VERSION();") - # the oldClientVersion can't be updated in the same python process,so the version is new compiled verison - oldClientVersion=tdsqlF.queryResult[0][0] - tdLog.info(f"Base client version is {oldClientVersion}") +# dbname = "test" +# stb = f"{dbname}.meters" +# self.installTaosd(bPath,cPath) +# tableNumbers=100 +# recordNumbers1=100 +# recordNumbers2=1000 +# tdsqlF=tdCom.newTdSql() +# print(tdsqlF) +# tdsqlF.query(f"SELECT SERVER_VERSION();") +# print(tdsqlF.query(f"SELECT SERVER_VERSION();")) +# oldServerVersion=tdsqlF.queryResult[0][0] +# tdLog.info(f"Base server version is {oldServerVersion}") +# tdsqlF.query(f"SELECT CLIENT_VERSION();") +# # the oldClientVersion can't be updated in the same python process,so the version is new compiled verison +# oldClientVersion=tdsqlF.queryResult[0][0] +# tdLog.info(f"Base client version is {oldClientVersion}") - tdLog.printNoPrefix(f"==========step1:prepare and check data in old version-{oldServerVersion}") - tdLog.info(f"taosBenchmark -t {tableNumbers} -n {recordNumbers1} -y ") - os.system(f"taosBenchmark -t {tableNumbers} -n {recordNumbers1} -y ") - sleep(3) +# tdLog.printNoPrefix(f"==========step1:prepare and check data in old version-{oldServerVersion}") +# tdLog.info(f"taosBenchmark -t {tableNumbers} -n {recordNumbers1} -y ") +# os.system(f"taosBenchmark -t {tableNumbers} -n {recordNumbers1} -y ") +# sleep(3) - # tdsqlF.query(f"select count(*) from {stb}") - # tdsqlF.checkData(0,0,tableNumbers*recordNumbers1) - os.system("pkill taosd") - sleep(1) +# # tdsqlF.query(f"select count(*) from {stb}") +# # tdsqlF.checkData(0,0,tableNumbers*recordNumbers1) +# os.system("pkill taosd") +# sleep(1) - tdLog.printNoPrefix("==========step2:update new version ") - self.buildTaosd(bPath) - tdDnodes.start(1) - sleep(1) - tdsql=tdCom.newTdSql() - print(tdsql) +# tdLog.printNoPrefix("==========step2:update new version ") +# self.buildTaosd(bPath) +# tdDnodes.start(1) +# sleep(1) +# tdsql=tdCom.newTdSql() +# print(tdsql) - tdsql.query(f"SELECT SERVER_VERSION();") - nowServerVersion=tdsql.queryResult[0][0] - tdLog.info(f"New server version is {nowServerVersion}") - tdsql.query(f"SELECT CLIENT_VERSION();") - nowClientVersion=tdsql.queryResult[0][0] - tdLog.info(f"New client version is {nowClientVersion}") +# tdsql.query(f"SELECT SERVER_VERSION();") +# nowServerVersion=tdsql.queryResult[0][0] +# tdLog.info(f"New server version is {nowServerVersion}") +# tdsql.query(f"SELECT CLIENT_VERSION();") +# nowClientVersion=tdsql.queryResult[0][0] +# tdLog.info(f"New client version is {nowClientVersion}") - tdLog.printNoPrefix(f"==========step3:prepare and check data in new version-{nowServerVersion}") - tdsql.query(f"select count(*) from {stb}") - tdsql.checkData(0,0,tableNumbers*recordNumbers1) - os.system(f"taosBenchmark -t {tableNumbers} -n {recordNumbers2} -y ") - tdsql.query(f"select count(*) from {stb}") - tdsql.checkData(0,0,tableNumbers*recordNumbers2) +# tdLog.printNoPrefix(f"==========step3:prepare and check data in new version-{nowServerVersion}") +# tdsql.query(f"select count(*) from {stb}") +# tdsql.checkData(0,0,tableNumbers*recordNumbers1) +# os.system(f"taosBenchmark -t {tableNumbers} -n {recordNumbers2} -y ") +# tdsql.query(f"select count(*) from {stb}") +# tdsql.checkData(0,0,tableNumbers*recordNumbers2) - tdsql=tdCom.newTdSql() - tdLog.printNoPrefix(f"==========step4:verify backticks in taos Sql-TD18542") - tdsql.execute("drop database if exists db") - tdsql.execute("create database db") - tdsql.execute("use db") - tdsql.execute("create stable db.stb1 (ts timestamp, c1 int) tags (t1 int);") - tdsql.execute("insert into db.ct1 using db.stb1 TAGS(1) values(now(),11);") - tdsql.error(" insert into `db.ct2` using db.stb1 TAGS(9) values(now(),11);") - tdsql.error(" insert into db.`db.ct2` using db.stb1 TAGS(9) values(now(),11);") - tdsql.execute("insert into `db`.ct3 using db.stb1 TAGS(3) values(now(),13);") - tdsql.query("select * from db.ct3") - tdsql.checkData(0,1,13) - tdsql.execute("insert into db.`ct4` using db.stb1 TAGS(4) values(now(),14);") - tdsql.query("select * from db.ct4") - tdsql.checkData(0,1,14) - tdsql.query("describe information_schema.ins_databases;") - qRows=tdsql.queryRows - for i in range(qRows) : - if tdsql.queryResult[i][0]=="retentions" : - return True - else: - return False +# tdsql=tdCom.newTdSql() +# tdLog.printNoPrefix(f"==========step4:verify backticks in taos Sql-TD18542") +# tdsql.execute("drop database if exists db") +# tdsql.execute("create database db") +# tdsql.execute("use db") +# tdsql.execute("create stable db.stb1 (ts timestamp, c1 int) tags (t1 int);") +# tdsql.execute("insert into db.ct1 using db.stb1 TAGS(1) values(now(),11);") +# tdsql.error(" insert into `db.ct2` using db.stb1 TAGS(9) values(now(),11);") +# tdsql.error(" insert into db.`db.ct2` using db.stb1 TAGS(9) values(now(),11);") +# tdsql.execute("insert into `db`.ct3 using db.stb1 TAGS(3) values(now(),13);") +# tdsql.query("select * from db.ct3") +# tdsql.checkData(0,1,13) +# tdsql.execute("insert into db.`ct4` using db.stb1 TAGS(4) values(now(),14);") +# tdsql.query("select * from db.ct4") +# tdsql.checkData(0,1,14) +# tdsql.query("describe information_schema.ins_databases;") +# qRows=tdsql.queryRows +# for i in range(qRows) : +# if tdsql.queryResult[i][0]=="retentions" : +# return True +# else: +# return False def stop(self): tdSql.close() tdLog.success(f"{__file__} successfully executed") From 204ebfc1ac9ef1ec0fe8d779aa89f3777e1b5883 Mon Sep 17 00:00:00 2001 From: haoranchen Date: Thu, 20 Oct 2022 13:20:00 +0800 Subject: [PATCH 07/33] Update run_container.sh --- tests/parallel_test/run_container.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/parallel_test/run_container.sh b/tests/parallel_test/run_container.sh index 47a918f8d1..92ab8493a0 100755 --- a/tests/parallel_test/run_container.sh +++ b/tests/parallel_test/run_container.sh @@ -68,7 +68,7 @@ if [ $ent -ne 0 ]; then CONTAINER_TESTDIR=/home/TDinternal/community SIM_DIR=/home/TDinternal/sim REP_MOUNT_PARAM="$INTERNAL_REPDIR:/home/TDinternal" - REP_MOUNT_LIB="$INTERNAL_REPDIR/debug/build/lib:/home/TDinternal/debug/build/lib:ro" + REP_MOUNT_LIB="$INTERNAL_REPDIR/debug/build/lib:/home/TDinternal/debug/build/lib" else # community edition @@ -76,7 +76,7 @@ else CONTAINER_TESTDIR=/home/TDengine SIM_DIR=/home/TDengine/sim REP_MOUNT_PARAM="$REPDIR:/home/TDengine" - REP_MOUNT_LIB="$REPDIR/debug/build/lib:/home/TDengine/debug/build/lib:ro" + REP_MOUNT_LIB="$REPDIR/debug/build/lib:/home/TDengine/debug/build/lib" fi From 858d13a7c09740050ca43edb60bf0b77f6192304 Mon Sep 17 00:00:00 2001 From: haoranchen Date: Thu, 20 Oct 2022 15:01:14 +0800 Subject: [PATCH 08/33] Update compatibility.py --- tests/system-test/0-others/compatibility.py | 128 ++++++++++---------- 1 file changed, 64 insertions(+), 64 deletions(-) diff --git a/tests/system-test/0-others/compatibility.py b/tests/system-test/0-others/compatibility.py index f2f2e5ca4c..25b023bb76 100644 --- a/tests/system-test/0-others/compatibility.py +++ b/tests/system-test/0-others/compatibility.py @@ -78,77 +78,77 @@ class TDTestCase: def run(self): bPath=self.getBuildPath() cPath=self.getCfgPath() -# dbname = "test" -# stb = f"{dbname}.meters" -# self.installTaosd(bPath,cPath) -# tableNumbers=100 -# recordNumbers1=100 -# recordNumbers2=1000 -# tdsqlF=tdCom.newTdSql() -# print(tdsqlF) -# tdsqlF.query(f"SELECT SERVER_VERSION();") -# print(tdsqlF.query(f"SELECT SERVER_VERSION();")) -# oldServerVersion=tdsqlF.queryResult[0][0] -# tdLog.info(f"Base server version is {oldServerVersion}") -# tdsqlF.query(f"SELECT CLIENT_VERSION();") -# # the oldClientVersion can't be updated in the same python process,so the version is new compiled verison -# oldClientVersion=tdsqlF.queryResult[0][0] -# tdLog.info(f"Base client version is {oldClientVersion}") + dbname = "test" + stb = f"{dbname}.meters" + self.installTaosd(bPath,cPath) + tableNumbers=100 + recordNumbers1=100 + recordNumbers2=1000 + tdsqlF=tdCom.newTdSql() + print(tdsqlF) + tdsqlF.query(f"SELECT SERVER_VERSION();") + print(tdsqlF.query(f"SELECT SERVER_VERSION();")) + oldServerVersion=tdsqlF.queryResult[0][0] + tdLog.info(f"Base server version is {oldServerVersion}") + tdsqlF.query(f"SELECT CLIENT_VERSION();") + # the oldClientVersion can't be updated in the same python process,so the version is new compiled verison + oldClientVersion=tdsqlF.queryResult[0][0] + tdLog.info(f"Base client version is {oldClientVersion}") -# tdLog.printNoPrefix(f"==========step1:prepare and check data in old version-{oldServerVersion}") -# tdLog.info(f"taosBenchmark -t {tableNumbers} -n {recordNumbers1} -y ") -# os.system(f"taosBenchmark -t {tableNumbers} -n {recordNumbers1} -y ") -# sleep(3) + tdLog.printNoPrefix(f"==========step1:prepare and check data in old version-{oldServerVersion}") + tdLog.info(f"taosBenchmark -t {tableNumbers} -n {recordNumbers1} -y ") + os.system(f"taosBenchmark -t {tableNumbers} -n {recordNumbers1} -y ") + sleep(3) -# # tdsqlF.query(f"select count(*) from {stb}") -# # tdsqlF.checkData(0,0,tableNumbers*recordNumbers1) -# os.system("pkill taosd") -# sleep(1) + # tdsqlF.query(f"select count(*) from {stb}") + # tdsqlF.checkData(0,0,tableNumbers*recordNumbers1) + os.system("pkill taosd") + sleep(1) -# tdLog.printNoPrefix("==========step2:update new version ") -# self.buildTaosd(bPath) -# tdDnodes.start(1) -# sleep(1) -# tdsql=tdCom.newTdSql() -# print(tdsql) + tdLog.printNoPrefix("==========step2:update new version ") + self.buildTaosd(bPath) + tdDnodes.start(1) + sleep(1) + tdsql=tdCom.newTdSql() + print(tdsql) -# tdsql.query(f"SELECT SERVER_VERSION();") -# nowServerVersion=tdsql.queryResult[0][0] -# tdLog.info(f"New server version is {nowServerVersion}") -# tdsql.query(f"SELECT CLIENT_VERSION();") -# nowClientVersion=tdsql.queryResult[0][0] -# tdLog.info(f"New client version is {nowClientVersion}") + tdsql.query(f"SELECT SERVER_VERSION();") + nowServerVersion=tdsql.queryResult[0][0] + tdLog.info(f"New server version is {nowServerVersion}") + tdsql.query(f"SELECT CLIENT_VERSION();") + nowClientVersion=tdsql.queryResult[0][0] + tdLog.info(f"New client version is {nowClientVersion}") -# tdLog.printNoPrefix(f"==========step3:prepare and check data in new version-{nowServerVersion}") -# tdsql.query(f"select count(*) from {stb}") -# tdsql.checkData(0,0,tableNumbers*recordNumbers1) -# os.system(f"taosBenchmark -t {tableNumbers} -n {recordNumbers2} -y ") -# tdsql.query(f"select count(*) from {stb}") -# tdsql.checkData(0,0,tableNumbers*recordNumbers2) + tdLog.printNoPrefix(f"==========step3:prepare and check data in new version-{nowServerVersion}") + tdsql.query(f"select count(*) from {stb}") + tdsql.checkData(0,0,tableNumbers*recordNumbers1) + os.system(f"taosBenchmark -t {tableNumbers} -n {recordNumbers2} -y ") + tdsql.query(f"select count(*) from {stb}") + tdsql.checkData(0,0,tableNumbers*recordNumbers2) -# tdsql=tdCom.newTdSql() -# tdLog.printNoPrefix(f"==========step4:verify backticks in taos Sql-TD18542") -# tdsql.execute("drop database if exists db") -# tdsql.execute("create database db") -# tdsql.execute("use db") -# tdsql.execute("create stable db.stb1 (ts timestamp, c1 int) tags (t1 int);") -# tdsql.execute("insert into db.ct1 using db.stb1 TAGS(1) values(now(),11);") -# tdsql.error(" insert into `db.ct2` using db.stb1 TAGS(9) values(now(),11);") -# tdsql.error(" insert into db.`db.ct2` using db.stb1 TAGS(9) values(now(),11);") -# tdsql.execute("insert into `db`.ct3 using db.stb1 TAGS(3) values(now(),13);") -# tdsql.query("select * from db.ct3") -# tdsql.checkData(0,1,13) -# tdsql.execute("insert into db.`ct4` using db.stb1 TAGS(4) values(now(),14);") -# tdsql.query("select * from db.ct4") -# tdsql.checkData(0,1,14) -# tdsql.query("describe information_schema.ins_databases;") -# qRows=tdsql.queryRows -# for i in range(qRows) : -# if tdsql.queryResult[i][0]=="retentions" : -# return True -# else: -# return False + tdsql=tdCom.newTdSql() + tdLog.printNoPrefix(f"==========step4:verify backticks in taos Sql-TD18542") + tdsql.execute("drop database if exists db") + tdsql.execute("create database db") + tdsql.execute("use db") + tdsql.execute("create stable db.stb1 (ts timestamp, c1 int) tags (t1 int);") + tdsql.execute("insert into db.ct1 using db.stb1 TAGS(1) values(now(),11);") + tdsql.error(" insert into `db.ct2` using db.stb1 TAGS(9) values(now(),11);") + tdsql.error(" insert into db.`db.ct2` using db.stb1 TAGS(9) values(now(),11);") + tdsql.execute("insert into `db`.ct3 using db.stb1 TAGS(3) values(now(),13);") + tdsql.query("select * from db.ct3") + tdsql.checkData(0,1,13) + tdsql.execute("insert into db.`ct4` using db.stb1 TAGS(4) values(now(),14);") + tdsql.query("select * from db.ct4") + tdsql.checkData(0,1,14) + tdsql.query("describe information_schema.ins_databases;") + qRows=tdsql.queryRows + for i in range(qRows) : + if tdsql.queryResult[i][0]=="retentions" : + return True + else: + return False def stop(self): tdSql.close() tdLog.success(f"{__file__} successfully executed") From b42960cbfa8fab492db878b4a120fd4bfb7d3920 Mon Sep 17 00:00:00 2001 From: haoranchen Date: Thu, 20 Oct 2022 15:01:44 +0800 Subject: [PATCH 09/33] Update run_case.sh --- tests/parallel_test/run_case.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/parallel_test/run_case.sh b/tests/parallel_test/run_case.sh index 9ace923d64..0da68ad618 100755 --- a/tests/parallel_test/run_case.sh +++ b/tests/parallel_test/run_case.sh @@ -79,7 +79,7 @@ if [ $RET -ne 0 ]; then pwd fi -sleep 1800 +sleep 3600 exit $RET From 175aa665e1bb9536feec55b296360c93f64ce98f Mon Sep 17 00:00:00 2001 From: haoranchen Date: Thu, 20 Oct 2022 16:41:18 +0800 Subject: [PATCH 10/33] Update compatibility.py --- tests/system-test/0-others/compatibility.py | 116 ++++++++++---------- 1 file changed, 58 insertions(+), 58 deletions(-) diff --git a/tests/system-test/0-others/compatibility.py b/tests/system-test/0-others/compatibility.py index 25b023bb76..988dc9414c 100644 --- a/tests/system-test/0-others/compatibility.py +++ b/tests/system-test/0-others/compatibility.py @@ -84,71 +84,71 @@ class TDTestCase: tableNumbers=100 recordNumbers1=100 recordNumbers2=1000 - tdsqlF=tdCom.newTdSql() - print(tdsqlF) - tdsqlF.query(f"SELECT SERVER_VERSION();") - print(tdsqlF.query(f"SELECT SERVER_VERSION();")) - oldServerVersion=tdsqlF.queryResult[0][0] - tdLog.info(f"Base server version is {oldServerVersion}") - tdsqlF.query(f"SELECT CLIENT_VERSION();") - # the oldClientVersion can't be updated in the same python process,so the version is new compiled verison - oldClientVersion=tdsqlF.queryResult[0][0] - tdLog.info(f"Base client version is {oldClientVersion}") +# tdsqlF=tdCom.newTdSql() +# print(tdsqlF) +# tdsqlF.query(f"SELECT SERVER_VERSION();") +# print(tdsqlF.query(f"SELECT SERVER_VERSION();")) +# oldServerVersion=tdsqlF.queryResult[0][0] +# tdLog.info(f"Base server version is {oldServerVersion}") +# tdsqlF.query(f"SELECT CLIENT_VERSION();") +# # the oldClientVersion can't be updated in the same python process,so the version is new compiled verison +# oldClientVersion=tdsqlF.queryResult[0][0] +# tdLog.info(f"Base client version is {oldClientVersion}") - tdLog.printNoPrefix(f"==========step1:prepare and check data in old version-{oldServerVersion}") - tdLog.info(f"taosBenchmark -t {tableNumbers} -n {recordNumbers1} -y ") - os.system(f"taosBenchmark -t {tableNumbers} -n {recordNumbers1} -y ") - sleep(3) +# tdLog.printNoPrefix(f"==========step1:prepare and check data in old version-{oldServerVersion}") +# tdLog.info(f"taosBenchmark -t {tableNumbers} -n {recordNumbers1} -y ") +# os.system(f"taosBenchmark -t {tableNumbers} -n {recordNumbers1} -y ") +# sleep(3) - # tdsqlF.query(f"select count(*) from {stb}") - # tdsqlF.checkData(0,0,tableNumbers*recordNumbers1) - os.system("pkill taosd") - sleep(1) +# # tdsqlF.query(f"select count(*) from {stb}") +# # tdsqlF.checkData(0,0,tableNumbers*recordNumbers1) +# os.system("pkill taosd") +# sleep(1) - tdLog.printNoPrefix("==========step2:update new version ") - self.buildTaosd(bPath) - tdDnodes.start(1) - sleep(1) - tdsql=tdCom.newTdSql() - print(tdsql) +# tdLog.printNoPrefix("==========step2:update new version ") +# self.buildTaosd(bPath) +# tdDnodes.start(1) +# sleep(1) +# tdsql=tdCom.newTdSql() +# print(tdsql) - tdsql.query(f"SELECT SERVER_VERSION();") - nowServerVersion=tdsql.queryResult[0][0] - tdLog.info(f"New server version is {nowServerVersion}") - tdsql.query(f"SELECT CLIENT_VERSION();") - nowClientVersion=tdsql.queryResult[0][0] - tdLog.info(f"New client version is {nowClientVersion}") +# tdsql.query(f"SELECT SERVER_VERSION();") +# nowServerVersion=tdsql.queryResult[0][0] +# tdLog.info(f"New server version is {nowServerVersion}") +# tdsql.query(f"SELECT CLIENT_VERSION();") +# nowClientVersion=tdsql.queryResult[0][0] +# tdLog.info(f"New client version is {nowClientVersion}") - tdLog.printNoPrefix(f"==========step3:prepare and check data in new version-{nowServerVersion}") - tdsql.query(f"select count(*) from {stb}") - tdsql.checkData(0,0,tableNumbers*recordNumbers1) - os.system(f"taosBenchmark -t {tableNumbers} -n {recordNumbers2} -y ") - tdsql.query(f"select count(*) from {stb}") - tdsql.checkData(0,0,tableNumbers*recordNumbers2) +# tdLog.printNoPrefix(f"==========step3:prepare and check data in new version-{nowServerVersion}") +# tdsql.query(f"select count(*) from {stb}") +# tdsql.checkData(0,0,tableNumbers*recordNumbers1) +# os.system(f"taosBenchmark -t {tableNumbers} -n {recordNumbers2} -y ") +# tdsql.query(f"select count(*) from {stb}") +# tdsql.checkData(0,0,tableNumbers*recordNumbers2) - tdsql=tdCom.newTdSql() - tdLog.printNoPrefix(f"==========step4:verify backticks in taos Sql-TD18542") - tdsql.execute("drop database if exists db") - tdsql.execute("create database db") - tdsql.execute("use db") - tdsql.execute("create stable db.stb1 (ts timestamp, c1 int) tags (t1 int);") - tdsql.execute("insert into db.ct1 using db.stb1 TAGS(1) values(now(),11);") - tdsql.error(" insert into `db.ct2` using db.stb1 TAGS(9) values(now(),11);") - tdsql.error(" insert into db.`db.ct2` using db.stb1 TAGS(9) values(now(),11);") - tdsql.execute("insert into `db`.ct3 using db.stb1 TAGS(3) values(now(),13);") - tdsql.query("select * from db.ct3") - tdsql.checkData(0,1,13) - tdsql.execute("insert into db.`ct4` using db.stb1 TAGS(4) values(now(),14);") - tdsql.query("select * from db.ct4") - tdsql.checkData(0,1,14) - tdsql.query("describe information_schema.ins_databases;") - qRows=tdsql.queryRows - for i in range(qRows) : - if tdsql.queryResult[i][0]=="retentions" : - return True - else: - return False +# tdsql=tdCom.newTdSql() +# tdLog.printNoPrefix(f"==========step4:verify backticks in taos Sql-TD18542") +# tdsql.execute("drop database if exists db") +# tdsql.execute("create database db") +# tdsql.execute("use db") +# tdsql.execute("create stable db.stb1 (ts timestamp, c1 int) tags (t1 int);") +# tdsql.execute("insert into db.ct1 using db.stb1 TAGS(1) values(now(),11);") +# tdsql.error(" insert into `db.ct2` using db.stb1 TAGS(9) values(now(),11);") +# tdsql.error(" insert into db.`db.ct2` using db.stb1 TAGS(9) values(now(),11);") +# tdsql.execute("insert into `db`.ct3 using db.stb1 TAGS(3) values(now(),13);") +# tdsql.query("select * from db.ct3") +# tdsql.checkData(0,1,13) +# tdsql.execute("insert into db.`ct4` using db.stb1 TAGS(4) values(now(),14);") +# tdsql.query("select * from db.ct4") +# tdsql.checkData(0,1,14) +# tdsql.query("describe information_schema.ins_databases;") +# qRows=tdsql.queryRows +# for i in range(qRows) : +# if tdsql.queryResult[i][0]=="retentions" : +# return True +# else: +# return False def stop(self): tdSql.close() tdLog.success(f"{__file__} successfully executed") From 062faacc38ae49aa2e731706ac7ff1c7ad055189 Mon Sep 17 00:00:00 2001 From: haoranchen Date: Thu, 20 Oct 2022 18:01:58 +0800 Subject: [PATCH 11/33] Update compatibility.py --- tests/system-test/0-others/compatibility.py | 28 ++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/tests/system-test/0-others/compatibility.py b/tests/system-test/0-others/compatibility.py index 988dc9414c..4fa75b75f1 100644 --- a/tests/system-test/0-others/compatibility.py +++ b/tests/system-test/0-others/compatibility.py @@ -84,21 +84,21 @@ class TDTestCase: tableNumbers=100 recordNumbers1=100 recordNumbers2=1000 -# tdsqlF=tdCom.newTdSql() -# print(tdsqlF) -# tdsqlF.query(f"SELECT SERVER_VERSION();") -# print(tdsqlF.query(f"SELECT SERVER_VERSION();")) -# oldServerVersion=tdsqlF.queryResult[0][0] -# tdLog.info(f"Base server version is {oldServerVersion}") -# tdsqlF.query(f"SELECT CLIENT_VERSION();") -# # the oldClientVersion can't be updated in the same python process,so the version is new compiled verison -# oldClientVersion=tdsqlF.queryResult[0][0] -# tdLog.info(f"Base client version is {oldClientVersion}") + tdsqlF=tdCom.newTdSql() + print(tdsqlF) + tdsqlF.query(f"SELECT SERVER_VERSION();") + print(tdsqlF.query(f"SELECT SERVER_VERSION();")) + oldServerVersion=tdsqlF.queryResult[0][0] + tdLog.info(f"Base server version is {oldServerVersion}") + tdsqlF.query(f"SELECT CLIENT_VERSION();") + # the oldClientVersion can't be updated in the same python process,so the version is new compiled verison + oldClientVersion=tdsqlF.queryResult[0][0] + tdLog.info(f"Base client version is {oldClientVersion}") -# tdLog.printNoPrefix(f"==========step1:prepare and check data in old version-{oldServerVersion}") -# tdLog.info(f"taosBenchmark -t {tableNumbers} -n {recordNumbers1} -y ") -# os.system(f"taosBenchmark -t {tableNumbers} -n {recordNumbers1} -y ") -# sleep(3) + tdLog.printNoPrefix(f"==========step1:prepare and check data in old version-{oldServerVersion}") + tdLog.info(f"taosBenchmark -t {tableNumbers} -n {recordNumbers1} -y ") + os.system(f"taosBenchmark -t {tableNumbers} -n {recordNumbers1} -y ") + sleep(3) # # tdsqlF.query(f"select count(*) from {stb}") # # tdsqlF.checkData(0,0,tableNumbers*recordNumbers1) From c2d071a2e45c37fe7b63f4ae503d86fe93770704 Mon Sep 17 00:00:00 2001 From: dapan1121 Date: Thu, 20 Oct 2022 19:43:33 +0800 Subject: [PATCH 12/33] fix: add debug log --- source/libs/qcom/src/querymsg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libs/qcom/src/querymsg.c b/source/libs/qcom/src/querymsg.c index a6f26088de..d393701721 100644 --- a/source/libs/qcom/src/querymsg.c +++ b/source/libs/qcom/src/querymsg.c @@ -529,7 +529,7 @@ int32_t queryProcessGetDbCfgRsp(void *output, char *msg, int32_t msgSize) { } if (tDeserializeSDbCfgRsp(msg, msgSize, &out) != 0) { - qError("tDeserializeSDbCfgRsp failed, msgSize:%d", msgSize); + qError("tDeserializeSDbCfgRsp failed, msgSize:%d,dbCfgRsp:%d", msgSize, sizeof(out)); return TSDB_CODE_INVALID_MSG; } From a871a7f27a441b0a7b88aa7dc6a82d2e1ebb2b8d Mon Sep 17 00:00:00 2001 From: haoranchen Date: Thu, 20 Oct 2022 20:47:53 +0800 Subject: [PATCH 13/33] Update compatibility.py --- tests/system-test/0-others/compatibility.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/system-test/0-others/compatibility.py b/tests/system-test/0-others/compatibility.py index 4fa75b75f1..7539ddcbea 100644 --- a/tests/system-test/0-others/compatibility.py +++ b/tests/system-test/0-others/compatibility.py @@ -81,6 +81,7 @@ class TDTestCase: dbname = "test" stb = f"{dbname}.meters" self.installTaosd(bPath,cPath) + os.system("echo 'debugFlag 143' > /etc/taos/taos.cfg ") tableNumbers=100 recordNumbers1=100 recordNumbers2=1000 From 93742337fbf42ed87be035f858f7de8b7d7f43f8 Mon Sep 17 00:00:00 2001 From: haoranchen Date: Thu, 20 Oct 2022 21:14:46 +0800 Subject: [PATCH 14/33] Update querymsg.c --- source/libs/qcom/src/querymsg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libs/qcom/src/querymsg.c b/source/libs/qcom/src/querymsg.c index 2b45756547..ca01a9a0fb 100644 --- a/source/libs/qcom/src/querymsg.c +++ b/source/libs/qcom/src/querymsg.c @@ -529,7 +529,7 @@ int32_t queryProcessGetDbCfgRsp(void *output, char *msg, int32_t msgSize) { } if (tDeserializeSDbCfgRsp(msg, msgSize, &out) != 0) { - qError("tDeserializeSDbCfgRsp failed, msgSize:%d,dbCfgRsp:%d", msgSize, sizeof(out)); + qError("tDeserializeSDbCfgRsp failed, msgSize:%d,dbCfgRsp:%u", msgSize, sizeof(out)); return TSDB_CODE_INVALID_MSG; } From 06f276f1373ba511127d56096149525a0366bae6 Mon Sep 17 00:00:00 2001 From: haoranchen Date: Thu, 20 Oct 2022 21:19:33 +0800 Subject: [PATCH 15/33] Update querymsg.c --- source/libs/qcom/src/querymsg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libs/qcom/src/querymsg.c b/source/libs/qcom/src/querymsg.c index ca01a9a0fb..953abd5956 100644 --- a/source/libs/qcom/src/querymsg.c +++ b/source/libs/qcom/src/querymsg.c @@ -529,7 +529,7 @@ int32_t queryProcessGetDbCfgRsp(void *output, char *msg, int32_t msgSize) { } if (tDeserializeSDbCfgRsp(msg, msgSize, &out) != 0) { - qError("tDeserializeSDbCfgRsp failed, msgSize:%d,dbCfgRsp:%u", msgSize, sizeof(out)); + qError("tDeserializeSDbCfgRsp failed, msgSize:%d,dbCfgRsp:%lu", msgSize, sizeof(out)); return TSDB_CODE_INVALID_MSG; } From 4d899c4e8eb9713112a4ea070e95a43d047f3c18 Mon Sep 17 00:00:00 2001 From: haoranchen Date: Fri, 21 Oct 2022 08:22:26 +0800 Subject: [PATCH 16/33] Update run_case.sh --- tests/parallel_test/run_case.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/parallel_test/run_case.sh b/tests/parallel_test/run_case.sh index 0da68ad618..9972fdbf14 100755 --- a/tests/parallel_test/run_case.sh +++ b/tests/parallel_test/run_case.sh @@ -79,7 +79,7 @@ if [ $RET -ne 0 ]; then pwd fi -sleep 3600 +sleep 36000 exit $RET From 0e09ed7dcbb309c446f6c99beb9a03809e8da4f4 Mon Sep 17 00:00:00 2001 From: haoranchen Date: Fri, 21 Oct 2022 13:32:15 +0800 Subject: [PATCH 17/33] Update compatibility.py --- tests/system-test/0-others/compatibility.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/system-test/0-others/compatibility.py b/tests/system-test/0-others/compatibility.py index 7539ddcbea..04cbcb4e54 100644 --- a/tests/system-test/0-others/compatibility.py +++ b/tests/system-test/0-others/compatibility.py @@ -97,8 +97,8 @@ class TDTestCase: tdLog.info(f"Base client version is {oldClientVersion}") tdLog.printNoPrefix(f"==========step1:prepare and check data in old version-{oldServerVersion}") - tdLog.info(f"taosBenchmark -t {tableNumbers} -n {recordNumbers1} -y ") - os.system(f"taosBenchmark -t {tableNumbers} -n {recordNumbers1} -y ") + tdLog.info(f" LD_LIBRARY_PATH=/usr/lib taosBenchmark -t {tableNumbers} -n {recordNumbers1} -y ") + os.system(f"LD_LIBRARY_PATH=/usr/lib taosBenchmark -t {tableNumbers} -n {recordNumbers1} -y ") sleep(3) # # tdsqlF.query(f"select count(*) from {stb}") From b53cc7f3dddd1e6a9fe9e8d6b1f24d2edca520f4 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Fri, 21 Oct 2022 14:00:46 +0800 Subject: [PATCH 18/33] fix(query): fix coverity issues. --- include/libs/executor/dataSinkMgt.h | 2 +- source/common/src/tdataformat.c | 16 +++++++++++--- source/dnode/vnode/src/tsdb/tsdbRead.c | 8 +++---- source/libs/executor/src/dataDeleter.c | 27 ++++++++++++++++++----- source/libs/executor/src/dataDispatcher.c | 6 +++-- source/libs/executor/src/dataSinkMgt.c | 6 +++-- source/libs/executor/src/executor.c | 2 +- source/libs/executor/src/executorimpl.c | 2 ++ source/libs/executor/src/groupoperator.c | 10 +++++---- source/libs/executor/src/scanoperator.c | 8 +++---- 10 files changed, 59 insertions(+), 28 deletions(-) diff --git a/include/libs/executor/dataSinkMgt.h b/include/libs/executor/dataSinkMgt.h index 816a53ad96..8a02f372d1 100644 --- a/include/libs/executor/dataSinkMgt.h +++ b/include/libs/executor/dataSinkMgt.h @@ -84,7 +84,7 @@ typedef struct SOutputData { * @param pHandle output * @return error code */ -int32_t dsCreateDataSinker(const SDataSinkNode* pDataSink, DataSinkHandle* pHandle, void* pParam); +int32_t dsCreateDataSinker(const SDataSinkNode* pDataSink, DataSinkHandle* pHandle, void* pParam, const char* id); int32_t dsDataSinkGetCacheSize(SDataSinkStat* pStat); diff --git a/source/common/src/tdataformat.c b/source/common/src/tdataformat.c index a11c67c1fd..513c54c7e9 100644 --- a/source/common/src/tdataformat.c +++ b/source/common/src/tdataformat.c @@ -893,16 +893,26 @@ void tTagFree(STag *pTag) { } char *tTagValToData(const STagVal *value, bool isJson) { - if (!value) return NULL; + if (!value) { + return NULL; + } + char *data = NULL; int8_t typeBytes = 0; if (isJson) { typeBytes = CHAR_BYTES; } + if (IS_VAR_DATA_TYPE(value->type)) { data = taosMemoryCalloc(1, typeBytes + VARSTR_HEADER_SIZE + value->nData); - if (data == NULL) return NULL; - if (isJson) *data = value->type; + if (data == NULL) { + return NULL; + } + + if (isJson) { + *data = value->type; + } + varDataLen(data + typeBytes) = value->nData; memcpy(varDataVal(data + typeBytes), value->pData, value->nData); } else { diff --git a/source/dnode/vnode/src/tsdb/tsdbRead.c b/source/dnode/vnode/src/tsdb/tsdbRead.c index 11cae00358..88bbf67758 100644 --- a/source/dnode/vnode/src/tsdb/tsdbRead.c +++ b/source/dnode/vnode/src/tsdb/tsdbRead.c @@ -1523,9 +1523,9 @@ static FORCE_INLINE STSchema* doGetSchemaForTSRow(int32_t sversion, STsdbReader* return pReader->pMemSchema; } - taosMemoryFree(pReader->pMemSchema); + taosMemoryFreeClear(pReader->pMemSchema); int32_t code = metaGetTbTSchemaEx(pReader->pTsdb->pVnode->pMeta, pReader->suid, uid, sversion, &pReader->pMemSchema); - if (code != TSDB_CODE_SUCCESS) { + if (code != TSDB_CODE_SUCCESS || pReader->pMemSchema == NULL) { terrno = code; return NULL; } else { @@ -2274,7 +2274,7 @@ static int32_t buildComposedDataBlock(STsdbReader* pReader) { } _end: - pResBlock->info.uid = pBlockScanInfo->uid; + pResBlock->info.uid = (pBlockScanInfo != NULL)? pBlockScanInfo->uid:0; blockDataUpdateTsWindow(pResBlock, 0); setComposedBlockFlag(pReader, true); @@ -2569,7 +2569,7 @@ static int32_t doBuildDataBlock(STsdbReader* pReader) { } if (pScanInfo == NULL) { - tsdbError("failed to get table, uid:%" PRIu64 ", %s", pBlockInfo->uid, pReader->idStr); + tsdbError("failed to get table scan-info, %s", pReader->idStr); code = TSDB_CODE_INVALID_PARA; return code; } diff --git a/source/libs/executor/src/dataDeleter.c b/source/libs/executor/src/dataDeleter.c index 0714d0f3ac..2ed83a6469 100644 --- a/source/libs/executor/src/dataDeleter.c +++ b/source/libs/executor/src/dataDeleter.c @@ -254,10 +254,12 @@ static int32_t getCacheSize(struct SDataSinkHandle* pHandle, uint64_t* size) { int32_t createDataDeleter(SDataSinkManager* pManager, const SDataSinkNode* pDataSink, DataSinkHandle* pHandle, void* pParam) { + int32_t code = TSDB_CODE_SUCCESS; + SDataDeleterHandle* deleter = taosMemoryCalloc(1, sizeof(SDataDeleterHandle)); if (NULL == deleter) { - terrno = TSDB_CODE_QRY_OUT_OF_MEMORY; - return TSDB_CODE_QRY_OUT_OF_MEMORY; + code = TSDB_CODE_OUT_OF_MEMORY; + goto _end; } SDataDeleterNode* pDeleterNode = (SDataDeleterNode*)pDataSink; @@ -270,17 +272,30 @@ int32_t createDataDeleter(SDataSinkManager* pManager, const SDataSinkNode* pData deleter->pManager = pManager; deleter->pDeleter = pDeleterNode; deleter->pSchema = pDataSink->pInputDataBlockDesc; + + if(pParam == NULL) { + code = TSDB_CODE_QRY_INVALID_INPUT; + qError("invalid input param in creating data deleter, code%s", tstrerror(code)); + goto _end; + } + deleter->pParam = pParam; deleter->status = DS_BUF_EMPTY; deleter->queryEnd = false; deleter->pDataBlocks = taosOpenQueue(); taosThreadMutexInit(&deleter->mutex, NULL); if (NULL == deleter->pDataBlocks) { - terrno = TSDB_CODE_QRY_OUT_OF_MEMORY; + code = TSDB_CODE_OUT_OF_MEMORY; + goto _end; + } + + *pHandle = deleter; + return code; + + _end: + if (deleter != NULL) { destroyDataSinker((SDataSinkHandle*)deleter); taosMemoryFree(deleter); - return TSDB_CODE_QRY_OUT_OF_MEMORY; } - *pHandle = deleter; - return TSDB_CODE_SUCCESS; + return code; } diff --git a/source/libs/executor/src/dataDispatcher.c b/source/libs/executor/src/dataDispatcher.c index ffdcf48d48..b758e4b1dd 100644 --- a/source/libs/executor/src/dataDispatcher.c +++ b/source/libs/executor/src/dataDispatcher.c @@ -231,8 +231,10 @@ static int32_t destroyDataSinker(SDataSinkHandle* pHandle) { while (!taosQueueEmpty(pDispatcher->pDataBlocks)) { SDataDispatchBuf* pBuf = NULL; taosReadQitem(pDispatcher->pDataBlocks, (void**)&pBuf); - taosMemoryFreeClear(pBuf->pData); - taosFreeQitem(pBuf); + if (pBuf != NULL) { + taosMemoryFreeClear(pBuf->pData); + taosFreeQitem(pBuf); + } } taosCloseQueue(pDispatcher->pDataBlocks); taosThreadMutexDestroy(&pDispatcher->mutex); diff --git a/source/libs/executor/src/dataSinkMgt.c b/source/libs/executor/src/dataSinkMgt.c index 206f3719fa..2b50be33ad 100644 --- a/source/libs/executor/src/dataSinkMgt.c +++ b/source/libs/executor/src/dataSinkMgt.c @@ -33,7 +33,7 @@ int32_t dsDataSinkGetCacheSize(SDataSinkStat* pStat) { return 0; } -int32_t dsCreateDataSinker(const SDataSinkNode* pDataSink, DataSinkHandle* pHandle, void* pParam) { +int32_t dsCreateDataSinker(const SDataSinkNode* pDataSink, DataSinkHandle* pHandle, void* pParam, const char* id) { switch ((int)nodeType(pDataSink)) { case QUERY_NODE_PHYSICAL_PLAN_DISPATCH: return createDataDispatcher(&gDataSinkManager, pDataSink, pHandle); @@ -42,7 +42,9 @@ int32_t dsCreateDataSinker(const SDataSinkNode* pDataSink, DataSinkHandle* pHand case QUERY_NODE_PHYSICAL_PLAN_QUERY_INSERT: return createDataInserter(&gDataSinkManager, pDataSink, pHandle, pParam); } - return TSDB_CODE_FAILED; + + qError("invalid input node type:%d, %s", nodeType(pDataSink), id); + return TSDB_CODE_QRY_INVALID_INPUT; } int32_t dsPutDataBlock(DataSinkHandle handle, const SInputData* pInput, bool* pContinue) { diff --git a/source/libs/executor/src/executor.c b/source/libs/executor/src/executor.c index cad3e3c44c..fb4248e886 100644 --- a/source/libs/executor/src/executor.c +++ b/source/libs/executor/src/executor.c @@ -370,7 +370,7 @@ int32_t qCreateExecTask(SReadHandle* readHandle, int32_t vgId, uint64_t taskId, goto _error; } - code = dsCreateDataSinker(pSubplan->pDataSink, handle, pSinkParam); + code = dsCreateDataSinker(pSubplan->pDataSink, handle, pSinkParam, (*pTask)->id.str); if (code != TSDB_CODE_SUCCESS) { taosMemoryFreeClear(pSinkParam); } diff --git a/source/libs/executor/src/executorimpl.c b/source/libs/executor/src/executorimpl.c index a6ca563d76..42b88cb149 100644 --- a/source/libs/executor/src/executorimpl.c +++ b/source/libs/executor/src/executorimpl.c @@ -3098,7 +3098,9 @@ _error: destroyAggOperatorInfo(pInfo); } + cleanupExprSupp(&pOperator->exprSupp); taosMemoryFreeClear(pOperator); + pTaskInfo->code = TSDB_CODE_OUT_OF_MEMORY; return NULL; } diff --git a/source/libs/executor/src/groupoperator.c b/source/libs/executor/src/groupoperator.c index 53acf31330..60794fc22a 100644 --- a/source/libs/executor/src/groupoperator.c +++ b/source/libs/executor/src/groupoperator.c @@ -421,14 +421,14 @@ SOperatorInfo* createGroupOperatorInfo(SOperatorInfo* downstream, SAggPhysiNode goto _error; } - int32_t num = 0; - SExprInfo* pExprInfo = createExprInfo(pAggNode->pAggFuncs, pAggNode->pGroupKeys, &num); + initResultSizeInfo(&pOperator->resultInfo, 4096); code = initGroupOptrInfo(&pInfo->pGroupColVals, &pInfo->groupKeyLen, &pInfo->keyBuf, pInfo->pGroupCols); if (code != TSDB_CODE_SUCCESS) { goto _error; } - initResultSizeInfo(&pOperator->resultInfo, 4096); + int32_t num = 0; + SExprInfo* pExprInfo = createExprInfo(pAggNode->pAggFuncs, pAggNode->pGroupKeys, &num); code = initAggInfo(&pOperator->exprSupp, &pInfo->aggSup, pExprInfo, num, pInfo->groupKeyLen, pTaskInfo->id.str); if (code != TSDB_CODE_SUCCESS) { goto _error; @@ -453,7 +453,9 @@ SOperatorInfo* createGroupOperatorInfo(SOperatorInfo* downstream, SAggPhysiNode _error: pTaskInfo->code = TSDB_CODE_OUT_OF_MEMORY; - destroyGroupOperatorInfo(pInfo); + if (pInfo != NULL) { + destroyGroupOperatorInfo(pInfo); + } taosMemoryFreeClear(pOperator); return NULL; } diff --git a/source/libs/executor/src/scanoperator.c b/source/libs/executor/src/scanoperator.c index cdc59deee1..b6c7147746 100644 --- a/source/libs/executor/src/scanoperator.c +++ b/source/libs/executor/src/scanoperator.c @@ -466,16 +466,14 @@ int32_t addTagPseudoColumnData(SReadHandle* pHandle, SExprInfo* pPseudoExpr, int colDataAppendNNULL(pColInfoData, 0, pBlock->info.rows); } else if (pColInfoData->info.type != TSDB_DATA_TYPE_JSON) { colDataAppendNItems(pColInfoData, 0, data, pBlock->info.rows); + if (IS_VAR_DATA_TYPE(((const STagVal*)p)->type)) { + taosMemoryFree(data); + } } else { // todo opt for json tag for (int32_t i = 0; i < pBlock->info.rows; ++i) { colDataAppend(pColInfoData, i, data, false); } } - - if (data && (pColInfoData->info.type != TSDB_DATA_TYPE_JSON) && p != NULL && - IS_VAR_DATA_TYPE(((const STagVal*)p)->type)) { - taosMemoryFree(data); - } } } From 5899d1d619213673e66273ebf0566a0fda0cb892 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Fri, 21 Oct 2022 14:59:10 +0800 Subject: [PATCH 19/33] refactor: do some internal refactor. --- source/libs/executor/src/tfill.c | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/source/libs/executor/src/tfill.c b/source/libs/executor/src/tfill.c index 7d54d243ef..d1d22dc3e5 100644 --- a/source/libs/executor/src/tfill.c +++ b/source/libs/executor/src/tfill.c @@ -263,29 +263,14 @@ static void saveColData(SArray* rowBuf, int32_t columnIndex, const char* src, bo static void copyCurrentRowIntoBuf(SFillInfo* pFillInfo, int32_t rowIndex, SArray* pRow) { for (int32_t i = 0; i < pFillInfo->numOfCols; ++i) { int32_t type = pFillInfo->pFillCol[i].pExpr->pExpr->nodeType; - if (type == QUERY_NODE_COLUMN) { + if (type == QUERY_NODE_COLUMN || type == QUERY_NODE_OPERATOR || type == QUERY_NODE_FUNCTION) { int32_t srcSlotId = GET_DEST_SLOT_ID(&pFillInfo->pFillCol[i]); SColumnInfoData* pSrcCol = taosArrayGet(pFillInfo->pSrcBlock->pDataBlock, srcSlotId); bool isNull = colDataIsNull_s(pSrcCol, rowIndex); char* p = colDataGetData(pSrcCol, rowIndex); - saveColData(pRow, i, p, isNull); - } else if (type == QUERY_NODE_OPERATOR) { - int32_t srcSlotId = GET_DEST_SLOT_ID(&pFillInfo->pFillCol[i]); - SColumnInfoData* pSrcCol = taosArrayGet(pFillInfo->pSrcBlock->pDataBlock, srcSlotId); - - bool isNull = colDataIsNull_s(pSrcCol, rowIndex); - char* p = colDataGetData(pSrcCol, rowIndex); - saveColData(pRow, i, p, isNull); - } else if (type == QUERY_NODE_FUNCTION) { - int32_t srcSlotId = GET_DEST_SLOT_ID(&pFillInfo->pFillCol[i]); - - SColumnInfoData* pSrcCol = taosArrayGet(pFillInfo->pSrcBlock->pDataBlock, srcSlotId); - - bool isNull = colDataIsNull_s(pSrcCol, rowIndex); - char* p = colDataGetData(pSrcCol, rowIndex); saveColData(pRow, i, p, isNull); } else { ASSERT(0); From c1bb99fec94ecafe697acbd9ba46d5d236793ac6 Mon Sep 17 00:00:00 2001 From: haoranchen Date: Fri, 21 Oct 2022 15:17:56 +0800 Subject: [PATCH 20/33] Update compatibility.py --- tests/system-test/0-others/compatibility.py | 88 ++++++++++----------- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/tests/system-test/0-others/compatibility.py b/tests/system-test/0-others/compatibility.py index 04cbcb4e54..e81579a9e4 100644 --- a/tests/system-test/0-others/compatibility.py +++ b/tests/system-test/0-others/compatibility.py @@ -101,55 +101,55 @@ class TDTestCase: os.system(f"LD_LIBRARY_PATH=/usr/lib taosBenchmark -t {tableNumbers} -n {recordNumbers1} -y ") sleep(3) -# # tdsqlF.query(f"select count(*) from {stb}") -# # tdsqlF.checkData(0,0,tableNumbers*recordNumbers1) -# os.system("pkill taosd") -# sleep(1) + # tdsqlF.query(f"select count(*) from {stb}") + # tdsqlF.checkData(0,0,tableNumbers*recordNumbers1) + os.system("pkill taosd") + sleep(1) -# tdLog.printNoPrefix("==========step2:update new version ") -# self.buildTaosd(bPath) -# tdDnodes.start(1) -# sleep(1) -# tdsql=tdCom.newTdSql() -# print(tdsql) + tdLog.printNoPrefix("==========step2:update new version ") + self.buildTaosd(bPath) + tdDnodes.start(1) + sleep(1) + tdsql=tdCom.newTdSql() + print(tdsql) -# tdsql.query(f"SELECT SERVER_VERSION();") -# nowServerVersion=tdsql.queryResult[0][0] -# tdLog.info(f"New server version is {nowServerVersion}") -# tdsql.query(f"SELECT CLIENT_VERSION();") -# nowClientVersion=tdsql.queryResult[0][0] -# tdLog.info(f"New client version is {nowClientVersion}") + tdsql.query(f"SELECT SERVER_VERSION();") + nowServerVersion=tdsql.queryResult[0][0] + tdLog.info(f"New server version is {nowServerVersion}") + tdsql.query(f"SELECT CLIENT_VERSION();") + nowClientVersion=tdsql.queryResult[0][0] + tdLog.info(f"New client version is {nowClientVersion}") -# tdLog.printNoPrefix(f"==========step3:prepare and check data in new version-{nowServerVersion}") -# tdsql.query(f"select count(*) from {stb}") -# tdsql.checkData(0,0,tableNumbers*recordNumbers1) -# os.system(f"taosBenchmark -t {tableNumbers} -n {recordNumbers2} -y ") -# tdsql.query(f"select count(*) from {stb}") -# tdsql.checkData(0,0,tableNumbers*recordNumbers2) + tdLog.printNoPrefix(f"==========step3:prepare and check data in new version-{nowServerVersion}") + tdsql.query(f"select count(*) from {stb}") + tdsql.checkData(0,0,tableNumbers*recordNumbers1) + os.system(f"taosBenchmark -t {tableNumbers} -n {recordNumbers2} -y ") + tdsql.query(f"select count(*) from {stb}") + tdsql.checkData(0,0,tableNumbers*recordNumbers2) -# tdsql=tdCom.newTdSql() -# tdLog.printNoPrefix(f"==========step4:verify backticks in taos Sql-TD18542") -# tdsql.execute("drop database if exists db") -# tdsql.execute("create database db") -# tdsql.execute("use db") -# tdsql.execute("create stable db.stb1 (ts timestamp, c1 int) tags (t1 int);") -# tdsql.execute("insert into db.ct1 using db.stb1 TAGS(1) values(now(),11);") -# tdsql.error(" insert into `db.ct2` using db.stb1 TAGS(9) values(now(),11);") -# tdsql.error(" insert into db.`db.ct2` using db.stb1 TAGS(9) values(now(),11);") -# tdsql.execute("insert into `db`.ct3 using db.stb1 TAGS(3) values(now(),13);") -# tdsql.query("select * from db.ct3") -# tdsql.checkData(0,1,13) -# tdsql.execute("insert into db.`ct4` using db.stb1 TAGS(4) values(now(),14);") -# tdsql.query("select * from db.ct4") -# tdsql.checkData(0,1,14) -# tdsql.query("describe information_schema.ins_databases;") -# qRows=tdsql.queryRows -# for i in range(qRows) : -# if tdsql.queryResult[i][0]=="retentions" : -# return True -# else: -# return False + tdsql=tdCom.newTdSql() + tdLog.printNoPrefix(f"==========step4:verify backticks in taos Sql-TD18542") + tdsql.execute("drop database if exists db") + tdsql.execute("create database db") + tdsql.execute("use db") + tdsql.execute("create stable db.stb1 (ts timestamp, c1 int) tags (t1 int);") + tdsql.execute("insert into db.ct1 using db.stb1 TAGS(1) values(now(),11);") + tdsql.error(" insert into `db.ct2` using db.stb1 TAGS(9) values(now(),11);") + tdsql.error(" insert into db.`db.ct2` using db.stb1 TAGS(9) values(now(),11);") + tdsql.execute("insert into `db`.ct3 using db.stb1 TAGS(3) values(now(),13);") + tdsql.query("select * from db.ct3") + tdsql.checkData(0,1,13) + tdsql.execute("insert into db.`ct4` using db.stb1 TAGS(4) values(now(),14);") + tdsql.query("select * from db.ct4") + tdsql.checkData(0,1,14) + tdsql.query("describe information_schema.ins_databases;") + qRows=tdsql.queryRows + for i in range(qRows) : + if tdsql.queryResult[i][0]=="retentions" : + return True + else: + return False def stop(self): tdSql.close() tdLog.success(f"{__file__} successfully executed") From 22a2f37fe5c334e7d65a6f1a3428484d3a5b754b Mon Sep 17 00:00:00 2001 From: shenglian zhou Date: Fri, 21 Oct 2022 15:50:08 +0800 Subject: [PATCH 21/33] fix: fix coverity errors --- source/libs/function/src/functionMgt.c | 6 +----- source/libs/function/src/tpercentile.c | 19 +++++++++++-------- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/source/libs/function/src/functionMgt.c b/source/libs/function/src/functionMgt.c index ca8ddbc60a..cfe8ee71ac 100644 --- a/source/libs/function/src/functionMgt.c +++ b/source/libs/function/src/functionMgt.c @@ -324,7 +324,7 @@ static SFunctionNode* createFunction(const char* pName, SNodeList* pParameterLis if (NULL == pFunc) { return NULL; } - strcpy(pFunc->functionName, pName); + snprintf(pFunc->functionName, sizeof(pFunc->functionName), "%s", pName); pFunc->pParameterList = pParameterList; if (TSDB_CODE_SUCCESS != getFuncInfo(pFunc)) { pFunc->pParameterList = NULL; @@ -402,10 +402,6 @@ static int32_t createMergeFunction(const SFunctionNode* pSrcFunc, const SFunctio if (TSDB_CODE_SUCCESS == code) { *pMergeFunc = pFunc; } else { - if (NULL != pFunc) { - pFunc->pParameterList = NULL; - nodesDestroyNode((SNode*)pFunc); - } nodesDestroyList(pParameterList); } diff --git a/source/libs/function/src/tpercentile.c b/source/libs/function/src/tpercentile.c index 62c5e4b28b..6a1427c63f 100644 --- a/source/libs/function/src/tpercentile.c +++ b/source/libs/function/src/tpercentile.c @@ -96,16 +96,19 @@ double findOnlyResult(tMemBucket *pMemBucket) { } int32_t groupId = getGroupId(pMemBucket->numOfSlots, i, pMemBucket->times); - SArray *list = *(SArray **)taosHashGet(pMemBucket->groupPagesMap, &groupId, sizeof(groupId)); - assert(list->size == 1); + SArray **pList = taosHashGet(pMemBucket->groupPagesMap, &groupId, sizeof(groupId)); + if (pList != NULL) { + SArray *list = *pList; + assert(list->size == 1); - int32_t *pageId = taosArrayGet(list, 0); - SFilePage *pPage = getBufPage(pMemBucket->pBuffer, *pageId); - assert(pPage->num == 1); + int32_t *pageId = taosArrayGet(list, 0); + SFilePage *pPage = getBufPage(pMemBucket->pBuffer, *pageId); + assert(pPage->num == 1); - double v = 0; - GET_TYPED_DATA(v, double, pMemBucket->type, pPage->data); - return v; + double v = 0; + GET_TYPED_DATA(v, double, pMemBucket->type, pPage->data); + return v; + } } return 0; From 1c26f1b53e4c274c6b31d1d4a0602b88352a4934 Mon Sep 17 00:00:00 2001 From: Liu Jicong Date: Fri, 21 Oct 2022 16:13:55 +0800 Subject: [PATCH 22/33] fix(wal): reference --- source/dnode/mnode/impl/src/mndSubscribe.c | 2 +- source/libs/wal/src/walRef.c | 1 + source/libs/wal/src/walWrite.c | 21 ++++++++++++++++----- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/source/dnode/mnode/impl/src/mndSubscribe.c b/source/dnode/mnode/impl/src/mndSubscribe.c index 739b8bbf01..eea79c5335 100644 --- a/source/dnode/mnode/impl/src/mndSubscribe.c +++ b/source/dnode/mnode/impl/src/mndSubscribe.c @@ -550,7 +550,7 @@ static int32_t mndPersistRebResult(SMnode *pMnode, SRpcMsg *pMsg, const SMqRebOu // 6. execution if (mndTransPrepare(pMnode, pTrans) != 0) { - ASSERT(0); + mError("failed to prepare trans rebalance since %s", terrstr()); goto REB_FAIL; } diff --git a/source/libs/wal/src/walRef.c b/source/libs/wal/src/walRef.c index 2c45fbbdaf..119d0575d8 100644 --- a/source/libs/wal/src/walRef.c +++ b/source/libs/wal/src/walRef.c @@ -42,6 +42,7 @@ void walCloseRef(SWal *pWal, int64_t refId) { int32_t walRefVer(SWalRef *pRef, int64_t ver) { SWal *pWal = pRef->pWal; + wDebug("vgId:%d, wal ref version %" PRId64 ", refId %" PRId64, pWal->cfg.vgId, ver, pRef->refId); if (pRef->refVer != ver) { taosThreadMutexLock(&pWal->mutex); if (ver < pWal->vers.firstVer || ver > pWal->vers.lastVer) { diff --git a/source/libs/wal/src/walWrite.c b/source/libs/wal/src/walWrite.c index 3354308c49..e6b4e9d8ff 100644 --- a/source/libs/wal/src/walWrite.c +++ b/source/libs/wal/src/walWrite.c @@ -257,6 +257,8 @@ static FORCE_INLINE int32_t walCheckAndRoll(SWal *pWal) { int32_t walBeginSnapshot(SWal *pWal, int64_t ver) { pWal->vers.verInSnapshotting = ver; + wDebug("vgId:%d, wal begin snapshot for version %" PRId64 ", first ver %" PRId64 ", last ver %" PRId64, + pWal->cfg.vgId, ver, pWal->vers.firstVer, pWal->vers.lastVer); // check file rolling if (pWal->cfg.retentionPeriod == 0) { taosThreadMutexLock(&pWal->mutex); @@ -273,6 +275,10 @@ int32_t walEndSnapshot(SWal *pWal) { int32_t code = 0; taosThreadMutexLock(&pWal->mutex); int64_t ver = pWal->vers.verInSnapshotting; + + wDebug("vgId:%d, wal end snapshot for version %" PRId64 ", first ver %" PRId64 ", last ver %" PRId64, pWal->cfg.vgId, + ver, pWal->vers.firstVer, pWal->vers.lastVer); + if (ver == -1) { code = -1; goto END; @@ -287,7 +293,8 @@ int32_t walEndSnapshot(SWal *pWal) { if (pIter == NULL) break; SWalRef *pRef = *(SWalRef **)pIter; if (pRef->refVer == -1) continue; - ver = TMIN(ver, pRef->refVer); + ver = TMIN(ver, pRef->refVer - 1); + wDebug("vgId:%d, wal found ref %" PRId64 ", refId %" PRId64, pWal->cfg.vgId, pRef->refVer, pRef->refId); } int deleteCnt = 0; @@ -298,8 +305,9 @@ int32_t walEndSnapshot(SWal *pWal) { SWalFileInfo *pInfo = taosArraySearch(pWal->fileInfoSet, &tmp, compareWalFileInfo, TD_LE); if (pInfo) { if (ver >= pInfo->lastVer) { - pInfo++; + pInfo--; } + wDebug("vgId:%d, begin remove from %" PRId64, pWal->cfg.vgId, pInfo->firstVer); // iterate files, until the searched result for (SWalFileInfo *iter = pWal->fileInfoSet->pData; iter < pInfo; iter++) { if ((pWal->cfg.retentionSize != -1 && newTotSize > pWal->cfg.retentionSize) || @@ -315,10 +323,12 @@ int32_t walEndSnapshot(SWal *pWal) { for (int i = 0; i < deleteCnt; i++) { pInfo = taosArrayGet(pWal->fileInfoSet, i); walBuildLogName(pWal, pInfo->firstVer, fnameStr); + wDebug("vgId:%d, remove file %s", pWal->cfg.vgId, fnameStr); if (taosRemoveFile(fnameStr) < 0) { goto UPDATE_META; } walBuildIdxName(pWal, pInfo->firstVer, fnameStr); + wDebug("vgId:%d, remove file %s", pWal->cfg.vgId, fnameStr); if (taosRemoveFile(fnameStr) < 0) { ASSERT(0); } @@ -409,7 +419,7 @@ END: } static int32_t walWriteIndex(SWal *pWal, int64_t ver, int64_t offset) { - SWalIdxEntry entry = {.ver = ver, .offset = offset}; + SWalIdxEntry entry = {.ver = ver, .offset = offset}; SWalFileInfo *pFileInfo = walGetCurFileInfo(pWal); ASSERT(pFileInfo != NULL); ASSERT(pFileInfo->firstVer >= 0); @@ -424,7 +434,8 @@ static int32_t walWriteIndex(SWal *pWal, int64_t ver, int64_t offset) { return -1; } - ASSERT(taosLSeekFile(pWal->pIdxFile, 0, SEEK_END) == idxOffset + sizeof(SWalIdxEntry) && "Offset of idx entries misaligned"); + ASSERT(taosLSeekFile(pWal->pIdxFile, 0, SEEK_END) == idxOffset + sizeof(SWalIdxEntry) && + "Offset of idx entries misaligned"); return 0; } @@ -432,7 +443,7 @@ static FORCE_INLINE int32_t walWriteImpl(SWal *pWal, int64_t index, tmsg_t msgTy const void *body, int32_t bodyLen) { int64_t code = 0; - int64_t offset = walGetCurFileOffset(pWal); + int64_t offset = walGetCurFileOffset(pWal); SWalFileInfo *pFileInfo = walGetCurFileInfo(pWal); ASSERT(pFileInfo != NULL); From ca851f975066744066aa9d13b10d805a3a414458 Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Fri, 21 Oct 2022 16:27:09 +0800 Subject: [PATCH 23/33] fix: enable adjust numOfVnodeFetchThreads --- source/common/src/tglobal.c | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/source/common/src/tglobal.c b/source/common/src/tglobal.c index 3edeeee49a..5025cbcac5 100644 --- a/source/common/src/tglobal.c +++ b/source/common/src/tglobal.c @@ -49,7 +49,7 @@ int32_t tsNumOfMnodeFetchThreads = 1; int32_t tsNumOfMnodeReadThreads = 1; int32_t tsNumOfVnodeQueryThreads = 4; int32_t tsNumOfVnodeStreamThreads = 2; -int32_t tsNumOfVnodeFetchThreads = 1; +int32_t tsNumOfVnodeFetchThreads = 4; int32_t tsNumOfVnodeWriteThreads = 2; int32_t tsNumOfVnodeSyncThreads = 2; int32_t tsNumOfVnodeRsmaThreads = 2; @@ -364,8 +364,9 @@ static int32_t taosAddServerCfg(SConfig *pCfg) { tsNumOfVnodeStreamThreads = TMAX(tsNumOfVnodeStreamThreads, 4); if (cfgAddInt32(pCfg, "numOfVnodeStreamThreads", tsNumOfVnodeStreamThreads, 4, 1024, 0) != 0) return -1; - // tsNumOfVnodeFetchThreads = 1; - // if (cfgAddInt32(pCfg, "numOfVnodeFetchThreads", tsNumOfVnodeFetchThreads, 1, 1, 0) != 0) return -1; + tsNumOfVnodeFetchThreads = tsNumOfCores / 4; + tsNumOfVnodeFetchThreads = TMAX(tsNumOfVnodeFetchThreads, 4); + if (cfgAddInt32(pCfg, "numOfVnodeFetchThreads", tsNumOfVnodeFetchThreads, 4, 1024, 0) != 0) return -1; tsNumOfVnodeWriteThreads = tsNumOfCores; tsNumOfVnodeWriteThreads = TMAX(tsNumOfVnodeWriteThreads, 1); @@ -487,15 +488,13 @@ static int32_t taosUpdateServerCfg(SConfig *pCfg) { pItem->stype = stype; } - /* - pItem = cfgGetItem(tsCfg, "numOfVnodeFetchThreads"); - if (pItem != NULL && pItem->stype == CFG_STYPE_DEFAULT) { - tsNumOfVnodeFetchThreads = numOfCores / 4; - tsNumOfVnodeFetchThreads = TMAX(tsNumOfVnodeFetchThreads, 4); - pItem->i32 = tsNumOfVnodeFetchThreads; - pItem->stype = stype; - } - */ + pItem = cfgGetItem(tsCfg, "numOfVnodeFetchThreads"); + if (pItem != NULL && pItem->stype == CFG_STYPE_DEFAULT) { + tsNumOfVnodeFetchThreads = numOfCores / 4; + tsNumOfVnodeFetchThreads = TMAX(tsNumOfVnodeFetchThreads, 4); + pItem->i32 = tsNumOfVnodeFetchThreads; + pItem->stype = stype; + } pItem = cfgGetItem(tsCfg, "numOfVnodeWriteThreads"); if (pItem != NULL && pItem->stype == CFG_STYPE_DEFAULT) { @@ -688,7 +687,7 @@ static int32_t taosSetServerCfg(SConfig *pCfg) { tsNumOfMnodeReadThreads = cfgGetItem(pCfg, "numOfMnodeReadThreads")->i32; tsNumOfVnodeQueryThreads = cfgGetItem(pCfg, "numOfVnodeQueryThreads")->i32; tsNumOfVnodeStreamThreads = cfgGetItem(pCfg, "numOfVnodeStreamThreads")->i32; - // tsNumOfVnodeFetchThreads = cfgGetItem(pCfg, "numOfVnodeFetchThreads")->i32; + tsNumOfVnodeFetchThreads = cfgGetItem(pCfg, "numOfVnodeFetchThreads")->i32; tsNumOfVnodeWriteThreads = cfgGetItem(pCfg, "numOfVnodeWriteThreads")->i32; tsNumOfVnodeSyncThreads = cfgGetItem(pCfg, "numOfVnodeSyncThreads")->i32; tsNumOfVnodeRsmaThreads = cfgGetItem(pCfg, "numOfVnodeRsmaThreads")->i32; From 6fa1cf90db9b8af2fecb31344ea2be9ca176cc38 Mon Sep 17 00:00:00 2001 From: dapan1121 Date: Fri, 21 Oct 2022 16:51:33 +0800 Subject: [PATCH 24/33] fix: fix tsc query memory leak --- source/client/src/clientEnv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/client/src/clientEnv.c b/source/client/src/clientEnv.c index b3c5565cfb..be0e6d50dc 100644 --- a/source/client/src/clientEnv.c +++ b/source/client/src/clientEnv.c @@ -338,7 +338,7 @@ void doDestroyRequest(void *p) { SRequestObj *pRequest = (SRequestObj *)p; - int64_t reqId = pRequest->self; + uint64_t reqId = pRequest->requestId; tscTrace("begin to destroy request %" PRIx64 " p:%p", reqId, pRequest); taosHashRemove(pRequest->pTscObj->pRequests, &pRequest->self, sizeof(pRequest->self)); From a80f382c5d85b497371cf0bcc84c79daa7ed2ead Mon Sep 17 00:00:00 2001 From: dapan1121 Date: Fri, 21 Oct 2022 17:00:11 +0800 Subject: [PATCH 25/33] fix: fix tsc query memory leak --- source/libs/nodes/src/nodesUtilFuncs.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/source/libs/nodes/src/nodesUtilFuncs.c b/source/libs/nodes/src/nodesUtilFuncs.c index e647438800..aec4d0148a 100644 --- a/source/libs/nodes/src/nodesUtilFuncs.c +++ b/source/libs/nodes/src/nodesUtilFuncs.c @@ -190,28 +190,20 @@ int32_t nodesReleaseAllocator(int64_t allocatorId) { return TSDB_CODE_SUCCESS; } - SNodeAllocator* pAllocator = taosAcquireRef(g_allocatorReqRefPool, allocatorId); - if (NULL == pAllocator) { - return terrno; - } - - int32_t code = taosThreadMutexTryLock(&pAllocator->mutex); - if (EBUSY != code) { + if (NULL == g_pNodeAllocator) { nodesError("allocator id %" PRIx64 " release failed: The nodesReleaseAllocator function needs to be called after the nodesAcquireAllocator " "function is called!", allocatorId); - if (0 == code) { - taosThreadMutexUnlock(&pAllocator->mutex); - } return TSDB_CODE_FAILED; } - + SNodeAllocator* pAllocator = g_pNodeAllocator; g_pNodeAllocator = NULL; taosThreadMutexUnlock(&pAllocator->mutex); return taosReleaseRef(g_allocatorReqRefPool, allocatorId); } + int64_t nodesMakeAllocatorWeakRef(int64_t allocatorId) { if (allocatorId <= 0) { return 0; From f49d91ac1a53c4c2f0582454db2d9e09f9dae892 Mon Sep 17 00:00:00 2001 From: Liu Jicong Date: Fri, 21 Oct 2022 17:11:22 +0800 Subject: [PATCH 26/33] fix(stream): decode bloom filter --- source/dnode/vnode/src/tq/tqStreamStateSnap.c | 2 +- source/libs/stream/src/streamUpdate.c | 8 ++++++-- source/util/src/tbloomfilter.c | 6 ++++-- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/source/dnode/vnode/src/tq/tqStreamStateSnap.c b/source/dnode/vnode/src/tq/tqStreamStateSnap.c index b4a7ce7737..92e5f8df7a 100644 --- a/source/dnode/vnode/src/tq/tqStreamStateSnap.c +++ b/source/dnode/vnode/src/tq/tqStreamStateSnap.c @@ -167,7 +167,7 @@ int32_t tqSnapWriterClose(STqSnapWriter** ppWriter, int8_t rollback) { if (rollback) { ASSERT(0); } else { - code = tdbCommit(pWriter->pTq->pMetaStore, &pWriter->txn); + code = tdbCommit(pWriter->pTq->pMetaDB, &pWriter->txn); if (code) goto _err; } diff --git a/source/libs/stream/src/streamUpdate.c b/source/libs/stream/src/streamUpdate.c index 80410568e5..199892c241 100644 --- a/source/libs/stream/src/streamUpdate.c +++ b/source/libs/stream/src/streamUpdate.c @@ -175,11 +175,15 @@ void updateInfoFillBlockData(SUpdateInfo *pInfo, SSDataBlock *pBlock, int32_t pr maxTs = TMAX(maxTs, ts); SScalableBf *pSBf = getSBf(pInfo, ts); if (pSBf) { - tScalableBfPut(pSBf, &ts, sizeof(TSKEY)); + SUpdateKey updateKey = { + .tbUid = tbUid, + .ts = ts, + }; + tScalableBfPut(pSBf, &updateKey, sizeof(SUpdateKey)); } } TSKEY *pMaxTs = taosHashGet(pInfo->pMap, &tbUid, sizeof(int64_t)); - if (pMaxTs == NULL || *pMaxTs > tbUid) { + if (pMaxTs == NULL || *pMaxTs > maxTs) { taosHashPut(pInfo->pMap, &tbUid, sizeof(int64_t), &maxTs, sizeof(TSKEY)); } } diff --git a/source/util/src/tbloomfilter.c b/source/util/src/tbloomfilter.c index b9c96dd606..84a78f3477 100644 --- a/source/util/src/tbloomfilter.c +++ b/source/util/src/tbloomfilter.c @@ -137,8 +137,10 @@ SBloomFilter *tBloomFilterDecode(SDecoder *pDecoder) { if (tDecodeU64(pDecoder, pUnits + i) < 0) goto _error; } if (tDecodeDouble(pDecoder, &pBF->errorRate) < 0) goto _error; - pBF->hashFn1 = taosGetDefaultHashFunction(TSDB_DATA_TYPE_TIMESTAMP); - pBF->hashFn2 = taosGetDefaultHashFunction(TSDB_DATA_TYPE_NCHAR); + /*pBF->hashFn1 = taosGetDefaultHashFunction(TSDB_DATA_TYPE_TIMESTAMP);*/ + /*pBF->hashFn2 = taosGetDefaultHashFunction(TSDB_DATA_TYPE_NCHAR);*/ + pBF->hashFn1 = taosFastHash; + pBF->hashFn2 = taosDJB2Hash; return pBF; _error: From 1b65cd2089cf3734ad1a21a05cac1b37d295419f Mon Sep 17 00:00:00 2001 From: dapan1121 Date: Fri, 21 Oct 2022 17:24:06 +0800 Subject: [PATCH 27/33] fix: fix show create table crash issue --- include/libs/nodes/cmdnodes.h | 2 +- source/libs/command/src/command.c | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/include/libs/nodes/cmdnodes.h b/include/libs/nodes/cmdnodes.h index 0752512951..ae550e0c08 100644 --- a/include/libs/nodes/cmdnodes.h +++ b/include/libs/nodes/cmdnodes.h @@ -34,7 +34,7 @@ extern "C" { #define SHOW_CREATE_TB_RESULT_COLS 2 #define SHOW_CREATE_TB_RESULT_FIELD1_LEN (TSDB_TABLE_NAME_LEN + VARSTR_HEADER_SIZE) -#define SHOW_CREATE_TB_RESULT_FIELD2_LEN (TSDB_MAX_BINARY_LEN + VARSTR_HEADER_SIZE) +#define SHOW_CREATE_TB_RESULT_FIELD2_LEN (TSDB_MAX_ALLOWED_SQL_LEN * 3) #define SHOW_LOCAL_VARIABLES_RESULT_COLS 2 #define SHOW_LOCAL_VARIABLES_RESULT_FIELD1_LEN (TSDB_CONFIG_OPTION_LEN + VARSTR_HEADER_SIZE) diff --git a/source/libs/command/src/command.c b/source/libs/command/src/command.c index 095d2b093d..5ac5e0596f 100644 --- a/source/libs/command/src/command.c +++ b/source/libs/command/src/command.c @@ -496,7 +496,12 @@ static int32_t setCreateTBResultIntoDataBlock(SSDataBlock* pBlock, SDbCfgInfo* p colDataAppend(pCol1, 0, buf1, false); SColumnInfoData* pCol2 = taosArrayGet(pBlock->pDataBlock, 1); - char buf2[SHOW_CREATE_TB_RESULT_FIELD2_LEN] = {0}; + char* buf2 = taosMemoryMalloc(SHOW_CREATE_TB_RESULT_FIELD2_LEN); + if (NULL == buf2) { + terrno = TSDB_CODE_TSC_OUT_OF_MEMORY; + return terrno; + } + int32_t len = 0; if (TSDB_SUPER_TABLE == pCfg->tableType) { @@ -512,6 +517,7 @@ static int32_t setCreateTBResultIntoDataBlock(SSDataBlock* pBlock, SDbCfgInfo* p len += sprintf(buf2 + VARSTR_HEADER_SIZE + len, ") TAGS ("); code = appendTagValues(buf2, &len, pCfg); if (code) { + taosMemoryFree(buf2); return code; } len += sprintf(buf2 + VARSTR_HEADER_SIZE + len, ")"); @@ -527,6 +533,8 @@ static int32_t setCreateTBResultIntoDataBlock(SSDataBlock* pBlock, SDbCfgInfo* p colDataAppend(pCol2, 0, buf2, false); + taosMemoryFree(buf2); + return TSDB_CODE_SUCCESS; } From 308c3cad1134c79c3d0e3aa38df3d4c91af79456 Mon Sep 17 00:00:00 2001 From: 54liuyao <54liuyao@163.com> Date: Fri, 21 Oct 2022 15:36:03 +0800 Subject: [PATCH 28/33] feat(stream):change stream mode & add ci --- source/libs/executor/src/timewindowoperator.c | 5 + tests/script/tsim/stream/windowClose.sim | 98 ++++++++++++++++++- 2 files changed, 102 insertions(+), 1 deletion(-) diff --git a/source/libs/executor/src/timewindowoperator.c b/source/libs/executor/src/timewindowoperator.c index 13ec8505fd..e89cd5e537 100644 --- a/source/libs/executor/src/timewindowoperator.c +++ b/source/libs/executor/src/timewindowoperator.c @@ -4411,6 +4411,11 @@ SOperatorInfo* createStreamFinalSessionAggOperatorInfo(SOperatorInfo* downstream taosArrayPush(pInfo->pChildren, &pChildOp); } } + + if (!IS_FINAL_OP(pInfo) || numOfChild == 0) { + pInfo->twAggSup.calTrigger = STREAM_TRIGGER_AT_ONCE; + } + return pOperator; _error: diff --git a/tests/script/tsim/stream/windowClose.sim b/tests/script/tsim/stream/windowClose.sim index 0d435a9fbd..9fcdcfb959 100644 --- a/tests/script/tsim/stream/windowClose.sim +++ b/tests/script/tsim/stream/windowClose.sim @@ -5,7 +5,7 @@ sleep 50 sql connect print =============== create database -sql create database test vgroups 1 +sql create database test vgroups 1; sql select * from information_schema.ins_databases if $rows != 3 then return -1 @@ -29,4 +29,100 @@ if $rows != 0 then return -1 endi + +sql create database test1 vgroups 4; +sql use test1; +sql create stable st(ts timestamp, a int, b int) tags(t int); +sql create table t1 using st tags(1); +sql create table t2 using st tags(2); + +sql create stream stream2 trigger window_close into streamt2 as select _wstart, sum(a) from st interval(10s); +sql create stream stream3 trigger max_delay 1s into streamt3 as select _wstart, sum(a) from st interval(10s); +sql create stream stream4 trigger window_close into streamt4 as select _wstart, sum(a) from t1 interval(10s); +sql create stream stream5 trigger max_delay 1s into streamt5 as select _wstart, sum(a) from t1 interval(10s); +sql create stream stream6 trigger window_close into streamt6 as select _wstart, sum(a) from st session(ts, 10s); +sql create stream stream7 trigger max_delay 1s into streamt7 as select _wstart, sum(a) from st session(ts, 10s); +sql create stream stream8 trigger window_close into streamt8 as select _wstart, sum(a) from t1 session(ts, 10s); +sql create stream stream9 trigger max_delay 1s into streamt9 as select _wstart, sum(a) from t1 session(ts, 10s); +sql create stream stream10 trigger window_close into streamt10 as select _wstart, sum(a) from t1 state_window(b); +sql create stream stream11 trigger max_delay 1s into streamt11 as select _wstart, sum(a) from t1 state_window(b); + +sql insert into t1 values(1648791213000,1,1); +sql insert into t1 values(1648791213001,2,1); +sql insert into t1 values(1648791213002,3,1); + +sql insert into t1 values(1648791233000,4,2); + +$loop_count = 0 + +loop1: + +sleep 200 + +$loop_count = $loop_count + 1 +if $loop_count == 10 then + return -1 +endi + +sql select * from streamt2; + +if $rows != 1 then + print ======streamt2=$rows + return -1 +endi + +sql select * from streamt3; +if $rows != 2 then + print ======streamt3=$rows + goto loop1 +endi + +sql select * from streamt4; +if $rows != 1 then + print ======streamt4=$rows + return -1 +endi + +sql select * from streamt5; +if $rows != 2 then + print ======streamt5=$rows + goto loop1 +endi + +sql select * from streamt6; +if $rows != 1 then + print ======streamt6=$rows + return -1 +endi + +sql select * from streamt7; +if $rows != 2 then + print ======streamt7=$rows + goto loop1 +endi + +sql select * from streamt8; +if $rows != 1 then + print ======streamt8=$rows + return -1 +endi + +sql select * from streamt9; +if $rows != 2 then + print ======streamt9=$rows + goto loop1 +endi + +sql select * from streamt10; +if $rows != 1 then + print ======streamt10=$rows + return -1 +endi + +sql select * from streamt11; +if $rows != 2 then + print ======streamt11=$rows + goto loop1 +endi + system sh/exec.sh -n dnode1 -s stop -x SIGINT From 72b92e961974e9ec9fbea5664bee2ebee102a0d4 Mon Sep 17 00:00:00 2001 From: chenhaoran Date: Fri, 21 Oct 2022 10:14:16 +0000 Subject: [PATCH 29/33] test:recover testcase and environment --- tests/develop-test/fulltest.sh | 32 +- tests/parallel_test/run_case.sh | 3 +- tests/parallel_test/run_container.sh | 6 +- tests/script/jenkins/basic.txt | 841 +++++++++--------- tests/system-test/fulltest.sh | 1176 +++++++++++++------------- 5 files changed, 1024 insertions(+), 1034 deletions(-) diff --git a/tests/develop-test/fulltest.sh b/tests/develop-test/fulltest.sh index 4e782b3e02..69cade3855 100644 --- a/tests/develop-test/fulltest.sh +++ b/tests/develop-test/fulltest.sh @@ -2,19 +2,19 @@ set -e set -x -# python3 ./test.py -f 5-taos-tools/taosbenchmark/auto_create_table_json.py -# #python3 ./test.py -f 5-taos-tools/taosbenchmark/commandline.py -# python3 ./test.py -f 5-taos-tools/taosbenchmark/custom_col_tag.py -# python3 ./test.py -f 5-taos-tools/taosbenchmark/default_json.py -# python3 ./test.py -f 5-taos-tools/taosbenchmark/demo.py -# python3 ./test.py -f 5-taos-tools/taosbenchmark/insert_alltypes_json.py -# python3 ./test.py -f 5-taos-tools/taosbenchmark/invalid_commandline.py -# python3 ./test.py -f 5-taos-tools/taosbenchmark/json_tag.py -# #python3 ./test.py -f 5-taos-tools/taosbenchmark/limit_offset_json.py -# python3 ./test.py -f 5-taos-tools/taosbenchmark/query_json.py -# python3 ./test.py -f 5-taos-tools/taosbenchmark/sample_csv_json.py -# #python3 ./test.py -f 5-taos-tools/taosbenchmark/sml_interlace.py -# python3 ./test.py -f 5-taos-tools/taosbenchmark/sml_json_alltypes.py -# #python3 ./test.py -f 5-taos-tools/taosbenchmark/sml_telnet_alltypes.py -# #python3 ./test.py -f 5-taos-tools/taosbenchmark/taosadapter_json.py -# #python3 ./test.py -f 5-taos-tools/taosbenchmark/telnet_tcp.py +python3 ./test.py -f 5-taos-tools/taosbenchmark/auto_create_table_json.py +#python3 ./test.py -f 5-taos-tools/taosbenchmark/commandline.py +python3 ./test.py -f 5-taos-tools/taosbenchmark/custom_col_tag.py +python3 ./test.py -f 5-taos-tools/taosbenchmark/default_json.py +python3 ./test.py -f 5-taos-tools/taosbenchmark/demo.py +python3 ./test.py -f 5-taos-tools/taosbenchmark/insert_alltypes_json.py +python3 ./test.py -f 5-taos-tools/taosbenchmark/invalid_commandline.py +python3 ./test.py -f 5-taos-tools/taosbenchmark/json_tag.py +#python3 ./test.py -f 5-taos-tools/taosbenchmark/limit_offset_json.py +python3 ./test.py -f 5-taos-tools/taosbenchmark/query_json.py +python3 ./test.py -f 5-taos-tools/taosbenchmark/sample_csv_json.py +#python3 ./test.py -f 5-taos-tools/taosbenchmark/sml_interlace.py +python3 ./test.py -f 5-taos-tools/taosbenchmark/sml_json_alltypes.py +#python3 ./test.py -f 5-taos-tools/taosbenchmark/sml_telnet_alltypes.py +#python3 ./test.py -f 5-taos-tools/taosbenchmark/taosadapter_json.py +#python3 ./test.py -f 5-taos-tools/taosbenchmark/telnet_tcp.py diff --git a/tests/parallel_test/run_case.sh b/tests/parallel_test/run_case.sh index 9972fdbf14..0519900a68 100755 --- a/tests/parallel_test/run_case.sh +++ b/tests/parallel_test/run_case.sh @@ -79,8 +79,7 @@ if [ $RET -ne 0 ]; then pwd fi -sleep 36000 - exit $RET + diff --git a/tests/parallel_test/run_container.sh b/tests/parallel_test/run_container.sh index 92ab8493a0..f58aaaf29d 100755 --- a/tests/parallel_test/run_container.sh +++ b/tests/parallel_test/run_container.sh @@ -68,7 +68,7 @@ if [ $ent -ne 0 ]; then CONTAINER_TESTDIR=/home/TDinternal/community SIM_DIR=/home/TDinternal/sim REP_MOUNT_PARAM="$INTERNAL_REPDIR:/home/TDinternal" - REP_MOUNT_LIB="$INTERNAL_REPDIR/debug/build/lib:/home/TDinternal/debug/build/lib" + REP_MOUNT_LIB="$INTERNAL_REPDIR/debug/build/lib:/home/TDinternal/debug/build/lib:ro" else # community edition @@ -76,7 +76,7 @@ else CONTAINER_TESTDIR=/home/TDengine SIM_DIR=/home/TDengine/sim REP_MOUNT_PARAM="$REPDIR:/home/TDengine" - REP_MOUNT_LIB="$REPDIR/debug/build/lib:/home/TDengine/debug/build/lib" + REP_MOUNT_LIB="$REPDIR/debug/build/lib:/home/TDengine/debug/build/lib:ro" fi @@ -114,7 +114,7 @@ docker run \ -v ${TMP_DIR}/thread_volume/$thread_no/coredump:$coredump_dir \ -v $WORKDIR/taos-connector-python/taos:/usr/local/lib/python3.8/site-packages/taos:ro \ -v $WORKDIR/taos-connector-python/taosrest:/usr/local/lib/python3.8/site-packages/taosrest:ro \ - --ulimit core=-1 taos_test:v1.0 $CONTAINER_TESTDIR/tests/parallel_test/run_case.sh -d "$exec_dir" -c "$cmd" $extra_param + --rm --ulimit core=-1 taos_test:v1.0 $CONTAINER_TESTDIR/tests/parallel_test/run_case.sh -d "$exec_dir" -c "$cmd" $extra_param ret=$? exit $ret diff --git a/tests/script/jenkins/basic.txt b/tests/script/jenkins/basic.txt index e87ede67ae..e07ec54182 100644 --- a/tests/script/jenkins/basic.txt +++ b/tests/script/jenkins/basic.txt @@ -1,458 +1,451 @@ -# #======================b1-start=============== +#======================b1-start=============== -# # ---- user ---- -# ./test.sh -f tsim/user/basic.sim -# ./test.sh -f tsim/user/password.sim -# ./test.sh -f tsim/user/privilege_db.sim -# ./test.sh -f tsim/user/privilege_sysinfo.sim +# ---- user ---- +./test.sh -f tsim/user/basic.sim +./test.sh -f tsim/user/password.sim +./test.sh -f tsim/user/privilege_db.sim +./test.sh -f tsim/user/privilege_sysinfo.sim -# # ---- db ---- -# ./test.sh -f tsim/db/alter_option.sim -# # unsupport ./test.sh -f tsim/db/alter_replica_13.sim -# # unsupport ./test.sh -f tsim/db/alter_replica_31.sim -# ./test.sh -f tsim/db/basic1.sim -# ./test.sh -f tsim/db/basic2.sim -# ./test.sh -f tsim/db/basic3.sim -# ./test.sh -f tsim/db/basic4.sim -# ./test.sh -f tsim/db/basic5.sim -# ./test.sh -f tsim/db/basic6.sim -# ./test.sh -f tsim/db/commit.sim -# ./test.sh -f tsim/db/create_all_options.sim -# ./test.sh -f tsim/db/delete_reuse1.sim -# ./test.sh -f tsim/db/delete_reuse2.sim -# ./test.sh -f tsim/db/delete_reusevnode.sim -# ./test.sh -f tsim/db/delete_reusevnode2.sim -# ./test.sh -f tsim/db/delete_writing1.sim -# ./test.sh -f tsim/db/delete_writing2.sim -# # unsupport ./test.sh -f tsim/db/dropdnodes.sim -# ./test.sh -f tsim/db/error1.sim -# ./test.sh -f tsim/db/keep.sim -# ./test.sh -f tsim/db/len.sim -# ./test.sh -f tsim/db/repeat.sim -# ./test.sh -f tsim/db/show_create_db.sim -# ./test.sh -f tsim/db/show_create_table.sim -# ./test.sh -f tsim/db/tables.sim -# ./test.sh -f tsim/db/taosdlog.sim +# ---- db ---- +./test.sh -f tsim/db/alter_option.sim +# unsupport ./test.sh -f tsim/db/alter_replica_13.sim +# unsupport ./test.sh -f tsim/db/alter_replica_31.sim +./test.sh -f tsim/db/basic1.sim +./test.sh -f tsim/db/basic2.sim +./test.sh -f tsim/db/basic3.sim +./test.sh -f tsim/db/basic4.sim +./test.sh -f tsim/db/basic5.sim +./test.sh -f tsim/db/basic6.sim +./test.sh -f tsim/db/commit.sim +./test.sh -f tsim/db/create_all_options.sim +./test.sh -f tsim/db/delete_reuse1.sim +./test.sh -f tsim/db/delete_reuse2.sim +./test.sh -f tsim/db/delete_reusevnode.sim +./test.sh -f tsim/db/delete_reusevnode2.sim +./test.sh -f tsim/db/delete_writing1.sim +./test.sh -f tsim/db/delete_writing2.sim +# unsupport ./test.sh -f tsim/db/dropdnodes.sim +./test.sh -f tsim/db/error1.sim +./test.sh -f tsim/db/keep.sim +./test.sh -f tsim/db/len.sim +./test.sh -f tsim/db/repeat.sim +./test.sh -f tsim/db/show_create_db.sim +./test.sh -f tsim/db/show_create_table.sim +./test.sh -f tsim/db/tables.sim +./test.sh -f tsim/db/taosdlog.sim -# # ---- dnode -# # unsupport ./test.sh -f tsim/dnode/balance_replica1.sim -# # unsupport ./test.sh -f tsim/dnode/balance_replica3.sim -# # unsupport ./test.sh -f tsim/dnode/balance1.sim -# # unsupport ./test.sh -f tsim/dnode/balance2.sim -# # unsupport ./test.sh -f tsim/dnode/balance3.sim -# # unsupport ./test.sh -f tsim/dnode/balancex.sim -# ./test.sh -f tsim/dnode/create_dnode.sim -# ./test.sh -f tsim/dnode/drop_dnode_has_mnode.sim -# # unsupport ./test.sh -f tsim/dnode/drop_dnode_has_qnode_snode.sim -# # unsupport ./test.sh -f tsim/dnode/drop_dnode_has_vnode_replica1.sim -# # unsupport ./test.sh -f tsim/dnode/drop_dnode_has_vnode_replica3.sim -# # unsupport ./test.sh -f tsim/dnode/drop_dnode_has_multi_vnode_replica1.sim -# # unsupport ./test.sh -f tsim/dnode/drop_dnode_has_multi_vnode_replica3.sim -# ./test.sh -f tsim/dnode/offline_reason.sim -# # unsupport ./test.sh -f tsim/dnode/redistribute_vgroup_replica1.sim -# # unsupport ./test.sh -f tsim/dnode/redistribute_vgroup_replica3_v1_leader.sim -# # unsupport ./test.sh -f tsim/dnode/redistribute_vgroup_replica3_v1_follower.sim -# # unsupport ./test.sh -f tsim/dnode/redistribute_vgroup_replica3_v2.sim -# # unsupport ./test.sh -f tsim/dnode/redistribute_vgroup_replica3_v3.sim -# # unsupport ./test.sh -f tsim/dnode/vnode_clean.sim -# ./test.sh -f tsim/dnode/use_dropped_dnode.sim +# ---- dnode +# unsupport ./test.sh -f tsim/dnode/balance_replica1.sim +# unsupport ./test.sh -f tsim/dnode/balance_replica3.sim +# unsupport ./test.sh -f tsim/dnode/balance1.sim +# unsupport ./test.sh -f tsim/dnode/balance2.sim +# unsupport ./test.sh -f tsim/dnode/balance3.sim +# unsupport ./test.sh -f tsim/dnode/balancex.sim +./test.sh -f tsim/dnode/create_dnode.sim +./test.sh -f tsim/dnode/drop_dnode_has_mnode.sim +# unsupport ./test.sh -f tsim/dnode/drop_dnode_has_qnode_snode.sim +# unsupport ./test.sh -f tsim/dnode/drop_dnode_has_vnode_replica1.sim +# unsupport ./test.sh -f tsim/dnode/drop_dnode_has_vnode_replica3.sim +# unsupport ./test.sh -f tsim/dnode/drop_dnode_has_multi_vnode_replica1.sim +# unsupport ./test.sh -f tsim/dnode/drop_dnode_has_multi_vnode_replica3.sim +./test.sh -f tsim/dnode/offline_reason.sim +# unsupport ./test.sh -f tsim/dnode/redistribute_vgroup_replica1.sim +# unsupport ./test.sh -f tsim/dnode/redistribute_vgroup_replica3_v1_leader.sim +# unsupport ./test.sh -f tsim/dnode/redistribute_vgroup_replica3_v1_follower.sim +# unsupport ./test.sh -f tsim/dnode/redistribute_vgroup_replica3_v2.sim +# unsupport ./test.sh -f tsim/dnode/redistribute_vgroup_replica3_v3.sim +# unsupport ./test.sh -f tsim/dnode/vnode_clean.sim +./test.sh -f tsim/dnode/use_dropped_dnode.sim -# # ---- import ---- -# ./test.sh -f tsim/import/basic.sim -# ./test.sh -f tsim/import/commit.sim -# ./test.sh -f tsim/import/large.sim -# ./test.sh -f tsim/import/replica1.sim +# ---- import ---- +./test.sh -f tsim/import/basic.sim +./test.sh -f tsim/import/commit.sim +./test.sh -f tsim/import/large.sim +./test.sh -f tsim/import/replica1.sim -# # ---- insert ---- -# ./test.sh -f tsim/insert/backquote.sim -# ./test.sh -f tsim/insert/basic.sim -# ./test.sh -f tsim/insert/basic0.sim -# ./test.sh -f tsim/insert/basic1.sim -# ./test.sh -f tsim/insert/basic2.sim -# ./test.sh -f tsim/insert/commit-merge0.sim -# ./test.sh -f tsim/insert/insert_drop.sim -# ./test.sh -f tsim/insert/insert_select.sim -# ./test.sh -f tsim/insert/null.sim -# ./test.sh -f tsim/insert/query_block1_file.sim -# ./test.sh -f tsim/insert/query_block1_memory.sim -# ./test.sh -f tsim/insert/query_block2_file.sim -# ./test.sh -f tsim/insert/query_block2_memory.sim -# ./test.sh -f tsim/insert/query_file_memory.sim -# ./test.sh -f tsim/insert/query_multi_file.sim -# ./test.sh -f tsim/insert/tcp.sim -# ./test.sh -f tsim/insert/update0.sim -# ./test.sh -f tsim/insert/update1_sort_merge.sim +# ---- insert ---- +./test.sh -f tsim/insert/backquote.sim +./test.sh -f tsim/insert/basic.sim +./test.sh -f tsim/insert/basic0.sim +./test.sh -f tsim/insert/basic1.sim +./test.sh -f tsim/insert/basic2.sim +./test.sh -f tsim/insert/commit-merge0.sim +./test.sh -f tsim/insert/insert_drop.sim +./test.sh -f tsim/insert/insert_select.sim +./test.sh -f tsim/insert/null.sim +./test.sh -f tsim/insert/query_block1_file.sim +./test.sh -f tsim/insert/query_block1_memory.sim +./test.sh -f tsim/insert/query_block2_file.sim +./test.sh -f tsim/insert/query_block2_memory.sim +./test.sh -f tsim/insert/query_file_memory.sim +./test.sh -f tsim/insert/query_multi_file.sim +./test.sh -f tsim/insert/tcp.sim +./test.sh -f tsim/insert/update0.sim +./test.sh -f tsim/insert/update1_sort_merge.sim -# # ---- parser ---- -# ./test.sh -f tsim/parser/alter__for_community_version.sim -# ./test.sh -f tsim/parser/alter_column.sim -# ./test.sh -f tsim/parser/alter_stable.sim -# ./test.sh -f tsim/parser/alter.sim -# ./test.sh -f tsim/parser/alter1.sim -# ./test.sh -f tsim/parser/auto_create_tb_drop_tb.sim -# ./test.sh -f tsim/parser/auto_create_tb.sim -# ./test.sh -f tsim/parser/between_and.sim -# ./test.sh -f tsim/parser/binary_escapeCharacter.sim -# ./test.sh -f tsim/parser/col_arithmetic_operation.sim -# ./test.sh -f tsim/parser/columnValue_bigint.sim -# ./test.sh -f tsim/parser/columnValue_bool.sim -# ./test.sh -f tsim/parser/columnValue_double.sim -# ./test.sh -f tsim/parser/columnValue_float.sim -# ./test.sh -f tsim/parser/columnValue_int.sim -# ./test.sh -f tsim/parser/columnValue_smallint.sim -# ./test.sh -f tsim/parser/columnValue_tinyint.sim -# ./test.sh -f tsim/parser/columnValue_unsign.sim -# ./test.sh -f tsim/parser/commit.sim -# ./test.sh -f tsim/parser/condition.sim -# ./test.sh -f tsim/parser/constCol.sim -# ./test.sh -f tsim/parser/create_db.sim -# ./test.sh -f tsim/parser/create_mt.sim -# ./test.sh -f tsim/parser/create_tb_with_tag_name.sim -# ./test.sh -f tsim/parser/create_tb.sim -# ./test.sh -f tsim/parser/dbtbnameValidate.sim -# ./test.sh -f tsim/parser/distinct.sim -# # TD-17623 ./test.sh -f tsim/parser/fill_stb.sim -# ./test.sh -f tsim/parser/fill_us.sim -# ./test.sh -f tsim/parser/fill.sim -# ./test.sh -f tsim/parser/first_last.sim -# ./test.sh -f tsim/parser/fourArithmetic-basic.sim -# ./test.sh -f tsim/parser/function.sim -# ./test.sh -f tsim/parser/groupby-basic.sim -# ./test.sh -f tsim/parser/groupby.sim -# ./test.sh -f tsim/parser/having_child.sim -# ./test.sh -f tsim/parser/having.sim -# ./test.sh -f tsim/parser/import_commit1.sim -# ./test.sh -f tsim/parser/import_commit2.sim -# ./test.sh -f tsim/parser/import_commit3.sim -# ./test.sh -f tsim/parser/import_file.sim -# ./test.sh -f tsim/parser/import.sim -# ./test.sh -f tsim/parser/insert_multiTbl.sim -# ./test.sh -f tsim/parser/insert_tb.sim -# # TD-18293 ./test.sh -f tsim/parser/interp.sim -# ./test.sh -f tsim/parser/join_manyblocks.sim -# ./test.sh -f tsim/parser/join_multitables.sim -# ./test.sh -f tsim/parser/join_multivnode.sim -# ./test.sh -f tsim/parser/join.sim -# ./test.sh -f tsim/parser/last_cache.sim -# ./test.sh -f tsim/parser/last_groupby.sim -# ./test.sh -f tsim/parser/lastrow.sim -# ./test.sh -f tsim/parser/lastrow2.sim -# ./test.sh -f tsim/parser/like.sim -# ./test.sh -f tsim/parser/limit.sim -# ./test.sh -f tsim/parser/limit1.sim -# # TD-17623 ./test.sh -f tsim/parser/limit2.sim -# ./test.sh -f tsim/parser/mixed_blocks.sim -# ./test.sh -f tsim/parser/nchar.sim -# ./test.sh -f tsim/parser/nestquery.sim -# ./test.sh -f tsim/parser/null_char.sim -# ./test.sh -f tsim/parser/precision_ns.sim -# ./test.sh -f tsim/parser/projection_limit_offset.sim -# ./test.sh -f tsim/parser/regex.sim -# ./test.sh -f tsim/parser/select_across_vnodes.sim -# ./test.sh -f tsim/parser/select_distinct_tag.sim -# ./test.sh -f tsim/parser/select_from_cache_disk.sim -# ./test.sh -f tsim/parser/select_with_tags.sim -# ./test.sh -f tsim/parser/selectResNum.sim -# ./test.sh -f tsim/parser/set_tag_vals.sim -# # TD-19572 ./test.sh -f tsim/parser/single_row_in_tb.sim -# ./test.sh -f tsim/parser/sliding.sim -# ./test.sh -f tsim/parser/slimit_alter_tags.sim -# ./test.sh -f tsim/parser/slimit.sim -# ./test.sh -f tsim/parser/slimit1.sim -# ./test.sh -f tsim/parser/stableOp.sim -# ./test.sh -f tsim/parser/tags_dynamically_specifiy.sim -# ./test.sh -f tsim/parser/tags_filter.sim -# ./test.sh -f tsim/parser/tbnameIn.sim -# ./test.sh -f tsim/parser/timestamp.sim -# ./test.sh -f tsim/parser/top_groupby.sim -# ./test.sh -f tsim/parser/topbot.sim -# ./test.sh -f tsim/parser/union.sim -# ./test.sh -f tsim/parser/union_sysinfo.sim -# ./test.sh -f tsim/parser/where.sim +# ---- parser ---- +./test.sh -f tsim/parser/alter__for_community_version.sim +./test.sh -f tsim/parser/alter_column.sim +./test.sh -f tsim/parser/alter_stable.sim +./test.sh -f tsim/parser/alter.sim +./test.sh -f tsim/parser/alter1.sim +./test.sh -f tsim/parser/auto_create_tb_drop_tb.sim +./test.sh -f tsim/parser/auto_create_tb.sim +./test.sh -f tsim/parser/between_and.sim +./test.sh -f tsim/parser/binary_escapeCharacter.sim +./test.sh -f tsim/parser/col_arithmetic_operation.sim +./test.sh -f tsim/parser/columnValue_bigint.sim +./test.sh -f tsim/parser/columnValue_bool.sim +./test.sh -f tsim/parser/columnValue_double.sim +./test.sh -f tsim/parser/columnValue_float.sim +./test.sh -f tsim/parser/columnValue_int.sim +./test.sh -f tsim/parser/columnValue_smallint.sim +./test.sh -f tsim/parser/columnValue_tinyint.sim +./test.sh -f tsim/parser/columnValue_unsign.sim +./test.sh -f tsim/parser/commit.sim +./test.sh -f tsim/parser/condition.sim +./test.sh -f tsim/parser/constCol.sim +./test.sh -f tsim/parser/create_db.sim +./test.sh -f tsim/parser/create_mt.sim +./test.sh -f tsim/parser/create_tb_with_tag_name.sim +./test.sh -f tsim/parser/create_tb.sim +./test.sh -f tsim/parser/dbtbnameValidate.sim +./test.sh -f tsim/parser/distinct.sim +# TD-17623 ./test.sh -f tsim/parser/fill_stb.sim +./test.sh -f tsim/parser/fill_us.sim +./test.sh -f tsim/parser/fill.sim +./test.sh -f tsim/parser/first_last.sim +./test.sh -f tsim/parser/fourArithmetic-basic.sim +./test.sh -f tsim/parser/function.sim +./test.sh -f tsim/parser/groupby-basic.sim +./test.sh -f tsim/parser/groupby.sim +./test.sh -f tsim/parser/having_child.sim +./test.sh -f tsim/parser/having.sim +./test.sh -f tsim/parser/import_commit1.sim +./test.sh -f tsim/parser/import_commit2.sim +./test.sh -f tsim/parser/import_commit3.sim +./test.sh -f tsim/parser/import_file.sim +./test.sh -f tsim/parser/import.sim +./test.sh -f tsim/parser/insert_multiTbl.sim +./test.sh -f tsim/parser/insert_tb.sim +# TD-18293 ./test.sh -f tsim/parser/interp.sim +./test.sh -f tsim/parser/join_manyblocks.sim +./test.sh -f tsim/parser/join_multitables.sim +./test.sh -f tsim/parser/join_multivnode.sim +./test.sh -f tsim/parser/join.sim +./test.sh -f tsim/parser/last_cache.sim +./test.sh -f tsim/parser/last_groupby.sim +./test.sh -f tsim/parser/lastrow.sim +./test.sh -f tsim/parser/lastrow2.sim +./test.sh -f tsim/parser/like.sim +./test.sh -f tsim/parser/limit.sim +./test.sh -f tsim/parser/limit1.sim +# TD-17623 ./test.sh -f tsim/parser/limit2.sim +./test.sh -f tsim/parser/mixed_blocks.sim +./test.sh -f tsim/parser/nchar.sim +./test.sh -f tsim/parser/nestquery.sim +./test.sh -f tsim/parser/null_char.sim +./test.sh -f tsim/parser/precision_ns.sim +./test.sh -f tsim/parser/projection_limit_offset.sim +./test.sh -f tsim/parser/regex.sim +./test.sh -f tsim/parser/select_across_vnodes.sim +./test.sh -f tsim/parser/select_distinct_tag.sim +./test.sh -f tsim/parser/select_from_cache_disk.sim +./test.sh -f tsim/parser/select_with_tags.sim +./test.sh -f tsim/parser/selectResNum.sim +./test.sh -f tsim/parser/set_tag_vals.sim +# TD-19572 ./test.sh -f tsim/parser/single_row_in_tb.sim +./test.sh -f tsim/parser/sliding.sim +./test.sh -f tsim/parser/slimit_alter_tags.sim +./test.sh -f tsim/parser/slimit.sim +./test.sh -f tsim/parser/slimit1.sim +./test.sh -f tsim/parser/stableOp.sim +./test.sh -f tsim/parser/tags_dynamically_specifiy.sim +./test.sh -f tsim/parser/tags_filter.sim +./test.sh -f tsim/parser/tbnameIn.sim +./test.sh -f tsim/parser/timestamp.sim +./test.sh -f tsim/parser/top_groupby.sim +./test.sh -f tsim/parser/topbot.sim +./test.sh -f tsim/parser/union.sim +./test.sh -f tsim/parser/union_sysinfo.sim +./test.sh -f tsim/parser/where.sim -# # ---- query ---- -# ./test.sh -f tsim/query/charScalarFunction.sim -# ./test.sh -f tsim/query/explain.sim -# ./test.sh -f tsim/query/interval-offset.sim -# ./test.sh -f tsim/query/interval.sim -# ./test.sh -f tsim/query/scalarFunction.sim -# ./test.sh -f tsim/query/scalarNull.sim -# ./test.sh -f tsim/query/session.sim -# ./test.sh -f tsim/query/udf.sim +# ---- query ---- +./test.sh -f tsim/query/charScalarFunction.sim +./test.sh -f tsim/query/explain.sim +./test.sh -f tsim/query/interval-offset.sim +./test.sh -f tsim/query/interval.sim +./test.sh -f tsim/query/scalarFunction.sim +./test.sh -f tsim/query/scalarNull.sim +./test.sh -f tsim/query/session.sim +./test.sh -f tsim/query/udf.sim -# # ---- qnode -# ./test.sh -f tsim/qnode/basic1.sim +# ---- qnode +./test.sh -f tsim/qnode/basic1.sim -# # ---- snode ---- -# # unsupport ./test.sh -f tsim/snode/basic1.sim +# ---- snode ---- +# unsupport ./test.sh -f tsim/snode/basic1.sim -# # ---- bnode -# ./test.sh -f tsim/bnode/basic1.sim +# ---- mnode +./test.sh -f tsim/mnode/basic1.sim +./test.sh -f tsim/mnode/basic2.sim +./test.sh -f tsim/mnode/basic3.sim +./test.sh -f tsim/mnode/basic4.sim +./test.sh -f tsim/mnode/basic5.sim -# # ---- mnode -# ./test.sh -f tsim/mnode/basic1.sim -# ./test.sh -f tsim/mnode/basic2.sim -# ./test.sh -f tsim/mnode/basic3.sim -# ./test.sh -f tsim/mnode/basic4.sim -# ./test.sh -f tsim/mnode/basic5.sim +# ---- show ---- +./test.sh -f tsim/show/basic.sim -# # ---- show ---- -# ./test.sh -f tsim/show/basic.sim +# ---- table ---- +./test.sh -f tsim/table/autocreate.sim +./test.sh -f tsim/table/basic1.sim +./test.sh -f tsim/table/basic2.sim +./test.sh -f tsim/table/basic3.sim +./test.sh -f tsim/table/bigint.sim +./test.sh -f tsim/table/binary.sim +./test.sh -f tsim/table/bool.sim +./test.sh -f tsim/table/column_name.sim +./test.sh -f tsim/table/column_num.sim +./test.sh -f tsim/table/column_value.sim +./test.sh -f tsim/table/column2.sim +./test.sh -f tsim/table/createmulti.sim +./test.sh -f tsim/table/date.sim +./test.sh -f tsim/table/db.table.sim +./test.sh -f tsim/table/delete_reuse1.sim +./test.sh -f tsim/table/delete_reuse2.sim +./test.sh -f tsim/table/delete_writing.sim +./test.sh -f tsim/table/describe.sim +./test.sh -f tsim/table/double.sim +./test.sh -f tsim/table/float.sim +./test.sh -f tsim/table/hash.sim +./test.sh -f tsim/table/int.sim +./test.sh -f tsim/table/limit.sim +./test.sh -f tsim/table/smallint.sim +./test.sh -f tsim/table/table_len.sim +./test.sh -f tsim/table/table.sim +./test.sh -f tsim/table/tinyint.sim +./test.sh -f tsim/table/vgroup.sim -# # ---- table ---- -# ./test.sh -f tsim/table/autocreate.sim -# ./test.sh -f tsim/table/basic1.sim -# ./test.sh -f tsim/table/basic2.sim -# ./test.sh -f tsim/table/basic3.sim -# ./test.sh -f tsim/table/bigint.sim -# ./test.sh -f tsim/table/binary.sim -# ./test.sh -f tsim/table/bool.sim -# ./test.sh -f tsim/table/column_name.sim -# ./test.sh -f tsim/table/column_num.sim -# ./test.sh -f tsim/table/column_value.sim -# ./test.sh -f tsim/table/column2.sim -# ./test.sh -f tsim/table/createmulti.sim -# ./test.sh -f tsim/table/date.sim -# ./test.sh -f tsim/table/db.table.sim -# ./test.sh -f tsim/table/delete_reuse1.sim -# ./test.sh -f tsim/table/delete_reuse2.sim -# ./test.sh -f tsim/table/delete_writing.sim -# ./test.sh -f tsim/table/describe.sim -# ./test.sh -f tsim/table/double.sim -# ./test.sh -f tsim/table/float.sim -# ./test.sh -f tsim/table/hash.sim -# ./test.sh -f tsim/table/int.sim -# ./test.sh -f tsim/table/limit.sim -# ./test.sh -f tsim/table/smallint.sim -# ./test.sh -f tsim/table/table_len.sim -# ./test.sh -f tsim/table/table.sim -# ./test.sh -f tsim/table/tinyint.sim -# ./test.sh -f tsim/table/vgroup.sim +# ---- stream +./test.sh -f tsim/stream/basic0.sim -v +./test.sh -f tsim/stream/basic1.sim +./test.sh -f tsim/stream/basic2.sim +./test.sh -f tsim/stream/drop_stream.sim +./test.sh -f tsim/stream/distributeInterval0.sim +./test.sh -f tsim/stream/distributeIntervalRetrive0.sim +./test.sh -f tsim/stream/distributeSession0.sim +./test.sh -f tsim/stream/session0.sim +./test.sh -f tsim/stream/session1.sim +./test.sh -f tsim/stream/state0.sim +./test.sh -f tsim/stream/triggerInterval0.sim +./test.sh -f tsim/stream/triggerSession0.sim +./test.sh -f tsim/stream/partitionby.sim +./test.sh -f tsim/stream/partitionby1.sim +# unsupport ./test.sh -f tsim/stream/schedSnode.sim +./test.sh -f tsim/stream/windowClose.sim +./test.sh -f tsim/stream/ignoreExpiredData.sim +./test.sh -f tsim/stream/sliding.sim +./test.sh -f tsim/stream/partitionbyColumnInterval.sim +#./test.sh -f tsim/stream/partitionbyColumnSession.sim +#./test.sh -f tsim/stream/partitionbyColumnState.sim +#./test.sh -f tsim/stream/deleteInterval.sim +#./test.sh -f tsim/stream/deleteSession.sim +#./test.sh -f tsim/stream/deleteState.sim +#./test.sh -f tsim/stream/fillIntervalDelete0.sim +#./test.sh -f tsim/stream/fillIntervalDelete1.sim +./test.sh -f tsim/stream/fillIntervalLinear.sim +#./test.sh -f tsim/stream/fillIntervalPartitionBy.sim +./test.sh -f tsim/stream/fillIntervalPrevNext.sim +./test.sh -f tsim/stream/fillIntervalValue.sim -# # ---- stream -# ./test.sh -f tsim/stream/basic0.sim -# ./test.sh -f tsim/stream/basic1.sim -# ./test.sh -f tsim/stream/basic2.sim -# ./test.sh -f tsim/stream/drop_stream.sim -# ./test.sh -f tsim/stream/distributeInterval0.sim -# ./test.sh -f tsim/stream/distributeIntervalRetrive0.sim -# ./test.sh -f tsim/stream/distributeSession0.sim -# ./test.sh -f tsim/stream/session0.sim -# ./test.sh -f tsim/stream/session1.sim -# ./test.sh -f tsim/stream/state0.sim -# ./test.sh -f tsim/stream/triggerInterval0.sim -# ./test.sh -f tsim/stream/triggerSession0.sim -# ./test.sh -f tsim/stream/partitionby.sim -# ./test.sh -f tsim/stream/partitionby1.sim -# # unsupport ./test.sh -f tsim/stream/schedSnode.sim -# ./test.sh -f tsim/stream/windowClose.sim -# ./test.sh -f tsim/stream/ignoreExpiredData.sim -# ./test.sh -f tsim/stream/sliding.sim -# #./test.sh -f tsim/stream/partitionbyColumnInterval.sim -# #./test.sh -f tsim/stream/partitionbyColumnSession.sim -# #./test.sh -f tsim/stream/partitionbyColumnState.sim -# #./test.sh -f tsim/stream/deleteInterval.sim -# #./test.sh -f tsim/stream/deleteSession.sim -# #./test.sh -f tsim/stream/deleteState.sim +# ---- transaction ---- +./test.sh -f tsim/trans/lossdata1.sim +./test.sh -f tsim/trans/create_db.sim -# # ---- transaction ---- -# ./test.sh -f tsim/trans/lossdata1.sim -# ./test.sh -f tsim/trans/create_db.sim +# ---- tmq +./test.sh -f tsim/tmq/basic1.sim +./test.sh -f tsim/tmq/basic2.sim +./test.sh -f tsim/tmq/basic3.sim +./test.sh -f tsim/tmq/basic4.sim +./test.sh -f tsim/tmq/basic1Of2Cons.sim +./test.sh -f tsim/tmq/basic2Of2Cons.sim +./test.sh -f tsim/tmq/basic3Of2Cons.sim +./test.sh -f tsim/tmq/basic4Of2Cons.sim +./test.sh -f tsim/tmq/basic2Of2ConsOverlap.sim +./test.sh -f tsim/tmq/topic.sim +./test.sh -f tsim/tmq/snapshot.sim +./test.sh -f tsim/tmq/snapshot1.sim -# # ---- tmq -# ./test.sh -f tsim/tmq/basic1.sim -# ./test.sh -f tsim/tmq/basic2.sim -# ./test.sh -f tsim/tmq/basic3.sim -# ./test.sh -f tsim/tmq/basic4.sim -# ./test.sh -f tsim/tmq/basic1Of2Cons.sim -# ./test.sh -f tsim/tmq/basic2Of2Cons.sim -# ./test.sh -f tsim/tmq/basic3Of2Cons.sim -# ./test.sh -f tsim/tmq/basic4Of2Cons.sim -# ./test.sh -f tsim/tmq/basic2Of2ConsOverlap.sim -# ./test.sh -f tsim/tmq/topic.sim -# ./test.sh -f tsim/tmq/snapshot.sim -# ./test.sh -f tsim/tmq/snapshot1.sim +# --- stable ---- +./test.sh -f tsim/stable/alter_comment.sim +./test.sh -f tsim/stable/alter_count.sim +./test.sh -f tsim/stable/alter_import.sim +./test.sh -f tsim/stable/alter_insert1.sim +./test.sh -f tsim/stable/alter_insert2.sim +./test.sh -f tsim/stable/alter_metrics.sim +./test.sh -f tsim/stable/column_add.sim +./test.sh -f tsim/stable/column_drop.sim +./test.sh -f tsim/stable/column_modify.sim +./test.sh -f tsim/stable/disk.sim +./test.sh -f tsim/stable/dnode3.sim +./test.sh -f tsim/stable/metrics.sim +./test.sh -f tsim/stable/refcount.sim +./test.sh -f tsim/stable/tag_add.sim +./test.sh -f tsim/stable/tag_drop.sim +./test.sh -f tsim/stable/tag_filter.sim +./test.sh -f tsim/stable/tag_modify.sim +./test.sh -f tsim/stable/tag_rename.sim +./test.sh -f tsim/stable/values.sim +./test.sh -f tsim/stable/vnode3.sim -# # --- stable ---- -# ./test.sh -f tsim/stable/alter_comment.sim -# ./test.sh -f tsim/stable/alter_count.sim -# ./test.sh -f tsim/stable/alter_import.sim -# ./test.sh -f tsim/stable/alter_insert1.sim -# ./test.sh -f tsim/stable/alter_insert2.sim -# ./test.sh -f tsim/stable/alter_metrics.sim -# ./test.sh -f tsim/stable/column_add.sim -# ./test.sh -f tsim/stable/column_drop.sim -# ./test.sh -f tsim/stable/column_modify.sim -# ./test.sh -f tsim/stable/disk.sim -# ./test.sh -f tsim/stable/dnode3.sim -# ./test.sh -f tsim/stable/metrics.sim -# ./test.sh -f tsim/stable/refcount.sim -# ./test.sh -f tsim/stable/tag_add.sim -# ./test.sh -f tsim/stable/tag_drop.sim -# ./test.sh -f tsim/stable/tag_filter.sim -# ./test.sh -f tsim/stable/tag_modify.sim -# ./test.sh -f tsim/stable/tag_rename.sim -# ./test.sh -f tsim/stable/values.sim -# ./test.sh -f tsim/stable/vnode3.sim +# --- sma +./test.sh -f tsim/sma/drop_sma.sim +./test.sh -f tsim/sma/tsmaCreateInsertQuery.sim +# temp disable +./test.sh -f tsim/sma/rsmaCreateInsertQuery.sim +./test.sh -f tsim/sma/rsmaPersistenceRecovery.sim -# # --- for multi process mode -# ./test.sh -f tsim/user/basic.sim -m -# ./test.sh -f tsim/db/basic3.sim -m -# ./test.sh -f tsim/db/error1.sim -m -# ./test.sh -f tsim/insert/backquote.sim -m -# # unsupport ./test.sh -f tsim/parser/fourArithmetic-basic.sim -m -# ./test.sh -f tsim/query/interval-offset.sim -m -# # unsupport ./test.sh -f tsim/tmq/basic3.sim -m -# ./test.sh -f tsim/stable/vnode3.sim -m -# ./test.sh -f tsim/qnode/basic1.sim -m -# # unsupport ./test.sh -f tsim/mnode/basic1.sim -m +# --- valgrind ---- +./test.sh -f tsim/valgrind/checkError1.sim +./test.sh -f tsim/valgrind/checkError2.sim +./test.sh -f tsim/valgrind/checkError3.sim +./test.sh -f tsim/valgrind/checkError4.sim +./test.sh -f tsim/valgrind/checkError5.sim +./test.sh -f tsim/valgrind/checkError6.sim +./test.sh -f tsim/valgrind/checkError7.sim +./test.sh -f tsim/valgrind/checkError8.sim +./test.sh -f tsim/valgrind/checkUdf.sim -# # --- sma -# ./test.sh -f tsim/sma/drop_sma.sim -# ./test.sh -f tsim/sma/tsmaCreateInsertQuery.sim -# # temp disable -# ./test.sh -f tsim/sma/rsmaCreateInsertQuery.sim -# ./test.sh -f tsim/sma/rsmaPersistenceRecovery.sim +# --- vnode ---- +# unsupport ./test.sh -f tsim/vnode/replica3_basic.sim +# unsupport ./test.sh -f tsim/vnode/replica3_repeat.sim +# unsupport ./test.sh -f tsim/vnode/replica3_vgroup.sim +# unsupport ./test.sh -f tsim/vnode/replica3_many.sim +# unsupport ./test.sh -f tsim/vnode/replica3_import.sim +# unsupport ./test.sh -f tsim/vnode/stable_balance_replica1.sim +# unsupport ./test.sh -f tsim/vnode/stable_dnode2_stop.sim +./test.sh -f tsim/vnode/stable_dnode2.sim +./test.sh -f tsim/vnode/stable_dnode3.sim +./test.sh -f tsim/vnode/stable_replica3_dnode6.sim +./test.sh -f tsim/vnode/stable_replica3_vnode3.sim -# # --- valgrind ---- -# ./test.sh -f tsim/valgrind/checkError1.sim -# ./test.sh -f tsim/valgrind/checkError2.sim -# ./test.sh -f tsim/valgrind/checkError3.sim -# ./test.sh -f tsim/valgrind/checkError4.sim -# ./test.sh -f tsim/valgrind/checkError5.sim -# ./test.sh -f tsim/valgrind/checkError6.sim -# ./test.sh -f tsim/valgrind/checkError7.sim -# ./test.sh -f tsim/valgrind/checkError8.sim -# ./test.sh -f tsim/valgrind/checkUdf.sim +# --- sync +./test.sh -f tsim/sync/3Replica1VgElect.sim +./test.sh -f tsim/sync/3Replica5VgElect.sim +./test.sh -f tsim/sync/oneReplica1VgElect.sim +./test.sh -f tsim/sync/oneReplica5VgElect.sim -# # --- vnode ---- -# # unsupport ./test.sh -f tsim/vnode/replica3_basic.sim -# # unsupport ./test.sh -f tsim/vnode/replica3_repeat.sim -# # unsupport ./test.sh -f tsim/vnode/replica3_vgroup.sim -# # unsupport ./test.sh -f tsim/vnode/replica3_many.sim -# # unsupport ./test.sh -f tsim/vnode/replica3_import.sim -# # unsupport ./test.sh -f tsim/vnode/stable_balance_replica1.sim -# # unsupport ./test.sh -f tsim/vnode/stable_dnode2_stop.sim -# ./test.sh -f tsim/vnode/stable_dnode2.sim -# ./test.sh -f tsim/vnode/stable_dnode3.sim -# ./test.sh -f tsim/vnode/stable_replica3_dnode6.sim -# ./test.sh -f tsim/vnode/stable_replica3_vnode3.sim +# --- catalog ---- +./test.sh -f tsim/catalog/alterInCurrent.sim -# # --- sync -# ./test.sh -f tsim/sync/3Replica1VgElect.sim -# ./test.sh -f tsim/sync/3Replica5VgElect.sim -# ./test.sh -f tsim/sync/oneReplica1VgElect.sim -# ./test.sh -f tsim/sync/oneReplica5VgElect.sim +# --- scalar ---- +./test.sh -f tsim/scalar/in.sim +./test.sh -f tsim/scalar/scalar.sim +./test.sh -f tsim/scalar/filter.sim +./test.sh -f tsim/scalar/caseWhen.sim -# # --- catalog ---- -# ./test.sh -f tsim/catalog/alterInCurrent.sim +# ---- alter ---- +./test.sh -f tsim/alter/cached_schema_after_alter.sim +./test.sh -f tsim/alter/dnode.sim +./test.sh -f tsim/alter/table.sim -# # --- scalar ---- -# ./test.sh -f tsim/scalar/in.sim -# ./test.sh -f tsim/scalar/scalar.sim -# ./test.sh -f tsim/scalar/filter.sim -# ./test.sh -f tsim/scalar/caseWhen.sim +# ---- cache ---- +./test.sh -f tsim/cache/new_metrics.sim +./test.sh -f tsim/cache/restart_table.sim +./test.sh -f tsim/cache/restart_metrics.sim -# # ---- alter ---- -# ./test.sh -f tsim/alter/cached_schema_after_alter.sim -# ./test.sh -f tsim/alter/dnode.sim -# ./test.sh -f tsim/alter/table.sim +# ---- column ---- +./test.sh -f tsim/column/commit.sim +./test.sh -f tsim/column/metrics.sim +./test.sh -f tsim/column/table.sim -# # ---- cache ---- -# ./test.sh -f tsim/cache/new_metrics.sim -# ./test.sh -f tsim/cache/restart_table.sim -# ./test.sh -f tsim/cache/restart_metrics.sim +# ---- compress ---- +./test.sh -f tsim/compress/commitlog.sim +./test.sh -f tsim/compress/compress2.sim +./test.sh -f tsim/compress/compress.sim +./test.sh -f tsim/compress/uncompress.sim -# # ---- column ---- -# ./test.sh -f tsim/column/commit.sim -# ./test.sh -f tsim/column/metrics.sim -# ./test.sh -f tsim/column/table.sim +# ---- compute ---- +./test.sh -f tsim/compute/avg.sim +./test.sh -f tsim/compute/block_dist.sim +./test.sh -f tsim/compute/bottom.sim +./test.sh -f tsim/compute/count.sim +./test.sh -f tsim/compute/diff.sim +./test.sh -f tsim/compute/diff2.sim +./test.sh -f tsim/compute/first.sim +./test.sh -f tsim/compute/interval.sim +./test.sh -f tsim/compute/last_row.sim +./test.sh -f tsim/compute/last.sim +./test.sh -f tsim/compute/leastsquare.sim +./test.sh -f tsim/compute/max.sim +./test.sh -f tsim/compute/min.sim +./test.sh -f tsim/compute/null.sim +./test.sh -f tsim/compute/percentile.sim +./test.sh -f tsim/compute/stddev.sim +./test.sh -f tsim/compute/sum.sim +./test.sh -f tsim/compute/top.sim -# # ---- compress ---- -# ./test.sh -f tsim/compress/commitlog.sim -# ./test.sh -f tsim/compress/compress2.sim -# ./test.sh -f tsim/compress/compress.sim -# ./test.sh -f tsim/compress/uncompress.sim +# ---- field ---- +./test.sh -f tsim/field/2.sim +./test.sh -f tsim/field/3.sim +./test.sh -f tsim/field/4.sim +./test.sh -f tsim/field/5.sim +./test.sh -f tsim/field/6.sim +./test.sh -f tsim/field/binary.sim +./test.sh -f tsim/field/bigint.sim +./test.sh -f tsim/field/bool.sim +./test.sh -f tsim/field/double.sim +./test.sh -f tsim/field/float.sim +./test.sh -f tsim/field/int.sim +./test.sh -f tsim/field/single.sim +./test.sh -f tsim/field/smallint.sim +./test.sh -f tsim/field/tinyint.sim +./test.sh -f tsim/field/unsigined_bigint.sim -# # ---- compute ---- -# ./test.sh -f tsim/compute/avg.sim -# ./test.sh -f tsim/compute/block_dist.sim -# ./test.sh -f tsim/compute/bottom.sim -# ./test.sh -f tsim/compute/count.sim -# ./test.sh -f tsim/compute/diff.sim -# ./test.sh -f tsim/compute/diff2.sim -# ./test.sh -f tsim/compute/first.sim -# ./test.sh -f tsim/compute/interval.sim -# ./test.sh -f tsim/compute/last_row.sim -# ./test.sh -f tsim/compute/last.sim -# ./test.sh -f tsim/compute/leastsquare.sim -# ./test.sh -f tsim/compute/max.sim -# ./test.sh -f tsim/compute/min.sim -# ./test.sh -f tsim/compute/null.sim -# ./test.sh -f tsim/compute/percentile.sim -# ./test.sh -f tsim/compute/stddev.sim -# ./test.sh -f tsim/compute/sum.sim -# ./test.sh -f tsim/compute/top.sim +# ---- vector ---- +./test.sh -f tsim/vector/metrics_field.sim +./test.sh -f tsim/vector/metrics_mix.sim +./test.sh -f tsim/vector/metrics_query.sim +./test.sh -f tsim/vector/metrics_tag.sim +./test.sh -f tsim/vector/metrics_time.sim +./test.sh -f tsim/vector/multi.sim +./test.sh -f tsim/vector/single.sim +./test.sh -f tsim/vector/table_field.sim +./test.sh -f tsim/vector/table_mix.sim +./test.sh -f tsim/vector/table_query.sim +./test.sh -f tsim/vector/table_time.sim -# # ---- field ---- -# ./test.sh -f tsim/field/2.sim -# ./test.sh -f tsim/field/3.sim -# ./test.sh -f tsim/field/4.sim -# ./test.sh -f tsim/field/5.sim -# ./test.sh -f tsim/field/6.sim -# ./test.sh -f tsim/field/binary.sim -# ./test.sh -f tsim/field/bigint.sim -# ./test.sh -f tsim/field/bool.sim -# ./test.sh -f tsim/field/double.sim -# ./test.sh -f tsim/field/float.sim -# ./test.sh -f tsim/field/int.sim -# ./test.sh -f tsim/field/single.sim -# ./test.sh -f tsim/field/smallint.sim -# ./test.sh -f tsim/field/tinyint.sim -# ./test.sh -f tsim/field/unsigined_bigint.sim +# ---- wal ---- +./test.sh -f tsim/wal/kill.sim -# # ---- vector ---- -# ./test.sh -f tsim/vector/metrics_field.sim -# ./test.sh -f tsim/vector/metrics_mix.sim -# ./test.sh -f tsim/vector/metrics_query.sim -# ./test.sh -f tsim/vector/metrics_tag.sim -# ./test.sh -f tsim/vector/metrics_time.sim -# ./test.sh -f tsim/vector/multi.sim -# ./test.sh -f tsim/vector/single.sim -# ./test.sh -f tsim/vector/table_field.sim -# ./test.sh -f tsim/vector/table_mix.sim -# ./test.sh -f tsim/vector/table_query.sim -# ./test.sh -f tsim/vector/table_time.sim +# ---- tag ---- +./test.sh -f tsim/tag/3.sim +./test.sh -f tsim/tag/4.sim +./test.sh -f tsim/tag/5.sim +./test.sh -f tsim/tag/6.sim +./test.sh -f tsim/tag/add.sim +./test.sh -f tsim/tag/bigint.sim +./test.sh -f tsim/tag/binary_binary.sim +./test.sh -f tsim/tag/binary.sim +./test.sh -f tsim/tag/bool_binary.sim +./test.sh -f tsim/tag/bool_int.sim +./test.sh -f tsim/tag/bool.sim +./test.sh -f tsim/tag/change.sim +./test.sh -f tsim/tag/column.sim +./test.sh -f tsim/tag/commit.sim +./test.sh -f tsim/tag/create.sim +./test.sh -f tsim/tag/delete.sim +./test.sh -f tsim/tag/double.sim +./test.sh -f tsim/tag/filter.sim +./test.sh -f tsim/tag/float.sim +./test.sh -f tsim/tag/int_binary.sim +./test.sh -f tsim/tag/int_float.sim +./test.sh -f tsim/tag/int.sim +./test.sh -f tsim/tag/set.sim +./test.sh -f tsim/tag/smallint.sim +./test.sh -f tsim/tag/tinyint.sim +./test.sh -f tsim/tag/drop_tag.sim -# # ---- wal ---- -# ./test.sh -f tsim/wal/kill.sim -# # ---- tag ---- -# ./test.sh -f tsim/tag/3.sim -# ./test.sh -f tsim/tag/4.sim -# ./test.sh -f tsim/tag/5.sim -# ./test.sh -f tsim/tag/6.sim -# ./test.sh -f tsim/tag/add.sim -# ./test.sh -f tsim/tag/bigint.sim -# ./test.sh -f tsim/tag/binary_binary.sim -# ./test.sh -f tsim/tag/binary.sim -# ./test.sh -f tsim/tag/bool_binary.sim -# ./test.sh -f tsim/tag/bool_int.sim -# ./test.sh -f tsim/tag/bool.sim -# ./test.sh -f tsim/tag/change.sim -# ./test.sh -f tsim/tag/column.sim -# ./test.sh -f tsim/tag/commit.sim -# ./test.sh -f tsim/tag/create.sim -# ./test.sh -f tsim/tag/delete.sim -# ./test.sh -f tsim/tag/double.sim -# ./test.sh -f tsim/tag/filter.sim -# ./test.sh -f tsim/tag/float.sim -# ./test.sh -f tsim/tag/int_binary.sim -# ./test.sh -f tsim/tag/int_float.sim -# ./test.sh -f tsim/tag/int.sim -# ./test.sh -f tsim/tag/set.sim -# ./test.sh -f tsim/tag/smallint.sim -# ./test.sh -f tsim/tag/tinyint.sim - -# #======================b1-end=============== +#======================b1-end=============== diff --git a/tests/system-test/fulltest.sh b/tests/system-test/fulltest.sh index e4a801cc1c..a89b41cac6 100644 --- a/tests/system-test/fulltest.sh +++ b/tests/system-test/fulltest.sh @@ -2,613 +2,611 @@ set -e set -x -# python3 ./test.py -f 0-others/taosShell.py -# python3 ./test.py -f 0-others/taosShellError.py -# python3 ./test.py -f 0-others/taosShellNetChk.py -# python3 ./test.py -f 0-others/telemetry.py -# python3 ./test.py -f 0-others/taosdMonitor.py -# python3 ./test.py -f 0-others/udfTest.py -# python3 ./test.py -f 0-others/udf_create.py -# python3 ./test.py -f 0-others/udf_restart_taosd.py -# python3 ./test.py -f 0-others/cachemodel.py -# python3 ./test.py -f 0-others/udf_cfg1.py -# python3 ./test.py -f 0-others/udf_cfg2.py +python3 ./test.py -f 0-others/taosShell.py +python3 ./test.py -f 0-others/taosShellError.py +python3 ./test.py -f 0-others/taosShellNetChk.py +python3 ./test.py -f 0-others/telemetry.py +python3 ./test.py -f 0-others/taosdMonitor.py +python3 ./test.py -f 0-others/udfTest.py +python3 ./test.py -f 0-others/udf_create.py +python3 ./test.py -f 0-others/udf_restart_taosd.py +python3 ./test.py -f 0-others/cachemodel.py +python3 ./test.py -f 0-others/udf_cfg1.py +python3 ./test.py -f 0-others/udf_cfg2.py -# python3 ./test.py -f 0-others/sysinfo.py -# python3 ./test.py -f 0-others/user_control.py -# python3 ./test.py -f 0-others/fsync.py +python3 ./test.py -f 0-others/sysinfo.py +python3 ./test.py -f 0-others/user_control.py +python3 ./test.py -f 0-others/fsync.py python3 ./test.py -f 0-others/compatibility.py -# python3 ./test.py -f 1-insert/alter_database.py -# python3 ./test.py -f 1-insert/influxdb_line_taosc_insert.py -# python3 ./test.py -f 1-insert/opentsdb_telnet_line_taosc_insert.py -# python3 ./test.py -f 1-insert/opentsdb_json_taosc_insert.py -# python3 ./test.py -f 1-insert/test_stmt_muti_insert_query.py -# python3 ./test.py -f 1-insert/test_stmt_set_tbname_tag.py -# python3 ./test.py -f 1-insert/alter_stable.py -# python3 ./test.py -f 1-insert/alter_table.py -# python3 ./test.py -f 1-insert/insertWithMoreVgroup.py -# python3 ./test.py -f 1-insert/table_comment.py -# python3 ./test.py -f 1-insert/time_range_wise.py -# python3 ./test.py -f 1-insert/block_wise.py -# python3 ./test.py -f 1-insert/create_retentions.py -# python3 ./test.py -f 1-insert/table_param_ttl.py -# python3 ./test.py -f 1-insert/mutil_stage.py -# python3 ./test.py -f 1-insert/table_param_ttl.py -R -# python3 ./test.py -f 1-insert/update_data_muti_rows.py -# python3 ./test.py -f 1-insert/db_tb_name_check.py -# python3 ./test.py -f 1-insert/database_pre_suf.py -# python3 ./test.py -f 0-others/show.py -# python3 ./test.py -f 2-query/abs.py -# python3 ./test.py -f 2-query/abs.py -R -# python3 ./test.py -f 2-query/and_or_for_byte.py -# python3 ./test.py -f 2-query/and_or_for_byte.py -R -# python3 ./test.py -f 2-query/apercentile.py -# python3 ./test.py -f 2-query/apercentile.py -R -# python3 ./test.py -f 2-query/arccos.py -# python3 ./test.py -f 2-query/arccos.py -R -# python3 ./test.py -f 2-query/arcsin.py -# python3 ./test.py -f 2-query/arcsin.py -R -# python3 ./test.py -f 2-query/arctan.py -# python3 ./test.py -f 2-query/arctan.py -R -# python3 ./test.py -f 2-query/avg.py -# python3 ./test.py -f 2-query/avg.py -R -# python3 ./test.py -f 2-query/between.py -# python3 ./test.py -f 2-query/between.py -R -# python3 ./test.py -f 2-query/bottom.py -# python3 ./test.py -f 2-query/bottom.py -R -# python3 ./test.py -f 2-query/cast.py -# python3 ./test.py -f 2-query/cast.py -R -# python3 ./test.py -f 2-query/ceil.py -# python3 ./test.py -f 2-query/ceil.py -R -# python3 ./test.py -f 2-query/char_length.py -# python3 ./test.py -f 2-query/char_length.py -R -# python3 ./test.py -f 2-query/check_tsdb.py -# python3 ./test.py -f 2-query/check_tsdb.py -R -# python3 ./test.py -f 2-query/concat.py -# python3 ./test.py -f 2-query/concat.py -R -# python3 ./test.py -f 2-query/concat_ws.py -# python3 ./test.py -f 2-query/concat_ws.py -R -# python3 ./test.py -f 2-query/concat_ws2.py -# python3 ./test.py -f 2-query/concat_ws2.py -R -# python3 ./test.py -f 2-query/cos.py -# python3 ./test.py -f 2-query/cos.py -R -# python3 ./test.py -f 2-query/count_partition.py -# python3 ./test.py -f 2-query/count_partition.py -R -# python3 ./test.py -f 2-query/count.py -# python3 ./test.py -f 2-query/count.py -R -# python3 ./test.py -f 2-query/db.py -# python3 ./test.py -f 2-query/db.py -R -# python3 ./test.py -f 2-query/diff.py -# python3 ./test.py -f 2-query/diff.py -R -# python3 ./test.py -f 2-query/distinct.py -# python3 ./test.py -f 2-query/distinct.py -R -# python3 ./test.py -f 2-query/distribute_agg_apercentile.py -# python3 ./test.py -f 2-query/distribute_agg_apercentile.py -R -# python3 ./test.py -f 2-query/distribute_agg_avg.py -# python3 ./test.py -f 2-query/distribute_agg_avg.py -R -# python3 ./test.py -f 2-query/distribute_agg_count.py -# python3 ./test.py -f 2-query/distribute_agg_count.py -R -# python3 ./test.py -f 2-query/distribute_agg_max.py -# python3 ./test.py -f 2-query/distribute_agg_max.py -R -# python3 ./test.py -f 2-query/distribute_agg_min.py -# python3 ./test.py -f 2-query/distribute_agg_min.py -R -# python3 ./test.py -f 2-query/distribute_agg_spread.py -# python3 ./test.py -f 2-query/distribute_agg_spread.py -R -# python3 ./test.py -f 2-query/distribute_agg_stddev.py -# python3 ./test.py -f 2-query/distribute_agg_stddev.py -R -# python3 ./test.py -f 2-query/distribute_agg_sum.py -# python3 ./test.py -f 2-query/distribute_agg_sum.py -R -# python3 ./test.py -f 2-query/explain.py -# python3 ./test.py -f 2-query/explain.py -R -# python3 ./test.py -f 2-query/first.py -# python3 ./test.py -f 2-query/first.py -R -# python3 ./test.py -f 2-query/floor.py -# python3 ./test.py -f 2-query/floor.py -R -# python3 ./test.py -f 2-query/function_null.py -# python3 ./test.py -f 2-query/function_null.py -R -# python3 ./test.py -f 2-query/function_stateduration.py -# python3 ./test.py -f 2-query/function_stateduration.py -R -# python3 ./test.py -f 2-query/histogram.py -# python3 ./test.py -f 2-query/histogram.py -R -# python3 ./test.py -f 2-query/hyperloglog.py -# python3 ./test.py -f 2-query/hyperloglog.py -R -# python3 ./test.py -f 2-query/interp.py -# python3 ./test.py -f 2-query/interp.py -R -# python3 ./test.py -f 2-query/irate.py -# python3 ./test.py -f 2-query/irate.py -R -# python3 ./test.py -f 2-query/join.py -# python3 ./test.py -f 2-query/join.py -R -# python3 ./test.py -f 2-query/last_row.py -# python3 ./test.py -f 2-query/last_row.py -R -# python3 ./test.py -f 2-query/last.py -# python3 ./test.py -f 2-query/last.py -R -# python3 ./test.py -f 2-query/leastsquares.py -# python3 ./test.py -f 2-query/leastsquares.py -R -# python3 ./test.py -f 2-query/length.py -# python3 ./test.py -f 2-query/length.py -R -# python3 ./test.py -f 2-query/log.py -# # python3 ./test.py -f 2-query/log.py -R -# python3 ./test.py -f 2-query/lower.py -# python3 ./test.py -f 2-query/lower.py -R -# python3 ./test.py -f 2-query/ltrim.py -# python3 ./test.py -f 2-query/ltrim.py -R -# python3 ./test.py -f 2-query/mavg.py -# python3 ./test.py -f 2-query/mavg.py -R -# python3 ./test.py -f 2-query/max_partition.py -# python3 ./test.py -f 2-query/max_partition.py -R -# python3 ./test.py -f 2-query/max.py -# python3 ./test.py -f 2-query/max.py -R -# python3 ./test.py -f 2-query/min.py -# python3 ./test.py -f 2-query/min.py -R -# python3 ./test.py -f 2-query/Now.py -# python3 ./test.py -f 2-query/Now.py -R -# python3 ./test.py -f 2-query/percentile.py -# python3 ./test.py -f 2-query/percentile.py -R -# python3 ./test.py -f 2-query/pow.py -# python3 ./test.py -f 2-query/pow.py -R -# python3 ./test.py -f 2-query/query_cols_tags_and_or.py -# python3 ./test.py -f 2-query/query_cols_tags_and_or.py -R -# python3 ./test.py -f 2-query/round.py -# python3 ./test.py -f 2-query/round.py -R -# python3 ./test.py -f 2-query/rtrim.py -# python3 ./test.py -f 2-query/rtrim.py -R -# python3 ./test.py -f 2-query/sample.py -# python3 ./test.py -f 2-query/sample.py -R -# python3 ./test.py -f 2-query/sin.py -# python3 ./test.py -f 2-query/sin.py -R -# python3 ./test.py -f 2-query/smaTest.py -# python3 ./test.py -f 2-query/smaTest.py -R -# python3 ./test.py -f 2-query/sml.py -# python3 ./test.py -f 2-query/sml.py -R -# python3 ./test.py -f 2-query/spread.py -# python3 ./test.py -f 2-query/spread.py -R -# python3 ./test.py -f 2-query/sqrt.py -# python3 ./test.py -f 2-query/sqrt.py -R -# python3 ./test.py -f 2-query/statecount.py -# python3 ./test.py -f 2-query/statecount.py -R -# python3 ./test.py -f 2-query/stateduration.py -# python3 ./test.py -f 2-query/stateduration.py -R -# python3 ./test.py -f 2-query/substr.py -# python3 ./test.py -f 2-query/substr.py -R -# python3 ./test.py -f 2-query/sum.py -# python3 ./test.py -f 2-query/sum.py -R -# python3 ./test.py -f 2-query/tail.py -# python3 ./test.py -f 2-query/tail.py -R -# python3 ./test.py -f 2-query/tan.py -# # python3 ./test.py -f 2-query/tan.py -R -# python3 ./test.py -f 2-query/Timediff.py -# python3 ./test.py -f 2-query/Timediff.py -R -# python3 ./test.py -f 2-query/timetruncate.py -# # python3 ./test.py -f 2-query/timetruncate.py -R -# python3 ./test.py -f 2-query/timezone.py -# python3 ./test.py -f 2-query/timezone.py -R -# python3 ./test.py -f 2-query/To_iso8601.py -# python3 ./test.py -f 2-query/To_iso8601.py -R -# python3 ./test.py -f 2-query/To_unixtimestamp.py -# python3 ./test.py -f 2-query/To_unixtimestamp.py -R -# python3 ./test.py -f 2-query/Today.py -# # python3 ./test.py -f 2-query/Today.py -R -# python3 ./test.py -f 2-query/top.py -# python3 ./test.py -f 2-query/top.py -R -# python3 ./test.py -f 2-query/tsbsQuery.py -# python3 ./test.py -f 2-query/tsbsQuery.py -R -# python3 ./test.py -f 2-query/ttl_comment.py -# python3 ./test.py -f 2-query/ttl_comment.py -R -# python3 ./test.py -f 2-query/twa.py -# python3 ./test.py -f 2-query/twa.py -R -# python3 ./test.py -f 2-query/union.py -# python3 ./test.py -f 2-query/union.py -R -# python3 ./test.py -f 2-query/unique.py -# python3 ./test.py -f 2-query/unique.py -R -# python3 ./test.py -f 2-query/upper.py -# python3 ./test.py -f 2-query/upper.py -R -# python3 ./test.py -f 2-query/varchar.py -# python3 ./test.py -f 2-query/varchar.py -R +python3 ./test.py -f 1-insert/alter_database.py +python3 ./test.py -f 1-insert/influxdb_line_taosc_insert.py +python3 ./test.py -f 1-insert/opentsdb_telnet_line_taosc_insert.py +python3 ./test.py -f 1-insert/opentsdb_json_taosc_insert.py +python3 ./test.py -f 1-insert/test_stmt_muti_insert_query.py +python3 ./test.py -f 1-insert/test_stmt_set_tbname_tag.py +python3 ./test.py -f 1-insert/alter_stable.py +python3 ./test.py -f 1-insert/alter_table.py +python3 ./test.py -f 1-insert/insertWithMoreVgroup.py +python3 ./test.py -f 1-insert/table_comment.py +python3 ./test.py -f 1-insert/time_range_wise.py +python3 ./test.py -f 1-insert/block_wise.py +python3 ./test.py -f 1-insert/create_retentions.py +python3 ./test.py -f 1-insert/table_param_ttl.py +python3 ./test.py -f 1-insert/mutil_stage.py +python3 ./test.py -f 1-insert/table_param_ttl.py -R +python3 ./test.py -f 1-insert/update_data_muti_rows.py +python3 ./test.py -f 1-insert/db_tb_name_check.py +python3 ./test.py -f 1-insert/database_pre_suf.py +python3 ./test.py -f 0-others/show.py +python3 ./test.py -f 2-query/abs.py +python3 ./test.py -f 2-query/abs.py -R +python3 ./test.py -f 2-query/and_or_for_byte.py +python3 ./test.py -f 2-query/and_or_for_byte.py -R +python3 ./test.py -f 2-query/apercentile.py +python3 ./test.py -f 2-query/apercentile.py -R +python3 ./test.py -f 2-query/arccos.py +python3 ./test.py -f 2-query/arccos.py -R +python3 ./test.py -f 2-query/arcsin.py +python3 ./test.py -f 2-query/arcsin.py -R +python3 ./test.py -f 2-query/arctan.py +python3 ./test.py -f 2-query/arctan.py -R +python3 ./test.py -f 2-query/avg.py +python3 ./test.py -f 2-query/avg.py -R +python3 ./test.py -f 2-query/between.py +python3 ./test.py -f 2-query/between.py -R +python3 ./test.py -f 2-query/bottom.py +python3 ./test.py -f 2-query/bottom.py -R +python3 ./test.py -f 2-query/cast.py +python3 ./test.py -f 2-query/cast.py -R +python3 ./test.py -f 2-query/ceil.py +python3 ./test.py -f 2-query/ceil.py -R +python3 ./test.py -f 2-query/char_length.py +python3 ./test.py -f 2-query/char_length.py -R +python3 ./test.py -f 2-query/check_tsdb.py +python3 ./test.py -f 2-query/check_tsdb.py -R +python3 ./test.py -f 2-query/concat.py +python3 ./test.py -f 2-query/concat.py -R +python3 ./test.py -f 2-query/concat_ws.py +python3 ./test.py -f 2-query/concat_ws.py -R +python3 ./test.py -f 2-query/concat_ws2.py +python3 ./test.py -f 2-query/concat_ws2.py -R +python3 ./test.py -f 2-query/cos.py +python3 ./test.py -f 2-query/cos.py -R +python3 ./test.py -f 2-query/count_partition.py +python3 ./test.py -f 2-query/count_partition.py -R +python3 ./test.py -f 2-query/count.py +python3 ./test.py -f 2-query/count.py -R +python3 ./test.py -f 2-query/db.py +python3 ./test.py -f 2-query/db.py -R +python3 ./test.py -f 2-query/diff.py +python3 ./test.py -f 2-query/diff.py -R +python3 ./test.py -f 2-query/distinct.py +python3 ./test.py -f 2-query/distinct.py -R +python3 ./test.py -f 2-query/distribute_agg_apercentile.py +python3 ./test.py -f 2-query/distribute_agg_apercentile.py -R +python3 ./test.py -f 2-query/distribute_agg_avg.py +python3 ./test.py -f 2-query/distribute_agg_avg.py -R +python3 ./test.py -f 2-query/distribute_agg_count.py +python3 ./test.py -f 2-query/distribute_agg_count.py -R +python3 ./test.py -f 2-query/distribute_agg_max.py +python3 ./test.py -f 2-query/distribute_agg_max.py -R +python3 ./test.py -f 2-query/distribute_agg_min.py +python3 ./test.py -f 2-query/distribute_agg_min.py -R +python3 ./test.py -f 2-query/distribute_agg_spread.py +python3 ./test.py -f 2-query/distribute_agg_spread.py -R +python3 ./test.py -f 2-query/distribute_agg_stddev.py +python3 ./test.py -f 2-query/distribute_agg_stddev.py -R +python3 ./test.py -f 2-query/distribute_agg_sum.py +python3 ./test.py -f 2-query/distribute_agg_sum.py -R +python3 ./test.py -f 2-query/explain.py +python3 ./test.py -f 2-query/explain.py -R +python3 ./test.py -f 2-query/first.py +python3 ./test.py -f 2-query/first.py -R +python3 ./test.py -f 2-query/floor.py +python3 ./test.py -f 2-query/floor.py -R +python3 ./test.py -f 2-query/function_null.py +python3 ./test.py -f 2-query/function_null.py -R +python3 ./test.py -f 2-query/function_stateduration.py +python3 ./test.py -f 2-query/function_stateduration.py -R +python3 ./test.py -f 2-query/histogram.py +python3 ./test.py -f 2-query/histogram.py -R +python3 ./test.py -f 2-query/hyperloglog.py +python3 ./test.py -f 2-query/hyperloglog.py -R +python3 ./test.py -f 2-query/interp.py +python3 ./test.py -f 2-query/interp.py -R +python3 ./test.py -f 2-query/irate.py +python3 ./test.py -f 2-query/irate.py -R +python3 ./test.py -f 2-query/join.py +python3 ./test.py -f 2-query/join.py -R +python3 ./test.py -f 2-query/last_row.py +python3 ./test.py -f 2-query/last_row.py -R +python3 ./test.py -f 2-query/last.py +python3 ./test.py -f 2-query/last.py -R +python3 ./test.py -f 2-query/leastsquares.py +python3 ./test.py -f 2-query/leastsquares.py -R +python3 ./test.py -f 2-query/length.py +python3 ./test.py -f 2-query/length.py -R +python3 ./test.py -f 2-query/log.py +python3 ./test.py -f 2-query/log.py -R +python3 ./test.py -f 2-query/lower.py +python3 ./test.py -f 2-query/lower.py -R +python3 ./test.py -f 2-query/ltrim.py +python3 ./test.py -f 2-query/ltrim.py -R +python3 ./test.py -f 2-query/mavg.py +python3 ./test.py -f 2-query/mavg.py -R +python3 ./test.py -f 2-query/max_partition.py +python3 ./test.py -f 2-query/max_partition.py -R +python3 ./test.py -f 2-query/max.py +python3 ./test.py -f 2-query/max.py -R +python3 ./test.py -f 2-query/min.py +python3 ./test.py -f 2-query/min.py -R +python3 ./test.py -f 2-query/Now.py +python3 ./test.py -f 2-query/Now.py -R +python3 ./test.py -f 2-query/percentile.py +python3 ./test.py -f 2-query/percentile.py -R +python3 ./test.py -f 2-query/pow.py +python3 ./test.py -f 2-query/pow.py -R +python3 ./test.py -f 2-query/query_cols_tags_and_or.py +python3 ./test.py -f 2-query/query_cols_tags_and_or.py -R +python3 ./test.py -f 2-query/round.py +python3 ./test.py -f 2-query/round.py -R +python3 ./test.py -f 2-query/rtrim.py +python3 ./test.py -f 2-query/rtrim.py -R +python3 ./test.py -f 2-query/sample.py +python3 ./test.py -f 2-query/sample.py -R +python3 ./test.py -f 2-query/sin.py +python3 ./test.py -f 2-query/sin.py -R +python3 ./test.py -f 2-query/smaTest.py +python3 ./test.py -f 2-query/smaTest.py -R +python3 ./test.py -f 2-query/sml.py +python3 ./test.py -f 2-query/sml.py -R +python3 ./test.py -f 2-query/spread.py +python3 ./test.py -f 2-query/spread.py -R +python3 ./test.py -f 2-query/sqrt.py +python3 ./test.py -f 2-query/sqrt.py -R +python3 ./test.py -f 2-query/statecount.py +python3 ./test.py -f 2-query/statecount.py -R +python3 ./test.py -f 2-query/stateduration.py +python3 ./test.py -f 2-query/stateduration.py -R +python3 ./test.py -f 2-query/substr.py +python3 ./test.py -f 2-query/substr.py -R +python3 ./test.py -f 2-query/sum.py +python3 ./test.py -f 2-query/sum.py -R +python3 ./test.py -f 2-query/tail.py +python3 ./test.py -f 2-query/tail.py -R +python3 ./test.py -f 2-query/tan.py +python3 ./test.py -f 2-query/tan.py -R +python3 ./test.py -f 2-query/Timediff.py +python3 ./test.py -f 2-query/Timediff.py -R +python3 ./test.py -f 2-query/timetruncate.py +# python3 ./test.py -f 2-query/timetruncate.py -R +python3 ./test.py -f 2-query/timezone.py +python3 ./test.py -f 2-query/timezone.py -R +python3 ./test.py -f 2-query/To_iso8601.py +python3 ./test.py -f 2-query/To_iso8601.py -R +python3 ./test.py -f 2-query/To_unixtimestamp.py +python3 ./test.py -f 2-query/To_unixtimestamp.py -R +python3 ./test.py -f 2-query/Today.py +# python3 ./test.py -f 2-query/Today.py -R +python3 ./test.py -f 2-query/top.py +python3 ./test.py -f 2-query/top.py -R +python3 ./test.py -f 2-query/tsbsQuery.py +python3 ./test.py -f 2-query/tsbsQuery.py -R +python3 ./test.py -f 2-query/ttl_comment.py +python3 ./test.py -f 2-query/ttl_comment.py -R +python3 ./test.py -f 2-query/twa.py +python3 ./test.py -f 2-query/twa.py -R +python3 ./test.py -f 2-query/union.py +python3 ./test.py -f 2-query/union.py -R +python3 ./test.py -f 2-query/unique.py +python3 ./test.py -f 2-query/unique.py -R +python3 ./test.py -f 2-query/upper.py +python3 ./test.py -f 2-query/upper.py -R +python3 ./test.py -f 2-query/varchar.py +python3 ./test.py -f 2-query/varchar.py -R -# python3 ./test.py -f 1-insert/update_data.py +python3 ./test.py -f 1-insert/update_data.py -# python3 ./test.py -f 1-insert/delete_data.py +python3 ./test.py -f 1-insert/delete_data.py -# python3 ./test.py -f 2-query/join2.py -# python3 ./test.py -f 2-query/union1.py -# python3 ./test.py -f 2-query/concat2.py +python3 ./test.py -f 2-query/join2.py +python3 ./test.py -f 2-query/union1.py +python3 ./test.py -f 2-query/concat2.py -# python3 ./test.py -f 2-query/json_tag.py +python3 ./test.py -f 2-query/json_tag.py # python3 ./test.py -f 2-query/nestedQuery.py # TD-15983 subquery output duplicate name column. # Please Xiangyang Guo modify the following script # python3 ./test.py -f 2-query/nestedQuery_str.py -# python3 ./test.py -f 2-query/stablity.py +python3 ./test.py -f 2-query/stablity.py -# python3 ./test.py -f 2-query/elapsed.py -# python3 ./test.py -f 2-query/csum.py -# python3 ./test.py -f 2-query/function_diff.py -# python3 ./test.py -f 2-query/queryQnode.py +python3 ./test.py -f 2-query/elapsed.py +python3 ./test.py -f 2-query/csum.py +python3 ./test.py -f 2-query/function_diff.py +python3 ./test.py -f 2-query/queryQnode.py -# python3 ./test.py -f 6-cluster/5dnode1mnode.py -# python3 ./test.py -f 6-cluster/5dnode2mnode.py -N 5 -M 3 -# python3 ./test.py -f 6-cluster/5dnode3mnodeStop.py -N 5 -M 3 -# python3 ./test.py -f 6-cluster/5dnode3mnodeStop2Follower.py -N 5 -M 3 -# python3 ./test.py -f 6-cluster/5dnode3mnodeStopLoop.py -N 5 -M 3 -# python3 ./test.py -f 6-cluster/5dnode3mnodeSep1VnodeStopDnodeCreateDb.py -N 5 -M 3 -# python3 ./test.py -f 6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateDb.py -N 5 -M 3 -# python3 ./test.py -f 6-cluster/5dnode3mnodeSep1VnodeStopVnodeCreateDb.py -N 5 -M 3 -# python3 ./test.py -f 6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateDbRep3.py -N 5 -M 3 +python3 ./test.py -f 6-cluster/5dnode1mnode.py +python3 ./test.py -f 6-cluster/5dnode2mnode.py -N 5 -M 3 +python3 ./test.py -f 6-cluster/5dnode3mnodeStop.py -N 5 -M 3 +python3 ./test.py -f 6-cluster/5dnode3mnodeStop2Follower.py -N 5 -M 3 +python3 ./test.py -f 6-cluster/5dnode3mnodeStopLoop.py -N 5 -M 3 +python3 ./test.py -f 6-cluster/5dnode3mnodeSep1VnodeStopDnodeCreateDb.py -N 5 -M 3 +python3 ./test.py -f 6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateDb.py -N 5 -M 3 +python3 ./test.py -f 6-cluster/5dnode3mnodeSep1VnodeStopVnodeCreateDb.py -N 5 -M 3 +python3 ./test.py -f 6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateDbRep3.py -N 5 -M 3 -# python3 ./test.py -f 6-cluster/5dnode3mnodeSep1VnodeStopDnodeCreateStb.py -N 5 -M 3 -# python3 ./test.py -f 6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateStb.py -N 5 -M 3 -# python3 ./test.py -f 6-cluster/5dnode3mnodeSep1VnodeStopVnodeCreateStb.py -N 5 -M 3 +python3 ./test.py -f 6-cluster/5dnode3mnodeSep1VnodeStopDnodeCreateStb.py -N 5 -M 3 +python3 ./test.py -f 6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateStb.py -N 5 -M 3 +python3 ./test.py -f 6-cluster/5dnode3mnodeSep1VnodeStopVnodeCreateStb.py -N 5 -M 3 -# python3 ./test.py -f 6-cluster/5dnode3mnodeRestartDnodeInsertData.py -N 5 -M 3 -# python3 ./test.py -f 6-cluster/5dnode3mnodeRestartDnodeInsertDataAsync.py -N 5 -M 3 -# # python3 ./test.py -f 6-cluster/5dnode3mnodeRestartMnodeInsertData.py -N 5 -M 3 -# # python3 ./test.py -f 6-cluster/5dnode3mnodeRestartVnodeInsertData.py -N 5 -M 3 +python3 ./test.py -f 6-cluster/5dnode3mnodeRestartDnodeInsertData.py -N 5 -M 3 +python3 ./test.py -f 6-cluster/5dnode3mnodeRestartDnodeInsertDataAsync.py -N 5 -M 3 +# python3 ./test.py -f 6-cluster/5dnode3mnodeRestartMnodeInsertData.py -N 5 -M 3 +# python3 ./test.py -f 6-cluster/5dnode3mnodeRestartVnodeInsertData.py -N 5 -M 3 -# python3 ./test.py -f 6-cluster/5dnode3mnodeAdd1Ddnoe.py -N 6 -M 3 -C 5 -# # BUG python3 ./test.py -f 6-cluster/5dnode3mnodeStopInsert.py -# # python3 ./test.py -f 6-cluster/5dnode3mnodeDrop.py -N 5 -# python3 test.py -f 6-cluster/5dnode3mnodeStopConnect.py -N 5 -M 3 +python3 ./test.py -f 6-cluster/5dnode3mnodeAdd1Ddnoe.py -N 6 -M 3 -C 5 +# BUG python3 ./test.py -f 6-cluster/5dnode3mnodeStopInsert.py +python3 ./test.py -f 6-cluster/5dnode3mnodeDrop.py -N 5 +python3 test.py -f 6-cluster/5dnode3mnodeStopConnect.py -N 5 -M 3 + +python3 ./test.py -f 6-cluster/5dnode3mnodeRecreateMnode.py -N 5 -M 3 +python3 ./test.py -f 6-cluster/5dnode3mnodeStopFollowerLeader.py -N 5 -M 3 +python3 ./test.py -f 6-cluster/5dnode3mnodeStop2Follower.py -N 5 -M 3 + +# vnode case +python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_createDb_replica1.py -N 4 -M 1 +python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica1_insertdatas.py -N 4 -M 1 +python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica1_insertdatas_querys.py -N 4 -M 1 +# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_force_stop_all_dnodes.py -N 4 -M 1 +python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas.py -N 4 -M 1 +# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_querys_loop_restart_all_vnode.py -N 4 -M 1 +# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_querys_loop_restart_follower.py -N 4 -M 1 +# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_querys_loop_restart_leader.py -N 4 -M 1 +python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_querys.py -N 4 -M 1 +# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_all_dnodes.py -N 4 -M 1 +# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_follower_sync.py -N 4 -M 1 +# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_follower_unsync_force_stop.py -N 4 -M 1 +# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_follower_unsync.py -N 4 -M 1 +# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_leader_forece_stop.py -N 4 -M 1 +python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_leader.py -N 4 -M 1 +# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_mnode3_insertdatas_querys.py -N 4 -M 1 +# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_follower_force_stop.py -N 4 -M 1 +# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_follower.py -N 4 -M 1 +# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_leader_force_stop.py -N 4 -M 1 +# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_leader.py -N 4 -M 1 +python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_vgroups.py -N 4 -M 1 +# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_vgroups_stopOne.py -N 4 -M 1 + +python3 ./test.py -f 7-tmq/create_wrong_topic.py +python3 ./test.py -f 7-tmq/dropDbR3ConflictTransaction.py -N 3 +python3 ./test.py -f 7-tmq/basic5.py +python3 ./test.py -f 7-tmq/subscribeDb.py +python3 ./test.py -f 7-tmq/subscribeDb0.py +python3 ./test.py -f 7-tmq/subscribeDb1.py +python3 ./test.py -f 7-tmq/subscribeDb2.py +python3 ./test.py -f 7-tmq/subscribeDb3.py +python3 ./test.py -f 7-tmq/subscribeDb4.py +python3 ./test.py -f 7-tmq/subscribeStb.py +python3 ./test.py -f 7-tmq/subscribeStb0.py +python3 ./test.py -f 7-tmq/subscribeStb1.py +python3 ./test.py -f 7-tmq/subscribeStb2.py +python3 ./test.py -f 7-tmq/subscribeStb3.py +python3 ./test.py -f 7-tmq/subscribeStb4.py +python3 ./test.py -f 7-tmq/db.py +python3 ./test.py -f 7-tmq/tmqError.py +python3 ./test.py -f 7-tmq/schema.py +python3 ./test.py -f 7-tmq/stbFilter.py +python3 ./test.py -f 7-tmq/tmqCheckData.py +python3 ./test.py -f 7-tmq/tmqCheckData1.py +#python3 ./test.py -f 7-tmq/tmq3mnodeSwitch.py -N 5 +python3 ./test.py -f 7-tmq/tmqConsumerGroup.py +python3 ./test.py -f 7-tmq/tmqShow.py +python3 ./test.py -f 7-tmq/tmqAlterSchema.py +python3 ./test.py -f 7-tmq/tmqConsFromTsdb.py +python3 ./test.py -f 7-tmq/tmqConsFromTsdb1.py +python3 ./test.py -f 7-tmq/tmqConsFromTsdb-mutilVg.py +python3 ./test.py -f 7-tmq/tmqConsFromTsdb1-mutilVg.py +python3 ./test.py -f 7-tmq/tmqConsFromTsdb-1ctb.py +python3 ./test.py -f 7-tmq/tmqConsFromTsdb1-1ctb.py +python3 ./test.py -f 7-tmq/tmqConsFromTsdb-1ctb-funcNFilter.py +python3 ./test.py -f 7-tmq/tmqConsFromTsdb-mutilVg-mutilCtb-funcNFilter.py +python3 ./test.py -f 7-tmq/tmqConsFromTsdb-mutilVg-mutilCtb.py +python3 ./test.py -f 7-tmq/tmqConsFromTsdb1-1ctb-funcNFilter.py +python3 ./test.py -f 7-tmq/tmqConsFromTsdb1-mutilVg-mutilCtb-funcNFilter.py +python3 ./test.py -f 7-tmq/tmqConsFromTsdb1-mutilVg-mutilCtb.py +python3 ./test.py -f 7-tmq/tmqAutoCreateTbl.py +python3 ./test.py -f 7-tmq/tmqDnodeRestart.py +python3 ./test.py -f 7-tmq/tmqUpdate-1ctb.py +python3 ./test.py -f 7-tmq/tmqUpdateWithConsume.py +python3 ./test.py -f 7-tmq/tmqUpdate-multiCtb-snapshot0.py +python3 ./test.py -f 7-tmq/tmqUpdate-multiCtb-snapshot1.py +python3 ./test.py -f 7-tmq/tmqDelete-1ctb.py +python3 ./test.py -f 7-tmq/tmqDelete-multiCtb.py +python3 ./test.py -f 7-tmq/tmqDropStb.py +python3 ./test.py -f 7-tmq/tmqDropStbCtb.py +python3 ./test.py -f 7-tmq/tmqDropNtb-snapshot0.py +python3 ./test.py -f 7-tmq/tmqDropNtb-snapshot1.py +python3 ./test.py -f 7-tmq/tmqUdf.py +python3 ./test.py -f 7-tmq/tmqUdf-multCtb-snapshot0.py +python3 ./test.py -f 7-tmq/tmqUdf-multCtb-snapshot1.py +python3 ./test.py -f 7-tmq/stbTagFilter-1ctb.py +python3 ./test.py -f 7-tmq/dataFromTsdbNWal.py +python3 ./test.py -f 7-tmq/dataFromTsdbNWal-multiCtb.py +python3 ./test.py -f 7-tmq/tmq_taosx.py +python3 ./test.py -f 7-tmq/stbTagFilter-multiCtb.py + +python3 ./test.py -f 99-TDcase/TD-19201.py + +#------------querPolicy 2----------- + +python3 ./test.py -f 2-query/between.py -Q 2 +python3 ./test.py -f 2-query/distinct.py -Q 2 +python3 ./test.py -f 2-query/varchar.py -Q 2 +python3 ./test.py -f 2-query/ltrim.py -Q 2 +python3 ./test.py -f 2-query/rtrim.py -Q 2 +python3 ./test.py -f 2-query/length.py -Q 2 +python3 ./test.py -f 2-query/char_length.py -Q 2 +python3 ./test.py -f 2-query/upper.py -Q 2 +python3 ./test.py -f 2-query/lower.py -Q 2 +python3 ./test.py -f 2-query/join.py -Q 2 +python3 ./test.py -f 2-query/join2.py -Q 2 +python3 ./test.py -f 2-query/cast.py -Q 2 +python3 ./test.py -f 2-query/substr.py -Q 2 +python3 ./test.py -f 2-query/union.py -Q 2 +python3 ./test.py -f 2-query/union1.py -Q 2 +python3 ./test.py -f 2-query/concat.py -Q 2 +python3 ./test.py -f 2-query/concat2.py -Q 2 +python3 ./test.py -f 2-query/concat_ws.py -Q 2 +python3 ./test.py -f 2-query/concat_ws2.py -Q 2 +#python3 ./test.py -f 2-query/check_tsdb.py -Q 2 +python3 ./test.py -f 2-query/spread.py -Q 2 +python3 ./test.py -f 2-query/hyperloglog.py -Q 2 +python3 ./test.py -f 2-query/explain.py -Q 2 +python3 ./test.py -f 2-query/leastsquares.py -Q 2 +python3 ./test.py -f 2-query/timezone.py -Q 2 +python3 ./test.py -f 2-query/Now.py -Q 2 +python3 ./test.py -f 2-query/Today.py -Q 2 +python3 ./test.py -f 2-query/max.py -Q 2 +python3 ./test.py -f 2-query/min.py -Q 2 +python3 ./test.py -f 2-query/count.py -Q 2 +python3 ./test.py -f 2-query/last.py -Q 2 +python3 ./test.py -f 2-query/first.py -Q 2 +python3 ./test.py -f 2-query/To_iso8601.py -Q 2 +python3 ./test.py -f 2-query/To_unixtimestamp.py -Q 2 +python3 ./test.py -f 2-query/timetruncate.py -Q 2 +python3 ./test.py -f 2-query/diff.py -Q 2 +python3 ./test.py -f 2-query/Timediff.py -Q 2 +python3 ./test.py -f 2-query/json_tag.py -Q 2 +python3 ./test.py -f 2-query/top.py -Q 2 +python3 ./test.py -f 2-query/bottom.py -Q 2 +python3 ./test.py -f 2-query/percentile.py -Q 2 +python3 ./test.py -f 2-query/apercentile.py -Q 2 +python3 ./test.py -f 2-query/abs.py -Q 2 +python3 ./test.py -f 2-query/ceil.py -Q 2 +python3 ./test.py -f 2-query/floor.py -Q 2 +python3 ./test.py -f 2-query/round.py -Q 2 +python3 ./test.py -f 2-query/log.py -Q 2 +python3 ./test.py -f 2-query/pow.py -Q 2 +python3 ./test.py -f 2-query/sqrt.py -Q 2 +python3 ./test.py -f 2-query/sin.py -Q 2 +python3 ./test.py -f 2-query/cos.py -Q 2 +python3 ./test.py -f 2-query/tan.py -Q 2 +python3 ./test.py -f 2-query/arcsin.py -Q 2 +python3 ./test.py -f 2-query/arccos.py -Q 2 +python3 ./test.py -f 2-query/arctan.py -Q 2 +python3 ./test.py -f 2-query/query_cols_tags_and_or.py -Q 2 +python3 ./test.py -f 2-query/interp.py -Q 2 + +# python3 ./test.py -f 2-query/nestedQuery.py -Q 2 +# python3 ./test.py -f 2-query/nestedQuery_str.py -Q 2 + +python3 ./test.py -f 2-query/avg.py -Q 2 +# python3 ./test.py -f 2-query/elapsed.py -Q 2 +python3 ./test.py -f 2-query/csum.py -Q 2 +#python3 ./test.py -f 2-query/mavg.py -Q 2 +python3 ./test.py -f 2-query/sample.py -Q 2 +python3 ./test.py -f 2-query/function_diff.py -Q 2 +python3 ./test.py -f 2-query/unique.py -Q 2 +python3 ./test.py -f 2-query/stateduration.py -Q 2 +python3 ./test.py -f 2-query/function_stateduration.py -Q 2 +python3 ./test.py -f 2-query/statecount.py -Q 2 +python3 ./test.py -f 2-query/tail.py -Q 2 +python3 ./test.py -f 2-query/ttl_comment.py -Q 2 +python3 ./test.py -f 2-query/distribute_agg_count.py -Q 2 +python3 ./test.py -f 2-query/distribute_agg_max.py -Q 2 +python3 ./test.py -f 2-query/distribute_agg_min.py -Q 2 +python3 ./test.py -f 2-query/distribute_agg_sum.py -Q 2 +python3 ./test.py -f 2-query/distribute_agg_spread.py -Q 2 +python3 ./test.py -f 2-query/distribute_agg_apercentile.py -Q 2 +python3 ./test.py -f 2-query/distribute_agg_avg.py -Q 2 +python3 ./test.py -f 2-query/distribute_agg_stddev.py -Q 2 +python3 ./test.py -f 2-query/twa.py -Q 2 +python3 ./test.py -f 2-query/irate.py -Q 2 +python3 ./test.py -f 2-query/function_null.py -Q 2 +python3 ./test.py -f 2-query/count_partition.py -Q 2 +python3 ./test.py -f 2-query/max_partition.py -Q 2 +python3 ./test.py -f 2-query/last_row.py -Q 2 +python3 ./test.py -f 2-query/tsbsQuery.py -Q 2 +#------------querPolicy 3----------- + +python3 ./test.py -f 2-query/between.py -Q 3 +python3 ./test.py -f 2-query/distinct.py -Q 3 +python3 ./test.py -f 2-query/varchar.py -Q 3 +python3 ./test.py -f 2-query/ltrim.py -Q 3 +python3 ./test.py -f 2-query/rtrim.py -Q 3 +python3 ./test.py -f 2-query/length.py -Q 3 +python3 ./test.py -f 2-query/char_length.py -Q 3 +python3 ./test.py -f 2-query/upper.py -Q 3 +python3 ./test.py -f 2-query/lower.py -Q 3 +python3 ./test.py -f 2-query/join.py -Q 3 +python3 ./test.py -f 2-query/join2.py -Q 3 +python3 ./test.py -f 2-query/cast.py -Q 3 +python3 ./test.py -f 2-query/substr.py -Q 3 +python3 ./test.py -f 2-query/union.py -Q 3 +python3 ./test.py -f 2-query/union1.py -Q 3 +python3 ./test.py -f 2-query/concat.py -Q 3 +python3 ./test.py -f 2-query/concat2.py -Q 3 +python3 ./test.py -f 2-query/concat_ws.py -Q 3 +python3 ./test.py -f 2-query/concat_ws2.py -Q 3 +#python3 ./test.py -f 2-query/check_tsdb.py -Q 3 +python3 ./test.py -f 2-query/spread.py -Q 3 +python3 ./test.py -f 2-query/hyperloglog.py -Q 3 +python3 ./test.py -f 2-query/explain.py -Q 3 +python3 ./test.py -f 2-query/leastsquares.py -Q 3 +python3 ./test.py -f 2-query/timezone.py -Q 3 +python3 ./test.py -f 2-query/Now.py -Q 3 +python3 ./test.py -f 2-query/Today.py -Q 3 +python3 ./test.py -f 2-query/max.py -Q 3 +python3 ./test.py -f 2-query/min.py -Q 3 +python3 ./test.py -f 2-query/count.py -Q 3 +#python3 ./test.py -f 2-query/last.py -Q 3 +python3 ./test.py -f 2-query/first.py -Q 3 +python3 ./test.py -f 2-query/To_iso8601.py -Q 3 +python3 ./test.py -f 2-query/To_unixtimestamp.py -Q 3 +python3 ./test.py -f 2-query/timetruncate.py -Q 3 +python3 ./test.py -f 2-query/diff.py -Q 3 +python3 ./test.py -f 2-query/Timediff.py -Q 3 +python3 ./test.py -f 2-query/json_tag.py -Q 3 +python3 ./test.py -f 2-query/top.py -Q 3 +python3 ./test.py -f 2-query/bottom.py -Q 3 +python3 ./test.py -f 2-query/percentile.py -Q 3 +python3 ./test.py -f 2-query/apercentile.py -Q 3 +python3 ./test.py -f 2-query/abs.py -Q 3 +python3 ./test.py -f 2-query/ceil.py -Q 3 +python3 ./test.py -f 2-query/floor.py -Q 3 +python3 ./test.py -f 2-query/round.py -Q 3 +python3 ./test.py -f 2-query/log.py -Q 3 +python3 ./test.py -f 2-query/pow.py -Q 3 +python3 ./test.py -f 2-query/sqrt.py -Q 3 +python3 ./test.py -f 2-query/sin.py -Q 3 +python3 ./test.py -f 2-query/cos.py -Q 3 +python3 ./test.py -f 2-query/tan.py -Q 3 +python3 ./test.py -f 2-query/arcsin.py -Q 3 +python3 ./test.py -f 2-query/arccos.py -Q 3 +python3 ./test.py -f 2-query/arctan.py -Q 3 +python3 ./test.py -f 2-query/query_cols_tags_and_or.py -Q 3 +# python3 ./test.py -f 2-query/nestedQuery.py -Q 3 +# python3 ./test.py -f 2-query/nestedQuery_str.py -Q 3 +# python3 ./test.py -f 2-query/avg.py -Q 3 +# python3 ./test.py -f 2-query/elapsed.py -Q 3 +python3 ./test.py -f 2-query/csum.py -Q 3 +#python3 ./test.py -f 2-query/mavg.py -Q 3 +python3 ./test.py -f 2-query/sample.py -Q 3 +python3 ./test.py -f 2-query/function_diff.py -Q 3 +python3 ./test.py -f 2-query/unique.py -Q 3 +python3 ./test.py -f 2-query/stateduration.py -Q 3 +python3 ./test.py -f 2-query/function_stateduration.py -Q 3 +python3 ./test.py -f 2-query/statecount.py -Q 3 +python3 ./test.py -f 2-query/tail.py -Q 3 +python3 ./test.py -f 2-query/ttl_comment.py -Q 3 +python3 ./test.py -f 2-query/distribute_agg_count.py -Q 3 +python3 ./test.py -f 2-query/distribute_agg_max.py -Q 3 +python3 ./test.py -f 2-query/distribute_agg_min.py -Q 3 +python3 ./test.py -f 2-query/distribute_agg_sum.py -Q 3 +python3 ./test.py -f 2-query/distribute_agg_spread.py -Q 3 +python3 ./test.py -f 2-query/distribute_agg_apercentile.py -Q 3 +python3 ./test.py -f 2-query/distribute_agg_avg.py -Q 3 +python3 ./test.py -f 2-query/distribute_agg_stddev.py -Q 3 +python3 ./test.py -f 2-query/twa.py -Q 3 +python3 ./test.py -f 2-query/irate.py -Q 3 +python3 ./test.py -f 2-query/function_null.py -Q 3 +python3 ./test.py -f 2-query/count_partition.py -Q 3 +python3 ./test.py -f 2-query/max_partition.py -Q 3 +python3 ./test.py -f 2-query/last_row.py -Q 3 +python3 ./test.py -f 2-query/tsbsQuery.py -Q 3 +python3 ./test.py -f 2-query/sml.py -Q 3 +python3 ./test.py -f 2-query/interp.py -Q 3 -# python3 ./test.py -f 6-cluster/5dnode3mnodeRecreateMnode.py -N 5 -M 3 -# python3 ./test.py -f 6-cluster/5dnode3mnodeStopFollowerLeader.py -N 5 -M 3 -# python3 ./test.py -f 6-cluster/5dnode3mnodeStop2Follower.py -N 5 -M 3 - -# # vnode case -# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_createDb_replica1.py -N 4 -M 1 -# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica1_insertdatas.py -N 4 -M 1 -# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica1_insertdatas_querys.py -N 4 -M 1 -# # python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_force_stop_all_dnodes.py -N 4 -M 1 -# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas.py -N 4 -M 1 -# # python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_querys_loop_restart_all_vnode.py -N 4 -M 1 -# # python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_querys_loop_restart_follower.py -N 4 -M 1 -# # python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_querys_loop_restart_leader.py -N 4 -M 1 -# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_querys.py -N 4 -M 1 -# # python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_all_dnodes.py -N 4 -M 1 -# # python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_follower_sync.py -N 4 -M 1 -# # python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_follower_unsync_force_stop.py -N 4 -M 1 -# # python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_follower_unsync.py -N 4 -M 1 -# # python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_leader_forece_stop.py -N 4 -M 1 -# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_leader.py -N 4 -M 1 -# # python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_mnode3_insertdatas_querys.py -N 4 -M 1 -# # python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_follower_force_stop.py -N 4 -M 1 -# # python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_follower.py -N 4 -M 1 -# # python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_leader_force_stop.py -N 4 -M 1 -# # python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_leader.py -N 4 -M 1 -# python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_vgroups.py -N 4 -M 1 -# # python3 test.py -f 6-cluster/vnode/4dnode1mnode_basic_replica3_vgroups_stopOne.py -N 4 -M 1 - -# python3 ./test.py -f 7-tmq/create_wrong_topic.py -# python3 ./test.py -f 7-tmq/dropDbR3ConflictTransaction.py -N 3 -# python3 ./test.py -f 7-tmq/basic5.py -# python3 ./test.py -f 7-tmq/subscribeDb.py -# python3 ./test.py -f 7-tmq/subscribeDb0.py -# python3 ./test.py -f 7-tmq/subscribeDb1.py -# python3 ./test.py -f 7-tmq/subscribeDb2.py -# python3 ./test.py -f 7-tmq/subscribeDb3.py -# #python3 ./test.py -f 7-tmq/subscribeDb4.py -# python3 ./test.py -f 7-tmq/subscribeStb.py -# python3 ./test.py -f 7-tmq/subscribeStb0.py -# python3 ./test.py -f 7-tmq/subscribeStb1.py -# python3 ./test.py -f 7-tmq/subscribeStb2.py -# python3 ./test.py -f 7-tmq/subscribeStb3.py -# python3 ./test.py -f 7-tmq/subscribeStb4.py -# python3 ./test.py -f 7-tmq/db.py -# python3 ./test.py -f 7-tmq/tmqError.py -# python3 ./test.py -f 7-tmq/schema.py -# python3 ./test.py -f 7-tmq/stbFilter.py -# python3 ./test.py -f 7-tmq/tmqCheckData.py -# python3 ./test.py -f 7-tmq/tmqCheckData1.py -# #python3 ./test.py -f 7-tmq/tmq3mnodeSwitch.py -N 5 -# python3 ./test.py -f 7-tmq/tmqConsumerGroup.py -# #python3 ./test.py -f 7-tmq/tmqShow.py -# python3 ./test.py -f 7-tmq/tmqAlterSchema.py -# python3 ./test.py -f 7-tmq/tmqConsFromTsdb.py -# python3 ./test.py -f 7-tmq/tmqConsFromTsdb1.py -# python3 ./test.py -f 7-tmq/tmqConsFromTsdb-mutilVg.py -# python3 ./test.py -f 7-tmq/tmqConsFromTsdb1-mutilVg.py -# python3 ./test.py -f 7-tmq/tmqConsFromTsdb-1ctb.py -# # python3 ./test.py -f 7-tmq/tmqConsFromTsdb1-1ctb.py -# python3 ./test.py -f 7-tmq/tmqConsFromTsdb-1ctb-funcNFilter.py -# python3 ./test.py -f 7-tmq/tmqConsFromTsdb-mutilVg-mutilCtb-funcNFilter.py -# python3 ./test.py -f 7-tmq/tmqConsFromTsdb-mutilVg-mutilCtb.py -# python3 ./test.py -f 7-tmq/tmqConsFromTsdb1-1ctb-funcNFilter.py -# python3 ./test.py -f 7-tmq/tmqConsFromTsdb1-mutilVg-mutilCtb-funcNFilter.py -# python3 ./test.py -f 7-tmq/tmqConsFromTsdb1-mutilVg-mutilCtb.py -# python3 ./test.py -f 7-tmq/tmqAutoCreateTbl.py -# python3 ./test.py -f 7-tmq/tmqDnodeRestart.py -# python3 ./test.py -f 7-tmq/tmqUpdate-1ctb.py -# python3 ./test.py -f 7-tmq/tmqUpdateWithConsume.py -# python3 ./test.py -f 7-tmq/tmqUpdate-multiCtb-snapshot0.py -# python3 ./test.py -f 7-tmq/tmqUpdate-multiCtb-snapshot1.py -# python3 ./test.py -f 7-tmq/tmqDelete-1ctb.py -# python3 ./test.py -f 7-tmq/tmqDelete-multiCtb.py -# python3 ./test.py -f 7-tmq/tmqDropStb.py -# python3 ./test.py -f 7-tmq/tmqDropStbCtb.py -# python3 ./test.py -f 7-tmq/tmqDropNtb-snapshot0.py -# python3 ./test.py -f 7-tmq/tmqDropNtb-snapshot1.py -# python3 ./test.py -f 7-tmq/tmqUdf.py -# python3 ./test.py -f 7-tmq/tmqUdf-multCtb-snapshot0.py -# python3 ./test.py -f 7-tmq/tmqUdf-multCtb-snapshot1.py -# python3 ./test.py -f 7-tmq/stbTagFilter-1ctb.py -# python3 ./test.py -f 7-tmq/dataFromTsdbNWal.py -# python3 ./test.py -f 7-tmq/dataFromTsdbNWal-multiCtb.py -# python3 ./test.py -f 7-tmq/tmq_taosx.py -# python3 ./test.py -f 7-tmq/stbTagFilter-multiCtb.py - -# python3 ./test.py -f 99-TDcase/TD-19201.py - -# #------------querPolicy 2----------- - -# python3 ./test.py -f 2-query/between.py -Q 2 -# python3 ./test.py -f 2-query/distinct.py -Q 2 -# python3 ./test.py -f 2-query/varchar.py -Q 2 -# python3 ./test.py -f 2-query/ltrim.py -Q 2 -# python3 ./test.py -f 2-query/rtrim.py -Q 2 -# python3 ./test.py -f 2-query/length.py -Q 2 -# python3 ./test.py -f 2-query/char_length.py -Q 2 -# python3 ./test.py -f 2-query/upper.py -Q 2 -# python3 ./test.py -f 2-query/lower.py -Q 2 -# python3 ./test.py -f 2-query/join.py -Q 2 -# python3 ./test.py -f 2-query/join2.py -Q 2 -# python3 ./test.py -f 2-query/cast.py -Q 2 -# python3 ./test.py -f 2-query/substr.py -Q 2 -# python3 ./test.py -f 2-query/union.py -Q 2 -# python3 ./test.py -f 2-query/union1.py -Q 2 -# python3 ./test.py -f 2-query/concat.py -Q 2 -# python3 ./test.py -f 2-query/concat2.py -Q 2 -# python3 ./test.py -f 2-query/concat_ws.py -Q 2 -# python3 ./test.py -f 2-query/concat_ws2.py -Q 2 -# #python3 ./test.py -f 2-query/check_tsdb.py -Q 2 -# python3 ./test.py -f 2-query/spread.py -Q 2 -# python3 ./test.py -f 2-query/hyperloglog.py -Q 2 -# python3 ./test.py -f 2-query/explain.py -Q 2 -# python3 ./test.py -f 2-query/leastsquares.py -Q 2 -# python3 ./test.py -f 2-query/timezone.py -Q 2 -# python3 ./test.py -f 2-query/Now.py -Q 2 -# python3 ./test.py -f 2-query/Today.py -Q 2 -# python3 ./test.py -f 2-query/max.py -Q 2 -# python3 ./test.py -f 2-query/min.py -Q 2 -# python3 ./test.py -f 2-query/count.py -Q 2 -# python3 ./test.py -f 2-query/last.py -Q 2 -# python3 ./test.py -f 2-query/first.py -Q 2 -# python3 ./test.py -f 2-query/To_iso8601.py -Q 2 -# python3 ./test.py -f 2-query/To_unixtimestamp.py -Q 2 -# python3 ./test.py -f 2-query/timetruncate.py -Q 2 -# python3 ./test.py -f 2-query/diff.py -Q 2 -# python3 ./test.py -f 2-query/Timediff.py -Q 2 -# python3 ./test.py -f 2-query/json_tag.py -Q 2 -# python3 ./test.py -f 2-query/top.py -Q 2 -# python3 ./test.py -f 2-query/bottom.py -Q 2 -# python3 ./test.py -f 2-query/percentile.py -Q 2 -# python3 ./test.py -f 2-query/apercentile.py -Q 2 -# python3 ./test.py -f 2-query/abs.py -Q 2 -# python3 ./test.py -f 2-query/ceil.py -Q 2 -# python3 ./test.py -f 2-query/floor.py -Q 2 -# python3 ./test.py -f 2-query/round.py -Q 2 -# python3 ./test.py -f 2-query/log.py -Q 2 -# python3 ./test.py -f 2-query/pow.py -Q 2 -# python3 ./test.py -f 2-query/sqrt.py -Q 2 -# python3 ./test.py -f 2-query/sin.py -Q 2 -# python3 ./test.py -f 2-query/cos.py -Q 2 -# python3 ./test.py -f 2-query/tan.py -Q 2 -# python3 ./test.py -f 2-query/arcsin.py -Q 2 -# python3 ./test.py -f 2-query/arccos.py -Q 2 -# python3 ./test.py -f 2-query/arctan.py -Q 2 -# python3 ./test.py -f 2-query/query_cols_tags_and_or.py -Q 2 -# python3 ./test.py -f 2-query/interp.py -Q 2 - -# # python3 ./test.py -f 2-query/nestedQuery.py -Q 2 -# # python3 ./test.py -f 2-query/nestedQuery_str.py -Q 2 - -# python3 ./test.py -f 2-query/avg.py -Q 2 -# # python3 ./test.py -f 2-query/elapsed.py -Q 2 -# python3 ./test.py -f 2-query/csum.py -Q 2 -# #python3 ./test.py -f 2-query/mavg.py -Q 2 -# python3 ./test.py -f 2-query/sample.py -Q 2 -# python3 ./test.py -f 2-query/function_diff.py -Q 2 -# python3 ./test.py -f 2-query/unique.py -Q 2 -# python3 ./test.py -f 2-query/stateduration.py -Q 2 -# python3 ./test.py -f 2-query/function_stateduration.py -Q 2 -# python3 ./test.py -f 2-query/statecount.py -Q 2 -# python3 ./test.py -f 2-query/tail.py -Q 2 -# python3 ./test.py -f 2-query/ttl_comment.py -Q 2 -# python3 ./test.py -f 2-query/distribute_agg_count.py -Q 2 -# python3 ./test.py -f 2-query/distribute_agg_max.py -Q 2 -# python3 ./test.py -f 2-query/distribute_agg_min.py -Q 2 -# python3 ./test.py -f 2-query/distribute_agg_sum.py -Q 2 -# python3 ./test.py -f 2-query/distribute_agg_spread.py -Q 2 -# python3 ./test.py -f 2-query/distribute_agg_apercentile.py -Q 2 -# python3 ./test.py -f 2-query/distribute_agg_avg.py -Q 2 -# python3 ./test.py -f 2-query/distribute_agg_stddev.py -Q 2 -# python3 ./test.py -f 2-query/twa.py -Q 2 -# python3 ./test.py -f 2-query/irate.py -Q 2 -# python3 ./test.py -f 2-query/function_null.py -Q 2 -# python3 ./test.py -f 2-query/count_partition.py -Q 2 -# python3 ./test.py -f 2-query/max_partition.py -Q 2 -# python3 ./test.py -f 2-query/last_row.py -Q 2 -# python3 ./test.py -f 2-query/tsbsQuery.py -Q 2 -# #------------querPolicy 3----------- - -# python3 ./test.py -f 2-query/between.py -Q 3 -# python3 ./test.py -f 2-query/distinct.py -Q 3 -# python3 ./test.py -f 2-query/varchar.py -Q 3 -# python3 ./test.py -f 2-query/ltrim.py -Q 3 -# python3 ./test.py -f 2-query/rtrim.py -Q 3 -# python3 ./test.py -f 2-query/length.py -Q 3 -# python3 ./test.py -f 2-query/char_length.py -Q 3 -# python3 ./test.py -f 2-query/upper.py -Q 3 -# python3 ./test.py -f 2-query/lower.py -Q 3 -# python3 ./test.py -f 2-query/join.py -Q 3 -# python3 ./test.py -f 2-query/join2.py -Q 3 -# python3 ./test.py -f 2-query/cast.py -Q 3 -# python3 ./test.py -f 2-query/substr.py -Q 3 -# python3 ./test.py -f 2-query/union.py -Q 3 -# python3 ./test.py -f 2-query/union1.py -Q 3 -# python3 ./test.py -f 2-query/concat.py -Q 3 -# python3 ./test.py -f 2-query/concat2.py -Q 3 -# python3 ./test.py -f 2-query/concat_ws.py -Q 3 -# python3 ./test.py -f 2-query/concat_ws2.py -Q 3 -# #python3 ./test.py -f 2-query/check_tsdb.py -Q 3 -# python3 ./test.py -f 2-query/spread.py -Q 3 -# python3 ./test.py -f 2-query/hyperloglog.py -Q 3 -# python3 ./test.py -f 2-query/explain.py -Q 3 -# python3 ./test.py -f 2-query/leastsquares.py -Q 3 -# python3 ./test.py -f 2-query/timezone.py -Q 3 -# python3 ./test.py -f 2-query/Now.py -Q 3 -# python3 ./test.py -f 2-query/Today.py -Q 3 -# python3 ./test.py -f 2-query/max.py -Q 3 -# python3 ./test.py -f 2-query/min.py -Q 3 -# python3 ./test.py -f 2-query/count.py -Q 3 -# #python3 ./test.py -f 2-query/last.py -Q 3 -# python3 ./test.py -f 2-query/first.py -Q 3 -# python3 ./test.py -f 2-query/To_iso8601.py -Q 3 -# python3 ./test.py -f 2-query/To_unixtimestamp.py -Q 3 -# python3 ./test.py -f 2-query/timetruncate.py -Q 3 -# python3 ./test.py -f 2-query/diff.py -Q 3 -# python3 ./test.py -f 2-query/Timediff.py -Q 3 -# python3 ./test.py -f 2-query/json_tag.py -Q 3 -# python3 ./test.py -f 2-query/top.py -Q 3 -# python3 ./test.py -f 2-query/bottom.py -Q 3 -# python3 ./test.py -f 2-query/percentile.py -Q 3 -# python3 ./test.py -f 2-query/apercentile.py -Q 3 -# python3 ./test.py -f 2-query/abs.py -Q 3 -# python3 ./test.py -f 2-query/ceil.py -Q 3 -# python3 ./test.py -f 2-query/floor.py -Q 3 -# python3 ./test.py -f 2-query/round.py -Q 3 -# python3 ./test.py -f 2-query/log.py -Q 3 -# python3 ./test.py -f 2-query/pow.py -Q 3 -# python3 ./test.py -f 2-query/sqrt.py -Q 3 -# python3 ./test.py -f 2-query/sin.py -Q 3 -# python3 ./test.py -f 2-query/cos.py -Q 3 -# python3 ./test.py -f 2-query/tan.py -Q 3 -# python3 ./test.py -f 2-query/arcsin.py -Q 3 -# python3 ./test.py -f 2-query/arccos.py -Q 3 -# python3 ./test.py -f 2-query/arctan.py -Q 3 -# python3 ./test.py -f 2-query/query_cols_tags_and_or.py -Q 3 -# # python3 ./test.py -f 2-query/nestedQuery.py -Q 3 -# # python3 ./test.py -f 2-query/nestedQuery_str.py -Q 3 -# # python3 ./test.py -f 2-query/avg.py -Q 3 -# # python3 ./test.py -f 2-query/elapsed.py -Q 3 -# python3 ./test.py -f 2-query/csum.py -Q 3 -# #python3 ./test.py -f 2-query/mavg.py -Q 3 -# python3 ./test.py -f 2-query/sample.py -Q 3 -# python3 ./test.py -f 2-query/function_diff.py -Q 3 -# python3 ./test.py -f 2-query/unique.py -Q 3 -# python3 ./test.py -f 2-query/stateduration.py -Q 3 -# python3 ./test.py -f 2-query/function_stateduration.py -Q 3 -# python3 ./test.py -f 2-query/statecount.py -Q 3 -# python3 ./test.py -f 2-query/tail.py -Q 3 -# python3 ./test.py -f 2-query/ttl_comment.py -Q 3 -# python3 ./test.py -f 2-query/distribute_agg_count.py -Q 3 -# python3 ./test.py -f 2-query/distribute_agg_max.py -Q 3 -# python3 ./test.py -f 2-query/distribute_agg_min.py -Q 3 -# python3 ./test.py -f 2-query/distribute_agg_sum.py -Q 3 -# python3 ./test.py -f 2-query/distribute_agg_spread.py -Q 3 -# python3 ./test.py -f 2-query/distribute_agg_apercentile.py -Q 3 -# python3 ./test.py -f 2-query/distribute_agg_avg.py -Q 3 -# python3 ./test.py -f 2-query/distribute_agg_stddev.py -Q 3 -# python3 ./test.py -f 2-query/twa.py -Q 3 -# python3 ./test.py -f 2-query/irate.py -Q 3 -# python3 ./test.py -f 2-query/function_null.py -Q 3 -# python3 ./test.py -f 2-query/count_partition.py -Q 3 -# python3 ./test.py -f 2-query/max_partition.py -Q 3 -# python3 ./test.py -f 2-query/last_row.py -Q 3 -# python3 ./test.py -f 2-query/tsbsQuery.py -Q 3 -# python3 ./test.py -f 2-query/sml.py -Q 3 -# python3 ./test.py -f 2-query/interp.py -Q 3 - - -# #------------querPolicy 4----------- - -# python3 ./test.py -f 2-query/between.py -Q 4 -# python3 ./test.py -f 2-query/distinct.py -Q 4 -# python3 ./test.py -f 2-query/varchar.py -Q 4 -# python3 ./test.py -f 2-query/ltrim.py -Q 4 -# python3 ./test.py -f 2-query/rtrim.py -Q 4 -# python3 ./test.py -f 2-query/length.py -Q 4 -# python3 ./test.py -f 2-query/char_length.py -Q 4 -# python3 ./test.py -f 2-query/upper.py -Q 4 -# python3 ./test.py -f 2-query/lower.py -Q 4 -# python3 ./test.py -f 2-query/join.py -Q 4 -# python3 ./test.py -f 2-query/join2.py -Q 4 -# python3 ./test.py -f 2-query/cast.py -Q 4 -# python3 ./test.py -f 2-query/substr.py -Q 4 -# python3 ./test.py -f 2-query/union.py -Q 4 -# python3 ./test.py -f 2-query/union1.py -Q 4 -# python3 ./test.py -f 2-query/concat.py -Q 4 -# python3 ./test.py -f 2-query/concat2.py -Q 4 -# python3 ./test.py -f 2-query/concat_ws.py -Q 4 -# python3 ./test.py -f 2-query/concat_ws2.py -Q 4 -# #python3 ./test.py -f 2-query/check_tsdb.py -Q 4 -# python3 ./test.py -f 2-query/spread.py -Q 4 -# python3 ./test.py -f 2-query/hyperloglog.py -Q 4 -# python3 ./test.py -f 2-query/explain.py -Q 4 -# python3 ./test.py -f 2-query/leastsquares.py -Q 4 -# python3 ./test.py -f 2-query/timezone.py -Q 4 -# python3 ./test.py -f 2-query/Now.py -Q 4 -# python3 ./test.py -f 2-query/Today.py -Q 4 -# python3 ./test.py -f 2-query/max.py -Q 4 -# python3 ./test.py -f 2-query/min.py -Q 4 -# python3 ./test.py -f 2-query/count.py -Q 4 -# #python3 ./test.py -f 2-query/last.py -Q 4 -# python3 ./test.py -f 2-query/first.py -Q 4 -# python3 ./test.py -f 2-query/To_iso8601.py -Q 4 -# python3 ./test.py -f 2-query/To_unixtimestamp.py -Q 4 -# python3 ./test.py -f 2-query/timetruncate.py -Q 4 -# python3 ./test.py -f 2-query/diff.py -Q 4 -# python3 ./test.py -f 2-query/Timediff.py -Q 4 -# python3 ./test.py -f 2-query/json_tag.py -Q 4 -# python3 ./test.py -f 2-query/top.py -Q 4 -# python3 ./test.py -f 2-query/bottom.py -Q 4 -# python3 ./test.py -f 2-query/percentile.py -Q 4 -# python3 ./test.py -f 2-query/apercentile.py -Q 4 -# python3 ./test.py -f 2-query/abs.py -Q 4 -# python3 ./test.py -f 2-query/ceil.py -Q 4 -# python3 ./test.py -f 2-query/floor.py -Q 4 -# python3 ./test.py -f 2-query/round.py -Q 4 -# python3 ./test.py -f 2-query/log.py -Q 4 -# python3 ./test.py -f 2-query/pow.py -Q 4 -# python3 ./test.py -f 2-query/sqrt.py -Q 4 -# python3 ./test.py -f 2-query/sin.py -Q 4 -# python3 ./test.py -f 2-query/cos.py -Q 4 -# python3 ./test.py -f 2-query/tan.py -Q 4 -# python3 ./test.py -f 2-query/arcsin.py -Q 4 -# python3 ./test.py -f 2-query/arccos.py -Q 4 -# python3 ./test.py -f 2-query/arctan.py -Q 4 -# python3 ./test.py -f 2-query/query_cols_tags_and_or.py -Q 4 -# # python3 ./test.py -f 2-query/nestedQuery.py -Q 4 -# # python3 ./test.py -f 2-query/nestedQuery_str.py -Q 4 -# # python3 ./test.py -f 2-query/avg.py -Q 4 -# # python3 ./test.py -f 2-query/elapsed.py -Q 4 -# python3 ./test.py -f 2-query/csum.py -Q 4 -# #python3 ./test.py -f 2-query/mavg.py -Q 4 -# python3 ./test.py -f 2-query/sample.py -Q 4 -# python3 ./test.py -f 2-query/function_diff.py -Q 4 -# python3 ./test.py -f 2-query/unique.py -Q 4 -# python3 ./test.py -f 2-query/stateduration.py -Q 4 -# python3 ./test.py -f 2-query/function_stateduration.py -Q 4 -# python3 ./test.py -f 2-query/statecount.py -Q 4 -# python3 ./test.py -f 2-query/tail.py -Q 4 -# python3 ./test.py -f 2-query/ttl_comment.py -Q 4 -# python3 ./test.py -f 2-query/distribute_agg_count.py -Q 4 -# python3 ./test.py -f 2-query/distribute_agg_max.py -Q 4 -# python3 ./test.py -f 2-query/distribute_agg_min.py -Q 4 -# python3 ./test.py -f 2-query/distribute_agg_sum.py -Q 4 -# python3 ./test.py -f 2-query/distribute_agg_spread.py -Q 4 -# python3 ./test.py -f 2-query/distribute_agg_apercentile.py -Q 4 -# python3 ./test.py -f 2-query/distribute_agg_avg.py -Q 4 -# python3 ./test.py -f 2-query/distribute_agg_stddev.py -Q 4 -# python3 ./test.py -f 2-query/twa.py -Q 4 -# python3 ./test.py -f 2-query/irate.py -Q 4 -# python3 ./test.py -f 2-query/function_null.py -Q 4 -# python3 ./test.py -f 2-query/count_partition.py -Q 4 -# python3 ./test.py -f 2-query/max_partition.py -Q 4 -# python3 ./test.py -f 2-query/last_row.py -Q 4 -# python3 ./test.py -f 2-query/tsbsQuery.py -Q 4 -# #python3 ./test.py -f 2-query/sml.py -Q 4 -# python3 ./test.py -f 2-query/interp.py -Q 4 +#------------querPolicy 4----------- +python3 ./test.py -f 2-query/between.py -Q 4 +python3 ./test.py -f 2-query/distinct.py -Q 4 +python3 ./test.py -f 2-query/varchar.py -Q 4 +python3 ./test.py -f 2-query/ltrim.py -Q 4 +python3 ./test.py -f 2-query/rtrim.py -Q 4 +python3 ./test.py -f 2-query/length.py -Q 4 +python3 ./test.py -f 2-query/char_length.py -Q 4 +python3 ./test.py -f 2-query/upper.py -Q 4 +python3 ./test.py -f 2-query/lower.py -Q 4 +python3 ./test.py -f 2-query/join.py -Q 4 +python3 ./test.py -f 2-query/join2.py -Q 4 +python3 ./test.py -f 2-query/cast.py -Q 4 +python3 ./test.py -f 2-query/substr.py -Q 4 +python3 ./test.py -f 2-query/union.py -Q 4 +python3 ./test.py -f 2-query/union1.py -Q 4 +python3 ./test.py -f 2-query/concat.py -Q 4 +python3 ./test.py -f 2-query/concat2.py -Q 4 +python3 ./test.py -f 2-query/concat_ws.py -Q 4 +python3 ./test.py -f 2-query/concat_ws2.py -Q 4 +#python3 ./test.py -f 2-query/check_tsdb.py -Q 4 +python3 ./test.py -f 2-query/spread.py -Q 4 +python3 ./test.py -f 2-query/hyperloglog.py -Q 4 +python3 ./test.py -f 2-query/explain.py -Q 4 +python3 ./test.py -f 2-query/leastsquares.py -Q 4 +python3 ./test.py -f 2-query/timezone.py -Q 4 +python3 ./test.py -f 2-query/Now.py -Q 4 +python3 ./test.py -f 2-query/Today.py -Q 4 +python3 ./test.py -f 2-query/max.py -Q 4 +python3 ./test.py -f 2-query/min.py -Q 4 +python3 ./test.py -f 2-query/count.py -Q 4 +#python3 ./test.py -f 2-query/last.py -Q 4 +python3 ./test.py -f 2-query/first.py -Q 4 +python3 ./test.py -f 2-query/To_iso8601.py -Q 4 +python3 ./test.py -f 2-query/To_unixtimestamp.py -Q 4 +python3 ./test.py -f 2-query/timetruncate.py -Q 4 +python3 ./test.py -f 2-query/diff.py -Q 4 +python3 ./test.py -f 2-query/Timediff.py -Q 4 +python3 ./test.py -f 2-query/json_tag.py -Q 4 +python3 ./test.py -f 2-query/top.py -Q 4 +python3 ./test.py -f 2-query/bottom.py -Q 4 +python3 ./test.py -f 2-query/percentile.py -Q 4 +python3 ./test.py -f 2-query/apercentile.py -Q 4 +python3 ./test.py -f 2-query/abs.py -Q 4 +python3 ./test.py -f 2-query/ceil.py -Q 4 +python3 ./test.py -f 2-query/floor.py -Q 4 +python3 ./test.py -f 2-query/round.py -Q 4 +python3 ./test.py -f 2-query/log.py -Q 4 +python3 ./test.py -f 2-query/pow.py -Q 4 +python3 ./test.py -f 2-query/sqrt.py -Q 4 +python3 ./test.py -f 2-query/sin.py -Q 4 +python3 ./test.py -f 2-query/cos.py -Q 4 +python3 ./test.py -f 2-query/tan.py -Q 4 +python3 ./test.py -f 2-query/arcsin.py -Q 4 +python3 ./test.py -f 2-query/arccos.py -Q 4 +python3 ./test.py -f 2-query/arctan.py -Q 4 +python3 ./test.py -f 2-query/query_cols_tags_and_or.py -Q 4 +# python3 ./test.py -f 2-query/nestedQuery.py -Q 4 +# python3 ./test.py -f 2-query/nestedQuery_str.py -Q 4 +# python3 ./test.py -f 2-query/avg.py -Q 4 +# python3 ./test.py -f 2-query/elapsed.py -Q 4 +python3 ./test.py -f 2-query/csum.py -Q 4 +#python3 ./test.py -f 2-query/mavg.py -Q 4 +python3 ./test.py -f 2-query/sample.py -Q 4 +python3 ./test.py -f 2-query/function_diff.py -Q 4 +python3 ./test.py -f 2-query/unique.py -Q 4 +python3 ./test.py -f 2-query/stateduration.py -Q 4 +python3 ./test.py -f 2-query/function_stateduration.py -Q 4 +python3 ./test.py -f 2-query/statecount.py -Q 4 +python3 ./test.py -f 2-query/tail.py -Q 4 +python3 ./test.py -f 2-query/ttl_comment.py -Q 4 +python3 ./test.py -f 2-query/distribute_agg_count.py -Q 4 +python3 ./test.py -f 2-query/distribute_agg_max.py -Q 4 +python3 ./test.py -f 2-query/distribute_agg_min.py -Q 4 +python3 ./test.py -f 2-query/distribute_agg_sum.py -Q 4 +python3 ./test.py -f 2-query/distribute_agg_spread.py -Q 4 +python3 ./test.py -f 2-query/distribute_agg_apercentile.py -Q 4 +python3 ./test.py -f 2-query/distribute_agg_avg.py -Q 4 +python3 ./test.py -f 2-query/distribute_agg_stddev.py -Q 4 +python3 ./test.py -f 2-query/twa.py -Q 4 +python3 ./test.py -f 2-query/irate.py -Q 4 +python3 ./test.py -f 2-query/function_null.py -Q 4 +python3 ./test.py -f 2-query/count_partition.py -Q 4 +python3 ./test.py -f 2-query/max_partition.py -Q 4 +python3 ./test.py -f 2-query/last_row.py -Q 4 +python3 ./test.py -f 2-query/tsbsQuery.py -Q 4 +#python3 ./test.py -f 2-query/sml.py -Q 4 +python3 ./test.py -f 2-query/interp.py -Q 4 From 94e83965c2b9e7f37f29450463d92edacb966c17 Mon Sep 17 00:00:00 2001 From: haoranchen Date: Fri, 21 Oct 2022 18:15:44 +0800 Subject: [PATCH 30/33] Update fulltest.sh --- tests/system-test/fulltest.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/system-test/fulltest.sh b/tests/system-test/fulltest.sh index a89b41cac6..3d6c2ecb94 100644 --- a/tests/system-test/fulltest.sh +++ b/tests/system-test/fulltest.sh @@ -610,3 +610,4 @@ python3 ./test.py -f 2-query/last_row.py -Q 4 python3 ./test.py -f 2-query/tsbsQuery.py -Q 4 #python3 ./test.py -f 2-query/sml.py -Q 4 python3 ./test.py -f 2-query/interp.py -Q 4 + From 9c9dddce70558f1bdeedb7b50274c2679c69a74e Mon Sep 17 00:00:00 2001 From: haoranchen Date: Fri, 21 Oct 2022 18:16:25 +0800 Subject: [PATCH 31/33] Update run_case.sh --- tests/parallel_test/run_case.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/parallel_test/run_case.sh b/tests/parallel_test/run_case.sh index 0519900a68..e0b905375a 100755 --- a/tests/parallel_test/run_case.sh +++ b/tests/parallel_test/run_case.sh @@ -81,5 +81,3 @@ fi exit $RET - - From e7014c3e89f6383f1dc8bdcda28185d061dc50c8 Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Fri, 21 Oct 2022 18:20:08 +0800 Subject: [PATCH 32/33] rm invalid read --- source/libs/transport/src/trans.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/libs/transport/src/trans.c b/source/libs/transport/src/trans.c index c82af0d0e9..3ef388c0a6 100644 --- a/source/libs/transport/src/trans.c +++ b/source/libs/transport/src/trans.c @@ -43,7 +43,7 @@ void* rpcOpen(const SRpcInit* pInit) { return NULL; } if (pInit->label) { - tstrncpy(pRpc->label, pInit->label, TSDB_LABEL_LEN); + tstrncpy(pRpc->label, pInit->label, sizeof(pRpc->label)); } pRpc->compressSize = pInit->compressSize; @@ -79,7 +79,7 @@ void* rpcOpen(const SRpcInit* pInit) { } pRpc->parent = pInit->parent; if (pInit->user) { - memcpy(pRpc->user, pInit->user, strlen(pInit->user)); + tstrncpy(pRpc->user, pInit->user, sizeof(pRpc->user)); } int64_t refId = transAddExHandle(transGetInstMgt(), pRpc); @@ -91,7 +91,7 @@ void rpcClose(void* arg) { tInfo("start to close rpc"); transRemoveExHandle(transGetInstMgt(), (int64_t)arg); transReleaseExHandle(transGetInstMgt(), (int64_t)arg); - tInfo("rpc is closed"); + tInfo("end to close rpc"); return; } void rpcCloseImpl(void* arg) { From b9597470675840d882962ccaa3651d2808a08672 Mon Sep 17 00:00:00 2001 From: haoranchen Date: Fri, 21 Oct 2022 18:43:25 +0800 Subject: [PATCH 33/33] Update fulltest.sh --- tests/system-test/fulltest.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/system-test/fulltest.sh b/tests/system-test/fulltest.sh index 3d6c2ecb94..a89b41cac6 100644 --- a/tests/system-test/fulltest.sh +++ b/tests/system-test/fulltest.sh @@ -610,4 +610,3 @@ python3 ./test.py -f 2-query/last_row.py -Q 4 python3 ./test.py -f 2-query/tsbsQuery.py -Q 4 #python3 ./test.py -f 2-query/sml.py -Q 4 python3 ./test.py -f 2-query/interp.py -Q 4 -