Skip to content

Console Output

Started by user Jenkins Admin
Obtained pipelines/tikv/pd/latest/ghpr_build.groovy from git https://github.com/PingCAP-QE/ci.git
Loading library tipipeline@main
Library tipipeline@main is due for a refresh after 60 minutes, clearing.
Caching library tipipeline@main
Attempting to resolve main from remote references...
 > git --version # timeout=10
 > git --version # 'git version 2.39.2'
 > git ls-remote -- https://github.com/PingCAP-QE/ci # timeout=10
Found match: refs/heads/main revision 03312178c534dce949face80c69812d989e55009
The recommended git tool is: git
No credentials specified
 > git rev-parse --resolve-git-dir /var/jenkins_home/jobs/tikv/jobs/pd/jobs/ghpr_build/workspace@libs/028688d6a2298cb8f56fc89656584a6e89655f25aed21ceab3b5624e60735994/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/PingCAP-QE/ci # timeout=10
Fetching without tags
Fetching upstream changes from https://github.com/PingCAP-QE/ci
 > git --version # timeout=10
 > git --version # 'git version 2.39.2'
 > git fetch --no-tags --force --progress -- https://github.com/PingCAP-QE/ci +refs/heads/*:refs/remotes/origin/* # timeout=10
Checking out Revision 03312178c534dce949face80c69812d989e55009 (main)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 03312178c534dce949face80c69812d989e55009 # timeout=10
Commit message: "fix(br): use failpoint tidb-server instead (#2951)"
 > git rev-list --no-walk 03312178c534dce949face80c69812d989e55009 # timeout=10
[Pipeline] Start of Pipeline
[Pipeline] readJSON
[Pipeline] readTrusted
Obtained pipelines/tikv/pd/latest/pod-ghpr_build.yaml from git https://github.com/PingCAP-QE/ci.git
[Pipeline] podTemplate
[Pipeline] {
[Pipeline] node
Created Pod: kubernetes jenkins-pd/tikv-pd-ghpr-build-1233-s5rxg-z8gj0-28rll
Agent tikv-pd-ghpr-build-1233-s5rxg-z8gj0-28rll is provisioned from template tikv_pd_ghpr_build_1233-s5rxg-z8gj0
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/tikv/job/pd/job/ghpr_build/1233/"
    runUrl: "job/tikv/job/pd/job/ghpr_build/1233/"
  labels:
    jenkins/jenkins-jenkins-agent: "true"
    jenkins/label-digest: "18cbdc851534878a2199185bf6e47580c1b295a7"
    jenkins/label: "tikv_pd_ghpr_build_1233-s5rxg"
  name: "tikv-pd-ghpr-build-1233-s5rxg-z8gj0-28rll"
  namespace: "jenkins-pd"
spec:
  affinity:
    nodeAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
        nodeSelectorTerms:
        - matchExpressions:
          - key: "kubernetes.io/arch"
            operator: "In"
            values:
            - "amd64"
  containers:
  - image: "hub.pingcap.net/jenkins/centos7_golang-1.21:latest"
    name: "golang"
    resources:
      limits:
        memory: "8Gi"
        cpu: "4"
      requests:
        memory: "8Gi"
        cpu: "4"
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  - image: "hub.pingcap.net/jenkins/network-multitool"
    name: "net-tool"
    resources:
      limits:
        memory: "128Mi"
        cpu: "100m"
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  - image: "hub.pingcap.net/jenkins/python3-requests:latest"
    name: "report"
    resources:
      limits:
        memory: "256Mi"
        cpu: "100m"
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-agent.apps.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "tikv-pd-ghpr-build-1233-s5rxg-z8gj0-28rll"
    - name: "JENKINS_NAME"
      value: "tikv-pd-ghpr-build-1233-s5rxg-z8gj0-28rll"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins.apps.svc.cluster.local:8080/jenkins/"
    image: "jenkins/inbound-agent:3206.vb_15dcf73f6a_9-2"
    name: "jnlp"
    resources:
      requests:
        memory: "256Mi"
        cpu: "100m"
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  restartPolicy: "Never"
  securityContext:
    fsGroup: 1000
  volumes:
  - emptyDir:
      medium: ""
    name: "workspace-volume"

Running on tikv-pd-ghpr-build-1233-s5rxg-z8gj0-28rll in /home/jenkins/agent/workspace/tikv/pd/ghpr_build
[Pipeline] {
[Pipeline] container
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] timeout
Timeout set to expire in 15 min
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Debug info)
[Pipeline] sh
+ printenv
PROW_JOB_ID=c8731b36-a0c5-4272-b4e2-0ee2c4607c29
JENKINS_NODE_COOKIE=7460a773-3c45-47c1-b66f-65c48625a833
BUILD_URL=https://do.pingcap.net/jenkins/job/tikv/job/pd/job/ghpr_build/1233/
GOLANG_VERSION=1.21.6
HOSTNAME=tikv-pd-ghpr-build-1233-s5rxg-z8gj0-28rll
HUDSON_SERVER_COOKIE=83ef27fe9acccc92
KUBERNETES_PORT_443_TCP_PORT=443
KUBERNETES_PORT=tcp://10.233.0.1:443
TERM=xterm
STAGE_NAME=Debug info
BUILD_TAG=jenkins-tikv-pd-ghpr_build-1233
KUBERNETES_SERVICE_PORT=443
JOB_SPEC={"type":"presubmit","job":"tikv/pd/ghpr_build","buildid":"1787389049976131584","prowjobid":"c8731b36-a0c5-4272-b4e2-0ee2c4607c29","refs":{"org":"tikv","repo":"pd","repo_link":"https://github.com/tikv/pd","base_ref":"master","base_sha":"1679dbca25b3483d1375c7e747da27e99ad77360","base_link":"https://github.com/tikv/pd/commit/1679dbca25b3483d1375c7e747da27e99ad77360","pulls":[{"number":8132,"author":"nolouch","sha":"3287f5c9b1dae901f0144e843342c5f16e09541e","title":"core: check stats healthy by reference","link":"https://github.com/tikv/pd/pull/8132","commit_link":"https://github.com/tikv/pd/pull/8132/commits/3287f5c9b1dae901f0144e843342c5f16e09541e","author_link":"https://github.com/nolouch"}]}}
KUBERNETES_SERVICE_HOST=10.233.0.1
WORKSPACE=/home/jenkins/agent/workspace/tikv/pd/ghpr_build
JOB_URL=https://do.pingcap.net/jenkins/job/tikv/job/pd/job/ghpr_build/
RUN_CHANGES_DISPLAY_URL=https://do.pingcap.net/jenkins/job/tikv/job/pd/job/ghpr_build/1233/display/redirect?page=changes
RUN_ARTIFACTS_DISPLAY_URL=https://do.pingcap.net/jenkins/job/tikv/job/pd/job/ghpr_build/1233/display/redirect?page=artifacts
FILE_SERVER_URL=http://fileserver.pingcap.net
JENKINS_HOME=/var/jenkins_home
PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN_DISPLAY_URL=https://do.pingcap.net/jenkins/job/tikv/job/pd/job/ghpr_build/1233/display/redirect
GOPROXY=http://goproxy.apps.svc,https://proxy.golang.org,direct
_=/usr/bin/printenv
POD_CONTAINER=golang
PWD=/home/jenkins/agent/workspace/tikv/pd/ghpr_build
HUDSON_URL=https://do.pingcap.net/jenkins/
JOB_NAME=tikv/pd/ghpr_build
TZ=Asia/Shanghai
BUILD_DISPLAY_NAME=#1233
JENKINS_URL=https://do.pingcap.net/jenkins/
BUILD_ID=1787389049976131584
GOLANG_DOWNLOAD_SHA256=3f934f40ac360b9c01f616a9aa1796d227d8b0328bf64cb045c7b8c4ee9caea4
JOB_BASE_NAME=ghpr_build
RUN_TESTS_DISPLAY_URL=https://do.pingcap.net/jenkins/job/tikv/job/pd/job/ghpr_build/1233/display/redirect?page=tests
SHLVL=3
HOME=/home/jenkins
POD_LABEL=tikv_pd_ghpr_build_1233-s5rxg
GOROOT=/usr/local/go
KUBERNETES_PORT_443_TCP_PROTO=tcp
CI=true
KUBERNETES_SERVICE_PORT_HTTPS=443
WORKSPACE_TMP=/home/jenkins/agent/workspace/tikv/pd/ghpr_build@tmp
EXECUTOR_NUMBER=0
JENKINS_SERVER_COOKIE=durable-7ec9a2f689e6f6351b483b56df12659da1e143135e045f968c072ad66405ac0a
NODE_LABELS=tikv-pd-ghpr-build-1233-s5rxg-z8gj0-28rll tikv_pd_ghpr_build_1233-s5rxg
HUDSON_HOME=/var/jenkins_home
CLASSPATH=
NODE_NAME=tikv-pd-ghpr-build-1233-s5rxg-z8gj0-28rll
GOPATH=/go
JOB_DISPLAY_URL=https://do.pingcap.net/jenkins/job/tikv/job/pd/job/ghpr_build/display/redirect
BUILD_NUMBER=1233
KUBERNETES_PORT_443_TCP_ADDR=10.233.0.1
KUBERNETES_PORT_443_TCP=tcp://10.233.0.1:443
GOLANG_DOWNLOAD_URL=https://dl.google.com/go/go1.21.6.linux-amd64.tar.gz
+ echo -------------------------
-------------------------
+ go env
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/home/jenkins/.cache/go-build'
GOENV='/home/jenkins/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/go'
GOPRIVATE=''
GOPROXY='http://goproxy.apps.svc,https://proxy.golang.org,direct'
GOROOT='/usr/local/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.21.6'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/dev/null'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build93777070=/tmp/go-build -gno-record-gcc-switches'
+ echo -------------------------
-------------------------
+ echo 'debug command: kubectl -n jenkins-pd exec -ti tikv-pd-ghpr-build-1233-s5rxg-z8gj0-28rll bash'
debug command: kubectl -n jenkins-pd exec -ti tikv-pd-ghpr-build-1233-s5rxg-z8gj0-28rll bash
[Pipeline] container
[Pipeline] {
[Pipeline] sh
+ dig github.com

; <<>> DiG 9.18.16 <<>> github.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54263
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;github.com.			IN	A

;; ANSWER SECTION:
github.com.		30	IN	A	20.205.243.166

;; Query time: 0 msec
;; SERVER: 169.254.25.10#53(169.254.25.10) (UDP)
;; WHEN: Mon May 06 07:49:12 UTC 2024
;; MSG SIZE  rcvd: 65

[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] timeout
Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] dir
Running in /home/jenkins/agent/workspace/tikv/pd/ghpr_build/pd
[Pipeline] {
[Pipeline] cache
Cache restored successfully (git/tikv/pd/rev-1679dbc-a66b33e)
88991232 bytes in 0.56 secs (158445897 bytes/sec)
[Pipeline] {
[Pipeline] retry
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] sh
git version 2.36.6
Reinitialized existing Git repository in /home/jenkins/agent/workspace/tikv/pd/ghpr_build/pd/.git/
.git
HEAD is now at 5802cab9 Merge commit 'a66b33ea9ae1f6c8f81d0f4018be1614c25782af' into HEAD
POST git-upload-pack (650 bytes)
POST git-upload-pack (973 bytes)
From https://github.com/tikv/pd
 = [up to date]        master              -> origin/master
 * [new ref]           refs/pull/8132/head -> origin/pr/8132/head
Warning: you are leaving 1 commit behind, not connected to
any of your branches:

  5802cab9 Merge commit 'a66b33ea9ae1f6c8f81d0f4018be1614c25782af' into HEAD

If you want to keep it by creating a new branch, this may be a good time
to do so with:

 git branch <new-branch-name> 5802cab9

HEAD is now at 1679dbca client/tso: decouple tsoClient and tsoDispatcher (#8134)
๐Ÿšง Checkouting to base SHA:1679dbca25b3483d1375c7e747da27e99ad77360...
HEAD is now at 1679dbca client/tso: decouple tsoClient and tsoDispatcher (#8134)
โœ… Checked. ๐ŸŽ‰
๐Ÿงพ HEAD info:
1679dbca25b3483d1375c7e747da27e99ad77360
1679dbca client/tso: decouple tsoClient and tsoDispatcher (#8134)
8ee18a4b pkg: fix `RegionStatsNeedUpdate` condition (#8133)
6e3cac7f server/api: add the api to show the regions in subtree by type (#8101)
๐Ÿšง Pre-merge heads of pull requests to base SHA: 1679dbca25b3483d1375c7e747da27e99ad77360 ...
Updating 1679dbca..3287f5c9
Fast-forward
 pkg/core/region.go                   | 47 ++++++++++++++-----
 pkg/core/region_test.go              | 87 +++++++++++++++++++++++++++++++++++-
 pkg/core/region_tree.go              | 26 +++++++++++
 pkg/core/region_tree_test.go         |  1 +
 pkg/mcs/scheduling/server/cluster.go | 10 +++++
 server/cluster/cluster.go            | 10 +++++
 6 files changed, 168 insertions(+), 13 deletions(-)
๐Ÿงพ Pre-merged result:
3287f5c9b1dae901f0144e843342c5f16e09541e
3287f5c9 Merge branch 'master' into region-health
1679dbca client/tso: decouple tsoClient and tsoDispatcher (#8134)
c6d2fb9f Merge remote-tracking branch 'origin/master' into region-health
โœ… Pre merged ๐ŸŽ‰
โœ… ~~~~~All done.~~~~~~
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // retry
[Pipeline] }
Cache saved successfully (git/tikv/pd/rev-1679dbc-3287f5c)
89161728 bytes in 2.85 secs (31300609 bytes/sec)
[Pipeline] // cache
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] dir
Running in /home/jenkins/agent/workspace/tikv/pd/ghpr_build/pd
[Pipeline] {
[Pipeline] sh
+ WITH_RACE=1
+ make
go: downloading github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0
go: downloading github.com/pingcap/log v1.1.1-0.20221110025148-ca232912c9f3
go: downloading github.com/spf13/cobra v1.8.0
go: downloading github.com/pingcap/kvproto v0.0.0-20240403065636-c699538f7aa1
go: downloading github.com/pingcap/tidb-dashboard v0.0.0-20240326110213-9768844ff5d7
go: downloading github.com/pingcap/failpoint v0.0.0-20210918120811-547c13e3eb00
go: downloading golang.org/x/exp v0.0.0-20230711005742-c3f37128e5a4
go: downloading github.com/syndtr/goleveldb v1.0.1-0.20190318030020-c3a204f8e965
go: downloading go.uber.org/zap v1.27.0
go: downloading github.com/gin-contrib/gzip v0.0.1
go: downloading github.com/gin-contrib/cors v1.4.0
go: downloading google.golang.org/grpc v1.62.1
go: downloading github.com/pingcap/errors v0.11.5-0.20211224045212-9687c2b0f87c
go: downloading github.com/cakturk/go-netstat v0.0.0-20200220111822-e5b49efee7a5
go: downloading github.com/prometheus/client_golang v1.19.0
go: downloading github.com/gin-contrib/pprof v1.4.0
go: downloading github.com/stretchr/testify v1.8.4
go: downloading go.etcd.io/etcd v0.5.0-alpha.5.0.20240320135013-950cd5fbe6ca
go: downloading github.com/pingcap/sysutil v1.0.1-0.20230407040306-fb007c5aff21
go: downloading github.com/gorilla/mux v1.7.4
go: downloading golang.org/x/time v0.5.0
go: downloading github.com/docker/go-units v0.4.0
go: downloading go.uber.org/atomic v1.10.0
go: downloading github.com/smallnest/chanx v0.0.0-20221229104322-eb4c998d2072
go: downloading github.com/google/btree v1.1.2
go: downloading github.com/gogo/protobuf v1.3.2
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/gin-gonic/gin v1.9.1
go: downloading github.com/BurntSushi/toml v0.3.1
go: downloading github.com/coreos/go-semver v0.3.1
go: downloading github.com/shirou/gopsutil/v3 v3.23.3
go: downloading go.uber.org/goleak v1.3.0
go: downloading github.com/unrolled/render v1.0.1
go: downloading github.com/joho/godotenv v1.4.0
go: downloading github.com/pingcap/errcode v0.3.0
go: downloading github.com/urfave/negroni v0.3.0
go: downloading github.com/prometheus/common v0.51.1
go: downloading github.com/aws/aws-sdk-go-v2/credentials v1.13.18
go: downloading github.com/aws/aws-sdk-go-v2/config v1.18.19
go: downloading github.com/aws/aws-sdk-go-v2/service/kms v1.20.8
go: downloading github.com/aws/aws-sdk-go-v2/service/sts v1.18.7
go: downloading github.com/soheilhy/cmux v0.1.5
go: downloading github.com/mailru/easyjson v0.7.6
go: downloading github.com/elliotchance/pie/v2 v2.1.0
go: downloading github.com/phf/go-queue v0.0.0-20170504031614-9abe38d0371d
go: downloading gopkg.in/natefinch/lumberjack.v2 v2.2.1
go: downloading golang.org/x/net v0.23.0
go: downloading github.com/aws/aws-sdk-go-v2 v1.17.7
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/josharian/intern v1.0.0
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/golang/snappy v0.0.4
go: downloading google.golang.org/protobuf v1.33.0
go: downloading github.com/prometheus/client_model v0.6.0
go: downloading github.com/gin-contrib/sse v0.1.0
go: downloading github.com/mattn/go-isatty v0.0.19
go: downloading github.com/ugorji/go/codec v1.2.11
go: downloading github.com/go-playground/validator/v10 v10.14.0
go: downloading github.com/pelletier/go-toml/v2 v2.0.8
go: downloading golang.org/x/sys v0.18.0
go: downloading go.uber.org/multierr v1.11.0
go: downloading github.com/json-iterator/go v1.1.12
go: downloading github.com/cespare/xxhash/v2 v2.2.0
go: downloading github.com/prometheus/procfs v0.13.0
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/tklauser/go-sysconf v0.3.11
go: downloading github.com/aws/smithy-go v1.13.5
go: downloading github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.31
go: downloading github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.25
go: downloading github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.25
go: downloading github.com/aws/aws-sdk-go-v2/service/sso v1.12.6
go: downloading github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.6
go: downloading github.com/aws/aws-sdk-go-v2/internal/ini v1.3.32
go: downloading github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.1
go: downloading github.com/golang/protobuf v1.5.4
go: downloading github.com/go-playground/universal-translator v0.18.1
go: downloading github.com/gabriel-vasile/mimetype v1.4.2
go: downloading github.com/leodido/go-urn v1.2.4
go: downloading golang.org/x/text v0.14.0
go: downloading golang.org/x/crypto v0.21.0
go: downloading github.com/tklauser/numcpus v0.6.0
go: downloading github.com/modern-go/reflect2 v1.0.2
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/go-playground/locales v0.14.1
go: downloading github.com/rs/cors v1.7.0
go: downloading go.uber.org/fx v1.12.0
go: downloading github.com/joomcode/errorx v1.0.1
go: downloading github.com/samber/lo v1.37.0
go: downloading gorm.io/gorm v1.24.3
go: downloading github.com/go-resty/resty/v2 v2.6.0
go: downloading gorm.io/datatypes v1.1.0
go: downloading github.com/gtank/cryptopasta v0.0.0-20170601214702-1f550f6f2f69
go: downloading github.com/cenkalti/backoff/v4 v4.0.2
go: downloading github.com/goccy/go-graphviz v0.0.9
go: downloading github.com/ReneKroon/ttlcache/v2 v2.3.0
go: downloading github.com/Masterminds/semver v1.5.0
go: downloading github.com/shurcooL/httpgzip v0.0.0-20190720172056-320755c1c1b0
go: downloading github.com/breeswish/gin-jwt/v2 v2.6.4-jwt-patch
go: downloading gorm.io/driver/sqlite v1.4.3
go: downloading github.com/vmihailenco/msgpack/v5 v5.3.5
go: downloading github.com/VividCortex/mysqlerr v1.0.0
go: downloading golang.org/x/sync v0.6.0
go: downloading github.com/google/pprof v0.0.0-20211122183932-1daafda22083
go: downloading github.com/bitly/go-simplejson v0.5.0
go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible
go: downloading github.com/minio/sio v0.3.0
go: downloading gorm.io/driver/mysql v1.4.5
go: downloading golang.org/x/oauth2 v0.18.0
go: downloading moul.io/zapgorm2 v1.1.0
go: downloading github.com/Xeoncross/go-aesctr-with-hmac v0.0.0-20200623134604-12b17a7ff502
go: downloading github.com/google/uuid v1.6.0
go: downloading github.com/go-sql-driver/mysql v1.7.0
go: downloading github.com/oleiade/reflections v1.0.1
go: downloading github.com/pingcap/tipb v0.0.0-20220718022156-3e2483c20a9e
go: downloading github.com/stretchr/objx v0.5.0
go: downloading github.com/mattn/go-sqlite3 v1.14.15
go: downloading github.com/vmihailenco/tagparser/v2 v2.0.0
go: downloading go.uber.org/dig v1.9.0
go: downloading github.com/jinzhu/inflection v1.0.0
go: downloading github.com/jinzhu/now v1.1.5
go: downloading github.com/ianlancetaylor/demangle v0.0.0-20210905161508-09a460cdf81d
go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda
go: downloading google.golang.org/genproto v0.0.0-20240401170217-c3f982113cda
go: downloading golang.org/x/image v0.10.0
go: downloading github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/fogleman/gg v1.3.0
go: downloading github.com/coreos/pkg v0.0.0-20240122114842-bbd7aa9bf6fb
go: downloading github.com/grpc-ecosystem/grpc-gateway v1.16.0
go: downloading github.com/tmc/grpc-websocket-proxy v0.0.0-20220101234140-673ab2c3ae75
go: downloading github.com/jonboulle/clockwork v0.4.0
go: downloading go.etcd.io/bbolt v1.3.9
go: downloading github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf
go: downloading github.com/xiang90/probing v0.0.0-20221125231312-a49e3df8f510
go: downloading github.com/dustin/go-humanize v1.0.1
go: downloading sigs.k8s.io/yaml v1.4.0
go: downloading github.com/grpc-ecosystem/go-grpc-middleware v1.4.0
go: downloading github.com/sirupsen/logrus v1.9.3
go: downloading github.com/gorilla/websocket v1.5.1
go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20240401170217-c3f982113cda
./scripts/embed-dashboard-ui.sh
+ Clean up existing asset file
+ Fetch TiDB Dashboard Go module
go: downloading github.com/google/go-cmp v0.6.0
go: downloading github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869
go: downloading github.com/tidwall/match v1.1.1
go: downloading github.com/tidwall/pretty v1.2.0
go: downloading github.com/eknkc/amber v0.0.0-20171010120322-cdade1c07385
go: downloading github.com/onsi/ginkgo v1.7.0
go: downloading github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f
go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c
go: downloading github.com/shoenig/test v0.6.3
go: downloading golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5
go: downloading github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa
go: downloading github.com/pingcap/check v0.0.0-20191216031241-8a5a85928f12
go: downloading github.com/appleboy/gofight/v2 v2.1.2
go: downloading github.com/go-playground/assert/v2 v2.2.0
go: downloading github.com/jarcoal/httpmock v1.0.8
go: downloading github.com/corona10/goimagehash v1.0.2
go: downloading gorm.io/driver/postgres v1.4.5
go: downloading gorm.io/driver/sqlserver v1.4.1
go: downloading gotest.tools/v3 v3.0.3
go: downloading github.com/kr/pretty v0.3.1
go: downloading github.com/microsoft/go-mssqldb v0.17.0
go: downloading github.com/jackc/pgx/v4 v4.17.2
go: downloading github.com/jpillora/backoff v1.0.0
go: downloading github.com/rogpeppe/go-internal v1.10.0
go: downloading github.com/kr/text v0.2.0
go: downloading github.com/jackc/pgtype v1.12.0
go: downloading github.com/jackc/pgconn v1.13.0
go: downloading github.com/jackc/pgio v1.0.0
go: downloading github.com/jackc/pgproto3/v2 v2.3.1
go: downloading github.com/jackc/chunkreader/v2 v2.0.1
go: downloading github.com/jackc/pgpassfile v1.0.0
go: downloading github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b
go: downloading github.com/nfnt/resize v0.0.0-20160724205520-891127d8d1b5
go: downloading github.com/hpcloud/tail v1.0.0
go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
go: downloading gopkg.in/fsnotify.v1 v1.4.7
go: downloading github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9
go: downloading github.com/golang-sql/sqlexp v0.1.0
  - TiDB Dashboard directory: /go/pkg/mod/github.com/pingcap/tidb-dashboard@v0.0.0-20240326110213-9768844ff5d7
+ Create download cache directory: /home/jenkins/agent/workspace/tikv/pd/ghpr_build/pd/.dashboard_download_cache
+ Discover TiDB Dashboard release version
  - TiDB Dashboard release version: 8.0.0-9768844f
+ Check whether pre-built assets are available
  - Cached archive does not exist
  - Download pre-built embedded assets from GitHub release
  - Download https://github.com/pingcap/tidb-dashboard/releases/download/v8.0.0-9768844f/embedded-assets-golang.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
 24 12.1M   24 3048k    0     0  1083k      0  0:00:11  0:00:02  0:00:09 1583k
100 12.1M  100 12.1M    0     0  3567k      0  0:00:03  0:00:03 --:--:-- 4788k
  - Save archive to cache: /home/jenkins/agent/workspace/tikv/pd/ghpr_build/pd/.dashboard_download_cache/embedded-assets-golang-8.0.0-9768844f.zip
+ Unpack embedded asset from archive
Archive:  /home/jenkins/agent/workspace/tikv/pd/ghpr_build/pd/.dashboard_download_cache/embedded-assets-golang-8.0.0-9768844f.zip
  inflating: embedded_assets_handler.go  
  - Unpacked /home/jenkins/agent/workspace/tikv/pd/ghpr_build/pd/pkg/dashboard/uiserver/embedded_assets_handler.go
GOEXPERIMENT= CGO_ENABLED=1 go build  -race -gcflags '' -ldflags '-X "github.com/tikv/pd/pkg/versioninfo.PDReleaseVersion=v8.2.0-alpha-20-g3287f5c9" -X "github.com/tikv/pd/pkg/versioninfo.PDBuildTS=2024-05-06 07:49:36" -X "github.com/tikv/pd/pkg/versioninfo.PDGitHash=3287f5c9b1dae901f0144e843342c5f16e09541e" -X "github.com/tikv/pd/pkg/versioninfo.PDGitBranch=HEAD" -X "github.com/tikv/pd/pkg/versioninfo.PDEdition=Community" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.InternalVersion=8.0.0-9768844f" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.Standalone=No" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.PDVersion=v8.2.0-alpha-20-g3287f5c9" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.BuildTime=2024-05-06 07:49:36" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.BuildGitHash=9768844ff5d7"' -tags "" -o /home/jenkins/agent/workspace/tikv/pd/ghpr_build/pd/bin/pd-server cmd/pd-server/main.go
cd tools && GOEXPERIMENT= CGO_ENABLED=0 go build -gcflags '' -ldflags '-X "github.com/tikv/pd/pkg/versioninfo.PDReleaseVersion=v8.2.0-alpha-20-g3287f5c9" -X "github.com/tikv/pd/pkg/versioninfo.PDBuildTS=2024-05-06 07:51:19" -X "github.com/tikv/pd/pkg/versioninfo.PDGitHash=3287f5c9b1dae901f0144e843342c5f16e09541e" -X "github.com/tikv/pd/pkg/versioninfo.PDGitBranch=HEAD" -X "github.com/tikv/pd/pkg/versioninfo.PDEdition=Community" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.InternalVersion=8.0.0-9768844f" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.Standalone=No" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.PDVersion=v8.2.0-alpha-20-g3287f5c9" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.BuildTime=2024-05-06 07:51:19" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.BuildGitHash=9768844ff5d7"' -o /home/jenkins/agent/workspace/tikv/pd/ghpr_build/pd/bin/pd-ctl pd-ctl/main.go
go: downloading github.com/mattn/go-shellwords v1.0.12
go: downloading github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e
go: downloading github.com/opentracing/opentracing-go v1.2.0
cd tools && GOEXPERIMENT= CGO_ENABLED=0 go build -gcflags '' -ldflags '-X "github.com/tikv/pd/pkg/versioninfo.PDReleaseVersion=v8.2.0-alpha-20-g3287f5c9" -X "github.com/tikv/pd/pkg/versioninfo.PDBuildTS=2024-05-06 07:52:18" -X "github.com/tikv/pd/pkg/versioninfo.PDGitHash=3287f5c9b1dae901f0144e843342c5f16e09541e" -X "github.com/tikv/pd/pkg/versioninfo.PDGitBranch=HEAD" -X "github.com/tikv/pd/pkg/versioninfo.PDEdition=Community" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.InternalVersion=8.0.0-9768844f" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.Standalone=No" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.PDVersion=v8.2.0-alpha-20-g3287f5c9" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.BuildTime=2024-05-06 07:52:18" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.BuildGitHash=9768844ff5d7"' -o /home/jenkins/agent/workspace/tikv/pd/ghpr_build/pd/bin/pd-recover pd-recover/main.go
+ mv bin/pd-server bin/pd-server-race
+ make
./scripts/embed-dashboard-ui.sh
+ Clean up existing asset file
+ Fetch TiDB Dashboard Go module
  - TiDB Dashboard directory: /go/pkg/mod/github.com/pingcap/tidb-dashboard@v0.0.0-20240326110213-9768844ff5d7
+ Create download cache directory: /home/jenkins/agent/workspace/tikv/pd/ghpr_build/pd/.dashboard_download_cache
+ Discover TiDB Dashboard release version
  - TiDB Dashboard release version: 8.0.0-9768844f
+ Check whether pre-built assets are available
  - Cached archive exists: /home/jenkins/agent/workspace/tikv/pd/ghpr_build/pd/.dashboard_download_cache/embedded-assets-golang-8.0.0-9768844f.zip
+ Unpack embedded asset from archive
Archive:  /home/jenkins/agent/workspace/tikv/pd/ghpr_build/pd/.dashboard_download_cache/embedded-assets-golang-8.0.0-9768844f.zip
  inflating: embedded_assets_handler.go  
  - Unpacked /home/jenkins/agent/workspace/tikv/pd/ghpr_build/pd/pkg/dashboard/uiserver/embedded_assets_handler.go
GOEXPERIMENT= CGO_ENABLED=1 go build  -gcflags '' -ldflags '-X "github.com/tikv/pd/pkg/versioninfo.PDReleaseVersion=v8.2.0-alpha-20-g3287f5c9" -X "github.com/tikv/pd/pkg/versioninfo.PDBuildTS=2024-05-06 07:52:22" -X "github.com/tikv/pd/pkg/versioninfo.PDGitHash=3287f5c9b1dae901f0144e843342c5f16e09541e" -X "github.com/tikv/pd/pkg/versioninfo.PDGitBranch=HEAD" -X "github.com/tikv/pd/pkg/versioninfo.PDEdition=Community" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.InternalVersion=8.0.0-9768844f" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.Standalone=No" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.PDVersion=v8.2.0-alpha-20-g3287f5c9" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.BuildTime=2024-05-06 07:52:23" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.BuildGitHash=9768844ff5d7"' -tags "" -o /home/jenkins/agent/workspace/tikv/pd/ghpr_build/pd/bin/pd-server cmd/pd-server/main.go
cd tools && GOEXPERIMENT= CGO_ENABLED=0 go build -gcflags '' -ldflags '-X "github.com/tikv/pd/pkg/versioninfo.PDReleaseVersion=v8.2.0-alpha-20-g3287f5c9" -X "github.com/tikv/pd/pkg/versioninfo.PDBuildTS=2024-05-06 07:53:40" -X "github.com/tikv/pd/pkg/versioninfo.PDGitHash=3287f5c9b1dae901f0144e843342c5f16e09541e" -X "github.com/tikv/pd/pkg/versioninfo.PDGitBranch=HEAD" -X "github.com/tikv/pd/pkg/versioninfo.PDEdition=Community" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.InternalVersion=8.0.0-9768844f" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.Standalone=No" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.PDVersion=v8.2.0-alpha-20-g3287f5c9" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.BuildTime=2024-05-06 07:53:40" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.BuildGitHash=9768844ff5d7"' -o /home/jenkins/agent/workspace/tikv/pd/ghpr_build/pd/bin/pd-ctl pd-ctl/main.go
cd tools && GOEXPERIMENT= CGO_ENABLED=0 go build -gcflags '' -ldflags '-X "github.com/tikv/pd/pkg/versioninfo.PDReleaseVersion=v8.2.0-alpha-20-g3287f5c9" -X "github.com/tikv/pd/pkg/versioninfo.PDBuildTS=2024-05-06 07:53:42" -X "github.com/tikv/pd/pkg/versioninfo.PDGitHash=3287f5c9b1dae901f0144e843342c5f16e09541e" -X "github.com/tikv/pd/pkg/versioninfo.PDGitBranch=HEAD" -X "github.com/tikv/pd/pkg/versioninfo.PDEdition=Community" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.InternalVersion=8.0.0-9768844f" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.Standalone=No" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.PDVersion=v8.2.0-alpha-20-g3287f5c9" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.BuildTime=2024-05-06 07:53:42" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.BuildGitHash=9768844ff5d7"' -o /home/jenkins/agent/workspace/tikv/pd/ghpr_build/pd/bin/pd-recover pd-recover/main.go
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Upload)
[Pipeline] timeout
Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] dir
Running in /home/jenkins/agent/workspace/tikv/pd/ghpr_build/pd
[Pipeline] {
[Pipeline] sh
+ rm -rf .git
+ tar czvf pd-server.tar.gz bin
bin/
bin/pd-server
bin/pd-ctl
bin/pd-recover
bin/pd-server-race
+ echo pr/3287f5c9b1dae901f0144e843342c5f16e09541e
[Pipeline] sh
+ filepath=builds/pingcap/pd/pr/3287f5c9b1dae901f0144e843342c5f16e09541e/centos7/pd-server.tar.gz
+ refspath=refs/pingcap/pd/pr/8132/sha1
+ curl -F builds/pingcap/pd/pr/3287f5c9b1dae901f0144e843342c5f16e09541e/centos7/pd-server.tar.gz=@pd-server.tar.gz http://fileserver.pingcap.net/upload
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  146M    0     0  100  146M      0   142M  0:00:01  0:00:01 --:--:--  142M
100  146M    0     0  100  146M      0  72.2M  0:00:02  0:00:02 --:--:-- 72.2M
100  146M    0     0  100  146M      0  48.4M  0:00:03  0:00:03 --:--:-- 48.4M
100  146M    0     0  100  146M      0  36.3M  0:00:04  0:00:04 --:--:-- 36.3M
100  146M    0     0  100  146M      0  29.1M  0:00:05  0:00:05 --:--:-- 29.2M
100  146M  100   151  100  146M     29  29.0M  0:00:05  0:00:05 --:--:--     0
{"msg":"success","url":"http://fileserver.pingcap.net/download/builds/pingcap/pd/pr/3287f5c9b1dae901f0144e843342c5f16e09541e/centos7/pd-server.tar.gz"}+ curl -F refs/pingcap/pd/pr/8132/sha1=@sha1 http://fileserver.pingcap.net/upload
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   357  100    93  100   264   2023   5745 --:--:-- --:--:-- --:--:--  5866
{"msg":"success","url":"http://fileserver.pingcap.net/download/refs/pingcap/pd/pr/8132/sha1"}
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
Finished: SUCCESS