Skip to content

Console Output

Started by user Jenkins Admin
Obtained pipelines/pingcap/tidb/latest/ghpr_unit_test.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_unit_test.yaml from git https://github.com/PingCAP-QE/ci.git
[Pipeline] podTemplate
[Pipeline] {
[Pipeline] node
Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-unit-test-8927-0vwbl-6ndb4-dpgmt
Agent pingcap-tidb-ghpr-unit-test-8927-0vwbl-6ndb4-dpgmt is provisioned from template pingcap_tidb_ghpr_unit_test_8927-0vwbl-6ndb4
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_unit_test/8927/"
    runUrl: "job/pingcap/job/tidb/job/ghpr_unit_test/8927/"
  labels:
    jenkins/jenkins-jenkins-agent: "true"
    jenkins/label-digest: "8771a9ccb23eae4f8acf6cdf86da2d0b9f62e1a0"
    jenkins/label: "pingcap_tidb_ghpr_unit_test_8927-0vwbl"
  name: "pingcap-tidb-ghpr-unit-test-8927-0vwbl-6ndb4-dpgmt"
  namespace: "jenkins-tidb"
spec:
  affinity:
    nodeAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
        nodeSelectorTerms:
        - matchExpressions:
          - key: "kubernetes.io/arch"
            operator: "In"
            values:
            - "amd64"
          - key: "ci-nvme-high-performance"
            operator: "In"
            values:
            - "true"
  containers:
  - image: "hub.pingcap.net/wangweizhen/tidb_image:go12120230809"
    lifecycle:
      postStart:
        exec:
          command:
          - "/bin/sh"
          - "/data/bazel-prepare-in-container.sh"
    name: "golang"
    resources:
      requests:
        memory: "32Gi"
        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: "/share/.cache/bazel-repository-cache"
      name: "bazel-repository-cache"
    - 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
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-agent.apps.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "pingcap-tidb-ghpr-unit-test-8927-0vwbl-6ndb4-dpgmt"
    - name: "JENKINS_NAME"
      value: "pingcap-tidb-ghpr-unit-test-8927-0vwbl-6ndb4-dpgmt"
    - 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"
  - name: "bazel-repository-cache"
    persistentVolumeClaim:
      claimName: "bazel-repository-cache"

Running on pingcap-tidb-ghpr-unit-test-8927-0vwbl-6ndb4-dpgmt in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test
[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_unit_test # 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
Avoid second fetch
Checking out Revision 03312178c534dce949face80c69812d989e55009 (origin/main)
 > 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
 > git rev-parse origin/main^{commit} # timeout=10
 > 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] }
[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=0d9fb2b2-e7e3-42dd-a52b-16bb92249173
JENKINS_NODE_COOKIE=3ccb05b1-261a-49c2-99a1-320d345d7d44
BUILD_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_unit_test/8927/
GOLANG_VERSION=1.21.0
HOSTNAME=pingcap-tidb-ghpr-unit-test-8927-0vwbl-6ndb4-dpgmt
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_unit_test-8927
KUBERNETES_SERVICE_PORT=443
GIT_PREVIOUS_COMMIT=03312178c534dce949face80c69812d989e55009
JOB_SPEC={"type":"presubmit","job":"pingcap/tidb/ghpr_unit_test","buildid":"1787387085464801280","prowjobid":"0d9fb2b2-e7e3-42dd-a52b-16bb92249173","refs":{"org":"pingcap","repo":"tidb","repo_link":"https://github.com/pingcap/tidb","base_ref":"master","base_sha":"516977e1f99d9df87e142e1ea280baed56a12a70","base_link":"https://github.com/pingcap/tidb/commit/516977e1f99d9df87e142e1ea280baed56a12a70","pulls":[{"number":53028,"author":"qw4990","sha":"04918cb6d05dd06aa9cfa79ab0af53159edb7fe6","title":"planner: small refactor for plan cache","link":"https://github.com/pingcap/tidb/pull/53028","commit_link":"https://github.com/pingcap/tidb/pull/53028/commits/04918cb6d05dd06aa9cfa79ab0af53159edb7fe6","author_link":"https://github.com/qw4990"}]}}
KUBERNETES_SERVICE_HOST=10.233.0.1
WORKSPACE=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test
JOB_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_unit_test/
RUN_CHANGES_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_unit_test/8927/display/redirect?page=changes
RUN_ARTIFACTS_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_unit_test/8927/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_unit_test/8927/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_unit_test
HUDSON_URL=https://do.pingcap.net/jenkins/
JOB_NAME=pingcap/tidb/ghpr_unit_test
TZ=Asia/Shanghai
BUILD_DISPLAY_NAME=#8927
JENKINS_URL=https://do.pingcap.net/jenkins/
BUILD_ID=1787387085464801280
GOLANG_DOWNLOAD_SHA256=d0398903a16ba2232b389fb31032ddf57cac34efda306a0eebac34f0965a0742
JOB_BASE_NAME=ghpr_unit_test
GIT_PREVIOUS_SUCCESSFUL_COMMIT=03312178c534dce949face80c69812d989e55009
RUN_TESTS_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_unit_test/8927/display/redirect?page=tests
SHLVL=3
HOME=/home/jenkins
POD_LABEL=pingcap_tidb_ghpr_unit_test_8927-0vwbl
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_unit_test@tmp
EXECUTOR_NUMBER=0
JENKINS_SERVER_COOKIE=durable-3e6615fe387e271fb81c7aa6ce66020ac56f1fb2ffea951b4ecc03fd51f30988
NODE_LABELS=pingcap-tidb-ghpr-unit-test-8927-0vwbl-6ndb4-dpgmt pingcap_tidb_ghpr_unit_test_8927-0vwbl
GIT_URL=https://github.com/PingCAP-QE/ci.git
HUDSON_HOME=/var/jenkins_home
CLASSPATH=
NODE_NAME=pingcap-tidb-ghpr-unit-test-8927-0vwbl-6ndb4-dpgmt
GOPATH=/go
JOB_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_unit_test/display/redirect
BUILD_NUMBER=8927
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-build4017959977=/tmp/go-build -gno-record-gcc-switches'
+ echo -------------------------
-------------------------
+ ls -l /dev/null
crw-rw-rw- 1 root root 1, 3 May  6 15:41 /dev/null
+ echo 'debug command: kubectl -n jenkins-tidb exec -ti pingcap-tidb-ghpr-unit-test-8927-0vwbl-6ndb4-dpgmt bash'
debug command: kubectl -n jenkins-tidb exec -ti pingcap-tidb-ghpr-unit-test-8927-0vwbl-6ndb4-dpgmt 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: 4153
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: 2266c2969f7c03a8 (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 07:41:38 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_unit_test/tidb
[Pipeline] {
[Pipeline] cache
Cache restored successfully (git/pingcap/tidb/rev-516977e)
460055552 bytes in 1.30 secs (354043374 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_unit_test/tidb/.git/
.git
HEAD is now at 516977e1f9 planner: move ShowPredicateExtractor interface to base package out of core (#52953)
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/53028/head -> origin/pr/53028/head
HEAD is now at 516977e1f9 planner: move ShowPredicateExtractor interface to base package out of core (#52953)
๐Ÿšง Checkouting to base SHA:516977e1f99d9df87e142e1ea280baed56a12a70...
HEAD is now at 516977e1f9 planner: move ShowPredicateExtractor interface to base package out of core (#52953)
โœ… Checked. ๐ŸŽ‰
๐Ÿงพ HEAD info:
516977e1f99d9df87e142e1ea280baed56a12a70
516977e1f9 planner: move ShowPredicateExtractor interface to base package out of core (#52953)
06ee59bd9c planner: add projections to keep join keys as `col=col` (#52989)
600b2ed4bf *: bump client-go to fix #53011 (#53012)
๐Ÿšง Pre-merge heads of pull requests to base SHA: 516977e1f99d9df87e142e1ea280baed56a12a70 ...
Updating 516977e1f9..04918cb6d0
Fast-forward
 pkg/expression/util.go            | 3 +--
 pkg/planner/core/plan_cache.go    | 6 ++----
 pkg/sessionctx/stmtctx/stmtctx.go | 1 -
 3 files changed, 3 insertions(+), 7 deletions(-)
๐Ÿงพ Pre-merged result:
04918cb6d05dd06aa9cfa79ab0af53159edb7fe6
04918cb6d0 fixup
ed09a33d8b fixup
298d67b892 fixup
โœ… Pre merged ๐ŸŽ‰
๐Ÿ“ update submodules ...
โœ… update submodules done
โœ… ~~~~~All done.~~~~~~
[Pipeline] }
[Pipeline] // retry
[Pipeline] }
[Pipeline] // script
[Pipeline] }
Cache saved successfully (git/pingcap/tidb/rev-516977e-04918cb)
460175872 bytes in 15.64 secs (29416363 bytes/sec)
[Pipeline] // cache
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] withCredentials
Masking supported pattern matches of $CODECOV_TOKEN
[Pipeline] {
[Pipeline] dir
Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb
[Pipeline] {
[Pipeline] sh
+ sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common
+ git diff .
diff --git a/Makefile.common b/Makefile.common
index b540debd42..9264b96d48 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -127,7 +127,7 @@ TEST_COVERAGE_DIR := "test_coverage"
 
 ifneq ("$(CI)", "")
 	BAZEL_GLOBAL_CONFIG := --output_user_root=/home/jenkins/.tidb/tmp
-	BAZEL_CMD_CONFIG := --config=ci --repository_cache=/home/jenkins/.tidb/tmp
-	BAZEL_SYNC_CONFIG := --repository_cache=/home/jenkins/.tidb/tmp
+	BAZEL_CMD_CONFIG := --config=ci --repository_cache=/share/.cache/bazel-repository-cache
+	BAZEL_SYNC_CONFIG := --repository_cache=/share/.cache/bazel-repository-cache
 endif
 BAZEL_INSTRUMENTATION_FILTER := --instrument_test_targets --instrumentation_filter=//pkg/...,//br/...,//dumpling/...
+ git status
HEAD detached from origin/master
You are in a sparse checkout with 100% of tracked files present.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   Makefile.common

no changes added to commit (use "git add" and/or "git commit -a")
[Pipeline] sh
GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@2eaa328
go: downloading github.com/pingcap/failpoint v0.0.0-20220801062533-2eaa32854a6c
go: downloading github.com/sergi/go-diff v1.1.0
bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
INFO: Invocation ID: 875711d7-88d0-4144-84cc-4cfaa9e5ddb8
INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/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 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc:
  Inherited '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 'run' from /data/..2024_05_06_07_41_26.3996952971/bazel:
  Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s
INFO: Reading rc options for 'run' from /home/jenkins/.bazelrc:
  Inherited 'build' options: --local_ram_resources=315127 --local_cpu_resources=70 --jobs=70 --repository_cache=/share/.cache/bazel-repository-cache
INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression
INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: --color=yes
Loading: 
Loading: 
Loading: 
Loading: 0 packages loaded
Analyzing: target //:gazelle (1 packages loaded, 0 targets configured)
Analyzing: target //:gazelle (44 packages loaded, 413 targets configured)
Analyzing: target //:gazelle (44 packages loaded, 413 targets configured)
Analyzing: target //:gazelle (44 packages loaded, 413 targets configured)
Analyzing: target //:gazelle (100 packages loaded, 10464 targets configured)
Analyzing: target //:gazelle (100 packages loaded, 10464 targets configured)
Analyzing: target //:gazelle (259 packages loaded, 11777 targets configured)
INFO: Analyzed target //:gazelle (270 packages loaded, 11965 targets configured).
INFO: Found 1 target...
[0 / 269] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (5 actions, 4 running)
[16 / 316] checking cached actions
[16 / 316] GoToolchainBinaryBuild external/go_sdk/builder [for tool]; Downloading external/go_sdk/builder, 656.2 KiB / 5.3 MiB; 0s remote-cache ... (3 actions, 0 running)
[24 / 316] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 8.1 MiB / 10.3 MiB; 0s remote-cache ... (3 actions, 0 running)
[24 / 316] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 1s remote-cache ... (3 actions, 0 running)
[179 / 316] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/vet, 4.6 MiB / 5.6 MiB; 2s remote-cache ... (7 actions, 0 running)
Target //:gazelle up-to-date:
  bazel-bin/gazelle-runner.bash
  bazel-bin/gazelle
INFO: Elapsed time: 29.927s, Critical Path: 3.91s
INFO: 316 processes: 296 remote cache hit, 20 internal.
INFO: Build completed successfully, 316 total actions
INFO: Running command line: bazel-bin/gazelle
bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache  \
	--run_under="cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb && " \
	 //tools/tazel:tazel
INFO: Invocation ID: 25852eee-43a6-4d8e-a7a9-86b2551971f4
INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/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 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc:
  Inherited '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 'run' from /data/..2024_05_06_07_41_26.3996952971/bazel:
  Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s
INFO: Reading rc options for 'run' from /home/jenkins/.bazelrc:
  Inherited 'build' options: --local_ram_resources=315127 --local_cpu_resources=70 --jobs=70 --repository_cache=/share/.cache/bazel-repository-cache
INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression
INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: --color=yes
Loading: 
Loading: 
Loading: 0 packages loaded
INFO: Build option --run_under has changed, discarding analysis cache.
Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured)
Analyzing: target //tools/tazel:tazel (128 packages loaded, 12965 targets configured)
INFO: Analyzed target //tools/tazel:tazel (320 packages loaded, 14292 targets configured).
INFO: Found 1 target...
[0 / 17] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (2 actions, 0 running)
[273 / 607] [Prepa] GoCompilePkg external/com_github_getsentry_sentry_go/internal/traceparser/traceparser.a
[573 / 607] GoCompilePkg external/com_github_pingcap_kvproto/pkg/pdpb/pdpb.a; 0s remote-cache ... (2 actions, 0 running)
Target //tools/tazel:tazel up-to-date:
  bazel-bin/tools/tazel/tazel_/tazel
INFO: Elapsed time: 4.949s, Critical Path: 2.73s
INFO: 339 processes: 336 remote cache hit, 3 internal.
INFO: Build completed successfully, 339 total actions
INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb &&  bazel-bin/tools/tazel/tazel_/tazel '
bazel --output_user_root=/home/jenkins/.tidb/tmp --nohome_rc coverage --config=ci --repository_cache=/share/.cache/bazel-repository-cache --instrument_test_targets --instrumentation_filter=//pkg/...,//br/...,//dumpling/... --jobs=35 --build_tests_only --test_keep_going=false \
	--@io_bazel_rules_go//go/config:cover_format=go_cover --define gotags=deadlock,intest \
	-- //... -//cmd/... -//tests/graceshutdown/... \
	-//tests/globalkilltest/... -//tests/readonlytest/... -//br/pkg/task:task_test -//tests/realtikvtest/...
INFO: Invocation ID: 4ccfa44c-aa33-47b4-823e-62d258f0a266
INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/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 'coverage' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc:
  Inherited '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 'coverage' from /data/..2024_05_06_07_41_26.3996952971/bazel:
  Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s
INFO: Reading rc options for 'coverage' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc:
  Inherited 'test' options: --test_output=errors --test_summary=detailed
INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression
INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: --color=yes --verbose_failures --test_verbose_timeout_warnings --test_env=GO_TEST_WRAP_TESTV=1 --experimental_ui_max_stdouterr_bytes=268435456 --test_timeout=150,300,900,3600
Loading: 
Loading: 
Loading: 0 packages loaded
INFO: Build options --@io_bazel_rules_go//go/config:cover_format, --collect_code_coverage, --define, and 4 more have changed, discarding analysis cache.
Analyzing: 411 targets (641 packages loaded, 0 targets configured)
Analyzing: 411 targets (1225 packages loaded, 14628 targets configured)
Analyzing: 411 targets (1508 packages loaded, 21310 targets configured)
Analyzing: 411 targets (1555 packages loaded, 22229 targets configured)
Analyzing: 411 targets (1604 packages loaded, 22822 targets configured)
Analyzing: 411 targets (1917 packages loaded, 25541 targets configured)
Analyzing: 411 targets (1917 packages loaded, 25541 targets configured)
Analyzing: 411 targets (1948 packages loaded, 25962 targets configured)
Analyzing: 411 targets (1981 packages loaded, 26758 targets configured)
INFO: Analyzed 411 targets (1981 packages loaded, 26989 targets configured).
 checking cached actions
INFO: Found 411 test targets...
[0 / 412] [Prepa] Writing file br/cmd/br/br_test/baseline_coverage.dat ... (14 actions, 0 running)
[1,439 / 9,763] GoToolchainBinaryBuild external/go_sdk/builder [for tool]; Downloading external/go_sdk/builder, 4.9 MiB / 5.3 MiB; 0s remote-cache ... (35 actions, 0 running)
[1,479 / 9,763] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 1s remote-cache ... (35 actions, 2 running)
[1,503 / 9,763] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 11.0 MiB / 17.2 MiB; 2s remote-cache ... (36 actions, 2 running)
[1,654 / 9,763] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 3s remote-cache ... (33 actions, 0 running)
[2,265 / 9,763] GoCompilePkg external/com_github_klauspost_compress/internal/snapref/snapref.a; Downloading external/com_github_klauspost_compress/internal/snapref/snapref.x; 0s remote-cache ... (34 actions, 0 running)
[2,964 / 9,770] GoCompilePkg external/com_github_gogo_protobuf/proto/proto.a; Downloading external/com_github_gogo_protobuf/proto/proto.a, 5.0 MiB / 5.2 MiB; 0s remote-cache ... (32 actions, 0 running)
[3,364 / 9,852] JavaToolchainCompileBootClasspath external/bazel_tools/tools/jdk/platformclasspath.jar [for tool]; Downloading external/bazel_tools/tools/jdk/platformclasspath.jar, 28.8 MiB / 96.2 MiB; 0s remote-cache ... (35 actions, 0 running)
[3,732 / 9,889] JavaToolchainCompileBootClasspath external/bazel_tools/tools/jdk/platformclasspath.jar [for tool]; 1s remote-cache ... (35 actions, 0 running)
[4,105 / 9,945] 16 / 411 tests; GoCompilePkg pkg/parser/types/parser.recompile51.a; Downloading pkg/parser/types/parser.recompile51.a, 2.8 MiB / 11.4 MiB; 0s remote-cache ... (35 actions, 0 running)
[4,481 / 9,994] 33 / 411 tests; GoCompilePkg pkg/parser/ast/parser.recompile51.a; 0s remote-cache ... (34 actions, 0 running)
[4,766 / 9,998] 48 / 411 tests; GoLink pkg/parser/parser_test_/parser_test; Downloading pkg/parser/parser_test_/parser_test, 6.6 MiB / 17.5 MiB; 0s remote-cache ... (35 actions, 0 running)
[4,963 / 10,109] 72 / 411 tests; GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 20.0 MiB / 75.3 MiB; 0s remote-cache ... (35 actions, 0 running)
[5,147 / 10,109] 74 / 411 tests; GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 54.0 MiB / 75.3 MiB; 1s remote-cache ... (28 actions, 0 running)
[5,254 / 10,109] 75 / 411 tests; GoLink pkg/util/cdcutil/cdcutil_test_/cdcutil_test; Downloading pkg/util/cdcutil/cdcutil_test_/cdcutil_test, 19.0 MiB / 21.6 MiB; 0s remote-cache ... (16 actions, 0 running)
[5,308 / 10,121] 79 / 411 tests; GoLink pkg/util/execdetails/execdetails_test_/execdetails_test; 0s remote-cache ... (5 actions, 0 running)
[5,484 / 10,142] 82 / 411 tests; GoLink pkg/util/collate/collate_test_/collate_test; Downloading pkg/util/collate/collate_test_/collate_test, 15.0 MiB / 26.1 MiB; 0s remote-cache ... (35 actions, 0 running)
[5,550 / 10,152] 85 / 411 tests; GoLink pkg/ttl/metrics/metrics_test_/metrics_test; Downloading pkg/ttl/metrics/metrics_test_/metrics_test, 23.0 MiB / 23.4 MiB; 1s remote-cache ... (35 actions, 0 running)
[5,623 / 10,196] 90 / 411 tests; GoLink pkg/server/internal/parse/parse_test_/parse_test; Downloading pkg/server/internal/parse/parse_test_/parse_test, 22.4 MiB / 23.8 MiB; 2s remote-cache ... (35 actions, 0 running)
[5,675 / 10,213] 94 / 411 tests; GoLink pkg/types/types_test_/types_test; Downloading pkg/types/types_test_/types_test, 29.0 MiB / 29.2 MiB; 2s remote-cache ... (35 actions, 0 running)
[5,731 / 10,272] 100 / 411 tests; GoLink pkg/util/cpu/cpu_test_/cpu_test; Downloading pkg/util/cpu/cpu_test_/cpu_test, 32.0 MiB / 33.7 MiB; 2s remote-cache ... (34 actions, 0 running)
[5,788 / 10,320] 105 / 411 tests; GoLink pkg/util/chunk/chunk_test_/chunk_test; Downloading pkg/util/chunk/chunk_test_/chunk_test, 36.0 MiB / 40.5 MiB; 3s remote-cache ... (35 actions, 0 running)
[5,827 / 10,397] 108 / 411 tests; GoLink br/pkg/logutil/logutil_test_/logutil_test; Downloading br/pkg/logutil/logutil_test_/logutil_test, 22.0 MiB / 30.4 MiB; 2s remote-cache ... (35 actions, 0 running)
[5,893 / 10,411] 111 / 411 tests; GoLink pkg/util/rowcodec/rowcodec_test_/rowcodec_test; Downloading pkg/util/rowcodec/rowcodec_test_/rowcodec_test, 21.0 MiB / 31.2 MiB; 2s remote-cache ... (35 actions, 0 running)
[5,954 / 10,413] 112 / 411 tests; GoLink pkg/testkit/testutil/testutil_test_/testutil_test; Downloading pkg/testkit/testutil/testutil_test_/testutil_test, 25.0 MiB / 29.0 MiB; 2s remote-cache ... (35 actions, 0 running)
[6,033 / 10,429] 115 / 411 tests; GoLink br/pkg/rtree/rtree_test_/rtree_test; Downloading br/pkg/rtree/rtree_test_/rtree_test, 34.0 MiB / 43.2 MiB; 2s remote-cache ... (35 actions, 0 running)
Aborted by Jenkins Admin
Sending interrupt signal to process
Killing processes
kill finished with exit code 0
script returned exit code 143
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] dir
Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb
[Pipeline] {
[Pipeline] junit
Recording test results
None of the test reports contained any result
[Checks API] No suitable checks publisher found.
[Pipeline] archiveArtifacts
Archiving artifacts
[Pipeline] }
[Pipeline] // dir
[Pipeline] sh
+ ./scripts/plugins/analyze-go-test-from-bazel-output.sh tidb/bazel-test.log
Parse from local file: tidb/bazel-test.log
Output files:
ls: cannot access bazel-target-output-*.log: No such file or directory
bazel-flaky-summaries.log
bazel-go-test-index.log
bazel-go-test-problem-cases.json
[Pipeline] sh
No test report files were found. Configuration error?
++ uuidgen
+ timeout 10 curl --verbose --request POST --url http://cloudevents-server.apps.svc/events --header 'ce-id: acb85e39-3ab0-4cfb-979a-50a0029577dd' --header 'ce-source: https://do.pingcap.net/jenkins/' --header 'ce-type: test-case-run-report' --header 'ce-repo: pingcap/tidb' --header 'ce-branch: master' --header 'ce-buildurl: https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_unit_test/8927/' --header 'ce-specversion: 1.0' --header 'content-type: application/json; charset=UTF-8' --data @bazel-go-test-problem-cases.json
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* About to connect() to cloudevents-server.apps.svc port 80 (#0)
*   Trying 10.233.31.173...
* Connected to cloudevents-server.apps.svc (10.233.31.173) port 80 (#0)
> POST /events HTTP/1.1
> User-Agent: curl/7.29.0
> Host: cloudevents-server.apps.svc
> Accept: */*
> ce-id: acb85e39-3ab0-4cfb-979a-50a0029577dd
> ce-source: https://do.pingcap.net/jenkins/
> ce-type: test-case-run-report
> ce-repo: pingcap/tidb
> ce-branch: master
> ce-buildurl: https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_unit_test/8927/
> ce-specversion: 1.0
> content-type: application/json; charset=UTF-8
> Content-Length: 2
> 
} [data not shown]
* upload completely sent off: 2 out of 2 bytes

100     2    0     0  100     2      0      1  0:00:02  0:00:01  0:00:01     1
100     2    0     0    0     2      0      0 --:--:--  0:00:02 --:--:--     0
100     2    0     0    0     2      0      0 --:--:--  0:00:03 --:--:--     0
100     2    0     0    0     2      0      0 --:--:--  0:00:04 --:--:--     0
100     2    0     0    0     2      0      0 --:--:--  0:00:05 --:--:--     0
100     2    0     0    0     2      0      0 --:--:--  0:00:06 --:--:--     0
100     2    0     0    0     2      0      0 --:--:--  0:00:07 --:--:--     0
100     2    0     0    0     2      0      0 --:--:--  0:00:08 --:--:--     0
100     2    0     0    0     2      0      0 --:--:--  0:00:09 --:--:--     0+ true
[Pipeline] archiveArtifacts
Archiving artifacts
[Pipeline] }
[Pipeline] // withCredentials
[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
org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: 32b5b05f-76d2-47bc-b57b-75a3b94a4dac
Finished: ABORTED