odd rabbit configuration sequence in yuixhr tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
High
|
Unassigned |
Bug Description
With the following patch applied to LP I was able to determine that the rabbit configuration in the yuixhr appserver gets toggled off after starting enabled.
As we want to probe actions taking place in the subordinate appserver, we want to share some things:
- test db
- rabbit instance
- librarian
etc
From the attached trace, this is what happens:
- test runner starts (pid 1447) w/no rabbit
- test slave starts (pid 1687) w/ rabbit configured and running port 54056
- librarian is started (pid 1701) w/out rabbit
- librarian is reconfigured during startup (same pid no rabbit)
- test runner connects to oops queue to catch oops (from pid 1447) on rabbit 54056
- test slave attempts to raise an oops but rabbit is no longer configured
-> something during the slave startup is overriding the rabbit config to say its not configured.
triaging as high as AFAICT this is a preexisting defect in the yuixhr environment (and will affect any attempt to use rabbit features with it)
setting INTERACTIVE_TESTS=1 when running the test suite 'fixes' this by creating a rabbit within the testapp environment. its trace shows:
slave appserver rabbit - initially 59260
reconfigured to port 53162
and oopses raised in the appserver won't be seen by the parent test runner, so not a good solution, but makes me think I'm in the right area.