Commit Graph

1650 Commits

Author SHA1 Message Date
Zack Cerza
6367868aed Merge pull request #107 from ceph/wip-fix-undefined-config
fix an undefined name buy importing config
2013-09-24 09:41:44 -07:00
Alfredo Deza
3e75cf3b89 fix an undefined name buy importing config
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2013-09-24 12:39:43 -04:00
Sage Weil
ed6c2c087e ceph.conf: reduce min pg per osd
Signed-off-by: Sage Weil <sage@inktank.com>
2013-09-24 08:49:32 -07:00
Alfredo Deza
8f4b1974b0 Merge pull request #106 from ceph/wip-mirror
Remove lots of ceph.com hardcoding; default to upstream sources
2013-09-24 08:17:22 -07:00
Zack Cerza
4043c7d72c Split test into two 2013-09-24 10:09:04 -05:00
Alfredo Deza
c19bd9bae3 Merge pull request #105 from ceph/wip-missing-packages
When scheduling fails, send an email.
2013-09-24 06:59:49 -07:00
Zack Cerza
058b1fab8e When scheduling fails, send an email.
Note that if no email is passed on the command line, no error email will
be sent. I did this to be polite.
2013-09-23 20:14:28 -05:00
Zack Cerza
0ce627874f Don't hardcode the git://ceph.com/git/ mirror
Default to https://github.com/ceph/ but add a ~/teuthology.yaml option
2013-09-20 15:53:58 -05:00
Zack Cerza
e6040f7887 Don't hardcode ceph.com mirror for linux-firmware 2013-09-20 15:53:00 -05:00
Zack Cerza
dc1c425032 Merge pull request #103 from ceph/toxify
Toxify teuthology
2013-09-20 13:50:52 -07:00
Alfredo Deza
b79343cc95 move the sitepackages to testenv section
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2013-09-20 16:49:44 -04:00
Alfredo Deza
feefe218fe tell py.test that we want teuthology stuff only
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2013-09-20 16:49:44 -04:00
Alfredo Deza
b684241986 tell tox to use site-packages
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2013-09-20 16:49:44 -04:00
Alfredo Deza
cbda14f64c just use python 2.7 for now
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2013-09-20 16:49:44 -04:00
Alfredo Deza
8d3cf9e176 make sure we don't hard code the path for py.test
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2013-09-20 16:49:44 -04:00
Alfredo Deza
345bc47fc5 append .tox to avoid going in there
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2013-09-20 16:49:44 -04:00
Zack Cerza
d1deb6d579 Don't hardcode teuthology's git repo URL 2013-09-20 15:24:11 -05:00
Zack Cerza
9de95d174f Add a basic test for teuthology.config 2013-09-20 15:11:13 -05:00
Zack Cerza
50b55b6ced Merge pull request #104 from ceph/wip-copyfrom
fix ceph_test_rados args
2013-09-20 13:06:34 -07:00
Sage Weil
bfb276091c rados: only pass --op copy_from if non-zero
Among other things, this does not work with older ceph_test_rados binaries.

Backport: next
Signed-off-by: Sage Weil <sage@inktank.com>
2013-09-20 12:56:45 -07:00
Zack Cerza
1600785d2d Add config.ceph_git_base_url 2013-09-20 14:38:01 -05:00
Zack Cerza
db1231b467 Use config.lock_server 2013-09-20 14:34:53 -05:00
Zack Cerza
7153c2be45 Add doc noting Inktank's lockserver URL
Since I just removed it from lockstatus.py.
2013-09-20 14:01:07 -05:00
Zack Cerza
e93c8ef275 Use teuthology.config.
Also use os.path.join()
2013-09-20 14:00:46 -05:00
Alfredo Deza
cc4b9560c9 add a tox file
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2013-09-20 10:28:38 -04:00
Alfredo Deza
eb18cbf412 add .tox to gitignore
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2013-09-20 10:28:38 -04:00
Alfredo Deza
b14bdfbbfb Merge pull request #102 from ceph/wip-tests
Update all existing unit tests.
2013-09-20 07:01:48 -07:00
Zack Cerza
eeb78b6b04 Update test_connect() to reflect API changes
Looks like paramiko changed a bit internally. All unit tests pass now!
2013-09-20 08:39:36 -05:00
Zack Cerza
b993ecac9b Update many unit tests to reflect 2yrs of changes
These tests hadn't been updated in over two years. Only one is left
failing.
2013-09-19 19:29:06 -05:00
Zack Cerza
ffe7d80cfc Add pytest.ini
So far this just tells py.test not to recurse into directories
containing tests it doesn't need to run.
2013-09-19 18:14:51 -05:00
Alfredo Deza
60f5c30501 Merge pull request #101 from ceph/fix-adjust-ulimits-b
Put helper scripts in /usr/bin
2013-09-19 14:07:44 -07:00
Zack Cerza
974aa6ae36 Put helper scripts in /usr/bin 2013-09-19 16:06:40 -05:00
Alfredo Deza
136ef1cd0f Merge pull request #100 from ceph/wip-tests
Add test for teuthology.suite.build_email_body()
2013-09-19 13:57:17 -07:00
Zack Cerza
9ae29fa3bd Port to py.test 2013-09-19 15:55:38 -05:00
Zack Cerza
40907535fc Add test for teuthology.suite.build_email_body() 2013-09-19 15:36:33 -05:00
Zack Cerza
1685de6741 Fix typo 2013-09-18 22:57:20 -05:00
Alfredo Deza
af5ae2dd7b Merge pull request #98 from ceph/time-fix
If duration is missing from summary.yaml, use 0
2013-09-18 12:23:22 -07:00
Zack Cerza
d83912e0bf If duration is missing from summary.yaml, use 0 2013-09-18 14:08:23 -05:00
Alfredo Deza
db92bb9140 Merge pull request #97 from ceph/sentry
Fix logs URL on Sentry pages.
2013-09-18 08:35:58 -07:00
Zack Cerza
aaa3cf9baa Fix logs URL on Sentry pages. 2013-09-18 10:30:26 -05:00
SandonV
b923152eef Merge pull request #96 from ceph/wip-fix-sudoers
Make sed expressions safe to run multiple times
2013-09-17 16:13:15 -07:00
Zack Cerza
bbda7522c6 Make sed expressions safe to run multiple times
Also, make them ignore commented lines.
2013-09-17 18:04:04 -05:00
Zack Cerza
61ddeb6a03 Revert "suite: don't schedule follow-on summary job for an empty run"
This reverts commit a2b7c72896.
2013-09-17 13:47:42 -05:00
Sage Weil
4520c5f6f5 suite: do not calculate product on an empty list (take 2)
The original attempt to fix this with dda7954090
failed because I screwed up the indentation for the out.append(...) line.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-09-16 20:22:09 -07:00
Zack Cerza
e65d6e2a00 Revert "suite: do not calculate product on an empty list"
This reverts commit dda7954090.

This commit was causing the number of jobs scheduled per suite to be
multiplied by anywhere from 2 to 7 or more.
2013-09-16 18:33:21 -05:00
SandonV
a8e77738af Merge pull request #94 from ceph/wip-fix-sudoers
Use teuthology-specific backup for /etc/sudoers
2013-09-16 13:49:39 -07:00
Zack Cerza
8b63396ef6 Use teuthology-specific backup for /etc/sudoers 2013-09-16 15:25:16 -05:00
Alfredo Deza
5ca6bc3974 Merge pull request #93 from ceph/wip-runfix
Make run_job merge job_config['config'] if needed
2013-09-16 11:50:39 -07:00
Zack Cerza
4d2e3c2736 Make run_job merge job_config['config'] if needed 2013-09-16 13:14:52 -05:00
Alfredo Deza
c36da3df07 Merge pull request #92 from ceph/sentry
Be less picky about trailing slashes.
2013-09-16 10:37:24 -07:00