subunit file often missing attachments
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Autopilot |
Critical
|
Unassigned | ||
| | python-testtools (Ubuntu) |
Critical
|
Unassigned | ||
Bug Description
When running my tests, very often the subunit file that is created, is missing images, logs, and other test data, which is vital to debugging issues with the tests.
For example, I've added several self.take_
This makes it very time consuming to debug problems, as one must run the tests over and over ad nausea, until the necessary data eventually shows up in the subunit file.
| dobey (dobey) wrote : | #1 |
| Changed in python-testtools (Ubuntu): | |
| status: | New → Triaged |
| importance: | Undecided → Critical |
| Christopher Lee (veebers) wrote : | #2 |
Rodney, so I take it that it is safe to remove Autopilot as an "affects"? Seems like it's a purely testtools issue.
| dobey (dobey) wrote : | #3 |
I suppose that would be fine, but you might want to keep it on to track the issue?
| Christopher Lee (veebers) wrote : | #4 |
Good point :-) Thanks.

OK. This is resolved by upgrading to the latest testtools, which has many many fixes since the version currently available in debian/ubuntu.
Unfortunately, it requires updated unittest2 as well, and some other new dependencies which are not yet packaged. However, I've got some initial packaging for these, and the latest testtools, in ppa:dobey/testtools and it is working much more reliably for me now.