/srv/irclogs.ubuntu.com/2020/05/12/#launchpad-dev.txt

tewardcjwatson: got an email from the build bot that it failed, looks like the timeout was RabbitMQ related, is this a failure in buildbot?02:47
wgrantteward: Yeah, known flakiness. I've retried it.03:03
tewardwgrant: ah, thanks.  So not my fault :)05:46
tewardlooks like it passed.05:46
teward(and yes I can't sleep >.<  Time to try again with melatonin now)05:47
=== jamesh_ is now known as jamesh
tomwardillFix an OOPS if you search for OCI projects with no term: https://code.launchpad.net/~twom/launchpad/+git/launchpad/+merge/38377309:19
cjwatsonr=me, one comment09:25
tomwardilloh, it's not different, I just did a silly09:31
cjwatsonHmm, looking at the perennial problem where you need to manually clear launchpadlib's wadl cache11:31
cjwatsonI don't think it's a client-side problem11:31
cjwatsonAt the server end we seem to be somehow changing the content without changing the Etag11:31
cjwatsonSo no wonder the poor client is confused11:31
tomwardillthat would do it11:35
cjwatsonHm, this only seems to be the case on dogfood though.  I wonder if Apache is doing something in front of all the other instances?11:36
cjwatsonThough I'm sure I remember seeing this problem across production upgrades too11:36
cjwatsonRight now the etag on dogfood is literally the sha1 of '\0application/vnd.sun.wadl+xml' though11:37
wgrantThe etag config is customised to ensure consistency across the FEs11:44
wgrantI forget what it is, maybe mtime and size11:44
cjwatsonI'll see if I have to do anything manual after the next deployment11:50
cjwatsonhttps://code.launchpad.net/~cjwatson/lazr.restful/fix-wadl-etag/+merge/38377711:58
wgrantThat MP explains a lot.12:04
tomwardillLooks like the librarian file upload deduplication either doesn't work or wasn't actually implemented15:08
tomwardill(or I've lost a bunch of code somewhere)15:08
tomwardillfixing15:13
tomwardilloh no, I think I'm just being silly15:38
tomwardillcjwatson: remind me where the code that pulls files from the builder lives?15:39
tomwardillaha, buildbehaviour, of course15:46
tomwardillah, right,that code does exist, I was just looking in the wrong place15:50
tomwardill(for future travellers, it's in the buildbehaviour, which ensures that all the files exist from the librarian on disk, ready for the uploadjob)15:50
tomwardillalthough the scope it's checking for existing files might be too limited there15:55
* tomwardill stares at it a bit harder15:55
cjwatsonlp.buildmaster.interactor too IIRC15:56
cjwatsonWell, in fact that's more about causing the builder to pull files from LP15:56
cjwatsonThere's also lp.archiveuploader.ocirecipeupload15:56
tomwardillyeah, that's where I was originally15:57
tomwardillby the code in ocirecipebuildbehaviour, we're only looking for existing layer files within the same build (L13(15:58
tomwardill*L13915:58
tomwardillwhich isn't correct, or useful15:58
tomwardillcjwatson: so, the buildbehaviour grabs the (existing) file from the librarian and puts it on disk, so the uploadjob can reupload it. This seems a bit weird16:02
cjwatsonI think this was partly in case of racing with GC, but I'm sure it's possible to do better, yes16:03
tomwardillyeah16:04

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