Step | Arguments | Status | |
---|---|---|---|
Start of Pipeline - (38 min in block) | |||
readJSON - (0.14 sec in self) | |||
readTrusted - (1 sec in self) | pipelines/pingcap/tiflash/latest/pod-pull_unit-test.yaml | ||
podTemplate - (38 min in block) | |||
podTemplate block - (38 min in block) | |||
retry - (38 min in block) | |||
retry block - (38 min in block) | |||
node - (38 min in block) | pingcap_tiflash_pull_unit_test_209-sxrdw | ||
node block - (38 min in block) | |||
ws - (38 min in block) | /home/jenkins/agent/workspace/tiflash-build-common | ||
ws block - (38 min in block) | |||
stage - (9.8 sec in block) | Declarative: Checkout SCM | ||
stage block (Declarative: Checkout SCM) - (9.7 sec in block) | |||
checkout - (9.7 sec in self) | |||
withEnv - (38 min in block) | GIT_BRANCH, GIT_COMMIT, GIT_PREVIOUS_COMMIT, GIT_PREVIOUS_SUCCESSFUL_COMMIT, GIT_URL | ||
withEnv block - (38 min in block) | |||
container - (38 min in block) | runner | ||
container block - (38 min in block) | |||
withEnv - (38 min in block) | FILE_SERVER_URL | ||
withEnv block - (38 min in block) | |||
timeout - (38 min in block) | |||
timeout block - (38 min in block) | |||
stage - (1.3 sec in block) | Debug info | ||
stage block (Debug info) - (1.3 sec in block) | |||
sh (Debug info) - (0.58 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-209-sxrdw-m4129-lv8f0 bash" | ||
container - (0.69 sec in block) | net-tool | ||
container block - (0.66 sec in block) | |||
sh - (0.56 sec in self) | dig github.com | ||
script - (66 ms in block) | |||
script block - (34 ms in block) | |||
stage - (4 min 12 sec in block) | Checkout | ||
stage block (Checkout) - (4 min 11 sec in block) | |||
timeout - (4 min 11 sec in block) | |||
timeout block - (4 min 11 sec in block) | |||
dir - (4 min 11 sec in block) | tiflash | ||
dir block - (4 min 11 sec in block) | |||
script - (4 min 11 sec in block) | |||
script block - (4 min 11 sec in block) | |||
container - (2 min 44 sec in block) | util | ||
container block - (2 min 44 sec in block) | |||
withCredentials - (2 min 44 sec in block) | |||
withCredentials block - (2 min 44 sec in block) | |||
sh - (0.58 sec in self) | rm -rf ./* | ||
sh - (51 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 - (1 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 - (27 sec in self) | git config --global --add safe.directory "*" git version git status | ||
retry - (59 sec in block) | 2 | ||
retry block - (59 sec in block) | |||
sh (Checkout and merge pull request(s) to target if exist) - (57 sec in self) | |||
dir - (0.67 sec in block) | contrib/tiflash-proxy | ||
dir block - (0.6 sec in block) | |||
sh - (0.55 sec in self) | git log -1 --format="%H" | ||
echo - (13 ms in self) | proxy_commit_hash: 7dc50b4eb06124e31f03adb06c20ff7ab61c5f79 | ||
sh - (1.5 sec in self) | chown 1000:1000 -R ./ | ||
stage - (2.4 sec in block) | Prepare tools | ||
stage block (Prepare tools) - (2.4 sec in block) | |||
parallel - (2.3 sec in block) | |||
parallel block (Branch: Ccache) - (4 ms in block) | |||
stage - (1.8 sec in block) | Ccache | ||
stage block (Ccache) - (1.8 sec in block) | |||
sh (install ccache) - (1.7 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) - (3 ms in block) | |||
stage - (1.9 sec in block) | Cmake | ||
stage block (Cmake) - (1.8 sec in block) | |||
sh (install cmake3) - (1.4 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) - (3 ms in block) | |||
stage - (1.9 sec in block) | Clang-Format | ||
stage block (Clang-Format) - (1.8 sec in block) | |||
sh (install clang-format) - (1.1 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) - (5 ms in block) | |||
stage - (1.9 sec in block) | Clang-Format-15 | ||
stage block (Clang-Format-15) - (1.8 sec in block) | |||
sh (install clang-format-15) - (0.92 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 - (1.9 sec in block) | Clang-Tidy | ||
stage block (Clang-Tidy) - (1.8 sec in block) | |||
sh (install clang-tidy) - (0.64 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.1 sec in block) | |||
stage - (2 sec in block) | Coverage | ||
stage block (Coverage) - (2 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 - (6.6 sec in block) | Prepare Cache | ||
stage block (Prepare Cache) - (6.5 sec in block) | |||
parallel - (6.5 sec in block) | |||
parallel block (Branch: Ccache) - (5 ms in block) | |||
stage - (6.4 sec in block) | Ccache | ||
stage block (Ccache) - (6.3 sec in block) | |||
script - (6.3 sec in block) | |||
script block - (6.2 sec in block) | |||
dir - (6.2 sec in block) | tiflash | ||
dir block - (6.1 sec in block) | |||
sh (copy ccache if exist) - (5.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) - (2.9 sec in block) | |||
stage - (2.8 sec in block) | Proxy-Cache | ||
stage block (Proxy-Cache) - (2.8 sec in block) | |||
script - (2.7 sec in block) | |||
script block - (2.6 sec in block) | |||
fileExists - (0.33 sec in self) | /home/jenkins/agent/proxy-cache/7dc50b4eb06124e31f03adb06c20ff7ab61c5f79-amd64-linux-llvm | ||
echo - (12 ms in self) | proxy_cache_ready: true | ||
sh (copy proxy if exist) - (1.7 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.53 sec in self) | |||
stage - (0.63 sec in block) | Build Dependency and Utils | ||
stage block (Build Dependency and Utils) - (0.58 sec in block) | |||
parallel - (0.54 sec in block) | |||
parallel block (Branch: Cluster Manage) - (3 ms in block) | |||
stage - (0.11 sec in block) | Cluster Manage | ||
stage block (Cluster Manage) - (55 ms in block) | |||
echo - (9 ms in self) | cluster_manager is deprecated | ||
parallel block (Branch: TiFlash Proxy) - (0.27 sec in block) | |||
stage - (0.21 sec in block) | TiFlash Proxy | ||
stage block (TiFlash Proxy) - (0.15 sec in block) | |||
script - (94 ms in block) | |||
script block - (22 ms in block) | |||
echo - (6 ms in self) | skip becuase of cache | ||
stage - (30 sec in block) | Configure Project | ||
stage block (Configure Project) - (30 sec in block) | |||
script - (30 sec in block) | |||
script block - (30 sec in block) | |||
sh - (0.78 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.55 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 - (29 sec in block) | /home/jenkins/agent/workspace/tiflash-build-common/build | ||
dir block - (29 sec in block) | |||
sh (configure project) - (29 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 - (7 min 2 sec in block) | Build TiFlash | ||
stage block (Build TiFlash) - (7 min 2 sec in block) | |||
dir - (7 min 0 sec in block) | /home/jenkins/agent/workspace/tiflash-build-common/tiflash | ||
dir block - (7 min 0 sec in block) | |||
sh - (6 min 59 sec in self) | cmake --build '/home/jenkins/agent/workspace/tiflash-build-common/build' --target gtests_dbms gtests_libcommon gtests_libdaemon --parallel 12 | ||
sh - (1.6 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.67 sec in block) | /home/jenkins/agent/workspace/tiflash-build-common/build | ||
dir block - (0.6 sec in block) | |||
sh - (0.56 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 - (1 sec in block) | /home/jenkins/agent/workspace/tiflash-build-common/tiflash | ||
dir block - (1 sec in block) | |||
sh - (0.99 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) - (4 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 - (39 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) - (9 sec in block) | |||
stage - (8.9 sec in block) | Upload Build Data | ||
stage block (Upload Build Data) - (8.9 sec in block) | |||
dir - (7.1 sec in block) | /home/jenkins/agent/workspace/tiflash-build-common/build | ||
dir block - (7 sec in block) | |||
sh - (5.8 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.86 sec in self) | |||
dir - (1.6 sec in block) | /home/jenkins/agent/workspace/tiflash-build-common/tiflash | ||
dir block - (1.6 sec in block) | |||
sh - (1.5 sec in self) | tar -cavf source-patch.tar.xz $(find . -name "*.pb.h" -o -name "*.pb.cc") | ||
archiveArtifacts - (40 ms in self) | |||
stage - (1.3 sec in block) | Unit Test Prepare | ||
stage block (Unit Test Prepare) - (1.2 sec in block) | |||
sh - (0.54 sec in self) | ln -sf /home/jenkins/agent/workspace/tiflash-build-common/install/tiflash /tiflash | ||
sh - (0.54 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 - (89 ms in block) | /home/jenkins/agent/workspace/tiflash-build-common/tiflash | ||
dir block - (34 ms in block) | |||
echo - (7 ms in self) | temp skip here | ||
dir - (65 ms in block) | /home/jenkins/agent/workspace/tiflash-build-common/build | ||
dir block - (31 ms in block) | |||
echo - (7 ms in self) | temp skip here | ||
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 - (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 |