[SYCL][E2E] MemorySanitizer/check_divide.cpp fails in pre-commit
- Dominant language
- LLVM
- Stars
- 1.5k
- Forks
- 854
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 137
Description
### Describe the bug
Log https://github.com/intel/llvm/actions/runs/12595901895/job/35106571736?pr=16460:
```
******************** TEST 'SYCL :: MemorySanitizer/check_divide.cpp' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 3: env ONEAPI_DEVICE_SELECTOR=opencl:cpu not /__w/llvm/llvm/build-e2e/MemorySanitizer/Output/check_divide.cpp.tmp2.out 2>&1 | /__w/llvm/llvm/toolchain/bin/FileCheck /__w/llvm/llvm/llvm/sycl/test-e2e/MemorySanitizer/check_divide.cpp
+ /__w/llvm/llvm/toolchain/bin/FileCheck /__w/llvm/llvm/llvm/sycl/test-e2e/MemorySanitizer/check_divide.cpp
+ env ONEAPI_DEVICE_SELECTOR=opencl:cpu not /__w/llvm/llvm/build-e2e/MemorySanitizer/Output/check_divide.cpp.tmp2.out
RUN: at line 5: env ONEAPI_DEVICE_SELECTOR=opencl:cpu not /__w/llvm/llvm/build-e2e/MemorySanitizer/Output/check_divide.cpp.tmp2.out 2>&1 | /__w/llvm/llvm/toolchain/bin/FileCheck /__w/llvm/llvm/llvm/sycl/test-e2e/MemorySanitizer/check_divide.cpp
+ env ONEAPI_DEVICE_SELECTOR=opencl:cpu not /__w/llvm/llvm/build-e2e/MemorySanitizer/Output/check_divide.cpp.tmp2.out
+ /__w/llvm/llvm/toolchain/bin/FileCheck /__w/llvm/llvm/llvm/sycl/test-e2e/MemorySanitizer/check_divide.cpp
RUN: at line 7: env ONEAPI_DEVICE_SELECTOR=opencl:cpu not /__w/llvm/llvm/build-e2e/MemorySanitizer/Output/check_divide.cpp.tmp3.out 2>&1 | /__w/llvm/llvm/toolchain/bin/FileCheck /__w/llvm/llvm/llvm/sycl/test-e2e/MemorySanitizer/check_divide.cpp
+ /__w/llvm/llvm/toolchain/bin/FileCheck /__w/llvm/llvm/llvm/sycl/test-e2e/MemorySanitizer/check_divide.cpp
+ env ONEAPI_DEVICE_SELECTOR=opencl:cpu not /__w/llvm/llvm/build-e2e/MemorySanitizer/Output/check_divide.cpp.tmp3.out
/__w/llvm/llvm/llvm/sycl/test-e2e/MemorySanitizer/check_divide.cpp:30:12: error: CHECK: expected string not found in input
// CHECK: use-of-uninitialized-value
^
:1:1: note: scanning from here
==== DeviceSanitizer: MSAN
^
:1:6: note: possible intended match here
==== DeviceSanitizer: MSAN
^
Input file:
Check file: /__w/llvm/llvm/llvm/sycl/test-e2e/MemorySanitizer/check_divide.cpp
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: ==== DeviceSanitizer: MSAN
check:30'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
check:30'1 ? possible intended match
2: error: Floating point exception (core dumped)
check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>>>
--
```
### To reproduce
1. Include a code snippet that is as short as possible
2. Specify the command which should be used to compile the program
3. Specify the command which should be used to launch the program
4. Indicate what is wrong and what was expected
### Environment
- OS: [e.g Windows/Linux]
- Target device and vendor: [e.g. Intel GPU]
- DPC++ version: [e.g. commit hash or output of `clang++ --version`]
- Dependencies version: [e.g. the output of `sycl-ls --verbose`]
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.