Conch blows up when processes end due to signals

Bug #161743 reported by Jonathan Lange
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Jonathan Lange
Twisted
Fix Released
Unknown

Bug Description

I got this while running the codehosting acceptance tests.

canonical.codehosting.tests.test_acceptance.AcceptanceTests.test_push_team_branch(bzr+ssh)Traceback (most recent call last):
  File "/home/jml/canonical/lp-branches/trunk/utilities/../lib/twisted/internet/process.py", line 639, in childConnectionLost
    if p == child:
  File "/home/jml/canonical/lp-branches/trunk/utilities/../lib/twisted/internet/process.py", line 652, in maybeCallProcessEnded

  File "/home/jml/canonical/lp-branches/trunk/utilities/../lib/twisted/internet/process.py", line 540, in reapProcess
    reader = self.processReaderFactory(reactor, self, childFD,
  File "/home/jml/canonical/lp-branches/trunk/utilities/../lib/twisted/internet/process.py", line 628, in processEnded
    fcntl.F_SETFD, old & ~fcntl.FD_CLOEXEC)
--- <exception caught here> ---
  File "/home/jml/canonical/lp-branches/trunk/utilities/../lib/twisted/internet/process.py", line 668, in maybeCallProcessEnded
    # if childFD is not in the list of pipes, assume that it is already
  File "/home/jml/canonical/lp-branches/logging-bug-152746/lib/twisted/conch/ssh/session.py", line 199, in processEnded
    self.session.conn.sendRequest(self.session, 'exit-status', struct.pack('!L', reason.value.exitCode))
struct.error: required argument is not an integer

Don't know whether this is a Twisted bug or a Launchpad bug.

OOPS-787SMPSSH12

Tags: lp-code oops
Revision history for this message
Diogo Matsubara (matsubara) wrote :

Bumping importance as this OOPS is the top one for codehosting

description: updated
Changed in launchpad-bazaar:
importance: Undecided → High
Changed in launchpad-bazaar:
assignee: nobody → jml
status: New → Confirmed
Changed in twisted:
status: Unknown → New
Revision history for this message
Jonathan Lange (jml) wrote :

The fix for this landed on our copy of Twisted a while ago -- sorry for not tracking it.

Changed in launchpad-bazaar:
status: Confirmed → Fix Committed
Jonathan Lange (jml)
Changed in launchpad-bazaar:
status: Fix Committed → Fix Released
Changed in twisted:
status: New → Fix Released
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.