Skip to content

Disable flaky cache test#1151

Merged
Hardcode84 merged 4 commits intoiree-org:mainfrom
Hardcode84:fix-cache-race
Mar 20, 2026
Merged

Disable flaky cache test#1151
Hardcode84 merged 4 commits intoiree-org:mainfrom
Hardcode84:fix-cache-race

Conversation

@Hardcode84
Copy link
Copy Markdown
Contributor

@Hardcode84 Hardcode84 commented Mar 19, 2026

Kernel execution is async, it can outlive the test function if we don't check the result or explicitly synchronize.

@Hardcode84 Hardcode84 marked this pull request as ready for review March 19, 2026 10:55
Kernel execution is asyn, it can outlive the test function if we don't check the result or explicitly sychronize.

Signed-off-by: Ivan Butygin <ivan.butygin@gmail.com>
Signed-off-by: Ivan Butygin <ivan.butygin@gmail.com>
Signed-off-by: Ivan Butygin <ivan.butygin@gmail.com>
@Hardcode84
Copy link
Copy Markdown
Contributor Author

skipped the test for now, even when it's not crashing it produces incorrect result.

@Hardcode84 Hardcode84 changed the title Fix race condition in cache test Disable flaky cache test Mar 20, 2026
@Hardcode84
Copy link
Copy Markdown
Contributor Author

After some internal discussion, our waveasm caching story is completely broken at the moment, but let's keep this test anyway in skipped state, so eventually we can fix it.

Comment thread tests/kernel/runtime/cache_test.py Outdated
@require_e2e
@require_cache
@require_cdna3
@skip(reason="Crashes and/or produces incorrect results.")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this use pytest functionality instead?

Signed-off-by: Ivan Butygin <ivan.butygin@gmail.com>
@Hardcode84 Hardcode84 merged commit 6560184 into iree-org:main Mar 20, 2026
19 checks passed
@Hardcode84 Hardcode84 deleted the fix-cache-race branch March 20, 2026 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants