Module Expr Str ImportFrom alias FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list
N/A N/A Module containing sysbench 0.5 (and later) installation and cleanup logic.

Sysbench 0.5 contains breaking changes from previous versions. All existing
oltp benchmarks depending on older version of sysbench will break if we
install 0.5 or later for them. Therefore, it's necessary that we have a
separate installer here for 0.5 and later.
 perfkitbenchmarker vm_util YumInstall N/A N/A vm N/A N/A N/A  Installs SysBench 0.5 for Rhel/CentOS. We have to build from source! N/A N/A N/A vm Install build_tools N/A N/A N/A vm InstallPackages bzr N/A N/A N/A vm InstallPackages mysql mysql-server mysql-devel N/A N/A N/A vm RemoteCommand cd ~ && bzr branch lp:sysbench N/A N/A N/A vm RemoteCommand N/A cd ~/sysbench && ./autogen.sh && ./configure --prefix=%s --mandir=%s/share/man && make N/A N/A vm_util VM_TMP_DIR N/A vm_util VM_TMP_DIR N/A N/A N/A vm RemoteCommand cd ~/sysbench && sudo make install N/A N/A N/A vm RemoteCommand N/A sudo mkdir %s/share/doc/sysbench/tests/db -p N/A vm_util VM_TMP_DIR N/A N/A N/A vm RemoteCommand N/A sudo cp ~/sysbench/sysbench/tests/db/* %s/share/doc/sysbench/tests/db/ N/A vm_util VM_TMP_DIR N/A N/A N/A vm RemoteCommand N/A echo "export PATH=$PATH:%s/bin" >> ~/.bashrc && source ~/.bashrc N/A vm_util VM_TMP_DIR N/A N/A N/A vm RemoteCommand cd ~ && rm -fr ./sysbench N/A AptInstall N/A N/A vm N/A N/A N/A  Installs the sysbench 0.5 or later versions via APT Install  N/A N/A N/A vm RemoteCommand sudo bash -c 'echo "deb http://repo.percona.com/apt trusty main">>/etc/apt/sources.list.d/percona.list' N/A N/A N/A vm RemoteCommand sudo bash -c 'echo "deb-src http://repo.percona.com/apt trusty main">>/etc/apt/sources.list.d/percona.list' N/A N/A N/A vm RemoteCommand sudo bash -c 'echo "deb http://security.ubuntu.com/ubuntu trusty-security main">>/etc/apt/sources.list' N/A N/A N/A vm RemoteCommand sudo apt-key adv --keyserver keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A N/A N/A N/A vm RemoteCommand sudo apt-get update N/A N/A N/A vm InstallPackages libc6 N/A N/A N/A vm InstallPackages mysql-client N/A N/A N/A vm InstallPackages sysbench N/A