ec2test attached corrupted subunit stream

Bug #601254 reported by Robert Collins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad Developer Utilities
Triaged
Low
Unassigned

Bug Description

when my lognamer branch revno 11061 was run on ec2test, the attached logfile was generated; it has been damaged - probably by mixing stderr and stdout indiscriminately, or alternatively by \r\n mangling.

Revision history for this message
Robert Collins (lifeless) wrote :
Gary Poster (gary)
Changed in launchpad-foundations:
status: New → Triaged
importance: Undecided → Low
tags: added: build-infrastructure
Revision history for this message
Jonathan Lange (jml) wrote :

Can you please explain how it's corrupted? It looks perfectly fine to me.

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 601254] Re: ec2test sent corrupted gz file

Run it through subunit.

Jonathan Lange (jml)
tags: added: ec2test
summary: - ec2test sent corrupted gz file
+ ec2test attached corrupted subunit stream
Revision history for this message
Jonathan Lange (jml) wrote :

I had a look at this. The root cause is mixing stdout & stderr. It's easy to change ec2test/remote.py to discard stderr, it's quite hard to change it to include stderr in the merged format that it's in now as well as keep a "pure" stdout for subunit parsing purposes.

For me, the easiest way to fix this bug properly would be to switch remote.py to use Twisted. This would make bug 419694 easier to fix too.

Aaron Bentley (abentley)
affects: launchpad → lp-dev-utils
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.