Skip to content
Success

Console Output

Started by user Jenkins Admin
Obtained pipelines/pingcap/tidb/latest/pull_integration_e2e_test.groovy from git https://github.com/PingCAP-QE/ci.git
Loading library tipipeline@main:libraries/tipipeline/
Library tipipeline@main:libraries/tipipeline/ is cached. Copying from cache.
[Pipeline] Start of Pipeline
[Pipeline] readJSON
[Pipeline] readTrusted
Obtained pipelines/pingcap/tidb/latest/pod-pull_integration_e2e_test.yaml from git https://github.com/PingCAP-QE/ci.git
[Pipeline] podTemplate
[Pipeline] {
[Pipeline] node
Still waiting to schedule task
All nodes of label ‘pingcap_tidb_pull_integration_e2e_test_26119-360pw’ are offline
Created Pod: kubernetes jenkins-tidb/pingcap-tidb-pull-integration-e2e-test-26119-360pw-x822r-nx0hl
[PodInfo] jenkins-tidb/pingcap-tidb-pull-integration-e2e-test-26119-360pw-x822r-nx0hl
	Container [golang] waiting [ContainerCreating] No message
	Container [jnlp] waiting [ContainerCreating] No message
	Container [utils] waiting [ContainerCreating] No message
	Pod [Pending][ContainersNotReady] containers with unready status: [golang utils jnlp]
Agent pingcap-tidb-pull-integration-e2e-test-26119-360pw-x822r-nx0hl is provisioned from template pingcap_tidb_pull_integration_e2e_test_26119-360pw-x822r
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    kubernetes.jenkins.io/last-refresh: "1770266761939"
    buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/pull_integration_e2e_test/26119/"
    runUrl: "job/pingcap/job/tidb/job/pull_integration_e2e_test/26119/"
  labels:
    jenkins/jenkins-jenkins-agent: "true"
    jenkins/label-digest: "db1098b07c6c80771d77ee4f7975bdc24805fd18"
    jenkins/label: "pingcap_tidb_pull_integration_e2e_test_26119-360pw"
    kubernetes.jenkins.io/controller: "http___jenkins_apps_svc_cluster_local_8080_jenkinsx"
  name: "pingcap-tidb-pull-integration-e2e-test-26119-360pw-x822r-nx0hl"
  namespace: "jenkins-tidb"
spec:
  affinity:
    nodeAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
        nodeSelectorTerms:
        - matchExpressions:
          - key: "kubernetes.io/arch"
            operator: "In"
            values:
            - "amd64"
  containers:
  - image: "hub.pingcap.net/jenkins/rocky8_golang-1.23:latest"
    name: "golang"
    resources:
      limits:
        memory: "16Gi"
        cpu: "6"
      requests:
        memory: "12Gi"
        cpu: "4"
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  - image: "ghcr.io/pingcap-qe/cd/utils/release:v2025.10.12-7-gfdd779c"
    name: "utils"
    resources:
      limits:
        cpu: "1"
        memory: "4Gi"
      requests:
        memory: "256Mi"
        cpu: "100m"
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-agent.apps.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "pingcap-tidb-pull-integration-e2e-test-26119-360pw-x822r-nx0hl"
    - name: "REMOTING_OPTS"
      value: "-noReconnectAfter 1d"
    - name: "JENKINS_NAME"
      value: "pingcap-tidb-pull-integration-e2e-test-26119-360pw-x822r-nx0hl"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins.apps.svc.cluster.local:8080/jenkins/"
    image: "jenkins/inbound-agent:3345.v03dee9b_f88fc-1"
    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-tidb-pull-integration-e2e-test-26119-360pw-x822r-nx0hl in /home/jenkins/agent/workspace/pingcap/tidb/pull_integration_e2e_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/pull_integration_e2e_test # timeout=10
Fetching upstream changes from https://github.com/PingCAP-QE/ci.git
 > git --version # timeout=10
 > git --version # 'git version 2.47.3'
 > 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 12fcaec7006ef7565859f33fc37a815d7dbb4725 (origin/main)
Commit message: "refactor(prow-jobs): migrate tiproxy presubmits job from jenkins to kubernetes (#4148)"
 > 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 12fcaec7006ef7565859f33fc37a815d7dbb4725 # timeout=10
 > git rev-list --no-walk 12fcaec7006ef7565859f33fc37a815d7dbb4725 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] container
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] timeout
Timeout set to expire in 1 hr 0 min
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] dir
Running in /home/jenkins/agent/workspace/pingcap/tidb/pull_integration_e2e_test/tidb
[Pipeline] {
[Pipeline] cache
Cache restored successfully (git/pingcap/tidb/rev-d4f0daa-850daca)
700037120 bytes in 20.25 secs (34577252 bytes/sec)
[Pipeline] {
[Pipeline] retry
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] sh
git version 2.43.5
Reinitialized existing Git repository in /home/jenkins/agent/workspace/pingcap/tidb/pull_integration_e2e_test/tidb/.git/
.git
Updating files:  83% (6028/7199)
Updating files:  84% (6048/7199)
Updating files:  85% (6120/7199)
Updating files:  86% (6192/7199)
Updating files:  87% (6264/7199)
Updating files:  88% (6336/7199)
Updating files:  89% (6408/7199)
Updating files:  90% (6480/7199)
Updating files:  91% (6552/7199)
Updating files:  92% (6624/7199)
Updating files:  93% (6696/7199)
Updating files:  94% (6768/7199)
Updating files:  95% (6840/7199)
Updating files:  96% (6912/7199)
Updating files:  97% (6984/7199)
Updating files:  98% (7056/7199)
Updating files:  99% (7128/7199)
Updating files: 100% (7199/7199)
Updating files: 100% (7199/7199), done.
HEAD is now at aced1d1085 Merge commit '850dacac2375c686b11cf9d2def23d2665af7ec2' into HEAD
POST git-upload-pack (656 bytes)
From https://github.com/pingcap/tidb
 = [up to date]            master               -> origin/master
 * [new ref]               refs/pull/66064/head -> origin/pr/66064/head
Warning: you are leaving 1 commit behind, not connected to
any of your branches:

  aced1d1085 Merge commit '850dacac2375c686b11cf9d2def23d2665af7ec2' 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> aced1d1085

HEAD is now at d4f0daa857 planner: activate stale-read txn when autocommit=0 (#65908)
🚧 Checkouting to base SHA:d4f0daa8570e3cc764642e213b95ab9963c32433...
HEAD is now at d4f0daa857 planner: activate stale-read txn when autocommit=0 (#65908)
✅ Checked. 🎉
🧾 HEAD info:
d4f0daa8570e3cc764642e213b95ab9963c32433
d4f0daa857 planner: activate stale-read txn when autocommit=0 (#65908)
c5e71c3cd4 planner: make rule tests ignore plan-id with explain format as brief (#66013)
6b6f8b4f35 importinto: adapt conflict resolve in nextgen (#66029)
🚧 Pre-merge heads of pull requests to base SHA: d4f0daa8570e3cc764642e213b95ab9963c32433 ...
Merge made by the 'ort' strategy.
 pkg/executor/adapter_test.go                       | 22 +++++++++++++
 pkg/sessionctx/variable/slow_log.go                | 10 ++++++
 .../variable/tests/slowlog/slow_log_test.go        | 38 +++++++++++++++++++++-
 3 files changed, 69 insertions(+), 1 deletion(-)
🧾 Pre-merged result:
4f5b7996a7e4de2e917619519fd15c075bf080c6
4f5b7996a7 Merge commit '850dacac2375c686b11cf9d2def23d2665af7ec2' into HEAD
d4f0daa857 planner: activate stale-read txn when autocommit=0 (#65908)
c5e71c3cd4 planner: make rule tests ignore plan-id with explain format as brief (#66013)
✅ Pre merged 🎉
✅ ~~~~~All done.~~~~~~
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // retry
[Pipeline] }
Cache not saved (git/pingcap/tidb/rev-d4f0daa-850daca already exists)
[Pipeline] // cache
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Prepare)
[Pipeline] dir
Running in /home/jenkins/agent/workspace/pingcap/tidb/pull_integration_e2e_test/tidb
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] echo
computeBranchFromPR component: other, prTargetBranch: master, prTitle: executor, variable: support cop_mvcc_read_amplification to trigger printing slow log, trunkBranch: master
[Pipeline] retry
[Pipeline] {
[Pipeline] sh
+ cd tests/integrationtest2
+ ./download_integration_test_binaries.sh master
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    41  100    41    0     0    284      0 --:--:-- --:--:-- --:--:--   284
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    41  100    41    0     0    976      0 --:--:-- --:--:-- --:--:--   976
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    41  100    41    0     0   1366      0 --:--:-- --:--:-- --:--:--  1413
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    41  100    41    0     0   1000      0 --:--:-- --:--:-- --:--:--  1000
download pd-server.tar.gz from http://fileserver.pingcap.net/download/builds/pingcap/pd/2139230177d7f94f68bc558daa99d17b64fa816c/centos7/pd-server.tar.gz
2026-02-05 12:47:04 URL:http://fileserver.pingcap.net/download/builds/pingcap/pd/2139230177d7f94f68bc558daa99d17b64fa816c/centos7/pd-server.tar.gz [273050774/273050774] -> "tmp/pd-server.tar.gz" [1]
download tikv-server.tar.gz from http://fileserver.pingcap.net/download/builds/pingcap/tikv/b1b0132f44bb115c18134dfd4bb909dda63c11be/centos7/tikv-server.tar.gz
2026-02-05 12:47:37 URL:http://fileserver.pingcap.net/download/builds/pingcap/tikv/b1b0132f44bb115c18134dfd4bb909dda63c11be/centos7/tikv-server.tar.gz [835957272/835957272] -> "tmp/tikv-server.tar.gz" [1]
download tiflash.tar.gz from http://fileserver.pingcap.net/download/builds/pingcap/tiflash/master/c8b79ae5e560de836fbb346cc720623f3ee4830d/centos7/tiflash.tar.gz
2026-02-05 12:48:05 URL:http://fileserver.pingcap.net/download/builds/pingcap/tiflash/master/c8b79ae5e560de836fbb346cc720623f3ee4830d/centos7/tiflash.tar.gz [574789904/574789904] -> "tmp/tiflash.tar.gz" [1]
download ticdc-linux-amd64.tar.gz from http://fileserver.pingcap.net/download/builds/pingcap/ticdc/57f55e367a182f6866e8907ee0802e5d406275d3/centos7/ticdc-linux-amd64.tar.gz
2026-02-05 12:48:15 URL:http://fileserver.pingcap.net/download/builds/pingcap/ticdc/57f55e367a182f6866e8907ee0802e5d406275d3/centos7/ticdc-linux-amd64.tar.gz [97712553/97712553] -> "tmp/ticdc-linux-amd64.tar.gz" [1]
total 2.6G
drwxr-sr-x. 4 jenkins jenkins 4.0K Feb  5 12:48 .
drwxr-sr-x. 5 jenkins jenkins 4.0K Feb  5 12:48 ..
drwxr-sr-x. 2 jenkins jenkins 4.0K Feb  5 12:47 bin
-rwxr-xr-x. 1 jenkins jenkins 230M Feb  5 07:05 cdc
lrwxrwxrwx. 1 jenkins jenkins   13 Feb  3 15:22 libc++.so.1 -> libc++.so.1.0
-rwxr-xr-x. 1 jenkins jenkins 1.2M Apr 16  2025 libc++.so.1.0
lrwxrwxrwx. 1 jenkins jenkins   16 Feb  3 15:22 libc++abi.so.1 -> libc++abi.so.1.0
-rwxr-xr-x. 1 jenkins jenkins 354K Apr 16  2025 libc++abi.so.1.0
lrwxrwxrwx. 1 jenkins jenkins   13 Feb  3 15:22 libgmssl.so -> libgmssl.so.3
lrwxrwxrwx. 1 jenkins jenkins   15 Feb  3 15:22 libgmssl.so.3 -> libgmssl.so.3.0
-rwxr-xr-x. 1 jenkins jenkins 2.2M Feb  3 14:39 libgmssl.so.3.0
-rwxr-xr-x. 1 jenkins jenkins 347M Feb  3 15:23 libtiflash_proxy.so
-rwxr-xr-x. 1 jenkins jenkins  55M Feb  4 14:23 pd-api-bench
-rwxr-xr-x. 1 jenkins jenkins  59M Feb  4 14:22 pd-ctl
-rwxr-xr-x. 1 jenkins jenkins  54M Feb  4 14:23 pd-heartbeat-bench
-rwxr-xr-x. 1 jenkins jenkins  45M Feb  4 14:22 pd-recover
-rwxr-xr-x. 1 jenkins jenkins  47M Feb  4 14:23 pd-region-bench
-rwxr-xr-x. 1 jenkins jenkins 146M Feb  4 14:22 pd-server
-rwxr-xr-x. 1 jenkins jenkins  48M Feb  4 14:23 pd-tso-bench
-rwxr-xr-x. 1 jenkins jenkins  23M Feb  4 14:23 pd-ut
-rwxr-xr-x. 1 jenkins jenkins  45M Feb  4 14:23 regions-dump
-rwxr-xr-x. 1 jenkins jenkins  45M Feb  4 14:23 stores-dump
drwxr-sr-x. 3 jenkins jenkins 4.0K Feb  5 07:05 ticdc-linux-amd64
-rwxr-xr-x. 1 jenkins jenkins 478M Feb  3 15:22 tiflash
-rwxr-xr-x. 1 jenkins jenkins 219M Feb  3 18:11 tikv-ctl
-rwxr-xr-x. 1 jenkins jenkins 383M Feb  3 18:11 tikv-server
-rwxr-xr-x. 1 jenkins jenkins 387M Feb  3 18:13 tikv-server-failpoint
-rwxr-xr-x. 1 jenkins jenkins 2.5M Feb  4 14:23 xprog
Download SUCCESS
+ ls -alh third_bin/
total 2.6G
drwxr-sr-x. 4 jenkins jenkins 4.0K Feb  5 12:48 .
drwxr-sr-x. 5 jenkins jenkins 4.0K Feb  5 12:48 ..
drwxr-sr-x. 2 jenkins jenkins 4.0K Feb  5 12:47 bin
-rwxr-xr-x. 1 jenkins jenkins 230M Feb  5 07:05 cdc
lrwxrwxrwx. 1 jenkins jenkins   13 Feb  3 15:22 libc++.so.1 -> libc++.so.1.0
-rwxr-xr-x. 1 jenkins jenkins 1.2M Apr 16  2025 libc++.so.1.0
lrwxrwxrwx. 1 jenkins jenkins   16 Feb  3 15:22 libc++abi.so.1 -> libc++abi.so.1.0
-rwxr-xr-x. 1 jenkins jenkins 354K Apr 16  2025 libc++abi.so.1.0
lrwxrwxrwx. 1 jenkins jenkins   13 Feb  3 15:22 libgmssl.so -> libgmssl.so.3
lrwxrwxrwx. 1 jenkins jenkins   15 Feb  3 15:22 libgmssl.so.3 -> libgmssl.so.3.0
-rwxr-xr-x. 1 jenkins jenkins 2.2M Feb  3 14:39 libgmssl.so.3.0
-rwxr-xr-x. 1 jenkins jenkins 347M Feb  3 15:23 libtiflash_proxy.so
-rwxr-xr-x. 1 jenkins jenkins  55M Feb  4 14:23 pd-api-bench
-rwxr-xr-x. 1 jenkins jenkins  59M Feb  4 14:22 pd-ctl
-rwxr-xr-x. 1 jenkins jenkins  54M Feb  4 14:23 pd-heartbeat-bench
-rwxr-xr-x. 1 jenkins jenkins  45M Feb  4 14:22 pd-recover
-rwxr-xr-x. 1 jenkins jenkins  47M Feb  4 14:23 pd-region-bench
-rwxr-xr-x. 1 jenkins jenkins 146M Feb  4 14:22 pd-server
-rwxr-xr-x. 1 jenkins jenkins  48M Feb  4 14:23 pd-tso-bench
-rwxr-xr-x. 1 jenkins jenkins  23M Feb  4 14:23 pd-ut
-rwxr-xr-x. 1 jenkins jenkins  45M Feb  4 14:23 regions-dump
-rwxr-xr-x. 1 jenkins jenkins  45M Feb  4 14:23 stores-dump
drwxr-sr-x. 3 jenkins jenkins 4.0K Feb  5 07:05 ticdc-linux-amd64
-rwxr-xr-x. 1 jenkins jenkins 478M Feb  3 15:22 tiflash
-rwxr-xr-x. 1 jenkins jenkins 219M Feb  3 18:11 tikv-ctl
-rwxr-xr-x. 1 jenkins jenkins 383M Feb  3 18:11 tikv-server
-rwxr-xr-x. 1 jenkins jenkins 387M Feb  3 18:13 tikv-server-failpoint
-rwxr-xr-x. 1 jenkins jenkins 2.5M Feb  4 14:23 xprog
+ ./third_bin/tikv-server -V
TiKV 
Release Version:   9.0.0-beta.2
Edition:           Community
Git Commit Hash:   b1b0132f44bb115c18134dfd4bb909dda63c11be
Git Commit Branch: master
UTC Build Time:    2026-02-03 09:22:15
Rust Version:      rustc 1.87.0-nightly (96cfc7558 2025-02-27)
Enable Features:   memory-engine pprof-fp jemalloc mem-profiling portable sse test-engine-kv-rocksdb test-engine-raft-raft-engine trace-async-tasks openssl-vendored
Profile:           dist_release
+ ./third_bin/pd-server -V
Release Version: v9.0.0-beta.2.pre-275-g213923017
Edition: Community
Kernel Type: Classic
Git Commit Hash: 2139230177d7f94f68bc558daa99d17b64fa816c
Git Branch: master
UTC Build Time:  2026-02-04 06:21:43
+ ./third_bin/tiflash --version
TiFlash
Release Version: v9.0.0-beta.2.pre-122-gc8b79ae5e5
Edition:         Community
Git Commit Hash: c8b79ae5e560de836fbb346cc720623f3ee4830d
Git Branch:      HEAD
UTC Build Time:  2026-02-03 06:39:16
Enable Features: jemalloc sm4(GmSSL) mem-profiling avx2 avx512 unwind thinlto hnsw.l2=skylake hnsw.cosine=skylake vec.l2=skylake vec.cos=skylake
Profile:         RELWITHDEBINFO
Compiler:        clang++ 17.0.6

Raft Proxy
Git Commit Hash:   768e3440b32dafe94d326b298e64a1165ea7ec0e
Git Commit Branch: HEAD
UTC Build Time:    ""   
Rust Version:      rustc 1.77.0-nightly (89e2160c4 2023-12-27)
Storage Engine:    tiflash
Prometheus Prefix: tiflash_proxy_
Profile:           release
Enable Features:   external-jemalloc portable sse test-engine-kv-rocksdb test-engine-raft-raft-engine openssl-vendored
+ ./third_bin/cdc version
Release Version: v9.0.0-beta.2.pre-59-g57f55e367
Git Commit Hash: 57f55e367a182f6866e8907ee0802e5d406275d3
Git Branch: master
UTC Build Time: 2026-02-04 23:00:35
Go Version: go1.25.5
Failpoint Build: false
[Pipeline] }
[Pipeline] // retry
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Tests)
[Pipeline] timeout
Timeout set to expire in 45 min
[Pipeline] {
[Pipeline] dir
Running in /home/jenkins/agent/workspace/pingcap/tidb/pull_integration_e2e_test/tidb
[Pipeline] {
[Pipeline] sh
+ cd tests/integrationtest2
+ ./run-tests.sh
+ TIDB_BIN=./third_bin/tidb-server
+ TIKV_BIN=./third_bin/tikv-server
+ PD_BIN=./third_bin/pd-server
+ DUMPLING_BIN=./third_bin/dumpling
+ TICDC_BIN=./third_bin/cdc
+ TIFLASH_BIN=./third_bin/tiflash-server
+ PD_DATA_DIR=./data/pd_data
+ PD_DATA_DIR2=./data/pd_data2
+ TIKV_DATA_DIR=./data/tikv_data
+ TIKV_DATA_DIR2=./data/tikv_data2
+ TIFLASH_DATA_DIR=./data/tiflash_data
+ TIFLASH_DATA_DIR2=./data/tiflash_data2
+ TICDC_DATA_DIR=./data/ticdc_data
+ rm -rf ./data
+ mkdir ./data
+ TIDB_LOG_FILE=./logs/tidb.log
+ TIDB_LOG_FILE2=./logs/tidb2.log
+ TIKV_LOG_FILE=./logs/tikv.log
+ TIKV_LOG_FILE2=./logs/tikv2.log
+ TIFLASH_LOG_FILE=./logs/tiflash.log
+ TIFLASH_LOG_FILE2=./logs/tiflash2.log
+ PD_LOG_FILE=./logs/pd.log
+ PD_LOG_FILE2=./logs/pd2.log
+ TICDC_LOG_FILE=./logs/ticdc.log
+ rm -rf ./logs
+ mkdir ./logs
+ build=1
+ mysql_tester=./mysql_tester
+ tidb_server=
+ ticdc_server=./third_bin/cdc
+ portgenerator=
+ mysql_tester_log=./integration-test.out
+ tests=
+ record=0
+ record_case=
+ stats=s
+ set -eu
+ trap 'set +e; PIDS=$(jobs -p); for pid in $PIDS; do kill -9 $pid 2>/dev/null || true; done' EXIT
+ export TZ=Asia/Shanghai
+ TZ=Asia/Shanghai
+ getopts t:s:r:b:d:c:i:h opt
+ '[' 1 -eq 1 ']'
+ '[' -z '' ']'
+ build_tidb_server
+ tidb_server=./integrationtest_tidb-server
+ echo 'building tidb-server binary: ./integrationtest_tidb-server'
building tidb-server binary: ./integrationtest_tidb-server
+ rm -rf ./integrationtest_tidb-server
+ mkdir -p third_bin
+ rm -rf third_bin/br
+ rm -rf third_bin/dumpling
+ cd ../..
+ make server
go: downloading go1.25.6 (linux/amd64)
CGO_ENABLED=1  GO111MODULE=on go build -tags codes   -ldflags '-X "github.com/pingcap/tidb/pkg/parser/mysql.TiDBReleaseVersion=v9.0.0-beta.2.pre-1197-g4f5b7996a7" -X "github.com/pingcap/tidb/pkg/util/versioninfo.TiDBBuildTS=2026-02-05 04:48:27" -X "github.com/pingcap/tidb/pkg/util/versioninfo.TiDBGitHash=4f5b7996a7e4de2e917619519fd15c075bf080c6" -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 github.com/grafana/pyroscope-go v1.2.7
go: downloading github.com/pingcap/errors v0.11.5-0.20250523034308-74f78ae071ee
go: downloading github.com/opentracing/opentracing-go v1.2.0
go: downloading github.com/pingcap/failpoint v0.0.0-20240528011301-b51a646c7c86
go: downloading github.com/pingcap/log v1.1.1-0.20250917021125-19901e015dc9
go: downloading github.com/prometheus/client_golang v1.23.0
go: downloading github.com/tikv/client-go/v2 v2.0.8-0.20260128013340-9610073f20ae
go: downloading github.com/gogo/protobuf v1.3.2
go: downloading go.uber.org/automaxprocs v1.6.0
go: downloading go.uber.org/zap v1.27.1
go: downloading github.com/pingcap/kvproto v0.0.0-20260120063856-d09230288811
go: downloading github.com/coreos/go-semver v0.3.1
go: downloading go.uber.org/atomic v1.11.0
go: downloading github.com/BurntSushi/toml v1.6.0
go: downloading go.etcd.io/etcd/client/v3 v3.5.15
go: downloading github.com/pingcap/tipb v0.0.0-20251230094608-1374320b4bd8
go: downloading google.golang.org/grpc v1.73.0
go: downloading github.com/docker/go-units v0.5.0
go: downloading golang.org/x/sys v0.40.0
go: downloading github.com/stretchr/testify v1.10.0
go: downloading github.com/pingcap/metering_sdk v0.0.0-20251110022152-dac449ac5389
go: downloading github.com/ngaut/pools v0.0.0-20180318154953-b7bc8c42aac7
go: downloading github.com/uber/jaeger-client-go v2.22.1+incompatible
go: downloading golang.org/x/exp v0.0.0-20240909161429-701f63a606c0
go: downloading github.com/tikv/pd/client v0.0.0-20260119083144-b273ae0421dd
go: downloading github.com/tiancaiamao/gp v0.0.0-20221230034425-4025bc8a4d4a
go: downloading golang.org/x/sync v0.19.0
go: downloading google.golang.org/protobuf v1.36.10
go: downloading github.com/wangjohn/quickselect v0.0.0-20161129230411-ed8402a42d5f
go: downloading github.com/golang/snappy v0.0.4
go: downloading golang.org/x/time v0.14.0
go: downloading golang.org/x/text v0.33.0
go: downloading github.com/google/pprof v0.0.0-20250903194437-c28834ac2320
go: downloading github.com/blacktear23/go-proxyprotocol v1.0.6
go: downloading github.com/gorilla/mux v1.8.1
go: downloading github.com/klauspost/compress v1.18.0
go: downloading github.com/pingcap/fn v1.0.0
go: downloading github.com/pingcap/sysutil v1.0.1-0.20240311050922-ae81ee01f3a5
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/shirou/gopsutil/v3 v3.24.5
go: downloading github.com/google/uuid v1.6.1-0.20241114170450-2d3c2a9cc518
go: downloading github.com/aliyun/alibabacloud-oss-go-sdk-v2 v1.2.3
go: downloading github.com/aws/aws-sdk-go-v2 v1.38.1
go: downloading github.com/spf13/pflag v1.0.7
go: downloading github.com/twmb/murmur3 v1.1.6
go: downloading go.etcd.io/etcd/api/v3 v3.5.15
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading github.com/jellydator/ttlcache/v3 v3.0.1
go: downloading github.com/go-sql-driver/mysql v1.7.1
go: downloading github.com/cockroachdb/pebble v1.1.4-0.20250120151818-5dd133a1e6fb
go: downloading github.com/cloudfoundry/gosigar v1.3.6
go: downloading github.com/dolthub/swiss v0.2.1
go: downloading github.com/ngaut/sync2 v0.0.0-20141008032647-7a24ed77b2ef
go: downloading modernc.org/mathutil v1.7.1
go: downloading github.com/spf13/afero v1.15.0
go: downloading github.com/golang/protobuf v1.5.4
go: downloading github.com/grpc-ecosystem/go-grpc-middleware v1.4.0
go: downloading golang.org/x/net v0.49.0
go: downloading cloud.google.com/go/storage v1.39.1
go: downloading github.com/Azure/azure-sdk-for-go/sdk/azcore v1.14.0
go: downloading github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.7.0
go: downloading github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.0.0
go: downloading github.com/danjacques/gofslock v0.0.0-20191023191349-0a45f885bc37
go: downloading github.com/go-resty/resty/v2 v2.11.0
go: downloading go.uber.org/multierr v1.11.0
go: downloading golang.org/x/oauth2 v0.33.0
go: downloading google.golang.org/api v0.170.0
go: downloading github.com/influxdata/tdigest v0.0.1
go: downloading github.com/prometheus/client_model v0.6.2
go: downloading github.com/google/btree v1.1.2
go: downloading github.com/coocood/freecache v1.2.1
go: downloading github.com/dgraph-io/ristretto v0.1.1
go: downloading github.com/lestrrat-go/jwx/v2 v2.0.21
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/YangKeao/ldap/v3 v3.4.5-0.20230421065457-369a3bab1117
go: downloading github.com/json-iterator/go v1.1.12
go: downloading github.com/opentracing/basictracer-go v1.0.0
go: downloading github.com/bits-and-blooms/bitset v1.14.3
go: downloading gopkg.in/natefinch/lumberjack.v2 v2.2.1
go: downloading github.com/aws/smithy-go v1.22.5
go: downloading github.com/qri-io/jsonschema v0.2.1
go: downloading github.com/cheggaaa/pb/v3 v3.0.8
go: downloading golang.org/x/term v0.39.0
go: downloading go.uber.org/mock v0.5.2
go: downloading cloud.google.com/go v0.112.2
go: downloading github.com/dolthub/maphash v0.1.0
go: downloading github.com/prometheus/common v0.65.0
go: downloading github.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0
go: downloading github.com/grafana/pyroscope-go/godeltaprof v0.1.9
go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1581
go: downloading github.com/aws/aws-sdk-go-v2/config v1.31.2
go: downloading github.com/aws/aws-sdk-go-v2/credentials v1.18.6
go: downloading github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.19.0
go: downloading github.com/aws/aws-sdk-go-v2/service/sts v1.38.0
go: downloading github.com/aws/aws-sdk-go-v2/service/s3 v1.87.1
go: downloading github.com/ks3sdklib/aws-sdk-go v1.2.9
go: downloading github.com/alibabacloud-go/tea v1.3.11
go: downloading github.com/aliyun/credentials-go v1.4.7
go: downloading github.com/fatih/color v1.18.0
go: downloading github.com/spf13/cobra v1.9.1
go: downloading go.etcd.io/etcd/client/pkg/v3 v3.5.15
go: downloading golang.org/x/tools v0.40.0
go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2
go: downloading github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec
go: downloading github.com/Azure/azure-sdk-for-go/sdk/internal v1.10.0
go: downloading github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2
go: downloading golang.org/x/crypto v0.47.0
go: downloading github.com/joho/sqltocsv v0.0.0-20210428211105-a6d6801d59df
go: downloading github.com/carlmjohnson/flagext v0.21.0
go: downloading github.com/jedib0t/go-pretty/v6 v6.2.2
go: downloading github.com/jfcg/sorty/v2 v2.1.0
go: downloading github.com/robfig/cron/v3 v3.0.1
go: downloading github.com/joechenrh/arrow-go/v18 v18.0.0-20250911101656-62c34c9a3b82
go: downloading github.com/spkg/bom v1.0.0
go: downloading github.com/uber/jaeger-lib v2.4.1+incompatible
go: downloading github.com/cespare/xxhash/v2 v2.3.0
go: downloading cloud.google.com/go/compute/metadata v0.6.0
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/prometheus/procfs v0.19.2
go: downloading github.com/zyedidia/generic v1.2.1
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/vbauerster/mpb/v7 v7.5.3
go: downloading github.com/dgryski/go-farm v0.0.0-20240924180020-3414d57e47da
go: downloading github.com/VividCortex/ewma v1.2.0
go: downloading github.com/mattn/go-colorable v0.1.14
go: downloading github.com/mattn/go-isatty v0.0.20
go: downloading github.com/mattn/go-runewidth v0.0.16
go: downloading github.com/tklauser/go-sysconf v0.3.15
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 github.com/alibabacloud-go/darabonba-openapi/v2 v2.0.11
go: downloading github.com/alibabacloud-go/tea-utils/v2 v2.0.7
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/modern-go/reflect2 v1.0.2
go: downloading github.com/alibabacloud-go/sts-20150401/v2 v2.0.4
go: downloading github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.45.3
go: downloading github.com/aws/aws-sdk-go-v2/service/ec2 v1.232.0
go: downloading github.com/Masterminds/semver v1.5.0
go: downloading k8s.io/api v0.29.11
go: downloading github.com/emirpasic/gods v1.18.1
go: downloading github.com/pingcap/badger v1.5.1-0.20241015064302-38533b6cbf8d
go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20250324211829-b45e905df463
go: downloading github.com/lestrrat-go/blackmagic v1.0.2
go: downloading github.com/lestrrat-go/httprc v1.0.5
go: downloading github.com/lestrrat-go/iter v1.0.2
go: downloading github.com/lestrrat-go/option v1.0.1
go: downloading github.com/alibabacloud-go/debug v1.0.1
go: downloading gopkg.in/ini.v1 v1.67.0
go: downloading github.com/aws/aws-sdk-go-v2/internal/ini v1.8.3
go: downloading github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.4
go: downloading github.com/aws/aws-sdk-go-v2/service/sso v1.28.2
go: downloading github.com/aws/aws-sdk-go-v2/service/ssooidc v1.33.2
go: downloading github.com/qri-io/jsonpointer v0.1.1
go: downloading github.com/coreos/go-systemd/v22 v22.5.0
go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822
go: downloading github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.4
go: downloading github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.0
go: downloading github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.4
go: downloading github.com/jfcg/sixb v1.3.8
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/aws/aws-sdk-go v1.55.7
go: downloading github.com/dustin/go-humanize v1.0.1
go: downloading github.com/golang/glog v1.2.4
go: downloading cloud.google.com/go/iam v1.1.7
go: downloading github.com/googleapis/gax-go/v2 v2.12.3
go: downloading google.golang.org/genproto v0.0.0-20240401170217-c3f982113cda
go: downloading github.com/rivo/uniseg v0.4.7
go: downloading github.com/alibabacloud-go/endpoint-util v1.1.0
go: downloading github.com/alibabacloud-go/openapi-util v0.1.1
go: downloading github.com/alibabacloud-go/tea-xml v1.1.3
go: downloading github.com/alibabacloud-go/alibabacloud-gateway-spi v0.0.5
go: downloading github.com/tklauser/numcpus v0.10.0
go: downloading github.com/pingcap/goleveldb v0.0.0-20191226122134-f82aafb29989
go: downloading github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d
go: downloading github.com/lestrrat-go/httpcc v1.0.1
go: downloading github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.4
go: downloading go.opencensus.io v0.24.0
go: downloading go.opentelemetry.io/otel v1.35.0
go: downloading go.opentelemetry.io/otel/trace v1.35.0
go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20250425173222-7b384671a197
go: downloading github.com/kylelemons/godebug v1.1.0
go: downloading github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c
go: downloading cloud.google.com/go/kms v1.15.8
go: downloading github.com/aws/aws-sdk-go-v2/service/kms v1.41.2
go: downloading github.com/clbanning/mxj/v2 v2.7.0
go: downloading github.com/tjfoc/gmsm v1.4.1
go: downloading github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.0
go: downloading github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.4
go: downloading github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.8.4
go: downloading github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.4
go: downloading github.com/segmentio/fasthash v1.0.3
go: downloading github.com/golang-jwt/jwt/v5 v5.2.2
go: downloading github.com/ncw/directio v1.0.5
go: downloading github.com/coocood/rtutil v0.0.0-20190304133409-c84515f646f2
go: downloading github.com/coocood/bbloom v0.0.0-20190830030839-58deb6228d64
go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
go: downloading github.com/klauspost/cpuid v1.3.1
go: downloading go.opentelemetry.io/otel/metric v1.35.0
go: downloading github.com/go-logr/logr v1.4.2
go: downloading github.com/go-logr/stdr v1.2.2
go: downloading go.opentelemetry.io/auto/sdk v1.1.0
go: downloading github.com/cockroachdb/errors v1.11.3
go: downloading github.com/DataDog/zstd v1.5.5
go: downloading github.com/cockroachdb/fifo v0.0.0-20240606204812-0bbfbd93a7ce
go: downloading github.com/cockroachdb/redact v1.1.5
go: downloading github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06
go: downloading github.com/getsentry/sentry-go v0.27.0
go: downloading github.com/kr/pretty v0.3.1
go: downloading github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b
go: downloading github.com/rogpeppe/go-internal v1.14.1
go: downloading github.com/kr/text v0.2.0
go: downloading github.com/apache/thrift v0.21.0
go: downloading github.com/andybalholm/brotli v1.1.1
go: downloading github.com/google/flatbuffers v24.3.25+incompatible
go: downloading golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da
go: downloading github.com/pierrec/lz4/v4 v4.1.21
go: downloading github.com/goccy/go-json v0.10.4
go: downloading github.com/zeebo/xxh3 v1.0.2
go: downloading k8s.io/apimachinery v0.29.11
go: downloading github.com/klauspost/cpuid/v2 v2.2.9
go: downloading k8s.io/klog/v2 v2.120.1
go: downloading github.com/google/gofuzz v1.2.0
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading k8s.io/utils v0.0.0-20230726121419-3b25d923346b
go: downloading sigs.k8s.io/structured-merge-diff/v4 v4.4.1
go: downloading sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd
go: downloading go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0
go: downloading github.com/googleapis/enterprise-certificate-proxy v0.3.2
go: downloading github.com/google/s2a-go v0.1.7
go: downloading go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0
go: downloading github.com/felixge/httpsnoop v1.0.4
go: downloading github.com/jmespath/go-jmespath v0.4.0
+ make build_br
Detected non-macOS (Linux), disabling CGO
CGO_ENABLED=0  GO111MODULE=on go build -tags codes  -ldflags '-X "github.com/pingcap/tidb/pkg/parser/mysql.TiDBReleaseVersion=v9.0.0-beta.2.pre-1197-g4f5b7996a7" -X "github.com/pingcap/tidb/pkg/util/versioninfo.TiDBBuildTS=2026-02-05 04:53:49" -X "github.com/pingcap/tidb/pkg/util/versioninfo.TiDBGitHash=4f5b7996a7e4de2e917619519fd15c075bf080c6" -X "github.com/pingcap/tidb/pkg/util/versioninfo.TiDBGitBranch=HEAD" -X "github.com/pingcap/tidb/pkg/util/versioninfo.TiDBEdition=Community" ' -o bin/br ./br/cmd/br
go: downloading github.com/cheynewallace/tabby v1.1.1
+ make build_dumpling
CGO_ENABLED=1 GO111MODULE=on go build -trimpath -ldflags '-X "github.com/pingcap/tidb/dumpling/cli.ReleaseVersion=v9.0.0-beta.2.pre-1197-g4f5b7996a7" -X "github.com/pingcap/tidb/dumpling/cli.BuildTimestamp=2026-02-05 04:57:43" -X "github.com/pingcap/tidb/dumpling/cli.GitHash=4f5b7996a7e4de2e917619519fd15c075bf080c6" -X "github.com/pingcap/tidb/dumpling/cli.GitBranch=HEAD" -X "github.com/pingcap/tidb/dumpling/cli.GoVersion=go version go1.25.6 linux/amd64"'  -tags codes -o bin/dumpling dumpling/cmd/dumpling/main.go
+ cd -
/home/jenkins/agent/workspace/pingcap/tidb/pull_integration_e2e_test/tidb/tests/integrationtest2
+ ln -s ../../bin/tidb-server ./integrationtest_tidb-server
+ ln -s ../../../bin/br third_bin/br
+ ln -s ../../../bin/dumpling third_bin/dumpling
+ build_mysql_tester
+ echo 'building mysql-tester binary: ./mysql_tester'
building mysql-tester binary: ./mysql_tester
+ rm -rf ./mysql_tester
+ GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/pull_integration_e2e_test/tidb/tests/integrationtest2
+ go install github.com/bb7133/mysql-tester/src@2148bd9e5299de307244a15ed0047c953a035dc4
go: downloading github.com/bb7133/mysql-tester v0.0.0-20241024043051-2148bd9e5299
go: downloading github.com/pingcap/errors v0.11.5-0.20221009092201-b66cddb77c32
go: downloading github.com/defined2014/mysql v0.0.0-20231121061906-fcfacaa39f49
go: downloading github.com/sirupsen/logrus v1.8.1
go: downloading github.com/google/uuid v1.6.0
go: downloading golang.org/x/sys v0.5.0
+ mv src mysql_tester
+ start_tidb_cluster
+ ports=($(find_multiple_available_ports 2379 2))
++ find_multiple_available_ports 2379 2
++ local start_port=2379
++ local count=2
++ ports=()
++ local ports
++ '[' 0 -lt 2 ']'
+++ find_available_port 2379
+++ local port=2379
+++ :
+++ '[' 2379 -ge 65536 ']'
+++ lsof -nP -i :2379
+++ echo 2379
+++ return 0
++ local available_port=2379
++ '[' 0 -eq 0 ']'
++ ports+=($available_port)
++ (( start_port = available_port + 1 ))
++ '[' 1 -lt 2 ']'
+++ find_available_port 2380
+++ local port=2380
+++ :
+++ '[' 2380 -ge 65536 ']'
+++ lsof -nP -i :2380
+++ echo 2380
+++ return 0
++ local available_port=2380
++ '[' 0 -eq 0 ']'
++ ports+=($available_port)
++ (( start_port = available_port + 1 ))
++ '[' 2 -lt 2 ']'
++ echo 2379 2380
+ local ports
+ '[' 0 -ne 0 ']'
+ pd_client_port=2379
+ pd_peer_port=2380
+ upstream_pd_client_port=2379
+ start_pd_server 2379 2380 ./data/pd_data ./logs/pd.log
+ client_port=2379
+ peer_port=2380
+ data_dir=./data/pd_data
+ log_dir=./logs/pd.log
+ echo 'Starting PD server...'
Starting PD server...
+ mkdir -p ./data/pd_data
+ sleep 5
+ ./third_bin/pd-server --name=pd --data-dir=./data/pd_data --log-file=./logs/pd.log --client-urls=http://127.0.0.1:2379 --peer-urls=http://127.0.0.1:2380 --advertise-client-urls=http://127.0.0.1:2379 --advertise-peer-urls=http://127.0.0.1:2380
+ ports=($(find_multiple_available_ports 20160 2))
++ find_multiple_available_ports 20160 2
++ local start_port=20160
++ local count=2
++ ports=()
++ local ports
++ '[' 0 -lt 2 ']'
+++ find_available_port 20160
+++ local port=20160
+++ :
+++ '[' 20160 -ge 65536 ']'
+++ lsof -nP -i :20160
+++ echo 20160
+++ return 0
++ local available_port=20160
++ '[' 0 -eq 0 ']'
++ ports+=($available_port)
++ (( start_port = available_port + 1 ))
++ '[' 1 -lt 2 ']'
+++ find_available_port 20161
+++ local port=20161
+++ :
+++ '[' 20161 -ge 65536 ']'
+++ lsof -nP -i :20161
+++ echo 20161
+++ return 0
++ local available_port=20161
++ '[' 0 -eq 0 ']'
++ ports+=($available_port)
++ (( start_port = available_port + 1 ))
++ '[' 2 -lt 2 ']'
++ echo 20160 20161
+ local ports
+ '[' 0 -ne 0 ']'
+ tikv_port=20160
+ tikv_status_port=20161
+ start_tikv_server 2379 20160 20161 ./data/tikv_data ./logs/tikv.log
+ pd_client_port=2379
+ tikv_port=20160
+ tikv_status_port=20161
+ data_dir=./data/tikv_data
+ log_dir=./logs/tikv.log
+ echo 'Starting TiKV server...'
Starting TiKV server...
+ mkdir -p ./data/tikv_data
+ sleep 5
+ ./third_bin/tikv-server --pd=http://127.0.0.1:2379 --addr=127.0.0.1:20160 --advertise-addr=127.0.0.1:20160 --status-addr=127.0.0.1:20161 --data-dir=./data/tikv_data --log-file=./logs/tikv.log
++ find_available_port 4000
++ local port=4000
++ :
++ '[' 4000 -ge 65536 ']'
++ lsof -nP -i :4000
++ echo 4000
++ return 0
+ tidb_port=4000
+ UPSTREAM_PORT=4000
++ find_available_port 10080
++ local port=10080
++ :
++ '[' 10080 -ge 65536 ']'
++ lsof -nP -i :10080
++ echo 10080
++ return 0
+ tidb_status_port=10080
+ start_tidb_server 127.0.0.1:2379 4000 10080 ./logs/tidb.log
+ pd_client_addr=127.0.0.1:2379
+ tidb_port=4000
+ tidb_status_port=10080
+ log_file=./logs/tidb.log
+ config_file=config.toml
+ echo 'start tidb-server, log file: ./logs/tidb.log'
start tidb-server, log file: ./logs/tidb.log
+ SERVER_PID=58835
+ echo 'tidb-server(PID: 58835) started, port: 4000'
tidb-server(PID: 58835) started, port: 4000
+ ports=($(find_multiple_available_ports 2379 2))
+ ./integrationtest_tidb-server -P 4000 -status 10080 -config config.toml -store tikv -path 127.0.0.1:2379
++ find_multiple_available_ports 2379 2
++ local start_port=2379
++ local count=2
++ ports=()
++ local ports
++ '[' 0 -lt 2 ']'
+++ find_available_port 2379
+++ local port=2379
+++ :
+++ '[' 2379 -ge 65536 ']'
+++ lsof -nP -i :2379
+++ (( port++ ))
+++ :
+++ '[' 2380 -ge 65536 ']'
+++ lsof -nP -i :2380
+++ (( port++ ))
+++ :
+++ '[' 2381 -ge 65536 ']'
+++ lsof -nP -i :2381
+++ echo 2381
+++ return 0
++ local available_port=2381
++ '[' 0 -eq 0 ']'
++ ports+=($available_port)
++ (( start_port = available_port + 1 ))
++ '[' 1 -lt 2 ']'
+++ find_available_port 2382
+++ local port=2382
+++ :
+++ '[' 2382 -ge 65536 ']'
+++ lsof -nP -i :2382
+++ echo 2382
+++ return 0
++ local available_port=2382
++ '[' 0 -eq 0 ']'
++ ports+=($available_port)
++ (( start_port = available_port + 1 ))
++ '[' 2 -lt 2 ']'
++ echo 2381 2382
+ local ports
+ '[' 0 -ne 0 ']'
+ pd_client_port=2381
+ pd_peer_port=2382
+ start_pd_server 2381 2382 ./data/pd_data2 ./logs/pd2.log
+ client_port=2381
+ peer_port=2382
+ data_dir=./data/pd_data2
+ log_dir=./logs/pd2.log
+ echo 'Starting PD server...'
Starting PD server...
+ mkdir -p ./data/pd_data2
+ sleep 5
+ ./third_bin/pd-server --name=pd --data-dir=./data/pd_data2 --log-file=./logs/pd2.log --client-urls=http://127.0.0.1:2381 --peer-urls=http://127.0.0.1:2382 --advertise-client-urls=http://127.0.0.1:2381 --advertise-peer-urls=http://127.0.0.1:2382
+ ports=($(find_multiple_available_ports 20160 2))
++ find_multiple_available_ports 20160 2
++ local start_port=20160
++ local count=2
++ ports=()
++ local ports
++ '[' 0 -lt 2 ']'
+++ find_available_port 20160
+++ local port=20160
+++ :
+++ '[' 20160 -ge 65536 ']'
+++ lsof -nP -i :20160
+++ (( port++ ))
+++ :
+++ '[' 20161 -ge 65536 ']'
+++ lsof -nP -i :20161
+++ (( port++ ))
+++ :
+++ '[' 20162 -ge 65536 ']'
+++ lsof -nP -i :20162
+++ echo 20162
+++ return 0
++ local available_port=20162
++ '[' 0 -eq 0 ']'
++ ports+=($available_port)
++ (( start_port = available_port + 1 ))
++ '[' 1 -lt 2 ']'
+++ find_available_port 20163
+++ local port=20163
+++ :
+++ '[' 20163 -ge 65536 ']'
+++ lsof -nP -i :20163
+++ echo 20163
+++ return 0
++ local available_port=20163
++ '[' 0 -eq 0 ']'
++ ports+=($available_port)
++ (( start_port = available_port + 1 ))
++ '[' 2 -lt 2 ']'
++ echo 20162 20163
+ local ports
+ '[' 0 -ne 0 ']'
+ tikv_port=20162
+ tikv_status_port=20163
+ start_tikv_server 2381 20162 20163 ./data/tikv_data2 ./logs/tikv2.log
+ pd_client_port=2381
+ tikv_port=20162
+ tikv_status_port=20163
+ data_dir=./data/tikv_data2
+ log_dir=./logs/tikv2.log
+ echo 'Starting TiKV server...'
Starting TiKV server...
+ mkdir -p ./data/tikv_data2
+ sleep 5
+ ./third_bin/tikv-server --pd=http://127.0.0.1:2381 --addr=127.0.0.1:20162 --advertise-addr=127.0.0.1:20162 --status-addr=127.0.0.1:20163 --data-dir=./data/tikv_data2 --log-file=./logs/tikv2.log
++ find_available_port 4000
++ local port=4000
++ :
++ '[' 4000 -ge 65536 ']'
++ lsof -nP -i :4000
++ (( port++ ))
++ :
++ '[' 4001 -ge 65536 ']'
++ lsof -nP -i :4001
++ echo 4001
++ return 0
+ tidb_port=4001
+ DOWNSTREAM_PORT=4001
++ find_available_port 10080
++ local port=10080
++ :
++ '[' 10080 -ge 65536 ']'
++ lsof -nP -i :10080
++ (( port++ ))
++ :
++ '[' 10081 -ge 65536 ']'
++ lsof -nP -i :10081
++ echo 10081
++ return 0
+ tidb_status_port=10081
+ start_tidb_server 127.0.0.1:2381 4001 10081 ./logs/tidb2.log
+ pd_client_addr=127.0.0.1:2381
+ tidb_port=4001
+ tidb_status_port=10081
+ log_file=./logs/tidb2.log
+ config_file=config.toml
+ echo 'start tidb-server, log file: ./logs/tidb2.log'
start tidb-server, log file: ./logs/tidb2.log
+ SERVER_PID=59098
+ echo 'tidb-server(PID: 59098) started, port: 4001'
tidb-server(PID: 59098) started, port: 4001
+ echo 'TiDB cluster started successfully!'
TiDB cluster started successfully!
+ '[' 0 -eq 1 ']'
+ non_ticdc_cases=()
+ ticdc_cases=()
+ '[' -z '' ']'
+ ./integrationtest_tidb-server -P 4001 -status 10081 -config config.toml -store tikv -path 127.0.0.1:2381
+ IFS=
+ read -r file
++ find t -name '*.test'
++ basename t/dumpling_import_integration.test .test
+ file_name=dumpling_import_integration
+ [[ t/dumpling_import_integration.test == t/ticdc/* ]]
+ non_ticdc_cases+=("$file_name")
+ IFS=
+ read -r file
++ basename t/br_integration.test .test
+ file_name=br_integration
+ [[ t/br_integration.test == t/ticdc/* ]]
+ non_ticdc_cases+=("$file_name")
+ IFS=
+ read -r file
++ basename t/ticdc/cdc_integration.test .test
+ file_name=cdc_integration
+ [[ t/ticdc/cdc_integration.test == t/ticdc/* ]]
+ ticdc_cases+=("ticdc/$file_name")
+ IFS=
+ read -r file
+ '[' 2 -ne 0 ']'
+ run_mysql_tester dumpling_import_integration br_integration
+ '[' 0 -eq 1 ']'
+ echo 'run integration test cases: '
run integration test cases: 
+ ./mysql_tester -port 4000 -downstream 'root:@tcp(127.0.0.1:4001)/test' --check-error=true --path-dumpling=./third_bin/dumpling dumpling_import_integration br_integration
./t/dumpling_import_integration.test: ok! 5 test cases passed, take time 6.601252387 s
./t/br_integration.test: ok! 4 test cases passed, take time 4.925411327 s

Great, All tests passed
+ '[' 1 -ne 0 ']'
++ find_available_port 8300
++ local port=8300
++ :
++ '[' 8300 -ge 65536 ']'
++ lsof -nP -i :8300
++ echo 8300
++ return 0
+ ticdc_port=8300
+ start_ticdc_server http://127.0.0.1:2379 8300 4001
+ pd_client_addr=http://127.0.0.1:2379
+ ticdc_port=8300
+ downstream_port=4001
+ echo 'Starting TiCDC server...'
Starting TiCDC server...
+ mkdir -p ./data/ticdc_data
+ sleep 5
+ ./third_bin/cdc server --pd=http://127.0.0.1:2379 --addr=127.0.0.1:8300 --data-dir=./data/ticdc_data --log-file=./logs/ticdc.log
+ ./third_bin/cdc cli changefeed create --server=127.0.0.1:8300 --sink-uri=mysql://root:@127.0.0.1:4001/ --changefeed-id=simple-replication-task
Create changefeed successfully!
ID: simple-replication-task
Info: {"upstream_id":7603241515797521905,"namespace":"default","id":"simple-replication-task","sink_uri":"mysql://root:xxxxx@127.0.0.1:4001/","create_time":"2026-02-05T13:00:56.910696342+08:00","start_ts":464065044615528454,"config":{"memory_quota":1073741824,"case_sensitive":false,"force_replicate":false,"ignore_ineligible_table":false,"check_gc_safe_point":true,"enable_sync_point":false,"enable_table_monitor":false,"bdr_mode":false,"sync_point_interval":600000000000,"sync_point_retention":86400000000000,"filter":{"rules":["*.*"]},"mounter":{"worker_num":16},"sink":{"csv":{"delimiter":",","quote":"\"","null":"\\N","include_commit_ts":false,"binary_encoding_method":"base64","output_old_value":false,"output_handle_key":false,"output_field_header":false},"encoder_concurrency":32,"terminator":"\r\n","date_separator":"day","enable_partition_separator":true,"enable_kafka_sink_v2":false,"only_output_updated_columns":false,"delete_only_output_handle_key_columns":false,"content_compatible":false,"advance_timeout":150,"send_bootstrap_interval_in_sec":120,"send_bootstrap_in_msg_count":10000,"send_bootstrap_to_all_partition":true,"send-all-bootstrap-at-start":false,"debezium_disable_schema":false,"debezium":{"output_old_value":true},"open":{"output_old_value":true}},"consistent":{"level":"none","max_log_size":64,"flush_interval":2000,"meta_flush_interval":200,"encoding_worker_num":16,"flush_worker_num":8,"use_file_backend":false,"memory_usage":{"memory_quota_percentage":50}},"scheduler":{"enable_table_across_nodes":false,"region_threshold":100000,"write_key_threshold":0},"integrity":{"integrity_check_level":"none","corruption_handle_level":"warn"},"changefeed_error_stuck_duration":1800000000000,"synced_status":{"synced_check_interval":300,"checkpoint_interval":15}},"state":"normal","creator_version":"v9.0.0-beta.2.pre-59-g57f55e367","resolved_ts":464065044615528454,"checkpoint_ts":464065044615528454,"checkpoint_time":"2026-02-05 13:00:56.767"}
+ sleep 5
+ echo 'TiCDC started successfully!'
TiCDC started successfully!
+ run_mysql_tester ticdc/cdc_integration
+ '[' 0 -eq 1 ']'
+ echo 'run integration test cases: '
run integration test cases: 
+ ./mysql_tester -port 4000 -downstream 'root:@tcp(127.0.0.1:4001)/test' --check-error=true --path-dumpling=./third_bin/dumpling ticdc/cdc_integration
Table 'marker_0' not found. Retrying in 1s...
Table 'marker_0' not found. Retrying in 1s...
Table 'marker_0' not found. Retrying in 1s...
Table 'marker_0' found!
./t/ticdc/cdc_integration.test: ok! 5 test cases passed, take time 3.120741701 s

Great, All tests passed
+ kill -15 59098
+ ps -p 59098
+ sleep 1
+ ps -p 59098
+ echo 'integrationtest passed!'
integrationtest passed!
+ set +e
++ jobs -p
+ PIDS='58613
58665
58835
58866
58916
59181'
+ for pid in $PIDS
+ kill -9 58613
+ for pid in $PIDS
+ kill -9 58665
+ for pid in $PIDS
+ kill -9 58835
+ for pid in $PIDS
+ kill -9 58866
+ for pid in $PIDS
+ kill -9 58916
+ for pid in $PIDS
+ kill -9 59181
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // timeout
[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
Finished: SUCCESS