Skip to content
StepArgumentsStatus
Start of Pipeline - (37 min in block)
readJSON - (0.12 sec in self)
readTrusted - (8.9 sec in self)pipelines/pingcap/tiflash/latest/pod-pull_unit-test.yaml
podTemplate - (37 min in block)
podTemplate block - (37 min in block)
retry - (37 min in block)
retry block - (37 min in block)
node - (37 min in block)pingcap_tiflash_pull_unit_test_204-8t3w9
node block - (37 min in block)
ws - (37 min in block)/home/jenkins/agent/workspace/tiflash-build-common
ws block - (37 min in block)
stage - (11 sec in block)Declarative: Checkout SCM
stage block (Declarative: Checkout SCM) - (11 sec in block)
checkout - (11 sec in self)
withEnv - (37 min in block)GIT_BRANCH, GIT_COMMIT, GIT_PREVIOUS_COMMIT, GIT_PREVIOUS_SUCCESSFUL_COMMIT, GIT_URL
withEnv block - (37 min in block)
container - (37 min in block)runner
container block - (37 min in block)
withEnv - (37 min in block)FILE_SERVER_URL
withEnv block - (37 min in block)
timeout - (37 min in block)
timeout block - (37 min in block)
stage - (1.7 sec in block)Debug info
stage block (Debug info) - (1.7 sec in block)
sh (Debug info) - (0.76 sec in self) printenv echo "-------------------------" env hostname df -h free -hm echo "-------------------------" echo "debug command: kubectl -n jenkins-tiflash exec -ti pingcap-tiflash-pull-unit-test-204-8t3w9-vv4vd-mv5j9 bash"
container - (0.88 sec in block)net-tool
container block - (0.84 sec in block)
sh - (0.63 sec in self)dig github.com
script - (74 ms in block)
script block - (38 ms in block)
stage - (5 min 50 sec in block)Checkout
stage block (Checkout) - (5 min 50 sec in block)
timeout - (5 min 50 sec in block)
timeout block - (5 min 50 sec in block)
dir - (5 min 50 sec in block)tiflash
dir block - (5 min 50 sec in block)
script - (5 min 50 sec in block)
script block - (5 min 50 sec in block)
container - (4 min 24 sec in block)util
container block - (4 min 24 sec in block)
withCredentials - (4 min 24 sec in block)
withCredentials block - (4 min 24 sec in block)
sh - (0.57 sec in self)rm -rf ./*
sh - (1 min 31 sec in self)ks3util -c $KS3UTIL_CONF cp -f ks3://ee-fileserver/download/cicd/daily-cache-code/src-tiflash.tar.gz src-tiflash.tar.gz
sh - (2 min 51 sec in self) ls -alh chown 1000:1000 src-tiflash.tar.gz tar -xf src-tiflash.tar.gz --strip-components=1 && rm -rf src-tiflash.tar.gz ls -alh
sh - (32 sec in self) git config --global --add safe.directory "*" git version git status
retry - (53 sec in block)2
retry block - (53 sec in block)
sh (Checkout and merge pull request(s) to target if exist) - (50 sec in self)
dir - (1.2 sec in block)contrib/tiflash-proxy
dir block - (1.1 sec in block)
sh - (0.68 sec in self)git log -1 --format="%H"
echo - (0.23 sec in self)proxy_commit_hash: 7dc50b4eb06124e31f03adb06c20ff7ab61c5f79
sh - (1.4 sec in self) chown 1000:1000 -R ./
stage - (3 sec in block)Prepare tools
stage block (Prepare tools) - (2.9 sec in block)
parallel - (2.8 sec in block)
parallel block (Branch: Ccache) - (6 ms in block)
stage - (2.3 sec in block)Ccache
stage block (Ccache) - (2.2 sec in block)
sh (install ccache) - (2 sec in self) if ! command -v ccache &> /dev/null; then echo "ccache not found! Installing..." rpm -Uvh '/home/jenkins/agent/dependency/ccache.x86_64.rpm' else echo "ccache is already installed!" fi
parallel block (Branch: Cmake) - (4 ms in block)
stage - (2.3 sec in block)Cmake
stage block (Cmake) - (2.2 sec in block)
sh (install cmake3) - (1.7 sec in self) if ! command -v cmake &> /dev/null; then echo "cmake not found! Installing..." sh /home/jenkins/agent/dependency/cmake-3.22.3-linux-x86_64.sh --prefix=/usr --skip-license --exclude-subdir else echo "cmake is already installed!" fi
parallel block (Branch: Clang-Format) - (4 ms in block)
stage - (2.3 sec in block)Clang-Format
stage block (Clang-Format) - (2.2 sec in block)
sh (install clang-format) - (1.4 sec in self) if ! command -v clang-format &> /dev/null; then echo "clang-format not found! Installing..." cp '/home/jenkins/agent/dependency/clang-format-12' '/usr/local/bin/clang-format' chmod +x '/usr/local/bin/clang-format' else echo "clang-format is already installed!" fi
parallel block (Branch: Clang-Format-15) - (3 ms in block)
stage - (2.3 sec in block)Clang-Format-15
stage block (Clang-Format-15) - (2.1 sec in block)
sh (install clang-format-15) - (1.1 sec in self) if ! command -v clang-format-15 &> /dev/null; then echo "clang-format-15 not found! Installing..." cp '/home/jenkins/agent/dependency/clang-format-15' '/usr/local/bin/clang-format-15' chmod +x '/usr/local/bin/clang-format-15' else echo "clang-format-15 is already installed!" fi
parallel block (Branch: Clang-Tidy) - (5 ms in block)
stage - (2.3 sec in block)Clang-Tidy
stage block (Clang-Tidy) - (2.1 sec in block)
sh (install clang-tidy) - (0.85 sec in self) if ! command -v clang-tidy &> /dev/null; then echo "clang-tidy not found! Installing..." cp '/home/jenkins/agent/dependency/clang-tidy-12' '/usr/local/bin/clang-tidy' chmod +x '/usr/local/bin/clang-tidy' cp '/home/jenkins/agent/dependency/lib64-clang-12-include.tar.gz' '/tmp/lib64-clang-12-include.tar.gz' cd /tmp && tar zxf lib64-clang-12-include.tar.gz else echo "clang-tidy is already installed!" fi
parallel block (Branch: Coverage) - (2.7 sec in block)
stage - (2.5 sec in block)Coverage
stage block (Coverage) - (2.4 sec in block)
sh (install gcovr) - (0.7 sec in self) if ! command -v gcovr &> /dev/null; then echo "lcov not found! Installing..." cp '/home/jenkins/agent/dependency/gcovr.tar' '/tmp/' cd /tmp tar xvf gcovr.tar && rm -rf gcovr.tar ln -sf /tmp/gcovr/gcovr /usr/bin/gcovr else echo "lcov is already installed!" fi
stage - (6.1 sec in block)Prepare Cache
stage block (Prepare Cache) - (6 sec in block)
parallel - (6 sec in block)
parallel block (Branch: Ccache) - (3 ms in block)
stage - (5.8 sec in block)Ccache
stage block (Ccache) - (5.8 sec in block)
script - (5.7 sec in block)
script block - (5.7 sec in block)
dir - (5.6 sec in block)tiflash
dir block - (5.6 sec in block)
sh (copy ccache if exist) - (5 sec in self) pwd ccache_tar_file="/home/jenkins/agent/ccache/pagetools-tests-amd64-linux-llvm-debug-master-failpoints.tar" if [ -f $ccache_tar_file ]; then echo "ccache found" cd /tmp cp -r $ccache_tar_file ccache.tar tar -xf ccache.tar ls -lha /tmp else echo "ccache not found" fi
sh (config ccache) - (0.54 sec in self) ccache -o cache_dir="/tmp/.ccache" ccache -o max_size=2G ccache -o limit_multiple=0.99 ccache -o hash_dir=false ccache -o compression=true ccache -o compression_level=6 ccache -o read_only=true ccache -z
parallel block (Branch: Proxy-Cache) - (4.7 sec in block)
stage - (4.5 sec in block)Proxy-Cache
stage block (Proxy-Cache) - (4.4 sec in block)
script - (4.3 sec in block)
script block - (4.2 sec in block)
fileExists - (0.45 sec in self)/home/jenkins/agent/proxy-cache/7dc50b4eb06124e31f03adb06c20ff7ab61c5f79-amd64-linux-llvm
echo - (14 ms in self)proxy_cache_ready: true
sh (copy proxy if exist) - (1.4 sec in self) proxy_suffix="amd64-linux-llvm" proxy_cache_file="/home/jenkins/agent/proxy-cache/7dc50b4eb06124e31f03adb06c20ff7ab61c5f79-${proxy_suffix}" if [ -f $proxy_cache_file ]; then echo "proxy cache found" mkdir -p /home/jenkins/agent/workspace/tiflash-build-common/tiflash/libs/libtiflash-proxy cp $proxy_cache_file /home/jenkins/agent/workspace/tiflash-build-common/tiflash/libs/libtiflash-proxy/libtiflash_proxy.so chmod +x /home/jenkins/agent/workspace/tiflash-build-common/tiflash/libs/libtiflash-proxy/libtiflash_proxy.so else echo "proxy cache not found" fi
sh (link cargo cache) - (2.2 sec in self)
stage - (0.91 sec in block)Build Dependency and Utils
stage block (Build Dependency and Utils) - (0.7 sec in block)
parallel - (0.64 sec in block)
parallel block (Branch: Cluster Manage) - (4 ms in block)
stage - (0.22 sec in block)Cluster Manage
stage block (Cluster Manage) - (80 ms in block)
echo - (15 ms in self)cluster_manager is deprecated
parallel block (Branch: TiFlash Proxy) - (0.45 sec in block)
stage - (0.37 sec in block)TiFlash Proxy
stage block (TiFlash Proxy) - (0.31 sec in block)
script - (0.21 sec in block)
script block - (57 ms in block)
echo - (27 ms in self)skip becuase of cache
stage - (33 sec in block)Configure Project
stage block (Configure Project) - (33 sec in block)
script - (32 sec in block)
script block - (32 sec in block)
sh - (1.1 sec in self) mkdir -p /home/jenkins/agent/workspace/tiflash-build-common/tiflash/contrib/tiflash-proxy/target/release cp /home/jenkins/agent/workspace/tiflash-build-common/tiflash/libs/libtiflash-proxy/libtiflash_proxy.so /home/jenkins/agent/workspace/tiflash-build-common/tiflash/contrib/tiflash-proxy/target/release/
sh (create build & install dir) - (0.68 sec in self) mkdir -p /home/jenkins/agent/workspace/tiflash-build-common/build mkdir -p /home/jenkins/agent/workspace/tiflash-build-common/install/tiflash
dir - (31 sec in block)/home/jenkins/agent/workspace/tiflash-build-common/build
dir block - (31 sec in block)
sh (configure project) - (30 sec in self) cmake '/home/jenkins/agent/workspace/tiflash-build-common/tiflash' -DPREBUILT_LIBS_ROOT='/home/jenkins/agent/workspace/tiflash-build-common/tiflash/contrib/tiflash-proxy/' \ -G 'Ninja' \ -DENABLE_FAILPOINTS=true \ -DCMAKE_BUILD_TYPE=Debug \ -DCMAKE_PREFIX_PATH='/usr/local' \ -DCMAKE_INSTALL_PREFIX=/home/jenkins/agent/workspace/tiflash-build-common/install/tiflash \ -DENABLE_TESTS=true \ -DUSE_CCACHE=true \ -DDEBUG_WITHOUT_DEBUG_INFO=true \ -DUSE_INTERNAL_TIFLASH_PROXY=false \ -DRUN_HAVE_STD_REGEX=0 \
stage - (2 min 23 sec in block)Build TiFlash
stage block (Build TiFlash) - (2 min 23 sec in block)
dir - (2 min 22 sec in block)/home/jenkins/agent/workspace/tiflash-build-common/tiflash
dir block - (2 min 21 sec in block)
sh - (2 min 19 sec in self) cmake --build '/home/jenkins/agent/workspace/tiflash-build-common/build' --target gtests_dbms gtests_libcommon gtests_libdaemon --parallel 12
sh - (2.1 sec in self) cp '/home/jenkins/agent/workspace/tiflash-build-common/build/dbms/gtests_dbms' '/home/jenkins/agent/workspace/tiflash-build-common/install/tiflash/' cp '/home/jenkins/agent/workspace/tiflash-build-common/build/libs/libcommon/src/tests/gtests_libcommon' '/home/jenkins/agent/workspace/tiflash-build-common/install/tiflash/' cmake --install /home/jenkins/agent/workspace/tiflash-build-common/build --component=tiflash-gtest --prefix='/home/jenkins/agent/workspace/tiflash-build-common/install/tiflash'
dir - (0.64 sec in block)/home/jenkins/agent/workspace/tiflash-build-common/build
dir block - (0.57 sec in block)
sh - (0.54 sec in self) target=`realpath $(find . -executable | grep -v gtests_libdaemon.dir | grep gtests_libdaemon)` cp $target '/home/jenkins/agent/workspace/tiflash-build-common/install/tiflash/'
dir - (0.61 sec in block)/home/jenkins/agent/workspace/tiflash-build-common/tiflash
dir block - (0.57 sec in block)
sh - (0.54 sec in self) ccache -s ls -lha /home/jenkins/agent/workspace/tiflash-build-common/install/tiflash/
stage - (40 sec in block)Post Build
stage block (Post Build) - (40 sec in block)
parallel - (40 sec in block)
parallel block (Branch: Upload Build Artifacts) - (3 ms in block)
stage - (40 sec in block)Upload Build Artifacts
stage block (Upload Build Artifacts) - (40 sec in block)
dir - (40 sec in block)/home/jenkins/agent/workspace/tiflash-build-common/install
dir block - (40 sec in block)
sh - (22 sec in self) tar -czf 'tiflash.tar.gz' 'tiflash'
archiveArtifacts - (17 sec in self)tiflash.tar.gz
parallel block (Branch: Upload Build Data) - (10 sec in block)
stage - (10 sec in block)Upload Build Data
stage block (Upload Build Data) - (10 sec in block)
dir - (7.6 sec in block)/home/jenkins/agent/workspace/tiflash-build-common/build
dir block - (7.6 sec in block)
sh - (6.4 sec in self) tar -cavf build-data.tar.xz $(find . -name "*.h" -o -name "*.cpp" -o -name "*.cc" -o -name "*.hpp" -o -name "*.gcno" -o -name "*.gcna")
archiveArtifacts - (0.93 sec in self)
dir - (2.3 sec in block)/home/jenkins/agent/workspace/tiflash-build-common/tiflash
dir block - (2.1 sec in block)
sh - (2.1 sec in self) tar -cavf source-patch.tar.xz $(find . -name "*.pb.h" -o -name "*.pb.cc")
archiveArtifacts - (34 ms in self)
stage - (1.4 sec in block)Unit Test Prepare
stage block (Unit Test Prepare) - (1.4 sec in block)
sh - (0.55 sec in self) ln -sf /home/jenkins/agent/workspace/tiflash-build-common/install/tiflash /tiflash
sh - (0.56 sec in self) ls -lha /home/jenkins/agent/workspace/tiflash-build-common/tiflash ln -sf /home/jenkins/agent/workspace/tiflash-build-common/tiflash/tests /tests
dir - (0.12 sec in block)/home/jenkins/agent/workspace/tiflash-build-common/tiflash
dir block - (49 ms in block)
echo - (13 ms in self)temp skip here
dir - (0.1 sec in block)/home/jenkins/agent/workspace/tiflash-build-common/build
dir block - (46 ms in block)
echo - (12 ms in self)temp skip here
stage - (27 min in block)Run Tests
stage block (Run Tests) - (27 min in block)
dir - (27 min in block)/home/jenkins/agent/workspace/tiflash-build-common/tiflash
dir block - (27 min in block)
sh - (27 min in self) parallelism=12 rm -rf /tmp-memfs/tiflash-tests mkdir -p /tmp-memfs/tiflash-tests export TIFLASH_TEMP_DIR=/tmp-memfs/tiflash-tests mkdir -p /root/.cache source /tests/docker/util.sh export LLVM_PROFILE_FILE="/tiflash/profile/unit-test-%${parallelism}m.profraw" show_env ENV_VARS_PATH=/tests/docker/_env.sh OUTPUT_XML=true NPROC=${parallelism} /tests/run-gtest.sh