intel / intel/llvm

AddressSanitizer tests failing on BMG

Open
#16,920 2 comments 0 reactions 0 assignees View on GitHub
bug confirmed
Dominant language
LLVM
Stars
1.5k
Forks
854
Avg merge
3d 17h
Merged PRs (30d)
137

Description

### Describe the bug

seems it's a timeout issue

```
SYCL :: AddressSanitizer/out-of-bounds/USM/parallel_no_local_size.cpp
SYCL :: AddressSanitizer/out-of-bounds/USM/unaligned_shadow_memory.cpp
SYCL :: AddressSanitizer/out-of-bounds/buffer/buffer.cpp
SYCL :: AddressSanitizer/out-of-bounds/buffer/buffer_2d.cpp
SYCL :: AddressSanitizer/out-of-bounds/buffer/buffer_3d.cpp
SYCL :: AddressSanitizer/out-of-bounds/buffer/buffer_copy_fill.cpp
SYCL :: AddressSanitizer/out-of-bounds/buffer/subbuffer.cpp
SYCL :: AddressSanitizer/out-of-bounds/local/group_local_memory.cpp
SYCL :: AddressSanitizer/out-of-bounds/local/local_accessor_basic.cpp
SYCL :: AddressSanitizer/out-of-bounds/local/local_accessor_function.cpp
SYCL :: AddressSanitizer/out-of-bounds/local/local_accessor_multiargs.cpp
SYCL :: AddressSanitizer/out-of-bounds/private/single_private.cpp
```

timeouts
```
Timed Out Tests (25):
SYCL :: Adapters/level_zero_batch_test.cpp
SYCL :: Adapters/level_zero_dynamic_batch_test.cpp
SYCL :: AddressSanitizer/bad-free/bad-free-minus1.cpp
SYCL :: AddressSanitizer/bad-free/bad-free-plus1.cpp
SYCL :: AddressSanitizer/common/kernel-filter.cpp
SYCL :: AddressSanitizer/common/options-redzone.cpp
SYCL :: AddressSanitizer/common/options-statistics.cpp
SYCL :: AddressSanitizer/double-free/double-free.cpp
SYCL :: AddressSanitizer/misaligned/misalign-int.cpp
SYCL :: AddressSanitizer/misaligned/misalign-long.cpp
SYCL :: AddressSanitizer/misaligned/misalign-short.cpp
SYCL :: AddressSanitizer/multiple-reports/multiple_kernels.cpp
SYCL :: AddressSanitizer/multiple-reports/one_kernel.cpp
SYCL :: AddressSanitizer/nullpointer/global_nullptr.cpp
SYCL :: AddressSanitizer/out-of-bounds/DeviceGlobal/device_global.cpp
SYCL :: AddressSanitizer/out-of-bounds/DeviceGlobal/device_global_image_scope.cpp
SYCL :: AddressSanitizer/out-of-bounds/DeviceGlobal/device_global_image_scope_unaligned.cpp
SYCL :: AddressSanitizer/out-of-bounds/DeviceGlobal/multi_device_images.cpp
SYCL :: AddressSanitizer/out-of-bounds/USM/large_group_size.cpp
SYCL :: AddressSanitizer/out-of-bounds/USM/parallel_for_char.cpp
SYCL :: AddressSanitizer/out-of-bounds/USM/parallel_for_double.cpp
SYCL :: AddressSanitizer/out-of-bounds/USM/parallel_for_func.cpp
SYCL :: AddressSanitizer/out-of-bounds/USM/parallel_for_int.cpp
SYCL :: AddressSanitizer/out-of-bounds/USM/parallel_for_short.cpp
```

example failure

```
2025-02-06T23:28:25.2541332Z
2025-02-06T23:28:25.2541387Z ********************
2025-02-06T23:28:25.2541629Z TIMEOUT: SYCL :: AddressSanitizer/out-of-bounds/DeviceGlobal/device_global.cpp (111 of 2274)
2025-02-06T23:28:25.2542061Z ******************** TEST 'SYCL :: AddressSanitizer/out-of-bounds/DeviceGlobal/device_global.cpp' FAILED ********************
2025-02-06T23:28:25.2542340Z Exit Code: -9
2025-02-06T23:28:25.2542479Z Timeout: Reached timeout of 600 seconds
2025-02-06T23:28:25.2542594Z
2025-02-06T23:28:25.2542654Z Command Output (stdout):
2025-02-06T23:28:25.2542796Z --
2025-02-06T23:28:25.2542917Z # RUN: at line 20
2025-02-06T23:28:25.2543568Z /__w/llvm/llvm/toolchain/bin//clang++ -Werror -fsycl -fsycl-targets=spir64 /__w/llvm/llvm/llvm/sycl/test-e2e/AddressSanitizer/out-of-bounds/DeviceGlobal/device_global.cpp -Xarch_device -fsanitize=address -O0 -g -o /__w/llvm/llvm/build-e2e/AddressSanitizer/out-of-bounds/DeviceGlobal/Output/device_global.cpp.tmp1.out
2025-02-06T23:28:25.2544775Z # executed command: /__w/llvm/llvm/toolchain/bin//clang++ -Werror -fsycl -fsycl-targets=spir64 /__w/llvm/llvm/llvm/sycl/test-e2e/AddressSanitizer/out-of-bounds/DeviceGlobal/device_global.cpp -Xarch_device -fsanitize=address -O0 -g -o /__w/llvm/llvm/build-e2e/AddressSanitizer/out-of-bounds/DeviceGlobal/Output/device_global.cpp.tmp1.out
2025-02-06T23:28:25.2545489Z # note: command had no output on stdout or stderr
2025-02-06T23:28:25.2545666Z # RUN: at line 21
2025-02-06T23:28:25.2546269Z env ONEAPI_DEVICE_SELECTOR=level_zero:gpu not /__w/llvm/llvm/build-e2e/AddressSanitizer/out-of-bounds/DeviceGlobal/Output/device_global.cpp.tmp1.out 2>&1 | /__w/llvm/llvm/toolchain/bin/FileCheck /__w/llvm/llvm/llvm/sycl/test-e2e/AddressSanitizer/out-of-bounds/DeviceGlobal/device_global.cpp
2025-02-06T23:28:25.2547151Z # executed command: env ONEAPI_DEVICE_SELECTOR=level_zero:gpu not /__w/llvm/llvm/build-e2e/AddressSanitizer/out-of-bounds/DeviceGlobal/Output/device_global.cpp.tmp1.out
2025-02-06T23:28:25.2547555Z # note: command had no output on stdout or stderr
2025-02-06T23:28:25.2547744Z # error: command reached timeout: True
2025-02-06T23:28:25.2548165Z # executed command: /__w/llvm/llvm/toolchain/bin/FileCheck /__w/llvm/llvm/llvm/sycl/test-e2e/AddressSanitizer/out-of-bounds/DeviceGlobal/device_global.cpp
2025-02-06T23:28:25.2548549Z # note: command had no output on stdout or stderr
2025-02-06T23:28:25.2548745Z # error: command failed with exit status: -9
2025-02-06T23:28:25.2548930Z # error: command reached timeout: True
```
https://github.com/intel/llvm/actions/runs/13188912768/job/36819654925?pr=16910

### To reproduce

_No response_

### Environment

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.