]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Zack Cerza [Wed, 11 Sep 2013 19:49:15 +0000 (14:49 -0500)]
Add test for misc.get_http_log_path()
Zack Cerza [Wed, 11 Sep 2013 19:00:58 +0000 (14:00 -0500)]
Use sentry.get_ident() again
Zack Cerza [Wed, 11 Sep 2013 18:56:48 +0000 (13:56 -0500)]
Don't fail if there's no job_id
Zack Cerza [Wed, 11 Sep 2013 18:47:49 +0000 (13:47 -0500)]
Passing job_id to get_http_log_path() is optional
Zack Cerza [Wed, 11 Sep 2013 15:17:02 +0000 (10:17 -0500)]
Add logs URL to sentry reports
Zack Cerza [Wed, 11 Sep 2013 14:59:45 +0000 (09:59 -0500)]
Add job id and actual archive dir to job config
Also add job id to info.yaml
Zack Cerza [Wed, 11 Sep 2013 15:08:18 +0000 (10:08 -0500)]
Don't "import misc as teuthology"
Zack Cerza [Wed, 11 Sep 2013 14:45:46 +0000 (09:45 -0500)]
Move get_http_log_path
Zack Cerza [Tue, 10 Sep 2013 19:44:38 +0000 (14:44 -0500)]
s/jobid/job_id/
Sage Weil [Tue, 10 Sep 2013 19:20:29 +0000 (12:20 -0700)]
Merge pull request #85 from ceph/wip-testdir
remove basedir/testdir distinction
Sage Weil [Tue, 10 Sep 2013 17:53:41 +0000 (10:53 -0700)]
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>
Josh Durgin [Mon, 9 Sep 2013 19:45:48 +0000 (12:45 -0700)]
Merge pull request #84 from ceph/wip-buck-daemon-helper
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Joe Buck [Mon, 9 Sep 2013 19:07:29 +0000 (12:07 -0700)]
Adding in erroneously removed args
The 'kill' argument was accidentially removed
as part of patch
53b8e27da996f2efdcc4eb687f3bda0791a8d947
Signed-off-by: Joe Buck <jbbuck@gmail.com>
Sage Weil [Mon, 9 Sep 2013 04:52:49 +0000 (21:52 -0700)]
Merge remote-tracking branch 'gh/wip-valgrind'
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Sage Weil [Sun, 8 Sep 2013 22:12:51 +0000 (15:12 -0700)]
fix a few missing adjust-ulimits users
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Sat, 7 Sep 2013 00:38:29 +0000 (17:38 -0700)]
rgw: fix valgrind when no valgrind
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Sage Weil [Sat, 7 Sep 2013 00:34:42 +0000 (17:34 -0700)]
rgw: fix valgrind when no valgrind
Signed-off-by: Sage Weil <sage@inktank.com>
Josh Durgin [Fri, 6 Sep 2013 23:20:15 +0000 (16:20 -0700)]
Merge pull request #82 from ceph/wip-valgrind
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Sage Weil [Fri, 6 Sep 2013 22:56:39 +0000 (15:56 -0700)]
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>
Sage Weil [Fri, 6 Sep 2013 22:55:14 +0000 (15:55 -0700)]
misc: valgrind: fix valgrind.supp path
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 6 Sep 2013 22:13:02 +0000 (15:13 -0700)]
Merge pull request #81 from ceph/wip-runfix
Get rid of chdir-coredump.
Zack Cerza [Fri, 6 Sep 2013 22:11:44 +0000 (17:11 -0500)]
Get rid of chdir-coredump.
Zack Cerza [Fri, 6 Sep 2013 21:56:57 +0000 (14:56 -0700)]
Merge pull request #80 from ceph/wip-runfix
ceph: fix daemon-helper typo
Sage Weil [Fri, 6 Sep 2013 21:49:05 +0000 (14:49 -0700)]
ceph: fix daemon-helper typo
Broken in
edc5ef8860b2917c14ee648f15ac7751535d411a
Signed-off-by: Sage Weil <sage@inktank.com>
Zack Cerza [Fri, 6 Sep 2013 21:10:47 +0000 (14:10 -0700)]
Merge pull request #79 from ceph/wip-valgrind
misc: valgrind --num-callers=50
Sage Weil [Fri, 6 Sep 2013 21:05:29 +0000 (14:05 -0700)]
misc: valgrind --num-callers=50
Default is 12, which isn't quite enough.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 6 Sep 2013 20:24:34 +0000 (13:24 -0700)]
Merge pull request #78 from ceph/wip-6247
Move helper scripts to /usr/local/bin to clean up logs.
Zack Cerza [Fri, 6 Sep 2013 20:08:01 +0000 (15:08 -0500)]
Helper scripts live in /usr/local/bin now!
Zack Cerza [Fri, 6 Sep 2013 19:22:29 +0000 (14:22 -0500)]
Move helper scripts to /usr/local/bin
Alfredo Deza [Fri, 6 Sep 2013 16:40:43 +0000 (09:40 -0700)]
Merge pull request #77 from ceph/wip-start
queue: fix stderr redirect
Sage Weil [Fri, 6 Sep 2013 16:39:22 +0000 (09:39 -0700)]
queue: fix stderr redirect
Signed-off-by: Sage Weil <sage@inktank.com>
Alfredo Deza [Fri, 6 Sep 2013 16:27:43 +0000 (09:27 -0700)]
Merge pull request #75 from ceph/wip-tube
queue: include tube name in worker logs
Sage Weil [Fri, 6 Sep 2013 16:23:51 +0000 (09:23 -0700)]
Merge pull request #76 from ceph/wip-5954
Be polite and restore /etc/sudoers when done
Sage Weil [Fri, 6 Sep 2013 16:18:57 +0000 (09:18 -0700)]
queue: include tube name in worker logs
Signed-off-by: Sage Weil <sage@inktank.com>
Zack Cerza [Fri, 6 Sep 2013 16:18:17 +0000 (11:18 -0500)]
Be polite and restore /etc/sudoers when done
Sage Weil [Thu, 5 Sep 2013 22:16:32 +0000 (15:16 -0700)]
Merge pull request #74 from ceph/wip-5954
Wip 5954
Sage Weil [Thu, 5 Sep 2013 22:15:55 +0000 (15:15 -0700)]
Merge pull request #73 from ceph/wip-5954-alt
Via automagic, only call ulimit -n if running as root.
Zack Cerza [Wed, 4 Sep 2013 17:55:58 +0000 (12:55 -0500)]
Add internal.sudo subtask.
Zack Cerza [Wed, 4 Sep 2013 17:16:12 +0000 (12:16 -0500)]
Let execute() accept a string for args.
Zack Cerza [Wed, 4 Sep 2013 16:02:56 +0000 (11:02 -0500)]
Add Cluster.write_file()
Zack Cerza [Wed, 4 Sep 2013 15:16:43 +0000 (10:16 -0500)]
Use misc.get_archive_dir()
Zack Cerza [Wed, 4 Sep 2013 15:16:17 +0000 (10:16 -0500)]
Add get_archive_dir()
Zack Cerza [Thu, 5 Sep 2013 21:41:27 +0000 (16:41 -0500)]
Put sudo in front of adjust-ulimits if it's used
Zack Cerza [Thu, 5 Sep 2013 20:08:36 +0000 (15:08 -0500)]
Via automagic, only call ulimit -n if running as root.
Also, add comments because comments are cool.
Sandon Van Ness [Thu, 5 Sep 2013 18:58:27 +0000 (11:58 -0700)]
Run yum clean all after installing new ceph-release.
In order to get around the issue of repomd.xml being older than
the previously installed one depending on when the gitbuilder
built the repo.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Zack Cerza [Wed, 4 Sep 2013 21:24:26 +0000 (14:24 -0700)]
Merge pull request #71 from ceph/wip-no-pythonpath
drop obsolete PYTHONPATH settings
Sage Weil [Wed, 4 Sep 2013 21:21:01 +0000 (14:21 -0700)]
drop obsolete PYTHONPATH settings
These are left over from when we were extracting a tarball in the test dir.
Signed-off-by: Sage Weil <sage@inktank.com>
Zack Cerza [Wed, 4 Sep 2013 20:16:33 +0000 (15:16 -0500)]
Append '/' to the end of the log directory path
Zack Cerza [Wed, 4 Sep 2013 16:16:04 +0000 (09:16 -0700)]
Merge pull request #64 from ceph/wip-nuke-info
nuke: get pid, owner from info.yaml (if present)
Zack Cerza [Wed, 4 Sep 2013 16:13:39 +0000 (09:13 -0700)]
Merge pull request #65 from ceph/wip-schedule
schedule: strip out targets
Zack Cerza [Wed, 4 Sep 2013 14:04:05 +0000 (07:04 -0700)]
Merge pull request #68 from alfredodeza/6224
add the missing for fedora links in install task
Alfredo Deza [Wed, 4 Sep 2013 13:03:28 +0000 (09:03 -0400)]
add the missing for fedora links in install task
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Sage Weil [Wed, 4 Sep 2013 04:56:32 +0000 (21:56 -0700)]
schedule_suite.sh: turn up osd logging a little
We have a collectin of bugs that we haven't been able to
reproduce but crop up regularly in the nightlies. Sam's best
guess is a dropped message, so let's try to catch that.
Signed-off-by: Sage Weil <sage@inktank.com>
Warren Usui [Tue, 3 Sep 2013 21:35:00 +0000 (14:35 -0700)]
Add missing sudo from command.
Fixes: #6218
Alfredo Deza [Tue, 3 Sep 2013 21:07:36 +0000 (14:07 -0700)]
Merge pull request #67 from ceph/wip-3791
Wip 3791
Zack Cerza [Tue, 3 Sep 2013 21:05:02 +0000 (16:05 -0500)]
Add note about public teuthology logs.
Zack Cerza [Tue, 3 Sep 2013 21:02:17 +0000 (16:02 -0500)]
Wrap paragraphs.
Alfredo Deza [Tue, 3 Sep 2013 20:24:45 +0000 (13:24 -0700)]
Merge pull request #66 from ceph/wip-specific-exceptions
Catch CommandFailedError and print debug info
Zack Cerza [Tue, 3 Sep 2013 19:40:31 +0000 (14:40 -0500)]
Catch CommandFailedError and print debug info
Sage Weil [Tue, 3 Sep 2013 19:05:38 +0000 (12:05 -0700)]
schedule: strip out targets
If the user feeds in a yaml with targets, the worker will launch the job
but fail with
2013-09-03T11:18:34.333 CRITICAL:root:AssertionError: You cannot specify targets in a config file when using the --lock option
Just strip them out before scheduling. This eases my personal workflow
where I have a test I'm running manually against some prelocked machines
but also want to schedule it.
Signed-off-by: Sage Weil <sage@inktank.com>
Zack Cerza [Tue, 3 Sep 2013 18:46:31 +0000 (13:46 -0500)]
Logs and Sentry links are public now.
Sage Weil [Tue, 3 Sep 2013 18:09:39 +0000 (11:09 -0700)]
Revert "Use install -d for /var/log/ceph."
This reverts commit
8f29b3f9f1f294c449bb5215767cad67fdf7cde6 .
Reviewed-by: Warren Usui <warren.usui@inktank.com>
Sage Weil [Sun, 1 Sep 2013 15:48:41 +0000 (08:48 -0700)]
schedule_suite.sh: default email to ceph-qa@ceph.com
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Sat, 31 Aug 2013 06:22:24 +0000 (23:22 -0700)]
Revert "get_scratch_devices(): catch CommandFailedError, log "dev in use""
This reverts commit
416508de9c628c5cae1b3a7f05bb3ec0e3639bdb .
NameError: global name 'CommandFailedError' is not defined
Sage Weil [Sat, 31 Aug 2013 00:34:05 +0000 (17:34 -0700)]
README: add deps
Reported-by: Loic Dachary <loic@dachary.org>
Signed-off-by: Sage Weil <sage@inktank.com>
tamil [Sat, 31 Aug 2013 00:35:15 +0000 (17:35 -0700)]
s/ceph-debug/ceph-debuginfo for rpms
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
Dan Mick [Fri, 30 Aug 2013 22:42:53 +0000 (15:42 -0700)]
get_scratch_devices(): catch CommandFailedError, log "dev in use"
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Sage Weil [Thu, 29 Aug 2013 23:41:09 +0000 (16:41 -0700)]
nuke: get pid, owner from info.yaml (if present)
Fall back to the old files if info.yaml is missing.
Signed-off-by: Sage Weil <sage@inktank.com>
Alfredo Deza [Fri, 30 Aug 2013 16:15:45 +0000 (09:15 -0700)]
Merge pull request #63 from ceph/wip-logger
Never use 'except:' without specifying an Exception.
Zack Cerza [Fri, 30 Aug 2013 15:58:10 +0000 (10:58 -0500)]
Never use 'except:' without specifying an Exception.
Alfredo Deza [Fri, 30 Aug 2013 14:50:30 +0000 (07:50 -0700)]
Merge pull request #62 from ceph/wip-logger
Add hung job description to email
Sage Weil [Fri, 30 Aug 2013 03:27:40 +0000 (20:27 -0700)]
run: do not import at top level
This makes a run with --lock hang when connecting, for some
reason. E.g.,
$ teuthology -v a.yaml --lock
...
INFO:teuthology.task.internal:Opening connections...
DEBUG:teuthology.task.internal:connecting to ubuntu@plana06.front.sepia.ceph.com
<hangs>
No clue what is going on here, but this fixes it!
Signed-off-by: Sage Weil <sage@inktank.com>
Zack Cerza [Thu, 29 Aug 2013 22:08:51 +0000 (17:08 -0500)]
Add hung job description to email
Alfredo Deza [Thu, 29 Aug 2013 21:26:30 +0000 (14:26 -0700)]
Merge pull request #61 from ceph/wip-logger
Log all the things! (Things like exceptions.)
Zack Cerza [Thu, 29 Aug 2013 21:12:36 +0000 (16:12 -0500)]
Workers: only log child's stderr, not stdout
Zack Cerza [Thu, 29 Aug 2013 19:56:15 +0000 (14:56 -0500)]
Don't print colon if there's no exception message. Also, remove testing
exception.
Zack Cerza [Thu, 29 Aug 2013 19:07:13 +0000 (14:07 -0500)]
Pretty-up write_initial_metadata; s/run/name/
Zack Cerza [Thu, 29 Aug 2013 19:01:04 +0000 (14:01 -0500)]
Add exception hook
Sage Weil [Thu, 29 Aug 2013 18:46:38 +0000 (11:46 -0700)]
run: write info.yaml on job start
Include basic metadata bout the job.
Signed-off-by: Sage Weil <sage@inktank.com>
Zack Cerza [Thu, 29 Aug 2013 18:35:52 +0000 (13:35 -0500)]
Move logging setup out of main()
Sage Weil [Thu, 29 Aug 2013 16:52:51 +0000 (09:52 -0700)]
test
Sage Weil [Thu, 29 Aug 2013 16:52:45 +0000 (09:52 -0700)]
run: set up archive dir and logger output sooner
Signed-off-by: Sage Weil <sage@inktank.com>
Alfredo Deza [Thu, 29 Aug 2013 13:07:44 +0000 (06:07 -0700)]
Merge pull request #58 from ceph/queue
Don't assume anything about the base path here.
Sage Weil [Thu, 29 Aug 2013 04:54:26 +0000 (21:54 -0700)]
schedule_suite.sh: allow partial 'suite' names
Mangle the name (/ -> :) in the run name. Separate base from
relative path so that the job names don't include a full path.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Thu, 29 Aug 2013 04:53:41 +0000 (21:53 -0700)]
suite: return [] for build_matrix base case
This gives us an empty list instead of a crash on an empty dir
or bad symlink
Signed-off-by: Sage Weil <sage@inktank.com>
Alfredo Deza [Thu, 29 Aug 2013 01:52:29 +0000 (18:52 -0700)]
Merge pull request #60 from ceph/sentry
Add run name to first line of email.
Zack Cerza [Wed, 28 Aug 2013 21:26:08 +0000 (14:26 -0700)]
Merge pull request #59 from ceph/wip-collections
redo the way we describe test collections
Zack Cerza [Wed, 28 Aug 2013 20:41:14 +0000 (15:41 -0500)]
Add run name to first line of email.
Sage Weil [Wed, 28 Aug 2013 20:25:22 +0000 (13:25 -0700)]
suite: build_matrix as a list of filenames, not file content
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Sat, 24 Aug 2013 05:36:01 +0000 (22:36 -0700)]
suite: allow individual files to be scheduled
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 23 Aug 2013 06:29:27 +0000 (23:29 -0700)]
suite: generalize collection expansion
Previous, a collection was a directory like this:
mycollection/
mycollection/facet1/
mycollection/facet1/1a.yaml
mycollection/facet1/1b.yaml
mycollection/facet2/
mycollection/facet2/2a.yaml
mycollection/facet3/
mycollection/facet3/3a.yaml
mycollection/facet3/3b.yaml
and this would expand to
1a + 2a + 3a
1a + 2a + 3b
1b + 2a + 3a
1b + 2a + 3b
The fixed directory depth and requirement for a subdir even
when there is only 1 item is annoying. Instead, allow an
arbitrary directory structure, with the following rules:
- a .yaml file is a taken as-is (duh); other files still
ignored
- a directory is normally just a way to organize files. We
recursively descend and build a list of what we fine.
- a directory with a '%' file in it is special:
- take the product of every item in the dir (much like
we did before)
- a directory with a '+' file in it is special:
- concatenate everything in the dir into one job
Note that this is equivalent to the previous structure if we
do:
for facet in mycollection/* ; do touch $facet/% ; done
We can clean up slightly be taking any dir with only one yaml
file in it and replacing the dir with the bare .yaml.
Once this is done, we can reorganize directories however we
like.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 23 Aug 2013 06:22:04 +0000 (23:22 -0700)]
suite: clean up imports
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 23 Aug 2013 05:42:11 +0000 (22:42 -0700)]
suite: make collection args (optionally) relative to a base dir
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 23 Aug 2013 05:30:13 +0000 (22:30 -0700)]
suite: make names a bit more friendly
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 23 Aug 2013 05:30:05 +0000 (22:30 -0700)]
suite: add --dry-run
Signed-off-by: Sage Weil <sage@inktank.com>
Zack Cerza [Wed, 28 Aug 2013 18:36:15 +0000 (13:36 -0500)]
Don't assume anything about the base path here.
Alfredo Deza [Wed, 28 Aug 2013 16:38:20 +0000 (09:38 -0700)]
Merge pull request #54 from ceph/sentry
Add logs and Sentry events to suite emails
Zack Cerza [Wed, 28 Aug 2013 16:19:04 +0000 (11:19 -0500)]
Don't return inside __init__
Zack Cerza [Wed, 28 Aug 2013 16:15:27 +0000 (11:15 -0500)]
Add apology for non-public links
Zack Cerza [Wed, 28 Aug 2013 16:12:10 +0000 (11:12 -0500)]
Indent wrapped exceptions.