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)
| Option | Description | Source |
|---|---|---|
--ginkgo.randomize-all | If set, ginkgo will randomize all specs together. | help |
--ginkgo.label-filter expression | If set, ginkgo will only run specs with labels that match the label-filter. | help |
--ginkgo.sem-ver-filter version | If set, ginkgo will only run specs with semantic version constraints that are satisfied by the provided version. | help |
--ginkgo.focus string | If set, ginkgo will only run specs that match this regular expression. | help |
--ginkgo.skip string | If set, ginkgo will only run specs that do not match this regular expression. | help |
--ginkgo.fail-on-pending | If set, ginkgo will mark the test suite as failed if any specs are pending. | help |
--ginkgo.fail-fast | If set, ginkgo will stop running a test suite after a failure occurs. | help |
--ginkgo.fail-on-empty | If set, ginkgo will mark the test suite as failed if no specs are run. | help |
--ginkgo.no-color | If set, suppress color output in default reporter. | help |
--ginkgo.v | If set, emits more output including GinkgoWriter contents. | help |
--ginkgo.vv | If set, emits with maximal verbosity - includes skipped and pending tests. | help |
--ginkgo.succinct | If set, default reporter prints out a very succinct report | help |
--ginkgo.trace | If set, default reporter prints out the full stack trace when a failure occurs | help |
--ginkgo.show-node-events | If set, default reporter prints node > Enter and < Exit events when specs fail | help |
--ginkgo.github-output | If set, default reporter prints easier to manage output in Github Actions. | help |
--ginkgo.silence-skips | If set, default reporter will not print out skipped tests. | help |
--ginkgo.force-newlines | If set, default reporter will ensure a newline appears after each test. | help |
--ginkgo.fd | If set, emits RSpec-style 'format documentation' output instead of Ginkgo's default output. | help |
--ginkgo.json-report filename.json | If set, Ginkgo will generate a JSON-formatted test report at the specified location. | help |
--ginkgo.gojson-report filename.json | If set, Ginkgo will generate a Go JSON-formatted test report at the specified location. | help |
--ginkgo.junit-report filename.xml | If set, Ginkgo will generate a conformant junit test report in the specified file. | help |
--ginkgo.teamcity-report filename | If set, Ginkgo will generate a Teamcity-formatted test report at the specified location. | help |
--ginkgo.dry-run | If set, ginkgo will walk the test hierarchy without actually running anything. | help |
--ginkgo.source-root string | The location to look for source code when generating progress reports. | help |
-benchmark | Run benchmarks instead of validation tests | help |
-benchmarking-output-dir string | Optional path to a directory in which benchmarking data should be placed. | help |
-benchmarking-params-file string | Optional path to a YAML file specifying benchmarking configuration options. | help |
-config string | Location of the client config file. | help |
-image-endpoint string | Image service socket for client to connect. | help |
-image-service-timeout duration | Timeout when trying to connect to image service. | help |
-nri-socket string | Path to the NRI socket. | help |
-parallel int | The number of parallel test nodes to run (default 1) | help |
-registry-prefix string | A possible registry prefix added to all images, like 'localhost:5000' | help |
-report-dir string | Path to the directory where the JUnit XML reports should be saved. | help |
-report-prefix string | Optional prefix for JUnit XML reports. | help |
-runtime-endpoint string | Runtime service socket for client to connect. | help |
-runtime-handler string | Runtime handler to use in the test. | help |
-runtime-service-timeout duration | Timeout when trying to connect to a runtime service. | help |
-test-images-file string | Optional path to a YAML file containing references to custom container images to be used in tests. | help |
-test.artifacts | store test artifacts in test.,outputdir | help |
-test.bench regexp | run only benchmarks matching regexp | help |
-test.benchmem | print memory allocations for benchmarks | help |
-test.benchtime d | run each benchmark for duration d or N times if `d` is of the form Nx | help |
-test.blockprofile file | write a goroutine blocking profile to file | help |
-test.blockprofilerate rate | set blocking profile rate (see runtime.SetBlockProfileRate) | help |
-test.count n | run tests and benchmarks n times | help |
-test.coverprofile file | write a coverage profile to file | help |
-test.cpu list | comma-separated list of cpu counts to run each test with | help |
-test.cpuprofile file | write a cpu profile to file | help |
-test.failfast | do not start new tests after the first test failure | help |
-test.fullpath | show full file names in error messages | help |
-test.fuzz regexp | run the fuzz test matching regexp | help |
-test.fuzzcachedir string | directory where interesting fuzzing inputs are stored (for use only by cmd/go) | help |
-test.fuzzminimizetime value | time to spend minimizing a value after finding a failing input | help |
-test.fuzztime value | time to spend fuzzing; | help |
-test.fuzzworker | coordinate with the parent process to fuzz random values (for use only by cmd/go) | help |
-test.gocoverdir string | write coverage intermediate files to this directory | help |
-test.list regexp | list tests, examples, and benchmarks matching regexp then exit | help |
-test.memprofile file | write an allocation profile to file | help |
-test.memprofilerate rate | set memory allocation profiling rate (see runtime.MemProfileRate) | help |
-test.mutexprofile string | write a mutex contention profile to the named file after execution | help |
-test.mutexprofilefraction int | if >= 0, calls runtime.SetMutexProfileFraction() | help |
-test.outputdir dir | write profiles to dir | help |
-test.paniconexit0 | panic on call to os.Exit(0) | help |
-test.parallel n | run at most n tests in parallel | help |
-test.run regexp | run only tests and examples matching regexp | help |
-test.short | run smaller test suite to save time | help |
-test.shuffle string | randomize the execution order of tests and benchmarks | help |
-test.skip regexp | do not list or run tests matching regexp | help |
-test.testlogfile file | write test action log to file (for use only by cmd/go) | help |
-test.timeout d | panic test binary after duration d (default 0, timeout disabled) | help |
-test.trace file | write an execution trace to file | help |
-test.v | verbose: print additional output | help |
-version | Display version of critest | help |
-websocket-attach | Use websocket connections over SPDY for attach streaming tests. | help |
-websocket-exec | Use websocket connections over SPDY for exec streaming tests. | help |
-websocket-portforward | Use websocket connections over SPDY for portforward streaming tests. | help |