Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introducing logfile checksumming + various fixes #37

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

Introducing logfile checksumming + various fixes #37

wants to merge 12 commits into from

Conversation

lcts
Copy link

@lcts lcts commented May 22, 2018

Main changes:

  • all logfiles are automatically checksummed, the checksums are saved alongside the files in ../logs (To address Hash the generated logs to avoid any tampering with the results. #3 )
  • fixed errors caused by outdated links (mariadb source) and changes upstream (apachebench docker image)
  • playbook is now compatible with all versions of Debian >= 8 and Ubuntu >= 16.04

I've tried to make it so that benchmark-relevant packages are as independent of the underlying distribution as possible. To this end, I decided to use the current 1.x branch of sysbench for all distros instead of backporting (frontporting?) 0.4.x branch to the newer ones.

lcts added 12 commits May 22, 2018 12:04
Furure-prrofing:
Don't rely on groups/build-deps when source is not from
the repos. Source dependencies might differ from repo
dependencies/groups. This is the case when e.g. MariaDB
in repo is a different branch than the source.
On systems that don't have /usr/bin/python, use /usr/bin/python3.
Call /usr/bin/python(3) instead of /usr/bin/env python in
speedtest-cli because 'python' might not be present.
Many mirrors don't keep older source version around.
downloads.mariadb.com does.
Some versions of gcc (currently those distributed with
Ubuntu Bionic and Debian Stretch) segfault when compiling
mroonga db, so omit it. Compiling still is sufficiently
complex without it.
Syntax between sysbench 1.x and 0.4.x is very different. Using
sysbench 1.x from upstream directly ensures consistency regardless
of underlying distribution.
Calculate sha512-checksums for all files saved to ../log.
Checksum of <file> are saved as <file>.sha512 . Unless
the target file is IP-filtered or generated on localhost,
checksumming is performed on the remote host.
Move hosts and ansible.cfg to hosts.template and
ansible.cfg.template, add hosts and ansible.cfg to
.gitignore.

These files will always have to be changed by the user
and therefore should not be part of the repo.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant