[clang] [llvm] Reapply "[HWASan] remove incorrectly inferred attributes" (#106622) (PR #106624)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 29 21:25:20 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `sanitizer-aarch64-linux` running on `sanitizer-buildbot8` while building `clang,llvm` at step 2 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/51/builds/3131
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
[173/176] Generating Msan-aarch64-with-call-Test
[174/176] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.aarch64.o
[175/176] Generating Msan-aarch64-Test
[175/176] Running compiler_rt regression tests
llvm-lit: /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/utils/lit/lit/discovery.py:276: warning: input '/home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/interception/Unit' contained no tests
llvm-lit: /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/utils/lit/lit/discovery.py:276: warning: input '/home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/Unit' contained no tests
llvm-lit: /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 5636 tests, 48 workers --
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
TIMEOUT: HWAddressSanitizer-aarch64 :: TestCases/use-after-scope-types.cpp (5636 of 5636)
******************** TEST 'HWAddressSanitizer-aarch64 :: TestCases/use-after-scope-types.cpp' FAILED ********************
Exit Code: -9
Timeout: Reached timeout of 900 seconds
Command Output (stderr):
--
RUN: at line 3: /home/b/sanitizer-aarch64-linux/build/build_default/./bin/clang --driver-mode=g++ -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -gline-tables-only -fsanitize=hwaddress -fuse-ld=lld -mllvm -hwasan-globals -mllvm -hwasan-use-short-granules -mllvm -hwasan-instrument-landing-pads=0 -mllvm -hwasan-instrument-personality-functions -std=c++11 -O0 /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/hwasan/TestCases/use-after-scope-types.cpp -o /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/hwasan/AARCH64/TestCases/Output/use-after-scope-types.cpp.tmp
+ /home/b/sanitizer-aarch64-linux/build/build_default/./bin/clang --driver-mode=g++ -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -gline-tables-only -fsanitize=hwaddress -fuse-ld=lld -mllvm -hwasan-globals -mllvm -hwasan-use-short-granules -mllvm -hwasan-instrument-landing-pads=0 -mllvm -hwasan-instrument-personality-functions -std=c++11 -O0 /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/hwasan/TestCases/use-after-scope-types.cpp -o /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/hwasan/AARCH64/TestCases/Output/use-after-scope-types.cpp.tmp
--
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
2 warning(s) in tests
Slowest Tests:
--------------------------------------------------------------------------
900.07s: HWAddressSanitizer-aarch64 :: TestCases/use-after-scope-types.cpp
66.13s: ThreadSanitizer-aarch64 :: restore_stack.cpp
53.48s: ThreadSanitizer-aarch64 :: bench_threads.cpp
36.81s: ThreadSanitizer-aarch64 :: compare_exchange_acquire_fence.cpp
29.88s: libFuzzer-aarch64-default-Linux :: value-profile-set.test
29.02s: Profile-aarch64 :: Posix/instrprof-value-prof-shared.test
24.88s: libFuzzer-aarch64-default-Linux :: large.test
24.38s: libFuzzer-aarch64-libcxx-Linux :: value-profile-set.test
22.95s: HWAddressSanitizer-aarch64 :: TestCases/Linux/create-thread-stress.cpp
22.87s: libFuzzer-aarch64-default-Linux :: value-profile-switch.test
22.13s: ThreadSanitizer-aarch64 :: signal_thread.cpp
22.01s: libFuzzer-aarch64-static-libcxx-Linux :: value-profile-set.test
20.82s: libFuzzer-aarch64-libcxx-Linux :: large.test
19.07s: SanitizerCommon-asan-aarch64-Linux :: Linux/signal_segv_handler.cpp
17.69s: ThreadSanitizer-aarch64 :: deadlock_detector_stress_test.cpp
17.63s: libFuzzer-aarch64-libcxx-Linux :: value-profile-switch.test
16.46s: DataFlowSanitizer-aarch64 :: custom.cpp
16.05s: libFuzzer-aarch64-static-libcxx-Linux :: large.test
15.95s: libFuzzer-aarch64-libcxx-Linux :: minimize_crash.test
15.78s: libFuzzer-aarch64-default-Linux :: minimize_crash.test
Tests Times:
Step 9 (test compiler-rt symbolizer) failure: test compiler-rt symbolizer (failure)
...
[173/176] Generating Msan-aarch64-with-call-Test
[174/176] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.aarch64.o
[175/176] Generating Msan-aarch64-Test
[175/176] Running compiler_rt regression tests
llvm-lit: /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/utils/lit/lit/discovery.py:276: warning: input '/home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/interception/Unit' contained no tests
llvm-lit: /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/utils/lit/lit/discovery.py:276: warning: input '/home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/Unit' contained no tests
llvm-lit: /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 5636 tests, 48 workers --
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
TIMEOUT: HWAddressSanitizer-aarch64 :: TestCases/use-after-scope-types.cpp (5636 of 5636)
******************** TEST 'HWAddressSanitizer-aarch64 :: TestCases/use-after-scope-types.cpp' FAILED ********************
Exit Code: -9
Timeout: Reached timeout of 900 seconds
Command Output (stderr):
--
RUN: at line 3: /home/b/sanitizer-aarch64-linux/build/build_default/./bin/clang --driver-mode=g++ -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -gline-tables-only -fsanitize=hwaddress -fuse-ld=lld -mllvm -hwasan-globals -mllvm -hwasan-use-short-granules -mllvm -hwasan-instrument-landing-pads=0 -mllvm -hwasan-instrument-personality-functions -std=c++11 -O0 /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/hwasan/TestCases/use-after-scope-types.cpp -o /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/hwasan/AARCH64/TestCases/Output/use-after-scope-types.cpp.tmp
+ /home/b/sanitizer-aarch64-linux/build/build_default/./bin/clang --driver-mode=g++ -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -gline-tables-only -fsanitize=hwaddress -fuse-ld=lld -mllvm -hwasan-globals -mllvm -hwasan-use-short-granules -mllvm -hwasan-instrument-landing-pads=0 -mllvm -hwasan-instrument-personality-functions -std=c++11 -O0 /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/hwasan/TestCases/use-after-scope-types.cpp -o /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/hwasan/AARCH64/TestCases/Output/use-after-scope-types.cpp.tmp
--
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
2 warning(s) in tests
Slowest Tests:
--------------------------------------------------------------------------
900.07s: HWAddressSanitizer-aarch64 :: TestCases/use-after-scope-types.cpp
66.13s: ThreadSanitizer-aarch64 :: restore_stack.cpp
53.48s: ThreadSanitizer-aarch64 :: bench_threads.cpp
36.81s: ThreadSanitizer-aarch64 :: compare_exchange_acquire_fence.cpp
29.88s: libFuzzer-aarch64-default-Linux :: value-profile-set.test
29.02s: Profile-aarch64 :: Posix/instrprof-value-prof-shared.test
24.88s: libFuzzer-aarch64-default-Linux :: large.test
24.38s: libFuzzer-aarch64-libcxx-Linux :: value-profile-set.test
22.95s: HWAddressSanitizer-aarch64 :: TestCases/Linux/create-thread-stress.cpp
22.87s: libFuzzer-aarch64-default-Linux :: value-profile-switch.test
22.13s: ThreadSanitizer-aarch64 :: signal_thread.cpp
22.01s: libFuzzer-aarch64-static-libcxx-Linux :: value-profile-set.test
20.82s: libFuzzer-aarch64-libcxx-Linux :: large.test
19.07s: SanitizerCommon-asan-aarch64-Linux :: Linux/signal_segv_handler.cpp
17.69s: ThreadSanitizer-aarch64 :: deadlock_detector_stress_test.cpp
17.63s: libFuzzer-aarch64-libcxx-Linux :: value-profile-switch.test
16.46s: DataFlowSanitizer-aarch64 :: custom.cpp
16.05s: libFuzzer-aarch64-static-libcxx-Linux :: large.test
15.95s: libFuzzer-aarch64-libcxx-Linux :: minimize_crash.test
15.78s: libFuzzer-aarch64-default-Linux :: minimize_crash.test
Tests Times:
Step 14 (test compiler-rt default) failure: test compiler-rt default (failure)
...
[173/176] Generating Msan-aarch64-with-call-Test
[174/176] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.aarch64.o
[175/176] Generating Msan-aarch64-Test
[175/176] Running compiler_rt regression tests
llvm-lit: /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/utils/lit/lit/discovery.py:276: warning: input '/home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/interception/Unit' contained no tests
llvm-lit: /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/utils/lit/lit/discovery.py:276: warning: input '/home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/Unit' contained no tests
llvm-lit: /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 5636 tests, 48 workers --
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
TIMEOUT: HWAddressSanitizer-aarch64 :: TestCases/use-after-scope-types.cpp (5636 of 5636)
******************** TEST 'HWAddressSanitizer-aarch64 :: TestCases/use-after-scope-types.cpp' FAILED ********************
Exit Code: -9
Timeout: Reached timeout of 900 seconds
Command Output (stderr):
--
RUN: at line 3: /home/b/sanitizer-aarch64-linux/build/build_default/./bin/clang --driver-mode=g++ -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -gline-tables-only -fsanitize=hwaddress -fuse-ld=lld -mllvm -hwasan-globals -mllvm -hwasan-use-short-granules -mllvm -hwasan-instrument-landing-pads=0 -mllvm -hwasan-instrument-personality-functions -std=c++11 -O0 /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/hwasan/TestCases/use-after-scope-types.cpp -o /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/hwasan/AARCH64/TestCases/Output/use-after-scope-types.cpp.tmp
+ /home/b/sanitizer-aarch64-linux/build/build_default/./bin/clang --driver-mode=g++ -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -gline-tables-only -fsanitize=hwaddress -fuse-ld=lld -mllvm -hwasan-globals -mllvm -hwasan-use-short-granules -mllvm -hwasan-instrument-landing-pads=0 -mllvm -hwasan-instrument-personality-functions -std=c++11 -O0 /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/hwasan/TestCases/use-after-scope-types.cpp -o /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/hwasan/AARCH64/TestCases/Output/use-after-scope-types.cpp.tmp
--
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
2 warning(s) in tests
Slowest Tests:
--------------------------------------------------------------------------
900.05s: HWAddressSanitizer-aarch64 :: TestCases/use-after-scope-types.cpp
57.30s: ThreadSanitizer-aarch64 :: restore_stack.cpp
52.09s: libFuzzer-aarch64-default-Linux :: value-profile-set.test
48.52s: ThreadSanitizer-aarch64 :: bench_threads.cpp
47.99s: libFuzzer-aarch64-libcxx-Linux :: value-profile-set.test
44.00s: libFuzzer-aarch64-static-libcxx-Linux :: value-profile-set.test
30.77s: libFuzzer-aarch64-default-Linux :: value-profile-switch.test
27.03s: libFuzzer-aarch64-libcxx-Linux :: value-profile-switch.test
22.74s: libFuzzer-aarch64-default-Linux :: large.test
22.25s: libFuzzer-aarch64-libcxx-Linux :: large.test
22.08s: libFuzzer-aarch64-static-libcxx-Linux :: value-profile-switch.test
21.93s: Profile-aarch64 :: Posix/instrprof-value-prof-shared.test
21.29s: libFuzzer-aarch64-default-Linux :: minimize_crash.test
20.76s: ThreadSanitizer-aarch64 :: signal_thread.cpp
20.20s: libFuzzer-aarch64-libcxx-Linux :: minimize_crash.test
19.47s: HWAddressSanitizer-aarch64 :: TestCases/Linux/create-thread-stress.cpp
18.49s: libFuzzer-aarch64-static-libcxx-Linux :: minimize_crash.test
17.98s: libFuzzer-aarch64-static-libcxx-Linux :: minimize_timeout.test
17.92s: ThreadSanitizer-aarch64 :: deadlock_detector_stress_test.cpp
17.54s: libFuzzer-aarch64-static-libcxx-Linux :: large.test
Tests Times:
```
</details>
https://github.com/llvm/llvm-project/pull/106624
More information about the cfe-commits
mailing list