-
Notifications
You must be signed in to change notification settings - Fork 1.4k
pkg/manager: list broken seeds + fix one #5396
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
It's not very useful to just have the number of the broken seeds. Let's also show their names and the reasons why they are broken.
|
We have a test somewhere that checks parsing of all seeds. How did it happen that it wasn't triggered? |
|
I think printing the failed tests is useful anyway -- it e.g. gives more some human-friendly feedback during development and local
I agree. We do check that we can parse the seed programs (and AFAIK in multiple places), but here the seed was violating the expectations of One of the tests (the most relevant one?) is here: syzkaller/pkg/runtest/run_test.go Lines 543 to 551 in 084d817
But it relies on the checks done in Lines 313 to 316 in 084d817
We can try to reuse |
|
Extending syz-manager reporting is fine (I guess it may be useful for some downstream users with custom seeds). |
The test has become too big (>40 calls). Split off dev_iommu_vfio and remove the overlap with dev_iommu_hwpt.
It will help us catch broken seeds right in TestParse().
552a08d to
f4a36c0
Compare
|
Added a commit that reuses the same seed validation logic. PTAL. |
|
The fuzzing cannot have been stopped because of these @ramosian-glider It looks like we need to prevent syz-manager from trying to parse arm64 seeds on non-arm64 machines. There's an annotation for that Line 1 in b499ea6
But I'm not sure it's supported by |
|
We also have annotations like this: |
Unified with what exactly? |
This should be fixed in #5560 |


Fixes #5395.