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. ** Also affects: python-testtools (Ubuntu) Importance: Undecided Status: New ** Changed in: python-testtools (Ubuntu) Status: New => Triaged ** Changed in: python-testtools (Ubuntu) Importance: Undecided => Critical -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to python-testtools in Ubuntu. https://bugs.launchpad.net/bugs/1435978 Title: subunit file often missing attachments Status in Autopilot: Triaged Status in python-testtools package in Ubuntu: Triaged 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_screenshot() calls to help debug my tests during each stage of the test interacting with the UI, but very often, these images are missing from the resulting subunit file after running the tests. Often, the stderr, stdout, etc… logs will also be missing from the tests data, especially for tests which are passing. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/autopilot/+bug/1435978/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp