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 cached. Copying from home.
[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-1235-wztt4-jvgpt-jrm7q
Agent tikv-pd-ghpr-build-1235-wztt4-jvgpt-jrm7q is provisioned from template tikv_pd_ghpr_build_1235-wztt4-jvgpt
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/tikv/job/pd/job/ghpr_build/1235/"
    runUrl: "job/tikv/job/pd/job/ghpr_build/1235/"
  labels:
    jenkins/jenkins-jenkins-agent: "true"
    jenkins/label-digest: "768dcae5ddad4ada96df32be6f97493fbfebfb94"
    jenkins/label: "tikv_pd_ghpr_build_1235-wztt4"
  name: "tikv-pd-ghpr-build-1235-wztt4-jvgpt-jrm7q"
  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-1235-wztt4-jvgpt-jrm7q"
    - name: "JENKINS_NAME"
      value: "tikv-pd-ghpr-build-1235-wztt4-jvgpt-jrm7q"
    - 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-1235-wztt4-jvgpt-jrm7q 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=ee274b42-b182-4386-b6fd-e8b62d3a74db
JENKINS_NODE_COOKIE=b1da2301-1cce-4c4a-a32f-7ed2acfdc321
BUILD_URL=https://do.pingcap.net/jenkins/job/tikv/job/pd/job/ghpr_build/1235/
GOLANG_VERSION=1.21.6
HOSTNAME=tikv-pd-ghpr-build-1235-wztt4-jvgpt-jrm7q
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-1235
KUBERNETES_SERVICE_PORT=443
JOB_SPEC={"type":"presubmit","job":"tikv/pd/ghpr_build","buildid":"1787416613654368256","prowjobid":"ee274b42-b182-4386-b6fd-e8b62d3a74db","refs":{"org":"tikv","repo":"pd","repo_link":"https://github.com/tikv/pd","base_ref":"master","base_sha":"f83febabecb98b95b098fd31a3664178f8a6b437","base_link":"https://github.com/tikv/pd/commit/f83febabecb98b95b098fd31a3664178f8a6b437","pulls":[{"number":8130,"author":"rleungx","sha":"236d93caffbef8165030f70e7418d916f58b309e","title":"*: split into multiple runner for heartbeat","link":"https://github.com/tikv/pd/pull/8130","commit_link":"https://github.com/tikv/pd/pull/8130/commits/236d93caffbef8165030f70e7418d916f58b309e","author_link":"https://github.com/rleungx"}]}}
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/1235/display/redirect?page=changes
RUN_ARTIFACTS_DISPLAY_URL=https://do.pingcap.net/jenkins/job/tikv/job/pd/job/ghpr_build/1235/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/1235/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=#1235
JENKINS_URL=https://do.pingcap.net/jenkins/
BUILD_ID=1787416613654368256
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/1235/display/redirect?page=tests
SHLVL=3
HOME=/home/jenkins
POD_LABEL=tikv_pd_ghpr_build_1235-wztt4
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_1235-wztt4 tikv-pd-ghpr-build-1235-wztt4-jvgpt-jrm7q
HUDSON_HOME=/var/jenkins_home
CLASSPATH=
NODE_NAME=tikv-pd-ghpr-build-1235-wztt4-jvgpt-jrm7q
GOPATH=/go
JOB_DISPLAY_URL=https://do.pingcap.net/jenkins/job/tikv/job/pd/job/ghpr_build/display/redirect
BUILD_NUMBER=1235
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-build1360692591=/tmp/go-build -gno-record-gcc-switches'
+ echo -------------------------
-------------------------
+ echo 'debug command: kubectl -n jenkins-pd exec -ti tikv-pd-ghpr-build-1235-wztt4-jvgpt-jrm7q bash'
debug command: kubectl -n jenkins-pd exec -ti tikv-pd-ghpr-build-1235-wztt4-jvgpt-jrm7q 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: 3027
;; 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: 91 msec
;; SERVER: 169.254.25.10#53(169.254.25.10) (UDP)
;; WHEN: Mon May 06 09:38:45 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-f83feba-4228985)
89348608 bytes in 0.81 secs (110114323 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 42289852 Merge branch 'master' into add-metrics
POST git-upload-pack (650 bytes)
POST git-upload-pack (973 bytes)
From https://github.com/tikv/pd
 = [up to date]        master              -> origin/master
   a66b33ea..236d93ca  refs/pull/8130/head -> origin/pr/8130/head
Previous HEAD position was 42289852 Merge branch 'master' into add-metrics
HEAD is now at f83febab core: check stats healthy by reference (#8132)
๐Ÿšง Checkouting to base SHA:f83febabecb98b95b098fd31a3664178f8a6b437...
HEAD is now at f83febab core: check stats healthy by reference (#8132)
โœ… Checked. ๐ŸŽ‰
๐Ÿงพ HEAD info:
f83febabecb98b95b098fd31a3664178f8a6b437
f83febab core: check stats healthy by reference (#8132)
1679dbca client/tso: decouple tsoClient and tsoDispatcher (#8134)
8ee18a4b pkg: fix `RegionStatsNeedUpdate` condition (#8133)
๐Ÿšง Pre-merge heads of pull requests to base SHA: f83febabecb98b95b098fd31a3664178f8a6b437 ...
Updating f83febab..236d93ca
Fast-forward
 pkg/core/context.go                  |   3 +-
 pkg/core/region.go                   |  37 ++---------
 pkg/mcs/scheduling/server/cluster.go |  38 ++++++-----
 pkg/ratelimit/runner.go              | 118 +++++++++++++++++++++--------------
 pkg/ratelimit/runner_test.go         |  36 +++++------
 server/cluster/cluster.go            |  43 +++++++------
 server/cluster/cluster_worker.go     |  13 ++--
 7 files changed, 149 insertions(+), 139 deletions(-)
๐Ÿงพ Pre-merged result:
236d93caffbef8165030f70e7418d916f58b309e
236d93ca Merge branch 'master' into multi-runner
f83febab core: check stats healthy by reference (#8132)
a66b33ea address the comment
โœ… Pre merged ๐ŸŽ‰
โœ… ~~~~~All done.~~~~~~
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // retry
[Pipeline] }
Cache saved successfully (git/tikv/pd/rev-f83feba-236d93c)
89408512 bytes in 1.79 secs (50080543 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/pingcap/tidb-dashboard v0.0.0-20240326110213-9768844ff5d7
go: downloading github.com/prometheus/client_golang v1.19.0
go: downloading github.com/smallnest/chanx v0.0.0-20221229104322-eb4c998d2072
go: downloading github.com/pingcap/errors v0.11.5-0.20211224045212-9687c2b0f87c
go: downloading github.com/pingcap/errcode v0.3.0
go: downloading github.com/pingcap/log v1.1.1-0.20221110025148-ca232912c9f3
go: downloading github.com/BurntSushi/toml v0.3.1
go: downloading go.uber.org/zap v1.27.0
go: downloading github.com/shirou/gopsutil/v3 v3.23.3
go: downloading github.com/prometheus/common v0.51.1
go: downloading go.etcd.io/etcd v0.5.0-alpha.5.0.20240320135013-950cd5fbe6ca
go: downloading github.com/syndtr/goleveldb v1.0.1-0.20190318030020-c3a204f8e965
go: downloading github.com/google/btree v1.1.2
go: downloading github.com/aws/aws-sdk-go-v2/credentials v1.13.18
go: downloading github.com/gin-contrib/gzip v0.0.1
go: downloading golang.org/x/exp v0.0.0-20230711005742-c3f37128e5a4
go: downloading github.com/gin-contrib/pprof v1.4.0
go: downloading google.golang.org/grpc v1.62.1
go: downloading go.uber.org/atomic v1.10.0
go: downloading github.com/mailru/easyjson v0.7.6
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/pingcap/kvproto v0.0.0-20240403065636-c699538f7aa1
go: downloading github.com/joho/godotenv v1.4.0
go: downloading github.com/unrolled/render v1.0.1
go: downloading github.com/docker/go-units v0.4.0
go: downloading github.com/stretchr/testify v1.8.4
go: downloading github.com/pingcap/failpoint v0.0.0-20210918120811-547c13e3eb00
go: downloading github.com/cakturk/go-netstat v0.0.0-20200220111822-e5b49efee7a5
go: downloading github.com/gorilla/mux v1.7.4
go: downloading github.com/gin-contrib/cors v1.4.0
go: downloading github.com/pingcap/sysutil v1.0.1-0.20230407040306-fb007c5aff21
go: downloading github.com/coreos/go-semver v0.3.1
go: downloading github.com/gogo/protobuf v1.3.2
go: downloading github.com/gin-gonic/gin v1.9.1
go: downloading golang.org/x/time v0.5.0
go: downloading github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0
go: downloading github.com/soheilhy/cmux v0.1.5
go: downloading github.com/urfave/negroni v0.3.0
go: downloading github.com/spf13/cobra v1.8.0
go: downloading github.com/aws/aws-sdk-go-v2/config v1.18.19
go: downloading github.com/phf/go-queue v0.0.0-20170504031614-9abe38d0371d
go: downloading go.uber.org/goleak v1.3.0
go: downloading github.com/elliotchance/pie/v2 v2.1.0
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 golang.org/x/net v0.23.0
go: downloading gopkg.in/natefinch/lumberjack.v2 v2.2.1
go: downloading github.com/aws/aws-sdk-go-v2 v1.17.7
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading github.com/josharian/intern v1.0.0
go: downloading github.com/golang/snappy v0.0.4
go: downloading github.com/gin-contrib/sse v0.1.0
go: downloading github.com/mattn/go-isatty v0.0.19
go: downloading github.com/pelletier/go-toml/v2 v2.0.8
go: downloading github.com/ugorji/go/codec v1.2.11
go: downloading google.golang.org/protobuf v1.33.0
go: downloading github.com/go-playground/validator/v10 v10.14.0
go: downloading github.com/prometheus/client_model v0.6.0
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/beorn7/perks v1.0.1
go: downloading github.com/prometheus/procfs v0.13.0
go: downloading github.com/cespare/xxhash/v2 v2.2.0
go: downloading github.com/tklauser/go-sysconf v0.3.11
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/configsources v1.1.31
go: downloading github.com/aws/smithy-go v1.13.5
go: downloading github.com/aws/aws-sdk-go-v2/service/sso v1.12.6
go: downloading github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.1
go: downloading github.com/aws/aws-sdk-go-v2/internal/ini v1.3.32
go: downloading github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.6
go: downloading github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.25
go: downloading golang.org/x/text v0.14.0
go: downloading github.com/go-playground/universal-translator v0.18.1
go: downloading github.com/leodido/go-urn v1.2.4
go: downloading github.com/gabriel-vasile/mimetype v1.4.2
go: downloading golang.org/x/crypto v0.21.0
go: downloading github.com/golang/protobuf v1.5.4
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 github.com/VividCortex/mysqlerr v1.0.0
go: downloading github.com/joomcode/errorx v1.0.1
go: downloading gorm.io/driver/sqlite v1.4.3
go: downloading gorm.io/driver/mysql v1.4.5
go: downloading gorm.io/gorm v1.24.3
go: downloading gorm.io/datatypes v1.1.0
go: downloading github.com/go-sql-driver/mysql v1.7.0
go: downloading go.uber.org/fx v1.12.0
go: downloading github.com/samber/lo v1.37.0
go: downloading github.com/goccy/go-graphviz v0.0.9
go: downloading github.com/google/uuid v1.6.0
go: downloading moul.io/zapgorm2 v1.1.0
go: downloading github.com/shurcooL/httpgzip v0.0.0-20190720172056-320755c1c1b0
go: downloading github.com/cenkalti/backoff/v4 v4.0.2
go: downloading github.com/google/pprof v0.0.0-20211122183932-1daafda22083
go: downloading github.com/go-resty/resty/v2 v2.6.0
go: downloading github.com/Masterminds/semver v1.5.0
go: downloading github.com/ReneKroon/ttlcache/v2 v2.3.0
go: downloading github.com/breeswish/gin-jwt/v2 v2.6.4-jwt-patch
go: downloading github.com/gtank/cryptopasta v0.0.0-20170601214702-1f550f6f2f69
go: downloading golang.org/x/sync v0.6.0
go: downloading golang.org/x/oauth2 v0.18.0
go: downloading github.com/Xeoncross/go-aesctr-with-hmac v0.0.0-20200623134604-12b17a7ff502
go: downloading github.com/vmihailenco/msgpack/v5 v5.3.5
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/stretchr/objx v0.5.0
go: downloading github.com/pingcap/tipb v0.0.0-20220718022156-3e2483c20a9e
go: downloading github.com/minio/sio v0.3.0
go: downloading github.com/oleiade/reflections v1.0.1
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/fogleman/gg v1.3.0
go: downloading github.com/pkg/errors v0.9.1
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 go.etcd.io/bbolt v1.3.9
go: downloading github.com/dustin/go-humanize v1.0.1
go: downloading github.com/grpc-ecosystem/go-grpc-middleware v1.4.0
go: downloading github.com/jonboulle/clockwork v0.4.0
go: downloading github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf
go: downloading sigs.k8s.io/yaml v1.4.0
go: downloading github.com/xiang90/probing v0.0.0-20221125231312-a49e3df8f510
go: downloading github.com/gorilla/websocket v1.5.1
go: downloading github.com/sirupsen/logrus v1.9.3
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/eknkc/amber v0.0.0-20171010120322-cdade1c07385
go: downloading github.com/google/go-cmp v0.6.0
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/pingcap/check v0.0.0-20191216031241-8a5a85928f12
go: downloading github.com/go-playground/assert/v2 v2.2.0
go: downloading github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa
go: downloading github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869
go: downloading gorm.io/driver/sqlserver v1.4.1
go: downloading gorm.io/driver/postgres v1.4.5
go: downloading github.com/jarcoal/httpmock v1.0.8
go: downloading gotest.tools/v3 v3.0.3
go: downloading github.com/tidwall/pretty v1.2.0
go: downloading github.com/appleboy/gofight/v2 v2.1.2
go: downloading github.com/corona10/goimagehash v1.0.2
go: downloading github.com/tidwall/match v1.1.1
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 github.com/golang-sql/sqlexp v0.1.0
go: downloading github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9
go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
go: downloading gopkg.in/fsnotify.v1 v1.4.7
  - 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
  0 12.1M    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
 41 12.1M   41 5208k    0     0  1638k      0  0:00:07  0:00:03  0:00:04 4904k
100 12.1M  100 12.1M    0     0  3253k      0  0:00:03  0:00:03 --:--:-- 7281k
  - 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-19-g236d93ca" -X "github.com/tikv/pd/pkg/versioninfo.PDBuildTS=2024-05-06 09:39:08" -X "github.com/tikv/pd/pkg/versioninfo.PDGitHash=236d93caffbef8165030f70e7418d916f58b309e" -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-19-g236d93ca" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.BuildTime=2024-05-06 09:39:08" -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
# github.com/tikv/pd/server/cluster
server/cluster/cluster.go:1054:10: undefined: core.ExtraTaskOpts
server/cluster/cluster.go:1054:34: undefined: core.UpdateSubTree
server/cluster/cluster.go:1055:5: cannot use func(_ context.Context) {โ€ฆ} (value of type func(_ "context".Context)) as "github.com/tikv/pd/pkg/ratelimit".TaskOption value in argument to ctx.TaskRunner.RunTask
# github.com/tikv/pd/pkg/mcs/scheduling/server
pkg/mcs/scheduling/server/cluster.go:626:10: undefined: core.ExtraTaskOpts
pkg/mcs/scheduling/server/cluster.go:626:34: undefined: core.UpdateSubTree
pkg/mcs/scheduling/server/cluster.go:627:5: cannot use func(_ context.Context) {โ€ฆ} (value of type func(_ "context".Context)) as "github.com/tikv/pd/pkg/ratelimit".TaskOption value in argument to ctx.TaskRunner.RunTask
make: *** [pd-server] Error 1
+ 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-19-g236d93ca" -X "github.com/tikv/pd/pkg/versioninfo.PDBuildTS=2024-05-06 09:40:38" -X "github.com/tikv/pd/pkg/versioninfo.PDGitHash=236d93caffbef8165030f70e7418d916f58b309e" -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-19-g236d93ca" -X "github.com/pingcap/tidb-dashboard/pkg/utils/version.BuildTime=2024-05-06 09:40:38" -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
# github.com/tikv/pd/server/cluster
server/cluster/cluster.go:1054:10: undefined: core.ExtraTaskOpts
server/cluster/cluster.go:1054:34: undefined: core.UpdateSubTree
server/cluster/cluster.go:1055:5: cannot use func(_ context.Context) {โ€ฆ} (value of type func(_ "context".Context)) as "github.com/tikv/pd/pkg/ratelimit".TaskOption value in argument to ctx.TaskRunner.RunTask
# github.com/tikv/pd/pkg/mcs/scheduling/server
pkg/mcs/scheduling/server/cluster.go:626:10: undefined: core.ExtraTaskOpts
pkg/mcs/scheduling/server/cluster.go:626:34: undefined: core.UpdateSubTree
pkg/mcs/scheduling/server/cluster.go:627:5: cannot use func(_ context.Context) {โ€ฆ} (value of type func(_ "context".Context)) as "github.com/tikv/pd/pkg/ratelimit".TaskOption value in argument to ctx.TaskRunner.RunTask
make: *** [pd-server] Error 1
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Upload)
Stage "Upload" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
ERROR: script returned exit code 2
Finished: FAILURE