/srv/irclogs.ubuntu.com/2016/05/19/#launchpad.txt

karstensragegood luck cjwatson00:49
cjwatsons390x builders back up; took a bit longer than expected, but there were no builds to be delayed01:49
pkern_Hi. I see a hash mismatch in a PPA: http://ppa.launchpad.net/canonical-kernel-team/ppa/ubuntu/pool/main/l/linux-lts-xenial/kernel-image-4.4.0-23-generic-di_4.4.0-23.41~14.04.1_amd64.udeb has a md5sum of 181736d1600569ed755b8b6236f1d60a, but it's refered to by debian-installer/binary-amd64/Packages.gz as 8b505d2bae4eed89d0f026b56bf5cd9b.09:49
=== pkern_ is now known as pkern
pkernWhere could I file that problem? Answers? Bugs?11:16
=== JanC is now known as Guest23785
=== JanC_ is now known as JanC
cjwatsonpkern: Answers to start with, please11:27
cjwatsonhttps://launchpad.net/~canonical-kernel-team/+archive/ubuntu/ppa/+files/kernel-image-4.4.0-23-generic-di_4.4.0-23.41~14.04.1_amd64.udeb has the correct version11:32
cjwatsonThe one on ppa.launchpad.net is simply truncated11:34
cjwatsonAbsolutely no indication of a problem in the publisher log, which is pretty worrying!11:38
cjwatson2016-05-18 21:09:02 DEBUG   Added /srv/launchpad.net/ppa-archive/canonical-kernel-team/ppa/ubuntu/pool/main/l/linux-lts-xenial/kernel-image-4.4.0-23-generic-di_4.4.0-23.41~14.04.1_amd64.udeb from library11:38
cjwatsonwgrant: ^-11:38
cjwatsonOh for diskless PPAs ...11:39
pkerncjwatson: Filed it as https://answers.launchpad.net/launchpad/+question/293939 -- thanks. :)12:01
wgrantcjwatson: Ugh, that happened to a file in the primary archive earlier. acamar was being pretty slow, so I wonder if something timed out but didn't notice.12:08
cjwatsonTwo worrying things here: (a) I can't think of a straightforward recovery path other than asking a webop to manually put the correct file in place (b) this suggests a rather foundational bug somewhere12:10
cjwatsonIt's not truncated at any sort of plausible boundary12:14
cjwatsonAnd I see no dodgy exception handling on this path at the client end12:15
wgrantcjwatson: Have you checked the librarianserver swift stuff?12:52
wgrantHopefully we're sending Content-Length from the librarian based on the DB, and clients should crash if the actual content is shorter, but that might not be the case.12:53
cjwatsonThe only hit for Content-Length in librarianserver is for uploading to swift.  "curl -I https://launchpadlibrarian.net/260241833/kernel-image-4.4.0-23-generic-di_4.4.0-23.41~14.04.1_amd64.udeb" shows a correct Content-Length though.12:56
wgrantIt does now.12:56
wgrantBut it could have shown a wrong one before, or it could be constructed by squid or apache.12:56
cjwatsonTrue.  Also I'm not sure what in the client would crash; urllib2 doesn't check.12:57
wgrantReally?12:58
cjwatsonhttplib might though.12:58
cjwatsonOr not.12:58
cjwatson        if not s and amt:12:58
cjwatson            # Ideally, we would raise IncompleteRead if the content-length12:58
cjwatson            # wasn't satisfied, but it might break compatibility.12:58
cjwatson            self.close()12:58
wgrantUnless you're using CTE: chunked, surely it has to complain, or a connection closed early will result in a truncated read.12:59
wgranthah12:59
wgrantwell then.12:59
cjwatsonWe might have multiple bugs.12:59
cjwatsonI'm not even very convinced that requests checks Content-Length.13:00
wgrantSeems weird.13:01
cjwatsonSurely every client can't be supposed to check?13:02
wgrantchunked and Content-Length both allow verification that the whole response was received. Seems sort of unbelievable that clients wouldn't do that by default.13:02
cjwatsonIt looks like httplib checks the length if you're doing an unbounded read, but not if you're reading in chunks.  If I'm reading this right.13:04
cjwatsonOr rather, it checks in the actual C-T-E: chunked case, but not if you're doing bounded reads from a non-chunked resource.13:05
cjwatsonI think.13:06
cjwatsonlibrarianserver does seem to set the C-L.13:16
cjwatson(via twisted.web.static.File)13:16
naccin, e.g., https://launchpad.net/ubuntu/+source/hello/+publishinghistory, what is the launchpadlib API to get to the original published date for 2.8-2 in raring? it is no longer published anywhere, so https://launchpad.net/ubuntu/+source/hello/2.8-2 indicates no publishing information and there is no longer a published_date field available?17:50
naccthere is a deleted_date, but I'm more interested in the original published date17:50

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!