0

Please forgive any ignorance displayed here - we lost our Jenkins team member and I am now trying to work out why a build is failing.

I have a build falling over during the Docker element, pulled from Github. It appears to be a timeout issue. The logfile extract is as follows :

'''

  • cd XXXXXXXX
  • python3.5 -m venv venv
  • . ./venv/bin/activate
  • deactivate nondestructive
  • [ -n ]
  • [ -n ]
  • [ -n -o -n ]
  • [ -n ]
  • unset VIRTUAL_ENV
  • [ ! nondestructive = nondestructive ]
  • VIRTUAL_ENV=/opt/bitnami/apps/jenkins/jenkins_home/workspace/Staging/issuehandler-stg/XXXXXXXX/venv
  • export VIRTUAL_ENV
  • _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/bitnami/git/bin/git/:/usr/bin/python2.7:/usr/local/bin/python3.7:/usr/local/lib/python3.6:/usr/bin/docker
  • PATH=/opt/bitnami/apps/jenkins/jenkins_home/workspace/Staging/issuehandler-stg/XXXXXXXX/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/bitnami/git/bin/git/:/usr/bin/python2.7:/usr/local/bin/python3.7:/usr/local/lib/python3.6:/usr/bin/docker
  • export PATH
  • [ -n ]
  • [ -z ]
  • _OLD_VIRTUAL_PS1=$
  • [ x(venv) != x ]
  • PS1=(venv) $
  • export PS1
  • [ -n -o -n ]
  • pip --timeout=600 install wheel Collecting wheel Exception: Traceback (most recent call last): File "/opt/bitnami/apps/jenkins/jenkins_home/workspace/Staging/issuehandler-stg/XXXXXXXX/venv/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connection.py", line 137, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/opt/bitnami/apps/jenkins/jenkins_home/workspace/Staging/issuehandler-stg/XXXXXXXX/venv/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/util/connection.py", line 91, in create_connection raise err File "/opt/bitnami/apps/jenkins/jenkins_home/workspace/Staging/issuehandler-stg/XXXXXXXX/venv/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/util/connection.py", line 81, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out

'''

It appears that "pip install wheel" is timing out. I know that the server is able to access the internet and DNS resolution is working. You can see that I have tried to add a timeout of 10 minutes to the pip install statement itself but this is not working - the build fails after around two and a half minutes. I am guessing that the Docker build element itself is timing out regardless of the timeout added to pip install.

Can anyone help point me in the right direction to identify/resolve the underlying issue or to allow the Docker build more time to run to hopefully allow the pip install enough time to complete ?

TIA

4

0 回答 0