How To Install booth-test on CentOS 8

booth-test is Test scripts for Booth

Introduction

In this tutorial we learn how to install booth-test on CentOS 8.

What is booth-test

Automated tests for running Booth, ticket manager for multi-site clusters.

We can use yum or dnf to install booth-test on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install booth-test.

Install booth-test on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install booth-test using dnf by running the following command:

sudo dnf -y install booth-test

Install booth-test on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install booth-test using yum by running the following command:

sudo yum -y install booth-test

How To Uninstall booth-test on CentOS 8

To uninstall only the booth-test package we can use the following command:

sudo dnf remove booth-test

booth-test Package Contents on CentOS 8

/usr/lib/ocf/resource.d/booth/sharedrsc
/usr/share/booth/tests
/usr/share/booth/tests/__pycache__
/usr/share/booth/tests/__pycache__/unit-test.cpython-36.opt-1.pyc
/usr/share/booth/tests/__pycache__/unit-test.cpython-36.pyc
/usr/share/booth/tests/conf
/usr/share/booth/tests/conf/Makefile
/usr/share/booth/tests/conf/Makefile.am
/usr/share/booth/tests/conf/Makefile.in
/usr/share/booth/tests/conf/booth-arbitrator.service
/usr/share/booth/tests/conf/booth-arbitrator.service.in
/usr/share/booth/tests/conf/booth.conf.example
/usr/share/booth/tests/conf/[email protected]
/usr/share/booth/tests/conf/[email protected]
/usr/share/booth/tests/src
/usr/share/booth/tests/src/boothd
/usr/share/booth/tests/test
/usr/share/booth/tests/test/__pycache__
/usr/share/booth/tests/test/__pycache__/arbtests.cpython-36.opt-1.pyc
/usr/share/booth/tests/test/__pycache__/arbtests.cpython-36.pyc
/usr/share/booth/tests/test/__pycache__/assertions.cpython-36.opt-1.pyc
/usr/share/booth/tests/test/__pycache__/assertions.cpython-36.pyc
/usr/share/booth/tests/test/__pycache__/boothrunner.cpython-36.opt-1.pyc
/usr/share/booth/tests/test/__pycache__/boothrunner.cpython-36.pyc
/usr/share/booth/tests/test/__pycache__/boothtestenv.cpython-36.opt-1.pyc
/usr/share/booth/tests/test/__pycache__/boothtestenv.cpython-36.pyc
/usr/share/booth/tests/test/__pycache__/clientenv.cpython-36.opt-1.pyc
/usr/share/booth/tests/test/__pycache__/clientenv.cpython-36.pyc
/usr/share/booth/tests/test/__pycache__/clienttests.cpython-36.opt-1.pyc
/usr/share/booth/tests/test/__pycache__/clienttests.cpython-36.pyc
/usr/share/booth/tests/test/__pycache__/runtests.cpython-36.opt-1.pyc
/usr/share/booth/tests/test/__pycache__/runtests.cpython-36.pyc
/usr/share/booth/tests/test/__pycache__/serverenv.cpython-36.opt-1.pyc
/usr/share/booth/tests/test/__pycache__/serverenv.cpython-36.pyc
/usr/share/booth/tests/test/__pycache__/servertests.cpython-36.opt-1.pyc
/usr/share/booth/tests/test/__pycache__/servertests.cpython-36.pyc
/usr/share/booth/tests/test/__pycache__/sitetests.cpython-36.opt-1.pyc
/usr/share/booth/tests/test/__pycache__/sitetests.cpython-36.pyc
/usr/share/booth/tests/test/__pycache__/utils.cpython-36.opt-1.pyc
/usr/share/booth/tests/test/__pycache__/utils.cpython-36.pyc
/usr/share/booth/tests/test/arbtests.py
/usr/share/booth/tests/test/assertions.py
/usr/share/booth/tests/test/booth_path
/usr/share/booth/tests/test/boothrunner.py
/usr/share/booth/tests/test/boothtestenv.py
/usr/share/booth/tests/test/boothtestenv.py.in
/usr/share/booth/tests/test/clientenv.py
/usr/share/booth/tests/test/clienttests.py
/usr/share/booth/tests/test/live_test.sh
/usr/share/booth/tests/test/runtests.py
/usr/share/booth/tests/test/runtests.py.in
/usr/share/booth/tests/test/serverenv.py
/usr/share/booth/tests/test/servertests.py
/usr/share/booth/tests/test/sitetests.py
/usr/share/booth/tests/test/utils.py
/usr/share/booth/tests/unit-test.py
/usr/share/booth/tests/unit-tests
/usr/share/booth/tests/unit-tests/001_init-get-heartbeat.txt
/usr/share/booth/tests/unit-tests/002_bad_packets.txt
/usr/share/booth/tests/unit-tests/003_pacemaker.txt
/usr/share/booth/tests/unit-tests/010_retries.txt
/usr/share/booth/tests/unit-tests/020_ext-verifier.txt
/usr/share/booth/tests/unit-tests/060_catchup_same_owner.txt
/usr/share/booth/tests/unit-tests/100_abort-after-retries.txt
/usr/share/booth/tests/unit-tests/_defaults.txt
/usr/share/booth/tests/unit-tests/bin
/usr/share/booth/tests/unit-tests/bin/crm_ticket
/usr/share/booth/tests/unit-tests/booth.conf
/usr/share/booth/tests/unit-tests/init-catchup.txt
/usr/share/doc/booth/README-testing

References

Summary

In this tutorial we learn how to install booth-test on CentOS 8 using yum and dnf.