3. Run the test-suite¶
Once the configuration steps are completed, the Test-Suite is ready to be run:
$ ./test_suite <options>
Options¶
The following table describes all the available options:
Name | Explanation / Values |
---|---|
–only-test | Run without creating the infrastructure (VMs and cluster), only deploy tests.
Not valid for the first run.
|
–retry | In case of errors on the first run, use this option for retrying. This will make the test-suite
try and reuse already provisioned infrastructure.
Not valid for the first run, use only when VMs were provisioned but kubernetes
bootstrapping failed.
|
Other commands¶
Once the test suite is running, you can view the Terraform logs by doing:
$ tail -f logs
Once the provisioning has completed and tests are deployed, you can see the pods statuses by doing:
$ watch kubectl get pods
If GPU and HPC tests were deployed, see their pods by doing:
$ watch kubectl --kubeconfig src/tests/dlTest/config get pods # For GPU cluster
$ watch kubectl --kubeconfig src/tests/hpcTest/config get pods # For HPC cluster