ci: Add iq-x7181-evk to LAVA test device lists#2349
Conversation
|
Please rebase, there is conflicts with test.yml. |
|
|
Please add your sign off by underneath the line |
|
Don't quote your own messages. |
|
Viswanath Kraleti (@vkraleti) sbanerjeeqc Shoudi Li (@shoudil) What is the relationship between this and #2082? Why do we have engineers doing the same job? |
Dmitry Baryshkov (@lumag) , #2082 should be raised by test team, as it's approved we can rabase this PR after it's merged ( enable test for nodistro as well). |
|
It's not an "issue". It's been setup like this intentionally. |
So it require to flash SPI-NOR manually ? |
yes. That's what I've done so far. If you don't expect spinor to change frequently that should work OK. Otherwise we need to wait for qdl 2.7 to be released. |
Could you share more detail reg. waiting QDL2.7 ? we also used QDL to flash SPI-NOR, it worked well from months ago. And please note dtb.bin also reside in SPI-NOR, it may be changed actively with kernel. |
|
Flashing spinor is slow. In my tests it takes from 5 to 7 minutes to flash spinor only. As a comparison the whole test job takes around 7-8 minutes at the moment. qdl 2.7 adds support for sha256 from sahara protocol. This allows to skip unchanged partition (in the future unchanged blocks). It speeds up flashing significantly as spinor binaries don't change very often. In the use case I tested, DTB partition changes between OE and Debian builds. Flashing only this partition (as other remain the same) takes under 1 min with sha256 check enabled. Here is the commit: |
Thanks for your detail explanation ! |
|
qdl 2.7 was released. I'm in the final stages of adding support for |
Enable LAVA testing for iq-x7181-evk across all three test job configurations (nodistro, qcom-distro, and qcom-distro with linux-qcom-6.18 kernel variant). Signed-off-by: Shoudi Li <shoudil@qti.qualcomm.com> Signed-off-by: Xueqian Nie <xueqnie@qti.qualcomm.com>
|
Rebased on #2419, this PR enable pre-merge and lava test on nodistro as well. |
|
Started the build at https://github.com/qualcomm-linux/meta-qcom/actions/runs/27541432685 |
Test Results 105 files ± 0 635 suites +1 6h 55m 6s ⏱️ + 1h 10m 54s For more details on these failures, see this check. Results for commit b788f56. ± Comparison against base commit 9abd869. |
|
Shoudi Li (@shoudil) I added |
Thanks for the info, shuaz-shuai from BT team will have a check and update. |
|
Root cause: the testkit auto-selects hci0 unconditionally, but on this board hci0 is the WCN7850 UART controller with no chip attached. This is a test-harness bug, not a BT/firmware issue. Present on both testkit-2026.06.01 (the tag this job checked out) and current main. Board state (confirmed on device) bluetoothctl list hci0 is created because the DT node qcom,wcn7850-bt exists, but with no chip the vendor command times out (Reading QCA version information failed (-110)), so it stays DOWN with an all-zeros address. hci1 is the working controller. The bug — findhcisysfs() (Runner/utils/lib_bluetooth.sh:1297) findhcisysfs() { It returns the first match (hci0) without checking UP/DOWN or BD address. So:
The working hci1 is never considered. Not a BlueZ/firmware problem — bluetoothd is active, the kernel stack is loaded, firmware is present. Suggested fixPrefer the first controller with a non-zero BD address, fall back to the first present adapter otherwise (reuses the existing btbdok): findhcisysfs() { Verified on the device — OLD selects hci0 (dead UART → fail), NEW selects hci1. Still selects hci0 correctly when a real UART chip is attached. Could you try this and re-run the job? |
|
Srikanth Muppandam (@smuppand) Anil (@qcom-anilyada) could you help update test script based on shuaz-shuai's analysis ? |
|
Dmitry Baryshkov (@lumag) Ricardo Salveti (@ricardosalveti) Could you help start a LAVA test job with this PR ? Till now, several fixes included:
|
|
Shoudi Li (@shoudil) lava-test-plans and qcom-linux-testkit need to be bumped to a new version. All other setup is done ( Anil (@qcom-anilyada) is there any reason not to upgrade lava-test-plans or qcom-linux-testkit? |
|
updated the refs of lava-test-plans and testkit: PR#2574 |
|
Great, let me push it to |
I'm currently testing CamX fixes in next. |
Camera is excluded from current lava test plan, could we enable pre-merge firstly and include camera case next after validation ? |
Anil (@qcom-anilyada) please merge this PR with priority, thanks. |
It's unrelated. The issue is we can run only one workflow through The workflow completed yesterday: https://github.com/qualcomm-linux/meta-qcom/actions/runs/27953583991 |
|
Ah, I missed failure in hotplug test: https://lava.infra.foundries.io/scheduler/job/287908#L3478 |
Yes, from the shared workflow, I can see adsp crashed several times during bootup. but from the latest post merge boot test, looks adsp work normally. |
|
Raised PR to exclude adsp_remoteproc on hamoa as well qualcomm-linux/lava-test-plans#72 |
Why? |
From the job shared by Milosz Wasilewski (@mwasilew) adsp_remoteproc failed, checked post merge boot tests for several nightly builds, same issue not observed, we can track this separately. #2349 (comment) |
If the issue is not observed previously, then please don't disable the test. |
|
I ran remoteproc test on all boards with todays nightly build. Here are the results: Looks rather inconsistent, however there is a pattern that matches MCN. I didn't check Cambridge devices (01-03) but Naresh Kamboju (@nareshkamboju) provided these MCNs for Hyderabad devices: hamoa-iot-evk-04 - 65-88988-1764 |
|
Update PR to exclude adsp/cdsp remoteproc test cases: |
this is merged. For this to take effect in meta-qcom you need to update the ref here: https://github.com/qualcomm-linux/meta-qcom/blob/master/.github/workflows/test.yml#L15 |
PR: #2610 |
Dmitry Baryshkov (lumag)
left a comment
There was a problem hiding this comment.
'iq-x7181-evk' is already a part of the LAVA testing process. Please update the PR title and the commit title / message to reflect the actual changes.
xueqnie, please help update, as PR rebased, now it will cover test job for nodistro and pre-merge jobs for qcom-distro and qcom-distro with linux-qcom-6.18 kernel variant. |
|
I'm going to close this, please enable premerge testing and nodistro testing as a part of #2610 |
Enable LAVA testing for iq-x7181-evk across all three test job configurations (nodistro, qcom-distro, and qcom-distro with linux-qcom-6.18 kernel variant).