oneapi-src / oneapi-src/unified-runtime

Level Zero V2 `level_zero_event_pool` tests fail with SIGILL when the CFI sanitizer is enabled

Open
#2,324 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

level-zero
Dominant language
C++
Stars
57
Forks
120
Avg merge
1d 14h
Merged PRs (30d)
1

Description

Full test output log:

2/3 Test #30: test-adapter-level_zero_event_pool ...........***Exception: Illegal  0.51 sec
Selected platform: [LEVEL_ZERO] Intel(R) oneAPI Unified Runtime over Level-Zero
[==========] Running 16 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 16 tests from EventPoolTest
[ RUN      ] EventPoolTest.InvalidDevice/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___Intel_R__Arc_TM__A750_Graphics__ID0ID____V__________________provider_normal_provider_normal_no_profiling_QUEUE_REGULAR
[       OK ] EventPoolTest.InvalidDevice/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___Intel_R__Arc_TM__A750_Graphics__ID0ID____V__________________provider_normal_provider_normal_no_profiling_QUEUE_REGULAR (0 ms)
[ RUN      ] EventPoolTest.InvalidDevice/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___Intel_R__Arc_TM__A750_Graphics__ID0ID____V__________________provider_normal_provider_counter_no_profiling_QUEUE_REGULAR
[       OK ] EventPoolTest.InvalidDevice/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___Intel_R__Arc_TM__A750_Graphics__ID0ID____V__________________provider_normal_provider_counter_no_profiling_QUEUE_REGULAR (0 ms)
[ RUN      ] EventPoolTest.InvalidDevice/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___Intel_R__Arc_TM__A750_Graphics__ID0ID____V__________________provider_normal_provider_counter_no_profiling_QUEUE_IMMEDIATE
[       OK ] EventPoolTest.InvalidDevice/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___Intel_R__Arc_TM__A750_Graphics__ID0ID____V__________________provider_normal_provider_counter_no_profiling_QUEUE_IMMEDIATE (0 ms)
[ RUN      ] EventPoolTest.InvalidDevice/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___Intel_R__Arc_TM__A750_Graphics__ID0ID____V__________________provider_normal_provider_counter_profiling_QUEUE_IMMEDIATE
[       OK ] EventPoolTest.InvalidDevice/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___Intel_R__Arc_TM__A750_Graphics__ID0ID____V__________________provider_normal_provider_counter_profiling_QUEUE_IMMEDIATE (0 ms)
[ RUN      ] EventPoolTest.Basic/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___Intel_R__Arc_TM__A750_Graphics__ID0ID____V__________________provider_normal_provider_normal_no_profiling_QUEUE_REGULAR

Presumably the exception happens in EventPoolTest.Basic, since it doesn't get to finish.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the test-adapter-level_zero_event_pool failure with the CFI sanitizer enabled and inspect the EventPoolTest.Basic case, where the log stops after the test begins. Use the full test output to narrow down the SIGILL; done means the Level Zero event-pool tests complete successfully under CFI.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.