/srv/irclogs.ubuntu.com/2016/04/22/#launchpad.txt

=== rvba` is now known as rvba
Saviqwgrant, hey, is there a way to grab all comments I made on merge proposals within a given time frame?12:49
kyrofacjwatson, about 80% of my snap builds fail with "Received HTTP code 407 from proxy after CONNECT"12:59
cjwatsonkyrofa: Still today?  We had such reports yesterday, but I thought it might just be load from the 16.04 release in some way.13:06
kyrofacjwatson, ah, no, it was yesterday13:06
kyrofacjwatson, so that sounds reasonable13:06
kyrofacjwatson, I'll come back if it continues today :)13:07
Saviqlaunchpadlib FTW13:14
kyrofacjwatson, just got it again13:45
cjwatsonkyrofa: links please13:48
kyrofacjwatson, https://launchpadlibrarian.net/255181413/buildlog_snap_ubuntu_xenial_armhf_owncloud-next_BUILDING.txt.gz . It isn't the same error message, but still an HTTP code 40713:48
=== cmars` is now known as cmars
kyrofacjwatson, again: https://launchpadlibrarian.net/255185283/buildlog_snap_ubuntu_xenial_armhf_owncloud-next_BUILDING.txt.gz14:01
cjwatsonkyrofa: on a call right now14:03
cjwatsonI will get back to you14:03
kyrofaSounds good :)14:03
* cjwatson attempts to clone owncloud-snap onto dogfood in order to try it out there15:18
cjwatsonkyrofa: https://dogfood.launchpadlibrarian.net/245107951/buildlog_snap_ubuntu_xenial_amd64_owncloud_BUILDING.txt.gz may be an artifact of building on dogfood and in any case isn't the error you were asking about, but do you recognise it?15:38
cjwatson"module 'snapcraft.common' has no attribute 'get_parallel_build_count'15:38
cjwatson"15:38
kyrofacjwatson, looks like it's building an old version of the package15:39
cjwatsonkyrofa: hm, looks like parts/plugins/x-apache.py in your code is calling snapcraft.common.get_parallel_build_count but it's now in snapcraft.internal.common15:40
kyrofacjwatson, right, the plugin has changed in more recent code though15:40
cjwatsonkyrofa: it's building the master branch of lp:owncloud-snap15:40
cjwatsonkyrofa: should I build develop instead?15:40
kyrofacjwatson, yeah that's old15:40
kyrofacjwatson, indeed15:40
kyrofacjwatson, master is release-- haven't released the new version yet15:40
cjwatsonok15:41
kyrofacjwatson, yeah I've not been able to get any builds in develop completed (armhf is all I've tested though). Hopefully you'll be able to duplicate with it15:42
cjwatsonright.  I just ideally want to replicate it somewhere where I can just ssh into the proxy and poke around rather than having to go through ops15:43
cjwatsonif I'm unlucky it's somehow load-related and I won't be able to, but we'll see15:43
cjwatsonhmm.  I'm certainly seeing some 407s here, but it seems like git is backing off and retrying, which muddies the waters16:01
kyrofacjwatson, yeah load-related would be tough. It wouldn't be time-related, right?16:02
kyrofacjwatson, like some proxy token expiring?16:03
oparoz_cjwatson, I can provide many more logs of the problem. I've even opened a LP issue for it.16:03
cjwatsonkyrofa: when I've seen this in logs so far, it's been followed by successful requests at least sometimes16:03
cjwatsonoparoz_: yes, I saw, thanks16:03
cjwatsonoparoz_: no need for more logs at this time16:03
oparoz_cjwatson, It does work from time to time, but seems to be pure luck16:04
cjwatsone.g. I see this kind of pattern:16:04
cjwatson10.222.80.42 - SNAPBUILD-341-1461339733 [22/Apr/2016:15:50:15 +0000] "GET http://ftpmaster.internal/ubuntu/pool/main/libx/libxml2/libxml2_2.9.3%2bdfsg1-1_amd64.deb HTTP/1.1" 200 696070 "-" "Debian APT-HTTP/1.3 (1.2.10)" TCP_HIT:HIER_NONE16:04
cjwatson10.222.80.42 - - [22/Apr/2016:15:50:17 +0000] "CONNECT github.com:443 HTTP/1.1" 407 2234 "-" "git/2.7.4" TCP_DENIED:HIER_NONE16:04
cjwatson10.222.80.42 - SNAPBUILD-341-1461339733 [22/Apr/2016:15:50:36 +0000] "CONNECT github.com:443 HTTP/1.1" 200 28725357 "-" "git/2.7.4" TCP_MISS:HIER_DIRECT16:04
kyrofaHmm16:05
cjwatsonI wonder if it's related to the low credentialsttl16:06
cjwatsonWe deliberately set a low TTL so that we notice token expiry quickly, but perhaps that's not quite retrying in the right way16:06
kyrofacjwatson, is that something ops does, or something you can tweak?16:11
cjwatsonthe latter16:11
cjwatsonplease don't bother ops about this :)16:12
cjwatsontrying to reproduce with higher debug_options first so that I can see exactly what squid's doing (after these builds have finished, anyway)16:12
kyrofacjwatson, oh I wasn't planning on it. I appreciate your poking at it-- please let me know if I can help in any way :)16:12
cjwatson(well, I can't tweak it directly in production, but the service is maintained by us and ops just deploy what we tell them to)16:12
cjwatsonOh, of course, 407/200 pairs are perfectly normal because it'll be requesting proxy auth for each request.  hmm.17:03
* cjwatson reminds self how HTTP works17:04

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