Issue 91287
Summary DFSAN release_shadow_space.c is flaky
Labels new issue
Assignees
Reporter joker-eph
    For a few days, I see this test being flaky on the bot, here is an example run: https://lab.llvm.org/buildbot/#/builders/272/builds/15892

```
******************** TEST 'DataFlowSanitizer-x86_64 :: release_shadow_space.c' FAILED ********************
Exit Code: 134
Command Output (stderr):
--
RUN: at line 1: /build/buildbot/premerge-monolithic-linux/build/./bin/clang -fsanitize=dataflow  -m64 /build/buildbot/premerge-monolithic-linux/llvm-project/compiler-rt/test/dfsan/release_shadow_space.c -o /build/buildbot/premerge-monolithic-linux/build/runtimes/runtimes-bins/compiler-rt/test/dfsan/X86_64Config/Output/release_shadow_space.c.tmp && /build/buildbot/premerge-monolithic-linux/build/runtimes/runtimes-bins/compiler-rt/test/dfsan/X86_64Config/Output/release_shadow_space.c.tmp
+ /build/buildbot/premerge-monolithic-linux/build/./bin/clang -fsanitize=dataflow -m64 /build/buildbot/premerge-monolithic-linux/llvm-project/compiler-rt/test/dfsan/release_shadow_space.c -o /build/buildbot/premerge-monolithic-linux/build/runtimes/runtimes-bins/compiler-rt/test/dfsan/X86_64Config/Output/release_shadow_space.c.tmp
+ /build/buildbot/premerge-monolithic-linux/build/runtimes/runtimes-bins/compiler-rt/test/dfsan/X86_64Config/Output/release_shadow_space.c.tmp
RSS at start: 7982000249035, after mmap: 7982000351439, after mmap+set label: 7982000453843, after fixed map: 7982000249043, after another mmap+set label: 7982000453843, after munmap: 7982000249043
RUN: at line 2: /build/buildbot/premerge-monolithic-linux/build/./bin/clang -fsanitize=dataflow  -m64 /build/buildbot/premerge-monolithic-linux/llvm-project/compiler-rt/test/dfsan/release_shadow_space.c -o /build/buildbot/premerge-monolithic-linux/build/runtimes/runtimes-bins/compiler-rt/test/dfsan/X86_64Config/Output/release_shadow_space.c.tmp && /build/buildbot/premerge-monolithic-linux/build/runtimes/runtimes-bins/compiler-rt/test/dfsan/X86_64Config/Output/release_shadow_space.c.tmp
+ /build/buildbot/premerge-monolithic-linux/build/./bin/clang -fsanitize=dataflow -m64 /build/buildbot/premerge-monolithic-linux/llvm-project/compiler-rt/test/dfsan/release_shadow_space.c -o /build/buildbot/premerge-monolithic-linux/build/runtimes/runtimes-bins/compiler-rt/test/dfsan/X86_64Config/Output/release_shadow_space.c.tmp
+ /build/buildbot/premerge-monolithic-linux/build/runtimes/runtimes-bins/compiler-rt/test/dfsan/X86_64Config/Output/release_shadow_space.c.tmp
RSS at start: 7982000249335, after mmap: 7982000351803, after mmap+set label: 7982000454207, after fixed map: 7982000249407, after another mmap+set label: 7982000454207, after munmap: 7982000249407
RUN: at line 3: /build/buildbot/premerge-monolithic-linux/build/./bin/clang -fsanitize=dataflow  -m64 /build/buildbot/premerge-monolithic-linux/llvm-project/compiler-rt/test/dfsan/release_shadow_space.c -DORIGIN_TRACKING -mllvm -dfsan-track-origins=1 -o /build/buildbot/premerge-monolithic-linux/build/runtimes/runtimes-bins/compiler-rt/test/dfsan/X86_64Config/Output/release_shadow_space.c.tmp && /build/buildbot/premerge-monolithic-linux/build/runtimes/runtimes-bins/compiler-rt/test/dfsan/X86_64Config/Output/release_shadow_space.c.tmp
+ /build/buildbot/premerge-monolithic-linux/build/./bin/clang -fsanitize=dataflow -m64 /build/buildbot/premerge-monolithic-linux/llvm-project/compiler-rt/test/dfsan/release_shadow_space.c -DORIGIN_TRACKING -mllvm -dfsan-track-origins=1 -o /build/buildbot/premerge-monolithic-linux/build/runtimes/runtimes-bins/compiler-rt/test/dfsan/X86_64Config/Output/release_shadow_space.c.tmp
+ /build/buildbot/premerge-monolithic-linux/build/runtimes/runtimes-bins/compiler-rt/test/dfsan/X86_64Config/Output/release_shadow_space.c.tmp
RSS at start: 10468000370887, after mmap: 10468000473297, after mmap+set label: 10468000678159, after fixed map: 10468000370959, after another mmap+set label: 10468000678159, after munmap: 10468000370966
RUN: at line 4: /build/buildbot/premerge-monolithic-linux/build/./bin/clang -fsanitize=dataflow  -m64 /build/buildbot/premerge-monolithic-linux/llvm-project/compiler-rt/test/dfsan/release_shadow_space.c -DORIGIN_TRACKING -mllvm -dfsan-track-origins=1 -o /build/buildbot/premerge-monolithic-linux/build/runtimes/runtimes-bins/compiler-rt/test/dfsan/X86_64Config/Output/release_shadow_space.c.tmp && /build/buildbot/premerge-monolithic-linux/build/runtimes/runtimes-bins/compiler-rt/test/dfsan/X86_64Config/Output/release_shadow_space.c.tmp
+ /build/buildbot/premerge-monolithic-linux/build/./bin/clang -fsanitize=dataflow -m64 /build/buildbot/premerge-monolithic-linux/llvm-project/compiler-rt/test/dfsan/release_shadow_space.c -DORIGIN_TRACKING -mllvm -dfsan-track-origins=1 -o /build/buildbot/premerge-monolithic-linux/build/runtimes/runtimes-bins/compiler-rt/test/dfsan/X86_64Config/Output/release_shadow_space.c.tmp
+ /build/buildbot/premerge-monolithic-linux/build/runtimes/runtimes-bins/compiler-rt/test/dfsan/X86_64Config/Output/release_shadow_space.c.tmp
RSS at start: 10468002893479, after mmap: 10468004446521, after mmap+set label: 11255317174414, after fixed map: 11255316867214, after another mmap+set label: 11255317174414, after munmap: 11255316945944
release_shadow_space.c.tmp: /build/buildbot/premerge-monolithic-linux/llvm-project/compiler-rt/test/dfsan/release_shadow_space.c:100: int main(int, char **): Assertion `after_fixed_mmap <= before + delta + mmap_origin_chain_kb' failed.
/build/buildbot/premerge-monolithic-linux/build/runtimes/runtimes-bins/compiler-rt/test/dfsan/X86_64Config/Output/release_shadow_space.c.script: line 4: 3921607 Aborted /build/buildbot/premerge-monolithic-linux/build/runtimes/runtimes-bins/compiler-rt/test/dfsan/X86_64Config/Output/release_shadow_space.c.tmp
--
********************
```


_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to