WIP: Vfio multifunction
see also https://github.com/lf-edge/eve/pull/3369
@christoph-zededa , FYI, Lenovo SE70 (based on Jetson Xavier NX) is a good candidate to test these changes on arm64... it has some peripherals on PCIe bus and it implements SMMU....
@christoph-zededa could you please rebase onto the latest master? It should fix the Eden tests run. =)
It would also be nice to document the trick with the bridge and explain why it's necessary... But I don't see any document where we have our passthrough approach explained. So I don't know where to add it =(
"You have reached your pull rate limit." >=(
Another test fails with
The self-hosted runner: buildjet.com_e72335e4-67c2-4a64-8a95-ae86c04c78c0 lost communication with the server. Verify the machine is running and has a healthy network connection. Anything in your workflow that terminates the runner process, starves it for CPU/Memory, or blocks its network access can cause this error.
UPD. Three of them failed with this.
at least Eden onboard issue is gone :
# eden onboard (0.000s)
> [!exec:bash] stop
> [!exec:jq] stop
# enable templates check if we run with TPM enabled (0.039s)
> exec -t 1m bash set_template_check_enforce.sh true
[stdout]
time="2024-11-14T11:18:35Z" level=info msg="Options loaded"
# Onboarding. (161.052s)
> eden eve onboard
[stdout]
time="2024-11-14T11:18:35Z" level=info msg="Adam waiting for EVE registration (0) of (20)"
time="2024-11-14T11:18:55Z" level=info msg="Adam waiting for EVE registration (1) of (20)"
time="2024-11-14T11:19:15Z" level=info msg="Adam waiting for EVE registration (2) of (20)"
time="2024-11-14T11:19:35Z" level=info msg="Adam waiting for EVE registration (3) of (20)"
time="2024-11-14T11:19:55Z" level=info msg="Adam waiting for EVE registration (4) of (20)"
time="2024-11-14T11:20:15Z" level=info msg="Adam waiting for EVE registration (5) of (20)"
time="2024-11-14T11:20:35Z" level=info msg="Adam waiting for EVE registration (6) of (20)"
time="2024-11-14T11:20:55Z" level=info msg="Adam waiting for EVE registration (7) of (20)"
time="2024-11-14T11:21:15Z" level=info msg="Device uuid: 65eb4fe1-5290-41e5-9c0e-3fc99484f1a5"
config changed, to see config run 'eden controller edge-node get-config'
time="2024-11-14T11:21:16Z" level=info msg=onboarded
time="2024-11-14T11:21:16Z" level=info msg="device UUID: 65eb4fe1-5290-41e5-9c0e-3fc99484f1a5"
> stdout 'onboarded'
PASS
@christoph-zededa, all green. Merging. But if you have any thoughts regarding the failure, would be nice to figure out the reason.
@christoph-zededa, don't we want to backport it to 13.4-stable? As far as it's mentioned in the discussion regarding the 13.4 LTS testing.
@christoph-zededa, don't we want to backport it to 13.4-stable? As far as it's mentioned in the discussion regarding the 13.4 LTS testing.
done: https://github.com/lf-edge/eve/pull/4457