diff --git a/Jenkinsfile b/Jenkinsfile index 9d986e742f654ca3b71a1af0cc7a629cb3eacc72..64de3d6ab167a7b738985068ae18dedeaa084c77 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -171,6 +171,7 @@ def pre_test_win(){ } } bat ''' + taskkill /f /t /im python.exe cd C:\\workspace\\TDinternal git pull @@ -180,9 +181,9 @@ def pre_test_win(){ cd debug call "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\vcvarsall.bat" amd64 cmake ../ -G "NMake Makefiles" - nmake - nmake install - xcopy /e/y/i/f C:\\workspace\\TDinternal\\debug\\build\\lib\\taos.dll C:\\Windows\\System32 + nmake || exit 8 + nmake install || exit 8 + xcopy /e/y/i/f C:\\workspace\\TDinternal\\debug\\build\\lib\\taos.dll C:\\Windows\\System32 || exit 8 cd C:\\workspace\\TDinternal\\community\\src\\connector\\python python -m pip install . @@ -466,10 +467,12 @@ pipeline { catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') { pre_test_win() + timeout(time: 20, unit: 'MINUTES'){ bat''' cd C:\\workspace\\TDinternal\\community\\tests\\pytest .\\test-all.bat Wintest ''' + } } script{ win_stop=1 diff --git a/tests/pytest/crash_gen/valgrind_taos.supp b/tests/pytest/crash_gen/valgrind_taos.supp index 6b3a04353d30b1109f40db2053d56122bd9df290..1ec87d91b9b54c35cf643962b60f7b95923b9ed3 100644 --- a/tests/pytest/crash_gen/valgrind_taos.supp +++ b/tests/pytest/crash_gen/valgrind_taos.supp @@ -18230,4 +18230,21 @@ fun:__pyx_pw_5numpy_6random_13bit_generator_12BitGenerator_1__init__ obj:/usr/bin/python3.8 obj:/usr/bin/python3.8 +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + obj:/usr/bin/python3.8 + fun:_PyObject_MakeTpCall + fun:_PyEval_EvalFrameDefault + obj:/usr/bin/python3.8 + fun:_PyObject_MakeTpCall + fun:_PyEval_EvalFrameDefault + obj:/usr/bin/python3.8 + fun:_PyEval_EvalFrameDefault + obj:/usr/bin/python3.8 + fun:_PyEval_EvalFrameDefault + fun:_PyEval_EvalCodeWithName } \ No newline at end of file