test/

directory
v0.1.0-latest-stable Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2026 License: Apache-2.0

Directories

Path Synopsis
apivalidation package is used to test the API validations of DPF
apivalidation package is used to test the API validations of DPF
e2e
mock
dms command
dms/pkg/certs
Package certs implements utilities for managing certificates for the mock DMS server.
Package certs implements utilities for managing certificates for the mock DMS server.
dpuagent command
mock-dpuagent is one non-existent BlueField DPU for control plane scale testing: it serves the BMC Redfish API the provisioning controllers talk to and, once the controllers have "installed" an OS on it, impersonates the dpu-agent that reports DPU.status.agentStatus and joins the DPU cluster.
mock-dpuagent is one non-existent BlueField DPU for control plane scale testing: it serves the BMC Redfish API the provisioning controllers talk to and, once the controllers have "installed" an OS on it, impersonates the dpu-agent that reports DPU.status.agentStatus and joins the DPU cluster.
dpuagent/pkg/agent
Package agent impersonates the dpu-agent of one DPU: it takes the identity the install artifact carries, exchanges the bootstrap token for a client certificate exactly like cmd/dpuagent does and then runs the agent operation pipeline against the DPU object with no-op operations that write the same status the real ones would.
Package agent impersonates the dpu-agent of one DPU: it takes the identity the install artifact carries, exchanges the bootstrap token for a client certificate exactly like cmd/dpuagent does and then runs the agent operation pipeline against the DPU object with no-op operations that write the same status the real ones would.
dpuagent/pkg/artifact
Package artifact downloads and parses the artifacts the provisioning controller sends to a BMC: the BFB + bf.cfg concat stream (BF3), the OS ISO and cidata seed.iso (BF4) and the PLDM firmware bundle (BF4), plus the cloud-init user-data both DPU types carry.
Package artifact downloads and parses the artifacts the provisioning controller sends to a BMC: the BFB + bf.cfg concat stream (BF3), the OS ISO and cidata seed.iso (BF4) and the PLDM firmware bundle (BF4), plus the cloud-init user-data both DPU types carry.
dpuagent/pkg/config
Package config loads the single YAML file that drives one mock-dpuagent process.
Package config loads the single YAML file that drives one mock-dpuagent process.
dpuagent/pkg/hostctl
Package hostctl is the plain-HTTP control entry point that stands in for "the host was rebooted by an external system".
Package hostctl is the plain-HTTP control entry point that stands in for "the host was rebooted by an external system".
dpuagent/pkg/node
Package node replays "kubeadm join" and kubelet node registration in-process so a mock DPU shows up as a Ready Node in the DPU cluster without kubeadm, kubelet or any admin credentials.
Package node replays "kubeadm join" and kubelet node registration in-process so a mock DPU shows up as a Ready Node in the DPU cluster without kubeadm, kubelet or any admin credentials.
dpuagent/pkg/redfish
Package redfish is the trimmed BlueField BMC Redfish server of mock-dpuagent.
Package redfish is the trimmed BlueField BMC Redfish server of mock-dpuagent.
dpuagent/rebootcontroller command
mock-reboot-controller is the "external system" of DPUNode nodeRebootMethod external for mock-dpuagent DPUs: it reboots the mock DPUs of an annotated DPUNode and clears the annotation.
mock-reboot-controller is the "external system" of DPUNode nodeRebootMethod external for mock-dpuagent DPUs: it reboots the mock DPUs of an annotated DPUNode and clears the annotation.
fake-block-storage-vendor-dpu-plugin command
Binary fake-block-storage-vendor-dpu-plugin provides local AIO block devices for SNAP e2e tests.
Binary fake-block-storage-vendor-dpu-plugin provides local AIO block devices for SNAP e2e tests.
fake-fs-storage-vendor-dpu-plugin command
Binary fake-fs-storage-vendor-dpu-plugin is a test-only stand-in for fs-storage-vendor-dpu-plugin, the vendor plugin that runs on the DPU and turns a DPUVolume into a filesystem device SNAP can emulate.
Binary fake-fs-storage-vendor-dpu-plugin is a test-only stand-in for fs-storage-vendor-dpu-plugin, the vendor plugin that runs on the DPU and turns a DPUVolume into a filesystem device SNAP can emulate.
md5sum command
Command rshim-console-collector is an E2E-only helper that discovers host rshim console devices, streams DPU console output to stdout, and reconnects after DPU resets so the existing pod log pipeline can archive the output.
Command rshim-console-collector is an E2E-only helper that discovers host rshim console devices, streams DPU console output to stdout, and reconnects after DPU resets so the existing pod log pipeline can archive the output.
pkg
Package collector provides E2E-only collection of locally attached DPU consoles.
Package collector provides E2E-only collection of locally attached DPU consoles.
dpuagent
Package dpuagent holds e2e validations for the DPU Agent operations that run inside the DPU (internal/provisioning/dpuagent/operations/...).
Package dpuagent holds e2e validations for the DPU Agent operations that run inside the DPU (internal/provisioning/dpuagent/operations/...).
dpuflavor
Package dpuflavor provides helpers for adapting DPUFlavor fixtures in tests.
Package dpuflavor provides helpers for adapting DPUFlavor fixtures in tests.
remotehost
Package remotehost runs SSH and docker/podman commands on remote test machines.
Package remotehost runs SSH and docker/podman commands on remote test machines.
rshimconsole
Package rshimconsole provides E2E helpers for deploying the rshim console collector and exporting its logs.
Package rshimconsole provides E2E helpers for deploying the rshim console collector and exporting its logs.
snap
Package snap holds assertions for SNAP storage objects and consumer I/O.
Package snap holds assertions for SNAP storage objects and consumer I/O.
testedservices
Package testedservices dumps Ready cluster CRs for the tested-services BOM.
Package testedservices dumps Ready cluster CRs for the tested-services BOM.
vpc
vpc/topology
Package topology describes per-hardware Weave rail layout used by e2e tests.
Package topology describes per-hardware Weave rail layout used by e2e tests.
vpc/topology/bf3
Package bf3 holds Weave e2e topology for BlueField-3 lab hardware.
Package bf3 holds Weave e2e topology for BlueField-3 lab hardware.
vpc/topology/bf4
Package bf4 holds Weave e2e topology and lab wiring for BlueField-4.
Package bf4 holds Weave e2e topology and lab wiring for BlueField-4.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL