Started by user Jenkins Admin Obtained pipelines/pingcap/tidb/release-8.1/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/release-8.1/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-release-8-1-ghpr-unit-test-98-5mrjn-nbqb3-jd771 Agent pingcap-tidb-release-8-1-ghpr-unit-test-98-5mrjn-nbqb3-jd771 is provisioned from template pingcap_tidb_release-8_1_ghpr_unit_test_98-5mrjn-nbqb3 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/release-8.1/job/ghpr_unit_test/98/" runUrl: "job/pingcap/job/tidb/job/release-8.1/job/ghpr_unit_test/98/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "7de1f4b56a8825fb19f3c0bc16780946b8a8c886" jenkins/label: "pingcap_tidb_release-8_1_ghpr_unit_test_98-5mrjn" name: "pingcap-tidb-release-8-1-ghpr-unit-test-98-5mrjn-nbqb3-jd771" 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-release-8-1-ghpr-unit-test-98-5mrjn-nbqb3-jd771" - name: "JENKINS_NAME" value: "pingcap-tidb-release-8-1-ghpr-unit-test-98-5mrjn-nbqb3-jd771" - 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-release-8-1-ghpr-unit-test-98-5mrjn-nbqb3-jd771 in /home/jenkins/agent/workspace/pingcap/tidb/release-8.1/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/release-8.1/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 635c5544ae8ad74f0d959461cc1d4bc8eba1b9bf (origin/main) Commit message: "fix(tiflash): correct the dir to collect log (#2947)" > 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 635c5544ae8ad74f0d959461cc1d4bc8eba1b9bf # timeout=10 > git rev-list --no-walk 635c5544ae8ad74f0d959461cc1d4bc8eba1b9bf # 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=306984bd-ee69-4d17-9235-cb8b18919a12 JENKINS_NODE_COOKIE=a6f97a6f-3f12-4400-9bc5-62671c7625e3 BUILD_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/release-8.1/job/ghpr_unit_test/98/ GOLANG_VERSION=1.21.0 HOSTNAME=pingcap-tidb-release-8-1-ghpr-unit-test-98-5mrjn-nbqb3-jd771 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-release-8.1-ghpr_unit_test-98 KUBERNETES_SERVICE_PORT=443 GIT_PREVIOUS_COMMIT=635c5544ae8ad74f0d959461cc1d4bc8eba1b9bf JOB_SPEC={"type":"presubmit","job":"pingcap/tidb/release-8.1/ghpr_unit_test","buildid":"1785137059720073216","prowjobid":"306984bd-ee69-4d17-9235-cb8b18919a12","refs":{"org":"pingcap","repo":"tidb","repo_link":"https://github.com/pingcap/tidb","base_ref":"release-8.1","base_sha":"8a5806713fb2f6092c94fd10a7044d6f0f31c229","base_link":"https://github.com/pingcap/tidb/commit/8a5806713fb2f6092c94fd10a7044d6f0f31c229","pulls":[{"number":52998,"author":"ti-chi-bot","sha":"7b2dfa1efd65acabe38168e21e0f543d5976a6d1","title":"*: add rpc error stats and refine log (#52810)","link":"https://github.com/pingcap/tidb/pull/52998","commit_link":"https://github.com/pingcap/tidb/pull/52998/commits/7b2dfa1efd65acabe38168e21e0f543d5976a6d1","author_link":"https://github.com/ti-chi-bot"}]}} KUBERNETES_SERVICE_HOST=10.233.0.1 WORKSPACE=/home/jenkins/agent/workspace/pingcap/tidb/release-8.1/ghpr_unit_test JOB_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/release-8.1/job/ghpr_unit_test/ RUN_CHANGES_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/release-8.1/job/ghpr_unit_test/98/display/redirect?page=changes RUN_ARTIFACTS_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/release-8.1/job/ghpr_unit_test/98/display/redirect?page=artifacts FILE_SERVER_URL=http://fileserver.pingcap.net JENKINS_HOME=/var/jenkins_home GIT_COMMIT=635c5544ae8ad74f0d959461cc1d4bc8eba1b9bf 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/release-8.1/job/ghpr_unit_test/98/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/release-8.1/ghpr_unit_test HUDSON_URL=https://do.pingcap.net/jenkins/ JOB_NAME=pingcap/tidb/release-8.1/ghpr_unit_test TZ=Asia/Shanghai BUILD_DISPLAY_NAME=#98 JENKINS_URL=https://do.pingcap.net/jenkins/ BUILD_ID=1785137059720073216 GOLANG_DOWNLOAD_SHA256=d0398903a16ba2232b389fb31032ddf57cac34efda306a0eebac34f0965a0742 JOB_BASE_NAME=ghpr_unit_test GIT_PREVIOUS_SUCCESSFUL_COMMIT=4f454dd6e93550f4ad2c312d982ac6250b6648d0 RUN_TESTS_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/release-8.1/job/ghpr_unit_test/98/display/redirect?page=tests SHLVL=3 HOME=/home/jenkins POD_LABEL=pingcap_tidb_release-8_1_ghpr_unit_test_98-5mrjn 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/release-8.1/ghpr_unit_test@tmp EXECUTOR_NUMBER=0 JENKINS_SERVER_COOKIE=durable-5c6a8d54e1eafe77a1a9b9f415b7dcf80d0f4d17173a0e297ba32a2ec04ce2da NODE_LABELS=pingcap_tidb_release-8_1_ghpr_unit_test_98-5mrjn pingcap-tidb-release-8-1-ghpr-unit-test-98-5mrjn-nbqb3-jd771 GIT_URL=https://github.com/PingCAP-QE/ci.git HUDSON_HOME=/var/jenkins_home CLASSPATH= NODE_NAME=pingcap-tidb-release-8-1-ghpr-unit-test-98-5mrjn-nbqb3-jd771 GOPATH=/go JOB_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/release-8.1/job/ghpr_unit_test/display/redirect BUILD_NUMBER=98 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-build3607310861=/tmp/go-build -gno-record-gcc-switches' + echo ------------------------- ------------------------- + ls -l /dev/null crw-rw-rw-. 1 1001 root 1, 3 Apr 30 10:40 /dev/null + echo 'debug command: kubectl -n jenkins-tidb exec -ti pingcap-tidb-release-8-1-ghpr-unit-test-98-5mrjn-nbqb3-jd771 bash' debug command: kubectl -n jenkins-tidb exec -ti pingcap-tidb-release-8-1-ghpr-unit-test-98-5mrjn-nbqb3-jd771 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: 10490 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1232 ; COOKIE: 66fdcf036e3893e4 (echoed) ;; QUESTION SECTION: ;github.com. IN A ;; ANSWER SECTION: github.com. 13 IN A 20.205.243.166 ;; Query time: 0 msec ;; SERVER: 169.254.25.10#53(169.254.25.10) (UDP) ;; WHEN: Tue Apr 30 02:40:38 UTC 2024 ;; MSG SIZE rcvd: 77 [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Checkout) [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/release-8.1/ghpr_unit_test/tidb [Pipeline] { [Pipeline] cache Cache restored successfully (git/pingcap/tidb/rev-8a58067-c3a6bdd) 553598976 bytes in 2.57 secs (215180178 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-f524c1b4 # github.com:22 SSH-2.0-babeld-f524c1b4 [Pipeline] } [Pipeline] // withCredentials [Pipeline] retry [Pipeline] { [Pipeline] sh git version 2.37.2 Reinitialized existing Git repository in /home/jenkins/agent/workspace/pingcap/tidb/release-8.1/ghpr_unit_test/tidb/.git/ .git HEAD is now at a26f923d6e Merge commit 'c3a6bdd3b7ab2d9ff4f91e22498a3ca34b7bfa47' into HEAD POST git-upload-pack (686 bytes) POST git-upload-pack (973 bytes) From https://github.com/pingcap/tidb = [up to date] release-8.1 -> origin/release-8.1 c3a6bdd3b7..7b2dfa1efd refs/pull/52998/head -> origin/pr/52998/head Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. Warning: you are leaving 1 commit behind, not connected to any of your branches: a26f923d6e Merge commit 'c3a6bdd3b7ab2d9ff4f91e22498a3ca34b7bfa47' into HEAD If you want to keep it by creating a new branch, this may be a good time to do so with: git branch <new-branch-name> a26f923d6e HEAD is now at 8a5806713f global sort: fix inner retry doesn't reset collector (#52965) (#52995) ๐ง Checkouting to base SHA:8a5806713fb2f6092c94fd10a7044d6f0f31c229... HEAD is now at 8a5806713f global sort: fix inner retry doesn't reset collector (#52965) (#52995) โ Checked. ๐ ๐งพ HEAD info: 8a5806713fb2f6092c94fd10a7044d6f0f31c229 8a5806713f global sort: fix inner retry doesn't reset collector (#52965) (#52995) 474e9b2dbd topsql: set RPC interceptor immediately after a txn is activated (#51795) (#52881) 55e63913dd lightning: performance optimization for post-import conflict detection (#52656) (#52990) ๐ง Pre-merge heads of pull requests to base SHA: 8a5806713fb2f6092c94fd10a7044d6f0f31c229 ... Merge made by the 'ort' strategy. Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. DEPS.bzl | 12 ++++----- go.mod | 2 +- go.sum | 4 +-- pkg/distsql/distsql_test.go | 10 ++++--- pkg/distsql/select_result.go | 31 ++++++++-------------- pkg/executor/distsql_test.go | 14 +++++----- pkg/executor/executor_failpoint_test.go | 10 +++---- pkg/executor/explainfor_test.go | 2 +- pkg/server/conn_test.go | 2 +- pkg/store/copr/batch_request_sender.go | 2 +- pkg/store/copr/coprocessor.go | 12 ++++++--- pkg/tablecodec/BUILD.bazel | 1 + pkg/tablecodec/tablecodec_test.go | 3 ++- .../realtikvtest/sessiontest/session_fail_test.go | 8 +++--- 14 files changed, 57 insertions(+), 56 deletions(-) ๐งพ Pre-merged result: 7f5b538c113e0c72c53bdf14493ec6145d84e00a 7f5b538c11 Merge commit '7b2dfa1efd65acabe38168e21e0f543d5976a6d1' into HEAD 7b2dfa1efd make bazel_prepare c3a6bdd3b7 update bazel โ Pre merged ๐ ๐ update submodules ... โ update submodules done โ ~~~~~All done.~~~~~~ [Pipeline] } [Pipeline] // retry [Pipeline] } [Pipeline] // script [Pipeline] } Cache saved successfully (git/pingcap/tidb/rev-8a58067-7b2dfa1) 553699840 bytes in 18.30 secs (30263228 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/release-8.1/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/release-8.1 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/release-8.1/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... [32mINFO: [0mInvocation ID: f6230c7f-e87d-418c-a273-9c4694dd0561 [32mINFO: [0mReading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/release-8.1/ghpr_unit_test/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps [32mINFO: [0mOptions provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 [32mINFO: [0mReading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/release-8.1/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 [32mINFO: [0mReading rc options for 'run' from /data/..2024_04_30_02_40_28.3302988537/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s [32mINFO: [0mReading rc options for 'run' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=315385 --local_cpu_resources=70 --jobs=70 --repository_cache=/share/.cache/bazel-repository-cache [32mINFO: [0mFound applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/release-8.1/ghpr_unit_test/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression [32mINFO: [0mFound applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/release-8.1/ghpr_unit_test/tidb/.bazelrc: --color=yes [32mLoading:[0m [32mLoading:[0m [32mLoading:[0m [32mLoading:[0m 0 packages loaded [32mAnalyzing:[0m target //:gazelle (1 packages loaded, 0 targets configured) [32mAnalyzing:[0m target //:gazelle (44 packages loaded, 413 targets configured) [32mAnalyzing:[0m target //:gazelle (44 packages loaded, 413 targets configured) [32mAnalyzing:[0m target //:gazelle (44 packages loaded, 413 targets configured) [32mAnalyzing:[0m target //:gazelle (100 packages loaded, 10464 targets configured) [32mAnalyzing:[0m target //:gazelle (100 packages loaded, 10464 targets configured) [32mAnalyzing:[0m target //:gazelle (227 packages loaded, 11465 targets configured) [32mINFO: [0mAnalyzed target //:gazelle (268 packages loaded, 11957 targets configured). [32mINFO: [0mFound 1 target... [32m[0 / 237][0m [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (2 actions, 0 running) [32m[24 / 314][0m GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 5.9 MiB / 10.3 MiB; 0s remote-cache ... (3 actions, 0 running) [32m[24 / 314][0m 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; 1s remote-cache ... (3 actions, 0 running) [32m[26 / 314][0m GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 2s remote-cache ... (42 actions, 0 running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle [32mINFO: [0mElapsed time: 24.672s, Critical Path: 4.39s [32mINFO: [0m314 processes: 294 remote cache hit, 20 internal. [32mINFO:[0m Build completed successfully, 314 total actions [32mINFO: [0mRunning command line: bazel-bin/gazelle [0mbazel --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/release-8.1/ghpr_unit_test/tidb && " \ //tools/tazel:tazel [32mINFO: [0mInvocation ID: 8cd8f83c-7d63-4b6a-bfba-92046ddcfeab [32mINFO: [0mReading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/release-8.1/ghpr_unit_test/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps [32mINFO: [0mOptions provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 [32mINFO: [0mReading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/release-8.1/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 [32mINFO: [0mReading rc options for 'run' from /data/..2024_04_30_02_40_28.3302988537/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s [32mINFO: [0mReading rc options for 'run' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=315385 --local_cpu_resources=70 --jobs=70 --repository_cache=/share/.cache/bazel-repository-cache [32mINFO: [0mFound applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/release-8.1/ghpr_unit_test/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression [32mINFO: [0mFound applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/release-8.1/ghpr_unit_test/tidb/.bazelrc: --color=yes [32mLoading:[0m [32mLoading:[0m [32mLoading:[0m 0 packages loaded [32mINFO: [0mBuild option --run_under has changed, discarding analysis cache. [32mAnalyzing:[0m target //tools/tazel:tazel (1 packages loaded, 0 targets configured) [32mAnalyzing:[0m target //tools/tazel:tazel (73 packages loaded, 12893 targets configured) [32mAnalyzing:[0m target //tools/tazel:tazel (177 packages loaded, 13485 targets configured) [32mINFO: [0mRepository com_github_tikv_client_go_v2 instantiated at: /home/jenkins/agent/workspace/pingcap/tidb/release-8.1/ghpr_unit_test/tidb/WORKSPACE:55:8: in <toplevel> /home/jenkins/agent/workspace/pingcap/tidb/release-8.1/ghpr_unit_test/tidb/DEPS.bzl:7079:18: in go_deps Repository rule go_repository defined at: /home/jenkins/.tidb/tmp/5cfc4a16c2c6d36cce346a7a12411ff4/external/bazel_gazelle/internal/go_repository.bzl:340:32: in <toplevel> [35mWARNING: [0mDownload from http://bazel-cache.pingcap.net:8080/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20240429091414-f8bf3dd49563.zip failed: class java.io.FileNotFoundException GET returned 404 Not Found [35mWARNING: [0mDownload from http://ats.apps.svc/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20240429091414-f8bf3dd49563.zip failed: class java.io.FileNotFoundException GET returned 404 Not Found [35mWARNING: [0mDownload from https://cache.hawkingrei.com/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20240429091414-f8bf3dd49563.zip failed: class java.io.FileNotFoundException GET returned 404 Not Found [35mWARNING: [0mDownload from https://storage.googleapis.com/pingcapmirror/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20240429091414-f8bf3dd49563.zip failed: class java.io.FileNotFoundException GET returned 404 Not Found [31m[1mERROR: [0mAn error occurred during the fetch of repository 'com_github_tikv_client_go_v2': Traceback (most recent call last): File "/home/jenkins/.tidb/tmp/5cfc4a16c2c6d36cce346a7a12411ff4/external/bazel_gazelle/internal/go_repository.bzl", line 139, column 33, in _go_repository_impl ctx.download_and_extract( Error in download_and_extract: java.io.IOException: Error downloading [http://bazel-cache.pingcap.net:8080/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20240429091414-f8bf3dd49563.zip, http://ats.apps.svc/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20240429091414-f8bf3dd49563.zip, https://cache.hawkingrei.com/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20240429091414-f8bf3dd49563.zip, https://storage.googleapis.com/pingcapmirror/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20240429091414-f8bf3dd49563.zip] to /home/jenkins/.tidb/tmp/5cfc4a16c2c6d36cce346a7a12411ff4/external/com_github_tikv_client_go_v2/temp6646742319342882820/com_github_tikv_client_go_v2-v2.0.8-0.20240429091414-f8bf3dd49563.zip: GET returned 404 Not Found [31m[1mERROR: [0m/home/jenkins/agent/workspace/pingcap/tidb/release-8.1/ghpr_unit_test/tidb/WORKSPACE:55:8: fetching go_repository rule //external:com_github_tikv_client_go_v2: Traceback (most recent call last): File "/home/jenkins/.tidb/tmp/5cfc4a16c2c6d36cce346a7a12411ff4/external/bazel_gazelle/internal/go_repository.bzl", line 139, column 33, in _go_repository_impl ctx.download_and_extract( Error in download_and_extract: java.io.IOException: Error downloading [http://bazel-cache.pingcap.net:8080/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20240429091414-f8bf3dd49563.zip, http://ats.apps.svc/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20240429091414-f8bf3dd49563.zip, https://cache.hawkingrei.com/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20240429091414-f8bf3dd49563.zip, https://storage.googleapis.com/pingcapmirror/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20240429091414-f8bf3dd49563.zip] to /home/jenkins/.tidb/tmp/5cfc4a16c2c6d36cce346a7a12411ff4/external/com_github_tikv_client_go_v2/temp6646742319342882820/com_github_tikv_client_go_v2-v2.0.8-0.20240429091414-f8bf3dd49563.zip: GET returned 404 Not Found [31m[1mERROR: [0m/home/jenkins/agent/workspace/pingcap/tidb/release-8.1/ghpr_unit_test/tidb/pkg/util/logutil/BUILD.bazel:3:11: //pkg/util/logutil:logutil depends on @com_github_tikv_client_go_v2//tikv:tikv in repository @com_github_tikv_client_go_v2 which failed to fetch. no such package '@com_github_tikv_client_go_v2//tikv': java.io.IOException: Error downloading [http://bazel-cache.pingcap.net:8080/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20240429091414-f8bf3dd49563.zip, http://ats.apps.svc/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20240429091414-f8bf3dd49563.zip, https://cache.hawkingrei.com/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20240429091414-f8bf3dd49563.zip, https://storage.googleapis.com/pingcapmirror/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20240429091414-f8bf3dd49563.zip] to /home/jenkins/.tidb/tmp/5cfc4a16c2c6d36cce346a7a12411ff4/external/com_github_tikv_client_go_v2/temp6646742319342882820/com_github_tikv_client_go_v2-v2.0.8-0.20240429091414-f8bf3dd49563.zip: GET returned 404 Not Found [31m[1mERROR: [0mAnalysis of target '//tools/tazel:tazel' failed; build aborted: [32mINFO: [0mElapsed time: 5.387s [32mINFO: [0m0 processes. [31m[1mFAILED:[0m Build did NOT complete successfully (177 packages loaded, 13485 targets configured) [31m[1mERROR: [0mBuild failed. Not running target [0mmake: *** [bazel_ci_simple_prepare] Error 1 root: /home/jenkins/.tidb/tmp/5cfc4a16c2c6d36cce346a7a12411ff4/execroot/__main__/bazel-out/k8-fastbuild/testlogs mv: cannot stat 'bazel.xml': No such file or directory [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/release-8.1/ghpr_unit_test/tidb [Pipeline] { [Pipeline] junit Recording test results [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: 962b5c49-2df9-4be1-863c-70944912b3e5' --header 'ce-source: https://do.pingcap.net/jenkins/' --header 'ce-type: test-case-run-report' --header 'ce-repo: pingcap/tidb' --header 'ce-branch: release-8.1' --header 'ce-buildurl: https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/release-8.1/job/ghpr_unit_test/98/' --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: 962b5c49-2df9-4be1-863c-70944912b3e5 > ce-source: https://do.pingcap.net/jenkins/ > ce-type: test-case-run-report > ce-repo: pingcap/tidb > ce-branch: release-8.1 > ce-buildurl: https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/release-8.1/job/ghpr_unit_test/98/ > 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 ERROR: script returned exit code 2 Finished: FAILURE