Test Request
Hardware Requirements
Testing Farm allows users to define hardware requirements for the testing environment. These hardware requirements are used to provision appropriate resources on supported infrastructures.
The CLI examples are shortened for brevity and concentrate only on the hardware selection. Additional required options will be required if you use them. |
The hardware selection is currently supported only on the Red Hat Ranch. Support for Public Ranch is coming in Q2/2023. |
Selection by hostname
Testing Farm provides an ability to provision a guest with a specific hostname. Ability to request a hostname matching a filter is also needed, because of guests of similar nature often sharing (sub)domain.
RAM size selection
Testing Farm provides an ability to provision a guest with specified amount of RAM. Most often, a specific amount of RAM is needed to accommodate a memory-hungry test, making the minimal requirement the most demanded one.
Disk size selection
Testing Farm provides an ability to provision a guest with specified disk size. The guest will get the disk size according to one of the suitable flavors:
-
🎩 Red Hat Ranch flavors (RH only link)
The default disk size is:
-
50 GiB
for 🌍 Public Ranch -
250 GiB
for 🎩 Red Hat Ranch
Selection by TPM version
Testing Farm provides an ability to provision a guest with specified Trusted Platform Modue (TPM) version.
Selecting systems by their boot method - BIOS
Testing Farm provides an ability to provision a guest supporting a specific boot method. The most common ones are (legacy) BIOS and UEFI, but some architectures may support their own specific methods as well.
Examples
testing-farm
CLI$ testing-farm request --hardware boot.method='bios'
$ testing-farm request --hardware boot.method='!= bios'
...
{
"environments": {[
"hardware": {
"boot": {
"method": "bios"
}
}
]}
}
...
...
{
"environments": {[
"hardware": {
"boot": {
"method": "!= bios"
}
}
]}
}
...
Selecting systems by their compatible distro
Testing Farm provides an ability to provision a guest supporting selected distributions (OS). It is possible to select a HW that is able to run a list of selected distributions.
Examples
testing-farm
CLI$ testing-farm request --hardware compatible.distro='rhel-7' --hardware compatible.distro='rhel-8'
This functionality is currently broken with CLI. See the issue here. |
...
{
"environments": {[
"hardware": {
"compatible": {
"distro": [
"rhel7",
"rhel8"
]
}
}
]}
}
...
Selection by the model name of processor
Testing Farm provides an ability to provision a guest with a CPU of a particular model name.
Selection by the model of processor
Testing Farm provides an ability to provision a guest with a CPU of a particular model.
Selection by the number of processors
Testing Farm provides an ability to provision a guest with a given (minimal) number of logical processors.
Selecting virtualized guests by their hypervisor
Testing Farm provides an ability to provision a guest that powered by a particular hypervisor.