]> git.apps.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
7 years agoteuthology/task/install/valgrind.supp: add suppression for Boost.Thread 1213/head
Kefu Chai [Wed, 26 Sep 2018 07:45:45 +0000 (15:45 +0800)]
teuthology/task/install/valgrind.supp: add suppression for Boost.Thread

Boost.Thread passes `tls_destructor` to `pthread_key_create()` in hope
to free the allocated memory stored in TLS key `current_thread_tls_key`,
but neither Boost.Thread nor us uses `pthread_exit()` for calling the
cleanup functions. and Boost.Thread is against `pthread_exit()`, see [0,1].

but Boost.Thread offers a preprocessor macro to define a global variable
whose destructor calls `tls_destructor()`, but per [2], this macro is
not defined by default. and per [3], this macro could cause assertion
failure in Boost. so it might be advisable to not define it, even we
could do so in BuildBoost.cmake.

and since this `Leak_StillReachable` leak is a one-shot thing. i am
adding it to the suppression file.

---
[0] https://www.boost.org/doc/libs/1_68_0/doc/html/thread/thread_management.html#thread.thread_management.tutorial.native_from._code__phrase_role__identifier__pthread_exit__phrase___code__posix_limitation
[1] https://svn.boost.org/trac10/ticket/5013
[2] https://svn.boost.org/trac10/ticket/3926
[3] https://svn.boost.org/trac10/ticket/12049

Fixes: http://tracker.ceph.com/issues/22052
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #1209 from smithfarm/wip-sleep-seconds
Kefu Chai [Tue, 18 Sep 2018 04:54:36 +0000 (12:54 +0800)]
Merge pull request #1209 from smithfarm/wip-sleep-seconds

teuthology/task/sleep: be explicit about seconds

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #1211 from tchaikov/wip-valgrind-dpdk
Kefu Chai [Tue, 18 Sep 2018 04:11:53 +0000 (12:11 +0800)]
Merge pull request #1211 from tchaikov/wip-valgrind-dpdk

teuthology/task/install/valgrind.supp: add suppression for DPDK

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoteuthology/task/install/valgrind.supp: add suppression for DPDK 1211/head
Kefu Chai [Mon, 17 Sep 2018 06:53:40 +0000 (14:53 +0800)]
teuthology/task/install/valgrind.supp: add suppression for DPDK

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoteuthology/task/sleep: be explicit about seconds 1209/head
Nathan Cutler [Fri, 14 Sep 2018 10:42:41 +0000 (12:42 +0200)]
teuthology/task/sleep: be explicit about seconds

Add the word "seconds" at the end of the log message, since "time.sleep()"
takes a number which is always interpreted as the number of seconds to sleep
for.

Before this commit, the log said:

    INFO:teuthology.task.sleep:Sleeping for 10

After:

    INFO:teuthology.task.sleep:Sleeping for 10 seconds

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #1205 from tchaikov/wip-rerun
Kefu Chai [Wed, 12 Sep 2018 16:16:05 +0000 (00:16 +0800)]
Merge pull request #1205 from tchaikov/wip-rerun

worker,result: create archive_dir for the first job and mark --{seed,subset} optional

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
7 years agoresults: mark --subset and --seed optional 1205/head
Kefu Chai [Wed, 12 Sep 2018 08:58:32 +0000 (16:58 +0800)]
results: mark --subset and --seed optional

before d488b9bd, these params were mandatory. after d488b9bd, they are
optional. because

- these parameters passed in only for "first-in-suite" job
- subset is not mandatory even for "first-in-suite", because there is
  chance that user want to run the full combination of the test matrix.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoworker: create archive_dir before putting log file in it
Kefu Chai [Wed, 12 Sep 2018 08:43:54 +0000 (16:43 +0800)]
worker: create archive_dir before putting log file in it

before d488b9bd, the memo for rerunning a suite is noted down by the
last-in-suite job. when the last-in-suite job is performed, the
archive_dir has been created by the jobs which performs tests, see
the `Creating archive dir` line in run_job() in teuthology/worker.py .

but after d488b9bd, the memo is logged by the first-in-suite job, by
then, none of the test jobs is performed, so their archive dirs are not
created. i think that's why the first-in-suite job fails to write the
memo to $archive_dir/results.log.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #1204 from tchaikov/wip-rerun
Kefu Chai [Tue, 11 Sep 2018 07:13:10 +0000 (15:13 +0800)]
Merge pull request #1204 from tchaikov/wip-rerun

 worker: do not pass --timeout to first-in-suite job

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Reviewed-by: Zack Cerza <zack@redhat.com>
7 years agoworker: do not pass --timeout to first-in-suite job 1204/head
Kefu Chai [Mon, 10 Sep 2018 16:10:14 +0000 (00:10 +0800)]
worker: do not pass --timeout to first-in-suite job

likewise, do not pass --seed or --subset to last-in-suite job
otherwise, teuthology/schedule.py will raise a ValueError at seeing
--subset or --seed not coming along with --first-in-suite, or
--email or --timeout not coming along with --last-in-suite.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoteuthology/suite: use specified seed and subset if results.log is not readable
Kefu Chai [Mon, 10 Sep 2018 15:23:59 +0000 (23:23 +0800)]
teuthology/suite: use specified seed and subset if results.log is not readable

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #1198 from tchaikov/wip-rerun
Josh Durgin [Thu, 6 Sep 2018 19:47:15 +0000 (12:47 -0700)]
Merge pull request #1198 from tchaikov/wip-rerun

script,worker,suite: note down the rerun parameter in the first-job-in-suite

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agosuite/run,schedule,result: write rerun memo as the first job in suite 1198/head
Kefu Chai [Fri, 24 Aug 2018 13:15:31 +0000 (21:15 +0800)]
suite/run,schedule,result: write rerun memo as the first job in suite

so we don't need to wait for the job to write result to for rerunning
the test suite. without this change, the "result" is normally the last
job in the suite to be scheduled, so it's likely we will not have the
results.log until the suite is almost completed. afer this change,
a "first-in-suite" job is scheduled as the first job to note down
the subset and seed to run the suite.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agosuite.run: extract write_result() out of prepare_and_schedule()
Kefu Chai [Fri, 24 Aug 2018 11:40:14 +0000 (19:40 +0800)]
suite.run: extract write_result() out of prepare_and_schedule()

so it's more modular.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agosuite: do not bail out if results.log is not around
Kefu Chai [Fri, 3 Aug 2018 16:25:41 +0000 (00:25 +0800)]
suite: do not bail out if results.log is not around

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #1202 from smithfarm/wip-extra_system_packages
Gregory Farnum [Tue, 14 Aug 2018 21:20:55 +0000 (14:20 -0700)]
Merge pull request #1202 from smithfarm/wip-extra_system_packages

task/install: propagate extra_system_packages

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agotask/install: propagate extra_system_packages 1202/head
Nathan Cutler [Tue, 14 Aug 2018 19:51:01 +0000 (21:51 +0200)]
task/install: propagate extra_system_packages

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #1192 from smithfarm/wip-25020
Gregory Farnum [Mon, 13 Aug 2018 21:14:37 +0000 (14:14 -0700)]
Merge pull request #1192 from smithfarm/wip-25020

install: make extra_packages distro-agnostic (in a limited way) and support extra_system_packages option

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #1201 from ceph/wip-syslog-whitelist-info
Sage Weil [Mon, 13 Aug 2018 20:54:43 +0000 (15:54 -0500)]
Merge pull request #1201 from ceph/wip-syslog-whitelist-info

internal/syslog: whitelist ceph-crash daemon messages

7 years agotest_install.py: sort package lists before comparing 1192/head
Nathan Cutler [Mon, 13 Aug 2018 17:34:42 +0000 (19:34 +0200)]
test_install.py: sort package lists before comparing

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agointernal/syslog: whitelist ceph-crash daemon messages 1201/head
Dan Mick [Sat, 11 Aug 2018 01:00:20 +0000 (18:00 -0700)]
internal/syslog: whitelist ceph-crash daemon messages

None of these should cause test failures.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
7 years agoMerge pull request #1046 from smithfarm/wip-run-py
Gregory Farnum [Wed, 8 Aug 2018 20:44:11 +0000 (13:44 -0700)]
Merge pull request #1046 from smithfarm/wip-run-py

run.py: Provide --os-{type,version} values to get_initial_tasks

7 years agoMerge pull request #1001 from SUSE/wip-18141
Gregory Farnum [Wed, 8 Aug 2018 20:43:40 +0000 (13:43 -0700)]
Merge pull request #1001 from SUSE/wip-18141

platform.linux_distribution() is deprecated; stop using it

7 years agoMerge pull request #1200 from tchaikov/wip-rerun-fix
Kefu Chai [Tue, 7 Aug 2018 16:46:13 +0000 (00:46 +0800)]
Merge pull request #1200 from tchaikov/wip-rerun-fix

suite,report: initialize seed with None

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
7 years agoMerge pull request #1199 from tchaikov/pytest-requires-pluggy-v0.7
Kefu Chai [Tue, 7 Aug 2018 16:28:09 +0000 (00:28 +0800)]
Merge pull request #1199 from tchaikov/pytest-requires-pluggy-v0.7

setup,py,requirements.txt: add pytest

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agosuite,report: initialize seed with None 1200/head
Kefu Chai [Tue, 7 Aug 2018 16:23:18 +0000 (16:23 +0000)]
suite,report: initialize seed with None

so we can set it if it is not initialized

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agosetup,py,requirements.txt: add pytest 1199/head
Kefu Chai [Sat, 4 Aug 2018 00:42:02 +0000 (00:42 +0000)]
setup,py,requirements.txt: add pytest

pytest requires pluggy >= 0.7, while we always use pluggy 0.6, as
specified by requirements.txt. as this version is good enough for
tox. but in tox.ini, we do use pytest, and no version is specified,
so we have good chance running into https://github.com/pytest-dev/pytest/issues/3753

also, remove pytest from tox.ini, as this dependency has been
added in requirements.txt

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #1197 from tchaikov/wip-str.replace
Kefu Chai [Sat, 4 Aug 2018 00:17:12 +0000 (08:17 +0800)]
Merge pull request #1197 from tchaikov/wip-str.replace

task/install: str.replace() does not keyword args

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agotask/install: str.replace() does not keyword args 1197/head
Kefu Chai [Fri, 3 Aug 2018 13:09:39 +0000 (21:09 +0800)]
task/install: str.replace() does not keyword args

In [8]: ?s.replace
Docstring:
S.replace(old, new[, count]) -> str

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoinstall: make exclude_packages distro-agnostic (in a limited way)
Nathan Cutler [Wed, 1 Aug 2018 14:50:54 +0000 (16:50 +0200)]
install: make exclude_packages distro-agnostic (in a limited way)

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoinstall: support extra_system_packages config option
Nathan Cutler [Fri, 20 Jul 2018 15:18:26 +0000 (17:18 +0200)]
install: support extra_system_packages config option

On DEB systems, packages specified via the extra_packages option are installed
while forcing the same package version number as the version of the project
(i.e. Ceph) under test. So extra_packages can only be used to specify
additional project (Ceph) packages.

If we wanted to specify additional system (non-project, non-Ceph) packages to
install, we were out of luck. This commit implements an extra_system_packages
option for specifying extra non-project packages.

Fixes: http://tracker.ceph.com/issues/25026
Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoinstall: make extra_packages distro-agnostic (in a limited way)
Nathan Cutler [Fri, 20 Jul 2018 14:20:31 +0000 (16:20 +0200)]
install: make extra_packages distro-agnostic (in a limited way)

Where "distro-agnostic (in a limited way)" means: allow the user to specify
different lists for DEB and RPM.

This fix does not address the case when two RPM distros, or two DEB distros,
have different names for a given package/capability.

Fixes: http://tracker.ceph.com/issues/25020
Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #1196 from tchaikov/wip-rerun-fix
Zack Cerza [Mon, 30 Jul 2018 15:54:04 +0000 (09:54 -0600)]
Merge pull request #1196 from tchaikov/wip-rerun-fix

report: strip space and quotes from parsed message

7 years agoreport: strip space and qutoes from parsed message 1196/head
Kefu Chai [Fri, 27 Jul 2018 15:54:04 +0000 (23:54 +0800)]
report: strip space and qutoes from parsed message

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #1195 from ceph/revert-1090-wip-upgrade-equal
Zack Cerza [Wed, 25 Jul 2018 22:19:01 +0000 (16:19 -0600)]
Merge pull request #1195 from ceph/revert-1090-wip-upgrade-equal

Revert "[DNM] upgrade check: upgrade to same version is a noop"

7 years agoRevert "[DNM] upgrade check: upgrade to same version is a noop" 1195/head
Zack Cerza [Wed, 25 Jul 2018 22:18:36 +0000 (16:18 -0600)]
Revert "[DNM] upgrade check: upgrade to same version is a noop"

7 years agoMerge pull request #1090 from smithfarm/wip-upgrade-equal
Zack Cerza [Wed, 25 Jul 2018 22:18:18 +0000 (16:18 -0600)]
Merge pull request #1090 from smithfarm/wip-upgrade-equal

[DNM] upgrade check: upgrade to same version is a noop

7 years agoMerge pull request #1193 from adamwg/handle-branches-with-slashes
Zack Cerza [Tue, 24 Jul 2018 00:13:29 +0000 (18:13 -0600)]
Merge pull request #1193 from adamwg/handle-branches-with-slashes

Handle branch names containing slashes

7 years agoHandle branch names containing slashes 1193/head
Adam Wolfe Gordon [Mon, 23 Jul 2018 21:29:33 +0000 (15:29 -0600)]
Handle branch names containing slashes

A branch name containing a slash is perfectly legal in git, but
teuthology uses branch names verbatim in run names, which causes POSTs
to fail when submitting runs to paddles. Replace all '/' in run names
with ':' to allow for branches with slashes in their names.

Signed-off-by: Adam Wolfe Gordon <awg@digitalocean.com>
7 years agoorchestra/opsys: support openSUSE Leap 1001/head
Nathan Cutler [Sat, 21 Jul 2018 16:01:46 +0000 (18:01 +0200)]
orchestra/opsys: support openSUSE Leap

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agotests/opsys: add more OS.from_os_release test cases
Nathan Cutler [Sat, 21 Jul 2018 15:13:19 +0000 (17:13 +0200)]
tests/opsys: add more OS.from_os_release test cases

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoorchestra/opsys: add new distros to codenames map
Nathan Cutler [Sat, 21 Jul 2018 14:52:50 +0000 (16:52 +0200)]
orchestra/opsys: add new distros to codenames map

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoplatform.linux_distribution() is deprecated; stop using it
Nathan Cutler [Thu, 15 Dec 2016 22:57:57 +0000 (23:57 +0100)]
platform.linux_distribution() is deprecated; stop using it

Fixes: http://tracker.ceph.com/issues/18141
Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #1191 from ceph/wip-ansible-default
Yuri Weinstein [Fri, 20 Jul 2018 15:41:39 +0000 (08:41 -0700)]
Merge pull request #1191 from ceph/wip-ansible-default

default ansible to 2.5 as per ceph-ansible requirements

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
7 years agodefault ansible to 2.5 as per ceph-ansible requirements for ceph master branch testing. 1191/head
Vasu Kulkarni [Thu, 19 Jul 2018 18:05:05 +0000 (11:05 -0700)]
default ansible to 2.5 as per ceph-ansible requirements for ceph master branch testing.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoMerge pull request #1189 from tchaikov/wip-fix-rerun
Josh Durgin [Tue, 17 Jul 2018 20:23:52 +0000 (13:23 -0700)]
Merge pull request #1189 from tchaikov/wip-fix-rerun

results,schedule,woker: persist --seed and --subset in results.log

Reviewed-by: Warren Usui <wusui@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #1190 from ceph/install_nfs_ganesha_with_ceph-ansible
vasukulkarni [Tue, 10 Jul 2018 17:37:28 +0000 (10:37 -0700)]
Merge pull request #1190 from ceph/install_nfs_ganesha_with_ceph-ansible

added nfs-ganesha to roles

7 years agoadded nfs-ganesha to roles 1190/head
rakesh [Tue, 10 Jul 2018 16:45:09 +0000 (22:15 +0530)]
added nfs-ganesha to roles

7 years agotest: '$' is not removed from path even if triggers random tests 1189/head
Kefu Chai [Mon, 9 Jul 2018 12:39:04 +0000 (20:39 +0800)]
test: '$' is not removed from path even if triggers random tests

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoresults,schedule,woker: persist --seed and --subset in results.log
Kefu Chai [Mon, 9 Jul 2018 06:15:12 +0000 (14:15 +0800)]
results,schedule,woker: persist --seed and --subset in results.log

to create a repeatable test suite, in addition to `--seed <SEED>`, we also
need to pass the same `--subset <SUBSET>` to teuthology-suite when
rerunning the failed tests. but it would be handy if teuthology-suite
could remember these settings and recall them when `--rerun <RUN>`.

in this change, we repurpose the last job sending the email to report
the test result to note down the subset and seed used for scheduling the
test suite. these variables are stored in results.log at this moment.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge PR #1186 into master
Patrick Donnelly [Mon, 9 Jul 2018 04:01:16 +0000 (21:01 -0700)]
Merge PR #1186 into master

* refs/pull/1186/head:
ceph.conf.template: drop cephfs configs

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoceph.conf.template: drop cephfs configs 1186/head
Patrick Donnelly [Wed, 27 Jun 2018 16:31:21 +0000 (09:31 -0700)]
ceph.conf.template: drop cephfs configs

This will be set in the cephfs qa suites.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #1187 from SUSE/wip-restart-workers
Zack Cerza [Tue, 3 Jul 2018 23:41:54 +0000 (17:41 -0600)]
Merge pull request #1187 from SUSE/wip-restart-workers

Restart dead workers

7 years agoMerge pull request #1188 from SUSE/wip-job-owner
Zack Cerza [Tue, 3 Jul 2018 23:39:08 +0000 (17:39 -0600)]
Merge pull request #1188 from SUSE/wip-job-owner

Fix worker can't figure out owner of a job

7 years agoFix worker can't figure out owner of a job 1188/head
Kyr Shatskyy [Mon, 2 Jul 2018 15:14:58 +0000 (17:14 +0200)]
Fix worker can't figure out owner of a job

The patch fixes uncaught exception RuntimeError:

  I could not figure out the owner of the requested job.
  Please pass --owner <owner>.

Worker dies with unhandled exception in run_with_watchdog
if it can't figure out owner of a job, which it tries
to kill when job runs longer then given limit of time.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
7 years agoRestart dead workers 1187/head
Kyr Shatskyy [Mon, 7 May 2018 15:01:57 +0000 (18:01 +0300)]
Restart dead workers

This patch allows to restart dead workers separately
not stopping the rest of the teuthology components,
and what is more important the beanstalkd service.
That makes it possible to extend the number of workers too.
Also, either of pulpito and paddles can be restarted alone.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
7 years agoMerge pull request #1185 from batrick/hidden-file
Zack Cerza [Mon, 25 Jun 2018 22:22:19 +0000 (16:22 -0600)]
Merge pull request #1185 from batrick/hidden-file

build_matrix: ignore hidden files

7 years agotest: add hidden file test 1185/head
Patrick Donnelly [Mon, 25 Jun 2018 20:51:39 +0000 (13:51 -0700)]
test: add hidden file test

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agobuild_matrix: ignore hidden files
Patrick Donnelly [Fri, 22 Jun 2018 19:21:41 +0000 (12:21 -0700)]
build_matrix: ignore hidden files

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #1182 from tchaikov/wip-rerun
Zack Cerza [Wed, 20 Jun 2018 19:53:37 +0000 (13:53 -0600)]
Merge pull request #1182 from tchaikov/wip-rerun

suite: allow `--rerun` to run full set of failed tests

7 years agoteuthology-suite: add --seed option for repeatable random test 1182/head
Kefu Chai [Sat, 16 Jun 2018 16:09:36 +0000 (00:09 +0800)]
teuthology-suite: add --seed option for repeatable random test

currently --rerun does not match tests of
'supported-random-distro$/ubuntu_latest.yaml' with
'supported-random-distro$/centos_latest.yaml'. the former could be part
of description of a failed test, the latter is a a part of job
description generated by build_matrix(). because the '$' operator
instructs theuthology to choose a random file under the directory ending
with '$', and we expand the '$' to a randomly picked file *before*
filtering the generated job list with the filter collected from the
failed tests, there is good chance that the job descriptions of the
failed jobs in self.args.filter_in cannot match with the randomly
generated ones.

so, we introduce an argument '--seed' for teuthology-suite for the
repeatable random test. this argument allows user to specify a seed for
tne RNG used by build_matrix().

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
7 years agosuite: avoid preparing the full list for filtering
Kefu Chai [Tue, 12 Jun 2018 08:36:39 +0000 (16:36 +0800)]
suite: avoid preparing the full list for filtering

speed up the filtering a little bit

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #1180 from SUSE/wip-fix-fetch_binaries_for_coredumps
Zack Cerza [Thu, 7 Jun 2018 18:22:37 +0000 (12:22 -0600)]
Merge pull request #1180 from SUSE/wip-fix-fetch_binaries_for_coredumps

Fix fetch_binaries_for_coredumps

7 years agoFix fetch_binaries_for_coredumps 1180/head
Kyr Shatskyy [Wed, 6 Jun 2018 19:17:43 +0000 (21:17 +0200)]
Fix fetch_binaries_for_coredumps

Addresses error message:

  AttributeError: 'tuple' object has no attribute 'split'

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
7 years agoMerge pull request #1122 from ceph/wip-restart-daemon
vasukulkarni [Mon, 4 Jun 2018 18:35:48 +0000 (11:35 -0700)]
Merge pull request #1122 from ceph/wip-restart-daemon

[orchestra/systemd]: check status when daemon is restarted

7 years agoMerge pull request #1176 from cbodley/wip-ansible-requirements
vasukulkarni [Wed, 23 May 2018 19:51:35 +0000 (12:51 -0700)]
Merge pull request #1176 from cbodley/wip-ansible-requirements

ceph-ansible: add hard-coded notario dependency

7 years agoceph-ansible: add hard-coded notario dependency 1176/head
Casey Bodley [Tue, 22 May 2018 19:26:19 +0000 (15:26 -0400)]
ceph-ansible: add hard-coded notario dependency

Fixes: http://tracker.ceph.com/issues/24230
Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #1175 from ceph/wip-24168
Dan Mick [Fri, 18 May 2018 20:57:46 +0000 (13:57 -0700)]
Merge pull request #1175 from ceph/wip-24168

Unpin libvirt-python

7 years agoUnpin libvirt-python 1175/head
Zack Cerza [Fri, 18 May 2018 19:19:36 +0000 (13:19 -0600)]
Unpin libvirt-python

http://tracker.ceph.com/issues/24168

Signed-off-by: Zack Cerza <zack@redhat.com>
7 years agoMerge pull request #1174 from ceph/wip-suite-tests
David Galloway [Wed, 16 May 2018 21:11:08 +0000 (17:11 -0400)]
Merge pull request #1174 from ceph/wip-suite-tests

suite/test/test_run_.py: Don't hit the network!

7 years agosuite/test/test_run_.py: Don't hit the network! 1174/head
Zack Cerza [Wed, 16 May 2018 21:00:07 +0000 (15:00 -0600)]
suite/test/test_run_.py: Don't hit the network!

Signed-off-by: Zack Cerza <zack@redhat.com>
7 years agoMerge pull request #1173 from ceph/wip-vault-pass
Zack Cerza [Wed, 16 May 2018 20:37:30 +0000 (14:37 -0600)]
Merge pull request #1173 from ceph/wip-vault-pass

ansible.py: Write "foo" to ~/.vault_pass.txt instead of touching

7 years agoansible.py: Write "foo" to ~/.vault_pass.txt instead of touching 1173/head
David Galloway [Wed, 16 May 2018 19:46:38 +0000 (15:46 -0400)]
ansible.py: Write "foo" to ~/.vault_pass.txt instead of touching

ansible-playbook will not run with an empty vault password file.  It
will run if the password file has something in it even if it doesn't get
used.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1165 from ceph/wip-wusui-23208
Zack Cerza [Mon, 7 May 2018 20:57:28 +0000 (14:57 -0600)]
Merge pull request #1165 from ceph/wip-wusui-23208

Allow both $ and directory$ for random yamls.

7 years agoAllow both $ and directory$ for random yamls. 1165/head
Warren Usui [Wed, 11 Apr 2018 00:48:55 +0000 (00:48 +0000)]
Allow both $ and directory$ for random yamls.

If either the diretory contains a magic $ file, or if the directory name
ends with $, then the random selection of a yaml file will occur.

Signed-off-by: Warren Usui <wusui@redhat.com>
7 years agoMerge pull request #1172 from batrick/slow-ops-whitelist
Sage Weil [Thu, 3 May 2018 13:50:06 +0000 (08:50 -0500)]
Merge pull request #1172 from batrick/slow-ops-whitelist

remove blanket SLOW_OPS whitelist

7 years agoremove blanket SLOW_OPS whitelist 1172/head
Patrick Donnelly [Thu, 3 May 2018 13:45:52 +0000 (06:45 -0700)]
remove blanket SLOW_OPS whitelist

Should no longer be necessary after [1].

[1] https://github.com/ceph/ceph/pull/21684

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #1170 from ceph/wip-bionic
Zack Cerza [Tue, 1 May 2018 19:51:35 +0000 (13:51 -0600)]
Merge pull request #1170 from ceph/wip-bionic

Add Bionic to distro map

7 years agoAdd Bionic to distro map 1170/head
David Galloway [Mon, 30 Apr 2018 15:43:31 +0000 (11:43 -0400)]
Add Bionic to distro map

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1167 from tchaikov/wip-job-404
Zack Cerza [Mon, 30 Apr 2018 11:59:58 +0000 (05:59 -0600)]
Merge pull request #1167 from tchaikov/wip-job-404

teuthology/lock: ignore none 200 jobs in node_job_is_active()

7 years agoMerge pull request #1169 from ceph/wip-23798
David Galloway [Tue, 24 Apr 2018 15:56:27 +0000 (11:56 -0400)]
Merge pull request #1169 from ceph/wip-23798

task.selinux: Whitelist syslogd_t denials

7 years agotask.selinux: Whitelist syslogd_t denials 1169/head
David Galloway [Tue, 24 Apr 2018 15:25:40 +0000 (11:25 -0400)]
task.selinux: Whitelist syslogd_t denials

Fixes: http://tracker.ceph.com/issues/23798
Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1168 from tchaikov/wip-mds-all-down
Kefu Chai [Mon, 23 Apr 2018 05:10:56 +0000 (13:10 +0800)]
Merge pull request #1168 from tchaikov/wip-mds-all-down

placeholder: whitelist MDS_ALL_DOWN by default

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoplaceholder: whitelist MDS_ALL_DOWN, MDS_UP_LESS_THAN_MAX by default 1168/head
Kefu Chai [Sat, 21 Apr 2018 15:47:23 +0000 (23:47 +0800)]
placeholder: whitelist MDS_ALL_DOWN, MDS_UP_LESS_THAN_MAX  by default

because, in ceph/qa/tasks/ceph.py, we start mon, mgr, osd, and then mds.
there is a time window where there is no mds around, but mgr is checking
mdsmap for MDS_ALL_DOWN errors. there is no way to disable this check in
this time window. so we just whitelist MDS_ALL_DOWN here.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoteuthology/lock: ignore none 200 jobs in node_job_is_active() 1167/head
Kefu Chai [Sun, 15 Apr 2018 23:56:05 +0000 (07:56 +0800)]
teuthology/lock: ignore none 200 jobs in node_job_is_active()

there is chance that we will have 404 when accessing a job's URI.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #1166 from batrick/i23662
Sage Weil [Thu, 12 Apr 2018 03:27:28 +0000 (22:27 -0500)]
Merge pull request #1166 from batrick/i23662

placeholder: update whitelist for osd slow op wrn

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoplaceholder: update whitelist for osd slow op wrn 1166/head
Patrick Donnelly [Wed, 11 Apr 2018 23:19:25 +0000 (16:19 -0700)]
placeholder: update whitelist for osd slow op wrn

Caused by: https://github.com/ceph/ceph/pull/20660 (ea97c120d2173f2fc70d979d57a7edb2a6c5da5e)

Fixes: https://tracker.ceph.com/issues/23662
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #1160 from ceph/wip-intro-link-new-wiki 1163/head
Zack Cerza [Thu, 5 Apr 2018 22:29:06 +0000 (16:29 -0600)]
Merge pull request #1160 from ceph/wip-intro-link-new-wiki

Update getting started instructions to link to the new sepia wiki

7 years agoMerge pull request #1154 from ceph/wip-distro-head
Zack Cerza [Thu, 5 Apr 2018 22:25:41 +0000 (16:25 -0600)]
Merge pull request #1154 from ceph/wip-distro-head

task.kernel: Only show latest kernel when running rpm -q kernel

7 years agoMerge pull request #1164 from ceph/wip-skip-tags
Zack Cerza [Thu, 5 Apr 2018 19:28:13 +0000 (13:28 -0600)]
Merge pull request #1164 from ceph/wip-skip-tags

ansible: Add ability to skip tags during ansible task

7 years agoansible: Add ability to skip tags during ansible task 1164/head
David Galloway [Thu, 5 Apr 2018 14:42:02 +0000 (10:42 -0400)]
ansible: Add ability to skip tags during ansible task

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1161 from ceph/wip-ansible-group-vars
vasukulkarni [Wed, 4 Apr 2018 15:26:15 +0000 (08:26 -0700)]
Merge pull request #1161 from ceph/wip-ansible-group-vars

task.ansible: Allow passing in custom group_vars

7 years agoOverhaul ansible task tests 1161/head
Zack Cerza [Tue, 3 Apr 2018 18:03:40 +0000 (12:03 -0600)]
Overhaul ansible task tests

This fixes failures that have only manifested in Jenkins; it also causes
CephLab to run more of the Ansible tests.

Signed-off-by: Zack Cerza <zack@redhat.com>
7 years agoUpdate tox again
Zack Cerza [Tue, 3 Apr 2018 18:03:26 +0000 (12:03 -0600)]
Update tox again

Signed-off-by: Zack Cerza <zack@redhat.com>
7 years agotask.internal.syslog: Whitelist a docker warning
Zack Cerza [Tue, 3 Apr 2018 01:33:51 +0000 (19:33 -0600)]
task.internal.syslog: Whitelist a docker warning

Signed-off-by: Zack Cerza <zack@redhat.com>
7 years agopytest.ini: Disable cacheprovider
Zack Cerza [Mon, 2 Apr 2018 21:35:47 +0000 (15:35 -0600)]
pytest.ini: Disable cacheprovider

A change in 3.5.0 seems to be buggy; disable the cache rather than
pinning versions.

I believe the offending commit is:
https://github.com/pytest-dev/pytest/commit/dff0500114971b30a7bb9043acb0d0fb6a9e01c4

Signed-off-by: Zack Cerza <zack@redhat.com>
7 years agotask.ansible: Allow passing in custom group_vars
Zack Cerza [Wed, 21 Mar 2018 23:37:32 +0000 (17:37 -0600)]
task.ansible: Allow passing in custom group_vars

Up until now, if you wanted to inject vars to a playbook run, you had to
use --extra-vars, which don't behave the same way that group_vars do.
This commit adds that functionality.

We look for a 'group_vars' dict in the task's config object. If it's
there, we create group_vars files with names taken from the keys, and
content taken from the values.

Signed-off-by: Zack Cerza <zack@redhat.com>
7 years agoMerge pull request #1157 from ceph/wusui-23208
Zack Cerza [Thu, 29 Mar 2018 20:40:14 +0000 (14:40 -0600)]
Merge pull request #1157 from ceph/wusui-23208

Implement $ option to randomly choose yamls.

7 years agoUpdate getting started instructions to link to the new sepia wiki 1160/head
Gregory Meno [Mon, 26 Mar 2018 17:14:06 +0000 (10:14 -0700)]
Update getting started instructions to link to the new sepia wiki

Signed-off-by: Gregory Meno <gmeno@redhat.com>
7 years agoAdd unit tests for '$' file. 1157/head 1159/head
Warren Usui [Fri, 23 Mar 2018 01:51:57 +0000 (01:51 +0000)]
Add unit tests for '$' file.

Signed-off-by: Warren Usui <wusui@redhat.com>