Sage Weil
dda7954090
suite: do not calculate product on an empty list
...
This fixes a bug where a directory with just % generates a
bogus job item with no actual content. (e.g.,
$ find basic
basic
basic/%
$ teuthology-suite --dry-run --base . --collections basic --name foo
INFO:teuthology.suite:Collection basic in ./basic
INFO:teuthology.suite:configs [('basic/{}', [])]
...which then blows up because the job yaml is empty. With
the fix, there are no generated jobs:
$ teuthology-suite --dry-run --base . --collections basic --name foo
INFO:teuthology.suite:Collection basic in ./basic
INFO:teuthology.suite:configs []
(The configs print was temporarily added for debugging
purposes.)
Signed-off-by: Sage Weil <sage@inktank.com>
2013-09-13 08:22:12 -07:00
Zack Cerza
42c2b704b6
Merge pull request #90 from ceph/sentry
...
Fix get_http_log_path(), update callers, add tests
2013-09-12 15:56:06 -07:00
Zack Cerza
31f0f7ad7e
Fix get_http_log_path(), update callers, add tests
2013-09-12 17:28:50 -05:00
tamil
9de651a945
Merge branch 'master' of github.com:ceph/teuthology
2013-09-12 15:07:32 -07:00
tamil
eb4c575f54
made help more readable
...
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2013-09-12 15:03:10 -07:00
Zack Cerza
2db2ba781a
Fix TypeError
...
(cherry picked from commit c4591a16e1781f8da3502b38e3dc72f629478312)
2013-09-12 16:42:59 -05:00
Alfredo Deza
6552f5a520
Merge pull request #88 from ceph/wip-fix-clones
...
Use check_output() and log.exception()
2013-09-12 10:17:23 -07:00
Zack Cerza
e83b5defe8
Use check_output() and log.exception()
...
This should help us figure out why our checkouts keep getting deleted.
2013-09-12 11:14:08 -05:00
tamil
40d6c60f13
feature # 5942. Added examples to teuthology binaries help page
...
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2013-09-11 17:13:22 -07:00
Alfredo Deza
06be66b33f
Merge pull request #87 from ceph/sentry
...
Add logs URL to sentry reports
2013-09-11 14:06:24 -07:00
Zack Cerza
1228d8cb5a
Add teuthology branch to sentry report tags
2013-09-11 15:45:45 -05:00
Zack Cerza
0ad9c8751e
Ensure teuthology_branch is stored in job_config
2013-09-11 15:40:14 -05:00
Zack Cerza
5b3ce84596
Add ctx.config to sentry info.
2013-09-11 15:31:31 -05:00
Zack Cerza
fe51db6fc0
Merge job_config and ctx.config
2013-09-11 15:14:58 -05:00
Zack Cerza
725ba83c04
Add test for misc.get_http_log_path()
2013-09-11 14:49:15 -05:00
Zack Cerza
38a1a6dde5
Use sentry.get_ident() again
2013-09-11 14:00:58 -05:00
Zack Cerza
4e9c5378ba
Don't fail if there's no job_id
2013-09-11 13:58:19 -05:00
Zack Cerza
df4925703e
Passing job_id to get_http_log_path() is optional
2013-09-11 13:47:49 -05:00
Zack Cerza
f7537f9c34
Add logs URL to sentry reports
2013-09-11 13:44:28 -05:00
Zack Cerza
713fa52455
Add job id and actual archive dir to job config
...
Also add job id to info.yaml
2013-09-11 13:44:28 -05:00
Zack Cerza
4699ad1c11
Don't "import misc as teuthology"
2013-09-11 10:50:42 -05:00
Zack Cerza
c1ba276321
Move get_http_log_path
2013-09-11 10:50:42 -05:00
Zack Cerza
c9db15e67c
s/jobid/job_id/
2013-09-11 10:03:30 -05:00
Sage Weil
89df90f68f
rados: add --op copy_from ... support
...
Signed-off-by: Sage Weil <sage@inktank.com>
2013-09-10 16:53:18 -07:00
Sage Weil
748fa5e559
Merge pull request #85 from ceph/wip-testdir
...
remove basedir/testdir distinction
2013-09-10 12:20:29 -07:00
Sage Weil
5acc57f5ad
remove basedir/testdir distinction
...
We should never run with a conflicting testdir in the basedir, and the
code to do this is confusing and buggy. Go back to a single testdir and
simple checks.
Signed-off-by: Sage Weil <sage@inktank.com>
2013-09-10 10:53:41 -07:00
Josh Durgin
9f989c7f19
Merge pull request #84 from ceph/wip-buck-daemon-helper
...
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-09-09 12:45:48 -07:00
Joe Buck
d47ae37e93
Adding in erroneously removed args
...
The 'kill' argument was accidentially removed
as part of patch
53b8e27da9
Signed-off-by: Joe Buck <jbbuck@gmail.com>
2013-09-09 12:37:05 -07:00
Sage Weil
a4e476ba69
Merge remote-tracking branch 'gh/wip-valgrind'
...
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-09-08 21:52:49 -07:00
Sage Weil
922aa09b4c
fix a few missing adjust-ulimits users
...
Signed-off-by: Sage Weil <sage@inktank.com>
2013-09-08 15:12:51 -07:00
Sage Weil
6b4014452f
rgw: fix valgrind when no valgrind
...
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-09-06 17:38:29 -07:00
Sage Weil
a5c33a3dba
rgw: fix valgrind when no valgrind
...
Signed-off-by: Sage Weil <sage@inktank.com>
2013-09-06 17:34:42 -07:00
Josh Durgin
037ef81867
Merge pull request #82 from ceph/wip-valgrind
...
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-09-06 16:20:15 -07:00
Sage Weil
9e03c73775
misc: valgrind: fix cd behavior
...
The cd needs to happen at the beginning of the command, not at the end, or
else the funky wrapper scripts don't work right.
This also cleans up the command line construction a bit so that it is more
flexible, explicit, and hopefully less fragile.
Signed-off-by: Sage Weil <sage@inktank.com>
2013-09-06 16:09:27 -07:00
Sage Weil
19324c63d2
misc: valgrind: fix valgrind.supp path
...
Signed-off-by: Sage Weil <sage@inktank.com>
2013-09-06 16:09:27 -07:00
Sage Weil
766bd05f9c
Merge pull request #81 from ceph/wip-runfix
...
Get rid of chdir-coredump.
2013-09-06 15:13:02 -07:00
Zack Cerza
82cfa848b4
Get rid of chdir-coredump.
2013-09-06 17:11:44 -05:00
Zack Cerza
f8e150404c
Merge pull request #80 from ceph/wip-runfix
...
ceph: fix daemon-helper typo
2013-09-06 14:56:57 -07:00
Sage Weil
a60e84d43f
ceph: fix daemon-helper typo
...
Broken in edc5ef8860
Signed-off-by: Sage Weil <sage@inktank.com>
2013-09-06 14:49:38 -07:00
Zack Cerza
feb204bf81
Merge pull request #79 from ceph/wip-valgrind
...
misc: valgrind --num-callers=50
2013-09-06 14:10:47 -07:00
Sage Weil
2214fe1845
misc: valgrind --num-callers=50
...
Default is 12, which isn't quite enough.
Signed-off-by: Sage Weil <sage@inktank.com>
2013-09-06 14:05:29 -07:00
Sage Weil
c6d7ae0fa5
Merge pull request #78 from ceph/wip-6247
...
Move helper scripts to /usr/local/bin to clean up logs.
2013-09-06 13:24:34 -07:00
Zack Cerza
53b8e27da9
Helper scripts live in /usr/local/bin now!
2013-09-06 15:10:11 -05:00
Zack Cerza
edc5ef8860
Move helper scripts to /usr/local/bin
2013-09-06 15:09:41 -05:00
Alfredo Deza
bbdfa147fc
Merge pull request #77 from ceph/wip-start
...
queue: fix stderr redirect
2013-09-06 09:40:43 -07:00
Sage Weil
1a05f9d0a2
queue: fix stderr redirect
...
Signed-off-by: Sage Weil <sage@inktank.com>
2013-09-06 09:39:30 -07:00
Alfredo Deza
a4f0551fda
Merge pull request #75 from ceph/wip-tube
...
queue: include tube name in worker logs
2013-09-06 09:27:43 -07:00
Sage Weil
1a03b17568
Merge pull request #76 from ceph/wip-5954
...
Be polite and restore /etc/sudoers when done
2013-09-06 09:23:51 -07:00
Sage Weil
5cd2f08132
queue: include tube name in worker logs
...
Signed-off-by: Sage Weil <sage@inktank.com>
2013-09-06 09:19:30 -07:00
Zack Cerza
f0eabc970f
Be polite and restore /etc/sudoers when done
2013-09-06 11:18:17 -05:00