gvisorgvisor.dev/gvisor/test Directories

test/ directory

Directories

PathSynopsis
test/benchmarks
test/benchmarks/basePackage base holds utility methods common to the base tests.
test/benchmarks/databasePackage database holds benchmarks around database applications.
test/benchmarks/fs
test/benchmarks/fs/fsbenchPackage fsbench provides utility functions for filesystem benchmarks.
test/benchmarks/harnessPackage harness holds utility code for running benchmarks on Docker.
test/benchmarks/mediaPackage media holds benchmarks around media processing applications.
test/benchmarks/mlPackage ml holds benchmarks around machine learning performance.
test/benchmarks/networkPackage network holds benchmarks around raw network performance.
test/benchmarks/tcpBinary tcp_proxy is a simple TCP proxy.
test/benchmarks/toolsPackage tools holds tooling to couple command formatting and output parsers together.
test/cmd
test/cmd/test_appBinary test_app is like a swiss knife for tests that need to run anything inside the sandbox.
test/e2ePackage integration is empty.
test/fsstressPackage fsstress is empty.
test/gpu
test/gpu/cudaPackage cuda holds libraries for testing CUDA workloads.
test/gpu/ollamaPackage ollama provides an Ollama API client.
test/gpu/stablediffusionPackage stablediffusion provides utilities to generate images with Stable Diffusion.
test/gpu/vllm
test/imagePackage image is empty.
test/iptablesPackage iptables contains a set of iptables tests implemented as TestCases
test/iptables/runnerPackage main runs iptables tests from within a docker container.
test/kubernetesPackage kubernetes contains utilities for gVisor tests.
test/kubernetes/benchmarksPackage gsutil is used to benchmark the speed of large (10GB) downloads.
test/kubernetes/benchmarks/httpbenchPackage httpbench provides a library for benchmarking an HTTP server.
test/kubernetes/benchmarks/profilingPackage profiling helps with getting profiles from running benchmarks.
test/kubernetes/benchmetricPackage benchmetric provides utilities for benchmark metrics.
test/kubernetes/k8sctxPackage k8sctx is used to manage the lifecycle of a Kubernetes test or benchmark running in one or more Kubernetes clusters.
test/kubernetes/k8sctx/kubectlctxPackage kubectlctx provides a KubernetesContext that uses one or more kubectl configs to determine the cluster(s) to use for tests and benchmarks.
test/kubernetes/testclusterPackage testcluster wraps the Kubernetes library for common test operations.
test/kubernetes/testsPackage cudatest is a test that runs a CUDA workload on k8s clusters.
test/metricclientPackage metricclient provides utility functions to start, stop, and talk to a metric server.
test/metricsvizPackage metricsviz charts profiling metrics data and renders them to HTML.
test/metricsviz/metricsviz_climetricsviz_cli visualizes metrics from profiling metrics logs.
test/packetimpact
test/packetimpact/dutPackage dut provides common definitions and utilities to be shared by DUTs.
test/packetimpact/dut/linuxPackage linux provides utilities specific to bringing up linux DUTs.
test/packetimpact/dut/nativeThe native binary is used to bring up a native linux DUT.
test/packetimpact/dut/runscThe devid binary is used to get the device ID in the runsc container.
test/packetimpact/internal
test/packetimpact/netdevs
test/packetimpact/netdevs/netlinkPackage netlink has routines to get interfaces information through netlink.
test/packetimpact/runnerThe runner binary is used as the test runner for PacketImpact tests.
test/packetimpact/testbenchPackage testbench has utilities to send and receive packets, and also command the DUT to run POSIX functions.
test/packetimpact/tests
test/rootPackage root is used for tests that requires sysadmin privileges run.
test/rtnetlink
test/rtnetlink/linuxtcp_serv creates a TCP server socket, reads data from stdin, and sends that data to the socket.
test/runnerBinary syscall_test_runner runs the syscall test suites in gVisor containers and on the host platform.
test/runner/fuseBinary main starts a fuse server that forwards filesystem operations from /tmp to /fuse.
test/runner/gtestPackage gtest contains helpers for running google-test tests from Go.
test/runtimes
test/runtimes/proctorBinary proctor runs the test for a particular runtime.
test/runtimes/proctor/libPackage lib contains proctor functions.
test/runtimes/runnerBinary runner runs the runtime tests in a Docker container.
test/runtimes/runner/libPackage lib provides utilities for runner.
test/secbenchThe runner binary executes a single benchmark run and prints out results.
test/secbench/secbenchdefPackage secbenchdef contains struct definitions for secbench benchmarks.
test/secfuzzPackage secfuzz allows fuzz-based testing of seccomp-bpf programs.
test/tracePackage trace is empty.
test/trace/configPackage config providides helper functions to configure trace sessions.
test/udsPackage uds contains helpers for testing external UDS functionality.
Version
v0.0.0-20250605235530-a6711d1e1dc6 (latest)
Published
Jun 5, 2025
Platform
linux/amd64
Last checked
4 hours ago

Tools for package owners.