You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 26, 2022. It is now read-only.
Some tests suites such as platform-alteration require node access to get node configuration like hugepage.
151
+
In order to get the required information, the test suite does not ssh into nodes, but instead rely on [oc debug tools ](https://docs.openshift.com/container-platform/3.7/cli_reference/basic_cli_operations.html#debug). This tool makes it easier to fetch information from nodes and also to debug running pods.
152
+
153
+
In short, oc debug tool will launch a new container ending with "-debug" suffix, the container will be destroyed once the debug session is done. To be able to create the debug pod, the cluster should have enough resources, otherwise those tests would fail.
144
154
145
-
To pull the latest container and run the tests you use the following command. There are several required arguments:
155
+
**Note:**
156
+
It's recommended to clean up disk space and make sure there's enough resources to deploy another container image in every node before starting the tests.
157
+
### Run the tests
158
+
``./run-tnf-container.sh`` script is used to launch the tests.
159
+
160
+
There are several required arguments:
146
161
147
162
*`-t` gives the local directory that contains tnf config files set up for the test.
148
163
*`-o` gives the local directory that the test results will be available in once the container exits.
149
-
*`-f` gives the list of suites that should be executed
150
-
* Finally, list the specs to be run must be specified, space-separated.
164
+
*`-f` gives the list of suites to be run, space separated.
151
165
152
166
Optional arguments are:
153
167
154
168
*`-i` gives a name to a custom TNF container image. Supports local images, as well as images from external registries.
155
-
*`-k` gives a path to one or more kubeconfig files soto be used by the container to authenticate with the cluster. Paths must be separated by a colon.
169
+
*`-k` gives a path to one or more kubeconfig files to be used by the container to authenticate with the cluster. Paths must be separated by a colon.
156
170
*`-n` gives the network mode of the container. Defaults to `bridge`. See the [docker run --network parameter reference](https://docs.docker.com/engine/reference/run/#network-settings) for more information on how to configure network settings.
157
171
*`-s` gives the name of tests that should be skipped
158
172
@@ -163,7 +177,7 @@ The autodiscovery first looks for paths in the `$KUBECONFIG` environment variabl
0 commit comments