intel / llvm

Intel staging area for llvm.org contribution. Home for Intel LLVM-based projects.
Other
1.21k stars 726 forks source link

SYCL-Unit :: scheduler/./SchedulerTests.exe/11/13 failing on Windows #15049

Open sarnex opened 4 weeks ago

sarnex commented 4 weeks ago

Describe the bug

FAIL: SYCL-Unit :: scheduler/./SchedulerTests.exe/11/13 (967 of 971)
******************** TEST 'SYCL-Unit :: scheduler/./SchedulerTests.exe/11/13' FAILED ********************
Script(shard):
--
GTEST_OUTPUT=json:D:\github\_work\llvm\llvm\build\tools\sycl\unittests\scheduler\.\SchedulerTests.exe-SYCL-Unit-5452-11-13.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=13 GTEST_SHARD_INDEX=11 D:\github\_work\llvm\llvm\build\tools\sycl\unittests\scheduler\.\SchedulerTests.exe
--

Note: This is test shard 12 of 13.

[==========] Running 3 tests from 2 test suites.

[----------] Global test environment set-up.

[----------] 2 tests from SchedulerTest

[ RUN      ] SchedulerTest.StreamAUXCmdsWait

[       OK ] SchedulerTest.StreamAUXCmdsWait (1 ms)

[ RUN      ] SchedulerTest.StreamBufferDeallocation

Exception Code: 0xC0000005

#0 0x00007ff7a2759848 sycl::_V1::detail::Scheduler::NotifyHostTaskCompletion(class sycl::_V1::detail::Command *) D:\github\_work\llvm\llvm\src\sycl\source\detail\scheduler\scheduler.cpp:486:0

#1 0x00007ff7a274176e sycl::_V1::detail::DispatchHostTask::operator()(void) const D:\github\_work\llvm\llvm\src\sycl\source\detail\scheduler\commands.cpp:486:0

#2 0x00007ff7a26a69e6 sycl::_V1::detail::ThreadPool::worker(void) D:\github\_work\llvm\llvm\src\sycl\source\detail\thread_pool.hpp:51:0

#3 0x00007ff7a26a18e1 std::thread::_Invoke<class std::tuple<class `private: void __cdecl sycl::_V1::detail::ThreadPool::start(void)'::`3'::<lambda_1>>, 0>(void *) C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.33.31629\include\thread:56:0

#4 0x00007ffb4e106b4c (C:\WINDOWS\System32\ucrtbase.dll+0x26b4c)

#5 0x00007ffb4f1a4cb0 (C:\WINDOWS\System32\KERNEL32.DLL+0x14cb0)

#6 0x00007ffb5047e8ab (C:\WINDOWS\SYSTEM32\ntdll.dll+0x7e8ab)

--
exit: 3221225477
--
shard JSON output does not exist: D:\github\_work\llvm\llvm\build\tools\sycl\unittests\scheduler\.\SchedulerTests.exe-SYCL-Unit-5452-11-13.json
********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
********************
Failed Tests (1):
  SYCL-Unit :: scheduler/./SchedulerTests.exe/11/13

https://github.com/intel/llvm/actions/runs/10354169847/job/28658799648

https://github.com/intel/llvm/actions/runs/10362895613/job/28685641650

[ RUN      ] DependsOnTests.ShortcutFunctionWithWaitList

Exception Code: 0xC0000005

#0 0x00007ff71bacc1e0 sycl::_V1::detail::Scheduler::cleanupAuxiliaryResources(enum sycl::_V1::detail::BlockingT) D:\github\_work\llvm\llvm\src\sycl\source\detail\scheduler\scheduler.cpp:589:0

#1 0x00007ff71bacc439 sycl::_V1::detail::Scheduler::cleanupCommands(class std::vector<class sycl::_V1::detail::Command *, class std::allocator<class sycl::_V1::detail::Command *>> const &) D:\github\_work\llvm\llvm\src\sycl\source\detail\scheduler\scheduler.cpp:422:0

#2 0x00007ff71bac9b21 sycl::_V1::detail::Scheduler::NotifyHostTaskCompletion(class sycl::_V1::detail::Command *) D:\github\_work\llvm\llvm\src\sycl\source\detail\scheduler\scheduler.cpp:490:0

#3 0x00007ff71bab194e sycl::_V1::detail::DispatchHostTask::operator()(void) const D:\github\_work\llvm\llvm\src\sycl\source\detail\scheduler\commands.cpp:486:0

#4 0x00007ff71ba16b06 sycl::_V1::detail::ThreadPool::worker(void) D:\github\_work\llvm\llvm\src\sycl\source\detail\thread_pool.hpp:51:0

#5 0x00007ff71ba11a01 std::thread::_Invoke<class std::tuple<class `private: void __cdecl sycl::_V1::detail::ThreadPool::start(void)'::`3'::<lambda_1>>, 0>(void *) C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.33.31629\include\thread:56:0

#6 0x00007fffd0b76b4c (C:\WINDOWS\System32\ucrtbase.dll+0x26b4c)

#7 0x00007fffd28d4ed0 (C:\WINDOWS\System32\KERNEL32.DLL+0x14ed0)

#8 0x00007fffd321e40b (C:\WINDOWS\SYSTEM32\ntdll.dll+0x7e40b)

--
exit: 3221225477

https://github.com/intel/llvm/actions/runs/10374827332/job/28723151663?pr=14996

https://github.com/intel/llvm/actions/runs/10373080404/job/28717618786

To reproduce

No response

Environment

No response

Additional context

No response

sarnex commented 4 weeks ago

@intel/llvm-reviewers-runtime Someone should probably take a look at these. They just started failing recently, so my guess is some commit is causing the sporadic fails on Windows. Thanks.