Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Simon McVittie Newsgroups: linux.debian.bugs.dist,linux.debian.maint.python Subject: Bug#916428: autopkgtest-virt-qemu: Fails to set up test environment when run with python3.7 Date: Sat, 15 Dec 2018 00:40:01 +0100 Message-ID: References: X-Original-To: Matthias Klose X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Fri Dec 14 23:39:08 2018 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: -4.2 Reply-To: Simon McVittie , 916428@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: Debian CI team X-Debian-Pr-Message: followup 916428 X-Debian-Pr-Package: autopkgtest X-Debian-Pr-Keywords: patch X-Debian-Pr-Source: autopkgtest X-Spam-Bayes: score:0.0000 Tokens: new, 12; hammy, 145; neutral, 44; spammy, 1. spammytokens:0.883-+--news hammytokens:0.000-+--autopkgtest, 0.000-+--H*F:U*smcv, 0.000-+--H*r:smcv@debian.org, 0.000-+--H*rp:U*smcv, 0.000-+--H*RU:smcv@debian.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Debian-Message: from BTS X-Mailing-List: archive/latest/1505485 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 25 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: 916428@bugs.debian.org, debian-python@lists.debian.org X-Original-Date: Fri, 14 Dec 2018 23:37:48 +0000 X-Original-Message-ID: <20181214233748.GA2857@espresso.pseudorandom.co.uk> X-Original-References: <20181214112828.GA8930@espresso.pseudorandom.co.uk> <20181214114840.GA12869@espresso.pseudorandom.co.uk> <35b5f374-8707-8054-a347-d8f18c98c5fe@debian.org> <20181214112828.GA8930@espresso.pseudorandom.co.uk> <35b5f374-8707-8054-a347-d8f18c98c5fe@debian.org> Xref: csiph.com linux.debian.bugs.dist:933250 linux.debian.maint.python:11166 On Fri, 14 Dec 2018 at 20:19:00 +0100, Matthias Klose wrote: > On 14.12.18 12:48, Simon McVittie wrote: > > On Fri, 14 Dec 2018 at 11:31:02 +0000, Simon McVittie wrote: > >> tl;dr: autopkgtest-virt-qemu doesn't work with python3.7. > > > > This seems to be caused by using socket.send() (and assuming the entire > > buffer will be sent in one transaction) instead of socket.sendall(). > > This was always a bug, at least in theory. I don't know why Python 3.7 > > makes it significant in practice when it wasn't previously. > > if you already ran autopkg using 3.7, then that might point out to the recent > 3.7.2 release candidate 1. changes. At least the timing of the report suggests this. Well spotted, you are correct. Looking at apt/history.log and the timing of my uploads, I must have run autopkgtest successfully with virt-qemu and python3.7 3.7.1-1 while I was preparing flatpak 1.1.1-1. The correlation with 3.7.2~rc1-1 seems very reliable, but I don't see anything in the Python 3.7 news that looks like a likely trigger. To be clear, I think this was always an autopkgtest-virt-qemu bug, and I don't know why autopkgtest-virt-qemu worked so reliably in the past, or why it still works with python3.6. smcv