Commit graph

1595 commits

Author SHA1 Message Date
chenhaoran
eba17e7061 fix(build): disable BUILD_CONTRIB option in container build scripts 2025-07-10 10:20:36 +08:00
dapan1121
3341e4994c fix: cases failed 2025-07-09 15:25:01 +08:00
Alex Duan
4bc58eda0b fix: delete stream_function_test.py case and remove stream function from benchMark 2025-07-08 17:55:27 +08:00
Alex Duan
62aa0a174f fix: delete stream-test.py case 2025-07-08 17:31:05 +08:00
dapan1121
2b6a1a66c3 fix: remove failed cases 2025-07-08 17:17:12 +08:00
chenhaoran
765512653a fix(build): add BUILD_CONTRIB option to cmake commands 2025-07-08 11:21:46 +08:00
Simon Guan
fc2fec02c7
merge: from main to 3.0 branch (#31562) 2025-07-03 09:15:59 +08:00
Simon Guan
9923aedcb6 Merge branch 'main' into merge/mainto3.0 2025-06-20 14:48:16 +08:00
haoranchen
3bac38cbe0
feat: update database creation to keep data for 36500 days in various test cases (#31422) 2025-06-19 21:09:53 +08:00
kevin men
b9d95995af
docs: update python websocket connector version (#31328) 2025-06-17 21:28:20 +08:00
chenhaoran
201d91523e fix: update container build script to include branch option for taosadapter 2025-06-17 10:41:35 +08:00
Simon Guan
2838d2f063 Merge branch '3.0' into merge/mainto3.0 2025-06-14 10:41:12 +08:00
Simon Guan
f691365426 Merge branch 'main' into merge/mainto3.0 2025-06-14 10:32:34 +08:00
haoranchen
708a393a75
Update cases.task (#31223) 2025-06-10 16:15:19 +08:00
Zhixiao Bao
41ae942dbb
feat: use csv reader to parse csv file. (#31238) 2025-06-03 17:44:10 +08:00
kevin men
a4a1fca17a
docs: add python stmt2 websocket docs (#31193)
* docs: add python stmt2 websocket docs

* docs: modify the documentation format of the stmt2 interface

* docs: add stmt2 example run command

* docs: modify stmt2 example error

* docs: modify python connector dependent version

* docs: add stmt2 example log

* docs: modify tmq example error
2025-05-26 20:17:44 +08:00
Simon Guan
556e426880 Merge branch 'main' into merge/mainto3.0 2025-05-17 12:55:32 +08:00
WANG MINGMING
40216c6143
opti(tmq): save tmq offset in vnode commit time & change log level (#30993) 2025-05-15 18:15:01 +08:00
xiao-77
69c8888e88 fix: concurrent execution compatibility test cases. 2025-05-15 10:38:10 +08:00
Zhixiao Bao
c807799d90
test: add more versions while exec compatibility.py. (#30856) 2025-05-14 17:40:02 +08:00
Simon Guan
75e2b3917f Merge branch 'main' into merge/mainto3.0 2025-05-12 11:33:33 +08:00
Haojun Liao
e439569455
test(stream): update the test cases. (#31044) 2025-05-12 11:25:07 +08:00
kevin men
9ef73dd93d
enh: improve code coverage of taos-tools (#30915)
* feat: add insert mix  test cases

* feat: add insert mix auto create table cases

* feat: delete unnecessary characters

* feat: Adjust the code structure of benchCsv

* feat: add stmt2 execInsert fail retry

* feat: modify sml auto create table params

* feat: modify bench csv case

* feat: modfiy code format

* feat: modify dmeters set drop yes

* feat: modify insert Mix config

* feat: delete unused parseLocaltimeWithDst

* feat: modify cases list error

* feat: Delete unused function in benchDataMix

* feat: modify demters check sql

* feat: modify sin mix range
2025-04-29 09:31:15 +08:00
Simon Guan
16f90d4de1 Merge branch 'main' into merge/mainto3.0 2025-04-27 19:16:46 +08:00
Jing Sima
227c4c81d5
fix: [TD-34638] Fix schema is old error in vtable queries. (#30891) 2025-04-27 16:06:52 +08:00
haoranchen
292b1fdd93
fix: delete view case in cases_tdengine.task 2025-04-27 10:41:26 +08:00
kevin men
c2116c7752
fix: tag data from a CSV file cause core dump (#30855)
* fix: tag data from a CSV file, a core dump occurred.

* fix: add auto create table case

* fix: modfify auto create table case

* fix: modfify auto create table json

* fix: modify stmt2 automatic table creation tag binding
2025-04-25 09:09:36 +08:00
WANG MINGMING
ddd32e23d9
fix(tmq): init tmq handle error if snapshotVer is out of range (#30859) 2025-04-24 09:50:51 +08:00
Simon Guan
e8dd9daf11 Merge branch 'main' into merge/mainto3.0 2025-04-19 14:33:11 +08:00
freemine
6267763e85
Freemine.cmake.3.0 (#30663)
* chore(ci): with cmake verbose, temporarily

* chore(cmake): prefer Threads::Threads

* fix(cmake): debug building gtest on ubuntu 20.04 for the moment

* fix(cmake): try adding Threads::Threads

* fix(cmake): debug building gtest on ubuntu 20.04 for the moment

* fix(cmake): revert taosd-ci-build.yml

* fix(cmake): debug building on ubuntu 20.04 for the moment

* fix(cmake): debug building on ubuntu 20.04 for the moment

* fix(cmake): debug building on ubuntu 20.04 for the moment, adding dl right after DEP_ext_libuv

* fix(cmake): debug building on ubuntu 20.04 for the moment, try full run

* fix(cmake): fix building on ubuntu 20.04

* fix(cmake): dl is only valid in non-windows platform

* fix(cmake): dl order

* refactor(cmake): adjust option/cache variables for external dependencies

* refactor(cmake): mv patch files from contrib/ to cmake/

* refactor(cmake): typo

* refactor(cmake): adding cache on ci

* refactor(cmake):
1. ext_lzma2 is only used by Linux
2. fix bug in taosd-ci-build.yml

* enh: adding functionalities of build.sh

* fix(ci): `cmake -B` shall maintain consistency

* refactor(cmake): LOCAL_REPO/LOCAL_URL as cache variable

* refactor(cmake): taosadapter to be built in main build directory rather than .externals

* refactor(cmake): adding rpath for taosadapter, linux now

* refactor(cmake): adding rpath for taosadapter, macos now

* chore(cmake): remove some comments

* debug(ci): bypass TD_EXTERNALS_USE_ONLY

* debug(ci): bypass .externals caching for the moment

* fix(cmake): temporarily use taosadapter/main branch because this branch(freemine.cmake.3.0) has not include taos_fetch_fields_e from upstream

* refactor(cmake): clean GIT_TAG/GIT_SHALLOW pairs

* enh(ci): use build.sh rather than hard-coded in taosd-ci-build.yml, linux for now

* debug(ci): undefined __isoc23_strtoull

* debug(ci): benchmarkTest

* debug(ci): what if use_only = off

* debug(ci): remove .externals to make a refresh build

* debug(ci): back to cache, and ls files of gtest

* debug(ci): remove find coz {} not escaped

* debug(ci): cache key seems missing "matrix.os"

* refactor(ci): fixed cache key and reopen macos/windows

* chore(ci): literally -j4

* chore(ci): Trigger GitHub Actions re-run

* chore(ci): Trigger GitHub Actions re-run

* fix(ci): typo

* chore(ci): JOBS calculated by build.sh itself

* refactor(ci): enable WEBSOCKET in build.sh by default

* refactor(ci): enable WEBSOCKET in build.sh by default, macOS

* chore(cmake): remove obsoletes

* refactor(ci): stop service before running taosd

* chore(ci): `./build.sh install` just install TDengine, you will have to start taosd by `./build.sh start`

* refactor(cmake): adding source code found on http://emfisis.physics.uiowa.edu/Software/C/libargp/

* refactor(cmake): moving jansson/snappy/avro to .externals, and porting BUILD_TEST/WEBSOCKET on Windows

* refactor(cmake): porting linux

* refactor(cmake): porting macos
1. check argp.h
2. re-enable building taosdump

* refactor(cmake): porting linux
1. adjust CMAKE_C/CXX_FLAGS

* refactor(cmake): porting windows, adjust CMAKE_C/CXX_FLAGS

* refactor(cmake): use cmake_parse_arguments in macro INIT_EXT

* refactor(cmake): format ci cache directives

* refactor(cmake): adding comments for ci externals-cache directives

* refactor(cmake): adding check_env.cmake to checking libraries installed on the system

* refactor(cmake): porting linux, make homebrew-installed-libs available

* refactor(cmake): remove BYPRODUCTS from INIT_EXT macro

* refactor(cmake): INC_DIR is oneValueArg

* refactor(cmake): taosdump depends on ext_xz(LZMA)

* refactor(cmake): add copy_pthreadVC3 target on windows

* refactor(cmake): mv taosd-ci-build.yml to tdengine-build.yml

* chore(ci): try to fix yml syntax error

* refactor(cmake): use brew --prefix to get HomeBrew's install path

* refactor(cmake): typo

* debug(ci): build and cache externals first

* debug(ci): adding -Wno-stringop-overread for the moment

* debug(ci): make Threads::Threads public from os target

* debug(ci): make os public

* debug(ci): re-enable start and test

* debug(ci): let it go even if taosBenchmark failed

* debug(ci): copy logic from TDengine/main

* debug(ci): try ./build.sh start/test

* debug(ci): revert to original simple test logic in ci, taosBenchark/taos

* chore(cmake): code-convention and ci-logic

* debug(ci): show versions

* debug(ci): forcefully use specific GIT_TAG by commit-id for taos-connector-rust.git and taosadapter.git

* refactor(cmake): remove empty lines

* debug(ci): typo

* debug(ci): set supportVnodes to 256 before starting taosd

* debug(ci): fix: sudo and pipe

* debug(ci): cat /etc/taos/taos.cfg to check if supportVnodes effective

* debug(ci): cat forceReadConfig to taos.cfg

* debug(ci): adding taos -s "show dnodes"

* debug(ci): print more info

* debug(ci):
1. git log .... in an independant step
2. sleep 3 deliberately

* build: release ver-3.3.6.0

* chore(ci): comment and remove unnecessary code

* refactor(ci): cleanup tools/CMakeLists.txt
1. remove unnecessary or uneffective codes
2. better approach to pass compile flags to go

* chore(cmake): remove unnecessary code

* merge(cmake): porting linux

* merge(cmake): porting macOS

* merge(cmake): porting windows

* merge(cmake): pitfall fix: use literal format string instead

* merge(cmake): ver-3.3.6.0 for both taosadatper and taosws

* merge(cmake): adjust ci for debug purposes

* merge(cmake): add dependenices to make sure native built

* merge(main): link os

* merge(main): revert to main

* chore(cmake): remove freemine'd comments

* chore(cmake): make github ci to run with empty change

* refactor(cmake): remove unnecessaries

* refactor(cmake): remove unnecessaries

* chore(cmake):
1. remove taosudf in build.sh::do_purge
2. packaging taosBenchmark

* chore(cmake):
1. typo corrections
2. add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to bypass compatibility check imposed by latest cmake since 4.0

* chore(cmake): show cmake version

* chore(cmake): add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to bypass compatibility check imposed by latest cmake since 4.0

* chore(cmake): typo

* chore(cmake): remove unnecessaries

* cmake: debug enterprise compilation

* refactor: preparatory work before merging the freemin PR

* refactor(cmake): revert to d91205594a

* refactor(cmake): optimize by adjusting cache key

* chore(cmake): make github ci to run with empty change

* refactor(cmake): move libs3 and azure to external.cmake

* refactor(cmake): porting macOS

* refactor(cmake): move cos to external.cmake

* refactor(cmake): bypass s3/azure/cos on windows for the moment

* refactor(cmake): try find_package(Threads)

* refactor(cmake): add dl/pthread in libs3

* refactor(cmake): enable s3/azure for the moment, hard-coded

* refactor(cmake): adjust BUILD_WITH_ANALYSIS option

* refactor(cmake):
1. enum AVROTYPE => enum enAVROTYPE
2. remove INSTALL(CODE ...) from tools/taos-tools/CMakeLists.txt

* refactor(cmake): portint macOS and typo

* refactor(cmake): ticking external cache key to force refresh external building

* refactor(cmake): remove obsoletes

* refactor(cmake): remove obsoletes

* refactor(cmake): remove obsoletes, contrib/deps-download related

* refactor(cmake): adding build.bat, and use build.bat in .github/workflows/tdengine-build.yml

* refactor(cmake):
1. call .\build.bat
2. remove POST_BUILD which is not valid in this signature of add_custom_command

* refactor(ci): use 'NMake Makefiles JOM'

* refactor(ci): typo

* refactor(ci): debug

* refactor(ci): debug

* refactor(ci): debug

* refactor(ci): use call on windows

* refactor(cmake): move utils/TSZ to contrib/TSZ

* chore(cmake): make github ci to run with empty change

* refactor(cmake): mv cmake.* -> *.cmake and related in CMakeLists.txt

* refactor(cmake): debugging integrating community

* refactor(cmake): debugging integrating community

* chore(cmake): make github ci to run with empty change

* refactor(cmake): revert geos.git back to 3.12.0

* refactor(cmake): revert doc/** to main branch

* refactor(cmake): revert tests/** to main branch, except tests/taosc_test/CMakeLists.txt

* refactor(cmake): revert test/cases/** to main branch

* refactor(cmake): revert test/docs/** to main branch

* refactor(cmake): revert tools/taos-tools/deps/{avro,jansson,libargp,snappy,zlib-1.2.13} to main branch, which need to be removed later

* refactor(ci): revert .github/workflows/{deploy-case-docs.yml,tdengine-doc-build.yml} to main branch

* refactor(cmake): revert tcommon.h and related to main branch

* refactor(cmake): revert test/* stuffs back to main branch

* refactor(cmake): revert libuv.git back to v1.49.2

* refactor(cmake): revert .h/.c and related to main branch

* refactor(cmake): typo format string

* refactor(cmake): typo correction, incorrect use of macro `assert`

* refactor(cmake): adding /wd4028 to bypass thttp.c under enterprise build for the moment

* refactor(cmake):
1. adding some rules to .gitignore for the last resort to save
2. adding source files manually to source/libs/parser/CMakeLists.txt to exclude potential sql.c generated by old build system

* refactor(cmake): add -Wno-unused-result for the moment

* refactor(cmake): adjust target dependencies

* refactor(cmake): tweaking building of mxml

* refactor(cmake): adjust externals CMAKE_ARGS to save compilation time

* refactor(cmake): temporarily use tomchon-patch-3

* refactor(cmake): temporarily adding dumpbin directives

* refactor(cmake): adding NODEFAULTLIB temporarily for debugging purpose

* refactor(cmake): adding NODEFAULTLIB:libcpmt temporarily for debugging purpose

* refactor(cmake): adding NODEFAULTLIB:cpmt temporarily for debugging purpose

* chore(cmake): make github ci to run with empty change

* chore(cmake): make github ci to run with empty change

* refactor(ci): use freemine.debug branch for the moment

* refactor(ci): revert back to use run-tests-on-windows.yml of tomchon-patch-3 branch

* chore(cmake): make github ci to run with empty change

* refactor(cmake): remove temporary debug directives

* refactor(cmake): move cmake_policy(..CMP0135..) to the root of this project

* refactor(cmake): Remove temporary debugging conditional and restore original logic

* chore(cmake): adding -B in army tests

* chore(cmake): make github ci to run with empty change

* chore(cmake): revert: adding -B in army tests

* refactor(cmake):
1. use ver-3.3.6.3 of taosadapter
2. pitfall fix: do not link with taosws for taos shell

* refactor(cmake): revert taosadapter to ver-3.3.6.0

* chore(cmake): adding logging message in more detail

* chore(cmake): adding logging message in more detail

* chore(ci): debugging by using ls -l

* chore(ci): typo

* chore(ci): typo

* refactor(cmake): revert to remove debug code, and taosadapter to ver-3.3.6.3

* refactor(cmake): remove DEP_ext_taosws

* chore(cmake): make github ci to run with empty change

* chore(cmake): make github ci to run with empty change

* chore(cmake): make github ci to run with empty change

* chore(cmake): make github ci to run with empty change

* chore(cmake): typo correction: utils/test/c/sml_test.c

* debug(cmake): test cases debug

* chore(cmake): make github ci to run with empty change

* chore(ci): using tomchon-patch-3 branch for run-tests-on-linux for the moment

* chore(cmake): make github ci to run with empty change

* debug(test): revert utils/test/c/sml_test.c back to tdengine/main branch

* debug(test): adding VERBOSE=1 and gcc --version

* debug(test): revert tests/parallel_test/cases.task back to tdengine/main branch

* debug: add log in run_case.sh

* fix: test log

* fix: docker run privileged

* tes: add debug test in  cases.task

* refactor(cmake): remove ref to \contrib\<dep-name> and ~/.cos-local-{1,2} from CMakeLists.txt(s)

* refactor(cmake): make taosudf link with libtaos.so

* chore(cmake): fix compiler warning as error problem

* refactor(cmake): revert 7d7f03832d

* chore(cmake): only udf.sim and udfpy.sim for the moment

* debug(ci): debug udf.sim for the moment

* debug(ci): debug udf.sim for the moment

* debug(ci): debug udf.sim for the moment

* debug(ci): debug only udf.sim for the moment

* debug(ci): debug only udf.sim for the moment, using tee

* debug(ci): debug only udf.sim for the moment, revert using tee

* debug(ci): debug only udf.sim for the moment, adding TAOS_LIB again

* debug(cmake): adding -rdynamic for the moment

* debug(cmake): re-adding udfpy.sim

* debug(cmake): do NOT run with Sanitizer for udfpy.sim for the moment

* chore(cmake): revert cases.task, and remove ubuntu-20.04 from tdengine-build.yml

* refactor(cmake): using ENABLE_EXPORTS to export symbols in taosudf

* chore(cmake): make github ci to run with empty change

* chore(cmake): remove stuffs for debug purpose and revert

---------

Co-authored-by: support-platform <it@taosdata.com>
Co-authored-by: Simon Guan <slguan@taosdata.com>
Co-authored-by: Simon Guan <guanshengliang@qq.com>
Co-authored-by: haoranchen <haoran920c@163.com>
2025-04-19 14:03:29 +08:00
Alex Duan
b6a63a76f5
merge: taos-tools and case 3.0 to main branch (#30802)
* merge: taos-tools and case 3.0 to main branch

* add -s option and modify concurrent name to threads
2025-04-17 15:29:23 +08:00
Simon Guan
c20cc9a229 Merge branch '3.0' into merge/mainto3.0 2025-04-16 19:34:22 +08:00
Simon Guan
888fed8699 Merge branch 'main' into merge/mainto3.0 2025-04-16 19:34:20 +08:00
kevin men
55dbdb81c9
fix: json configuration not effective (#30785)
* fix: json configuration not effective

* fix: add ci cases config
2025-04-16 19:33:59 +08:00
Alex Duan
afa04f1a05
feat: taosBenchmark restore RESTFUL (3.0) (#30699)
* feat: restore restful function

* fix: add isRest function

* fix: add queryDBexecRest impl

* fix: checkArgumentValid return value

* test: restore restful test case

* test: add commandlien-sml-rest.py

* fix: solve rest host default null and user pwd default null

* fix: taosBenchmark  restful fix query with restful

* case: add compress encode level case

* fix: add benchUtil.c coverage rate

* fix: add_includedirector

* fix: ut build ok for benchmark

* fix: code 100 input incorrect

* fix: kill query loop 3 and exit

* fix: benchQuery check error rest

* fix: add taosBenchmark varbinary,geometry command line

* fix: add ut test with benchmart

* fix: ut build error

* fix: ut build error

* fix: remove rest source to end

* fix: replace postProceSql fun name to postProcessSql

* enh: strncpy replace with snprintf
2025-04-15 21:18:26 +08:00
chenhaoran
1309027dd8 enh: add default log dir when examples case failed 2025-04-15 16:03:15 +08:00
Jing Sima
82b068ef8a
feat: [TS-6333] Fix decimal attempting free on address which was not malloc()-ed. (#30764) 2025-04-15 10:58:28 +08:00
zk662144
4e908b917b add case to cases.task 2025-04-12 17:30:05 +08:00
Simon Guan
7437dd026e Merge branch '3.0' into merge/mainto3.0 2025-04-11 13:47:45 +08:00
Simon Guan
28be0d950b Merge branch 'main' into merge/mainto3.0 2025-04-11 13:40:13 +08:00
xinsheng Ren
0720737044
fxi: docker run privileged (#30704) 2025-04-11 09:14:35 +08:00
kevin men
f1b45f2298
fix: taosBenchmark online issues (#30722)
* fix: add abnormal exit logic

* fix: add interrupt exit mechanism

* fix: add insert error case

* fix: add Mac memory statistics

* fix: multi threaded table building with skip logic added

* fix: multi threaded table building increases task allocation

* fix: add csv tag file multi-threaded table creation case

* fix: add 'contrl c' to tmq and exit

* fix: add 'contrl c'  cases

* fix: add 'contrl c'  cases

* fix: add tmq cancel cases

* fix: add ci execute cases

* fix: restore mistakenly deleted files

---------

Co-authored-by: taos-support <it@taosdata.com>
2025-04-10 22:04:15 +08:00
Simon Guan
fec8c12ec9 Merge branch 'main' into merge/mainto3.0 2025-04-10 16:44:36 +08:00
WANG Xu
304cda4972
Merge pull request #30723 from taosdata/ci/add-taosa-build
ci:add taosa internal in container_build.sh
2025-04-10 11:22:12 +08:00
Simon Guan
9967f1dd4b Merge branch 'main' into merge/mainto3.0 2025-04-09 22:00:47 +08:00
Simon Guan
e6883f59d5
fix: unstable cases (#30727) 2025-04-09 22:00:24 +08:00
Simon Guan
7314c3b145 Merge branch 'main' into merge/mainto3.0 2025-04-09 19:39:57 +08:00
Zhixiao Bao
34a41bf54c
fix: crash while upgrade taosd to 3362. (#30712) 2025-04-09 18:53:47 +08:00
haoranchen
6e714cdeb2
ci:add taosa internal in container_build.sh 2025-04-09 18:29:34 +08:00
Simon Guan
cfa51e06ee Merge branch 'main' into merge/mainto3.0 2025-04-03 21:31:04 +08:00