Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
loser646
TDengine
提交
9146f5fc
T
TDengine
项目概览
loser646
/
TDengine
与 Fork 源项目一致
Fork自
taosdata / TDengine
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
9146f5fc
编写于
8月 11, 2021
作者:
L
liuyq-617
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add some ci time
上级
5b0d3421
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
413 addition
and
27 deletion
+413
-27
Jenkinsfile
Jenkinsfile
+46
-26
tests/pytest/crash_gen/valgrind_taos.supp
tests/pytest/crash_gen/valgrind_taos.supp
+367
-1
未找到文件。
Jenkinsfile
浏览文件 @
9146f5fc
...
@@ -5,7 +5,8 @@ node {
...
@@ -5,7 +5,8 @@ node {
git
url:
'https://github.com/taosdata/TDengine.git'
git
url:
'https://github.com/taosdata/TDengine.git'
}
}
def
skipstage
=
0
def
skipbuild
=
0
def
abortPreviousBuilds
()
{
def
abortPreviousBuilds
()
{
def
currentJobName
=
env
.
JOB_NAME
def
currentJobName
=
env
.
JOB_NAME
...
@@ -33,8 +34,7 @@ def abort_previous(){
...
@@ -33,8 +34,7 @@ def abort_previous(){
milestone
(
buildNumber
)
milestone
(
buildNumber
)
}
}
def
pre_test
(){
def
pre_test
(){
sh
'hostname'
sh
'''
sh
'''
sudo rmtaos || echo "taosd has not installed"
sudo rmtaos || echo "taosd has not installed"
'''
'''
...
@@ -52,7 +52,13 @@ def pre_test(){
...
@@ -52,7 +52,13 @@ def pre_test(){
git checkout master
git checkout master
'''
'''
}
}
else
{
else
if
(
env
.
CHANGE_TARGET
==
'2.0'
){
sh
'''
cd ${WKC}
git checkout 2.0
'''
}
else
{
sh
'''
sh
'''
cd ${WKC}
cd ${WKC}
git checkout develop
git checkout develop
...
@@ -75,7 +81,13 @@ def pre_test(){
...
@@ -75,7 +81,13 @@ def pre_test(){
git checkout master
git checkout master
'''
'''
}
}
else
{
else
if
(
env
.
CHANGE_TARGET
==
'2.0'
){
sh
'''
cd ${WK}
git checkout 2.0
'''
}
else
{
sh
'''
sh
'''
cd ${WK}
cd ${WK}
git checkout develop
git checkout develop
...
@@ -95,7 +107,7 @@ def pre_test(){
...
@@ -95,7 +107,7 @@ def pre_test(){
make > /dev/null
make > /dev/null
make install > /dev/null
make install > /dev/null
cd ${WKC}/tests
cd ${WKC}/tests
pip3 install ${WKC}/src/connector/python
pip3 install ${WKC}/src/connector/python
/
'''
'''
return
1
return
1
}
}
...
@@ -123,19 +135,22 @@ pipeline {
...
@@ -123,19 +135,22 @@ pipeline {
rm -rf ${WORKSPACE}.tes
rm -rf ${WORKSPACE}.tes
cp -r ${WORKSPACE} ${WORKSPACE}.tes
cp -r ${WORKSPACE} ${WORKSPACE}.tes
cd ${WORKSPACE}.tes
cd ${WORKSPACE}.tes
git fetch
'''
'''
script
{
script
{
if
(
env
.
CHANGE_TARGET
==
'master'
)
{
if
(
env
.
CHANGE_TARGET
==
'master'
)
{
sh
'''
sh
'''
git checkout master
git checkout master
git pull origin master
'''
'''
}
}
else
{
else
if
(
env
.
CHANGE_TARGET
==
'2.0'
){
sh
'''
git checkout 2.0
'''
}
else
{
sh
'''
sh
'''
git checkout develop
git checkout develop
git pull origin develop
'''
'''
}
}
}
}
...
@@ -144,10 +159,13 @@ pipeline {
...
@@ -144,10 +159,13 @@ pipeline {
git checkout -qf FETCH_HEAD
git checkout -qf FETCH_HEAD
'''
'''
script
{
script
{
env
.
skipstage
=
sh
(
script:
"cd ${WORKSPACE}.tes && git --no-pager diff --name-only FETCH_HEAD ${env.CHANGE_TARGET}|grep -v -E '.*md|//src//connector|Jenkinsfile|test-all.sh' || echo 0 "
,
returnStdout:
true
)
skipbuild
=
'2'
skipbuild
=
sh
(
script:
"git log -2 --pretty=%B | fgrep -ie '[skip ci]' -e '[ci skip]' && echo 1 || echo 2"
,
returnStdout:
true
)
println
skipbuild
}
}
println
env
.
skipstage
sh
'''
sh
'''
rm -rf ${WORKSPACE}.tes
rm -rf ${WORKSPACE}.tes
'''
'''
...
@@ -157,14 +175,16 @@ pipeline {
...
@@ -157,14 +175,16 @@ pipeline {
stage
(
'Parallel test stage'
)
{
stage
(
'Parallel test stage'
)
{
//only build pr
//only build pr
when
{
when
{
allOf
{
changeRequest
()
changeRequest
()
expression
{
expression
{
env
.
skipstage
!=
0
return
skipbuild
.
trim
()
==
'2'
}
}
}
}
}
parallel
{
parallel
{
stage
(
'python_1_s1'
)
{
stage
(
'python_1_s1'
)
{
agent
{
label
'p1'
}
agent
{
label
" slave1 || slave11 "
}
steps
{
steps
{
pre_test
()
pre_test
()
...
@@ -179,7 +199,7 @@ pipeline {
...
@@ -179,7 +199,7 @@ pipeline {
}
}
}
}
stage
(
'python_2_s5'
)
{
stage
(
'python_2_s5'
)
{
agent
{
label
'p2'
}
agent
{
label
" slave5 || slave15 "
}
steps
{
steps
{
pre_test
()
pre_test
()
...
@@ -193,7 +213,7 @@ pipeline {
...
@@ -193,7 +213,7 @@ pipeline {
}
}
}
}
stage
(
'python_3_s6'
)
{
stage
(
'python_3_s6'
)
{
agent
{
label
'p3'
}
agent
{
label
" slave6 || slave16 "
}
steps
{
steps
{
timeout
(
time:
55
,
unit:
'MINUTES'
){
timeout
(
time:
55
,
unit:
'MINUTES'
){
pre_test
()
pre_test
()
...
@@ -206,7 +226,7 @@ pipeline {
...
@@ -206,7 +226,7 @@ pipeline {
}
}
}
}
stage
(
'test_b1_s2'
)
{
stage
(
'test_b1_s2'
)
{
agent
{
label
'b1'
}
agent
{
label
" slave2 || slave12 "
}
steps
{
steps
{
timeout
(
time:
55
,
unit:
'MINUTES'
){
timeout
(
time:
55
,
unit:
'MINUTES'
){
pre_test
()
pre_test
()
...
@@ -219,7 +239,7 @@ pipeline {
...
@@ -219,7 +239,7 @@ pipeline {
}
}
stage
(
'test_crash_gen_s3'
)
{
stage
(
'test_crash_gen_s3'
)
{
agent
{
label
"
b2
"
}
agent
{
label
"
slave3 || slave13
"
}
steps
{
steps
{
pre_test
()
pre_test
()
...
@@ -258,7 +278,7 @@ pipeline {
...
@@ -258,7 +278,7 @@ pipeline {
}
}
stage
(
'test_valgrind_s4'
)
{
stage
(
'test_valgrind_s4'
)
{
agent
{
label
"
b3
"
}
agent
{
label
"
slave4 || slave14
"
}
steps
{
steps
{
pre_test
()
pre_test
()
...
@@ -284,7 +304,7 @@ pipeline {
...
@@ -284,7 +304,7 @@ pipeline {
}
}
}
}
stage
(
'test_b4_s7'
)
{
stage
(
'test_b4_s7'
)
{
agent
{
label
'b4'
}
agent
{
label
" slave7 || slave17 "
}
steps
{
steps
{
timeout
(
time:
55
,
unit:
'MINUTES'
){
timeout
(
time:
55
,
unit:
'MINUTES'
){
pre_test
()
pre_test
()
...
@@ -303,7 +323,7 @@ pipeline {
...
@@ -303,7 +323,7 @@ pipeline {
}
}
}
}
stage
(
'test_b5_s8'
)
{
stage
(
'test_b5_s8'
)
{
agent
{
label
'b5'
}
agent
{
label
" slave8 || slave18 "
}
steps
{
steps
{
timeout
(
time:
55
,
unit:
'MINUTES'
){
timeout
(
time:
55
,
unit:
'MINUTES'
){
pre_test
()
pre_test
()
...
@@ -316,7 +336,7 @@ pipeline {
...
@@ -316,7 +336,7 @@ pipeline {
}
}
}
}
stage
(
'test_b6_s9'
)
{
stage
(
'test_b6_s9'
)
{
agent
{
label
'b6'
}
agent
{
label
" slave9 || slave19 "
}
steps
{
steps
{
timeout
(
time:
55
,
unit:
'MINUTES'
){
timeout
(
time:
55
,
unit:
'MINUTES'
){
pre_test
()
pre_test
()
...
@@ -329,7 +349,7 @@ pipeline {
...
@@ -329,7 +349,7 @@ pipeline {
}
}
}
}
stage
(
'test_b7_s10'
)
{
stage
(
'test_b7_s10'
)
{
agent
{
label
'b7'
}
agent
{
label
" slave10 || slave20 "
}
steps
{
steps
{
timeout
(
time:
55
,
unit:
'MINUTES'
){
timeout
(
time:
55
,
unit:
'MINUTES'
){
pre_test
()
pre_test
()
...
...
tests/pytest/crash_gen/valgrind_taos.supp
浏览文件 @
9146f5fc
...
@@ -17743,3 +17743,369 @@
...
@@ -17743,3 +17743,369 @@
fun:taosCheckGlobalCfg
fun:taosCheckGlobalCfg
fun:taos_init_imp
fun:taos_init_imp
}
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
obj:/usr/bin/python3.8
fun:PyTuple_Pack
obj:/usr/bin/python3.8
fun:PyObject_GetItem
fun:_PyEval_EvalFrameDefault
obj:/usr/bin/python3.8
fun:_PyEval_EvalFrameDefault
fun:_PyEval_EvalCodeWithName
obj:/usr/bin/python3.8
fun:_PyEval_EvalFrameDefault
fun:_PyEval_EvalCodeWithName
}
{
<insert_a_suppression_name_here>
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:_PyEval_EvalFrameDefault
obj:/usr/bin/python3.8
fun:_PyEval_EvalFrameDefault
fun:_PyEval_EvalFrameDefault
obj:/usr/bin/python3.8
fun:_PyEval_EvalFrameDefault
fun:_PyEval_EvalCodeWithName
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:PyCode_NewWithPosOnlyArgs
fun:PyCode_New
obj:/usr/local/lib/python3.8/dist-packages/pandas/_libs/tslibs/parsing.cpython-38-x86_64-linux-gnu.so
obj:/usr/local/lib/python3.8/dist-packages/pandas/_libs/tslibs/parsing.cpython-38-x86_64-linux-gnu.so
fun:PyModule_ExecDef
obj:/usr/bin/python3.8
obj:/usr/bin/python3.8
fun:PyVectorcall_Call
fun:_PyEval_EvalFrameDefault
fun:_PyEval_EvalCodeWithName
fun:_PyFunction_Vectorcall
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
obj:/usr/bin/python3.8
fun:_PyObject_MakeTpCall
fun:_PyEval_EvalFrameDefault
obj:/usr/local/lib/python3.8
fun:_PyEval_EvalFrameDefault
obj:/usr/bin/python3.8
fun:_PyEval_EvalFrameDefault
fun:_PyEval_EvalCodeWithName
obj:/usr/bin/python3.8
fun:PyVectorcall_Call
fun:_PyEval_EvalFrameDefault
fun:_PyEval_EvalCodeWithName
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
obj:/usr/bin/python3.8
fun:PyTuple_New
obj:/usr/bin/python3.8
obj:/usr/bin/python3.8
obj:/usr/bin/python3.8
obj:/usr/bin/python3.8
obj:/usr/bin/python3.8
obj:/usr/bin/python3.8
obj:/usr/bin/python3.8
fun:_PyEval_EvalFrameDefault
fun:_PyEval_EvalCodeWithName
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
obj:/usr/bin/python3.8
fun:PyTuple_New
fun:_PyEval_EvalCodeWithName
fun:_PyFunction_Vectorcall
fun:_PyEval_EvalFrameDefault
fun:_PyEval_EvalCodeWithName
fun:_PyFunction_Vectorcall
fun:_PyEval_EvalFrameDefault
fun:_PyFunction_Vectorcall
fun:_PyEval_EvalFrameDefault
fun:_PyFunction_Vectorcall
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
obj:/usr/bin/python3.8
fun:_PyObject_MakeTpCall
fun:_PyEval_EvalFrameDefault
fun:_PyFunction_Vectorcall
obj:/usr/bin/python3.8
obj:/usr/bin/python3.8
fun:_PyObject_MakeTpCall
fun:_PyEval_EvalFrameDefault
obj:/usr/bin/python3.8
fun:_PyEval_EvalFrameDefault
obj:/usr/bin/python3.8
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
obj:/usr/bin/python3.8
obj:/usr/bin/python3.8
fun:_PyEval_EvalFrameDefault
fun:_PyFunction_Vectorcall
fun:_PyEval_EvalFrameDefault
fun:_PyEval_EvalCodeWithName
fun:_PyFunction_Vectorcall
fun:_PyEval_EvalFrameDefault
fun:_PyFunction_Vectorcall
fun:_PyEval_EvalFrameDefault
fun:_PyEval_EvalCodeWithName
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun: malloc
obj:/usr/bin/python3.8
fun:PyTuple_Pack
obj:/usr/local/lib/python3.8/dist-packages/pandas/_libs/interval.cpython-38-x86_64-linux-gnu.so
fun:PyModule_ExecDef
obj:/usr/bin/python3.8
obj:/usr/bin/python3.8
fun:PyVectorcall_Call
fun:_PyEval_EvalFrameDefault
fun:_PyEval_EvalCodeWithName
fun:_PyFunction_Vectorcall
fun:_PyEval_EvalFrameDefault
}
{
<insert_a_suppression_name_here>
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:_PyEval_EvalFrameDefault
obj:/usr/bin/python3.8
fun:_PyEval_EvalFrameDefault
fun:_PyEval_EvalCodeWithName
obj:/usr/bin/python3.8
fun:_PyEval_EvalFrameDefault
fun:_PyEval_EvalCodeWithName
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
obj:/usr/bin/python3.8
fun:_PyObject_MakeTpCall
obj:/usr/bin/python3.8
fun:PyObject_CallFunctionObjArgs
obj:/usr/bin/python3.8
obj:/usr/bin/python3.8
fun:PyObject_GetAttr
fun:_PyEval_EvalFrameDefault
fun:_PyEval_EvalCodeWithName
fun:_PyFunction_Vectorcall
fun:_PyEval_EvalFrameDefault
}
{
<insert_a_suppression_name_here>
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:_PyEval_EvalFrameDefault
obj:/usr/bin/python3.8)
fun:_PyEval_EvalFrameDefault
fun:_PyEval_EvalCodeWithName
obj:/usr/bin/python3.8)
fun:_PyEval_EvalFrameDefault
fun:_PyEval_EvalCodeWithName
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
obj:/usr/bin/python3.8)
fun:PyTuple_Pack
obj:/usr/local/lib/python3.8/dist-packages/pandas/_libs/interval.cpython-38-x86_64-linux-gnu.so
fun:PyModule_ExecDef
obj:/usr/bin/python3.8)
obj:/usr/bin/python3.8)
fun:PyVectorcall_Call
fun:_PyEval_EvalFrameDefault
fun:_PyEval_EvalCodeWithName
fun:_PyFunction_Vectorcall
fun:_PyEval_EvalFrameDefault
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
obj:/usr/bin/python3.8
fun:PyTuple_Pack
obj:/usr/local/lib/python3.8/dist-packages/pandas/_libs/tslibs/np_datetime.cpython-38-x86_64-linux-gnu.so
fun:PyModule_ExecDef
obj:/usr/bin/python3.8
obj:/usr/bin/python3.8
fun:PyVectorcall_Call
fun:_PyEval_EvalFrameDefault
fun:_PyEval_EvalCodeWithName
fun:_PyFunction_Vectorcall
fun:_PyEval_EvalFrameDefault
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
obj:/usr/bin/python3.8
fun:PyTuple_Pack
obj:/usr/local/lib/python3.8/dist-packages/pandas/_libs/tslibs/ccalendar.cpython-38-x86_64-linux-gnu.so
fun:PyModule_ExecDef
obj:/usr/bin/python3.8
obj:/usr/bin/python3.8
fun:PyVectorcall_Call
fun:_PyEval_EvalFrameDefault
fun:_PyEval_EvalCodeWithName
fun:_PyFunction_Vectorcall
fun:_PyEval_EvalFrameDefault
}
{
<insert_a_suppression_name_here>
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:_PyEval_EvalFrameDefault
obj:/usr/bin/python3.8
fun:_PyEval_EvalFrameDefault
fun:_PyEval_EvalCodeWithName
obj:/usr/bin/python3.8
fun:_PyEval_EvalFrameDefault
fun:_PyEval_EvalCodeWithName
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
obj:/usr/bin/python3.8
fun:PyTuple_Pack
obj:/usr/local/lib/python3.8/dist-packages/pandas/_libs/interval.cpython-38-x86_64-linux-gnu.so
fun:PyModule_ExecDef
obj:/usr/bin/python3.8
obj:/usr/bin/python3.8
fun:PyVectorcall_Call
fun:_PyEval_EvalFrameDefault
fun:_PyEval_EvalCodeWithName
fun:_PyFunction_Vectorcall
fun:_PyEval_EvalFrameDefault
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
obj:/usr/bin/python3.8
fun:PyTuple_Pack
obj:/usr/local/lib/python3.8/dist-packages/pandas/_libs/hashtable.cpython-38-x86_64-linux-gnu.so
obj:/usr/local/lib/python3.8/dist-packages/pandas/_libs/hashtable.cpython-38-x86_64-linux-gnu.so
fun:PyModule_ExecDef
obj:/usr/bin/python3.8
obj:/usr/bin/python3.8
fun:PyVectorcall_Call
fun:_PyEval_EvalFrameDefault
fun:_PyEval_EvalCodeWithName
fun:_PyFunction_Vectorcall
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
...
obj:/usr/local/lib/python3.8/dist-packages/pandas/*
...
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
obj:/usr/bin/python3.8
fun:PyTuple_New
fun:_PyEval_EvalCodeWithName
fun:_PyFunction_Vectorcall
fun:_PyEval_EvalFrameDefault
fun:_PyEval_EvalCodeWithName
fun:_PyFunction_Vectorcall
fun:_PyEval_EvalFrameDefault
fun:_PyEval_EvalCodeWithName
obj:/usr/bin/python3.8
fun:_PyEval_EvalFrameDefault
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
obj:/usr/bin/python3.8
fun:PyTuple_New
obj:/usr/bin/python3.8
obj:/usr/bin/python3.8
fun:_PyObject_MakeTpCall
fun:_PyEval_EvalFrameDefault
fun:_PyFunction_Vectorcall
fun:_PyEval_EvalFrameDefault
obj:/usr/bin/python3.8
fun:PyObject_GetAttr
fun:_PyEval_EvalFrameDefault
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
obj:/usr/bin/python3.8
fun:PyTuple_New
obj:/usr/bin/python3.8
obj:/usr/bin/python3.8
obj:/usr/bin/python3.8
obj:/usr/bin/python3.8
obj:/usr/bin/python3.8
obj:/usr/bin/python3.8
fun:_PyEval_EvalFrameDefault
fun:_PyEval_EvalCodeWithName
fun:_PyFunction_Vectorcall
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录