Files
Aleksei Sviridkin d2aa5f68f7 test(e2e): add a GPUDevice suite on a fake extended resource
Nothing exercised GPUDevice end to end: ordering and binding, budget
and capacity refusals at admission, attachment to a VMI with the
launcher pod pinned to the device's node, the usage record, template
devices that live with their VMI, and deletion of a tenant still
holding a device. CI has no GPUs, so the suite advertises two units
of a fake extended resource on one node and restores the node at
cleanup.

No device plugin serves the fake name, so virt-handler never hands
the guest a device and the VMI does not sync. The VM checks stop at
what admission and scheduling decide; the guest side stays manual.

The suite creates VMs on a VMDisk, so both VM application sources and
gpu-operator select it, and its install closure keeps gpu-operator.

Assisted-by: LLM
Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-10-22 11:35:09 +03:00
..