Testing Farm uses a simple results viewer for viewing test results via it’s Oculus component.
It provides a unified interfaces for viewing results among all users of Testing Farm.
The results viewer is the
index.html of the Artifacts Storage.
The code is contributable in case you would like to introduce some improvements.
If all tests passed, everything is collapsed to provide a nice view of all executed tests (or plans).
Here is an example of a run with all passed results:
When some of the tests failed, the viewer shows only expanded failed tests.
All the passed tests are by default hidden, to view them, click on the
Show passed tests checkbox in the header.
The results viewer header provides some useful links.
A link to the API request details. It provides additional information about the request.
The JSON is not pretty printed, it is advised to use a JSON formatter to display it nicely, in case your browser does not support it out-of-box.
This is the output of the Testing Farm Worker, in cases of errors it can provide more context about the issues hit in the pipeline.
Issues for this page
A link to the viewer’s public issue tracker.
Testing Farm provides a standard JUnit XML which can be downloaded by clicking on the link. You can use this file for importing results to other result viewers.
See Test Process page to understand more about how Testing Farm executes the tests.
In general, results are displayed as a list of one or more plans, where each of these plans has one or more tests.
In case of
├── plan1 │ ├── test1 │ ├── test2 │ └── test3 ├── plan2 │ ├── test1 │ ├── test2 │ └── test3 ...
The test execution logs are the outputs of executed tests. They are previewed directly in the result viewer. There is also a link to access the test output file.
tmttests, the link to them is called
testout.logand it points to the output of the tmt test execution.
STItests the link has a
.logsuffix, and it called according to the generated test name, it points to the captured test output.
At the bottom of the test execution logs additional links are provided.
These currently contain at least one item -
tmttests this is the link to the tests execution data directory
STItests this points to the working of the whole execution, i.e. it is the same for all tests
In some cases the log links can provide additional logs, see for example logs from the
Additional logs and artifacts are provided for each tmt plan or STI playbook.
You can use the link
Go to Logs and Artifacts to quickly scroll down to them.
See Reproducer for details.
Currently logs from the test environment preparation are included:
tmt tests, also a link to the working directly with all tmt logs is provided:
workdir- you can find here for example the full
Serial console of the provisioned machine is available under
The content of the file can be incomplete, depending on the underlying infrastructure where the tests run.
Some infratructures limit the maxium size of the console log.
Console log snapshots can be found in the
workdir, in case the console log would be incomplete.
tmt tests a code snippet is provided for reproducing test execution on your localhost.
The reproducer is not available for
You can use this snippet to:
clone the same test repository that was used for testing
install tested artifacts before running the tests
run testing on your localhost against a similar environment that was used in CI
If applicable, the artifacts installation is optional in the Testing Farm request.
tmt-reproducer is a work in progress, and currently has these limitations:
Even if these limitations currently exist, we believe the reproducer is very handy for debugging test failures, and it is advised to use it in case of problems.
This section gives you some hints for investigating common errors you can encounter with Testing Farm.
When the request errors out, the viewer header shows
All plans which failed with an error are marked with an orange color.
Errors can happen in various stages of the Test Process. Usually, a reasonable error is shown in the plan summary, that should give you a hint what went wrong.
If Testing Farm is not able to provision resources required to run the tests, the test environment execution will fail.
This can have multiple causes:
If Testing Farm is not able to prepare the test environment, the test environment execution will fail. There is no point to continue in the testing process if test environment is not properly prepared.
This can happen if all artifacts cannot be installed because of conflicts, missing dependencies, etc. The viewer shows the logs from the artifact installation, which should help you identifying the problem.
In case your artifacts have conflicting packages, you can use the
install plugin of the
tmt documentation for details.
The excluding works only for
Testing Farm installs all rpms from all artifacts given. This can cause issues when multiple builds are tested together, for example with certain Bodhi updates. We plan to fix this in the next releases. See this issue for details.
If the testing is stuck in progress log, it usually means:
Your test run for more then 12 hours, and it was forcibly cancelled
We are working on improving this. See this issue for details.