Skip to content
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 more devices from the Pengutronix lab #987

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

hnez
Copy link
Contributor

@hnez hnez commented Jan 31, 2025

This PR is based on #986 and contains some of the same commits.
It is split-off since getting all the devices working may require some back-and-forth.

This adds all devices from the Pengutronix LAVA Lab that currently pass their health check jobs.

The lab contains mostly older i.MX devices that we want to prevent from bit-rotting in the mainline kernel, but also some newer devices like i.MX8MM, i.MX8MP or the STM32MP1 based LXA TAC.

Closes: kernelci/kernelci-core#2542 (Adding stm32mp157c-lxa-tac-gen1 support to the legacy infrastructure).

pawiecz and others added 6 commits January 31, 2025 11:00
Add configuration for Pengutronix LAVA lab.

Signed-off-by: Paweł Wieczorek <pawiecz@collabora.com>
Add 'baseline-arm64-pengutronix' test to be submitted to Pengutronix
LAVA lab.

It will be later folded into 'baseline-arm64' job (once job submission
is verified to be working correctly), separate job was introduced only
for tracing purposes.

Signed-off-by: Paweł Wieczorek <pawiecz@collabora.com>
Add runtime argument 'lava-pengutronix' to 'scheduler-lava' service.
This will enable the pipeline to run and submit jobs to Pengutronix LAVA
lab. This configuration file is still used by the staging environment.

Signed-off-by: Paweł Wieczorek <pawiecz@collabora.com>
Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
… TAC

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
@nuclearcat
Copy link
Member

Hi, noticed following errors:

Error submitting job: 400, {"message":"Devices unavailable: Device type 'tegra124-jetson-tk1' is unavailable."}
02/04/2025 08:10:23 AM UTC [ERROR] 67a1cb6e8995e4edc2fc8d66 lava-pengutronix tegra124-jetson-tk1 baseline-arm-pengutronix submit error: 400 Client Error: Bad Request for url: https://lava.pengutronix.de/api/v0.2/jobs/?format=json&;limit=256
02/04/2025 08:10:19 AM UTC [ERROR] 67a1cb6b8995e4edc2fc8d51 lava-pengutronix imx23-olinuxino baseline-arm-pengutronix Invalid job parameters, aborting...
dtb file ['dtbs/imx27-phytec-phycard-s-rdk.dtb'] not found!
02/04/2025 08:10:19 AM UTC [ERROR] 67a1cb6b8995e4edc2fc8d54 lava-pengutronix imx27-phytec-phycard-s-rdk baseline-arm-pengutronix Invalid job parameters, aborting...
dtb file ['dtbs/imx28-duckbill.dtb'] not found!
dtb file ['dtbs/imx23-olinuxino.dtb'] not found!
02/04/2025 08:10:19 AM UTC [ERROR] 67a1cb6b8995e4edc2fc8d51 lava-pengutronix imx23-olinuxino baseline-arm-pengutronix Invalid job parameters, aborting...

hnez added 6 commits February 4, 2025 11:17
Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
@hnez hnez force-pushed the pengutronix-more-devices branch from 50d4f1c to 1802311 Compare February 4, 2025 10:21
@hnez
Copy link
Contributor Author

hnez commented Feb 4, 2025

Hi @nuclearcat, thanks for testing my changes!

I've had a look at the jobs that were submitted. The jobs for the following devices:

failed due to a too restrictive firewall rule on our side (everything but port 80 and 443 was blocked because we do not want untrusted jobs to start sending mail or whatever), as they could not fetch the required artifacts. We now allow more ports and I have manually re-submitted the jobs in LAVA and this time they succeeded.

Since these devices are now somewhat known to work I have added them to #986 (the "get the Pengutronix lab basically working again with low-ish effort"-PR).

The other devices mentioned here:

Error submitting job: 400, {"message":"Devices unavailable: Device type 'tegra124-jetson-tk1' is unavailable."}
02/04/2025 08:10:23 AM UTC [ERROR] 67a1cb6e8995e4edc2fc8d66 lava-pengutronix tegra124-jetson-tk1 baseline-arm-pengutronix submit error: 400 Client Error: Bad Request for url: https://lava.pengutronix.de/api/v0.2/jobs/?format=json&;limit=256
02/04/2025 08:10:19 AM UTC [ERROR] 67a1cb6b8995e4edc2fc8d51 lava-pengutronix imx23-olinuxino baseline-arm-pengutronix Invalid job parameters, aborting...
dtb file ['dtbs/imx27-phytec-phycard-s-rdk.dtb'] not found!
02/04/2025 08:10:19 AM UTC [ERROR] 67a1cb6b8995e4edc2fc8d54 lava-pengutronix imx27-phytec-phycard-s-rdk baseline-arm-pengutronix Invalid job parameters, aborting...
dtb file ['dtbs/imx28-duckbill.dtb'] not found!
dtb file ['dtbs/imx23-olinuxino.dtb'] not found!
02/04/2025 08:10:19 AM UTC [ERROR] 67a1cb6b8995e4edc2fc8d51 lava-pengutronix imx23-olinuxino baseline-arm-pengutronix Invalid job parameters, aborting...

as well as

which failed to boot due to some other issue. I will have to look into. I hope I will get around to doing so quite soon, but I have a vacation coming up, so it may be some weeks.

I will mark this PR as a draft for now, since it is my turn to figure out why the devices that are not in #986 do not work.

@hnez hnez marked this pull request as draft February 4, 2025 10:35
@hnez hnez mentioned this pull request Feb 4, 2025
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.

3 participants