metadata: annotations: prow.k8s.io/context: pull-sanitizer-asan prow.k8s.io/job: pull-sanitizer-asan creationTimestamp: "2026-04-08T04:04:56Z" generation: 10 labels: created-by-prow: "true" event-GUID: 18b99c70-3300-11f1-9049-c55a41e1a568 prow.k8s.io/build-id: "2041728976417722368" prow.k8s.io/context: pull-sanitizer-asan prow.k8s.io/id: 87d3b49c-987e-413b-b37d-e05ddabd91f0 prow.k8s.io/is-optional: "true" prow.k8s.io/job: pull-sanitizer-asan prow.k8s.io/refs.base_ref: master prow.k8s.io/refs.org: pingcap prow.k8s.io/refs.pull: "10791" prow.k8s.io/refs.repo: tiflash prow.k8s.io/type: presubmit name: 87d3b49c-987e-413b-b37d-e05ddabd91f0 namespace: apps resourceVersion: "1775626482515263018" uid: 86b0b299-d889-454d-b069-3f0331fbd1f1 spec: agent: kubernetes cluster: default context: pull-sanitizer-asan decoration_config: gcs_configuration: bucket: gs://prow-tidb-logs path_strategy: explicit gcs_credentials_secret: gcs-credentials timeout: 3h0m0s utility_images: clonerefs: gcr.io/k8s-prow/clonerefs:v20230601-43eb1068e4 entrypoint: gcr.io/k8s-prow/entrypoint:v20230601-43eb1068e4 initupload: gcr.io/k8s-prow/initupload:v20230601-43eb1068e4 sidecar: gcr.io/k8s-prow/sidecar:v20230601-43eb1068e4 job: pull-sanitizer-asan namespace: prow-test-pods pod_spec: affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - key: kubernetes.io/arch operator: In values: - amd64 containers: - args: - | set -euo pipefail if ! command -v ccache >/dev/null 2>&1; then yum install -y ccache fi sanitizer="${SANITIZER:-}" if [[ "${sanitizer}" != "ASan" && "${sanitizer}" != "TSan" ]]; then echo "unsupported sanitizer: ${sanitizer}" >&2 exit 1 fi run_with_sanitizer_runtime() { "$@" } if [[ "${sanitizer}" == "TSan" ]] && ! command -v setarch >/dev/null 2>&1; then echo "setarch is required for TSan runtime on this job" >&2 exit 1 fi if [[ "${sanitizer}" == "TSan" ]] && command -v setarch >/dev/null 2>&1; then arch_name="$(uname -m)" run_with_sanitizer_runtime() { setarch "${arch_name}" -R "$@" } fi build_jobs="8" test_workers="8" if [[ "${sanitizer}" == "TSan" ]]; then build_jobs="6" test_workers="6" fi repo_root="$(pwd)" git config "submodule.contrib/tiflash-proxy-next-gen.update" none git submodule sync --recursive git submodule update --init --recursive rm -rf "${repo_root}/.ccache" "${repo_root}/build-${sanitizer}" mkdir -p "${repo_root}/build-${sanitizer}" ccache -o cache_dir="$(realpath "${repo_root}/.ccache")" || true ccache -o max_size=2G || true ccache -o limit_multiple=0.99 || true ccache -o hash_dir=false || true ccache -o compression=true || true ccache -o compression_level=6 || true ccache -z || true ( cd "${repo_root}/build-${sanitizer}" cmake "${repo_root}" \ -DCMAKE_CXX_COMPILER=clang++ \ -DCMAKE_C_COMPILER=clang \ -DENABLE_TESTS=ON \ -DCMAKE_BUILD_TYPE="${sanitizer}" \ -DUSE_CCACHE=ON \ -DRUN_HAVE_STD_REGEX=0 \ -DCMAKE_PREFIX_PATH=/usr/local \ -DUSE_GM_SSL=0 \ -GNinja run_with_sanitizer_runtime ninja -j"${build_jobs}" gtests_dbms gtests_libcommon gtests_libdaemon ) rm -rf /tests /tiflash ln -s "${repo_root}/tests" /tests mkdir -p /tiflash cp "${repo_root}/build-${sanitizer}/dbms/gtests_dbms" /tiflash cp "${repo_root}/build-${sanitizer}/libs/libcommon/src/tests/gtests_libcommon" /tiflash cp "${repo_root}/build-${sanitizer}/libs/libdaemon/src/tests/gtests_libdaemon" /tiflash source /tests/docker/util.sh show_env UBSAN_OPTIONS=print_stacktrace=1:halt_on_error=0 \ LSAN_OPTIONS=suppressions=/tests/sanitize/asan.suppression \ TSAN_OPTIONS="suppressions=/tests/sanitize/tsan.suppression" \ ENV_VARS_PATH=/tests/docker/_env.sh \ NPROC="${test_workers}" \ run_with_sanitizer_runtime /tests/run-gtest.sh command: - /bin/bash - -ce env: - name: SANITIZER value: ASan image: ghcr.io/pingcap-qe/cd/builders/tiflash:v2025.8.10-2-gc9e3144-centos7 imagePullPolicy: Always name: run-sanitizer resources: limits: cpu: "12" memory: 48Gi requests: cpu: "12" memory: 48Gi prowjob_defaults: tenant_id: GlobalDefaultID refs: base_link: https://github.com/pingcap/tiflash/commit/a9010056f010954f349883a9b3d8716cc0e3ba86 base_ref: master base_sha: a9010056f010954f349883a9b3d8716cc0e3ba86 org: pingcap pulls: - author: JaySon-Huang author_link: https://github.com/JaySon-Huang commit_link: https://github.com/pingcap/tiflash/pull/10791/commits/971bcb90aafebe4a95602feafdf269417fb981a7 head_ref: fix_ng_image link: https://github.com/pingcap/tiflash/pull/10791 number: 10791 sha: 971bcb90aafebe4a95602feafdf269417fb981a7 title: 'tests: support overriding HUB_ADDR/PD_IMAGE/TIKV_IMAGE/TIDB_IMAGE via env vars in next-gen fullstack test' repo: tiflash repo_link: https://github.com/pingcap/tiflash skip_submodules: true report: true rerun_command: /test pull-sanitizer-asan type: presubmit status: build_id: "2041728976417722368" completionTime: "2026-04-08T05:34:41Z" description: Job succeeded. pendingTime: "2026-04-08T04:04:56Z" pod_name: 87d3b49c-987e-413b-b37d-e05ddabd91f0 prev_report_states: gcsk8sreporter: success gcsreporter: success github-reporter: success startTime: "2026-04-08T04:04:56Z" state: success url: https://prow.tidb.net/view/gs/prow-tidb-logs/pr-logs/pull/pingcap_tiflash/10791/pull-sanitizer-asan/2041728976417722368