Skip to content

Sporadic unit test fail on Linux MultipleDevsKernelBundleTest/PersistentCache #18122

Open
@sarnex

Description

@sarnex

Describe the bug

Some examples
https://github.com/intel/llvm/actions/runs/14517272172/job/40729215018
https://github.com/intel/llvm/actions/runs/14574901661/job/40878873462
https://github.com/intel/llvm/actions/runs/14578596726/job/40890121165

FAIL: SYCL-Unit :: program_manager/./ProgramManagerTests/20/21 (1599 of 1782)
******************** TEST 'SYCL-Unit :: program_manager/./ProgramManagerTests/20/21' FAILED ********************
Script(shard):
--
GTEST_OUTPUT=json:/__w/llvm/llvm/build/tools/sycl/unittests/program_manager/./ProgramManagerTests-SYCL-Unit-371636-20-21.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=21 GTEST_SHARD_INDEX=20 /__w/llvm/llvm/build/tools/sycl/unittests/program_manager/./ProgramManagerTests
--

Script:
--
/__w/llvm/llvm/build/tools/sycl/unittests/program_manager/./ProgramManagerTests --gtest_filter=MultipleDevsKernelBundleTestInstance/MultipleDevsKernelBundleTest.PersistentCache/1
--
/__w/llvm/llvm/src/sycl/unittests/program_manager/MultipleDevsKernelBundle.cpp:577: Failure
Expected equality of these values:
  Res.size()
    Which is: 0
  static_cast<size_t>(2)
    Which is: 2
Expected cache items to be loaded

/__w/llvm/llvm/src/sycl/unittests/program_manager/MultipleDevsKernelBundle.cpp:591: Failure
Expected equality of these values:
  ProgramCreateWithBinaryCounter
    Which is: 0
  1
Expect 1 urProgramCreateWithBinary calls


/__w/llvm/llvm/src/sycl/unittests/program_manager/MultipleDevsKernelBundle.cpp:577
Expected equality of these values:
  Res.size()
    Which is: 0
  static_cast<size_t>(2)
    Which is: 2
Expected cache items to be loaded

/__w/llvm/llvm/src/sycl/unittests/program_manager/MultipleDevsKernelBundle.cpp:591
Expected equality of these values:
  ProgramCreateWithBinaryCounter
    Which is: 0
  1
Expect 1 urProgramCreateWithBinary calls



********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
********************
Failed Tests (1):
  SYCL-Unit :: program_manager/./ProgramManagerTests/MultipleDevsKernelBundleTestInstance/MultipleDevsKernelBundleTest/PersistentCache/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

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions