mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:20:53 +01:00
[PR #2202] [CLOSED] image_fuzz: retry fatal pre-device harness startup once #2206
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#2206
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/2202
Author: @whoalin1
Created: 11/26/2026
Status: ❌ Closed
Base:
main← Head:image-fuzz-predevice-retry📝 Commits (2)
b7cea7aimage_fuzz: report harness errors separately from pixel mismatches6f6865cimage_fuzz: retry fatal pre-device harness startup once📊 Changes
2 files changed (+111 additions, -15 deletions)
View changed files
📝
tests/test_image_fuzz.py(+73 -5)📝
tools/image_fuzz.py(+38 -10)📄 Description
Summary
vk_image_fuzzexactly once when it dies with a fatal process status before printing itsdevice:lineDepends on: #2196
Item: TEST-IMAGE-FUZZ-PREDEVICE-RETRY
Why
On the AMD RDNA2 validation setup used for the image fuzz campaign, the Windows validation loader intermittently exits
0xc000041dduring instance/device startup. The exact same generated case then passes repeatedly (one case passed a validation-on 10/10 manual loop), but a 20-case campaign is likely to hit one transient startup crash because every case starts a fresh harness process.vk_image_fuzzprintsdevice:before creating the shader modules, so a fatal exit before that line cannot have been caused by the shader under test. Retrying once therefore removes startup noise without hiding a shader-induced crash. A crash afterdevice:is never retried.Tests
python -m pytest -q tests/test_image_fuzz.py: 69 passed, 1 skippedpython -m compileall -q tools tests: passpython -I tools/image_fuzz.py --self-test: pass (image_fuzz self-test: ok (6 formats, 64x64 draw))git diff --check: passNo game files or GPU needed for the tests.
AI-assisted with Devin.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.