Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OneapiDeviceSelector/no_duplicate_devices.cpp failing in 24.31.30508.7 driver uplift #15288

Open
sarnex opened this issue Sep 4, 2024 · 1 comment
Labels
bug Something isn't working confirmed

Comments

@sarnex
Copy link
Contributor

sarnex commented Sep 4, 2024

Describe the bug

https://github.com/intel/llvm/actions/runs/10707655814/job/29690371789?pr=15260

I think the problem is the new driver outputs stuff to stdout, which we read in the test and it messes it up.

FAIL: SYCL :: OneapiDeviceSelector/no_duplicate_devices.cpp (1615 of 2166)
******************** TEST 'SYCL :: OneapiDeviceSelector/no_duplicate_devices.cpp' FAILED ********************
Exit Code: -6
Command Output (stdout):
--
# RUN: at line 2
/__w/llvm/llvm/toolchain/bin//clang++  -Werror  -fsycl -fsycl-targets=spir64  /__w/llvm/llvm/llvm/sycl/test-e2e/OneapiDeviceSelector/no_duplicate_devices.cpp -o /__w/llvm/llvm/build-e2e/OneapiDeviceSelector/Output/no_duplicate_devices.cpp.tmp.out
# executed command: /__w/llvm/llvm/toolchain/bin//clang++ -Werror -fsycl -fsycl-targets=spir64 /__w/llvm/llvm/llvm/sycl/test-e2e/OneapiDeviceSelector/no_duplicate_devices.cpp -o /__w/llvm/llvm/build-e2e/OneapiDeviceSelector/Output/no_duplicate_devices.cpp.tmp.out
# note: command had no output on stdout or stderr
# RUN: at line 3
env ONEAPI_DEVICE_SELECTOR="opencl:*"  /__w/llvm/llvm/build-e2e/OneapiDeviceSelector/Output/no_duplicate_devices.cpp.tmp.out 1 &> tmp.txt
# executed command: env 'ONEAPI_DEVICE_SELECTOR=opencl:*' /__w/llvm/llvm/build-e2e/OneapiDeviceSelector/Output/no_duplicate_devices.cpp.tmp.out 1
# note: command had no output on stdout or stderr
# RUN: at line 4
cat tmp.txt | env ONEAPI_DEVICE_SELECTOR="opencl:*,cpu"  /__w/llvm/llvm/build-e2e/OneapiDeviceSelector/Output/no_duplicate_devices.cpp.tmp.out
# executed command: cat tmp.txt
# note: command had no output on stdout or stderr
# executed command: env 'ONEAPI_DEVICE_SELECTOR=opencl:*,cpu' /__w/llvm/llvm/build-e2e/OneapiDeviceSelector/Output/no_duplicate_devices.cpp.tmp.out
# .---command stderr------------
# | ZE_LOADER_DEBUG_TRACE:Using Loader Library Path: 
# | ZE_LOADER_DEBUG_TRACE:Tracing Layer Library Path: libze_tracing_layer.so.1
# | terminate called after throwing an instance of 'std::invalid_argument'
# |   what():  stoi
# `-----------------------------
# error: command failed with exit status: -6

To reproduce

No response

Environment

No response

Additional context

No response

@sarnex
Copy link
Contributor Author

sarnex commented Sep 9, 2024

Also failing on OCL CPU in the nightly here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working confirmed
Projects
None yet
Development

No branches or pull requests

1 participant