Skip to content

Console Output

Started by user Jenkins Admin
Obtained pipelines/pingcap/tidb/release-8.1/ghpr_unit_test.groovy from git https://github.com/PingCAP-QE/ci.git
Loading library tipipeline@main
Library tipipeline@main is cached. Copying from home.
[Pipeline] Start of Pipeline
[Pipeline] readJSON
[Pipeline] readTrusted
Obtained pipelines/pingcap/tidb/release-8.1/pod-ghpr_unit_test.yaml from git https://github.com/PingCAP-QE/ci.git
[Pipeline] podTemplate
[Pipeline] {
[Pipeline] node
Created Pod: kubernetes jenkins-tidb/pingcap-tidb-release-8-1-ghpr-unit-test-111-73pjp-pdqwz-g53kj
Agent pingcap-tidb-release-8-1-ghpr-unit-test-111-73pjp-pdqwz-g53kj is provisioned from template pingcap_tidb_release-8_1_ghpr_unit_test_111-73pjp-pdqwz
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/release-8.1/job/ghpr_unit_test/111/"
    runUrl: "job/pingcap/job/tidb/job/release-8.1/job/ghpr_unit_test/111/"
  labels:
    jenkins/jenkins-jenkins-agent: "true"
    jenkins/label-digest: "f881505bb03955a725615236d9de4279a5fdd67e"
    jenkins/label: "pingcap_tidb_release-8_1_ghpr_unit_test_111-73pjp"
  name: "pingcap-tidb-release-8-1-ghpr-unit-test-111-73pjp-pdqwz-g53kj"
  namespace: "jenkins-tidb"
spec:
  affinity:
    nodeAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
        nodeSelectorTerms:
        - matchExpressions:
          - key: "kubernetes.io/arch"
            operator: "In"
            values:
            - "amd64"
          - key: "ci-nvme-high-performance"
            operator: "In"
            values:
            - "true"
  containers:
  - image: "hub.pingcap.net/wangweizhen/tidb_image:go12120230809"
    lifecycle:
      postStart:
        exec:
          command:
          - "/bin/sh"
          - "/data/bazel-prepare-in-container.sh"
    name: "golang"
    resources:
      requests:
        memory: "32Gi"
        cpu: "16"
    securityContext:
      privileged: true
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins/.tidb/tmp"
      name: "bazel-out-merged"
    - mountPath: "/bazel-out-lower"
      name: "bazel-out-lower"
      subPath: "tidb/go1.19.2"
    - mountPath: "/bazel-out-overlay"
      name: "bazel-out-overlay"
    - mountPath: "/share/.cache/go-build"
      name: "gocache"
    - mountPath: "/share/.go"
      name: "gopathcache"
    - mountPath: "/share/.cache/bazel-repository-cache"
      name: "bazel-repository-cache"
    - mountPath: "/data/"
      name: "bazel-rc"
      readOnly: true
    - mountPath: "/etc/containerinfo"
      name: "containerinfo"
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  - image: "hub.pingcap.net/jenkins/network-multitool"
    name: "net-tool"
    resources:
      limits:
        memory: "128Mi"
        cpu: "100m"
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-agent.apps.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "pingcap-tidb-release-8-1-ghpr-unit-test-111-73pjp-pdqwz-g53kj"
    - name: "JENKINS_NAME"
      value: "pingcap-tidb-release-8-1-ghpr-unit-test-111-73pjp-pdqwz-g53kj"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins.apps.svc.cluster.local:8080/jenkins/"
    image: "jenkins/inbound-agent:3206.vb_15dcf73f6a_9-2"
    name: "jnlp"
    resources:
      requests:
        memory: "256Mi"
        cpu: "100m"
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  restartPolicy: "Never"
  securityContext:
    fsGroup: 1000
  volumes:
  - emptyDir: {}
    name: "bazel-out-merged"
  - name: "bazel-rc"
    secret:
      secretName: "bazel"
  - emptyDir: {}
    name: "bazel-out-overlay"
  - name: "gocache"
    persistentVolumeClaim:
      claimName: "gocache"
  - downwardAPI:
      items:
      - path: "cpu_limit"
        resourceFieldRef:
          containerName: "golang"
          resource: "limits.cpu"
      - path: "cpu_request"
        resourceFieldRef:
          containerName: "golang"
          resource: "requests.cpu"
      - path: "mem_limit"
        resourceFieldRef:
          containerName: "golang"
          resource: "limits.memory"
      - path: "mem_request"
        resourceFieldRef:
          containerName: "golang"
          resource: "requests.memory"
    name: "containerinfo"
  - name: "bazel-out-lower"
    persistentVolumeClaim:
      claimName: "bazel-out-data"
  - emptyDir:
      medium: ""
    name: "workspace-volume"
  - name: "gopathcache"
    persistentVolumeClaim:
      claimName: "gopathcache"
  - name: "bazel-repository-cache"
    persistentVolumeClaim:
      claimName: "bazel-repository-cache"

Running on pingcap-tidb-release-8-1-ghpr-unit-test-111-73pjp-pdqwz-g53kj in /home/jenkins/agent/workspace/pingcap/tidb/release-8.1/ghpr_unit_test
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
The recommended git tool is: git
No credentials specified
Cloning the remote Git repository
Using shallow clone with depth 1
Cloning repository https://github.com/PingCAP-QE/ci.git
 > git init /home/jenkins/agent/workspace/pingcap/tidb/release-8.1/ghpr_unit_test # timeout=10
Fetching upstream changes from https://github.com/PingCAP-QE/ci.git
 > git --version # timeout=10
 > git --version # 'git version 2.39.2'
 > git fetch --tags --force --progress --depth=1 -- https://github.com/PingCAP-QE/ci.git +refs/heads/*:refs/remotes/origin/* # timeout=5
Avoid second fetch
Checking out Revision 03312178c534dce949face80c69812d989e55009 (origin/main)
Commit message: "fix(br): use failpoint tidb-server instead (#2951)"
 > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse origin/main^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 03312178c534dce949face80c69812d989e55009 # timeout=10
 > git rev-list --no-walk 03312178c534dce949face80c69812d989e55009 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] container
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] timeout
Timeout set to expire in 1 hr 30 min
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Debug info)
[Pipeline] sh
+ printenv
PROW_JOB_ID=f83dd4ae-cc27-4f62-904f-c5c29c520851
JENKINS_NODE_COOKIE=52317735-d4b5-4059-a130-c62ee808a48d
BUILD_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/release-8.1/job/ghpr_unit_test/111/
GOLANG_VERSION=1.21.0
HOSTNAME=pingcap-tidb-release-8-1-ghpr-unit-test-111-73pjp-pdqwz-g53kj
HUDSON_SERVER_COOKIE=83ef27fe9acccc92
KUBERNETES_PORT=tcp://10.233.0.1:443
KUBERNETES_PORT_443_TCP_PORT=443
TERM=xterm
STAGE_NAME=Debug info
BUILD_TAG=jenkins-pingcap-tidb-release-8.1-ghpr_unit_test-111
KUBERNETES_SERVICE_PORT=443
GIT_PREVIOUS_COMMIT=03312178c534dce949face80c69812d989e55009
JOB_SPEC={"type":"presubmit","job":"pingcap/tidb/release-8.1/ghpr_unit_test","buildid":"1787323754439774212","prowjobid":"f83dd4ae-cc27-4f62-904f-c5c29c520851","refs":{"org":"pingcap","repo":"tidb","repo_link":"https://github.com/pingcap/tidb","base_ref":"release-8.1","base_sha":"a088e599ec5e23c52f53da21fa9245780dcc6331","base_link":"https://github.com/pingcap/tidb/commit/a088e599ec5e23c52f53da21fa9245780dcc6331","pulls":[{"number":53025,"author":"zimulala","sha":"fd7df399ece6a0cb02dd94066fd8692c7e94c49b","title":"tests/ddl: make default_as_expression test stable","link":"https://github.com/pingcap/tidb/pull/53025","commit_link":"https://github.com/pingcap/tidb/pull/53025/commits/fd7df399ece6a0cb02dd94066fd8692c7e94c49b","author_link":"https://github.com/zimulala"}]}}
KUBERNETES_SERVICE_HOST=10.233.0.1
WORKSPACE=/home/jenkins/agent/workspace/pingcap/tidb/release-8.1/ghpr_unit_test
JOB_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/release-8.1/job/ghpr_unit_test/
RUN_CHANGES_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/release-8.1/job/ghpr_unit_test/111/display/redirect?page=changes
RUN_ARTIFACTS_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/release-8.1/job/ghpr_unit_test/111/display/redirect?page=artifacts
FILE_SERVER_URL=http://fileserver.pingcap.net
JENKINS_HOME=/var/jenkins_home
GIT_COMMIT=03312178c534dce949face80c69812d989e55009
PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/release-8.1/job/ghpr_unit_test/111/display/redirect
GOPROXY=http://goproxy.apps.svc,https://proxy.golang.org,direct
_=/usr/bin/printenv
POD_CONTAINER=golang
PWD=/home/jenkins/agent/workspace/pingcap/tidb/release-8.1/ghpr_unit_test
HUDSON_URL=https://do.pingcap.net/jenkins/
JOB_NAME=pingcap/tidb/release-8.1/ghpr_unit_test
TZ=Asia/Shanghai
BUILD_DISPLAY_NAME=#111
JENKINS_URL=https://do.pingcap.net/jenkins/
BUILD_ID=1787323754439774212
GOLANG_DOWNLOAD_SHA256=d0398903a16ba2232b389fb31032ddf57cac34efda306a0eebac34f0965a0742
JOB_BASE_NAME=ghpr_unit_test
GIT_PREVIOUS_SUCCESSFUL_COMMIT=03312178c534dce949face80c69812d989e55009
RUN_TESTS_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/release-8.1/job/ghpr_unit_test/111/display/redirect?page=tests
SHLVL=3
HOME=/home/jenkins
POD_LABEL=pingcap_tidb_release-8_1_ghpr_unit_test_111-73pjp
GOROOT=/usr/local/go
GIT_BRANCH=origin/main
KUBERNETES_PORT_443_TCP_PROTO=tcp
CI=true
KUBERNETES_SERVICE_PORT_HTTPS=443
WORKSPACE_TMP=/home/jenkins/agent/workspace/pingcap/tidb/release-8.1/ghpr_unit_test@tmp
EXECUTOR_NUMBER=0
JENKINS_SERVER_COOKIE=durable-5c6a8d54e1eafe77a1a9b9f415b7dcf80d0f4d17173a0e297ba32a2ec04ce2da
NODE_LABELS=pingcap_tidb_release-8_1_ghpr_unit_test_111-73pjp pingcap-tidb-release-8-1-ghpr-unit-test-111-73pjp-pdqwz-g53kj
GIT_URL=https://github.com/PingCAP-QE/ci.git
HUDSON_HOME=/var/jenkins_home
CLASSPATH=
NODE_NAME=pingcap-tidb-release-8-1-ghpr-unit-test-111-73pjp-pdqwz-g53kj
GOPATH=/go
JOB_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/release-8.1/job/ghpr_unit_test/display/redirect
BUILD_NUMBER=111
KUBERNETES_PORT_443_TCP_ADDR=10.233.0.1
KUBERNETES_PORT_443_TCP=tcp://10.233.0.1:443
GOLANG_DOWNLOAD_URL=https://dl.google.com/go/go1.21.0.linux-amd64.tar.gz
+ echo -------------------------
-------------------------
+ go env
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/home/jenkins/.cache/go-build'
GOENV='/home/jenkins/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/go'
GOPRIVATE=''
GOPROXY='http://goproxy.apps.svc,https://proxy.golang.org,direct'
GOROOT='/usr/local/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.21.0'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/dev/null'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build763699559=/tmp/go-build -gno-record-gcc-switches'
+ echo -------------------------
-------------------------
+ ls -l /dev/null
crw-rw-rw-. 1 root root 1, 3 May  6 11:29 /dev/null
+ echo 'debug command: kubectl -n jenkins-tidb exec -ti pingcap-tidb-release-8-1-ghpr-unit-test-111-73pjp-pdqwz-g53kj bash'
debug command: kubectl -n jenkins-tidb exec -ti pingcap-tidb-release-8-1-ghpr-unit-test-111-73pjp-pdqwz-g53kj 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: 43011
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: fff77df37e641691 (echoed)
;; QUESTION SECTION:
;github.com.			IN	A

;; ANSWER SECTION:
github.com.		26	IN	A	20.205.243.166

;; Query time: 1 msec
;; SERVER: 169.254.25.10#53(169.254.25.10) (UDP)
;; WHEN: Mon May 06 03:29:52 UTC 2024
;; MSG SIZE  rcvd: 77

[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] dir
Running in /home/jenkins/agent/workspace/pingcap/tidb/release-8.1/ghpr_unit_test/tidb
[Pipeline] {
[Pipeline] cache
Cache restored successfully (git/pingcap/tidb/rev-a088e59-c4be2c0)
459142656 bytes in 4.52 secs (101606511 bytes/sec)
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] withCredentials
Masking supported pattern matches of $SSH_KEY
[Pipeline] {
[Pipeline] sh
+ '[' -d /home/jenkins/.ssh ']'
+ mkdir /home/jenkins/.ssh
+ chmod 0700 /home/jenkins/.ssh
+ cp **** /home/jenkins/.ssh/id_rsa
+ chmod 400 /home/jenkins/.ssh/id_rsa
+ ssh-keyscan -t rsa,dsa github.com
# github.com:22 SSH-2.0-babeld-9713928c
# github.com:22 SSH-2.0-babeld-9713928c
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] retry
[Pipeline] {
[Pipeline] sh
git version 2.37.2
Reinitialized existing Git repository in /home/jenkins/agent/workspace/pingcap/tidb/release-8.1/ghpr_unit_test/tidb/.git/
.git
HEAD is now at c4be2c041c done
POST git-upload-pack (686 bytes)
POST git-upload-pack (973 bytes)
POST git-upload-pack (gzip 2023 to 1074 bytes)
From https://github.com/pingcap/tidb
 = [up to date]            release-8.1          -> origin/release-8.1
 * [new ref]               refs/pull/53025/head -> origin/pr/53025/head
Previous HEAD position was c4be2c041c done
HEAD is now at a088e599ec *: bump client-go to fix #53011 | tidb-test=pr/2320 (#53012) (#53015)
๐Ÿšง Checkouting to base SHA:a088e599ec5e23c52f53da21fa9245780dcc6331...
HEAD is now at a088e599ec *: bump client-go to fix #53011 | tidb-test=pr/2320 (#53012) (#53015)
โœ… Checked. ๐ŸŽ‰
๐Ÿงพ HEAD info:
a088e599ec5e23c52f53da21fa9245780dcc6331
a088e599ec *: bump client-go to fix #53011 | tidb-test=pr/2320 (#53012) (#53015)
4400134511 infoschema: load auto id related changes for multi-schema-change diff | tidb-test=pr/2320 (#52967) (#53008)
9930a02ce0 ddl: fix the issue about create columns with wrong default when sql_mode is empty. (#52988) (#53002)
๐Ÿšง Pre-merge heads of pull requests to base SHA: a088e599ec5e23c52f53da21fa9245780dcc6331 ...
Auto-merging tests/integrationtest/r/ddl/default_as_expression.result
CONFLICT (content): Merge conflict in tests/integrationtest/r/ddl/default_as_expression.result
Automatic merge failed; fix conflicts and then commit the result.
[Pipeline] }
ERROR: script returned exit code 1
Retrying
[Pipeline] {
[Pipeline] sh
git version 2.37.2
Reinitialized existing Git repository in /home/jenkins/agent/workspace/pingcap/tidb/release-8.1/ghpr_unit_test/tidb/.git/
.git
HEAD is now at a088e599ec *: bump client-go to fix #53011 | tidb-test=pr/2320 (#53012) (#53015)
POST git-upload-pack (686 bytes)
From https://github.com/pingcap/tidb
 = [up to date]            release-8.1          -> origin/release-8.1
 = [up to date]            refs/pull/53025/head -> origin/pr/53025/head
HEAD is now at a088e599ec *: bump client-go to fix #53011 | tidb-test=pr/2320 (#53012) (#53015)
๐Ÿšง Checkouting to base SHA:a088e599ec5e23c52f53da21fa9245780dcc6331...
HEAD is now at a088e599ec *: bump client-go to fix #53011 | tidb-test=pr/2320 (#53012) (#53015)
โœ… Checked. ๐ŸŽ‰
๐Ÿงพ HEAD info:
a088e599ec5e23c52f53da21fa9245780dcc6331
a088e599ec *: bump client-go to fix #53011 | tidb-test=pr/2320 (#53012) (#53015)
4400134511 infoschema: load auto id related changes for multi-schema-change diff | tidb-test=pr/2320 (#52967) (#53008)
9930a02ce0 ddl: fix the issue about create columns with wrong default when sql_mode is empty. (#52988) (#53002)
๐Ÿšง Pre-merge heads of pull requests to base SHA: a088e599ec5e23c52f53da21fa9245780dcc6331 ...
Auto-merging tests/integrationtest/r/ddl/default_as_expression.result
CONFLICT (content): Merge conflict in tests/integrationtest/r/ddl/default_as_expression.result
Automatic merge failed; fix conflicts and then commit the result.
[Pipeline] }
[Pipeline] // retry
[Pipeline] }
[Pipeline] // script
[Pipeline] }
Cache not saved (inner-step execution failed)
[Pipeline] // cache
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Test)
Stage "Test" skipped due to earlier failure(s)
[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 1
Finished: FAILURE