eve icon indicating copy to clipboard operation
eve copied to clipboard

WIP: Vfio multifunction

Open christoph-zededa opened this issue 1 year ago • 1 comments

see also https://github.com/lf-edge/eve/pull/3369

christoph-zededa avatar Oct 22 '24 16:10 christoph-zededa

@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....

rene avatar Oct 23 '24 12:10 rene

@christoph-zededa could you please rebase onto the latest master? It should fix the Eden tests run. =)

OhmSpectator avatar Nov 13 '24 18:11 OhmSpectator

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 =(

OhmSpectator avatar Nov 13 '24 18:11 OhmSpectator

"You have reached your pull rate limit." >=(

OhmSpectator avatar Nov 14 '24 11:11 OhmSpectator

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.

OhmSpectator avatar Nov 14 '24 11:11 OhmSpectator

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

shjala avatar Nov 14 '24 12:11 shjala

@christoph-zededa, all green. Merging. But if you have any thoughts regarding the failure, would be nice to figure out the reason.

OhmSpectator avatar Nov 14 '24 16:11 OhmSpectator

@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.

OhmSpectator avatar Dec 03 '24 12:12 OhmSpectator

@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

christoph-zededa avatar Dec 03 '24 15:12 christoph-zededa