[llvm] Add unit tests for size returning new funcs in the MemProf use pass. (PR #105473)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 26 10:01:47 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `libc-riscv64-debian-dbg` running on `libc-riscv64-debian` while building `llvm` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/188/builds/3384
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py ...' (failure)
...
[ RUN ] LlvmLibcVASPrintfTest.PercentConv
[ OK ] LlvmLibcVASPrintfTest.PercentConv (18 us)
[ RUN ] LlvmLibcVASPrintfTest.CharConv
[ OK ] LlvmLibcVASPrintfTest.CharConv (20 us)
[ RUN ] LlvmLibcVASPrintfTest.LargeStringNoConv
[ OK ] LlvmLibcVASPrintfTest.LargeStringNoConv (116 us)
[ RUN ] LlvmLibcVASPrintfTest.ManyReAlloc
[ OK ] LlvmLibcVASPrintfTest.ManyReAlloc (42 us)
Ran 5 tests. PASS: 5 FAIL: 0
[953/1124] Running unit test libc.test.src.stdio.fscanf_test.__unit__
FAILED: projects/libc/test/src/stdio/CMakeFiles/libc.test.src.stdio.fscanf_test.__unit__ /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/build/projects/libc/test/src/stdio/CMakeFiles/libc.test.src.stdio.fscanf_test.__unit__
cd /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/build/projects/libc/test/src/stdio && /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/build/projects/libc/test/src/stdio/libc.test.src.stdio.fscanf_test.__unit__.__build__
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcFScanfTest.WriteToFile
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/test/src/stdio/fscanf_test.cpp:73: FAILURE
Expected: read
Which is: 0
To be equal to: 1
Which is: 1
[ FAILED ] LlvmLibcFScanfTest.WriteToFile
Ran 1 tests. PASS: 0 FAIL: 1
[954/1124] Running unit test libc.test.src.stdio.vfscanf_test.__unit__
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcFScanfTest.WriteToFile
[ OK ] LlvmLibcFScanfTest.WriteToFile (236 us)
Ran 1 tests. PASS: 1 FAIL: 0
[955/1124] Running unit test libc.test.src.stdio.sprintf_test.__unit__
[==========] Running 19 tests from 1 test suite.
[ RUN ] LlvmLibcSPrintfTest.Macros
[ OK ] LlvmLibcSPrintfTest.Macros (76 us)
[ RUN ] LlvmLibcSPrintfTest.SimpleNoConv
[ OK ] LlvmLibcSPrintfTest.SimpleNoConv (8 us)
[ RUN ] LlvmLibcSPrintfTest.PercentConv
[ OK ] LlvmLibcSPrintfTest.PercentConv (13 us)
[ RUN ] LlvmLibcSPrintfTest.CharConv
[ OK ] LlvmLibcSPrintfTest.CharConv (17 us)
[ RUN ] LlvmLibcSPrintfTest.StringConv
[ OK ] LlvmLibcSPrintfTest.StringConv (34 us)
[ RUN ] LlvmLibcSPrintfTest.IntConv
[ OK ] LlvmLibcSPrintfTest.IntConv (384 us)
[ RUN ] LlvmLibcSPrintfTest.HexConv
[ OK ] LlvmLibcSPrintfTest.HexConv (169 us)
[ RUN ] LlvmLibcSPrintfTest.BinConv
[ OK ] LlvmLibcSPrintfTest.BinConv (145 us)
[ RUN ] LlvmLibcSPrintfTest.PointerConv
[ OK ] LlvmLibcSPrintfTest.PointerConv (75 us)
[ RUN ] LlvmLibcSPrintfTest.OctConv
[ OK ] LlvmLibcSPrintfTest.OctConv (169 us)
[ RUN ] LlvmLibcSPrintfTest.FloatHexExpConv
Step 7 (libc-unit-tests) failure: libc-unit-tests (failure)
...
[ RUN ] LlvmLibcVASPrintfTest.PercentConv
[ OK ] LlvmLibcVASPrintfTest.PercentConv (18 us)
[ RUN ] LlvmLibcVASPrintfTest.CharConv
[ OK ] LlvmLibcVASPrintfTest.CharConv (20 us)
[ RUN ] LlvmLibcVASPrintfTest.LargeStringNoConv
[ OK ] LlvmLibcVASPrintfTest.LargeStringNoConv (116 us)
[ RUN ] LlvmLibcVASPrintfTest.ManyReAlloc
[ OK ] LlvmLibcVASPrintfTest.ManyReAlloc (42 us)
Ran 5 tests. PASS: 5 FAIL: 0
[953/1124] Running unit test libc.test.src.stdio.fscanf_test.__unit__
FAILED: projects/libc/test/src/stdio/CMakeFiles/libc.test.src.stdio.fscanf_test.__unit__ /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/build/projects/libc/test/src/stdio/CMakeFiles/libc.test.src.stdio.fscanf_test.__unit__
cd /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/build/projects/libc/test/src/stdio && /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/build/projects/libc/test/src/stdio/libc.test.src.stdio.fscanf_test.__unit__.__build__
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcFScanfTest.WriteToFile
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/test/src/stdio/fscanf_test.cpp:73: FAILURE
Expected: read
Which is: 0
To be equal to: 1
Which is: 1
[ FAILED ] LlvmLibcFScanfTest.WriteToFile
Ran 1 tests. PASS: 0 FAIL: 1
[954/1124] Running unit test libc.test.src.stdio.vfscanf_test.__unit__
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcFScanfTest.WriteToFile
[ OK ] LlvmLibcFScanfTest.WriteToFile (236 us)
Ran 1 tests. PASS: 1 FAIL: 0
[955/1124] Running unit test libc.test.src.stdio.sprintf_test.__unit__
[==========] Running 19 tests from 1 test suite.
[ RUN ] LlvmLibcSPrintfTest.Macros
[ OK ] LlvmLibcSPrintfTest.Macros (76 us)
[ RUN ] LlvmLibcSPrintfTest.SimpleNoConv
[ OK ] LlvmLibcSPrintfTest.SimpleNoConv (8 us)
[ RUN ] LlvmLibcSPrintfTest.PercentConv
[ OK ] LlvmLibcSPrintfTest.PercentConv (13 us)
[ RUN ] LlvmLibcSPrintfTest.CharConv
[ OK ] LlvmLibcSPrintfTest.CharConv (17 us)
[ RUN ] LlvmLibcSPrintfTest.StringConv
[ OK ] LlvmLibcSPrintfTest.StringConv (34 us)
[ RUN ] LlvmLibcSPrintfTest.IntConv
[ OK ] LlvmLibcSPrintfTest.IntConv (384 us)
[ RUN ] LlvmLibcSPrintfTest.HexConv
[ OK ] LlvmLibcSPrintfTest.HexConv (169 us)
[ RUN ] LlvmLibcSPrintfTest.BinConv
[ OK ] LlvmLibcSPrintfTest.BinConv (145 us)
[ RUN ] LlvmLibcSPrintfTest.PointerConv
[ OK ] LlvmLibcSPrintfTest.PointerConv (75 us)
[ RUN ] LlvmLibcSPrintfTest.OctConv
[ OK ] LlvmLibcSPrintfTest.OctConv (169 us)
[ RUN ] LlvmLibcSPrintfTest.FloatHexExpConv
```
</details>
https://github.com/llvm/llvm-project/pull/105473
More information about the llvm-commits
mailing list