From 30721474fc204821e52c0d08d791f91f36ac11ca Mon Sep 17 00:00:00 2001 From: Derek Higgins Date: Wed, 19 Mar 2014 23:05:21 +0000 Subject: [PATCH] Increase the default pip socket timeout pip's default timeout of 15 seconds doesn't seem to be high enough causing us to intermittently fail getting the pypi index. Increasing the timeout to 60 in an attempt to make it less likely to hit the problem. Change-Id: Ifd4689283e53d6afb7a76b480e004cdde3b302f6 Related-Bug: #1272417 --- modules/jenkins/files/slave_scripts/select-mirror.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/jenkins/files/slave_scripts/select-mirror.sh b/modules/jenkins/files/slave_scripts/select-mirror.sh index 9cef050829..9ea4598250 100755 --- a/modules/jenkins/files/slave_scripts/select-mirror.sh +++ b/modules/jenkins/files/slave_scripts/select-mirror.sh @@ -44,6 +44,7 @@ EOF cat < ~/.pip/pip.conf [global] index-url = http://pypi.openstack.org/openstack +timeout = 60 EOF else echo "$org/$project will not use the internal openstack pypi mirror"