Add a default results_sending_email

Signed-off-by: Zack Cerza <zack@redhat.com>
Mention test name when failing to schedule

Signed-off-by: Zack Cerza <zack@redhat.com>
Choose SHA1 sums more intelligently

By checking the actual gitbuilder archive that we care about, if
--distro is passed. If it is not, tweak the default to 'rhel' instead of
'ubuntu' since that seems to produce better results. To be clear, this
is a workaround I'm putting in place since our gitbuilders never seem to
be in sync.

Signed-off-by: Zack Cerza <zack@redhat.com>
Merge pull request #364 from ceph/wip-scheduling

Fix / work around gitbuilder problems
ceph.conf: filestore fiemap = true

Signed-off-by: Sage Weil <sage@redhat.com>
Verify running pid before passing it to be killed.

So we don't kill other processes that have taken jobs pid since
job has been no longer running.

Signed-off-by: Sandon Van Ness <sandon@redhat.com>
Merge pull request #365 from ceph/wip-kill-pid-check

Verify running pid before passing it to be killed.
port the argument parsing for teuthology.run to docopt

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Adds a FakeNamespace object to teuthology.config that mimics
what an argparse Namespace looks like when teuthology.misc.read_config
is used on it.  This allows us to refactor our commands to use docopt
but still all all the tasks to be passed one big namespace.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Creates a merge_configs function in teuthology.misc that will be used
by run and schedule, nuke will need this eventually as well.  The old
way of doing this was too tightly coupled with argparse.  Wrote some
tests around the new function; increased coverage on misc by 4%.

Random lint fixes as well.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
wip commit; porting run to docopt; writings lots of tests.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>