OS Manuals

/usr/bin/critest

validation test suites for kubelet CRI

From critest 1.37.0-r5 (os), captured 2026-11-08 by running critest --help (exit 0). permalink

Also provided by 1 other package version
time="2026-11-08T02:46:27Z" level=warning msg="Config \"/etc/crictl.yaml\" does not exist, trying next: \"/crictl.yaml\""
Controlling Test Order
  --ginkgo.seed [int] (default: randomly generated by Ginkgo)
    The seed used to randomize the spec suite.
  --ginkgo.randomize-all
    If set, ginkgo will randomize all specs together.  By default, ginkgo only
    randomizes the top level Describe, Context and When containers.

Controlling Test Parallelism
These are set by the Ginkgo CLI, do not set them manually via go test.
Use ginkgo -p or ginkgo -procs=N instead.
  --ginkgo.parallel.process [int] (default: 1)
    This worker process's (one-indexed) process number.  For running specs in
    parallel.
  --ginkgo.parallel.total [int] (default: 1)
    The total number of worker processes.  For running specs in parallel.
  --ginkgo.parallel.host [string] (default: set by Ginkgo CLI)
    The address for the server that will synchronize the processes.

Filtering Tests
  --ginkgo.label-filter [expression]
    If set, ginkgo will only run specs with labels that match the label-filter.
    The passed-in expression can include boolean operations (!, &&, ||, ','),
    groupings via '()', and regular expressions '/regexp/'.  e.g. '(cat || dog)
    && !fruit'
  --ginkgo.sem-ver-filter [version]
    If set, ginkgo will only run specs with semantic version constraints that
    are satisfied by the provided version. e.g. '2.1.0'
  --ginkgo.focus [string]
    If set, ginkgo will only run specs that match this regular expression. Can
    be specified multiple times, values are ORed.
  --ginkgo.skip [string]
    If set, ginkgo will only run specs that do not match this regular
    expression. Can be specified multiple times, values are ORed.
  --ginkgo.focus-file [file (regexp) | file:line | file:lineA-lineB | file:line,line,line]
    If set, ginkgo will only run specs in matching files. Can be specified
    multiple times, values are ORed.
  --ginkgo.skip-file [file (regexp) | file:line | file:lineA-lineB | file:line,line,line]
    If set, ginkgo will skip specs in matching files. Can be specified multiple
    times, values are ORed.

Failure Handling
  --ginkgo.fail-on-pending
    If set, ginkgo will mark the test suite as failed if any specs are pending.
  --ginkgo.fail-fast
    If set, ginkgo will stop running a test suite after a failure occurs.
  --ginkgo.flake-attempts [int] (default: 0 - failed tests are not retried)
    Make up to this many attempts to run each spec. If any of the attempts
    succeed, the suite will not be failed.
  --ginkgo.fail-on-empty
    If set, ginkgo will mark the test suite as failed if no specs are run.
  --ginkgo.sleep-on-failure [duration] (default: 0 - disabled)
    If set, ginkgo will pause for this duration after a spec fails - before its
    teardown (AfterEach/JustAfterEach/DeferCleanup) runs - so you can inspect
    the live system. Press ^C to end the pause early and proceed to cleanup.
    Serial only: cannot be combined with -p/--procs.

Controlling Output Formatting
  --ginkgo.no-color
    If set, suppress color output in default reporter.  You can also set the
    environment variable GINKGO_NO_COLOR=TRUE
  --ginkgo.v
    If set, emits more output including GinkgoWriter contents.
  --ginkgo.vv
    If set, emits with maximal verbosity - includes skipped and pending tests.
  --ginkgo.succinct
    If set, default reporter prints out a very succinct report
  --ginkgo.trace
    If set, default reporter prints out the full stack trace when a failure
    occurs
  --ginkgo.show-node-events
    If set, default reporter prints node > Enter and < Exit events when specs
    fail
  --ginkgo.github-output
    If set, default reporter prints easier to manage output in Github Actions.
  --ginkgo.silence-skips
    If set, default reporter will not print out skipped tests.
  --ginkgo.force-newlines
    If set, default reporter will ensure a newline appears after each test.
  --ginkgo.fd
    If set, emits RSpec-style 'format documentation' output instead of Ginkgo's
    default output.  --fd is exclusive: it overrides -p/-procs and
    -randomize-all, forcing specs to run serially in declaration order, since
    fd's hierarchical output can't be rendered sensibly when specs are
    parallelized or randomized.
  --ginkgo.json-report [filename.json]
    If set, Ginkgo will generate a JSON-formatted test report at the specified
    location.
  --ginkgo.gojson-report [filename.json]
    If set, Ginkgo will generate a Go JSON-formatted test report at the
    specified location.
  --ginkgo.junit-report [filename.xml]
    If set, Ginkgo will generate a conformant junit test report in the specified
    file.
  --ginkgo.teamcity-report [filename]
    If set, Ginkgo will generate a Teamcity-formatted test report at the
    specified location.

Debugging Tests
In addition to these flags, Ginkgo supports a few debugging environment
variables.  To change the parallel server protocol set GINKGO_PARALLEL_PROTOCOL
to HTTP.  To avoid pruning callstacks set GINKGO_PRUNE_STACK to FALSE.
  --ginkgo.dry-run
    If set, ginkgo will walk the test hierarchy without actually running
    anything.  Best paired with -v.
  --ginkgo.poll-progress-after [duration] (default: 0)
    Emit node progress reports periodically if node hasn't completed after this
    duration.
  --ginkgo.poll-progress-interval [duration] (default: 10s)
    The rate at which to emit node progress reports after poll-progress-after
    has elapsed.
  --ginkgo.source-root [string]
    The location to look for source code when generating progress reports.  You
    can pass multiple --source-root flags.
  --ginkgo.timeout [duration] (default: 1h)
    Test suite fails if it does not complete within the specified timeout.
  --ginkgo.grace-period [duration] (default: 30s)
    When interrupted, Ginkgo will wait for GracePeriod for the current running
    node to exit before moving on to the next one.
  --ginkgo.output-interceptor-mode [dup, swap, or none]
    If set, ginkgo will use the specified output interception strategy when
    running in parallel.  Defaults to dup on unix and swap on windows.

Go test flags
  -benchmark
    	Run benchmarks instead of validation tests
  -benchmarking-output-dir string
    	Optional path to a directory in which benchmarking data should be placed.
  -benchmarking-params-file string
    	Optional path to a YAML file specifying benchmarking configuration options.
  -config string
    	Location of the client config file. If not specified and the default does not exist, the program's directory is searched as well
  -image-endpoint string
    	Image service socket for client to connect.
  -image-service-timeout duration
    	Timeout when trying to connect to image service.
  -nri-socket string
    	Path to the NRI socket. NRI tests are skipped when not set.
  -parallel int
    	The number of parallel test nodes to run (default 1)
  -registry-prefix string
    	A possible registry prefix added to all images, like 'localhost:5000'
  -report-dir string
    	Path to the directory where the JUnit XML reports should be saved. Default is empty, which doesn't generate these reports.
  -report-prefix string
    	Optional prefix for JUnit XML reports. Default is empty, which doesn't prepend anything to the default name.
  -runtime-endpoint string
    	Runtime service socket for client to connect.
  -runtime-handler string
    	Runtime handler to use in the test.
  -runtime-service-timeout duration
    	Timeout when trying to connect to a runtime service.
  -test-images-file string
    	Optional path to a YAML file containing references to custom container images to be used in tests.
  -test.artifacts
    	store test artifacts in test.,outputdir
  -test.bench regexp
    	run only benchmarks matching regexp
  -test.benchmem
    	print memory allocations for benchmarks
  -test.benchtime d
    	run each benchmark for duration d or N times if `d` is of the form Nx
  -test.blockprofile file
    	write a goroutine blocking profile to file
  -test.blockprofilerate rate
    	set blocking profile rate (see runtime.SetBlockProfileRate)
  -test.count n
    	run tests and benchmarks n times
  -test.coverprofile file
    	write a coverage profile to file
  -test.cpu list
    	comma-separated list of cpu counts to run each test with
  -test.cpuprofile file
    	write a cpu profile to file
  -test.failfast
    	do not start new tests after the first test failure
  -test.fullpath
    	show full file names in error messages
  -test.fuzz regexp
    	run the fuzz test matching regexp
  -test.fuzzcachedir string
    	directory where interesting fuzzing inputs are stored (for use only by cmd/go)
  -test.fuzzminimizetime value
    	time to spend minimizing a value after finding a failing input
  -test.fuzztime value
    	time to spend fuzzing; default is to run indefinitely
  -test.fuzzworker
    	coordinate with the parent process to fuzz random values (for use only by cmd/go)
  -test.gocoverdir string
    	write coverage intermediate files to this directory
  -test.list regexp
    	list tests, examples, and benchmarks matching regexp then exit
  -test.memprofile file
    	write an allocation profile to file
  -test.memprofilerate rate
    	set memory allocation profiling rate (see runtime.MemProfileRate)
  -test.mutexprofile string
    	write a mutex contention profile to the named file after execution
  -test.mutexprofilefraction int
    	if >= 0, calls runtime.SetMutexProfileFraction()
  -test.outputdir dir
    	write profiles to dir
  -test.paniconexit0
    	panic on call to os.Exit(0)
  -test.parallel n
    	run at most n tests in parallel
  -test.run regexp
    	run only tests and examples matching regexp
  -test.short
    	run smaller test suite to save time
  -test.shuffle string
    	randomize the execution order of tests and benchmarks
  -test.skip regexp
    	do not list or run tests matching regexp
  -test.testlogfile file
    	write test action log to file (for use only by cmd/go)
  -test.timeout d
    	panic test binary after duration d (default 0, timeout disabled)
  -test.trace file
    	write an execution trace to file
  -test.v
    	verbose: print additional output
  -version
    	Display version of critest
  -websocket-attach
    	Use websocket connections over SPDY for attach streaming tests.
  -websocket-exec
    	Use websocket connections over SPDY for exec streaming tests.
  -websocket-portforward
    	Use websocket connections over SPDY for portforward streaming tests.
Options (77)
OptionDescriptionSource
--ginkgo.randomize-allIf set, ginkgo will randomize all specs together.help
--ginkgo.label-filter expressionIf set, ginkgo will only run specs with labels that match the label-filter.help
--ginkgo.sem-ver-filter versionIf set, ginkgo will only run specs with semantic version constraints that are satisfied by the provided version.help
--ginkgo.focus stringIf set, ginkgo will only run specs that match this regular expression.help
--ginkgo.skip stringIf set, ginkgo will only run specs that do not match this regular expression.help
--ginkgo.fail-on-pendingIf set, ginkgo will mark the test suite as failed if any specs are pending.help
--ginkgo.fail-fastIf set, ginkgo will stop running a test suite after a failure occurs.help
--ginkgo.fail-on-emptyIf set, ginkgo will mark the test suite as failed if no specs are run.help
--ginkgo.no-colorIf set, suppress color output in default reporter.help
--ginkgo.vIf set, emits more output including GinkgoWriter contents.help
--ginkgo.vvIf set, emits with maximal verbosity - includes skipped and pending tests.help
--ginkgo.succinctIf set, default reporter prints out a very succinct reporthelp
--ginkgo.traceIf set, default reporter prints out the full stack trace when a failure occurshelp
--ginkgo.show-node-eventsIf set, default reporter prints node > Enter and < Exit events when specs failhelp
--ginkgo.github-outputIf set, default reporter prints easier to manage output in Github Actions.help
--ginkgo.silence-skipsIf set, default reporter will not print out skipped tests.help
--ginkgo.force-newlinesIf set, default reporter will ensure a newline appears after each test.help
--ginkgo.fdIf set, emits RSpec-style 'format documentation' output instead of Ginkgo's default output.help
--ginkgo.json-report filename.jsonIf set, Ginkgo will generate a JSON-formatted test report at the specified location.help
--ginkgo.gojson-report filename.jsonIf set, Ginkgo will generate a Go JSON-formatted test report at the specified location.help
--ginkgo.junit-report filename.xmlIf set, Ginkgo will generate a conformant junit test report in the specified file.help
--ginkgo.teamcity-report filenameIf set, Ginkgo will generate a Teamcity-formatted test report at the specified location.help
--ginkgo.dry-runIf set, ginkgo will walk the test hierarchy without actually running anything.help
--ginkgo.source-root stringThe location to look for source code when generating progress reports.help
-benchmarkRun benchmarks instead of validation testshelp
-benchmarking-output-dir stringOptional path to a directory in which benchmarking data should be placed.help
-benchmarking-params-file stringOptional path to a YAML file specifying benchmarking configuration options.help
-config stringLocation of the client config file.help
-image-endpoint stringImage service socket for client to connect.help
-image-service-timeout durationTimeout when trying to connect to image service.help
-nri-socket stringPath to the NRI socket.help
-parallel intThe number of parallel test nodes to run (default 1)help
-registry-prefix stringA possible registry prefix added to all images, like 'localhost:5000'help
-report-dir stringPath to the directory where the JUnit XML reports should be saved.help
-report-prefix stringOptional prefix for JUnit XML reports.help
-runtime-endpoint stringRuntime service socket for client to connect.help
-runtime-handler stringRuntime handler to use in the test.help
-runtime-service-timeout durationTimeout when trying to connect to a runtime service.help
-test-images-file stringOptional path to a YAML file containing references to custom container images to be used in tests.help
-test.artifactsstore test artifacts in test.,outputdirhelp
-test.bench regexprun only benchmarks matching regexphelp
-test.benchmemprint memory allocations for benchmarkshelp
-test.benchtime drun each benchmark for duration d or N times if `d` is of the form Nxhelp
-test.blockprofile filewrite a goroutine blocking profile to filehelp
-test.blockprofilerate rateset blocking profile rate (see runtime.SetBlockProfileRate)help
-test.count nrun tests and benchmarks n timeshelp
-test.coverprofile filewrite a coverage profile to filehelp
-test.cpu listcomma-separated list of cpu counts to run each test withhelp
-test.cpuprofile filewrite a cpu profile to filehelp
-test.failfastdo not start new tests after the first test failurehelp
-test.fullpathshow full file names in error messageshelp
-test.fuzz regexprun the fuzz test matching regexphelp
-test.fuzzcachedir stringdirectory where interesting fuzzing inputs are stored (for use only by cmd/go)help
-test.fuzzminimizetime valuetime to spend minimizing a value after finding a failing inputhelp
-test.fuzztime valuetime to spend fuzzing;help
-test.fuzzworkercoordinate with the parent process to fuzz random values (for use only by cmd/go)help
-test.gocoverdir stringwrite coverage intermediate files to this directoryhelp
-test.list regexplist tests, examples, and benchmarks matching regexp then exithelp
-test.memprofile filewrite an allocation profile to filehelp
-test.memprofilerate rateset memory allocation profiling rate (see runtime.MemProfileRate)help
-test.mutexprofile stringwrite a mutex contention profile to the named file after executionhelp
-test.mutexprofilefraction intif >= 0, calls runtime.SetMutexProfileFraction()help
-test.outputdir dirwrite profiles to dirhelp
-test.paniconexit0panic on call to os.Exit(0)help
-test.parallel nrun at most n tests in parallelhelp
-test.run regexprun only tests and examples matching regexphelp
-test.shortrun smaller test suite to save timehelp
-test.shuffle stringrandomize the execution order of tests and benchmarkshelp
-test.skip regexpdo not list or run tests matching regexphelp
-test.testlogfile filewrite test action log to file (for use only by cmd/go)help
-test.timeout dpanic test binary after duration d (default 0, timeout disabled)help
-test.trace filewrite an execution trace to filehelp
-test.vverbose: print additional outputhelp
-versionDisplay version of critesthelp
-websocket-attachUse websocket connections over SPDY for attach streaming tests.help
-websocket-execUse websocket connections over SPDY for exec streaming tests.help
-websocket-portforwardUse websocket connections over SPDY for portforward streaming tests.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.