Closed
Description
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