Merge lp:~jtv/launchpad/bug-463097 into lp:launchpad

Proposed by Jeroen T. Vermeulen
Status: Rejected
Rejected by: Jeroen T. Vermeulen
Proposed branch: lp:~jtv/launchpad/bug-463097
Merge into: lp:launchpad
Diff against target: 24 lines
2 files modified
configs/development/launchpad-lazr.conf (+1/-1)
configs/testrunner/launchpad-lazr.conf (+0/-1)
To merge this branch: bzr merge lp:~jtv/launchpad/bug-463097
Reviewer Review Type Date Requested Status
Jeroen T. Vermeulen (community) Disapprove
Michael Nelson (community) code Approve
Review via email: mp+14140@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

= Oops config tweaks for poimport =

This branch is attached to bug 463097, but is not its solution. The actual production config that's needed to make my oopses work needs to go into a separate branch, not the code branches.

These tweaks don't matter much; they're mainly here to validate the documentation on oops logging that I started at https://dev.launchpad.net/LoggingOopses

To test:
{{{
./bin/test -vv -t 'translations.*import'
}}}

This successfully generates oops reports in {{{/var/tmp/poimport.test}}}, as before. I found no lint, and since this affects tests and local runs only (and the latter only in the naming of a directory of no further consequence), there's no Q/A plan either.

Jeroen

Revision history for this message
Michael Nelson (michael.nelson) wrote :

Hi Jeroen,

The tweak here adding the error_dir to the development conf looks fine - I'm a little confused as to why the testrunner config was the wrong place for the error_dir when running tests, but as you said, the oopses are correctly generated when running the tests with the development error_dir.

review: Approve (code)
Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

BjornT feels it's probably better to have oopses from test runs and ones from local runs separate.

review: Disapprove

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'configs/development/launchpad-lazr.conf'
2--- configs/development/launchpad-lazr.conf 2009-10-29 05:50:08 +0000
3+++ configs/development/launchpad-lazr.conf 2009-10-29 07:05:28 +0000
4@@ -204,7 +204,7 @@
5 oops_prefix: RSBR
6
7 [poimport]
8-error_dir: /var/tmp/poimport
9+error_dir: /var/tmp/poimport.test
10 oops_prefix: POI
11
12 [supermirror_puller]
13
14=== modified file 'configs/testrunner/launchpad-lazr.conf'
15--- configs/testrunner/launchpad-lazr.conf 2009-10-23 18:00:45 +0000
16+++ configs/testrunner/launchpad-lazr.conf 2009-10-29 07:05:28 +0000
17@@ -171,7 +171,6 @@
18 root: /var/tmp/ppa.test/
19
20 [poimport]
21-error_dir: /var/tmp/poimport.test
22 oops_prefix: TPOI
23
24 [rosettabranches]