124c9f88dSGeorge Keishing## Features of OpenBMC Test Automation ##
224c9f88dSGeorge Keishing
324c9f88dSGeorge Keishing**Interface Feature List**
424c9f88dSGeorge Keishing* REST
5acb3c1efSGeorge Keishing* DMTF Redfish
624c9f88dSGeorge Keishing* Out-of-band IPMI
724c9f88dSGeorge Keishing* SSH to BMC and Host OS
824c9f88dSGeorge Keishing
924c9f88dSGeorge Keishing**Key Feature List**
1024c9f88dSGeorge Keishing* Power on/off
1124c9f88dSGeorge Keishing* Reboot Host
1224c9f88dSGeorge Keishing* Reset BMC
1324c9f88dSGeorge Keishing* Code update BMC and host
1424c9f88dSGeorge Keishing* Power management
15dd9471e0SGeorge Keishing* Fan controller
1624c9f88dSGeorge Keishing* HTX bootme
1724c9f88dSGeorge Keishing* XCAT execution
1824c9f88dSGeorge Keishing* Network
19dd9471e0SGeorge Keishing* IPMI support (generic and DCMI compliant)
20a52159ffSGeorge Keishing* Factory reset
21a52159ffSGeorge Keishing* RAS (Reliability, availability and serviceability)
2229814f0eSGeorge Keishing* Web UI testing
2338f566bbSGeorge Keishing* Secure boot
240465b9cdSGeorge Keishing* SNMP (Simple Network Management Protocol)
252c8c33fdSGeorge Keishing* Remote Logging via Rsyslog
26f0dc6ecfSGeorge Keishing* LDAP (Lightweight Directory Access Protocol)
27f0dc6ecfSGeorge Keishing* Certificate
288a1c686aSGeorge Keishing* Local User Management(Redfish/IPMI)
29f07f5b13SGeorge Keishing* DateTime
30f07f5b13SGeorge Keishing* Event Logging
31cb858f7aSGeorge Keishing* PLDM (Platform Level Data Model) via pldmtool
3224c9f88dSGeorge Keishing
3324c9f88dSGeorge Keishing**Debugging Supported List**
3424c9f88dSGeorge Keishing* SOL collection
3524c9f88dSGeorge Keishing* FFDC collection
3624c9f88dSGeorge Keishing* Error injection from host
3724c9f88dSGeorge Keishing
38a5c6e9d6SGeorge Keishing## Installation Setup Guide ##
39a5c6e9d6SGeorge Keishing* [Robot Framework Install Instruction](https://github.com/robotframework/robotframework/blob/master/INSTALL.rst)
40b29d2e84SChris Austen
41917ba1a2SGunnar Mills* Miscellaneous
42a5c6e9d6SGeorge KeishingPackages required to be installed for OpenBmc Automation.
43a5c6e9d6SGeorge KeishingInstall the packages and it's dependencies via `pip`
44a5c6e9d6SGeorge Keishing
4512bbe002SGeorge KeishingIf using Python 3.x, use the corresponding `pip3` to install packages.
4612bbe002SGeorge KeishingNote: Older Python 2.x is not actively supported.
4712bbe002SGeorge Keishing
48a5c6e9d6SGeorge KeishingREST base packages:
49a5c6e9d6SGeorge Keishing```
50a5c6e9d6SGeorge Keishing    $ pip install -U requests
51a5c6e9d6SGeorge Keishing    $ pip install -U robotframework-requests
521da95695SGeorge Keishing    $ pip install -U robotframework-httplibrary
53a5c6e9d6SGeorge Keishing```
54aba958dcSGeorge Keishing
554e64eaddSGeorge KeishingPython redfish library packages:
564e64eaddSGeorge KeishingFor more detailed intstructions see [python-redfish-library](https://github.com/DMTF/python-redfish-library)
574e64eaddSGeorge Keishing```
584e64eaddSGeorge Keishing    $ pip install redfish
594e64eaddSGeorge Keishing```
604e64eaddSGeorge Keishing
61a5c6e9d6SGeorge KeishingSSH and SCP base packages:
62a5c6e9d6SGeorge KeishingFor more detailed installation instructions see [robotframework-sshlibrary](https://pypi.python.org/pypi/robotframework-sshlibrary)
63a5c6e9d6SGeorge Keishing```
64a5c6e9d6SGeorge Keishing    $ pip install robotframework-sshlibrary
65a5c6e9d6SGeorge Keishing    $ pip install robotframework-scplibrary
66a5c6e9d6SGeorge Keishing```
672de157e4SGeorge Keishing
6812bbe002SGeorge KeishingInstalling requirement dependencies:
6912bbe002SGeorge Keishing```
7012bbe002SGeorge Keishing    $ pip install -r requirements.txt
7112bbe002SGeorge Keishing```
7212bbe002SGeorge Keishingyou'll find this file once your clone openbmc-test-automation repository.
7312bbe002SGeorge Keishing
74aba958dcSGeorge KeishingInstalling tox:
75aba958dcSGeorge Keishing```
76aba958dcSGeorge Keishing    $ pip install -U tox
77aba958dcSGeorge Keishing```
78aba958dcSGeorge Keishing
79*77ac2bd9SPeter D  PhanInstalling expect:
80*77ac2bd9SPeter D  Phan```
81*77ac2bd9SPeter D  Phan    $ sudo apt-get install expect (Ubuntu example)
82*77ac2bd9SPeter D  Phan```
83*77ac2bd9SPeter D  Phan
842de157e4SGeorge Keishing## OpenBMC Test Development ##
852de157e4SGeorge Keishing
862de157e4SGeorge KeishingThese documents contain details on developing OpenBMC test code and debugging.
872de157e4SGeorge Keishing
888a1c686aSGeorge Keishing - [MAINTAINERS](MAINTAINERS): OpenBMC test code maintainers information.
892de157e4SGeorge Keishing - [CONTRIBUTING.md](CONTRIBUTING.md): Coding guidelines.
9002d25493SGeorge Keishing - [Code Check Tools](https://github.com/openbmc/openbmc-test-automation/blob/master/docs/code_standards_check.md): To check common code misspellings, syntax and standard checks.
912de157e4SGeorge Keishing - [REST-cheatsheet.md](https://github.com/openbmc/docs/blob/master/REST-cheatsheet.md): Quick reference for some common
928a1c686aSGeorge Keishing   curl commands required for legacy REST testing.
938a1c686aSGeorge Keishing - [REDFISH-cheatsheet.md](https://github.com/openbmc/docs/blob/master/REDFISH-cheatsheet.md): Quick reference for some common
948a1c686aSGeorge Keishing   curl commands required for redfish testing.
9529814f0eSGeorge Keishing - [README.md](https://github.com/openbmc/phosphor-webui/blob/master/README.md): Web UI setup reference.
9679385f7bSGeorge Keishing - [Corporate CLA and Individual CLA](https://github.com/openbmc/docs/blob/master/CONTRIBUTING.md#submitting-changes-via-gerrit-server): Submitting changes via Gerrit server
972de157e4SGeorge Keishing
988c7eec37SGeorge Keishing## OpenBMC Test Documentation ##
998c7eec37SGeorge Keishing
1008c7eec37SGeorge Keishing - [Tools](https://github.com/openbmc/openbmc-test-automation/blob/master/docs/openbmc_test_tools.md): Reference information for helper tools.
1018c7eec37SGeorge Keishing - [Code Update](https://github.com/openbmc/openbmc-test-automation/blob/master/docs/code_update.md): Currently supported BMC and PNOR update.
1028c7eec37SGeorge Keishing - [Certificate Generate](https://github.com/openbmc/openbmc-test-automation/blob/master/docs/certificate_generate.md): Steps to create and install CA signed certificate.
1038c7eec37SGeorge Keishing
10487a3ff53SGeorge Keishing## Supported Systems Architecture ##
10587a3ff53SGeorge Keishing
10687a3ff53SGeorge Keishing  OpenBMC test infrastructure is proven capable of running on:
10787a3ff53SGeorge Keishing  - POWER
10887a3ff53SGeorge Keishing  - x86
10987a3ff53SGeorge Keishing  systems running OpenBMC firmware stack.
11087a3ff53SGeorge Keishing
1113df030faSGeorge Keishing## Testing Setup Steps ##
1123df030faSGeorge Keishing
1133df030faSGeorge KeishingTo verify the installation setup is completed and ready to execute.
1143df030faSGeorge Keishing
1153df030faSGeorge Keishing* Download the openbmc-test-automation repository:
1163df030faSGeorge Keishing    ```
1173df030faSGeorge Keishing    $ git clone https://github.com/openbmc/openbmc-test-automation
1183df030faSGeorge Keishing    $ cd openbmc-test-automation
1193df030faSGeorge Keishing    ```
1203df030faSGeorge Keishing* Execute basic setup test run:
1213df030faSGeorge Keishing    ```
1223df030faSGeorge Keishing    $ robot -v OPENBMC_HOST:xx.xx.xx.xx templates/test_openbmc_setup.robot
1233df030faSGeorge Keishing    ```
1243df030faSGeorge Keishing    where xx.xx.xx.xx is the BMC hostname or IP.
125a5c6e9d6SGeorge Keishing
1265977d2aeSGeorge Keishing## Test Layout ##
1275977d2aeSGeorge Keishing
1285977d2aeSGeorge KeishingThere are several sub-directories within the openbmc-test-automation base which
1295977d2aeSGeorge Keishingcontain test suites, tools, templates, etc. These sub-directories are
1305977d2aeSGeorge Keishingclassified as follows:
1315977d2aeSGeorge Keishing
1325977d2aeSGeorge Keishing`tests/`: Contains the general test cases for OpenBMC stack functional
13306d35d7dSGeorge Keishing          verification. The "tests" subdirectory uses legacy REST and will be
13406d35d7dSGeorge Keishing          deprecated at some point and therefore no longer supported.
1355977d2aeSGeorge Keishing
136f07f5b13SGeorge Keishing`extended/`: Contains test cases for boot testing, code update testing using legacy REST, etc.
1375977d2aeSGeorge Keishing
138b7ec2790SGeorge Keishing`systest/`: Contains test cases for HTX bootme testing.
1395977d2aeSGeorge Keishing
1405977d2aeSGeorge Keishing`xcat/`: Contains test cases for XCAT automation.
1415977d2aeSGeorge Keishing
142038e0049SRahul Maheshwari`gui/`: Contains test cases for testing web-based interface built on AngularJS.
143038e0049SRahul Maheshwari
144038e0049SRahul Maheshwari`gui/gui_test/`: Contains test cases for testing web-based user interface built on Vue.js.
14529814f0eSGeorge Keishing
146cb858f7aSGeorge Keishing`pldm/`: Contains test cases for platform management subsystem (base, bios, fru, platform, OEM).
147cb858f7aSGeorge Keishing
1480465b9cdSGeorge Keishing`snmp/`: Contains test cases for SNMP (Simple Network Management Protocol)
1490465b9cdSGeorge Keishing         configuration testing.
1500465b9cdSGeorge Keishing
1510465b9cdSGeorge Keishing`openpower/ras/`: Contains test cases for RAS (Reliability, Availability and
1520465b9cdSGeorge Keishing                  Serviceability) for an OpenPOWER system.
1530465b9cdSGeorge Keishing
1540465b9cdSGeorge Keishing`openpower/secureboot/`: Contains test cases for secure boot testing on a
1550465b9cdSGeorge Keishing                         secure boot feature enabled OpenPOWER system only.
15638f566bbSGeorge Keishing
1575977d2aeSGeorge Keishing`tools/`: Contains various tools.
1585977d2aeSGeorge Keishing
1595977d2aeSGeorge Keishing`templates/`: Contains sample code examples and setup testing.
160acb3c1efSGeorge Keishing
161aba958dcSGeorge Keishing`test_list/`: Contains the argument files used for skipping test cases
162aba958dcSGeorge Keishing              (e.g "skip_test", "skip_test_extended", etc.) or
163aba958dcSGeorge Keishing              grouping them (e.g "HW_CI", "CT_basic_run", etc.).
164aba958dcSGeorge Keishing
165acb3c1efSGeorge Keishing
166acb3c1efSGeorge Keishing## Redfish Test Layout ##
167acb3c1efSGeorge Keishing
168acb3c1efSGeorge KeishingOpenBMC is moving steadily towards DTMF Redfish, which is an open industry standard
169acb3c1efSGeorge Keishingspecification and schema that meets the expectations of end users for simple,
170acb3c1efSGeorge Keishingmodern and secure management of scalable platform hardware.
171acb3c1efSGeorge Keishing
172f07f5b13SGeorge Keishing`redfish/`: Contains test cases for DMTF Redfish-related feature supported on OpenBMC.
1733292d4acSGeorge Keishing
174f32ee4cbSGeorge Keishing`redfish/extended/`: Contains test cases for combined legacy REST and DMTF Redfish-related
175f32ee4cbSGeorge Keishing                     feature supported on OpenBMC.
176f32ee4cbSGeorge Keishing
177a53c3419SGeorge KeishingNote: Work in progress test development parameter `-v REDFISH_SUPPORT_TRANS_STATE:1` to force
17887a3ff53SGeorge Keishing      the test suites to execute in redfish mode only.
179acb3c1efSGeorge Keishing
1805977d2aeSGeorge Keishing
181a5c6e9d6SGeorge Keishing## Quickstart ##
1825977d2aeSGeorge KeishingTo run openbmc-automation first you need to install the prerequisite Python
1835977d2aeSGeorge Keishingpackages which will help to invoke tests through tox (Note that tox
1845977d2aeSGeorge Keishingversion 2.3.1 or greater is required) or via Robot CLI command.
1855977d2aeSGeorge Keishing
1865977d2aeSGeorge Keishing**Robot Command Line**
1875977d2aeSGeorge Keishing
1885977d2aeSGeorge Keishing* Execute all test suites for `tests/`:
1895977d2aeSGeorge Keishing    ```
1905977d2aeSGeorge Keishing    $ robot -v OPENBMC_HOST:xx.xx.xx.xx  tests
1915977d2aeSGeorge Keishing    ```
192aba958dcSGeorge Keishing
1935977d2aeSGeorge Keishing* Execute a test suite:
1945977d2aeSGeorge Keishing    ```
195088da102SGeorge Keishing    $ robot -v OPENBMC_HOST:xx.xx.xx.xx redfish/extended/test_basic_ci.robot
1965977d2aeSGeorge Keishing    ```
197b29d2e84SChris Austen
19849a80604SGeorge Keishing* Initialize the following test variables which will be used during test execution:
19949a80604SGeorge Keishing
20049a80604SGeorge Keishing    User can forward declare as environment variables:
201a7c46e39SGeorge Keishing    ```
20249a80604SGeorge Keishing    $ export OPENBMC_HOST=<openbmc machine IP address/hostname>
2037a212a09SRahul Maheshwari    $ export OPENBMC_USERNAME=<openbmc username>
20449a80604SGeorge Keishing    $ export OPENBMC_PASSWORD=<openbmc password>
2057a212a09SRahul Maheshwari    $ export IPMI_COMMAND=<Dbus/External>
20649a80604SGeorge Keishing    ```
20749a80604SGeorge Keishing
20849a80604SGeorge Keishing    or
20949a80604SGeorge Keishing
21049a80604SGeorge Keishing    User can input as robot variables as part of the CLI command:
21149a80604SGeorge Keishing    ```
21249a80604SGeorge Keishing    -v OPENBMC_HOST:<openbmc machine IP address/hostname>
21349a80604SGeorge Keishing    -v OPENBMC_USERNAME:<openbmc username>
21449a80604SGeorge Keishing    -v OPENBMC_PASSWORD:<openbmc password>
215359f8039SGeorge Keishing    ```
216b29d2e84SChris Austen
217a7c46e39SGeorge Keishing* For QEMU tests, set the following environment variables as well:
218a7c46e39SGeorge Keishing    ```
2194d6c1dabSGeorge Keishing    $ export SSH_PORT=<ssh port number>
2204d6c1dabSGeorge Keishing    $ export HTTPS_PORT=<https port number>
221a7c46e39SGeorge Keishing    ```
222b29d2e84SChris Austen
223a7c46e39SGeorge Keishing* Run tests:
224a7c46e39SGeorge Keishing    ```
2255e021124SAlvin Wang    $ tox tests
226b29d2e84SChris Austen    ```
227b29d2e84SChris Austen
228a7c46e39SGeorge Keishing* How to run individual test:
22988acd8daSGeorge Keishing
230a7c46e39SGeorge Keishing    One specific test:
231a7c46e39SGeorge Keishing    ```
232a7c46e39SGeorge Keishing    $ tox -e default -- --include Power_On_Test  tests/test_basic_poweron.robot
233a7c46e39SGeorge Keishing    ```
234a7c46e39SGeorge Keishing    No preset environment variables, default configuration for all supported
235a7c46e39SGeorge Keishing    systems:
236a7c46e39SGeorge Keishing    ```
23788acd8daSGeorge Keishing    $ OPENBMC_HOST=x.x.x.x tox -e default -- tests
238a7c46e39SGeorge Keishing    ```
239a7c46e39SGeorge Keishing    No preset environment variables, one test case from a test suite:
240a7c46e39SGeorge Keishing    ```
241a7c46e39SGeorge Keishing    $ OPENBMC_HOST=x.x.x.x tox -e default -- --include Power_On_Test tests/test_basic_poweron.robot
242a7c46e39SGeorge Keishing    ```
243a7c46e39SGeorge Keishing    No preset environment variables, the entire test suite:
244a7c46e39SGeorge Keishing    ```
245a7c46e39SGeorge Keishing    $ OPENBMC_HOST=x.x.x.x tox -e default -- tests
246a7c46e39SGeorge Keishing    ```
247a7c46e39SGeorge Keishing
24808fd617cSRahul Maheshwari    No preset environment variables, the entire test suite excluding test
249a7c46e39SGeorge Keishing    cases using argument file:
250a7c46e39SGeorge Keishing    ```
251a7c46e39SGeorge Keishing    $ OPENBMC_HOST=x.x.x.x tox -e default -- --argumentfile test_lists/skip_test tests
252a7c46e39SGeorge Keishing    ```
253ddf0cc2aSGeorge Keishing
254ddf0cc2aSGeorge Keishing    Exclude test list for supported systems:
255a7c46e39SGeorge Keishing    ```
256ddf0cc2aSGeorge Keishing    Palmetto:  test_lists/skip_test_palmetto
257ddf0cc2aSGeorge Keishing    Witherspoon:  test_lists/skip_test_witherspoon
258b29d2e84SChris Austen    ```
259b29d2e84SChris Austen
2607eea8ed0SRahul Maheshwari
2617eea8ed0SRahul Maheshwari* Run IPMI tests:
2627eea8ed0SRahul Maheshwari
2637eea8ed0SRahul Maheshwari    Running only out-of-band IPMI tests:
2647eea8ed0SRahul Maheshwari    ```
2657eea8ed0SRahul Maheshwari    $ robot -v IPMI_COMMAND:External -v OPENBMC_HOST:x.x.x.x --argumentfile test_lists/witherspoon/skip_inband_ipmi tests/ipmi/
2667eea8ed0SRahul Maheshwari    ```
2677eea8ed0SRahul Maheshwari
2687eea8ed0SRahul Maheshwari    Running only inband IPMI tests:
2697eea8ed0SRahul Maheshwari    ```
2707eea8ed0SRahul Maheshwari    $ robot -v IPMI_COMMAND:Inband -v OPENBMC_HOST:x.x.x.x -v OS_HOST:x.x.x.x -v OS_USERNAME:xxxx -v OS_PASSWORD:xxxx --argumentfile test_lists/witherspoon/skip_oob_ipmi tests/ipmi/
2717eea8ed0SRahul Maheshwari    ```
2727eea8ed0SRahul Maheshwari
2737eea8ed0SRahul Maheshwari
274dd38aef3SRahul Maheshwari* Run GUI tests:
275dd38aef3SRahul Maheshwari
276dd38aef3SRahul Maheshwari    By default, GUI runs with Firefox browser and headless mode. Example with chrome browser and header mode:
277dd38aef3SRahul Maheshwari    ```
278eeb93c31SRahul Maheshwari    $ robot -v OPENBMC_HOST:x.x.x.x -v GUI_BROWSER:gc -v GUI_MODE:header gui/test/
279dd38aef3SRahul Maheshwari    ```
280dd38aef3SRahul Maheshwari
2812bd32ff1SRahul Maheshwari    Run GUI default CI test bucket:
2822bd32ff1SRahul Maheshwari    ```
283eeb93c31SRahul Maheshwari    $ robot -v OPENBMC_HOST:x.x.x.x --argumentfile test_lists/BMC_WEB_CI gui/test/
2842bd32ff1SRahul Maheshwari    ```
2852bd32ff1SRahul Maheshwari
2865d00a3c8SSivas SRR* Run LDAP tests:
2875d00a3c8SSivas SRR
2885d00a3c8SSivas SRR    Before using LDAP test functions, be sure appropriate LDAP user(s) and group(s) have been created on your LDAP server.
2895d00a3c8SSivas SRR    Note: There are multiple ways to create LDAP users / groups and all depend on your LDAP server.
2905d00a3c8SSivas SRR    One common way for openldap is ldapadd / ldapmodify refer https://linux.die.net/man/1/ldapadd
2915d00a3c8SSivas SRR    For ldapsearch, refer to "https://linux.die.net/man/1/ldapsearch".
2925d00a3c8SSivas SRR    Microsoft ADS: refer to  https://searchwindowsserver.techtarget.com/definition/Microsoft-Active-Directory-Domain-Services-AD-DS
293962ff298SSivas SRR
294962ff298SSivas SRR   Note: Currently, LDAP test automation for Redfish API is in progress. The format to invoke LDAP test is as follows:
2955d00a3c8SSivas SRR    ```
296962ff298SSivas SRR    $ cd redfish/account_service/
297962ff298SSivas SRR    $ robot -v OPENBMC_HOST:x.x.x.x -v LDAP_SERVER_URI:<ldap(s)//LDAP Hostname / IP> -v LDAP_BIND_DN:<LDAP Bind DN> -v LDAP_BASE_DN:<LDAP Base DN> -v LDAP_BIND_DN_PASSWORD:<LDAP Bind password> -v LDAP_SEARCH_SCOPE:<LDAP search scope> -v LDAP_SERVER_TYPE:<LDAP server type> -v LDAP_USER:<LDAP user-id> -v LDAP_USER_PASSWORD:<LDAP PASSWORD> -v GROUP_NAME:<Group Name> -v GROUP_PRIVILEGE:<Privilege>  ./test_ldap_configuration.robot
2985d00a3c8SSivas SRR    ```
2995d00a3c8SSivas SRR
300d7c26840SGeorge Keishing* How to run CI and CT bucket test:
301d7c26840SGeorge Keishing
302d7c26840SGeorge Keishing    Default CI test bucket list:
303d7c26840SGeorge Keishing    ```
304d7c26840SGeorge Keishing    $ OPENBMC_HOST=x.x.x.x tox -e default -- --argumentfile test_lists/HW_CI tests
305d7c26840SGeorge Keishing    ```
306d7c26840SGeorge Keishing
307d7c26840SGeorge Keishing    Default CI smoke test bucket list:
308d7c26840SGeorge Keishing    ```
309d7c26840SGeorge Keishing    $ OPENBMC_HOST=x.x.x.x tox -e default -- --argumentfile test_lists/CT_basic_run tests
310d7c26840SGeorge Keishing    ```
311d7c26840SGeorge Keishing
312aba958dcSGeorge Keishing* Run extended tests:
313aba958dcSGeorge Keishing
314aba958dcSGeorge Keishing    For-loop test (default iteration is 10):
315aba958dcSGeorge Keishing    ```
316aba958dcSGeorge Keishing    $ robot -v OPENBMC_HOST:x.x.x.x -v OPENBMC_SYSTEMMODEL:xxxxxx -v ITERATION:n -v LOOP_TEST_COMMAND:xxxxxx extended/full_suite_regression.robot
317aba958dcSGeorge Keishing    ```
318aba958dcSGeorge Keishing
319aba958dcSGeorge Keishing    Example using tox testing a test suite for 5 iterations "witherspoon":
320aba958dcSGeorge Keishing    ```
321aba958dcSGeorge Keishing    OPENBMC_HOST=x.x.x.x  LOOP_TEST_COMMAND="tests/test_fw_version.robot" ITERATION=5 OPENBMC_SYSTEMMODEL=witherspoon tox -e witherspoon -- ./extended/full_suite_regression.robot
322aba958dcSGeorge Keishing    ```
323aba958dcSGeorge Keishing
324d61a64baSKonstantin Aladyshev* Host CPU architecture
325d61a64baSKonstantin Aladyshev
326d61a64baSKonstantin Aladyshev    By default openbmc-test-automation framework assumes that host CPU is based on the POWER architecture.
327c056c2bbSKonstantin Aladyshev    If your host CPU is x86 add `-v PLATFORM_ARCH_TYPE:x86` variable setting to your CLI commands or set an environment variable:
328c056c2bbSKonstantin Aladyshev    ```
329c056c2bbSKonstantin Aladyshev    $ export PLATFORM_ARCH_TYPE=x86
330c056c2bbSKonstantin Aladyshev    ```
331d61a64baSKonstantin Aladyshev
332aba958dcSGeorge Keishing**Jenkins jobs tox commands**
333aba958dcSGeorge Keishing* HW CI tox command:
334aba958dcSGeorge Keishing    ```
335aba958dcSGeorge Keishing    $ OPENBMC_HOST=x.x.x.x tox -e default -- --argumentfile test_lists/HW_CI tests
336aba958dcSGeorge Keishing    ```
337