intel / intel/llvm

test-e2e/Regression/reduction_resource_leak_usm.cpp fails on Win

Open
#22,233 1 comment 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

```
# RUN: at line 4
env ONEAPI_DEVICE_SELECTOR="level_zero:*" env UR_L0_LEAKS_DEBUG=1 SYCL_ENABLE_DEFAULT_CONTEXTS=0 env ONEAPI_DEVICE_SELECTOR=level_zero:gpu D:\github\_work\llvm\llvm\build-e2e\Regression\Output\reduction_resource_leak_usm.cpp.tmp.out 2>&1 | d:\github\_work\llvm\llvm\install\bin\filecheck.exe D:\github\_work\llvm\llvm\llvm\sycl\test-e2e\Regression\reduction_resource_leak_usm.cpp
# executed command: env 'ONEAPI_DEVICE_SELECTOR=level_zero:*' env UR_L0_LEAKS_DEBUG=1 SYCL_ENABLE_DEFAULT_CONTEXTS=0 env ONEAPI_DEVICE_SELECTOR=level_zero:gpu 'D:\github\_work\llvm\llvm\build-e2e\Regression\Output\reduction_resource_leak_usm.cpp.tmp.out'
# executed command: 'd:\github\_work\llvm\llvm\install\bin\filecheck.exe' 'D:\github\_work\llvm\llvm\llvm\sycl\test-e2e\Regression\reduction_resource_leak_usm.cpp'
# .---command stderr------------
# | D:\github\_work\llvm\llvm\llvm\sycl\test-e2e\Regression\reduction_resource_leak_usm.cpp:6:15: error: CHECK-NOT: excluded string found in input
# | // CHECK-NOT: LEAK
# | ^
# | :3:54: note: found here
# | zeContextCreate = 1 \---> zeContextDestroy = 0 ---> LEAK = 1
# | ^~~~
# |
# | Input file:
# | Check file: D:\github\_work\llvm\llvm\llvm\sycl\test-e2e\Regression\reduction_resource_leak_usm.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: Check balance of create/destroy calls
# | 2: ----------------------------------------------------------
# | 3: zeContextCreate = 1 \---> zeContextDestroy = 0 ---> LEAK = 1
# | not:6 !~~~ error: no match expected
# | 4: zeCommandQueueCreate = 2 \---> zeCommandQueueDestroy = 0 ---> LEAK = 2
# | 5: zeModuleCreate = 1 \---> zeModuleDestroy = 1
# | 6: zeKernelCreate = 2 \---> zeKernelDestroy = 2
# | 7: zeEventPoolCreate = 1 \---> zeEventPoolDestroy = 0 ---> LEAK = 1
# | 8: zeCommandListCreateImmediate = 1 |
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
```

### 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

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.