Skip to content

[nfc][msan] Regenerate tests missing FileCheck #115794

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

vitalybuka
Copy link
Collaborator

Extracted and updated from #115018

Co-authored-by: Kamil Kashapov [email protected]

Created using spr 1.3.4
@vitalybuka vitalybuka added the skip-precommit-approval PR for CI feedback, not intended for review label Nov 12, 2024
@vitalybuka vitalybuka merged commit 49e004f into main Nov 12, 2024
7 of 9 checks passed
@vitalybuka vitalybuka deleted the users/vitalybuka/spr/nfcmsan-regenerate-tests-missing-filecheck branch November 12, 2024 00:40
@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 12, 2024

LLVM Buildbot has detected a new failure on builder libc-riscv32-qemu-yocto-fullbuild-dbg running on rv32gc-qemu-system while building llvm at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/196/builds/880

Here is the relevant piece of the build log for the reference
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py ...' (failure)
...
[ RUN      ] LlvmLibcChmodTest.NonExistentFile
[       OK ] LlvmLibcChmodTest.NonExistentFile (299 us)
Ran 2 tests.  PASS: 2  FAIL: 0
[803/926] Running unit test libc.test.src.sys.socket.linux.socket_test
sh: line 1: /timer.21010: Permission denied
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcSocketTest.LocalSocket
[       OK ] LlvmLibcSocketTest.LocalSocket (799 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[804/926] Running unit test libc.test.src.sys.statvfs.linux.statvfs_test
FAILED: projects/libc/test/src/sys/statvfs/linux/CMakeFiles/libc.test.src.sys.statvfs.linux.statvfs_test /home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/build/projects/libc/test/src/sys/statvfs/linux/CMakeFiles/libc.test.src.sys.statvfs.linux.statvfs_test 
cd /home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/build/projects/libc/test/src/sys/statvfs/linux && /home/libcrv32buildbot/cross.sh /home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/build/projects/libc/test/src/sys/statvfs/linux/libc.test.src.sys.statvfs.linux.statvfs_test.__build__
sh: line 1: /timer.21012: Permission denied
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcSysStatvfsTest.StatvfsBasic
[       OK ] LlvmLibcSysStatvfsTest.StatvfsBasic (1 ms)
[ RUN      ] LlvmLibcSysStatvfsTest.StatvfsInvalidPath
/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/src/sys/statvfs/linux/statvfs_test.cpp:37: FAILURE
Failed to match LIBC_NAMESPACE::mkdirat(AT_FDCWD, TEST_DIR, S_IRWXU) against Succeeds(0).
Expected return value to be equal to 0 but got -1.
Expected errno to be equal to "Success" but got "File exists".
[  FAILED  ] LlvmLibcSysStatvfsTest.StatvfsInvalidPath
Ran 2 tests.  PASS: 1  FAIL: 1
[805/926] Running unit test libc.test.src.sys.stat.fstat_test
sh: line 1: /timer.21027: Permission denied
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcFStatTest.CreatAndReadMode
[       OK ] LlvmLibcFStatTest.CreatAndReadMode (2 ms)
[ RUN      ] LlvmLibcFStatTest.NonExistentFile
[       OK ] LlvmLibcFStatTest.NonExistentFile (506 us)
Ran 2 tests.  PASS: 2  FAIL: 0
[806/926] Running unit test libc.test.src.sys.statvfs.linux.fstatvfs_test
sh: line 1: /timer.21011: Permission denied
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcSysFStatvfsTest.FStatvfsBasic
[       OK ] LlvmLibcSysFStatvfsTest.FStatvfsBasic (1 ms)
[ RUN      ] LlvmLibcSysFStatvfsTest.FStatvfsInvalidPath
[       OK ] LlvmLibcSysFStatvfsTest.FStatvfsInvalidPath (11 ms)
Ran 2 tests.  PASS: 2  FAIL: 0
[807/926] Running unit test libc.test.src.sys.prctl.linux.prctl_test
sh: line 1: /timer.21028: Permission denied
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcSysPrctlTest.GetSetName
[       OK ] LlvmLibcSysPrctlTest.GetSetName (1 ms)
[ RUN      ] LlvmLibcSysPrctlTest.GetTHPDisable
[       OK ] LlvmLibcSysPrctlTest.GetTHPDisable (398 us)
Ran 2 tests.  PASS: 2  FAIL: 0
[808/926] Running unit test libc.test.src.sys.stat.mkdirat_test
sh: line 1: /timer.21032: Permission denied
Step 8 (libc-unit-tests) failure: libc-unit-tests (failure)
...
[ RUN      ] LlvmLibcChmodTest.NonExistentFile
[       OK ] LlvmLibcChmodTest.NonExistentFile (299 us)
Ran 2 tests.  PASS: 2  FAIL: 0
[803/926] Running unit test libc.test.src.sys.socket.linux.socket_test
sh: line 1: /timer.21010: Permission denied
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcSocketTest.LocalSocket
[       OK ] LlvmLibcSocketTest.LocalSocket (799 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[804/926] Running unit test libc.test.src.sys.statvfs.linux.statvfs_test
FAILED: projects/libc/test/src/sys/statvfs/linux/CMakeFiles/libc.test.src.sys.statvfs.linux.statvfs_test /home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/build/projects/libc/test/src/sys/statvfs/linux/CMakeFiles/libc.test.src.sys.statvfs.linux.statvfs_test 
cd /home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/build/projects/libc/test/src/sys/statvfs/linux && /home/libcrv32buildbot/cross.sh /home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/build/projects/libc/test/src/sys/statvfs/linux/libc.test.src.sys.statvfs.linux.statvfs_test.__build__
sh: line 1: /timer.21012: Permission denied
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcSysStatvfsTest.StatvfsBasic
[       OK ] LlvmLibcSysStatvfsTest.StatvfsBasic (1 ms)
[ RUN      ] LlvmLibcSysStatvfsTest.StatvfsInvalidPath
/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/src/sys/statvfs/linux/statvfs_test.cpp:37: FAILURE
Failed to match LIBC_NAMESPACE::mkdirat(AT_FDCWD, TEST_DIR, S_IRWXU) against Succeeds(0).
Expected return value to be equal to 0 but got -1.
Expected errno to be equal to "Success" but got "File exists".
[  FAILED  ] LlvmLibcSysStatvfsTest.StatvfsInvalidPath
Ran 2 tests.  PASS: 1  FAIL: 1
[805/926] Running unit test libc.test.src.sys.stat.fstat_test
sh: line 1: /timer.21027: Permission denied
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcFStatTest.CreatAndReadMode
[       OK ] LlvmLibcFStatTest.CreatAndReadMode (2 ms)
[ RUN      ] LlvmLibcFStatTest.NonExistentFile
[       OK ] LlvmLibcFStatTest.NonExistentFile (506 us)
Ran 2 tests.  PASS: 2  FAIL: 0
[806/926] Running unit test libc.test.src.sys.statvfs.linux.fstatvfs_test
sh: line 1: /timer.21011: Permission denied
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcSysFStatvfsTest.FStatvfsBasic
[       OK ] LlvmLibcSysFStatvfsTest.FStatvfsBasic (1 ms)
[ RUN      ] LlvmLibcSysFStatvfsTest.FStatvfsInvalidPath
[       OK ] LlvmLibcSysFStatvfsTest.FStatvfsInvalidPath (11 ms)
Ran 2 tests.  PASS: 2  FAIL: 0
[807/926] Running unit test libc.test.src.sys.prctl.linux.prctl_test
sh: line 1: /timer.21028: Permission denied
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcSysPrctlTest.GetSetName
[       OK ] LlvmLibcSysPrctlTest.GetSetName (1 ms)
[ RUN      ] LlvmLibcSysPrctlTest.GetTHPDisable
[       OK ] LlvmLibcSysPrctlTest.GetTHPDisable (398 us)
Ran 2 tests.  PASS: 2  FAIL: 0
[808/926] Running unit test libc.test.src.sys.stat.mkdirat_test
sh: line 1: /timer.21032: Permission denied

Groverkss pushed a commit to iree-org/llvm-project that referenced this pull request Nov 15, 2024
Extracted and updated from llvm#115018

Co-authored-by: Kamil Kashapov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-precommit-approval PR for CI feedback, not intended for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants