Skip to content
StepArgumentsStatus
Start of Pipeline - (20 min in block)
readJSON - (0.1 sec in self)
readTrusted - (7.1 sec in self)pipelines/pingcap/tidb/latest/pod-ghpr_build.yaml
podTemplate - (20 min in block)
podTemplate block - (20 min in block)
node - (20 min in block)pingcap_tidb_ghpr_build_8547-889vb
node block - (20 min in block)
stage - (4.2 sec in block)Declarative: Checkout SCM
stage block (Declarative: Checkout SCM) - (4 sec in block)
checkout - (4 sec in self)
withEnv - (19 min in block)GIT_BRANCH, GIT_COMMIT, GIT_PREVIOUS_COMMIT, GIT_PREVIOUS_SUCCESSFUL_COMMIT, GIT_URL
withEnv block - (19 min in block)
container - (19 min in block)golang
container block - (19 min in block)
withEnv - (19 min in block)FILE_SERVER_URL
withEnv block - (19 min in block)
timeout - (19 min in block)
timeout block - (19 min in block)
stage - (1.8 sec in block)Debug info
stage block (Debug info) - (1.7 sec in block)
sh (Debug info) - (0.59 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-8547-889vb-np75r-zn6q2 bash"
container - (1 sec in block)net-tool
container block - (1 sec in block)
sh - (0.55 sec in self)dig github.com
script - (0.1 sec in block)
script block - (68 ms in block)
stage - (1 min 3 sec in block)Checkout
stage block (Checkout) - (1 min 3 sec in block)
dir - (1 min 3 sec in block)tidb
dir block - (1 min 3 sec in block)
cache - (1 min 3 sec in block)
cache block - (9.3 sec in block)
script - (8.9 sec in block)
script block - (8.8 sec in block)
withCredentials - (2.6 sec in block)
withCredentials block - (2.5 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 - (6.2 sec in block)2
retry block - (6.1 sec in block)
sh (Checkout and merge pull request(s) to target if exist) - (6.1 sec in self)
stage - (13 min in block)Build tidb-server community edition
stage block (Build tidb-server community edition) - (13 min in block)
dir - (13 min in block)tidb
dir block - (13 min in block)
sh - (13 min in self)make bazel_build
dir - (0.2 sec in block)tidb
dir block - (0.15 sec in block)
archiveArtifacts - (0.12 sec in self)
dir - (32 sec in block)tidb
dir block - (32 sec in block)
sh (create tidb-server tarball) - (22 sec in self) rm -rf .git tar czvf tidb-server.tar.gz ./* echo "pr/c9af2d3a165e79f5fc59f60d2db483f9794dd4f3" > sha1 echo "done" > done
sh (upload to tidb dir) - (5.2 sec in self) filepath="builds/pingcap/tidb/pr/c9af2d3a165e79f5fc59f60d2db483f9794dd4f3/centos7/tidb-server.tar.gz" donepath="builds/pingcap/tidb/pr/c9af2d3a165e79f5fc59f60d2db483f9794dd4f3/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.1 sec in self) filepath="builds/pingcap/tidb-check/pr/c9af2d3a165e79f5fc59f60d2db483f9794dd4f3/centos7/tidb-server.tar.gz" donepath="builds/pingcap/tidb-check/pr/c9af2d3a165e79f5fc59f60d2db483f9794dd4f3/centos7/done" curl -F ${filepath}=@tidb-server.tar.gz ${FILE_SERVER_URL}/upload curl -F ${donepath}=@done ${FILE_SERVER_URL}/upload
stage - (1 min 42 sec in block)Build tidb-server enterprise edition
stage block (Build tidb-server enterprise edition) - (1 min 42 sec in block)
dir - (1 min 42 sec in block)tidb
dir block - (1 min 42 sec in block)
sh - (1 min 42 sec in self)make enterprise-prepare enterprise-server-build && ./bin/tidb-server -V
stage - (3 min 28 sec in block)Test plugin
stage block (Test plugin) - (3 min 28 sec in block)
dir - (7.9 sec in block)enterprise-plugin
dir block - (7.8 sec in block)
cache - (7.8 sec in block)
cache block - (6.1 sec in block)
retry - (5.8 sec in block)2
retry block - (5.8 sec in block)
script - (5.8 sec in block)
script block - (5.7 sec in block)
checkout - (5.6 sec in self)
sh (Test plugins) - (3 min 20 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 - (2.1 sec in block)Declarative: Post Actions
stage block (Declarative: Post Actions) - (2.1 sec in block)
container - (2 sec in block)report
container block - (1.9 sec in block)
sh - (1.9 sec in self)bash scripts/plugins/report_job_result.sh SUCCESS result.json || true
archiveArtifacts - (60 ms in self)