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-132-vx63f-5fq95-3gxb0 Agent pingcap-qe-tidb-test-ghpr-mysql-test-132-vx63f-5fq95-3gxb0 is provisioned from template pingcap-qe_tidb-test_ghpr_mysql_test_132-vx63f-5fq95 --- 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/132/" runUrl: "job/pingcap-qe/job/tidb-test/job/ghpr_mysql_test/132/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "667ba3887feb0e8d500d7e66ee4683b018da6da0" jenkins/label: "pingcap-qe_tidb-test_ghpr_mysql_test_132-vx63f" name: "pingcap-qe-tidb-test-ghpr-mysql-test-132-vx63f-5fq95-3gxb0" 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-132-vx63f-5fq95-3gxb0" - name: "JENKINS_NAME" value: "pingcap-qe-tidb-test-ghpr-mysql-test-132-vx63f-5fq95-3gxb0" - 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-132-vx63f-5fq95-3gxb0 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 73d1a8209bddec16d8d58403efcd7a20d12cf867 (origin/main) Commit message: "update utf go build image (#2965)" First time build. Skipping changelog. [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 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 73d1a8209bddec16d8d58403efcd7a20d12cf867 # timeout=10 > git rev-list --no-walk 971e86e8cfdc47311011e27ee6c091470f324b85 # timeout=10 + printenv PROW_JOB_ID=2ae39b06-425c-4e77-90e9-2cec6e005216 JENKINS_NODE_COOKIE=24559211-25c6-4ffe-9297-d10a082c8e55 BUILD_URL=https://do.pingcap.net/jenkins/job/pingcap-qe/job/tidb-test/job/ghpr_mysql_test/132/ GOLANG_VERSION=1.21.6 HOSTNAME=pingcap-qe-tidb-test-ghpr-mysql-test-132-vx63f-5fq95-3gxb0 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-132 KUBERNETES_SERVICE_PORT=443 GIT_PREVIOUS_COMMIT=971e86e8cfdc47311011e27ee6c091470f324b85 JOB_SPEC={"type":"presubmit","job":"pingcap-qe/tidb-test/ghpr_mysql_test","buildid":"1790308838377787395","prowjobid":"2ae39b06-425c-4e77-90e9-2cec6e005216","refs":{"org":"PingCAP-QE","repo":"tidb-test","repo_link":"https://github.com/PingCAP-QE/tidb-test","base_ref":"master","base_sha":"cf78cd4efe1cd608d0e9374bb6bf8b7098140049","base_link":"https://github.com/PingCAP-QE/tidb-test/commit/cf78cd4efe1cd608d0e9374bb6bf8b7098140049","pulls":[{"number":2329,"author":"solotzg","sha":"1360f10d4d90c88c23509c78c45d25ad50f7f6d6","title":"Revert \"expression: update real to string tests | tidb=pr/53129\"","link":"https://github.com/PingCAP-QE/tidb-test/pull/2329","commit_link":"https://github.com/PingCAP-QE/tidb-test/pull/2329/commits/1360f10d4d90c88c23509c78c45d25ad50f7f6d6","author_link":"https://github.com/solotzg"}]}} 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/132/display/redirect?page=changes RUN_ARTIFACTS_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap-qe/job/tidb-test/job/ghpr_mysql_test/132/display/redirect?page=artifacts FILE_SERVER_URL=http://fileserver.pingcap.net JENKINS_HOME=/var/jenkins_home GIT_COMMIT=73d1a8209bddec16d8d58403efcd7a20d12cf867 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/132/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=#132 JENKINS_URL=https://do.pingcap.net/jenkins/ BUILD_ID=1790308838377787395 GOLANG_DOWNLOAD_SHA256=3f934f40ac360b9c01f616a9aa1796d227d8b0328bf64cb045c7b8c4ee9caea4 JOB_BASE_NAME=ghpr_mysql_test GIT_PREVIOUS_SUCCESSFUL_COMMIT=971e86e8cfdc47311011e27ee6c091470f324b85 RUN_TESTS_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap-qe/job/tidb-test/job/ghpr_mysql_test/132/display/redirect?page=tests SHLVL=3 HOME=/home/jenkins POD_LABEL=pingcap-qe_tidb-test_ghpr_mysql_test_132-vx63f 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-132-vx63f-5fq95-3gxb0 pingcap-qe_tidb-test_ghpr_mysql_test_132-vx63f GIT_URL=https://github.com/PingCAP-QE/ci.git HUDSON_HOME=/var/jenkins_home CLASSPATH= NODE_NAME=pingcap-qe-tidb-test-ghpr-mysql-test-132-vx63f-5fq95-3gxb0 GOPATH=/go JOB_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap-qe/job/tidb-test/job/ghpr_mysql_test/display/redirect BUILD_NUMBER=132 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-build1528205598=/tmp/go-build -gno-record-gcc-switches' + echo ------------------------- ------------------------- + ls -l /dev/null crw-rw-rw-. 1 root root 1, 3 May 14 17:11 /dev/null + echo 'debug command: kubectl -n jenkins-tidb exec -ti pingcap-qe-tidb-test-ghpr-mysql-test-132-vx63f-5fq95-3gxb0 bash' debug command: kubectl -n jenkins-tidb exec -ti pingcap-qe-tidb-test-ghpr-mysql-test-132-vx63f-5fq95-3gxb0 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: 24938 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1232 ; COOKIE: e60b833d2f3e1a98 (echoed) ;; QUESTION SECTION: ;github.com. IN A ;; ANSWER SECTION: github.com. 23 IN A 20.205.243.166 ;; Query time: 0 msec ;; SERVER: 169.254.25.10#53(169.254.25.10) (UDP) ;; WHEN: Tue May 14 09:11:46 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-a2037fe-ab2dfd0_93ac090) 512117760 bytes in 1.80 secs (284166490 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 a80b888d07 Merge commit 'ab2dfd0afef84e120f712dbe86aa0ead941c252c'; commit '93ac0908102da195b8371d73c8141af0921f0309' into HEAD /home/jenkins/agent/workspace/pingcap-qe/tidb-test/ghpr_mysql_test/tidb@tmp/durable-2209172a/script.sh.copy: line 21: conditional binary operator expected [Pipeline] } [Pipeline] // script [Pipeline] } ERROR: script returned exit code 2 Retrying [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 a80b888d07 Merge commit 'ab2dfd0afef84e120f712dbe86aa0ead941c252c'; commit '93ac0908102da195b8371d73c8141af0921f0309' into HEAD /home/jenkins/agent/workspace/pingcap-qe/tidb-test/ghpr_mysql_test/tidb@tmp/durable-ec5d92c9/script.sh.copy: line 21: conditional binary operator expected [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // retry [Pipeline] } Cache not saved (inner-step execution failed) [Pipeline] // cache [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prepare) Stage "Prepare" skipped due to earlier failure(s) [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