Skip to content

[SYCL][E2E] MemorySanitizer/check_divide.cpp fails in pre-commit #16514

@KornevNikita

Description

@KornevNikita

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
           ^
<stdin>:1:1: note: scanning from here
==== DeviceSanitizer: MSAN
^
<stdin>:1:6: note: possible intended match here
==== DeviceSanitizer: MSAN
     ^

Input file: <stdin>
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions