bzr tests fail with "lost connection"

Bug #591507 reported by Martin Pool
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Incomplete
High
Unassigned
PQM
Triaged
Undecided
Unassigned

Bug Description

I submitted a test that failed with:

time: 2010-06-04 06:35:30.914710Z
test: bzrlib.tests.per_branch.test_last_revision_info.TestLastRevisionInfo.test_non_empty_branch(BzrBranchFormat8)
error: bzrlib.tests.per_branch.test_last_revision_info.TestLastRevisionInfo.test_non_empty_branch(BzrBranchFormat8)
[
_StringException: lost connection during success report of test
'bzrlib.tests.per_branch.test_last_revision_info.TestLastRevisionInfo.test_non_empty_branch(BzrBranchFormat8)'

from http://sourcefrog.net/tmp/1m/pqm-failure.txt

does that mean anything to you?

and Robert said

I think it means a progress bar or other thing output to stdout (not
stderr, PQM *should* be immune to that) trampled on the protocol, so
it didn't see the end of message for the test; that content should be
in the stderr which is included at the top of the test.

Hmm, please file a bug, its not certain that the pending-rollout
improvements I've made will be sufficient to make this really usable.

Tags: selftest
Revision history for this message
Martin Pool (mbp) wrote :

I'm not sure if anything actually needs to be fixed in bzr.

If the currently-underway doesn't fix this I'm inclined to turn off --subunit, because the streams sent by mail are mangled anyhow.

Changed in bzr:
importance: Undecided → High
status: New → Incomplete
Martin Pool (mbp)
Changed in pqm:
status: New → In Progress
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Is this still an issue?

tags: added: selftest
Revision history for this message
Vincent Ladeuil (vila) wrote :

This appear in many spurious babune failures and the cause is still unknown.

Revision history for this message
Vincent Ladeuil (vila) wrote :

At one point I realized that this may be related to subprocesses stdout/stderr management.

We fixed some issues there so I'm not sure we can still encounter *this* issue.

Leaving the bug in incomplete state, please report any re-occurrence.

Jelmer Vernooij (jelmer)
Changed in pqm:
status: In Progress → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.