respect --os-version and --os-type in teuthology.run. fixes #10279

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
teuthology/suite: log correct per-job description

Add 'description' to the items tracked in 'jobs_to_schedule'.
Make it a dict for somewhat clearer item extraction in the actual
scheduling loop.

Also fix an unrelated pep8 formatting error.

Fixes: #10283
Signed-off-by: Dan Mick <dan.mick@redhat.com>
we need to use fake_ctx.summary when reporting the outcome of a run because it gets modified by the tasks

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Merge pull request #388 from ceph/wip-10283

teuthology/suite: log correct per-job description
Merge pull request #389 from andrewschoen/run-report-bugfix

we need to use fake_ctx.summary when reporting the outcome of a run
put a job into a 'waiting' status while it's locking machines

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Timeout needs to be an int

Signed-off-by: Zack Cerza <zack@redhat.com>
Merge pull request #392 from andrewschoen/locking-status-10278

put a job into a 'waiting' status while it's locking machines
Merge pull request #387 from andrewschoen/issue-10279

respect --os-version and --os-type in teuthology.run. fixes #10279
teuthology.run: conditionally add fake_ctx to teuthology.config.config

The intent here is to get the 'interactive-on-error' config value
passed down to contextutil.nested(), but it is recognized that we need
a way to share global configuration; for now, since nested() really
needs the entire ctx, we can get it out of fake_ctx.config, but there
needs to be a cleaner way as FakeNamespace is phased out.

Fixes: #10260
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Fix breakage in 6114acc

Signed-off-by: Zack Cerza <zack@redhat.com>
remove the status from the call to paddles from worker; this allows the job's updated time to change without changing it's status. The status of the job could be either running or waiting

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Merge pull request #395 from andrewschoen/worker-waiting-status-bug

remove the status from the call to paddles from worker.py
Add find_stale_locks()

Signed-off-by: Zack Cerza <zack@redhat.com>
PEP-8 fixes

Signed-off-by: Zack Cerza <zack@redhat.com>
Port to docopt

Signed-off-by: Zack Cerza <zack@redhat.com>
Add teuthology-nuke --stale

Signed-off-by: Zack Cerza <zack@redhat.com>
Remove redundant read_config() call

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

teuthology-nuke --stale
Remove stray 'raise'

Signed-off-by: Zack Cerza <zack@redhat.com>