]> git.apps.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
10 years agoAdd basic unit tests for Downburst 459/head
Zack Cerza [Thu, 9 Apr 2015 16:33:26 +0000 (10:33 -0600)]
Add basic unit tests for Downburst

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMake *_if_vm() more unit-testable
Zack Cerza [Thu, 9 Apr 2015 16:30:45 +0000 (10:30 -0600)]
Make *_if_vm() more unit-testable

Allow passing in a custom Downburst instance. Also clean up several
linter issues.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoUse provision.downburst_executable()
Zack Cerza [Fri, 27 Feb 2015 20:40:07 +0000 (13:40 -0700)]
Use provision.downburst_executable()

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMove downburst code into new Downburst class
Zack Cerza [Fri, 13 Feb 2015 17:41:36 +0000 (10:41 -0700)]
Move downburst code into new Downburst class

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoClarify error logging in destroy_if_vm()
Zack Cerza [Fri, 13 Feb 2015 03:20:45 +0000 (20:20 -0700)]
Clarify error logging in destroy_if_vm()

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoBe smarter about logging in create_if_vm()
Zack Cerza [Thu, 12 Feb 2015 21:57:57 +0000 (14:57 -0700)]
Be smarter about logging in create_if_vm()

Also return False on failure.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoStrip ssh-keyscan output before logging it
Zack Cerza [Thu, 12 Feb 2015 21:54:32 +0000 (14:54 -0700)]
Strip ssh-keyscan output before logging it

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoBe more tolerant of git connection errors
Zack Cerza [Fri, 3 Apr 2015 03:41:43 +0000 (21:41 -0600)]
Be more tolerant of git connection errors

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoBe slightly smarter when looking for stale locks
Zack Cerza [Wed, 1 Apr 2015 23:30:48 +0000 (17:30 -0600)]
Be slightly smarter when looking for stale locks

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #458 from ceph/wip-11248
Zack Cerza [Fri, 27 Mar 2015 18:58:53 +0000 (12:58 -0600)]
Merge pull request #458 from ceph/wip-11248

Disable version check when ceph-deploy is used to install ceph.

10 years agoDisable version check when ceph-deploy is used to install ceph. 458/head
Andrew Schoen [Fri, 27 Mar 2015 17:43:04 +0000 (10:43 -0700)]
Disable version check when ceph-deploy is used to install ceph.

See: http://tracker.ceph.com/issues/11248

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoOn BranchNotFoundError, mark job as dead
Zack Cerza [Fri, 27 Mar 2015 17:23:16 +0000 (11:23 -0600)]
On BranchNotFoundError, mark job as dead

We had been simply deleting jobs from paddles if the teuthology branch
was not found. Instead, mark them as dead with a useful failure_reason.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #457 from ceph/wip-lttng-valgrind
Andrew Schoen [Thu, 26 Mar 2015 22:41:31 +0000 (15:41 -0700)]
Merge pull request #457 from ceph/wip-lttng-valgrind

valgrind: ignore lttng warning on un-cleaned-up state

10 years agovalgrind: ignore lttng warning on un-cleaned-up state 457/head
Greg Farnum [Thu, 26 Mar 2015 21:13:45 +0000 (14:13 -0700)]
valgrind: ignore lttng warning on un-cleaned-up state

This appears to have come from dca722ec7b2a7fc9214844ec92310074b5cb2faa,
which merged in support for use of lttng ust functions on fork. Valgrind
started warning on a Leak_StillReachable with lttng_ust_init in
the function call trace.

Hopefully this is specific enough that we don't mask out any other
lttng errors.

Fixes: #11247
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
10 years agoMerge pull request #456 from ceph/wip-11243
Zack Cerza [Thu, 26 Mar 2015 20:16:22 +0000 (13:16 -0700)]
Merge pull request #456 from ceph/wip-11243

Verify version for other projects besides ceph in the install task

10 years agoVerify version for other projects besides ceph in the install task 456/head
Andrew Schoen [Thu, 26 Mar 2015 16:37:03 +0000 (09:37 -0700)]
Verify version for other projects besides ceph in the install task

Fixes: http://tracker.ceph.com/issues/11243
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoAvoid double-unlocking with unlock_on_failure
Zack Cerza [Tue, 24 Mar 2015 23:13:35 +0000 (16:13 -0700)]
Avoid double-unlocking with unlock_on_failure

If both unlock_on_failure and nuke-on-error are set, don't unlock now
because we're just going to nuke (and unlock) later.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #451 from ceph/verify-version
Zack Cerza [Mon, 23 Mar 2015 19:05:41 +0000 (13:05 -0600)]
Merge pull request #451 from ceph/verify-version

Verify that the correct ceph version is installed on updates and install

10 years agoMerge pull request #454 from ktdreyer/wip-comment-libvirt-bootstrap
Zack Cerza [Mon, 23 Mar 2015 15:43:30 +0000 (09:43 -0600)]
Merge pull request #454 from ktdreyer/wip-comment-libvirt-bootstrap

bootstrap: explain the system python-libvirt pkg

10 years agobootstrap: explain the system python-libvirt pkg 454/head
Ken Dreyer [Mon, 23 Mar 2015 15:30:26 +0000 (09:30 -0600)]
bootstrap: explain the system python-libvirt pkg

In #sepia today, Zack explained the reasoning for the python-libvirt
package on the Debian family of distros.

10 years agoMerge pull request #453 from ceph/wip-11170
Andrew Schoen [Thu, 19 Mar 2015 21:19:55 +0000 (16:19 -0500)]
Merge pull request #453 from ceph/wip-11170

Allow running teuthology-lock --update on broken vps nodes

10 years agoTweak ssh-keyscan timing 453/head
Zack Cerza [Thu, 19 Mar 2015 20:58:26 +0000 (14:58 -0600)]
Tweak ssh-keyscan timing

Make the call itself timeout after 1s instead of 5s. Make update_lock()
try 15 times, sleeping for 1s between attempts. A full timeout of
update_lock() should take ~30s.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoUse safe_while instead of an unsafe loop
Zack Cerza [Thu, 19 Mar 2015 20:32:58 +0000 (14:32 -0600)]
Use safe_while instead of an unsafe loop

If ssh-keyscan fails, we would hang forever. Stop that nonsense, and
give up eventually, print a warning, and move on.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoFix error formatting when 'action' is passed
Zack Cerza [Thu, 19 Mar 2015 20:32:06 +0000 (14:32 -0600)]
Fix error formatting when 'action' is passed

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #452 from dmick/master
Zack Cerza [Thu, 19 Mar 2015 19:17:35 +0000 (13:17 -0600)]
Merge pull request #452 from dmick/master

lock.py: allow machines list for --brief

10 years agolock.py: allow machines list for --brief 452/head
Dan Mick [Thu, 19 Mar 2015 18:47:29 +0000 (11:47 -0700)]
lock.py: allow machines list for --brief

There was never any reason not to.

Fixes: #11167
Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agoMerge pull request #424 from ceph/wip-5629
Andrew Schoen [Wed, 18 Mar 2015 16:11:32 +0000 (11:11 -0500)]
Merge pull request #424 from ceph/wip-5629

Download ELFs (regular + debug) from remotes when coredump occurs.

10 years agoUse Remote.get_file() 424/head
Zack Cerza [Tue, 17 Mar 2015 16:44:21 +0000 (10:44 -0600)]
Use Remote.get_file()

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoFix some linter issues
Zack Cerza [Tue, 17 Mar 2015 16:35:47 +0000 (10:35 -0600)]
Fix some linter issues

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoDownload ELFs (regular + debug) from remotes when coredump occurs.
Sandon Van Ness [Tue, 17 Feb 2015 21:21:24 +0000 (13:21 -0800)]
Download ELFs (regular + debug) from remotes when coredump occurs.

Per issue #5629

Since we need the binaries (regular stripped + non-stripped with
debug symbols) to do debugging this will make it more convinient
for developers so they don't have to track down the files from
the specific build in question and instead they will just be
sitting in the archive folder with the coredump files.

Signed-off-by: Sandon Van Ness <sandon@redhat.com>
10 years agoVerify that the correct ceph version is installed on updates and install 451/head
Andrew Schoen [Thu, 26 Feb 2015 21:12:29 +0000 (15:12 -0600)]
Verify that the correct ceph version is installed on updates and install

This adds a function to teuthology.packaging that can be reused to
fetch the installed version of a package for the given remote.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #450 from ceph/wip-10989
Andrew Schoen [Thu, 5 Mar 2015 17:38:29 +0000 (11:38 -0600)]
Merge pull request #450 from ceph/wip-10989

Add optional exclude_packages arg to upgrade subtask

10 years agoAdd optional exclude_packages arg to upgrade 450/head
Zack Cerza [Thu, 5 Mar 2015 16:59:25 +0000 (09:59 -0700)]
Add optional exclude_packages arg to upgrade

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoSmarter option handling in upgrade_common()
Zack Cerza [Wed, 4 Mar 2015 17:11:42 +0000 (10:11 -0700)]
Smarter option handling in upgrade_common()

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoFix a couple bugs and mark down hosts as down
Zack Cerza [Wed, 4 Mar 2015 15:48:37 +0000 (08:48 -0700)]
Fix a couple bugs and mark down hosts as down

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoDon't use yaml in FakeNamespace's str()
Zack Cerza [Tue, 3 Mar 2015 22:12:40 +0000 (15:12 -0700)]
Don't use yaml in FakeNamespace's str()

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #449 from ceph/wip-repr
Andrew Schoen [Tue, 3 Mar 2015 21:56:32 +0000 (15:56 -0600)]
Merge pull request #449 from ceph/wip-repr

Don't use yaml in FakeNamespace's repr()

10 years agoMerge pull request #441 from ceph/wip-10803
Zack Cerza [Tue, 3 Mar 2015 21:55:34 +0000 (14:55 -0700)]
Merge pull request #441 from ceph/wip-10803

Bug #10803: Try apt-get -f install to workaround nuke failure.

10 years agoBug #10803: Try apt-get -f install to workaround nuke failure. 441/head
Sandon Van Ness [Fri, 13 Feb 2015 18:46:05 +0000 (10:46 -0800)]
Bug #10803: Try apt-get -f install to workaround nuke failure.

Sometimes packages or dpkg gets in a weird state where a nuke will
fail to run and simply running an apt-get -f install on the
machine will fix things up so it can be nuked again. Currently
we only ran that being dependent on dpkg --configure completing
where as I changed it so it will still try apt-get -f install
to potentially require less manual intervention when cleaning up
machines. I kept the original behavior but adding some arguments
to insure it will not prompt you for a yes/no (like apt-get -f
install usually would do).

Signed-off-by: Sandon Van Ness <sandon@redhat.com>
10 years agoDon't use yaml in FakeNamespace's repr() 449/head
Zack Cerza [Tue, 3 Mar 2015 21:19:42 +0000 (14:19 -0700)]
Don't use yaml in FakeNamespace's repr()

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoinstall/nuke: add rbd-fuse package
Josh Durgin [Tue, 3 Mar 2015 00:35:25 +0000 (16:35 -0800)]
install/nuke: add rbd-fuse package

This is now used by rbd's merge_diff test. rbd-fuse has been around
since before dumpling, so this is compatible with all current ceph
testing.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
10 years agoMerge pull request #447 from ceph/upgrade-issue
Zack Cerza [Wed, 25 Feb 2015 19:16:23 +0000 (12:16 -0700)]
Merge pull request #447 from ceph/upgrade-issue

Do not specify a version when upgrading ceph on rpm-based systems.

10 years agoDo not specify a version when upgrading ceph on rpm-based systems. 447/head
Andrew Schoen [Tue, 24 Feb 2015 16:56:57 +0000 (10:56 -0600)]
Do not specify a version when upgrading ceph on rpm-based systems.

Because of the split of ceph-devel, upgrading ceph-devel with an
explicit version does not allow check_obsoletes to work.

For, http://tracker.ceph.com/issues/10936

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #448 from ceph/hadoop-workunits
Andrew Schoen [Wed, 25 Feb 2015 15:48:34 +0000 (09:48 -0600)]
Merge pull request #448 from ceph/hadoop-workunits

hadoop: support rhel and ubuntu

10 years agohadoop: support rhel and ubuntu 448/head
Noah Watkins [Wed, 25 Feb 2015 02:36:49 +0000 (18:36 -0800)]
hadoop: support rhel and ubuntu

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
10 years agoMerge pull request #427 from ceph/travisci
Zack Cerza [Tue, 24 Feb 2015 20:05:34 +0000 (13:05 -0700)]
Merge pull request #427 from ceph/travisci

add Travis CI integration

10 years agoMerge pull request #446 from ceph/wip-10926-andrew
Sage Weil [Mon, 23 Feb 2015 22:14:47 +0000 (14:14 -0800)]
Merge pull request #446 from ceph/wip-10926-andrew

Do not install packages with a specified version, fixes #10926

10 years agoDo not install packages with a specified version, fixes #10926 446/head
Andrew Schoen [Mon, 23 Feb 2015 20:47:40 +0000 (14:47 -0600)]
Do not install packages with a specified version, fixes #10926

Now that we've got yum setup to check for obsoletes we don't need to
specify a version. Specifying the version actually keeps yum from
checking for obsoletes.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #445 from ceph/hadoop
Andrew Schoen [Mon, 23 Feb 2015 18:17:49 +0000 (12:17 -0600)]
Merge pull request #445 from ceph/hadoop

hadoop: clean-up and sigkill delay fix

10 years agohadoop: add yarn sigkill delay hack 445/head
Noah Watkins [Mon, 23 Feb 2015 00:53:49 +0000 (16:53 -0800)]
hadoop: add yarn sigkill delay hack

This instructs yarn to wait more time (10sec) than the default (250ms)
before killing containers to give ceph clients time to properly
shutdown.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
10 years agohadoop: use dict-to-conf converter
Noah Watkins [Mon, 23 Feb 2015 00:53:09 +0000 (16:53 -0800)]
hadoop: use dict-to-conf converter

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
10 years agoMerge pull request #443 from ceph/wip-10910
Andrew Schoen [Wed, 18 Feb 2015 18:55:35 +0000 (12:55 -0600)]
Merge pull request #443 from ceph/wip-10910

Allow Remote.get_file() to use original filename

10 years agoAllow Remote.get_file() to use original filename 443/head
Zack Cerza [Wed, 18 Feb 2015 17:05:18 +0000 (10:05 -0700)]
Allow Remote.get_file() to use original filename

If dest_dir != '/tmp', attempt to use the original filename.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoUpdate out-of-date integration test
Zack Cerza [Wed, 18 Feb 2015 18:48:26 +0000 (11:48 -0700)]
Update out-of-date integration test

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #442 from ceph/wip-7364
Andrew Schoen [Tue, 17 Feb 2015 20:57:07 +0000 (14:57 -0600)]
Merge pull request #442 from ceph/wip-7364

Don't fail just because apt-get update does

10 years agoDon't fail just because apt-get update does 442/head
Zack Cerza [Tue, 17 Feb 2015 20:26:34 +0000 (13:26 -0700)]
Don't fail just because apt-get update does

If we fail later anyway, fine. If not, yay!

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoDon't fail if task runs twice
Zack Cerza [Tue, 17 Feb 2015 17:37:40 +0000 (10:37 -0700)]
Don't fail if task runs twice

This was happening because _yum_unset_check_obsoletes() was failing

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #440 from ceph/wip-10893
Andrew Schoen [Mon, 16 Feb 2015 20:15:54 +0000 (14:15 -0600)]
Merge pull request #440 from ceph/wip-10893

Set check_obsoletes = 1 in yum's priorities.conf

10 years agoSet check_obsoletes = 1 in yum's priorities.conf 440/head
Zack Cerza [Mon, 16 Feb 2015 20:08:57 +0000 (13:08 -0700)]
Set check_obsoletes = 1 in yum's priorities.conf

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #439 from ceph/pytest-better-errors
Zack Cerza [Mon, 16 Feb 2015 16:03:57 +0000 (09:03 -0700)]
Merge pull request #439 from ceph/pytest-better-errors

put test failures in failure_reason; skip test_correct_os_version for debian

10 years agoMake an exception for debian in tests.test_correct_os_version 439/head
Andrew Schoen [Fri, 13 Feb 2015 21:05:18 +0000 (15:05 -0600)]
Make an exception for debian in tests.test_correct_os_version

This is because of a known issue where downburst gives us 7.1 when we
ask for 7.0.  We're ok with this behavior for now. See: issue #10878

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoInclude test failures in ctx.summary['failure_reason']
Andrew Schoen [Fri, 13 Feb 2015 17:32:59 +0000 (11:32 -0600)]
Include test failures in ctx.summary['failure_reason']

I also added a new line to make reading the log nicer

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #438 from ceph/wip-10879
Andrew Schoen [Fri, 13 Feb 2015 20:58:42 +0000 (14:58 -0600)]
Merge pull request #438 from ceph/wip-10879

Avoid race condition in find_stale_locks()

10 years agoAvoid race condition in find_stale_locks() 438/head
Zack Cerza [Fri, 13 Feb 2015 19:25:19 +0000 (12:25 -0700)]
Avoid race condition in find_stale_locks()

Because of the way we were checking nodes against running jobs, it was
possible to falsely report nodes as stale if they were part of a job
that was transitioning from the waiting to running state.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #437 from ceph/pytest-noterminalreporter
Zack Cerza [Fri, 13 Feb 2015 15:36:32 +0000 (08:36 -0700)]
Merge pull request #437 from ceph/pytest-noterminalreporter

Fixes the issue of pytest failing with scheduled jobs

10 years agoRemove the pytest default TerminalReporter in the tests task 437/head
Andrew Schoen [Thu, 12 Feb 2015 21:19:25 +0000 (15:19 -0600)]
Remove the pytest default TerminalReporter in the tests task

This fixes the issue of pytest IO Error failure in a scheduled job

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoIf there is an error running pytest, mark job as dead
Andrew Schoen [Thu, 12 Feb 2015 21:14:30 +0000 (15:14 -0600)]
If there is an error running pytest, mark job as dead

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #435 from ceph/wip-10856
Andrew Schoen [Thu, 12 Feb 2015 18:42:50 +0000 (12:42 -0600)]
Merge pull request #435 from ceph/wip-10856

Safer vps unlocking

10 years agoPass a description to unlock_one() 435/head
Zack Cerza [Thu, 12 Feb 2015 17:04:23 +0000 (10:04 -0700)]
Pass a description to unlock_one()

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAdd optional description arg to unlock_one()
Zack Cerza [Thu, 12 Feb 2015 17:03:44 +0000 (10:03 -0700)]
Add optional description arg to unlock_one()

It gets passed to the lock server.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAdd optional description arg to destroy_if_vm()
Zack Cerza [Thu, 12 Feb 2015 17:00:38 +0000 (10:00 -0700)]
Add optional description arg to destroy_if_vm()

If it is passed and doesn't match the one received from the lock server,
don't destroy the VM.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #436 from ceph/wip-hadoop-linter
Zack Cerza [Thu, 12 Feb 2015 18:14:55 +0000 (11:14 -0700)]
Merge pull request #436 from ceph/wip-hadoop-linter

hadoop: remove parallel from import; fixes linter warning

10 years agohadoop: remove parallel from import; fixes linter warning 436/head
Greg Farnum [Thu, 12 Feb 2015 18:06:57 +0000 (10:06 -0800)]
hadoop: remove parallel from import; fixes linter warning

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
10 years agoMerge pull request #434 from ceph/hadoop
Gregory Farnum [Thu, 12 Feb 2015 05:03:56 +0000 (21:03 -0800)]
Merge pull request #434 from ceph/hadoop

Hadoop 2.0 Task

This will need more updating, but pulling it in-tree gets better in-situ testing, and the hadoop task is isolated.

10 years agoMerge pull request #432 from ceph/pytest-stdout
Zack Cerza [Wed, 11 Feb 2015 22:35:14 +0000 (15:35 -0700)]
Merge pull request #432 from ceph/pytest-stdout

Make pytest capture stdout when running the tests task

10 years agoMake pytest capture stdout when running the tests task 432/head
Andrew Schoen [Wed, 11 Feb 2015 22:23:10 +0000 (16:23 -0600)]
Make pytest capture stdout when running the tests task

This makes the logs easier to read.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agohadoop: separate ceph/hdfs config actions 434/head
Noah Watkins [Tue, 20 Jan 2015 18:55:28 +0000 (10:55 -0800)]
hadoop: separate ceph/hdfs config actions

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
10 years agohadoop: support cephfs
Noah Watkins [Mon, 19 Jan 2015 23:55:41 +0000 (15:55 -0800)]
hadoop: support cephfs

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
10 years agohadoop: easier config creation
Noah Watkins [Mon, 19 Jan 2015 22:52:48 +0000 (14:52 -0800)]
hadoop: easier config creation

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
10 years agomisc: create prepend_lines helper
Noah Watkins [Mon, 19 Jan 2015 22:25:37 +0000 (14:25 -0800)]
misc: create prepend_lines helper

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
10 years agohadoop: 2x
Noah Watkins [Mon, 19 Jan 2015 22:25:21 +0000 (14:25 -0800)]
hadoop: 2x

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
10 years agoMerge pull request #431 from ceph/wip-10825
Andrew Schoen [Wed, 11 Feb 2015 20:31:32 +0000 (14:31 -0600)]
Merge pull request #431 from ceph/wip-10825

Smarter sources.list/.repo removal

10 years agoTweak _remove_sources_list_{deb,rpm}() 431/head
Zack Cerza [Wed, 11 Feb 2015 19:03:37 +0000 (12:03 -0700)]
Tweak _remove_sources_list_{deb,rpm}()

Make their implementations more concise, their logging more verbose, and
avoid running apt-get update if no sources list was removed.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoDon't run two apt-get updates in parallel
Zack Cerza [Tue, 10 Feb 2015 22:32:56 +0000 (15:32 -0700)]
Don't run two apt-get updates in parallel

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #430 from tchaikov/fix-readme
Andrew Schoen [Tue, 10 Feb 2015 15:29:05 +0000 (09:29 -0600)]
Merge pull request #430 from tchaikov/fix-readme

README: update with teuthology-suite

10 years agoREADME: update with teuthology-suite 430/head
Kefu Chai [Mon, 9 Feb 2015 07:38:20 +0000 (15:38 +0800)]
README: update with teuthology-suite

* replace sample usage of deprecated schedule_suite.sh with that of
  teuthology-suite
* add a pointer to `teuthology-suite --help`

Fixes: #8678
Signed-off-by: Kefu Chai <kchai@redhat.com>
10 years agoMerge pull request #429 from ceph/tests-task-cleanup
Zack Cerza [Mon, 9 Feb 2015 22:08:55 +0000 (15:08 -0700)]
Merge pull request #429 from ceph/tests-task-cleanup

Adds a machine_type property to orchestra.remote.Remote

10 years agoAdds a machine_type property to orchestra.remote.Remote 429/head
Andrew Schoen [Fri, 6 Feb 2015 21:43:34 +0000 (15:43 -0600)]
Adds a machine_type property to orchestra.remote.Remote

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #428 from ceph/wip-10774
Andrew Schoen [Thu, 5 Feb 2015 22:02:37 +0000 (16:02 -0600)]
Merge pull request #428 from ceph/wip-10774

Don't unlock VMs before destroying them

10 years agoDon't destroy a vps that is owned by someone else 428/head
Zack Cerza [Thu, 5 Feb 2015 21:52:32 +0000 (14:52 -0700)]
Don't destroy a vps that is owned by someone else

This only affects the unlock_one() codepath at this point.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoDestroy VMs before unlocking, not after
Zack Cerza [Thu, 5 Feb 2015 21:14:08 +0000 (14:14 -0700)]
Destroy VMs before unlocking, not after

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #426 from ceph/wip-10736
Zack Cerza [Thu, 5 Feb 2015 20:54:01 +0000 (13:54 -0700)]
Merge pull request #426 from ceph/wip-10736

create a teuthology integration test task

10 years agoCorrectly pull the default machine_type if machine_type is not defined explicitly 426/head
Andrew Schoen [Thu, 5 Feb 2015 15:24:05 +0000 (09:24 -0600)]
Correctly pull the default machine_type if machine_type is not defined explicitly

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoDo not log skipped tests as failed
Andrew Schoen [Wed, 4 Feb 2015 20:56:52 +0000 (15:56 -0500)]
Do not log skipped tests as failed

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoAdded integration tests to ensure locking is working correctly
Andrew Schoen [Wed, 4 Feb 2015 20:19:08 +0000 (14:19 -0600)]
Added integration tests to ensure locking is working correctly

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMoved task.tests into it's own module and created tests.test_run
Andrew Schoen [Tue, 3 Feb 2015 20:58:39 +0000 (14:58 -0600)]
Moved task.tests into it's own module and created tests.test_run

This sets up the basic structure for teuthology integration testing.
Any tests put in teuthology/task/tests will be autodiscovered and run
when 'tests' is in the task list of a job's config.

Each test will be given ctx and config and it's output will be logged
using our logger.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoUse pytest to auto discover and run tests in task.tests
Andrew Schoen [Mon, 2 Feb 2015 23:05:55 +0000 (17:05 -0600)]
Use pytest to auto discover and run tests in task.tests

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoinstall: include libcephfs-jni in .deb list as well as RPM one
Greg Farnum [Thu, 5 Feb 2015 19:23:48 +0000 (11:23 -0800)]
install: include libcephfs-jni in .deb list as well as RPM one

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Zack Cerza <zack@redhat.com>
10 years agoadd Travis CI integration 427/head
Ken Dreyer [Thu, 5 Feb 2015 18:17:33 +0000 (11:17 -0700)]
add Travis CI integration

This will allow Travis CI to run tox to check for test failures.

10 years agoMerge pull request #425 from ceph/wip-10753
Zack Cerza [Wed, 4 Feb 2015 22:07:38 +0000 (15:07 -0700)]
Merge pull request #425 from ceph/wip-10753

Add a label to the ceph-qa-chef run in task.internal