[Bug 659590] Re: [SRU] dput sftp upload hangs after all files successfully uploaded

2015-06-17 Thread Rolf Leggewie
lucid has seen the end of its life and is no longer receiving any
updates. Marking the lucid task for this ticket as Won't Fix.

** Changed in: bzr (Ubuntu Lucid)
   Status: Triaged = Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/659590

Title:
  [SRU] dput sftp upload hangs after all files successfully uploaded

To manage notifications about this bug go to:
https://bugs.launchpad.net/bzr/+bug/659590/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 659590] Re: [SRU] dput sftp upload hangs after all files successfully uploaded

2011-09-19 Thread Ubuntu QA's Bug Bot
** Tags added: testcase

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/659590

Title:
  [SRU] dput sftp upload hangs after all files successfully uploaded

To manage notifications about this bug go to:
https://bugs.launchpad.net/bzr/+bug/659590/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 659590] Re: [SRU] dput sftp upload hangs after all files successfully uploaded

2011-04-26 Thread Launchpad Bug Tracker
This bug was fixed in the package bzr - 2.2.4-0ubuntu1

---
bzr (2.2.4-0ubuntu1) maverick-proposed; urgency=low

  [ Jelmer Vernooij ]
  * Update watch file to use 2.2 series.
  * New upstream release.
   + Fixes closing of leaked sockets to SSH subprocesses, which causes
 dput sftp uploads to hang. LP: #659590
   + Fixes the use of 'lp:' urls behind a http proxy. LP: #558343
   + Correctly sets the Content-Type header when http POSTing to comply
 with stricter web frameworks. LP: #665100
   + Fixes propagating tags to the master branch in a bound branch or
 heavyweight checkout. LP: #603395
   + Fixes the use of 'bzr resolve --take-other' if the file is
 involved in an unresolved text conflict. LP: #646961
   + Fixes https access with newer versions of python2.7. LP: #693880
   + Fixes crash during pack caused by a concurrent repository pack
 operation. LP: #701940
   + Fixes communication with the Launchpad web service when using
 launchpadlib = 1.5.5. LP: #707075
   + Switches away from deprecated 'edge.launchpad.net' LP: #583667
   + Fixes resolving of content (and path) conflicts for files in subdirs.
 LP: #660935
   + Fixes nasty recursion loop while displaying branch opening error.
 LP: #687653

  [ Martin Pool ]
  * Propose for maverick SRU.
 -- Martin Pool m...@sourcefrog.net   Thu, 07 Apr 2011 15:30:17 +1000

** Changed in: bzr (Ubuntu Maverick)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/659590

Title:
  [SRU] dput sftp upload hangs after all files successfully uploaded

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 659590] Re: [SRU] dput sftp upload hangs after all files successfully uploaded

2011-04-21 Thread Martin Pool
Verification:

I installed bzr 2.2.4-0ubuntu1 into a maverick chroot and tried Max's
reproduction instructions.  It fails to ask for a password:


Uploading to ppa (via sftp to ppa.launchpad.net):
  bzr_2.2.4-0ubuntu1.dsc: No handlers could be found for logger bzr

bound method SilentUIFactory.get_password of bzrlib.ui.SilentUIFactory
object at 0x14564d0

This is probably fixed upstream, has to do with how dput is calling bzr,
and is not a regression.  I installed openssh-client, which is probably
what people want to use rather than paramiko, and ran an ssh-agent.  The
upload succeeded.

verified ok.

** Tags added: verification-ok
** Tags removed: verification-needed

** Tags added: verification-done
** Tags removed: verification-ok

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/659590

Title:
  [SRU] dput sftp upload hangs after all files successfully uploaded

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 659590] Re: [SRU] dput sftp upload hangs after all files successfully uploaded

2011-04-13 Thread Colin Watson
Accepted bzr into maverick-proposed, the package will build now and be
available in a few hours. Please test and give feedback here. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Thank you in advance!

** Changed in: bzr (Ubuntu Maverick)
   Status: Triaged = Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/659590

Title:
  [SRU] dput sftp upload hangs after all files successfully uploaded

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 659590] Re: [SRU] dput sftp upload hangs after all files successfully uploaded

2011-04-13 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/maverick-proposed/bzr

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/659590

Title:
  [SRU] dput sftp upload hangs after all files successfully uploaded

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 659590] Re: [SRU] dput sftp upload hangs after all files successfully uploaded

2011-03-16 Thread Launchpad Bug Tracker
** Branch linked: lp:~jelmer/ubuntu/maverick/bzr/sru-2.2.4

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/659590

Title:
  [SRU] dput sftp upload hangs after all files successfully uploaded

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 659590] Re: [SRU] dput sftp upload hangs after all files successfully uploaded

2011-03-13 Thread Jelmer Vernooij
** Changed in: bzr (Ubuntu)
   Status: In Progress = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/659590

Title:
  [SRU] dput sftp upload hangs after all files successfully uploaded

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 659590] Re: [SRU] dput sftp upload hangs after all files successfully uploaded

2011-01-28 Thread Vincent Ladeuil
** Changed in: bzr/2.3
Milestone: None = 2.3b4

** Changed in: bzr/2.3
 Assignee: (unassigned) = Max Bowsher (maxb)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/659590

Title:
  [SRU] dput sftp upload hangs after all files successfully uploaded

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 659590] Re: [SRU] dput sftp upload hangs after all files successfully uploaded

2011-01-28 Thread Launchpad Bug Tracker
** Branch linked: lp:~jelmer/ubuntu/maverick/bzr/proposed-2.2.3

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/659590

Title:
  [SRU] dput sftp upload hangs after all files successfully uploaded

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 659590] Re: [SRU] dput sftp upload hangs after all files successfully uploaded

2011-01-28 Thread Brian Murray
** Changed in: bzr (Ubuntu Lucid)
   Status: New = Triaged

** Changed in: bzr (Ubuntu Maverick)
   Status: New = Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/659590

Title:
  [SRU] dput sftp upload hangs after all files successfully uploaded

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 659590] Re: [SRU] dput sftp upload hangs after all files successfully uploaded

2011-01-14 Thread Martin Pitt
** Also affects: bzr (Ubuntu Lucid)
   Importance: Undecided
   Status: New

** Also affects: bzr (Ubuntu Maverick)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/659590

Title:
  [SRU] dput sftp upload hangs after all files successfully uploaded

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 659590] Re: [SRU] dput sftp upload hangs after all files successfully uploaded

2011-01-14 Thread Martin Pool
** Changed in: bzr (Ubuntu)
   Status: New = In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/659590

Title:
  [SRU] dput sftp upload hangs after all files successfully uploaded

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 659590] Re: [SRU] dput sftp upload hangs after all files successfully uploaded

2011-01-11 Thread Martin Pool
The technical board resolved[1][2] in December that they would allow
SRUs of Bazaar 2.2 without running the test suite during the build,
because the dependency problem that prevents it is not feasible to fix
in Maverick, and because it can be adequately tested at other steps of
the process.

As part of the SRU process we should run 'bzr selftest' after installing
the package into a clean system, and that should pass with no errors in
bzr 2.2.2.

We should now proceed with a SRU into Maverick.

[1] https://lists.ubuntu.com/archives/technical-board/2010-December/000632.html
[2] https://wiki.ubuntu.com/StableReleaseUpdates/MicroReleaseExceptions

** Summary changed:

- dput sftp upload hangs after all files successfully uploaded
+ [SRU] dput sftp upload hangs after all files successfully uploaded

** Description changed:

  Nature of problem:
  
  I am experiencing sftp uploads to ppa.launchpad.net reliably failing to
  terminate. The dput process appears to be waiting for the ssh (sftp)
  subprocess to terminate, but it never does. When killed, the upload has
  actually been successful, and is accepted by Launchpad.
  
  Reason for SRUing:
  
  Launchpad is trying to promote SFTP uploads as the better way to upload
  packages, so that it can know who did an upload even if the upload is
  unsigned or wrongly signed, but SFTP uploads currently do not work.
  
  How addressed:
  
  Leakage of subprocess stdout/stdin filehandles, which caused the
  subprocess to never exit, which caused the parent process to wait
  forever for it to do so, has been fixed.
  
  Minimal patch:
  
  Please see diff in this MP: https://code.launchpad.net/~maxb/bzr/2.2
  -close-ssh-subprocess-socket/+merge/40493
  
  TEST CASE:
  Attempt to dput any source package to ppa.launchpad.net via SFTP. If the dput 
process exits successfully, this is a success. If the bug is present, the dput 
process hangs waiting for a child ssh process to exit, but it never does.
  
  To do this:
  
  1) Configure dput to use sftp. In ~/.dput.cf, add:
  [ppa]
  fqdn  = ppa.launchpad.net
  method= sftp
  incoming  = ~%(ppa)s/ubuntu
  login = your-lp-id
  
  2) Get a debian source package, it doesn't matter what. e.g. use `apt-
  get source hello`. Build it, so you have a valid signed *_source.changes
  file.
  
  3) dput ppa:not-a-valid-ppa-we-just-want-to-see-if-uploading-works
  hello_2.5-1_source.changes
  
- 
- Regression potential: Very slim, it's a shallow and well understood bug, with 
small diff to fix.
+ Regression potential: Very slim, it's a shallow and well understood bug,
+ with small diff to fix.
  
  MicroReleaseException: bzr has a MRE, so rather than a targetted backport, an 
upstream micro release will be used, additionally providing fixes for:
-+ Don't crash when --take-other or --take-this is called for a text
-  conflict. LP: #646961
-+ Make 'bzr commit' in a checkout propagate new tags to the master.
-  LP: #603395
+    + Don't crash when --take-other or --take-this is called for a text
+  conflict. LP: #646961
+    + Make 'bzr commit' in a checkout propagate new tags to the master.
+  LP: #603395
  
- 
- I will need a sponsored upload. I hope to have this occur by a sponsor using 
'bzr builddeb' from lp:~maxb/ubuntu/maverick/bzr/sru - I will provide a .dsc 
and .debian.tar.gz if that's not acceptable.
- 
+ I will need a sponsored upload. I hope to have this occur by a sponsor
+ using 'bzr builddeb' from lp:~maxb/ubuntu/maverick/bzr/sru - I will
+ provide a .dsc and .debian.tar.gz if that's not acceptable.
  
   STOP PRESS 
  
  This SRU may not happen like this. I've just discovered our
  MicroReleaseException is broken. We cannot run the testsuite during
  package build, because bzr is in main, but python-testtools is in
  universe.
+ 
+ UPDATE: This has been resolved, see comment #5.

** Changed in: bzr/2.3
   Status: Confirmed = In Progress

** Changed in: bzr/2.3
   Status: In Progress = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/659590

Title:
  [SRU] dput sftp upload hangs after all files successfully uploaded

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 659590] Re: [SRU] dput sftp upload hangs after all files successfully uploaded

2011-01-11 Thread Martin Pool
Dear Max / ubuntu-sru team:

bzr-2.2.2, including this fix, should be included in maverick-updates.
I don't know of any blockers at this point.

I apparently can't nominate this for a release in Launchpad, and I can't
upload it to -proposed.  Could you please do these steps for me:

 Use Nominate for release to mark the bug as an SRU candidate for the 
 appropriate Ubuntu releases (e. g. the current LTS and latest stable 
 release), then subscribe ubuntu-sru.
 Upload the fixed package to release-proposed with the patch in the bug 
 report, a detailed and user-readable changelog, and no other unrelated 
 changes. Make sure that the version number does not conflict with any later 
 and future version in other Ubuntu releases (the security policy document has 
 a well-working scheme which can be used for SRUs.) Also be sure to reference 
 the SRU bug number in the changelog using the 'LP: #NN' convention. If 
 you need a sponsored upload, attach a debdiff to the bug and subscribe 
 ubuntu-sponsors, as usual. There is no need to wait before uploading .

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/659590

Title:
  [SRU] dput sftp upload hangs after all files successfully uploaded

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs