Skip to content

AddressSanitizer tests failing on OCL CPU in nightly #14825

@sarnex

Description

@sarnex

Describe the bug

Failing on all 3 CPUs

https://github.com/intel/llvm/actions/runs/10137365848/job/28027872284

FAIL: SYCL :: AddressSanitizer/multiple-reports/one_kernel.cpp (12 of 2122)
******************** TEST 'SYCL :: AddressSanitizer/multiple-reports/one_kernel.cpp' FAILED ********************
Exit Code: -6

Command Output (stdout):
--
# RUN: at line 2
/__w/llvm/llvm/toolchain/bin//clang++   -fsycl -fsycl-targets=spir64  /__w/llvm/llvm/llvm/sycl/test-e2e/AddressSanitizer/multiple-reports/one_kernel.cpp -Xarch_device -fsanitize=address -Xarch_device -fsanitize-recover=address -O2 -g -o /__w/llvm/llvm/build-e2e/AddressSanitizer/multiple-reports/Output/one_kernel.cpp.tmp
# executed command: /__w/llvm/llvm/toolchain/bin//clang++ -fsycl -fsycl-targets=spir64 /__w/llvm/llvm/llvm/sycl/test-e2e/AddressSanitizer/multiple-reports/one_kernel.cpp -Xarch_device -fsanitize=address -Xarch_device -fsanitize-recover=address -O2 -g -o /__w/llvm/llvm/build-e2e/AddressSanitizer/multiple-reports/Output/one_kernel.cpp.tmp
# note: command had no output on stdout or stderr
# RUN: at line 3
env SYCL_PREFER_UR=1 env ONEAPI_DEVICE_SELECTOR=opencl:cpu  /__w/llvm/llvm/build-e2e/AddressSanitizer/multiple-reports/Output/one_kernel.cpp.tmp 2>&1 | /__w/llvm/llvm/toolchain/bin/FileCheck /__w/llvm/llvm/llvm/sycl/test-e2e/AddressSanitizer/multiple-reports/one_kernel.cpp
# executed command: env SYCL_PREFER_UR=1 env ONEAPI_DEVICE_SELECTOR=opencl:cpu /__w/llvm/llvm/build-e2e/AddressSanitizer/multiple-reports/Output/one_kernel.cpp.tmp
# note: command had no output on stdout or stderr
# error: command failed with exit status: -6
# executed command: /__w/llvm/llvm/toolchain/bin/FileCheck /__w/llvm/llvm/llvm/sycl/test-e2e/AddressSanitizer/multiple-reports/one_kernel.cpp
# note: command had no output on stdout or stderr

--

********************
FAIL: SYCL :: AddressSanitizer/common/kernel-debug.cpp (16 of 2122)
******************** TEST 'SYCL :: AddressSanitizer/common/kernel-debug.cpp' FAILED ********************
Exit Code: -6

Command Output (stdout):
--
# RUN: at line 2
/__w/llvm/llvm/toolchain/bin//clang++   -fsycl -fsycl-targets=spir64  /__w/llvm/llvm/llvm/sycl/test-e2e/AddressSanitizer/common/kernel-debug.cpp -Xarch_device -fsanitize=address -O2 -g -o /__w/llvm/llvm/build-e2e/AddressSanitizer/common/Output/kernel-debug.cpp.tmp
# executed command: /__w/llvm/llvm/toolchain/bin//clang++ -fsycl -fsycl-targets=spir64 /__w/llvm/llvm/llvm/sycl/test-e2e/AddressSanitizer/common/kernel-debug.cpp -Xarch_device -fsanitize=address -O2 -g -o /__w/llvm/llvm/build-e2e/AddressSanitizer/common/Output/kernel-debug.cpp.tmp
# note: command had no output on stdout or stderr
# RUN: at line 3
env UR_LAYER_ASAN_OPTIONS=debug:1 env ONEAPI_DEVICE_SELECTOR=opencl:cpu  /__w/llvm/llvm/build-e2e/AddressSanitizer/common/Output/kernel-debug.cpp.tmp 2>&1 | /__w/llvm/llvm/toolchain/bin/FileCheck --check-prefixes CHECK-DEBUG /__w/llvm/llvm/llvm/sycl/test-e2e/AddressSanitizer/common/kernel-debug.cpp
# executed command: env UR_LAYER_ASAN_OPTIONS=debug:1 env ONEAPI_DEVICE_SELECTOR=opencl:cpu /__w/llvm/llvm/build-e2e/AddressSanitizer/common/Output/kernel-debug.cpp.tmp
# note: command had no output on stdout or stderr
# error: command failed with exit status: -6
# executed command: /__w/llvm/llvm/toolchain/bin/FileCheck --check-prefixes CHECK-DEBUG /__w/llvm/llvm/llvm/sycl/test-e2e/AddressSanitizer/common/kernel-debug.cpp
# note: command had no output on stdout or stderr

--

********************
FAIL: SYCL :: AddressSanitizer/multiple-reports/multiple_kernels.cpp (18 of 2122)
******************** TEST 'SYCL :: AddressSanitizer/multiple-reports/multiple_kernels.cpp' FAILED ********************
Exit Code: -6

Command Output (stdout):
--
# RUN: at line 2
/__w/llvm/llvm/toolchain/bin//clang++   -fsycl -fsycl-targets=spir64  /__w/llvm/llvm/llvm/sycl/test-e2e/AddressSanitizer/multiple-reports/multiple_kernels.cpp -Xarch_device -fsanitize=address -Xarch_device -fsanitize-recover=address -O2 -g -o /__w/llvm/llvm/build-e2e/AddressSanitizer/multiple-reports/Output/multiple_kernels.cpp.tmp
# executed command: /__w/llvm/llvm/toolchain/bin//clang++ -fsycl -fsycl-targets=spir64 /__w/llvm/llvm/llvm/sycl/test-e2e/AddressSanitizer/multiple-reports/multiple_kernels.cpp -Xarch_device -fsanitize=address -Xarch_device -fsanitize-recover=address -O2 -g -o /__w/llvm/llvm/build-e2e/AddressSanitizer/multiple-reports/Output/multiple_kernels.cpp.tmp
# note: command had no output on stdout or stderr
# RUN: at line 3
env SYCL_PREFER_UR=1 env ONEAPI_DEVICE_SELECTOR=opencl:cpu  /__w/llvm/llvm/build-e2e/AddressSanitizer/multiple-reports/Output/multiple_kernels.cpp.tmp 2>&1 | /__w/llvm/llvm/toolchain/bin/FileCheck /__w/llvm/llvm/llvm/sycl/test-e2e/AddressSanitizer/multiple-reports/multiple_kernels.cpp
# executed command: env SYCL_PREFER_UR=1 env ONEAPI_DEVICE_SELECTOR=opencl:cpu /__w/llvm/llvm/build-e2e/AddressSanitizer/multiple-reports/Output/multiple_kernels.cpp.tmp
# note: command had no output on stdout or stderr
# error: command failed with exit status: -6
# executed command: /__w/llvm/llvm/toolchain/bin/FileCheck /__w/llvm/llvm/llvm/sycl/test-e2e/AddressSanitizer/multiple-reports/multiple_kernels.cpp
# note: command had no output on stdout or stderr

--

********************
FAIL: SYCL :: AddressSanitizer/use-after-free/quarantine-free.cpp (39 of 2122)
******************** TEST 'SYCL :: AddressSanitizer/use-after-free/quarantine-free.cpp' FAILED ********************
Exit Code: -6

Command Output (stdout):
--
# RUN: at line 2
/__w/llvm/llvm/toolchain/bin//clang++   -fsycl -fsycl-targets=spir64  /__w/llvm/llvm/llvm/sycl/test-e2e/AddressSanitizer/use-after-free/quarantine-free.cpp -Xarch_device -fsanitize=address -O0 -g -o /__w/llvm/llvm/build-e2e/AddressSanitizer/use-after-free/Output/quarantine-free.cpp.tmp
# executed command: /__w/llvm/llvm/toolchain/bin//clang++ -fsycl -fsycl-targets=spir64 /__w/llvm/llvm/llvm/sycl/test-e2e/AddressSanitizer/use-after-free/quarantine-free.cpp -Xarch_device -fsanitize=address -O0 -g -o /__w/llvm/llvm/build-e2e/AddressSanitizer/use-after-free/Output/quarantine-free.cpp.tmp
# note: command had no output on stdout or stderr
# RUN: at line 3
env UR_ENABLE_LAYERS=UR_LAYER_ASAN UR_LAYER_ASAN_OPTIONS=quarantine_size_mb:5 UR_LOG_SANITIZER=level:info env ONEAPI_DEVICE_SELECTOR=opencl:cpu  /__w/llvm/llvm/build-e2e/AddressSanitizer/use-after-free/Output/quarantine-free.cpp.tmp 2>&1 | /__w/llvm/llvm/toolchain/bin/FileCheck /__w/llvm/llvm/llvm/sycl/test-e2e/AddressSanitizer/use-after-free/quarantine-free.cpp
# executed command: env UR_ENABLE_LAYERS=UR_LAYER_ASAN UR_LAYER_ASAN_OPTIONS=quarantine_size_mb:5 UR_LOG_SANITIZER=level:info env ONEAPI_DEVICE_SELECTOR=opencl:cpu /__w/llvm/llvm/build-e2e/AddressSanitizer/use-after-free/Output/quarantine-free.cpp.tmp
# note: command had no output on stdout or stderr
# error: command failed with exit status: -6
# executed command: /__w/llvm/llvm/toolchain/bin/FileCheck /__w/llvm/llvm/llvm/sycl/test-e2e/AddressSanitizer/use-after-free/quarantine-free.cpp
# note: command had no output on stdout or stderr

--

To reproduce

No response

Environment

No response

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