-
Notifications
You must be signed in to change notification settings - Fork 101
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
Enable ALSA selftests for AT91SAM9G20-EK #1627
Conversation
This isn't getting tested on staging, we don't build multi_v5_defconfig for v5, only at91_dt_defconfig, and kselftest is set up to only run on multi_v5_defconfig. |
Pull request for multi_v5_defconfig in staging kernelci/kernelci-deploy#47 |
It looks like at91 booted on baseline-nfs, but didnt appear in alsa tests: |
The -next boot in production looks fine, there are some entries left in deferred-probe-empty (for which I have patches in the list upstream) but it's getting up to the login prompt (baseline.login is passing): https://staging.kernelci.org/test/plan/id/63ca5b3fa28854c8600c5306/ . The ALSA jobs are being generated but failing because the rootfs image isn't there: http://storage.kernelci.org/images/rootfs/debian/bullseye-kselftest/20230120.0/armel/initrd.cpio.gz' (404)", "Resource unavailable at 'http://storage.kernelci.org/images/rootfs/debian/bullseye-kselftest/20230120.0/armel/full.rootfs.tar.xz which is a bit of a recursive problem with the version being bumped and invalidating config here - not sure what the best way to handle that is, the usual bodge to use separate staging images feels awfully disruptive for adding a new architecture to kselftest. |
I guess it'd be good to have the rootfs config in a separate PR, then we could merge it and have the ALSA tests run on staging. Rootfs images are updated using changes from the Having said that, I guess if you can push the rootfs definition changes as a separate PR I could run a rootfs build job and we'll have an |
Why do we need to split the PR? The |
We can do it on staging but, I guess it'd require staging specific modification of I guess, I can built |
I built |
I don't think we need this kind of bodge, here's a much cleaner way of doing it with a draft PR: So the steps would be:
|
Does this make sense? The advantage is that if something is broken in the rootfs changes, it can be tested before merging the PR. |
The bodge commit that @mgalka linked to above was part of a draft PR used in the flow outlined above. The main issue is that it feels excessively invasive to test something with a widely used rootfs image if you're only trying to cover a single architecture since you have to do all the architectures, and will potentially disrupt a large bunch of other testing while it's happening. It doesn't look like there's a sensible way to just do focused testing for adding the new architecture, and the whole flow doesn't exactly play nice when there's multiple changes in flight for images. |
5dfefd8
to
1942c25
Compare
I forgot about @mgalka's pending pull request here and just built my own one last night also sent my own which also isn't taking. Is it perhaps more trouble than it's worth to try to get this verified in staging? It's a test for a subsystem I maintain running on a board that's only in my lab, any breakage is pretty much going to be rolling straight at me. I've verified this with my own rootfs builds so I'm fairly confident it'll work. |
Skip for now due to the ALSA tests being moved to a separate rootfs and trying to push through the basic rootfs for kselftests. |
@nfraprado @broonie Is the new rootfs image for |
1942c25
to
22bbedf
Compare
(...and rebase once the skip label has been removed). |
Allow the templates to make use of the architecture variant by passing it through as a paramenter arch_variant. Signed-off-by: Mark Brown <[email protected]>
This system has audio hardware, run the ALSA kselfests on it to verify that it is functioning as expected. Signed-off-by: Mark Brown <[email protected]>
22bbedf
to
45ad347
Compare
OK it's not fingind the rootfs image now:
For some reason there's no |
There was a PR from Mark for that already: #1831 |
Adding skip label because of #1994 |
Closing, as we are deprecating the legacy system. If this is still an issue or relevant, please re-open it under the Maestro system. Thank you for your contribution, and sorry for the inconvenience. |
This series works around the lack of skipgen support for older ARM systems in the kselftest template then uses that to enable running the ALSA selftests on AT91SAM9G20-EK.
This isn't the most elegant thing ever but given the generally sparing use of skiplists at all and the level of effort required to either port Go or rewrite skipgen it seems like the improvement in test coverage is more than worth the fairly small and non-invasive changes.