/srv/irclogs.ubuntu.com/2020/01/16/#launchpad.txt

tlmHi all, is anyone available to help with a launchpad API issue? Currently building juju 2.7.1 via launchpad api's. When we review the recent builds via the api we require a 'snap_upload_url' to be returned. However our build scripts are getting an empty string value for this after waiting for a significant amount of time.04:24
=== pieq_ is now known as pie
=== pie is now known as pieq
cjwatsontlm: Do you mean store_upload_url?  And how long is significant?09:11
tlmcjwatson: yeah, almost 2 hours was our longest wait till giving up09:25
wgrantURLs would be helpful.09:26
cjwatsontlm: It's asynchronous and it's always possible there's some kind of problem - but yes, specifics please09:26
tlmthe build finishes and is indicated as 'FULLYBUILT', we grab the list of recent builds from launcpad for juju and then keep checking store_upload_url. This goes in a loop till it's found. What can I provide to make hunting the problem down easier ?09:29
cjwatsontlm: A URL09:29
cjwatsontlm: To the build in question, for instance09:29
tlmi'll fire one up and grab it09:30
cjwatsontlm: Don't you have the previous one?09:30
wgrantOr a Jenkins job09:30
wgrantOr something09:30
wgrantLaunchpad builds a *lot* of things for a lots of projects09:30
wgrantVery hard to identify yours without some details09:30
tlmyeah no worries09:31
cjwatsontlm: I'd rather see the previous one than have you fire off a new build; even if the previous one has finished uploading by now, we can check logs09:31
tlmcjwatson: how is this https://api.launchpad.net/devel/~juju-qa-bot/+snap/juju/+build/796779 ?09:34
wgranttlm: It looks like review was stuck in the store. I've hopefully unstuck it, and things might process over the next 10-15 minutes09:53
tlmta wgrant, i'll have to kick a new build off just because of a few reasons on our side. Will let you know how it goes.09:54
wgranttlm: Not yet!09:55
tlmok09:55
wgranttlm: Heh, just how many times was that retried?10:06
wgrantThere are *lots* of uploads pending.10:06
wgranttlm: juju is a biggish snap, and these 60ish retried uploads are going to take maybe another hour or two10:09
tlmno worries at all10:11
tlmthanks for helping10:12
wgranttlm: The queue finished processing a while ago, so a retry is probably worth it.11:37
tlmcheers wgrant will fire it up now11:43
tlm wgrant, cjwatson. Appears all working. Thanks again for the help.12:34
cjwatsonOK, good12:34

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