Step | Arguments | Status | |
---|---|---|---|
Start of Pipeline - (35 min in block) | |||
readJSON - (0.11 sec in self) | |||
readTrusted - (1 sec in self) | pipelines/pingcap/tiflash/latest/pod-merged_unit_test.yaml | ||
podTemplate - (35 min in block) | |||
podTemplate block - (35 min in block) | |||
retry - (35 min in block) | |||
retry block - (35 min in block) | |||
node - (35 min in block) | pingcap_tiflash_merged_unit_test_9-d4k62 | ||
node block - (35 min in block) | |||
ws - (35 min in block) | /home/jenkins/agent/workspace/tiflash-build-common | ||
ws block - (35 min in block) | |||
stage - (4.5 sec in block) | Declarative: Checkout SCM | ||
stage block (Declarative: Checkout SCM) - (4.4 sec in block) | |||
checkout - (4.4 sec in self) | |||
withEnv - (35 min in block) | GIT_BRANCH, GIT_COMMIT, GIT_PREVIOUS_COMMIT, GIT_PREVIOUS_SUCCESSFUL_COMMIT, GIT_URL | ||
withEnv block - (35 min in block) | |||
container - (35 min in block) | runner | ||
container block - (35 min in block) | |||
withEnv - (35 min in block) | FILE_SERVER_URL | ||
withEnv block - (35 min in block) | |||
timeout - (35 min in block) | |||
timeout block - (35 min in block) | |||
stage - (1.3 sec in block) | Debug info | ||
stage block (Debug info) - (1.3 sec in block) | |||
sh (Debug info) - (0.6 sec in self) | printenv echo "-------------------------" go env echo "-------------------------" echo "debug command: kubectl -n jenkins-tidb exec -ti pingcap-tiflash-merged-unit-test-9-d4k62-4vhfc-5fv1p bash" | ||
container - (0.63 sec in block) | net-tool | ||
container block - (0.59 sec in block) | |||
sh - (0.55 sec in self) | dig github.com | ||
stage - (4 min 47 sec in block) | Checkout | ||
stage block (Checkout) - (4 min 47 sec in block) | |||
timeout - (4 min 47 sec in block) | |||
timeout block - (4 min 47 sec in block) | |||
dir - (4 min 47 sec in block) | tiflash | ||
dir block - (4 min 47 sec in block) | |||
retry - (4 min 47 sec in block) | 2 | ||
retry block - (4 min 47 sec in block) | |||
script - (4 min 46 sec in block) | |||
script block - (4 min 46 sec in block) | |||
container - (3 min 28 sec in block) | util | ||
container block - (3 min 28 sec in block) | |||
withCredentials - (3 min 28 sec in block) | |||
withCredentials block - (3 min 28 sec in block) | |||
sh - (0.54 sec in self) | rm -rf ./* | ||
sh - (1 min 5 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 21 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 | ||
sh (Checkout and merge pull request(s) to target if exist) - (43 sec in self) | |||
dir - (0.69 sec in block) | contrib/tiflash-proxy | ||
dir block - (0.6 sec in block) | |||
sh - (0.56 sec in self) | git log -1 --format="%H" | ||
echo - (7 ms in self) | proxy_commit_hash: 7dc50b4eb06124e31f03adb06c20ff7ab61c5f79 | ||
sh - (1.4 sec in self) | chown 1000:1000 -R ./ | ||
stage - (2.7 sec in block) | Prepare tools | ||
stage block (Prepare tools) - (2.6 sec in block) | |||
parallel - (2.6 sec in block) | |||
parallel block (Branch: Ccache) - (5 ms in block) | |||
stage - (2 sec in block) | Ccache | ||
stage block (Ccache) - (2 sec in block) | |||
sh (install ccache) - (1.8 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 sec in block) | Cmake | ||
stage block (Cmake) - (2 sec in block) | |||
sh (install cmake3) - (1.5 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.1 sec in block) | Clang-Format | ||
stage block (Clang-Format) - (1.9 sec in block) | |||
sh (install clang-format) - (1.2 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.1 sec in block) | Clang-Format-15 | ||
stage block (Clang-Format-15) - (1.9 sec in block) | |||
sh (install clang-format-15) - (0.95 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) - (4 ms in block) | |||
stage - (2.1 sec in block) | Clang-Tidy | ||
stage block (Clang-Tidy) - (1.9 sec in block) | |||
sh (install clang-tidy) - (0.67 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.4 sec in block) | |||
stage - (2.2 sec in block) | Coverage | ||
stage block (Coverage) - (2.1 sec in block) | |||
sh (install gcovr) - (0.62 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 - (7 sec in block) | Prepare Cache | ||
stage block (Prepare Cache) - (7 sec in block) | |||
parallel - (6.9 sec in block) | |||
parallel block (Branch: Ccache) - (4 ms in block) | |||
stage - (6.7 sec in block) | Ccache | ||
stage block (Ccache) - (6.6 sec in block) | |||
script - (6.5 sec in block) | |||
script block - (6.5 sec in block) | |||
dir - (6.4 sec in block) | tiflash | ||
dir block - (6.3 sec in block) | |||
sh (copy ccache if exist) - (5.7 sec in self) | pwd & ls -alh 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.63 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) - (2.8 sec in block) | |||
stage - (2.6 sec in block) | Proxy-Cache | ||
stage block (Proxy-Cache) - (2.5 sec in block) | |||
script - (2.5 sec in block) | |||
script block - (2.4 sec in block) | |||
fileExists - (0.34 sec in self) | /home/jenkins/agent/proxy-cache/7dc50b4eb06124e31f03adb06c20ff7ab61c5f79-amd64-linux-llvm | ||
echo - (43 ms in self) | proxy_cache_ready: false | ||
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) - (0.54 sec in self) | |||
stage - (0.54 sec in block) | Build Dependency and Utils | ||
stage block (Build Dependency and Utils) - (0.47 sec in block) | |||
parallel - (0.43 sec in block) | |||
parallel block (Branch: Cluster Manage) - (4 ms in block) | |||
stage - (0.17 sec in block) | Cluster Manage | ||
stage block (Cluster Manage) - (79 ms in block) | |||
echo - (9 ms in self) | cluster_manager is deprecated | ||
parallel block (Branch: TiFlash Proxy) - (0.36 sec in block) | |||
stage - (0.29 sec in block) | TiFlash Proxy | ||
stage block (TiFlash Proxy) - (0.24 sec in block) | |||
script - (0.15 sec in block) | |||
script block - (32 ms in block) | |||
echo - (10 ms in self) | skip because proxy build is integrated(llvm) | ||
stage - (29 sec in block) | Configure Project | ||
stage block (Configure Project) - (28 sec in block) | |||
script - (28 sec in block) | |||
script block - (28 sec in block) | |||
sh (create build & install dir) - (0.56 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 - (28 sec in block) | /home/jenkins/agent/workspace/tiflash-build-common/build | ||
dir block - (28 sec in block) | |||
sh (configure project) - (28 sec in self) | cmake '/home/jenkins/agent/workspace/tiflash-build-common/tiflash' \ -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=true \ -DRUN_HAVE_STD_REGEX=0 \ | ||
stage - (3 min 53 sec in block) | Build TiFlash | ||
stage block (Build TiFlash) - (3 min 53 sec in block) | |||
dir - (3 min 51 sec in block) | /home/jenkins/agent/workspace/tiflash-build-common/tiflash | ||
dir block - (3 min 51 sec in block) | |||
sh - (3 min 50 sec in self) | cmake --build '/home/jenkins/agent/workspace/tiflash-build-common/build' --target gtests_dbms gtests_libcommon gtests_libdaemon --parallel 12 | ||
sh - (1.7 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.68 sec in block) | /home/jenkins/agent/workspace/tiflash-build-common/build | ||
dir block - (0.59 sec in block) | |||
sh - (0.55 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.62 sec in block) | /home/jenkins/agent/workspace/tiflash-build-common/tiflash | ||
dir block - (0.58 sec in block) | |||
sh - (0.54 sec in self) | ccache -s ls -lha /home/jenkins/agent/workspace/tiflash-build-common/install/tiflash/ | ||
stage - (30 sec in block) | Post Build | ||
stage block (Post Build) - (30 sec in block) | |||
parallel - (30 sec in block) | |||
parallel block (Branch: Archive Build Artifacts) - (3 ms in block) | |||
stage - (29 sec in block) | Archive Build Artifacts | ||
stage block (Archive Build Artifacts) - (29 sec in block) | |||
dir - (29 sec in block) | /home/jenkins/agent/workspace/tiflash-build-common/install | ||
dir block - (29 sec in block) | |||
sh - (22 sec in self) | tar -czf 'tiflash.tar.gz' 'tiflash' | ||
archiveArtifacts - (7.3 sec in self) | tiflash.tar.gz | ||
parallel block (Branch: Archive Build Data) - (8.8 sec in block) | |||
stage - (8.8 sec in block) | Archive Build Data | ||
stage block (Archive Build Data) - (8.7 sec in block) | |||
dir - (6.7 sec in block) | /home/jenkins/agent/workspace/tiflash-build-common/build | ||
dir block - (6.6 sec in block) | |||
sh - (6 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.29 sec in self) | |||
dir - (1.9 sec in block) | /home/jenkins/agent/workspace/tiflash-build-common/tiflash | ||
dir block - (1.8 sec in block) | |||
sh - (1.8 sec in self) | tar -cavf source-patch.tar.xz $(find . -name "*.pb.h" -o -name "*.pb.cc") | ||
archiveArtifacts - (31 ms in self) | |||
stage - (0.67 sec in block) | Unit Test Prepare | ||
stage block (Unit Test Prepare) - (0.59 sec in block) | |||
sh (link unit test dir) - (0.55 sec in self) | ln -sf /home/jenkins/agent/workspace/tiflash-build-common/install/tiflash /tiflash ls -lha /home/jenkins/agent/workspace/tiflash-build-common/tiflash ln -sf /home/jenkins/agent/workspace/tiflash-build-common/tiflash/tests /tests | ||
stage - (25 min in block) | Run Tests | ||
stage block (Run Tests) - (25 min in block) | |||
dir - (25 min in block) | /home/jenkins/agent/workspace/tiflash-build-common/tiflash | ||
dir block - (25 min in block) | |||
sh (run unit tests) - (25 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 |