Skip to content
StepArgumentsStatus
Start of Pipeline - (15 min in block)
readJSON - (0.12 sec in self)
readTrusted - (5.9 sec in self)pipelines/pingcap/tidb/latest/pod-ghpr_build.yaml
podTemplate - (15 min in block)
podTemplate block - (15 min in block)
node - (15 min in block)pingcap_tidb_ghpr_build_8562-j4g4g
node block - (15 min in block)
stage - (4.2 sec in block)Declarative: Checkout SCM
stage block (Declarative: Checkout SCM) - (4.2 sec in block)
checkout - (4.2 sec in self)
withEnv - (14 min in block)GIT_BRANCH, GIT_COMMIT, GIT_PREVIOUS_COMMIT, GIT_PREVIOUS_SUCCESSFUL_COMMIT, GIT_URL
withEnv block - (14 min in block)
container - (14 min in block)golang
container block - (14 min in block)
withEnv - (14 min in block)FILE_SERVER_URL
withEnv block - (14 min in block)
timeout - (14 min in block)
timeout block - (14 min in block)
stage - (2 sec in block)Debug info
stage block (Debug info) - (1.6 sec in block)
sh (Debug info) - (0.58 sec in self) printenv echo "-------------------------" go env echo "-------------------------" ls -l /dev/null echo "debug command: kubectl -n jenkins-tidb exec -ti pingcap-tidb-ghpr-build-8562-j4g4g-8x36v-lhgzf bash"
container - (0.97 sec in block)net-tool
container block - (0.94 sec in block)
sh - (0.82 sec in self)dig github.com
script - (88 ms in block)
script block - (55 ms in block)
stage - (20 sec in block)Checkout
stage block (Checkout) - (20 sec in block)
dir - (20 sec in block)tidb
dir block - (20 sec in block)
cache - (19 sec in block)
cache block - (9.8 sec in block)
script - (9.8 sec in block)
script block - (9.8 sec in block)
withCredentials - (2.3 sec in block)
withCredentials block - (2.2 sec in block)
sh (Set git ssh key) - (2.2 sec in self) [ -d ~/.ssh ] || mkdir ~/.ssh && chmod 0700 ~/.ssh cp "$SSH_KEY" ~/.ssh/id_rsa chmod 400 ~/.ssh/id_rsa ssh-keyscan -t rsa,dsa github.com >> ~/.ssh/known_hosts
retry - (7.4 sec in block)2
retry block - (7.3 sec in block)
sh (Checkout and merge pull request(s) to target if exist) - (7.3 sec in self)
stage - (8 min 13 sec in block)Build tidb-server community edition
stage block (Build tidb-server community edition) - (8 min 13 sec in block)
dir - (7 min 35 sec in block)tidb
dir block - (7 min 35 sec in block)
sh - (7 min 35 sec in self)make bazel_build
dir - (0.27 sec in block)tidb
dir block - (0.21 sec in block)
archiveArtifacts - (0.18 sec in self)
dir - (37 sec in block)tidb
dir block - (37 sec in block)
sh (create tidb-server tarball) - (25 sec in self) rm -rf .git tar czvf tidb-server.tar.gz ./* echo "pr/c543d869edb7da7d964767497b030f2386ea4c70" > sha1 echo "done" > done
sh (upload to tidb dir) - (5.6 sec in self) filepath="builds/pingcap/tidb/pr/c543d869edb7da7d964767497b030f2386ea4c70/centos7/tidb-server.tar.gz" donepath="builds/pingcap/tidb/pr/c543d869edb7da7d964767497b030f2386ea4c70/centos7/done" refspath="refs/pingcap/tidb/pr/51300/sha1" curl -F ${filepath}=@tidb-server.tar.gz ${FILE_SERVER_URL}/upload curl -F ${donepath}=@done ${FILE_SERVER_URL}/upload curl -F ${refspath}=@sha1 ${FILE_SERVER_URL}/upload
sh (upload to tidb-checker dir) - (5.5 sec in self) filepath="builds/pingcap/tidb-check/pr/c543d869edb7da7d964767497b030f2386ea4c70/centos7/tidb-server.tar.gz" donepath="builds/pingcap/tidb-check/pr/c543d869edb7da7d964767497b030f2386ea4c70/centos7/done" curl -F ${filepath}=@tidb-server.tar.gz ${FILE_SERVER_URL}/upload curl -F ${donepath}=@done ${FILE_SERVER_URL}/upload
stage - (2 min 14 sec in block)Build tidb-server enterprise edition
stage block (Build tidb-server enterprise edition) - (2 min 14 sec in block)
dir - (2 min 14 sec in block)tidb
dir block - (2 min 14 sec in block)
sh - (2 min 14 sec in self)make enterprise-prepare enterprise-server-build && ./bin/tidb-server -V
stage - (4 min 0 sec in block)Test plugin
stage block (Test plugin) - (4 min 0 sec in block)
dir - (7.6 sec in block)enterprise-plugin
dir block - (7.5 sec in block)
cache - (7.5 sec in block)
cache block - (4.3 sec in block)
retry - (4.3 sec in block)2
retry block - (4.2 sec in block)
script - (4.2 sec in block)
script block - (4.2 sec in block)
checkout - (4.1 sec in self)
sh (Test plugins) - (3 min 52 sec in self) mkdir -p plugin-so # compile go plugin: audit pushd enterprise-plugin/audit && go mod tidy && popd pushd tidb && go run ./cmd/pluginpkg -pkg-dir ../enterprise-plugin/audit -out-dir ../plugin-so && popd # compile go plugin: whitelist pushd enterprise-plugin/whitelist && go mod tidy && popd pushd tidb && go run ./cmd/pluginpkg -pkg-dir ../enterprise-plugin/whitelist -out-dir ../plugin-so && popd # test them. make server -C tidb ./tidb/bin/tidb-server -plugin-dir=./plugin-so -plugin-load=audit-1,whitelist-1 | tee ./loading-plugin.log & sleep 30 ps aux | grep tidb-server killall -9 -r tidb-server
stage - (5.4 sec in block)Declarative: Post Actions
stage block (Declarative: Post Actions) - (5.3 sec in block)
container - (5.2 sec in block)report
container block - (5.2 sec in block)
sh - (5.2 sec in self)bash scripts/plugins/report_job_result.sh SUCCESS result.json || true
archiveArtifacts - (61 ms in self)