Skip to content

Console Output

Started by user Jenkins Admin
Obtained pipelines/pingcap/tidb/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/pingcap/tidb/latest/pod-ghpr_build.yaml from git https://github.com/PingCAP-QE/ci.git
[Pipeline] podTemplate
[Pipeline] {
[Pipeline] node
Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-build-8564-15b7r-12mfl-dgq03
Agent pingcap-tidb-ghpr-build-8564-15b7r-12mfl-dgq03 is provisioned from template pingcap_tidb_ghpr_build_8564-15b7r-12mfl
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_build/8564/"
    runUrl: "job/pingcap/job/tidb/job/ghpr_build/8564/"
  labels:
    jenkins/jenkins-jenkins-agent: "true"
    jenkins/label-digest: "d78ba05438f64f9e77938936afc41b63d023549a"
    jenkins/label: "pingcap_tidb_ghpr_build_8564-15b7r"
  name: "pingcap-tidb-ghpr-build-8564-15b7r-12mfl-dgq03"
  namespace: "jenkins-tidb"
spec:
  affinity:
    nodeAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
        nodeSelectorTerms:
        - matchExpressions:
          - key: "kubernetes.io/arch"
            operator: "In"
            values:
            - "amd64"
  containers:
  - image: "hub.pingcap.net/wangweizhen/tidb_image:go12120230809"
    lifecycle:
      postStart:
        exec:
          command:
          - "/bin/sh"
          - "/data/bazel-prepare-in-container.sh"
    name: "golang"
    resources:
      limits:
        memory: "64Gi"
        cpu: "16"
    securityContext:
      privileged: true
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins/.tidb/tmp"
      name: "bazel-out-merged"
    - mountPath: "/bazel-out-lower"
      name: "bazel-out-lower"
      subPath: "tidb/go1.19.2"
    - mountPath: "/bazel-out-overlay"
      name: "bazel-out-overlay"
    - mountPath: "/share/.cache/go-build"
      name: "gocache"
    - mountPath: "/share/.go"
      name: "gopathcache"
    - mountPath: "/data/"
      name: "bazel-rc"
      readOnly: true
    - mountPath: "/etc/containerinfo"
      name: "containerinfo"
    - 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: "pingcap-tidb-ghpr-build-8564-15b7r-12mfl-dgq03"
    - name: "JENKINS_NAME"
      value: "pingcap-tidb-ghpr-build-8564-15b7r-12mfl-dgq03"
    - 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: {}
    name: "bazel-out-merged"
  - name: "bazel-rc"
    secret:
      secretName: "bazel"
  - emptyDir: {}
    name: "bazel-out-overlay"
  - name: "gocache"
    persistentVolumeClaim:
      claimName: "gocache"
  - downwardAPI:
      items:
      - path: "cpu_limit"
        resourceFieldRef:
          containerName: "golang"
          resource: "limits.cpu"
      - path: "cpu_request"
        resourceFieldRef:
          containerName: "golang"
          resource: "requests.cpu"
      - path: "mem_limit"
        resourceFieldRef:
          containerName: "golang"
          resource: "limits.memory"
      - path: "mem_request"
        resourceFieldRef:
          containerName: "golang"
          resource: "requests.memory"
    name: "containerinfo"
  - name: "bazel-out-lower"
    persistentVolumeClaim:
      claimName: "bazel-out-data"
  - emptyDir:
      medium: ""
    name: "workspace-volume"
  - name: "gopathcache"
    persistentVolumeClaim:
      claimName: "gopathcache"

Running on pingcap-tidb-ghpr-build-8564-15b7r-12mfl-dgq03 in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_build
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
The recommended git tool is: git
No credentials specified
Cloning the remote Git repository
Using shallow clone with depth 1
Cloning repository https://github.com/PingCAP-QE/ci.git
 > git init /home/jenkins/agent/workspace/pingcap/tidb/ghpr_build # timeout=10
Fetching upstream changes from https://github.com/PingCAP-QE/ci.git
 > git --version # timeout=10
 > git --version # 'git version 2.39.2'
 > git fetch --tags --force --progress --depth=1 -- https://github.com/PingCAP-QE/ci.git +refs/heads/*:refs/remotes/origin/* # timeout=5
 > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
Checking out Revision 03312178c534dce949face80c69812d989e55009 (origin/main)
Commit message: "fix(br): use failpoint tidb-server instead (#2951)"
 > git rev-parse origin/main^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 03312178c534dce949face80c69812d989e55009 # timeout=10
 > git rev-list --no-walk 03312178c534dce949face80c69812d989e55009 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] container
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] timeout
Timeout set to expire in 1 hr 30 min
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Debug info)
[Pipeline] sh
+ printenv
PROW_JOB_ID=ca1292bd-f75f-4b27-b27a-21fe9d687626
JENKINS_NODE_COOKIE=2daac014-6cea-46cf-901a-82ab74aec42e
BUILD_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_build/8564/
GOLANG_VERSION=1.21.0
HOSTNAME=pingcap-tidb-ghpr-build-8564-15b7r-12mfl-dgq03
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-pingcap-tidb-ghpr_build-8564
KUBERNETES_SERVICE_PORT=443
GIT_PREVIOUS_COMMIT=03312178c534dce949face80c69812d989e55009
JOB_SPEC={"type":"presubmit","job":"pingcap/tidb/ghpr_build","buildid":"1787407306565095430","prowjobid":"ca1292bd-f75f-4b27-b27a-21fe9d687626","refs":{"org":"pingcap","repo":"tidb","repo_link":"https://github.com/pingcap/tidb","base_ref":"master","base_sha":"659f32a81300f9dbcea9032b3c8e4825555ccfd1","base_link":"https://github.com/pingcap/tidb/commit/659f32a81300f9dbcea9032b3c8e4825555ccfd1","pulls":[{"number":53031,"author":"AilinKid","sha":"24e4950cf02e61157243517558701e55d232f711","title":"planner: move MemtablePredicateExtractor interface to a unified base place.","link":"https://github.com/pingcap/tidb/pull/53031","commit_link":"https://github.com/pingcap/tidb/pull/53031/commits/24e4950cf02e61157243517558701e55d232f711","author_link":"https://github.com/AilinKid"}]}}
KUBERNETES_SERVICE_HOST=10.233.0.1
WORKSPACE=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_build
JOB_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_build/
RUN_CHANGES_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_build/8564/display/redirect?page=changes
RUN_ARTIFACTS_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_build/8564/display/redirect?page=artifacts
FILE_SERVER_URL=http://fileserver.pingcap.net
JENKINS_HOME=/var/jenkins_home
GIT_COMMIT=03312178c534dce949face80c69812d989e55009
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/pingcap/job/tidb/job/ghpr_build/8564/display/redirect
GOPROXY=http://goproxy.apps.svc,https://proxy.golang.org,direct
_=/usr/bin/printenv
POD_CONTAINER=golang
PWD=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_build
HUDSON_URL=https://do.pingcap.net/jenkins/
JOB_NAME=pingcap/tidb/ghpr_build
TZ=Asia/Shanghai
BUILD_DISPLAY_NAME=#8564
JENKINS_URL=https://do.pingcap.net/jenkins/
BUILD_ID=1787407306565095430
GOLANG_DOWNLOAD_SHA256=d0398903a16ba2232b389fb31032ddf57cac34efda306a0eebac34f0965a0742
JOB_BASE_NAME=ghpr_build
GIT_PREVIOUS_SUCCESSFUL_COMMIT=03312178c534dce949face80c69812d989e55009
RUN_TESTS_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_build/8564/display/redirect?page=tests
SHLVL=3
HOME=/home/jenkins
POD_LABEL=pingcap_tidb_ghpr_build_8564-15b7r
GOROOT=/usr/local/go
GIT_BRANCH=origin/main
KUBERNETES_PORT_443_TCP_PROTO=tcp
CI=true
KUBERNETES_SERVICE_PORT_HTTPS=443
WORKSPACE_TMP=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_build@tmp
EXECUTOR_NUMBER=0
JENKINS_SERVER_COOKIE=durable-5ed2184ac1dada1b446f151cad51335854fa74627c8b9c06037d3871b9040057
NODE_LABELS=pingcap_tidb_ghpr_build_8564-15b7r pingcap-tidb-ghpr-build-8564-15b7r-12mfl-dgq03
GIT_URL=https://github.com/PingCAP-QE/ci.git
HUDSON_HOME=/var/jenkins_home
CLASSPATH=
NODE_NAME=pingcap-tidb-ghpr-build-8564-15b7r-12mfl-dgq03
GOPATH=/go
JOB_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_build/display/redirect
BUILD_NUMBER=8564
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.0.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.0'
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-build932285809=/tmp/go-build -gno-record-gcc-switches'
+ echo -------------------------
-------------------------
+ ls -l /dev/null
crw-rw-rw-. 1 jenkins root 1, 3 May  6 17:01 /dev/null
+ echo 'debug command: kubectl -n jenkins-tidb exec -ti pingcap-tidb-ghpr-build-8564-15b7r-12mfl-dgq03 bash'
debug command: kubectl -n jenkins-tidb exec -ti pingcap-tidb-ghpr-build-8564-15b7r-12mfl-dgq03 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: 33215
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: 9c1fb5e8e95b751f (echoed)
;; QUESTION SECTION:
;github.com.			IN	A

;; ANSWER SECTION:
github.com.		27	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 09:02:02 UTC 2024
;; MSG SIZE  rcvd: 77

[Pipeline] script
[Pipeline] {
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] dir
Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_build/tidb
[Pipeline] {
[Pipeline] cache
Cache restored successfully (git/pingcap/tidb/rev-659f32a)
460225024 bytes in 12.59 secs (36556609 bytes/sec)
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] withCredentials
Masking supported pattern matches of $SSH_KEY
[Pipeline] {
[Pipeline] sh
+ '[' -d /home/jenkins/.ssh ']'
+ mkdir /home/jenkins/.ssh
+ chmod 0700 /home/jenkins/.ssh
+ cp **** /home/jenkins/.ssh/id_rsa
+ chmod 400 /home/jenkins/.ssh/id_rsa
+ ssh-keyscan -t rsa,dsa github.com
# github.com:22 SSH-2.0-babeld-9713928c
# github.com:22 SSH-2.0-babeld-9713928c
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] retry
[Pipeline] {
[Pipeline] sh
git version 2.37.2
Reinitialized existing Git repository in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_build/tidb/.git/
.git
HEAD is now at 659f32a813 infoschema: try other PDs if one cannot serve the request (#52843)
POST git-upload-pack (656 bytes)
POST git-upload-pack (973 bytes)
From https://github.com/pingcap/tidb
 = [up to date]            master               -> origin/master
 * [new ref]               refs/pull/53031/head -> origin/pr/53031/head
HEAD is now at 659f32a813 infoschema: try other PDs if one cannot serve the request (#52843)
🚧 Checkouting to base SHA:659f32a81300f9dbcea9032b3c8e4825555ccfd1...
HEAD is now at 659f32a813 infoschema: try other PDs if one cannot serve the request (#52843)
✅ Checked. 🎉
🧾 HEAD info:
659f32a81300f9dbcea9032b3c8e4825555ccfd1
659f32a813 infoschema: try other PDs if one cannot serve the request (#52843)
516977e1f9 planner: move ShowPredicateExtractor interface to base package out of core (#52953)
06ee59bd9c planner: add projections to keep join keys as `col=col` (#52989)
🚧 Pre-merge heads of pull requests to base SHA: 659f32a81300f9dbcea9032b3c8e4825555ccfd1 ...
Updating 659f32a813..24e4950cf0
Fast-forward
 pkg/executor/infoschema_reader.go                | 92 ++++++++++++------------
 pkg/planner/core/base/misc_base.go               | 22 ++++++
 pkg/planner/core/explain.go                      |  2 +-
 pkg/planner/core/logical_plans.go                |  2 +-
 pkg/planner/core/memtable_predicate_extractor.go | 74 +++++++++----------
 pkg/planner/core/physical_plans.go               |  2 +-
 6 files changed, 109 insertions(+), 85 deletions(-)
🧾 Pre-merged result:
24e4950cf02e61157243517558701e55d232f711
24e4950cf0 .
80816ed53f .
659f32a813 infoschema: try other PDs if one cannot serve the request (#52843)
✅ Pre merged 🎉
📁 update submodules ...
✅ update submodules done
✅ ~~~~~All done.~~~~~~
[Pipeline] }
[Pipeline] // retry
[Pipeline] }
[Pipeline] // script
[Pipeline] }
Cache not saved (git/pingcap/tidb/rev-659f32a-24e4950 already exists)
[Pipeline] // cache
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build tidb-server community edition)
[Pipeline] dir
Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_build/tidb
[Pipeline] {
[Pipeline] sh
+ make bazel_build
mkdir -p bin
bazel --output_user_root=/home/jenkins/.tidb/tmp build --config=ci --repository_cache=/home/jenkins/.tidb/tmp \
	//... --//build:with_nogo_flag=true
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
INFO: Invocation ID: 5eeb6f06-b5b5-4511-8792-f4ee3968f899
INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_build/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps
INFO: Options provided by the client:
  Inherited 'common' options: --isatty=0 --terminal_columns=80
INFO: Reading rc options for 'build' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_build/tidb/.bazelrc:
  'build' options: --announce_rc --experimental_guard_against_concurrent_changes --experimental_remote_merkle_tree_cache --java_language_version=17 --java_runtime_version=17 --tool_java_language_version=17 --tool_java_runtime_version=17 --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution
INFO: Reading rc options for 'build' from /data/..2024_05_06_09_01_51.289419767/bazel:
  'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s
INFO: Reading rc options for 'build' from /home/jenkins/.bazelrc:
  'build' options: --local_ram_resources=58982 --local_cpu_resources=16 --jobs=16
INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_build/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression
Loading: 
Loading: 
Loading: 
Loading: 
Loading: 
Loading: 1 packages loaded
Analyzing: 1152 targets (642 packages loaded, 0 targets configured)
Analyzing: 1152 targets (683 packages loaded, 354 targets configured)
Analyzing: 1152 targets (683 packages loaded, 354 targets configured)
Analyzing: 1152 targets (683 packages loaded, 354 targets configured)
Analyzing: 1152 targets (684 packages loaded, 354 targets configured)
Analyzing: 1152 targets (693 packages loaded, 4157 targets configured)
Analyzing: 1152 targets (693 packages loaded, 10570 targets configured)
Analyzing: 1152 targets (693 packages loaded, 10570 targets configured)
Analyzing: 1152 targets (697 packages loaded, 10633 targets configured)
Analyzing: 1152 targets (697 packages loaded, 10633 targets configured)
Analyzing: 1152 targets (697 packages loaded, 10633 targets configured)
Analyzing: 1152 targets (816 packages loaded, 10713 targets configured)
Analyzing: 1152 targets (900 packages loaded, 11029 targets configured)
Analyzing: 1152 targets (991 packages loaded, 11886 targets configured)
Analyzing: 1152 targets (1019 packages loaded, 12735 targets configured)
Analyzing: 1152 targets (1068 packages loaded, 14161 targets configured)
Analyzing: 1152 targets (1087 packages loaded, 15640 targets configured)
Analyzing: 1152 targets (1198 packages loaded, 17405 targets configured)
Analyzing: 1152 targets (1311 packages loaded, 19538 targets configured)
Analyzing: 1152 targets (1653 packages loaded, 22045 targets configured)
Analyzing: 1152 targets (1713 packages loaded, 24788 targets configured)
Analyzing: 1152 targets (1842 packages loaded, 26336 targets configured)
Analyzing: 1152 targets (1962 packages loaded, 27339 targets configured)
Analyzing: 1152 targets (1970 packages loaded, 27529 targets configured)
Analyzing: 1152 targets (2022 packages loaded, 27915 targets configured)
Analyzing: 1152 targets (2026 packages loaded, 28313 targets configured)
INFO: Analyzed 1152 targets (2026 packages loaded, 28409 targets configured).
 checking cached actions
INFO: Found 1152 targets...
[0 / 367] [Prepa] BazelWorkspaceStatusAction stable-status.txt
[936 / 10,058] Creating runfiles tree bazel-out/k8-fastbuild/bin/cmd/mirror/mirror_/mirror.runfiles; 0s local ... (7 actions, 1 running)
[984 / 10,058] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/cgo, 932.3 KiB / 3.4 MiB; 0s remote-cache ... (16 actions, 0 running)
[984 / 10,058] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (16 actions, 0 running)
[985 / 10,058] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 7.0 MiB / 17.2 MiB; 2s remote-cache ... (16 actions, 0 running)
[987 / 10,058] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 17.0 MiB / 17.2 MiB; 3s remote-cache ... (16 actions, 0 running)
[1,019 / 10,058] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 15.0 MiB / 17.2 MiB; 5s remote-cache ... (16 actions, 0 running)
[1,595 / 10,058] GoCompilePkg external/org_golang_x_tools/go/ssa/ssa.a [for tool]; 0s remote-cache ... (16 actions, 0 running)
[2,010 / 10,058] GoCompilePkg external/com_github_pingcap_goleveldb/leveldb/util/util.a; 0s remote-cache ... (14 actions, 0 running)
[2,420 / 10,058] GoCompilePkg pkg/resourcemanager/util/util.a; Downloading pkg/resourcemanager/util/util.a; 0s remote-cache ... (15 actions, 0 running)
[2,743 / 10,058] GoCompilePkg external/com_github_aws_aws_sdk_go/aws/endpoints/endpoints.a; Downloading external/com_github_aws_aws_sdk_go/aws/endpoints/endpoints.a, 15.0 MiB / 20.4 MiB; 0s remote-cache ... (16 actions, 0 running)
[3,161 / 10,058] GoCompilePkg external/com_github_azure_azure_sdk_for_go_sdk_azidentity/azidentity.a; 0s remote-cache ... (16 actions, 0 running)
[3,520 / 10,058] GoCompilePkg external/com_github_apache_skywalking_eyes/assets/assets.a; 0s remote-cache ... (15 actions, 0 running)
[3,759 / 10,058] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 53.4 MiB / 69.8 MiB; 0s remote-cache ... (16 actions, 0 running)
[4,021 / 10,058] GoLink pkg/parser/ast/ast_test_/ast_test; Downloading pkg/parser/ast/ast_test_/ast_test, 14.0 MiB / 16.4 MiB; 0s remote-cache ... (16 actions, 0 running)
[4,369 / 10,058] GoLink pkg/util/etcd/etcd_test_/etcd_test; Downloading pkg/util/etcd/etcd_test_/etcd_test, 16.0 MiB / 21.5 MiB; 0s remote-cache ... (16 actions, 0 running)
[4,632 / 10,058] GoCompilePkg external/io_k8s_apimachinery/pkg/apis/meta/v1/meta.a; Downloading external/io_k8s_apimachinery/pkg/apis/meta/v1/meta.a, 3.8 MiB / 6.2 MiB; 0s remote-cache ... (16 actions, 0 running)
[4,887 / 10,058] GoCompilePkg external/com_github_cockroachdb_pebble/vfs/atomicfs/atomicfs.a; Downloading external/com_github_cockroachdb_pebble/vfs/atomicfs/atomicfs.a, 8.0 KiB / 66.5 KiB; 0s remote-cache ... (14 actions, 0 running)
[5,074 / 10,058] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 26.0 MiB / 75.3 MiB; 0s remote-cache ... (16 actions, 0 running)
[5,159 / 10,058] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 75.0 MiB / 75.3 MiB; 1s remote-cache ... (16 actions, 0 running)
[5,234 / 10,058] GoLink pkg/util/printer/printer_test_/printer_test; Downloading pkg/util/printer/printer_test_/printer_test, 13.0 MiB / 21.8 MiB; 0s remote-cache ... (16 actions, 0 running)
[5,318 / 10,058] GoLink pkg/util/timeutil/timeutil_test_/timeutil_test; Downloading pkg/util/timeutil/timeutil_test_/timeutil_test, 23.0 MiB / 25.6 MiB; 0s remote-cache ... (16 actions, 0 running)
[5,395 / 10,058] GoLink pkg/lightning/duplicate/duplicate_test_/duplicate_test; Downloading pkg/lightning/duplicate/duplicate_test_/duplicate_test, 24.3 MiB / 30.0 MiB; 0s remote-cache ... (16 actions, 0 running)
[5,489 / 10,058] GoLink pkg/util/rowcodec/rowcodec_test_/rowcodec_test; Downloading pkg/util/rowcodec/rowcodec_test_/rowcodec_test, 27.0 MiB / 28.6 MiB; 0s remote-cache ... (16 actions, 0 running)
[5,585 / 10,058] GoLink pkg/util/chunk/chunk_test_/chunk_test; 0s remote-cache ... (16 actions, 0 running)
[5,663 / 10,058] GoCompilePkg pkg/metrics/expression.recompile578.a; Downloading pkg/metrics/expression.recompile578.a, 71.1 MiB / 77.1 MiB; 1s remote-cache ... (16 actions, 0 running)
[5,710 / 10,058] GoCompilePkg pkg/util/expression.recompile557.a; Downloading pkg/util/expression.recompile557.a, 52.5 MiB / 77.1 MiB; 1s remote-cache ... (16 actions, 0 running)
[5,767 / 10,058] GoCompilePkg pkg/util/expression.recompile557.a; 2s remote-cache ... (16 actions, 0 running)
[5,822 / 10,058] GoCompilePkg pkg/structure/expression.recompile1098.a; Downloading pkg/structure/expression.recompile1098.a, 77.0 MiB / 77.1 MiB; 3s remote-cache ... (16 actions, 0 running)
[5,873 / 10,058] GoCompilePkg pkg/sessionctx/variable/expression.recompile1100.a; Downloading pkg/sessionctx/variable/expression.recompile1100.a, 52.3 MiB / 77.1 MiB; 2s remote-cache ... (16 actions, 0 running)
[5,922 / 10,058] GoCompilePkg pkg/sessionctx/variable/expression.recompile1100.a; 3s remote-cache ... (16 actions, 0 running)
[5,977 / 10,058] GoCompilePkg pkg/ddl/placement/expression.recompile554.a; Downloading pkg/ddl/placement/expression.recompile554.a, 81.0 MiB / 88.3 MiB; 3s remote-cache ... (16 actions, 0 running)
[6,026 / 10,058] GoCompilePkg pkg/sessionctx/sessionstates/expression.recompile1158.a; 2s remote-cache ... (16 actions, 0 running)
[6,111 / 10,058] GoLink pkg/expression/contextstatic/contextstatic_test_/contextstatic_test; Downloading pkg/expression/contextstatic/contextstatic_test_/contextstatic_test, 27.4 MiB / 40.1 MiB; 0s remote-cache ... (16 actions, 0 running)
[6,209 / 10,058] GoLink pkg/executor/internal/pdhelper/pdhelper_test_/pdhelper_test; Downloading pkg/executor/internal/pdhelper/pdhelper_test_/pdhelper_test, 30.0 MiB / 40.2 MiB; 0s remote-cache ... (16 actions, 0 running)
[6,290 / 10,058] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 41.0 MiB / 77.1 MiB; 1s remote-cache ... (16 actions, 0 running)
[6,347 / 10,058] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 72.0 MiB / 77.1 MiB; 2s remote-cache ... (15 actions, 0 running)
[6,399 / 10,058] GoLink br/pkg/streamhelper/spans/spans_test_/spans_test; 1s remote-cache ... (16 actions, 0 running)
[6,462 / 10,058] GoLink pkg/util/gctuner/gctuner_test_/gctuner_test; 1s remote-cache ... (16 actions, 0 running)
[6,527 / 10,058] GoLink pkg/expression/contextsession/contextsession_test_/contextsession_test; Downloading pkg/expression/contextsession/contextsession_test_/contextsession_test, 37.0 MiB / 40.5 MiB; 1s remote-cache ... (16 actions, 0 running)
[6,579 / 10,058] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 47.6 MiB / 88.3 MiB; 1s remote-cache ... (16 actions, 0 running)
[6,642 / 10,058] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 79.0 MiB / 88.3 MiB; 2s remote-cache ... (16 actions, 0 running)
[6,692 / 10,058] GoLink pkg/timer/tablestore/tablestore_test_/tablestore_test; Downloading pkg/timer/tablestore/tablestore_test_/tablestore_test, 43.0 MiB / 54.9 MiB; 1s remote-cache ... (16 actions, 0 running)
[6,737 / 10,058] GoLink pkg/executor/internal/applycache/applycache_test_/applycache_test; Downloading pkg/executor/internal/applycache/applycache_test_/applycache_test, 36.7 MiB / 40.3 MiB; 1s remote-cache ... (16 actions, 0 running)
[6,774 / 10,058] GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 62.8 MiB / 163.1 MiB; 2s remote-cache ... (16 actions, 0 running)
[6,824 / 10,058] GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 108.0 MiB / 163.1 MiB; 3s remote-cache ... (18 actions, 4 running)
[6,878 / 10,058] GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 145.0 MiB / 163.1 MiB; 4s remote-cache ... (19 actions, 6 running)
[6,890 / 10,058] GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 155.0 MiB / 163.1 MiB; 5s remote-cache ... (21 actions, 10 running)
[6,900 / 10,058] GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 6s remote-cache ... (20 actions, 8 running)
[6,916 / 10,058] GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 7s remote-cache ... (20 actions, 8 running)
[6,924 / 10,058] GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 9s remote-cache ... (20 actions, 8 running)
[6,939 / 10,058] GoCompilePkg pkg/sessionctx/stmtctx/core.recompile1241.a; 6s remote-cache, linux-sandbox ... (20 actions, 8 running)
[6,947 / 10,058] GoCompilePkg pkg/sessionctx/stmtctx/core.recompile1241.a; 7s remote-cache, linux-sandbox ... (20 actions, 8 running)
[6,956 / 10,058] GoCompilePkg pkg/sessionctx/stmtctx/core.recompile1241.a; 8s remote-cache, linux-sandbox ... (20 actions, 8 running)
[6,966 / 10,058] GoCompilePkg pkg/sessionctx/stmtctx/core.recompile1241.a; 9s remote-cache, linux-sandbox ... (20 actions, 8 running)
[6,980 / 10,058] GoCompilePkg pkg/sessionctx/stmtctx/core.recompile1241.a; 10s remote-cache, linux-sandbox ... (20 actions, 8 running)
[7,004 / 10,058] GoCompilePkg pkg/sessionctx/stmtctx/core.recompile1241.a; 11s remote-cache, linux-sandbox ... (21 actions, 10 running)
[7,015 / 10,058] GoCompilePkg pkg/sessionctx/stmtctx/core.recompile1241.a; 12s remote-cache, linux-sandbox ... (20 actions, 10 running)
[7,030 / 10,058] GoCompilePkg pkg/sessionctx/stmtctx/core.recompile1241.a; 13s remote-cache, linux-sandbox ... (21 actions, 10 running)
[7,047 / 10,058] GoCompilePkg pkg/sessionctx/stmtctx/core.recompile1241.a; 14s remote-cache, linux-sandbox ... (21 actions, 10 running)
[7,068 / 10,058] GoCompilePkg pkg/sessionctx/stmtctx/core.recompile1241.a; 15s remote-cache, linux-sandbox ... (20 actions, 10 running)
ERROR: /home/jenkins/agent/workspace/pingcap/tidb/ghpr_build/tidb/pkg/sessionctx/stmtctx/BUILD.bazel:37:8: GoCompilePkg pkg/sessionctx/stmtctx/core.recompile1241.a failed: (Exit 1): builder failed: error executing command (from target //pkg/sessionctx/stmtctx:stmtctx_test) bazel-out/k8-opt-exec-2B5CBBC6/bin/external/go_sdk/builder_reset/builder '-param=bazel-out/k8-fastbuild/bin/pkg/sessionctx/stmtctx/core.recompile1241.a-0.params'

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
compilepkg: nogo: errors found by nogo during build-time code analysis:
pkg/planner/core/access_object.go:1:1: 
diff pkg/planner/core/memtable_predicate_extractor.go.orig pkg/planner/core/memtable_predicate_extractor.go
--- pkg/planner/core/memtable_predicate_extractor.go.orig
+++ pkg/planner/core/memtable_predicate_extractor.go
@@ -519,7 +519,7 @@
 	timezone *time.Location,
 ) (
 	remained []expression.Expression,
-// unix timestamp in nanoseconds
+	// unix timestamp in nanoseconds
 	startTime int64,
 	endTime int64,
 ) {
 (gofmt)
pkg/planner/core/access_object.go:1:1: 
--- pkg/planner/core/memtable_predicate_extractor.go
+++ pkg/planner/core/memtable_predicate_extractor.go
@@ -519,7 +519,7 @@
 	timezone *time.Location,
 ) (
 	remained []expression.Expression,
-// unix timestamp in nanoseconds
+	// unix timestamp in nanoseconds
 	startTime int64,
 	endTime int64,
 ) {
 (gci)
ERROR: /home/jenkins/agent/workspace/pingcap/tidb/ghpr_build/tidb/pkg/sessionctx/stmtctx/BUILD.bazel:37:8 GoCompilePkg pkg/sessionctx/stmtctx/stmtctx_test_test.external.a failed: (Exit 1): builder failed: error executing command (from target //pkg/sessionctx/stmtctx:stmtctx_test) bazel-out/k8-opt-exec-2B5CBBC6/bin/external/go_sdk/builder_reset/builder '-param=bazel-out/k8-fastbuild/bin/pkg/sessionctx/stmtctx/core.recompile1241.a-0.params'

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
INFO: Elapsed time: 108.636s, Critical Path: 38.91s
INFO: 7089 processes: 6125 remote cache hit, 959 internal, 5 linux-sandbox.
FAILED: Build did NOT complete successfully
make: *** [bazel_build] Error 1
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] dir
Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_build/tidb
[Pipeline] {
[Pipeline] archiveArtifacts
Archiving artifacts
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build tidb-server enterprise edition)
Stage "Build tidb-server enterprise edition" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Test plugin)
Stage "Test plugin" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] container
[Pipeline] {
[Pipeline] sh
+ bash scripts/plugins/report_job_result.sh FAILURE result.json
http://fileserver.pingcap.net
--2024-05-06 09:04:17--  http://fileserver.pingcap.net/download/rd-atom-agent/agent_upload_verifyci_metadata.py
Resolving fileserver.pingcap.net (fileserver.pingcap.net)... 10.2.12.82
Connecting to fileserver.pingcap.net (fileserver.pingcap.net)|10.2.12.82|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4181 (4.1K) [application/octet-stream]
Saving to: ‘agent_upload_verifyci_metadata.py’

     0K ....                                                  100%  730M=0s

2024-05-06 09:04:17 (730 MB/s) - ‘agent_upload_verifyci_metadata.py’ saved [4181/4181]

No junit report file
parse result file result.json success
upload data succesfully.
[Pipeline] }
[Pipeline] // container
[Pipeline] archiveArtifacts
Archiving artifacts
Recording fingerprints
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
ERROR: script returned exit code 2
Finished: FAILURE