Skip to content

Commit

Permalink
test only
Browse files Browse the repository at this point in the history
  • Loading branch information
cofyc committed Feb 21, 2020
1 parent ff08d6d commit 26d4607
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 34 deletions.
6 changes: 6 additions & 0 deletions artifacts/junit_runner.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="test" failures="0" tests="3" time="2312.141164422">
<testcase name="Up" time="117.610397196"></testcase>
<testcase name="Test" time="2170.183409635"></testcase>
<testcase name="Down" time="24.347325326"></testcase>
</testsuite>
55 changes: 55 additions & 0 deletions artifacts/junit_v1.12.10_serial_01.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="tidb-operator e2e suite" tests="4" failures="0" errors="0" time="2060.268">
<testcase name="[tidb-operator] TiDBCluster TidbMonitor: Deploying and checking monitor" classname="tidb-operator e2e suite" time="0">
<skipped></skipped>
</testcase>
<testcase name="[tidb-operator] TiDBCluster tidb-scale: clear TiDB failureMembers when scale TiDB to zero" classname="tidb-operator e2e suite" time="0">
<skipped></skipped>
</testcase>
<testcase name="[tidb-operator][Serial] [Feature: AdvancedStatefulSet] Scaling tidb cluster with advanced statefulset" classname="tidb-operator e2e suite" time="681.563904041"></testcase>
<testcase name="[tidb-operator] TiDBCluster Test aggregated apiserver" classname="tidb-operator e2e suite" time="0">
<skipped></skipped>
</testcase>
<testcase name="[tidb-operator] TiDBCluster Upgrading TiDB Cluster" classname="tidb-operator e2e suite" time="0">
<skipped></skipped>
</testcase>
<testcase name="Recreate [Feature:Recreate] recreate nodes and ensure they function upon restart" classname="tidb-operator e2e suite" time="0">
<skipped></skipped>
</testcase>
<testcase name="[tidb-operator] TiDBCluster Switching back and forth between pod network and host network" classname="tidb-operator e2e suite" time="0">
<skipped></skipped>
</testcase>
<testcase name="[tidb-operator] TiDBCluster Restarter: Testing restarting by annotations" classname="tidb-operator e2e suite" time="0">
<skipped></skipped>
</testcase>
<testcase name="[tidb-operator] TiDBCluster Backup and restore TiDB Cluster" classname="tidb-operator e2e suite" time="0">
<skipped></skipped>
</testcase>
<testcase name="[tidb-operator] TiDBCluster should be operable without helm [API]" classname="tidb-operator e2e suite" time="0">
<skipped></skipped>
</testcase>
<testcase name="[tidb-operator] TiDBCluster Basic: Deploying, Scaling, Update Configuration [TiDB Version: v3.0.8] basic-v3-cluster-tls" classname="tidb-operator e2e suite" time="0">
<skipped></skipped>
</testcase>
<testcase name="[tidb-operator] TiDBCluster Basic: Deploying, Scaling, Update Configuration [TiDB Version: v3.0.8] basic-v3" classname="tidb-operator e2e suite" time="0">
<skipped></skipped>
</testcase>
<testcase name="[tidb-operator][Serial] [Feature: PodAdmissionWebhook] [PodAdmissionWebhook] able to upgrade TiDB Cluster with pod admission webhook" classname="tidb-operator e2e suite" time="702.113646484"></testcase>
<testcase name="[tidb-operator] TiDBCluster Pump: Test managing Pump in TidbCluster CRD" classname="tidb-operator e2e suite" time="0">
<skipped></skipped>
</testcase>
<testcase name="[tidb-operator] TiDBCluster API: Migrate from helm to CRD" classname="tidb-operator e2e suite" time="0">
<skipped></skipped>
</testcase>
<testcase name="[tidb-operator] TiDBCluster Basic: Deploying, Scaling, Update Configuration [TiDB Version: v2.1.19] basic-v2" classname="tidb-operator e2e suite" time="0">
<skipped></skipped>
</testcase>
<testcase name="[tidb-operator][Serial] [Feature: Defaulting and Validating] should perform defaulting and validating properly" classname="tidb-operator e2e suite" time="22.318870176"></testcase>
<testcase name="[tidb-operator] TiDBCluster [Feature: AdvancedStatefulSet] Upgrading tidb cluster while pods are not consecutive" classname="tidb-operator e2e suite" time="0">
<skipped></skipped>
</testcase>
<testcase name="[tidb-operator] TiDBCluster Service: Sync TiDB service" classname="tidb-operator e2e suite" time="0">
<skipped></skipped>
</testcase>
<testcase name="[tidb-operator][Serial] [Feature: AdvancedStatefulSet] Upgrade to advanced statefulset" classname="tidb-operator e2e suite" time="395.334743104"></testcase>
</testsuite>
34 changes: 0 additions & 34 deletions ci/pingcap_tidb_operator_build_kind.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ def build(SHELL_CODE, ARTIFACTS = "") {
ansiColor('xterm') {
sh """
export GOPATH=${WORKSPACE}/go
${SHELL_CODE}
"""
}
}
Expand Down Expand Up @@ -203,30 +202,6 @@ def call(BUILD_BRANCH, CREDENTIALS_ID, CODECOV_CREDENTIALS_ID) {
// }
// }

stage("Build and Test") {
ansiColor('xterm') {
sh """
make
make e2e-build
if [ ${BUILD_BRANCH} == "master" ]
then
make test GOFLAGS='-race' GO_COVER=y
curl -s https://codecov.io/bash | bash -s - -t ${CODECOV_TOKEN} || echo 'Codecov did not collect coverage reports'
else
make test GOFLAGS='-race'
fi
"""
}
}

stage("Prepare for e2e") {
ansiColor('xterm') {
sh """
hack/prepare-e2e.sh
"""
}
}

stash excludes: "vendor/**,deploy/**", name: "tidb-operator"
}
}
Expand All @@ -240,15 +215,6 @@ def call(BUILD_BRANCH, CREDENTIALS_ID, CODECOV_CREDENTIALS_ID) {
builds["E2E v1.12.10"] = {
build("${MIRRORS} IMAGE_TAG=${GITHASH} SKIP_BUILD=y GINKGO_NODES=8 KUBE_VERSION=v1.12.10 REPORT_DIR=\$(pwd)/artifacts REPORT_PREFIX=v1.12.10_ ./hack/e2e.sh -- --preload-images --ginkgo.skip='\\[Serial\\]'", artifacts)
}
builds["E2E v1.12.10 AdvancedStatefulSet"] = {
build("${MIRRORS} IMAGE_TAG=${GITHASH} SKIP_BUILD=y GINKGO_NODES=8 KUBE_VERSION=v1.12.10 REPORT_DIR=\$(pwd)/artifacts REPORT_PREFIX=v1.12.10_advanced_statefulset ./hack/e2e.sh -- --preload-images --ginkgo.skip='\\[Serial\\]' --operator-features AdvancedStatefulSet=true", artifacts)
}
builds["E2E v1.17.0"] = {
build("${MIRRORS} IMAGE_TAG=${GITHASH} SKIP_BUILD=y GINKGO_NODES=8 KUBE_VERSION=v1.17.0 REPORT_DIR=\$(pwd)/artifacts REPORT_PREFIX=v1.17.0_ ./hack/e2e.sh -- -preload-images --ginkgo.skip='\\[Serial\\]'", artifacts)
}
builds["E2E v1.12.10 Serial"] = {
build("${MIRRORS} IMAGE_TAG=${GITHASH} SKIP_BUILD=y KUBE_VERSION=v1.12.10 REPORT_DIR=\$(pwd)/artifacts REPORT_PREFIX=v1.12.10_serial_ ./hack/e2e.sh -- --preload-images --ginkgo.focus='\\[Serial\\]' --install-operator=false", artifacts)
}
builds.failFast = false
parallel builds

Expand Down

0 comments on commit 26d4607

Please sign in to comment.