-
Notifications
You must be signed in to change notification settings - Fork 108
kernelci.test: match configs by dtb basename #2117
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
Since https://git.kernel.org/linus/724ba6751532055db75992fc6ae21c3e322e94a7, the ARM dts files were moved to subdirectories and the configs do not match any more, which results in boards not receiving test jobs for kernels since that commit. Instead of adding the new directory prefix to every config (which would cause problems with testing stable trees), only compare the basename (and assume that it's unique). Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
I'm not sure at all if this actually fixes the issue. :) |
Thanks for looking into this :)
Yes I think this won't quite work because in some cases, the alternative device types were set up to match another device tree name due to some renames. Maybe the best thing to do here is just to explicitly define the dtb for each device type and remove the default implementation if it can't be automatically deduced in a predictable way. The |
Do you have an example for that case?
I believe the DTB basenames are unique, so I'd prefer to just use those instead of introducing an indirect mapping. |
I checked for duplicates:
So the only "duplicate" base names are the RPi's. Actually, they are the same DT, as they include the arm variant:
|
To see the issue, take a look at the test reports for v6.6-rc4 vs stable v5.10.197. The latter has many results for imx and beagles, while the former has none. |
The change looks sensible to me and it looks like the concerns @gctucker raised were answered? I'm not seeing jobs come through for my lab for staging though - jluebbe is in data/staging.ini so I guess there might be some conflict during the merge to produce staging (perhaps just a rebase is needed)? This is a pretty big miss for coverage so it'd be good to get it resolved quickly. |
Even if there's remaining issues due to aliasing set up for renames resulting in some things getting missed we'd still be better off if the simple cases start working again. |
I will take care about it and will check staging tomorrow |
I can see some arm devices are booting on staging and no issues: https://storage.staging.kernelci.org/kernelci/staging-mainline/staging-mainline-20231018.0/arm64/defconfig/gcc-10/lab-broonie/baseline-imx8mp-verdin-nonwifi-dahlia.html https://staging.kernelci.org/test/plan/id/652fac4d5eeca7f3d2043951/ |
Is this deployed to the main instance already? |
Not yet, deploy will be completed today (each Monday). |
It seems that my change was not enough. We're now receiving jobs for arm32 board again, but they use a wrong URL for the DTB file: https://hekla.openlab.pengutronix.de/scheduler/job/1004156 I think it's not using the paths from it's trying which is missing nxp/imx/. |
@nuclearcat The test jobs are now generated on the main instance as well. And we see the same issue with finding the DTB files: https://hekla.openlab.pengutronix.de/scheduler/job/1004420 I'm not sure where to correct place to fix this is. |
Probably i have to revert this and implement #1941 |
Even if multiple DTBs would be allowed per device, it the job would still need to refer to the correct one. As far as I understand it should be the matching entry from |
Looking a bit through the source... couldn't it be done by adjusting |
A follow-up PR is in #2180. |
Since https://git.kernel.org/linus/724ba6751532055db75992fc6ae21c3e322e94a7, the ARM dts files were moved to subdirectories and the configs do not match any more, which results in boards not receiving test jobs for kernels since that commit.
Instead of adding the new directory prefix to every config (which would cause problems with testing stable trees), only compare the basename (and assume that it's unique).