For the record, this reproduces absolutely reliably (10 of 10) on my current trusty system as well:
$ sudo apt-get install python-bzrlib.tests python-subunit $ apt-get source bzr $ cd bzr-* $ bzr selftest bzrlib.tests.test_smart_transport.TestSmartTCPServer.test_graceful_shutdown_waits_for_clients_to_stop
reproduces above test failure.
For the record, this reproduces absolutely reliably (10 of 10) on my current trusty system as well:
$ sudo apt-get install python-bzrlib.tests python-subunit tests.test_ smart_transport .TestSmartTCPSe rver.test_ graceful_ shutdown_ waits_for_ clients_ to_stop
$ apt-get source bzr
$ cd bzr-*
$ bzr selftest bzrlib.
reproduces above test failure.