-
Notifications
You must be signed in to change notification settings - Fork 501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI: Running on TiDB Operator Nodes. #1653
Conversation
aa06abe
to
80b9699
Compare
/run-e2e-tests |
1 similar comment
/run-e2e-tests |
@@ -161,6 +173,8 @@ def call(BUILD_BRANCH, CREDENTIALS_ID, CODECOV_CREDENTIALS_ID) { | |||
container("golang") { | |||
def WORKSPACE = pwd() | |||
dir("${PROJECT_DIR}") { | |||
deleteDir() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
because we reuse build_go1130_memvolume
nodes to build, previous files of other jobs must be deleted first
failure logs on this PR: https://internal.pingcap.net/idc-jenkins/blue/organizations/jenkins/operator_ghpr_e2e_test_kind/detail/operator_ghpr_e2e_test_kind/2667/pipeline/39
2020-02-07T08:38:48.004Z] go vet check
[2020-02-07T08:38:49.901Z] # github.com/pingcap/tidb-operator/pkg/client/listers/pingcap/v1alpha1
[2020-02-07T08:38:49.901Z] pkg/client/listers/pingcap/v1alpha1/tidbclusterautoscaler.go:28:41: undefined: v1alpha1.TidbClusterAutoScaler
[2020-02-07T08:38:49.901Z] pkg/client/listers/pingcap/v1alpha1/tidbclusterautoscaler.go:31:2: undefined: TidbClusterAutoScalerListerExpansion
[2020-02-07T08:38:49.901Z] pkg/client/listers/pingcap/v1alpha1/tidbclusterautoscaler.go:45:78: undefined: v1alpha1.TidbClusterAutoScaler
[2020-02-07T08:38:49.901Z] pkg/client/listers/pingcap/v1alpha1/tidbclusterautoscaler.go:60:41: undefined: v1alpha1.TidbClusterAutoScaler
[2020-02-07T08:38:49.901Z] pkg/client/listers/pingcap/v1alpha1/tidbclusterautoscaler.go:62:21: undefined: v1alpha1.TidbClusterAutoScaler
[2020-02-07T08:38:49.901Z] pkg/client/listers/pingcap/v1alpha1/tidbclusterautoscaler.go:63:2: undefined: TidbClusterAutoScalerNamespaceListerExpansion
[2020-02-07T08:38:49.901Z] pkg/client/listers/pingcap/v1alpha1/tidbclusterautoscaler.go:74:86: undefined: v1alpha1.TidbClusterAutoScaler
[2020-02-07T08:38:49.901Z] pkg/client/listers/pingcap/v1alpha1/tidbclusterautoscaler.go:82:66: undefined: v1alpha1.TidbClusterAutoScaler
/run-e2e-tests |
da937db
to
9eab3d9
Compare
On these nodes, we configured 'cgroup.memory=nokmem' to avoid issues in CentOS 7.6. pingcap#1603 (comment) Signed-off-by: Yecheng Fu <fuyecheng@pingcap.com>
Signed-off-by: Yecheng Fu <fuyecheng@pingcap.com>
Signed-off-by: Yecheng Fu <fuyecheng@pingcap.com>
Signed-off-by: Yecheng Fu <fuyecheng@pingcap.com>
9eab3d9
to
e422fce
Compare
/run-e2e-tests |
1 similar comment
/run-e2e-tests |
Signed-off-by: Yecheng Fu <fuyecheng@pingcap.com>
if errors.IsNotFound(err) { | ||
// ignore not found error (pod is deleted and recreated again in restarting) | ||
return false, nil | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixes #1539
@@ -22,7 +22,7 @@ source $ROOT/hack/lib.sh | |||
|
|||
hack::ensure_terraform | |||
|
|||
terraform_modules=$(find ${ROOT}/deploy -not -path '*/\.*' -type f -name variables.tf | xargs -I{} -n1 dirname {}) | |||
terraform_modules=$(find ${ROOT}/deploy -mindepth 1 -maxdepth 1 -type d -a -not -name 'modules') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
modules in deploy/modules
are referenced by aliyun/gcp/aws, no need to check
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
cherry pick to release-1.1 in PR #1660 |
* Running on TiDB Operator Nodes. On these nodes, we configured 'cgroup.memory=nokmem' to avoid issues in CentOS 7.6. #1603 (comment) Signed-off-by: Yecheng Fu <fuyecheng@pingcap.com> * clear previous files Signed-off-by: Yecheng Fu <fuyecheng@pingcap.com> * check gcp/aliyun/aws modules only Signed-off-by: Yecheng Fu <fuyecheng@pingcap.com> * use operator: Exists Signed-off-by: Yecheng Fu <fuyecheng@pingcap.com> * ignore not found error Signed-off-by: Yecheng Fu <fuyecheng@pingcap.com> Co-authored-by: Yecheng Fu <cofyc.jackson@gmail.com>
Signed-off-by: Yecheng Fu fuyecheng@pingcap.com
What problem does this PR solve?
On these nodes, we configured 'cgroup.memory=nokmem' to avoid issues in
CentOS 7.6.
#1603 (comment)
it also fixes #1539
What is changed and how does it work?
Check List
Tests
Code changes
Side effects
Related changes
Does this PR introduce a user-facing change?: