mirror of
https://github.com/apache/impala.git
synced 2025-12-19 09:58:28 -05:00
TSAN build in RHEL9 hit a data race issue in HdfsScanNode::ThreadTokenAvailableCb from timed_mutex + try_lock_for usage. It seems to be a known false-positive in ThreadSanitizer: https://github.com/google/sanitizers/issues/1620 https://github.com/llvm/llvm-project/issues/142370 This patch suppress the TSAN error in ThreadTokenAvailableCb. Testing: Pass dataloading and BE tests in TSAN in RHEL9. Change-Id: I87950cdc3fedc8d80adeb788c6d29791db58242a Reviewed-on: http://gerrit.cloudera.org:8080/23281 Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
55 lines
2.5 KiB
Plaintext
55 lines
2.5 KiB
Plaintext
# Licensed to the Apache Software Foundation (ASF) under one
|
|
# or more contributor license agreements. See the NOTICE file
|
|
# distributed with this work for additional information
|
|
# regarding copyright ownership. The ASF licenses this file
|
|
# to you under the Apache License, Version 2.0 (the
|
|
# "License"); you may not use this file except in compliance
|
|
# with the License. You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing,
|
|
# software distributed under the License is distributed on an
|
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
# KIND, either express or implied. See the License for the
|
|
# specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
# This file suppresses TSAN errors, following
|
|
# https://github.com/google/sanitizers/wiki/ThreadSanitizerSuppressions
|
|
|
|
# This method in Boost's UUID library operates on static state with impunity,
|
|
# triggering (harmless) data races in TSAN when boost::uuids::random_generator
|
|
# instances are created across threads (this suppression and the corresponding
|
|
# explanation were copied from Kudu's sanitizer_options.cc).
|
|
race:boost::uuids::detail::seed_rng::sha1_random_digest_
|
|
|
|
# TODO: IMPALA-9314: The ThriftServer used by the Statestore has various race conditions
|
|
# during the shutdown process (and leaks threads)
|
|
race:impala::StatestoreTest_SmokeTest_Test
|
|
thread:impala::StatestoreTest_SmokeTest_Test
|
|
race:impala::SessionTest_TestExpiry_Test
|
|
race:impala::StatestoreSslTest_ValidCertSmokeTest_Test
|
|
|
|
# TODO: IMPALA-9314: The ThriftServer used by the tests in hs2-http-test.cc has various
|
|
# race conditions during the shutdown process
|
|
race:impala::ThriftHttpTest_TestChunkedRequests_Test
|
|
race:impala::Hs2HttpTest_TestSpnego_Test
|
|
|
|
# TODO: IMPALA-9455 / IMPALA-6085: 'RpcMgrKerberizedTest' calls 'InitAuth'
|
|
# (auth-provider.h) multiple times per process. This causes a race condition on
|
|
# 'g_kinit_ctx' (init.cc). On a production cluster, Impala daemons should only call
|
|
# 'InitAuth' once.
|
|
race:impala::RpcMgrKerberizedTest
|
|
|
|
# TODO: IMPALA-9403: Allow TSAN to be set on codegen
|
|
race:impala::HdfsColumnarScanner::ProcessScratchBatchCodegenOrInterpret
|
|
|
|
# TODO: IMPALA-12757: TSAN flags lock-order-inversion during internal-server-test
|
|
deadlock:impala::KrpcDataStreamSender::Channel::WaitForRpcLocked
|
|
|
|
# TODO: IMPALA-14289: TSAN false-positive over timed_mutex
|
|
# https://github.com/google/sanitizers/issues/1620
|
|
# https://github.com/llvm/llvm-project/issues/142370
|
|
race:impala::HdfsScanNode::ThreadTokenAvailableCb
|