Skip to content

Console Output

Started by user Jenkins Admin
Obtained pipelines/PingCAP-QE/tidb-test/latest/ghpr_mysql_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-QE/tidb-test/latest/pod-ghpr_mysql_test.yaml from git https://github.com/PingCAP-QE/ci.git
[Pipeline] podTemplate
[Pipeline] {
[Pipeline] node
Created Pod: kubernetes jenkins-tidb/pingcap-qe-tidb-test-ghpr-mysql-test-123-gk5jl-wxlbx-mp789
Agent pingcap-qe-tidb-test-ghpr-mysql-test-123-gk5jl-wxlbx-mp789 is provisioned from template pingcap-qe_tidb-test_ghpr_mysql_test_123-gk5jl-wxlbx
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap-qe/job/tidb-test/job/ghpr_mysql_test/123/"
    runUrl: "job/pingcap-qe/job/tidb-test/job/ghpr_mysql_test/123/"
  labels:
    jenkins/jenkins-jenkins-agent: "true"
    jenkins/label-digest: "b900a67fd4eb054af249bed13d77076e80b6f570"
    jenkins/label: "pingcap-qe_tidb-test_ghpr_mysql_test_123-gk5jl"
  name: "pingcap-qe-tidb-test-ghpr-mysql-test-123-gk5jl-wxlbx-mp789"
  namespace: "jenkins-tidb"
spec:
  affinity:
    nodeAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
        nodeSelectorTerms:
        - matchExpressions:
          - key: "kubernetes.io/arch"
            operator: "In"
            values:
            - "amd64"
  containers:
  - image: "hub.pingcap.net/jenkins/centos7_golang-1.21:latest"
    name: "golang"
    resources:
      limits:
        memory: "24Gi"
        cpu: "8"
      requests:
        memory: "8Gi"
        cpu: "4"
    securityContext:
      privileged: true
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  - image: "hub.pingcap.net/jenkins/network-multitool"
    name: "net-tool"
    resources:
      limits:
        memory: "128Mi"
        cpu: "100m"
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  - image: "hub.pingcap.net/jenkins/python3-requests:latest"
    name: "report"
    resources:
      limits:
        memory: "256Mi"
        cpu: "100m"
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-agent.apps.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "pingcap-qe-tidb-test-ghpr-mysql-test-123-gk5jl-wxlbx-mp789"
    - name: "JENKINS_NAME"
      value: "pingcap-qe-tidb-test-ghpr-mysql-test-123-gk5jl-wxlbx-mp789"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins.apps.svc.cluster.local:8080/jenkins/"
    image: "jenkins/inbound-agent:3206.vb_15dcf73f6a_9-2"
    name: "jnlp"
    resources:
      requests:
        memory: "256Mi"
        cpu: "100m"
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  restartPolicy: "Never"
  securityContext:
    fsGroup: 1000
  volumes:
  - emptyDir:
      medium: ""
    name: "workspace-volume"

Running on pingcap-qe-tidb-test-ghpr-mysql-test-123-gk5jl-wxlbx-mp789 in /home/jenkins/agent/workspace/pingcap-qe/tidb-test/ghpr_mysql_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-qe/tidb-test/ghpr_mysql_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
 > 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 e7e788184f011a5a7a03ec051e8295432311f8fc (origin/main)
Commit message: "chore(tiproxy): apply prow-jobs to all branches (#2954)"
 > git rev-parse origin/main^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f e7e788184f011a5a7a03ec051e8295432311f8fc # timeout=10
 > git rev-list --no-walk e7e788184f011a5a7a03ec051e8295432311f8fc # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] container
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] timeout
Timeout set to expire in 45 min
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Debug info)
[Pipeline] sh
+ printenv
PROW_JOB_ID=c1b16232-de8e-4ae1-a7d5-3f12599874d6
JENKINS_NODE_COOKIE=b9d5650f-fa6d-43df-bf50-cb089f831157
BUILD_URL=https://do.pingcap.net/jenkins/job/pingcap-qe/job/tidb-test/job/ghpr_mysql_test/123/
GOLANG_VERSION=1.21.6
HOSTNAME=pingcap-qe-tidb-test-ghpr-mysql-test-123-gk5jl-wxlbx-mp789
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-qe-tidb-test-ghpr_mysql_test-123
KUBERNETES_SERVICE_PORT=443
GIT_PREVIOUS_COMMIT=e7e788184f011a5a7a03ec051e8295432311f8fc
JOB_SPEC={"type":"presubmit","job":"pingcap-qe/tidb-test/ghpr_mysql_test","buildid":"1787922725788979201","prowjobid":"c1b16232-de8e-4ae1-a7d5-3f12599874d6","refs":{"org":"PingCAP-QE","repo":"tidb-test","repo_link":"https://github.com/PingCAP-QE/tidb-test","base_ref":"master","base_sha":"fdf9e25157e264e347ca64437a518f8792bd78f2","base_link":"https://github.com/PingCAP-QE/tidb-test/commit/fdf9e25157e264e347ca64437a518f8792bd78f2","pulls":[{"number":2321,"author":"ghazalfamilyusa","sha":"1b91541c8556ec4e857c7758105d3b007b1574a9","title":"mysql_test: to be compatible with tidb#50971 tidb=pr/50971","link":"https://github.com/PingCAP-QE/tidb-test/pull/2321","commit_link":"https://github.com/PingCAP-QE/tidb-test/pull/2321/commits/1b91541c8556ec4e857c7758105d3b007b1574a9","author_link":"https://github.com/ghazalfamilyusa"}]}}
KUBERNETES_SERVICE_HOST=10.233.0.1
WORKSPACE=/home/jenkins/agent/workspace/pingcap-qe/tidb-test/ghpr_mysql_test
JOB_URL=https://do.pingcap.net/jenkins/job/pingcap-qe/job/tidb-test/job/ghpr_mysql_test/
RUN_CHANGES_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap-qe/job/tidb-test/job/ghpr_mysql_test/123/display/redirect?page=changes
RUN_ARTIFACTS_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap-qe/job/tidb-test/job/ghpr_mysql_test/123/display/redirect?page=artifacts
FILE_SERVER_URL=http://fileserver.pingcap.net
JENKINS_HOME=/var/jenkins_home
GIT_COMMIT=e7e788184f011a5a7a03ec051e8295432311f8fc
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-qe/job/tidb-test/job/ghpr_mysql_test/123/display/redirect
GOPROXY=http://goproxy.apps.svc,https://proxy.golang.org,direct
_=/usr/bin/printenv
POD_CONTAINER=golang
PWD=/home/jenkins/agent/workspace/pingcap-qe/tidb-test/ghpr_mysql_test
HUDSON_URL=https://do.pingcap.net/jenkins/
JOB_NAME=pingcap-qe/tidb-test/ghpr_mysql_test
TZ=Asia/Shanghai
BUILD_DISPLAY_NAME=#123
JENKINS_URL=https://do.pingcap.net/jenkins/
BUILD_ID=1787922725788979201
GOLANG_DOWNLOAD_SHA256=3f934f40ac360b9c01f616a9aa1796d227d8b0328bf64cb045c7b8c4ee9caea4
JOB_BASE_NAME=ghpr_mysql_test
GIT_PREVIOUS_SUCCESSFUL_COMMIT=03312178c534dce949face80c69812d989e55009
RUN_TESTS_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap-qe/job/tidb-test/job/ghpr_mysql_test/123/display/redirect?page=tests
SHLVL=3
HOME=/home/jenkins
POD_LABEL=pingcap-qe_tidb-test_ghpr_mysql_test_123-gk5jl
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-qe/tidb-test/ghpr_mysql_test@tmp
EXECUTOR_NUMBER=0
JENKINS_SERVER_COOKIE=durable-fbcd41d4932756687d2c538a35b9c4daf1a7a15c691e7177f4c0d46a9e1b5fd3
NODE_LABELS=pingcap-qe-tidb-test-ghpr-mysql-test-123-gk5jl-wxlbx-mp789 pingcap-qe_tidb-test_ghpr_mysql_test_123-gk5jl
GIT_URL=https://github.com/PingCAP-QE/ci.git
HUDSON_HOME=/var/jenkins_home
CLASSPATH=
NODE_NAME=pingcap-qe-tidb-test-ghpr-mysql-test-123-gk5jl-wxlbx-mp789
GOPATH=/go
JOB_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap-qe/job/tidb-test/job/ghpr_mysql_test/display/redirect
BUILD_NUMBER=123
KUBERNETES_PORT_443_TCP_ADDR=10.233.0.1
KUBERNETES_PORT_443_TCP=tcp://10.233.0.1:443
GOLANG_DOWNLOAD_URL=https://dl.google.com/go/go1.21.6.linux-amd64.tar.gz
+ echo -------------------------
-------------------------
+ go env
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/home/jenkins/.cache/go-build'
GOENV='/home/jenkins/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/go'
GOPRIVATE=''
GOPROXY='http://goproxy.apps.svc,https://proxy.golang.org,direct'
GOROOT='/usr/local/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.21.6'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/dev/null'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1604637218=/tmp/go-build -gno-record-gcc-switches'
+ echo -------------------------
-------------------------
+ ls -l /dev/null
crw-rw-rw-. 1 root root 1, 3 May  8 03:09 /dev/null
+ echo 'debug command: kubectl -n jenkins-tidb exec -ti pingcap-qe-tidb-test-ghpr-mysql-test-123-gk5jl-wxlbx-mp789 bash'
debug command: kubectl -n jenkins-tidb exec -ti pingcap-qe-tidb-test-ghpr-mysql-test-123-gk5jl-wxlbx-mp789 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: 51904
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: 57b9cfd850ba8e28 (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: Tue May 07 19:09:53 UTC 2024
;; MSG SIZE  rcvd: 77

[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] timeout
Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] dir
Running in /home/jenkins/agent/workspace/pingcap-qe/tidb-test/ghpr_mysql_test/tidb
[Pipeline] {
[Pipeline] cache
Cache restored successfully (git/pingcap/tidb/rev-67d18d541d7efa475e01bb2979b92929497e6b7f)
477431808 bytes in 6.18 secs (77204309 bytes/sec)
[Pipeline] {
[Pipeline] retry
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] sh
git version 2.36.6
Reinitialized existing Git repository in /home/jenkins/agent/workspace/pingcap-qe/tidb-test/ghpr_mysql_test/tidb/.git/
.git
HEAD is now at 39b3d84c11 Merge remote-tracking branch 'origin/master' into HEAD
๐Ÿ” fetch tidb pr/50971 and merge master branch
POST git-upload-pack (656 bytes)
From https://github.com/pingcap/tidb
 = [up to date]            master               -> origin/master
 = [up to date]            refs/pull/50971/head -> origin/pr/50971/head
Warning: you are leaving 1 commit behind, not connected to
any of your branches:

  39b3d84c11 Merge remote-tracking branch 'origin/master' 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> 39b3d84c11

HEAD is now at 5be3e913e5 Merge branch 'master' into out2in
๐Ÿงพ HEAD info:
5be3e913e528b19da10dc7fea6ead530c053dac5
5be3e913e5 Merge branch 'master' into out2in
84976a1ae1 Merge branch 'master' into out2in
9fffc2f5ee planner: make sure mpp join task's hashCols are all contained of its plan's schema (#52836)
๐Ÿ”€ Merge master into pr/50971
Auto-merging pkg/planner/core/logical_plan_builder.go
Merge made by the 'ort' strategy.
 DEPS.bzl                                           |    84 +-
 Makefile                                           |     8 +
 WORKSPACE                                          |    10 +-
 br/cmd/br/BUILD.bazel                              |     4 +-
 br/cmd/br/debug.go                                 |    13 +-
 br/cmd/br/main_test.go                             |    32 +
 br/pkg/backup/client.go                            |   309 +-
 br/pkg/backup/prepare_snap/BUILD.bazel             |     1 +
 br/pkg/backup/prepare_snap/prepare.go              |     4 +
 br/pkg/backup/push.go                              |    10 +-
 br/pkg/httputil/http.go                            |     1 +
 br/pkg/restore/BUILD.bazel                         |    62 +-
 br/pkg/restore/batcher.go                          |     7 +-
 br/pkg/restore/batcher_test.go                     |    13 +-
 br/pkg/restore/client.go                           |   197 +-
 br/pkg/restore/client_test.go                      |    64 +-
 br/pkg/restore/data/BUILD.bazel                    |    57 +
 br/pkg/restore/{ => data}/data.go                  |     4 +-
 br/pkg/restore/{ => data}/data_test.go             |    14 +-
 br/pkg/restore/data/key.go                         |    68 +
 br/pkg/restore/data/key_test.go                    |   181 +
 br/pkg/restore/data/recover.go                     |   161 +
 br/pkg/restore/db_test.go                          |     2 +-
 br/pkg/restore/file_importer/BUILD.bazel           |    77 +
 br/pkg/restore/{ => file_importer}/import.go       |   202 +-
 br/pkg/restore/{ => file_importer}/import_retry.go |     5 +-
 .../{ => file_importer}/import_retry_test.go       |   398 +-
 br/pkg/restore/file_importer/import_test.go        |   106 +
 br/pkg/restore/log_restore/BUILD.bazel             |    64 +
 br/pkg/restore/log_restore/export_test.go          |    35 +
 br/pkg/restore/log_restore/import_test.go          |   200 +
 br/pkg/restore/{ => log_restore}/log_client.go     |   105 +-
 .../restore/{ => log_restore}/log_client_test.go   |    43 +-
 br/pkg/restore/{ => log_restore}/split.go          |   246 +-
 br/pkg/restore/log_restore/split_test.go           |   239 +
 br/pkg/restore/pipeline_items.go                   |     5 +-
 br/pkg/restore/range.go                            |    60 -
 br/pkg/restore/range_test.go                       |    75 -
 br/pkg/restore/rawkv/BUILD.bazel                   |    32 +
 br/pkg/restore/{ => rawkv}/rawkv_client.go         |     5 +-
 br/pkg/restore/{ => rawkv}/rawkv_client_test.go    |     8 +-
 br/pkg/restore/split_test.go                       |   713 --
 br/pkg/restore/util.go                             |   768 +-
 br/pkg/restore/util_test.go                        |   567 +-
 br/pkg/restore/utils/BUILD.bazel                   |    60 +
 br/pkg/restore/utils/id.go                         |    58 +
 br/pkg/restore/utils/key.go                        |    34 +
 br/pkg/restore/utils/log_file_map.go               |    84 +
 br/pkg/restore/utils/log_file_map_test.go          |   100 +
 br/pkg/restore/{ => utils}/merge.go                |    53 +-
 br/pkg/restore/{ => utils}/merge_test.go           |   136 +-
 br/pkg/restore/utils/rewrite_rule.go               |   381 +
 br/pkg/restore/utils/rewrite_rule_test.go          |   360 +
 br/pkg/restore/utils/split.go                      |   170 +
 br/pkg/restore/utils/split_test.go                 |   137 +
 br/pkg/restore/utils/value.go                      |    20 +
 br/pkg/rtree/BUILD.bazel                           |     3 +-
 br/pkg/rtree/rtree.go                              |   127 +
 br/pkg/rtree/rtree_test.go                         |    55 +
 br/pkg/storage/memstore.go                         |     3 -
 br/pkg/storage/storage.go                          |     4 +-
 br/pkg/stream/BUILD.bazel                          |    12 +-
 br/pkg/{restore => stream}/search.go               |    37 +-
 br/pkg/{restore => stream}/search_test.go          |     7 +-
 br/pkg/{restore => stream}/stream_metas.go         |    49 +-
 br/pkg/{restore => stream}/stream_metas_test.go    |   682 +-
 br/pkg/stream/stream_status.go                     |    16 +-
 br/pkg/task/BUILD.bazel                            |     7 +-
 br/pkg/task/backup.go                              |    84 +-
 br/pkg/task/backup_raw.go                          |    12 +-
 br/pkg/task/backup_txn.go                          |     8 +-
 br/pkg/task/operator/BUILD.bazel                   |     1 +
 br/pkg/task/operator/cmd.go                        |    21 +-
 br/pkg/task/restore.go                             |    47 +-
 br/pkg/task/restore_data.go                        |     3 +-
 br/pkg/task/restore_raw.go                         |     3 +-
 br/pkg/task/restore_test.go                        |    37 +
 br/pkg/task/restore_txn.go                         |     3 +-
 br/pkg/task/stream.go                              |    31 +-
 br/tests/br_300_small_tables/run.sh                |     2 +-
 br/tests/br_pitr/run.sh                            |     2 +-
 br/tests/br_pitr_failpoint/run.sh                  |     2 +-
 br/tests/br_tikv_outage2/run.sh                    |     2 +-
 build/nogo_config.json                             |     2 +-
 cmd/tidb-server/BUILD.bazel                        |     2 +-
 cmd/tidb-server/main.go                            |    13 +-
 go.mod                                             |    10 +-
 go.sum                                             |    20 +-
 lightning/tests/lightning_config_max_error/run.sh  |    12 +-
 .../tests/lightning_duplicate_detection/run.sh     |     2 +-
 .../lightning_duplicate_resolution_error/run.sh    |     2 +-
 .../run.sh                                         |     2 +-
 .../run.sh                                         |     2 +-
 .../run.sh                                         |     2 +-
 .../lightning_duplicate_resolution_merge/run.sh    |     2 +-
 lightning/tests/lightning_issue_40657/run.sh       |     2 +-
 lightning/tidb-lightning.toml                      |    28 +-
 pkg/bindinfo/capture_test.go                       |     2 +
 pkg/ddl/BUILD.bazel                                |     3 +-
 pkg/ddl/backfilling.go                             |    31 +-
 pkg/ddl/backfilling_dist_executor.go               |     7 +-
 pkg/ddl/backfilling_dist_scheduler.go              |    11 +-
 pkg/ddl/backfilling_dist_scheduler_test.go         |     2 +-
 pkg/ddl/backfilling_operators.go                   |     2 +-
 pkg/ddl/backfilling_read_index.go                  |    19 +-
 pkg/ddl/backfilling_scheduler.go                   |     7 +-
 pkg/ddl/callback.go                                |    18 +-
 pkg/ddl/cluster.go                                 |    18 +-
 pkg/ddl/column.go                                  |    33 +-
 pkg/ddl/db_integration_test.go                     |     6 +-
 pkg/ddl/db_rename_test.go                          |     4 +-
 pkg/ddl/ddl.go                                     |    72 +-
 pkg/ddl/ddl_api.go                                 |   100 +-
 pkg/ddl/ddl_history.go                             |     4 +-
 pkg/ddl/ddl_tiflash_api.go                         |    46 +-
 pkg/ddl/ddl_worker.go                              |    49 +-
 pkg/ddl/ddl_workerpool.go                          |     5 +-
 pkg/ddl/delete_range.go                            |    26 +-
 pkg/ddl/index.go                                   |    82 +-
 pkg/ddl/index_cop.go                               |     4 +-
 pkg/ddl/index_merge_tmp.go                         |     4 +-
 pkg/ddl/ingest/BUILD.bazel                         |     1 +
 pkg/ddl/ingest/backend.go                          |    44 +-
 pkg/ddl/ingest/backend_mgr.go                      |     7 +-
 pkg/ddl/ingest/checkpoint.go                       |   302 +-
 pkg/ddl/ingest/checkpoint_test.go                  |    96 +-
 pkg/ddl/ingest/disk_root.go                        |     9 +-
 pkg/ddl/ingest/env.go                              |    20 +-
 pkg/ddl/ingest/flush.go                            |     1 +
 pkg/ddl/ingest/mock.go                             |    31 +-
 pkg/ddl/internal/session/BUILD.bazel               |     3 +-
 pkg/ddl/internal/session/session.go                |     2 +
 pkg/ddl/internal/session/session_pool.go           |     5 +-
 pkg/ddl/job_table.go                               |    45 +-
 pkg/ddl/logutil/BUILD.bazel                        |    12 +
 pkg/ddl/logutil/logutil.go                         |    40 +
 pkg/ddl/multi_schema_change.go                     |    24 +
 pkg/ddl/partition.go                               |    37 +-
 pkg/ddl/placement/bundle.go                        |    16 +-
 pkg/ddl/placement_policy.go                        |   101 +-
 pkg/ddl/placement_policy_test.go                   |    27 +
 pkg/ddl/reorg.go                                   |    42 +-
 pkg/ddl/reorg_partition_test.go                    |     4 +-
 pkg/ddl/resource_group.go                          |    10 +-
 pkg/ddl/sanity_check.go                            |     6 +-
 pkg/ddl/schema_test.go                             |     6 +-
 pkg/ddl/split_region.go                            |    10 +-
 pkg/ddl/syncer/BUILD.bazel                         |     2 +-
 pkg/ddl/syncer/state_syncer.go                     |     6 +-
 pkg/ddl/syncer/syncer.go                           |    19 +-
 pkg/ddl/table.go                                   |    24 +-
 pkg/ddl/tests/adminpause/BUILD.bazel               |     2 +-
 pkg/ddl/tests/adminpause/global.go                 |     4 +-
 pkg/ddl/tests/metadatalock/BUILD.bazel             |     3 +-
 pkg/ddl/tests/metadatalock/mdl_test.go             |    98 +
 pkg/ddl/tests/partition/BUILD.bazel                |     2 +-
 pkg/ddl/tests/partition/db_partition_test.go       |    10 +-
 pkg/ddl/tests/tiflash/BUILD.bazel                  |     2 +-
 pkg/ddl/tests/tiflash/ddl_tiflash_test.go          |     8 +-
 pkg/ddl/testutil/BUILD.bazel                       |     2 +-
 pkg/ddl/testutil/testutil.go                       |     4 +-
 pkg/ddl/util/BUILD.bazel                           |     8 +-
 pkg/ddl/util/callback/BUILD.bazel                  |     2 +-
 pkg/ddl/util/callback/callback.go                  |    14 +-
 pkg/ddl/util/dead_table_lock_checker.go            |     4 +-
 pkg/ddl/util/util.go                               |    17 +-
 pkg/ddl/util/util_test.go                          |    34 +
 pkg/distsql/distsql_test.go                        |    10 +-
 pkg/distsql/select_result.go                       |    31 +-
 pkg/disttask/framework/handle/handle.go            |    10 +-
 pkg/disttask/framework/handle/handle_test.go       |    15 +-
 .../framework/integrationtests/BUILD.bazel         |     5 +-
 .../framework/integrationtests/bench_test.go       |     2 +-
 .../framework_err_handling_test.go                 |     4 +-
 .../integrationtests/framework_ha_test.go          |     2 +-
 .../framework_pause_and_resume_test.go             |     4 +-
 .../integrationtests/framework_role_test.go        |    94 -
 .../integrationtests/framework_rollback_test.go    |     2 +-
 .../integrationtests/framework_scope_test.go       |   174 +
 .../framework/integrationtests/framework_test.go   |    23 +-
 .../integrationtests/resource_control_test.go      |     2 +-
 pkg/disttask/framework/mock/scheduler_mock.go      |    15 -
 pkg/disttask/framework/planner/BUILD.bazel         |     1 +
 pkg/disttask/framework/planner/planner.go          |     6 +-
 pkg/disttask/framework/proto/task.go               |     5 +
 pkg/disttask/framework/scheduler/BUILD.bazel       |     2 +-
 pkg/disttask/framework/scheduler/balancer.go       |     7 +-
 pkg/disttask/framework/scheduler/balancer_test.go  |     2 +-
 pkg/disttask/framework/scheduler/interface.go      |     5 -
 pkg/disttask/framework/scheduler/nodes.go          |    62 +-
 pkg/disttask/framework/scheduler/nodes_test.go     |    91 +-
 pkg/disttask/framework/scheduler/scheduler.go      |     6 +-
 .../framework/scheduler/scheduler_manager.go       |     4 +-
 .../framework/scheduler/scheduler_manager_test.go  |     2 +-
 pkg/disttask/framework/scheduler/scheduler_test.go |    10 +-
 pkg/disttask/framework/scheduler/slots.go          |     4 +-
 pkg/disttask/framework/scheduler/slots_test.go     |     4 +-
 pkg/disttask/framework/storage/converter.go        |    17 +-
 pkg/disttask/framework/storage/nodes.go            |    40 +-
 pkg/disttask/framework/storage/table_test.go       |    58 +-
 pkg/disttask/framework/storage/task_state_test.go  |    12 +-
 pkg/disttask/framework/storage/task_table.go       |    19 +-
 .../taskexecutor/task_executor_testkit_test.go     |     2 +-
 pkg/disttask/framework/testutil/context.go         |     7 +
 pkg/disttask/framework/testutil/disttest_util.go   |     4 +-
 pkg/disttask/importinto/job_testkit_test.go        |     4 +-
 pkg/disttask/importinto/scheduler_testkit_test.go  |     4 +-
 pkg/domain/plan_replayer_dump.go                   |     1 +
 pkg/executor/BUILD.bazel                           |    20 +-
 pkg/executor/benchmark_test.go                     |   193 +-
 pkg/executor/builder.go                            |   388 +-
 pkg/executor/cte.go                                |    49 +-
 pkg/executor/distsql.go                            |    50 +-
 pkg/executor/distsql_test.go                       |    14 +-
 pkg/executor/executor.go                           |   207 +-
 pkg/executor/executor_failpoint_test.go            |    14 +-
 pkg/executor/executor_pkg_test.go                  |    21 +-
 pkg/executor/explainfor_test.go                    |     2 +-
 pkg/executor/importer/import.go                    |     2 +-
 pkg/executor/index_merge_reader.go                 |    79 +-
 pkg/executor/infoschema_reader.go                  |     2 +-
 pkg/executor/insert_common.go                      |    14 +-
 pkg/executor/inspection_result.go                  |    25 +-
 pkg/executor/inspection_summary.go                 |     3 +-
 pkg/executor/internal/exec/BUILD.bazel             |     1 +
 pkg/executor/internal/exec/executor.go             |     7 +
 pkg/executor/join/BUILD.bazel                      |    85 +
 pkg/executor/{ => join}/concurrent_map.go          |     4 +-
 pkg/executor/{ => join}/concurrent_map_test.go     |     6 +-
 pkg/executor/{ => join}/hash_table.go              |   188 +-
 pkg/executor/{ => join}/hash_table_test.go         |    30 +-
 pkg/executor/{ => join}/index_lookup_hash_join.go  |   103 +-
 pkg/executor/{ => join}/index_lookup_join.go       |   197 +-
 pkg/executor/{ => join}/index_lookup_join_test.go  |     6 +-
 pkg/executor/{ => join}/index_lookup_merge_join.go |   174 +-
 .../{ => join}/index_lookup_merge_join_test.go     |    10 +-
 pkg/executor/{ => join}/join.go                    |   555 +-
 pkg/executor/join/join_stats_test.go               |    59 +
 pkg/executor/{ => join}/joiner.go                  |   153 +-
 pkg/executor/{ => join}/joiner_test.go             |    23 +-
 pkg/executor/{ => join}/merge_join.go              |   117 +-
 pkg/executor/{ => join}/merge_join_test.go         |    10 +-
 pkg/executor/join_pkg_test.go                      |    44 +-
 pkg/executor/mem_reader.go                         |   284 +-
 pkg/executor/metrics_reader.go                     |     5 +-
 pkg/executor/parallel_apply.go                     |    15 +-
 pkg/executor/pkg_test.go                           |    23 +-
 pkg/executor/prepared.go                           |     5 +-
 pkg/executor/set_test.go                           |     6 +-
 pkg/executor/show.go                               |    14 +-
 pkg/executor/show_placement.go                     |    47 +-
 pkg/executor/sortexec/sort_test.go                 |     4 +-
 pkg/executor/test/aggregate/aggregate_test.go      |     5 +
 .../indexmergereadtest/index_merge_reader_test.go  |     4 +-
 pkg/executor/test/issuetest/executor_issue_test.go |     6 +-
 pkg/executor/test/jointest/hashjoin/BUILD.bazel    |     2 +-
 .../test/jointest/hashjoin/hash_join_test.go       |    53 +-
 pkg/executor/test/jointest/join_test.go            |     8 +-
 pkg/executor/test/seqtest/seq_executor_test.go     |     6 +-
 pkg/executor/union_scan.go                         |     3 +
 pkg/executor/union_scan_test.go                    |     2 +
 pkg/executor/unionexec/BUILD.bazel                 |    19 +
 pkg/executor/unionexec/union.go                    |   232 +
 pkg/executor/update.go                             |     3 +-
 pkg/executor/write.go                              |     2 +-
 pkg/expression/builtin_encryption.go               |     6 +-
 pkg/expression/builtin_encryption_test.go          |    20 +
 pkg/expression/builtin_encryption_vec.go           |     2 +-
 pkg/expression/builtin_json.go                     |     2 +-
 pkg/expression/builtin_json_vec.go                 |     2 +-
 pkg/expression/context/context.go                  |    24 +
 pkg/expression/contextsession/sessionctx.go        |    49 +-
 pkg/expression/contextsession/sessionctx_test.go   |     2 +-
 pkg/expression/contextstatic/BUILD.bazel           |    16 +-
 pkg/expression/contextstatic/evalctx_test.go       |    18 +-
 pkg/expression/contextstatic/exprctx.go            |   284 +
 pkg/expression/contextstatic/exprctx_test.go       |   247 +
 pkg/expression/explain.go                          |     9 +
 pkg/expression/util.go                             |     3 +-
 pkg/infoschema/BUILD.bazel                         |     3 +-
 pkg/infoschema/builder.go                          |    31 +-
 pkg/infoschema/builder_test.go                     |    94 +
 pkg/infoschema/tables.go                           |     6 +-
 pkg/kv/key.go                                      |     4 +-
 pkg/lightning/backend/external/writer.go           |    16 +-
 pkg/lightning/backend/external/writer_test.go      |    70 +-
 pkg/lightning/backend/kv/session.go                |    12 +-
 pkg/lightning/backend/local/duplicate.go           |    23 +-
 pkg/lightning/config/config.go                     |     2 +-
 pkg/lightning/errormanager/errormanager.go         |   595 +-
 pkg/lightning/errormanager/errormanager_test.go    |    92 +-
 pkg/lightning/errormanager/resolveconflict_test.go |   232 +-
 pkg/meta/meta.go                                   |     2 +
 pkg/parser/ast/ddl.go                              |    12 +
 pkg/parser/model/ddl.go                            |     6 +
 pkg/parser/model/model.go                          |     3 +
 pkg/parser/model/reorg.go                          |     1 +
 pkg/parser/parser.go                               | 12286 ++++++++++---------
 pkg/parser/parser.y                                |    10 +-
 pkg/parser/parser_test.go                          |    52 +-
 pkg/planner/core/access_object.go                  |    23 +-
 pkg/planner/core/base/BUILD.bazel                  |     1 +
 pkg/planner/core/base/misc_base.go                 |    43 +-
 .../mpp/testdata/integration_suite_out.json        |    18 +-
 .../physicalplantest/testdata/plan_suite_out.json  |     4 +-
 pkg/planner/core/exhaust_physical_plans.go         |    17 +-
 pkg/planner/core/explain.go                        |     5 +-
 pkg/planner/core/find_best_task.go                 |   102 +-
 pkg/planner/core/indexmerge_path.go                |    45 +-
 pkg/planner/core/integration_test.go               |    17 +
 pkg/planner/core/logical_plan_builder.go           |     8 +-
 pkg/planner/core/logical_plans.go                  |     6 +-
 pkg/planner/core/memtable_predicate_extractor.go   |    81 +-
 .../core/memtable_predicate_extractor_test.go      |    15 +-
 pkg/planner/core/physical_plans.go                 |     6 +-
 pkg/planner/core/plan_cache.go                     |    44 +-
 pkg/planner/core/plan_cache_utils.go               |    68 +-
 pkg/planner/core/planbuilder.go                    |    24 -
 pkg/planner/core/preprocess.go                     |     7 +-
 pkg/planner/core/rule_join_reorder.go              |    26 +
 pkg/planner/core/show_predicate_extractor.go       |    25 +-
 pkg/planner/core/stringer.go                       |     4 +-
 pkg/planner/core/task.go                           |    27 +-
 pkg/planner/core/tests/prepare/prepare_test.go     |    17 +-
 pkg/planner/util/fixcontrol/get.go                 |     3 +
 pkg/planner/util/misc.go                           |    29 +
 pkg/server/conn_test.go                            |     2 +-
 pkg/server/driver_tidb.go                          |     2 +-
 pkg/server/handler/optimizor/plan_replayer_test.go |     2 +
 pkg/server/internal/dump/dump_test.go              |     2 +-
 pkg/session/BUILD.bazel                            |     1 +
 pkg/session/bootstrap.go                           |    19 +-
 pkg/session/bootstrap_test.go                      |     3 +-
 pkg/session/contextimpl.go                         |    13 -
 pkg/session/session.go                             |    27 +-
 pkg/sessionctx/stmtctx/stmtctx.go                  |     4 +-
 pkg/sessionctx/variable/BUILD.bazel                |     2 +-
 pkg/sessionctx/variable/sysvar.go                  |    19 +-
 pkg/sessionctx/variable/tidb_vars.go               |     1 +
 pkg/statistics/BUILD.bazel                         |     1 +
 pkg/statistics/handle/BUILD.bazel                  |     1 -
 pkg/statistics/handle/bootstrap.go                 |    10 +-
 pkg/statistics/handle/ddl/ddl.go                   |    33 +-
 .../handle/globalstats/global_stats_test.go        |    12 +-
 pkg/statistics/handle/storage/BUILD.bazel          |     1 -
 pkg/statistics/handle/storage/json.go              |     8 +-
 pkg/statistics/handle/storage/read.go              |     9 +-
 pkg/statistics/handle/updatetest/update_test.go    |     6 +-
 pkg/statistics/histogram.go                        |     4 +-
 pkg/statistics/scalar.go                           |    11 +-
 pkg/store/copr/batch_request_sender.go             |     2 +-
 pkg/store/copr/coprocessor.go                      |    12 +-
 pkg/table/tables/BUILD.bazel                       |     2 +-
 pkg/table/tables/index_test.go                     |    70 +
 pkg/tablecodec/BUILD.bazel                         |     1 +
 pkg/tablecodec/tablecodec.go                       |     4 +
 pkg/tablecodec/tablecodec_test.go                  |     3 +-
 pkg/util/distrole/BUILD.bazel                      |     8 -
 pkg/util/distrole/role.go                          |    37 -
 pkg/util/logutil/log.go                            |     4 +-
 pkg/util/mock/context.go                           |     4 +-
 pkg/util/servicescope/BUILD.bazel                  |    17 +
 pkg/util/servicescope/scope.go                     |    29 +
 pkg/util/servicescope/scope_test.go                |    30 +
 tests/integrationtest/r/db_integration.result      |     4 +-
 tests/integrationtest/r/ddl/column.result          |    19 +
 tests/integrationtest/r/ddl/db_integration.result  |     2 +-
 .../r/ddl/default_as_expression.result             |   140 +-
 tests/integrationtest/r/ddl/integration.result     |     3 +-
 .../r/ddl/multi_schema_change.result               |    10 +-
 .../r/executor/partition/global_index.result       |    17 +-
 tests/integrationtest/r/executor/show.result       |     6 +-
 .../r/globalindex/mem_index_lookup.result          |    78 +-
 .../r/globalindex/mem_index_merge.result           |   237 +
 .../r/globalindex/mem_index_reader.result          |    89 +
 .../casetest/physicalplantest/physical_plan.result |    41 +
 .../r/planner/core/indexmerge_path.result          |    94 +
 tests/integrationtest/r/table/index.result         |     4 +
 tests/integrationtest/t/ddl/column.test            |    21 +
 tests/integrationtest/t/ddl/integration.test       |     3 +-
 .../integrationtest/t/ddl/multi_schema_change.test |     7 +-
 .../t/executor/partition/global_index.test         |     2 +
 .../t/globalindex/mem_index_lookup.test            |    42 +-
 .../t/globalindex/mem_index_merge.test             |   134 +
 .../t/globalindex/mem_index_reader.test            |    63 +
 .../casetest/physicalplantest/physical_plan.test   |    14 +
 .../t/planner/core/indexmerge_path.test            |    18 +
 tests/integrationtest/t/table/index.test           |     6 +
 .../realtikvtest/addindextest3/functional_test.go  |     1 +
 tests/realtikvtest/brietest/operator_test.go       |    31 +
 tests/realtikvtest/flashbacktest/BUILD.bazel       |     2 +-
 tests/realtikvtest/flashbacktest/flashback_test.go |     1 +
 .../pipelineddmltest/pipelineddml_test.go          |    23 +-
 .../realtikvtest/sessiontest/session_fail_test.go  |     8 +-
 394 files changed, 17348 insertions(+), 13398 deletions(-)
 create mode 100644 br/pkg/restore/data/BUILD.bazel
 rename br/pkg/restore/{ => data}/data.go (99%)
 rename br/pkg/restore/{ => data}/data_test.go (93%)
 create mode 100644 br/pkg/restore/data/key.go
 create mode 100644 br/pkg/restore/data/key_test.go
 create mode 100644 br/pkg/restore/data/recover.go
 create mode 100644 br/pkg/restore/file_importer/BUILD.bazel
 rename br/pkg/restore/{ => file_importer}/import.go (87%)
 rename br/pkg/restore/{ => file_importer}/import_retry.go (98%)
 rename br/pkg/restore/{ => file_importer}/import_retry_test.go (66%)
 create mode 100644 br/pkg/restore/file_importer/import_test.go
 create mode 100644 br/pkg/restore/log_restore/BUILD.bazel
 create mode 100644 br/pkg/restore/log_restore/export_test.go
 create mode 100644 br/pkg/restore/log_restore/import_test.go
 rename br/pkg/restore/{ => log_restore}/log_client.go (81%)
 rename br/pkg/restore/{ => log_restore}/log_client_test.go (92%)
 rename br/pkg/restore/{ => log_restore}/split.go (59%)
 create mode 100644 br/pkg/restore/log_restore/split_test.go
 delete mode 100644 br/pkg/restore/range.go
 delete mode 100644 br/pkg/restore/range_test.go
 create mode 100644 br/pkg/restore/rawkv/BUILD.bazel
 rename br/pkg/restore/{ => rawkv}/rawkv_client.go (97%)
 rename br/pkg/restore/{ => rawkv}/rawkv_client_test.go (94%)
 delete mode 100644 br/pkg/restore/split_test.go
 create mode 100644 br/pkg/restore/utils/BUILD.bazel
 create mode 100644 br/pkg/restore/utils/id.go
 create mode 100644 br/pkg/restore/utils/key.go
 create mode 100644 br/pkg/restore/utils/log_file_map.go
 create mode 100644 br/pkg/restore/utils/log_file_map_test.go
 rename br/pkg/restore/{ => utils}/merge.go (68%)
 rename br/pkg/restore/{ => utils}/merge_test.go (65%)
 create mode 100644 br/pkg/restore/utils/rewrite_rule.go
 create mode 100644 br/pkg/restore/utils/rewrite_rule_test.go
 create mode 100644 br/pkg/restore/utils/split.go
 create mode 100644 br/pkg/restore/utils/split_test.go
 create mode 100644 br/pkg/restore/utils/value.go
 rename br/pkg/{restore => stream}/search.go (90%)
 rename br/pkg/{restore => stream}/search_test.go (94%)
 rename br/pkg/{restore => stream}/stream_metas.go (90%)
 rename br/pkg/{restore => stream}/stream_metas_test.go (79%)
 create mode 100644 pkg/ddl/logutil/BUILD.bazel
 create mode 100644 pkg/ddl/logutil/logutil.go
 create mode 100644 pkg/ddl/util/util_test.go
 delete mode 100644 pkg/disttask/framework/integrationtests/framework_role_test.go
 create mode 100644 pkg/disttask/framework/integrationtests/framework_scope_test.go
 create mode 100644 pkg/executor/join/BUILD.bazel
 rename pkg/executor/{ => join}/concurrent_map.go (98%)
 rename pkg/executor/{ => join}/concurrent_map_test.go (95%)
 rename pkg/executor/{ => join}/hash_table.go (84%)
 rename pkg/executor/{ => join}/hash_table_test.go (92%)
 rename pkg/executor/{ => join}/index_lookup_hash_join.go (92%)
 rename pkg/executor/{ => join}/index_lookup_join.go (83%)
 rename pkg/executor/{ => join}/index_lookup_join_test.go (97%)
 rename pkg/executor/{ => join}/index_lookup_merge_join.go (83%)
 rename pkg/executor/{ => join}/index_lookup_merge_join_test.go (93%)
 rename pkg/executor/{ => join}/join.go (75%)
 create mode 100644 pkg/executor/join/join_stats_test.go
 rename pkg/executor/{ => join}/joiner.go (89%)
 rename pkg/executor/{ => join}/joiner_test.go (76%)
 rename pkg/executor/{ => join}/merge_join.go (79%)
 rename pkg/executor/{ => join}/merge_join_test.go (98%)
 create mode 100644 pkg/executor/unionexec/BUILD.bazel
 create mode 100644 pkg/executor/unionexec/union.go
 create mode 100644 pkg/expression/contextstatic/exprctx.go
 create mode 100644 pkg/expression/contextstatic/exprctx_test.go
 create mode 100644 pkg/infoschema/builder_test.go
 delete mode 100644 pkg/util/distrole/BUILD.bazel
 delete mode 100644 pkg/util/distrole/role.go
 create mode 100644 pkg/util/servicescope/BUILD.bazel
 create mode 100644 pkg/util/servicescope/scope.go
 create mode 100644 pkg/util/servicescope/scope_test.go
 create mode 100644 tests/integrationtest/r/globalindex/mem_index_merge.result
 create mode 100644 tests/integrationtest/r/globalindex/mem_index_reader.result
 create mode 100644 tests/integrationtest/t/globalindex/mem_index_merge.test
 create mode 100644 tests/integrationtest/t/globalindex/mem_index_reader.test
๐Ÿงพ Merge result:
5c3288ee6f27eae99e1b9680750b5f6750e74693
5c3288ee6f Merge remote-tracking branch 'origin/master' into HEAD
013a4e6a3f expression: update md5 hash to use hex (#53003)
96f9797fca tablecodec: fix the issue that decoding an index value might panic (#53034)
โœ… Merge base branch ๐ŸŽ‰
/home/jenkins/agent/workspace/pingcap-qe/tidb-test/ghpr_mysql_test/tidb
โœ… ~~~~~ All done. ~~~~~~
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // retry
[Pipeline] }
Cache saved successfully (git/pingcap/tidb/rev-1b91541c8556ec4e857c7758105d3b007b1574a9)
477433344 bytes in 7.76 secs (61515346 bytes/sec)
[Pipeline] // cache
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /home/jenkins/agent/workspace/pingcap-qe/tidb-test/ghpr_mysql_test/tidb-test
[Pipeline] {
[Pipeline] cache
Cache restored successfully (git/PingCAP-QE/tidb-test/rev-fdf9e25-67d18d5)
609789952 bytes in 4.77 secs (127883011 bytes/sec)
[Pipeline] {
[Pipeline] retry
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] sshagent
[ssh-agent] Using credentials sre-bot
[ssh-agent] Looking for ssh-agent implementation...
[ssh-agent]   Exec ssh-agent (binary ssh-agent on a remote machine)
Executing sh script inside container golang of pod pingcap-qe-tidb-test-ghpr-mysql-test-123-gk5jl-wxlbx-mp789
Executing command: "ssh-agent" 
exit
SSH_AUTH_SOCK=/tmp/ssh-cm09OKIUrkQV/agent.157; export SSH_AUTH_SOCK;
SSH_AGENT_PID=158; export SSH_AGENT_PID;
echo Agent pid 158;
SSH_AUTH_SOCK=/tmp/ssh-cm09OKIUrkQV/agent.157
SSH_AGENT_PID=158
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/pingcap-qe/tidb-test/ghpr_mysql_test/tidb-test@tmp/private_key_1920928194983260401.key (/home/jenkins/agent/workspace/pingcap-qe/tidb-test/ghpr_mysql_test/tidb-test@tmp/private_key_1920928194983260401.key)
[ssh-agent] Started.
[Pipeline] {
[Pipeline] sh
+ '[' -d /home/jenkins/.ssh ']'
+ mkdir /home/jenkins/.ssh
+ chmod 0700 /home/jenkins/.ssh
+ ssh-keyscan -t rsa,dsa github.com
# github.com:22 SSH-2.0-babeld-9713928c
# github.com:22 SSH-2.0-babeld-9713928c
[Pipeline] sh
git version 2.36.6
Reinitialized existing Git repository in /home/jenkins/agent/workspace/pingcap-qe/tidb-test/ghpr_mysql_test/tidb-test/.git/
.git
Updating files:  44% (15389/34900)
Updating files:  45% (15705/34900)
Updating files:  46% (16054/34900)
Updating files:  47% (16403/34900)
Updating files:  48% (16752/34900)
Updating files:  49% (17101/34900)
Updating files:  50% (17450/34900)
Updating files:  51% (17799/34900)
Updating files:  52% (18148/34900)
Updating files:  53% (18497/34900)
Updating files:  54% (18846/34900)
Updating files:  55% (19195/34900)
Updating files:  56% (19544/34900)
Updating files:  57% (19893/34900)
Updating files:  58% (20242/34900)
Updating files:  59% (20591/34900)
Updating files:  60% (20940/34900)
Updating files:  61% (21289/34900)
Updating files:  62% (21638/34900)
Updating files:  63% (21987/34900)
Updating files:  64% (22336/34900)
Updating files:  65% (22685/34900)
Updating files:  66% (23034/34900)
Updating files:  67% (23383/34900)
Updating files:  68% (23732/34900)
Updating files:  69% (24081/34900)
Updating files:  70% (24430/34900)
Updating files:  71% (24779/34900)
Updating files:  72% (25128/34900)
Updating files:  73% (25477/34900)
Updating files:  74% (25826/34900)
Updating files:  75% (26175/34900)
Updating files:  75% (26518/34900)
Updating files:  76% (26524/34900)
Updating files:  77% (26873/34900)
Updating files:  78% (27222/34900)
Updating files:  79% (27571/34900)
Updating files:  80% (27920/34900)
Updating files:  81% (28269/34900)
Updating files:  82% (28618/34900)
Updating files:  83% (28967/34900)
Updating files:  84% (29316/34900)
Updating files:  85% (29665/34900)
Updating files:  86% (30014/34900)
Updating files:  87% (30363/34900)
Updating files:  88% (30712/34900)
Updating files:  89% (31061/34900)
Updating files:  90% (31410/34900)
Updating files:  91% (31759/34900)
Updating files:  92% (32108/34900)
Updating files:  93% (32457/34900)
Updating files:  94% (32806/34900)
Updating files:  95% (33155/34900)
Updating files:  96% (33504/34900)
Updating files:  97% (33853/34900)
Updating files:  98% (34202/34900)
Updating files:  98% (34289/34900)
Updating files:  99% (34551/34900)
Updating files: 100% (34900/34900)
Updating files: 100% (34900/34900), done.
HEAD is now at 67d18d54 Merge branch 'master' into outer2inner
Warning: Permanently added the RSA host key for IP address '20.205.243.166' to the list of known hosts.
From github.com:PingCAP-QE/tidb-test
 = [up to date]        master              -> origin/master
 + 67d18d54...1b91541c refs/pull/2321/head -> origin/pr/2321/head  (forced update)
Warning: you are leaving 1 commit behind, not connected to
any of your branches:

  67d18d54 Merge branch 'master' into outer2inner

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> 67d18d54

HEAD is now at fdf9e251 *: change the default value for tidb_analyze_skip_column_types | tidb=pr/52663 (#2319)
๐Ÿšง Checkouting to base SHA:fdf9e25157e264e347ca64437a518f8792bd78f2...
HEAD is now at fdf9e251 *: change the default value for tidb_analyze_skip_column_types | tidb=pr/52663 (#2319)
โœ… Checked. ๐ŸŽ‰
๐Ÿงพ HEAD info:
fdf9e25157e264e347ca64437a518f8792bd78f2
fdf9e251 *: change the default value for tidb_analyze_skip_column_types | tidb=pr/52663 (#2319)
dae424f5 update alter table test result | tidb=pr/52967 (#2320)
05784516 mysql_test: add owner file for mysql_test and align the planner's members (#2317)
๐Ÿšง Pre-merge heads of pull requests to base SHA: fdf9e25157e264e347ca64437a518f8792bd78f2 ...
Updating fdf9e251..1b91541c
Fast-forward
 mysql_test/r/func_time.result               |  1 +
 mysql_test/r/select_all.result              |  2 ++
 mysql_test/r/with_non_recursive_bugs.result | 52 ++++++++++++++---------------
 3 files changed, 29 insertions(+), 26 deletions(-)
๐Ÿงพ Pre-merged result:
1b91541c8556ec4e857c7758105d3b007b1574a9
1b91541c Merge branch 'master' into outer2inner
fdf9e251 *: change the default value for tidb_analyze_skip_column_types | tidb=pr/52663 (#2319)
dae424f5 update alter table test result | tidb=pr/52967 (#2320)
โœ… Pre merged ๐ŸŽ‰
โœ… ~~~~~All done.~~~~~~
[Pipeline] }
Executing sh script inside container golang of pod pingcap-qe-tidb-test-ghpr-mysql-test-123-gk5jl-wxlbx-mp789
Executing command: "ssh-agent" "-k" 
exit
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 158 killed;
[ssh-agent] Stopped.
[Pipeline] // sshagent
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // retry
[Pipeline] }
Cache saved successfully (git/PingCAP-QE/tidb-test/rev-fdf9e25-1b91541)
609824256 bytes in 24.29 secs (25101637 bytes/sec)
[Pipeline] // cache
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Prepare)
[Pipeline] dir
Running in /home/jenkins/agent/workspace/pingcap-qe/tidb-test/ghpr_mysql_test/tidb
[Pipeline] {
[Pipeline] cache
Cache not restored (no such key found)
[Pipeline] {
[Pipeline] sh
+ ls bin/tidb-server
ls: cannot access bin/tidb-server: No such file or directory
+ make
CGO_ENABLED=1  GO111MODULE=on go build -tags codes  -ldflags '-X "github.com/pingcap/tidb/pkg/parser/mysql.TiDBReleaseVersion=v8.2.0-alpha-106-g5c3288ee6f" -X "github.com/pingcap/tidb/pkg/util/versioninfo.TiDBBuildTS=2024-05-07 19:11:01" -X "github.com/pingcap/tidb/pkg/util/versioninfo.TiDBGitHash=5c3288ee6f27eae99e1b9680750b5f6750e74693" -X "github.com/pingcap/tidb/pkg/util/versioninfo.TiDBGitBranch=HEAD" -X "github.com/pingcap/tidb/pkg/util/versioninfo.TiDBEdition=Community" ' -o bin/tidb-server ./cmd/tidb-server
go: downloading go.uber.org/zap v1.27.0
go: downloading github.com/pingcap/errors v0.11.5-0.20240318064555-6bd07397691f
go: downloading github.com/pingcap/failpoint v0.0.0-20220801062533-2eaa32854a6c
go: downloading github.com/pingcap/log v1.1.1-0.20240314023424-862ccc32f18d
go: downloading github.com/prometheus/client_golang v1.19.0
go: downloading github.com/tikv/client-go/v2 v2.0.8-0.20240430145241-6cb0704fce51
go: downloading github.com/tikv/pd/client v0.0.0-20240430080403-1679dbca25b3
go: downloading go.uber.org/automaxprocs v1.5.3
go: downloading github.com/pingcap/kvproto v0.0.0-20240227073058-929ab83f9754
go: downloading github.com/golang/protobuf v1.5.4
go: downloading github.com/cznic/mathutil v0.0.0-20181122101859-297441e03548
go: downloading github.com/google/uuid v1.6.0
go: downloading github.com/google/pprof v0.0.0-20240117000934-35fc243c5815
go: downloading github.com/grpc-ecosystem/go-grpc-middleware v1.4.0
go: downloading golang.org/x/net v0.24.0
go: downloading github.com/opentracing/opentracing-go v1.2.0
go: downloading github.com/danjacques/gofslock v0.0.0-20191023191349-0a45f885bc37
go: downloading golang.org/x/sync v0.7.0
go: downloading github.com/BurntSushi/toml v1.3.2
go: downloading github.com/uber/jaeger-client-go v2.22.1+incompatible
go: downloading go.uber.org/atomic v1.11.0
go: downloading github.com/shirou/gopsutil/v3 v3.24.2
go: downloading github.com/pingcap/tipb v0.0.0-20240318032315-55a7867ddd50
go: downloading google.golang.org/grpc v1.63.2
go: downloading github.com/ngaut/pools v0.0.0-20180318154953-b7bc8c42aac7
go: downloading go.etcd.io/etcd/client/v3 v3.5.12
go: downloading golang.org/x/exp v0.0.0-20240404231335-c0f41cb1a7a0
go: downloading golang.org/x/sys v0.19.0
go: downloading github.com/pingcap/sysutil v1.0.1-0.20240311050922-ae81ee01f3a5
go: downloading go.etcd.io/etcd/api/v3 v3.5.12
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/otiai10/copy v1.2.0
go: downloading github.com/cloudfoundry/gosigar v1.3.6
go: downloading github.com/coocood/freecache v1.2.1
go: downloading github.com/lestrrat-go/jwx/v2 v2.0.21
go: downloading github.com/dgraph-io/ristretto v0.1.1
go: downloading github.com/gogo/protobuf v1.3.2
go: downloading github.com/twmb/murmur3 v1.1.6
go: downloading github.com/stretchr/testify v1.9.0
go: downloading golang.org/x/text v0.14.0
go: downloading github.com/dolthub/swiss v0.2.1
go: downloading github.com/opentracing/basictracer-go v1.0.0
go: downloading github.com/golang/snappy v0.0.4
go: downloading github.com/tiancaiamao/gp v0.0.0-20221230034425-4025bc8a4d4a
go: downloading github.com/cockroachdb/errors v1.11.1
go: downloading github.com/wangjohn/quickselect v0.0.0-20161129230411-ed8402a42d5f
go: downloading github.com/ngaut/sync2 v0.0.0-20141008032647-7a24ed77b2ef
go: downloading github.com/blacktear23/go-proxyprotocol v1.0.6
go: downloading github.com/gorilla/mux v1.8.0
go: downloading github.com/klauspost/compress v1.17.7
go: downloading github.com/pingcap/fn v1.0.0
go: downloading github.com/soheilhy/cmux v0.1.5
go: downloading github.com/tiancaiamao/appdash v0.0.0-20181126055449-889f96f722a2
go: downloading github.com/sourcegraph/appdash-data v0.0.0-20151005221446-73f23eafcf67
go: downloading github.com/jellydator/ttlcache/v3 v3.0.1
go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2
go: downloading gopkg.in/natefinch/lumberjack.v2 v2.2.1
go: downloading github.com/cespare/xxhash/v2 v2.3.0
go: downloading github.com/influxdata/tdigest v0.0.1
go: downloading github.com/YangKeao/ldap/v3 v3.4.5-0.20230421065457-369a3bab1117
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading github.com/tidwall/btree v1.7.0
go: downloading github.com/docker/go-units v0.5.0
go: downloading go.uber.org/mock v0.4.0
go: downloading github.com/go-sql-driver/mysql v1.7.1
go: downloading go.uber.org/multierr v1.11.0
go: downloading github.com/google/btree v1.1.2
go: downloading github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec
go: downloading golang.org/x/time v0.5.0
go: downloading github.com/prometheus/client_model v0.6.1
go: downloading github.com/prometheus/common v0.53.0
go: downloading github.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0
go: downloading google.golang.org/protobuf v1.33.0
go: downloading golang.org/x/tools v0.20.0
go: downloading go.etcd.io/etcd/client/pkg/v3 v3.5.12
go: downloading github.com/dolthub/maphash v0.1.0
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/prometheus/procfs v0.13.0
go: downloading github.com/pingcap/badger v1.5.1-0.20230103063557-828f39b09b6d
go: downloading github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/uber/jaeger-lib v2.4.1+incompatible
go: downloading github.com/tklauser/go-sysconf v0.3.12
go: downloading cloud.google.com/go/storage v1.36.0
go: downloading github.com/Azure/azure-sdk-for-go/sdk/azcore v1.9.1
go: downloading github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.5.1
go: downloading github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.0.0
go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1581
go: downloading github.com/aws/aws-sdk-go v1.50.0
go: downloading github.com/go-resty/resty/v2 v2.11.0
go: downloading github.com/ks3sdklib/aws-sdk-go v1.2.9
go: downloading golang.org/x/oauth2 v0.18.0
go: downloading google.golang.org/api v0.162.0
go: downloading github.com/carlmjohnson/flagext v0.21.0
go: downloading github.com/cockroachdb/pebble v1.1.0
go: downloading github.com/lestrrat-go/iter v1.0.2
go: downloading github.com/lestrrat-go/option v1.0.1
go: downloading github.com/lestrrat-go/blackmagic v1.0.2
go: downloading github.com/lestrrat-go/httprc v1.0.5
go: downloading github.com/jfcg/sorty/v2 v2.1.0
go: downloading cloud.google.com/go v0.112.0
go: downloading github.com/coreos/go-semver v0.3.1
go: downloading github.com/joho/sqltocsv v0.0.0-20210428211105-a6d6801d59df
go: downloading github.com/fatih/color v1.16.0
go: downloading github.com/vbauerster/mpb/v7 v7.5.3
go: downloading golang.org/x/term v0.19.0
go: downloading github.com/json-iterator/go v1.1.12
go: downloading github.com/robfig/cron/v3 v3.0.1
go: downloading github.com/spkg/bom v1.0.0
go: downloading github.com/xitongsys/parquet-go v1.5.5-0.20201110004701-b09c49d6d457
go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20240304212257-790db918fca8
go: downloading github.com/spf13/cobra v1.8.0
go: downloading github.com/cheggaaa/pb/v3 v3.0.8
go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc
go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de
go: downloading github.com/dustin/go-humanize v1.0.1
go: downloading github.com/golang/glog v1.2.0
go: downloading github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358
go: downloading github.com/go-asn1-ber/asn1-ber v1.5.4
go: downloading github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b
go: downloading github.com/cockroachdb/redact v1.1.5
go: downloading github.com/getsentry/sentry-go v0.27.0
go: downloading github.com/tklauser/numcpus v0.6.1
go: downloading github.com/coreos/go-systemd/v22 v22.5.0
go: downloading github.com/Azure/azure-sdk-for-go/sdk/internal v1.5.1
go: downloading github.com/AzureAD/microsoft-authentication-library-for-go v1.2.1
go: downloading golang.org/x/crypto v0.22.0
go: downloading github.com/jedib0t/go-pretty/v6 v6.2.2
go: downloading github.com/pingcap/goleveldb v0.0.0-20191226122134-f82aafb29989
go: downloading github.com/lestrrat-go/httpcc v1.0.1
go: downloading github.com/jfcg/sixb v1.3.8
go: downloading github.com/mattn/go-colorable v0.1.13
go: downloading github.com/mattn/go-runewidth v0.0.15
go: downloading cloud.google.com/go/compute/metadata v0.2.3
go: downloading github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d
go: downloading github.com/mattn/go-isatty v0.0.20
go: downloading github.com/VividCortex/ewma v1.2.0
go: downloading github.com/Masterminds/semver v1.5.0
go: downloading k8s.io/api v0.28.6
go: downloading github.com/emirpasic/gods v1.18.1
go: downloading github.com/apache/thrift v0.16.0
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/modern-go/reflect2 v1.0.2
go: downloading cloud.google.com/go/iam v1.1.6
go: downloading github.com/googleapis/gax-go/v2 v2.12.0
go: downloading cloud.google.com/go/compute v1.24.0
go: downloading github.com/kr/pretty v0.3.1
go: downloading github.com/kylelemons/godebug v1.1.0
go: downloading github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c
go: downloading github.com/coocood/rtutil v0.0.0-20190304133409-c84515f646f2
go: downloading github.com/ncw/directio v1.0.5
go: downloading github.com/coocood/bbloom v0.0.0-20190830030839-58deb6228d64
go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda
go: downloading go.opentelemetry.io/otel v1.22.0
go: downloading go.opencensus.io v0.24.0
go: downloading go.opentelemetry.io/otel/trace v1.22.0
go: downloading github.com/rivo/uniseg v0.4.6
go: downloading github.com/golang-jwt/jwt/v5 v5.2.0
go: downloading github.com/klauspost/cpuid v1.3.1
go: downloading github.com/kr/text v0.2.0
go: downloading github.com/rogpeppe/go-internal v1.12.0
go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
go: downloading github.com/go-logr/logr v1.4.1
go: downloading go.opentelemetry.io/otel/metric v1.22.0
go: downloading github.com/go-logr/stdr v1.2.2
go: downloading github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06
go: downloading github.com/DataDog/zstd v1.5.5
go: downloading k8s.io/apimachinery v0.28.6
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading sigs.k8s.io/structured-merge-diff/v4 v4.4.1
go: downloading github.com/google/gofuzz v1.2.0
go: downloading sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd
go: downloading k8s.io/klog/v2 v2.120.1
go: downloading k8s.io/utils v0.0.0-20230726121419-3b25d923346b
go: downloading github.com/google/s2a-go v0.1.7
go: downloading go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.47.0
go: downloading github.com/googleapis/enterprise-certificate-proxy v0.3.2
go: downloading go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.47.0
go: downloading github.com/felixge/httpsnoop v1.0.4
go: downloading github.com/jmespath/go-jmespath v0.4.0
# github.com/pingcap/tidb/pkg/planner/core
pkg/planner/core/rule_predicate_push_down.go:155:82: undefined: coreusage
pkg/planner/core/rule_outer_to_inner_join.go:45:94: undefined: coreusage.LogicalOptimizeOp
pkg/planner/core/logical_plan_builder.go:1052:17: invalid operation: newPlan != joinPlan (mismatched types "github.com/pingcap/tidb/pkg/planner/core/base".LogicalPlan and *LogicalJoin)
make: *** [server] Error 1
[Pipeline] }
Cache not saved (inner-step execution failed)
[Pipeline] // cache
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (MySQL Tests)
Stage "MySQL Tests" skipped due to earlier failure(s)
[Pipeline] parallel
[Pipeline] { (Branch: Matrix - PART = '1')
[Pipeline] { (Branch: Matrix - PART = '2')
[Pipeline] { (Branch: Matrix - PART = '3')
[Pipeline] { (Branch: Matrix - PART = '4')
[Pipeline] stage
[Pipeline] { (Matrix - PART = '1')
[Pipeline] stage
[Pipeline] { (Matrix - PART = '2')
[Pipeline] stage
[Pipeline] { (Matrix - PART = '3')
[Pipeline] stage
[Pipeline] { (Matrix - PART = '4')
Stage "Matrix - PART = '1'" skipped due to earlier failure(s)
Stage "Matrix - PART = '2'" skipped due to earlier failure(s)
Stage "Matrix - PART = '3'" skipped due to earlier failure(s)
Stage "Matrix - PART = '4'" skipped due to earlier failure(s)
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] stage
[Pipeline] { (Test)
Stage "Matrix - PART = '1'" skipped due to earlier failure(s)
[Pipeline] }
Stage "Matrix - PART = '2'" skipped due to earlier failure(s)
[Pipeline] }
Stage "Matrix - PART = '3'" skipped due to earlier failure(s)
[Pipeline] }
Stage "Matrix - PART = '4'" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] // stage
[Pipeline] // stage
[Pipeline] // stage
[Pipeline] }
[Pipeline] }
[Pipeline] }
[Pipeline] }
[Pipeline] // stage
[Pipeline] // stage
[Pipeline] // stage
[Pipeline] // stage
[Pipeline] }
Failed in branch Matrix - PART = '1'
[Pipeline] }
Failed in branch Matrix - PART = '2'
[Pipeline] }
Failed in branch Matrix - PART = '3'
[Pipeline] }
Failed in branch Matrix - PART = '4'
[Pipeline] // parallel
[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