FailedConsole Output

Started by user Joshua Powers
Building remotely on jenkins-i386-slave-1 (vm-i386) in workspace /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec
[admin-slave-exec] $ /bin/bash -eux /tmp/hudson193452649446178835.sh
+ rm -rf '*'
+ bzr branch lp:curtin
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
Branched 519 revisions.
+ cd curtin
+ tox
py27 create: /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py27
ERROR: invocation failed (exit code 1), logfile: /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py27/log/py27-0.log
ERROR: actionid: py27
msg: getenv
cmdargs: ['/usr/bin/python3', '-m', 'virtualenv', '--python', '/usr/bin/python2.7', 'py27']
env: {'HOME': '/var/lib/jenkins', 'PATH': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py27/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'WORKSPACE': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec', 'EXECUTOR_NUMBER': '0', 'JOB_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/', 'BUILD_TAG': 'jenkins-admin-slave-exec-148', 'JOB_DISPLAY_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/display/redirect', 'HUDSON_URL': 'https://jenkins.ubuntu.com/server/', 'HUDSON_SERVER_COOKIE': 'da25e01e9f6772fb', 'RUN_CHANGES_DISPLAY_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/148/display/redirect?page=changes', 'SLAVE_NAME': 'jenkins-i386-slave-1', 'JOB_NAME': 'admin-slave-exec', 'BUILD_NUMBER': '148', 'JENKINS_HOME': '/var/lib/jenkins', 'SHLVL': '1', 'PWD': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin', 'LC_ALL': 'en_US.utf-8', 'HUDSON_HOME': '/var/lib/jenkins', 'OLDPWD': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec', 'JENKINS_SERVER_COOKIE': 'da25e01e9f6772fb', 'VIRTUAL_ENV': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py27', 'JENKINS_URL': 'https://jenkins.ubuntu.com/server/', 'NODE_NAME': 'jenkins-i386-slave-1', 'JOB_BASE_NAME': 'admin-slave-exec', 'BUILD_DISPLAY_NAME': '#148', 'PYTHONHASHSEED': '696058674', 'BUILD_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/148/', 'RUN_DISPLAY_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/148/display/redirect', 'BUILD_ID': '148', 'HUDSON_COOKIE': '3af57a87-aea4-49de-9e1c-3daa626bc34c', 'NODE_LABELS': 'jenkins-i386-slave-1 vm-i386', '_': '/usr/bin/tox'}

New python executable in /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py27/bin/python2.7
Also creating executable in /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py27/bin/python
Installing setuptools, pkg_resources, pip, wheel...
  Complete output from command /var/lib/jenkins/sla...x/py27/bin/python2.7 - setuptools pkg_resources pip wheel:
  Collecting setuptools
Exception:
Traceback (most recent call last):
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/basecommand.py", line 209, in main
    status = self.run(options, args)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/commands/install.py", line 328, in run
    wb.build(autobuilding=True)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/wheel.py", line 748, in build
    self.requirement_set.prepare_files(self.finder)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_set.py", line 360, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_set.py", line 512, in _prepare_file
    finder, self.upgrade, require_hashes)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_install.py", line 273, in populate_link
    self.link = finder.find_requirement(self, upgrade)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 442, in find_requirement
    all_candidates = self.find_all_candidates(req.name)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 400, in find_all_candidates
    for page in self._get_pages(url_locations, project_name):
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 545, in _get_pages
    page = self._get_page(location)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 648, in _get_page
    return HTMLPage.get_page(link, session=self.session)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 757, in get_page
    "Cache-Control": "max-age=600",
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py27/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 480, in get
    return self.request('GET', url, **kwargs)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/download.py", line 378, in request
    return super(PipSession, self).request(method, url, *args, **kwargs)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py27/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 468, in request
    resp = self.send(prep, **send_kwargs)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py27/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 576, in send
    r = adapter.send(request, **kwargs)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py27/share/python-wheels/CacheControl-0.11.5-py2.py3-none-any.whl/cachecontrol/adapter.py", line 46, in send
    resp = super(CacheControlAdapter, self).send(request, **kw)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py27/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/adapters.py", line 376, in send
    timeout=timeout
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py27/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 610, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py27/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 228, in increment
    total -= 1
TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'
----------------------------------------
...Installing setuptools, pkg_resources, pip, wheel...done.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 2363, in <module>
    main()
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 719, in main
    symlink=options.symlink)
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 988, in create_environment
    download=download,
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 918, in install_wheel
    call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 812, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /var/lib/jenkins/sla...x/py27/bin/python2.7 - setuptools pkg_resources pip wheel failed with error code 2
Running virtualenv with interpreter /usr/bin/python2.7

ERROR: InvocationError: /usr/bin/python3 -m virtualenv --python /usr/bin/python2.7 py27 (see /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py27/log/py27-0.log)
py3 create: /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3
ERROR: invocation failed (exit code 1), logfile: /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3/log/py3-0.log
ERROR: actionid: py3
msg: getenv
cmdargs: ['/usr/bin/python3', '-m', 'virtualenv', '--python', '/usr/bin/python3', 'py3']
env: {'HOME': '/var/lib/jenkins', 'PATH': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'WORKSPACE': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec', 'EXECUTOR_NUMBER': '0', 'JOB_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/', 'BUILD_TAG': 'jenkins-admin-slave-exec-148', 'JOB_DISPLAY_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/display/redirect', 'HUDSON_URL': 'https://jenkins.ubuntu.com/server/', 'HUDSON_SERVER_COOKIE': 'da25e01e9f6772fb', 'RUN_CHANGES_DISPLAY_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/148/display/redirect?page=changes', 'SLAVE_NAME': 'jenkins-i386-slave-1', 'JOB_NAME': 'admin-slave-exec', 'BUILD_NUMBER': '148', 'JENKINS_HOME': '/var/lib/jenkins', 'SHLVL': '1', 'PWD': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin', 'LC_ALL': 'en_US.utf-8', 'HUDSON_HOME': '/var/lib/jenkins', 'OLDPWD': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec', 'JENKINS_SERVER_COOKIE': 'da25e01e9f6772fb', 'VIRTUAL_ENV': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3', 'JENKINS_URL': 'https://jenkins.ubuntu.com/server/', 'NODE_NAME': 'jenkins-i386-slave-1', 'JOB_BASE_NAME': 'admin-slave-exec', 'BUILD_DISPLAY_NAME': '#148', 'PYTHONHASHSEED': '696058674', 'BUILD_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/148/', 'RUN_DISPLAY_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/148/display/redirect', 'BUILD_ID': '148', 'HUDSON_COOKIE': '3af57a87-aea4-49de-9e1c-3daa626bc34c', 'NODE_LABELS': 'jenkins-i386-slave-1 vm-i386', '_': '/usr/bin/tox'}

Already using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3/bin/python3
Also creating executable in /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3/bin/python
Installing setuptools, pkg_resources, pip, wheel...
  Complete output from command /var/lib/jenkins/sla....tox/py3/bin/python3 - setuptools pkg_resources pip wheel:
  Collecting setuptools
Exception:
Traceback (most recent call last):
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3/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 "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/util/connection.py", line 91, in create_connection
    raise err
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/util/connection.py", line 81, in create_connection
    sock.connect(sa)
OSError: [Errno 101] Network is unreachable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 560, in urlopen
    body=body, headers=headers)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 787, in _validate_conn
    conn.connect()
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connection.py", line 217, in connect
    conn = self._new_conn()
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connection.py", line 146, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0xb65cf40c>: Failed to establish a new connection: [Errno 101] Network is unreachable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/basecommand.py", line 209, in main
    status = self.run(options, args)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/commands/install.py", line 328, in run
    wb.build(autobuilding=True)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/wheel.py", line 748, in build
    self.requirement_set.prepare_files(self.finder)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_set.py", line 360, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_set.py", line 512, in _prepare_file
    finder, self.upgrade, require_hashes)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_install.py", line 273, in populate_link
    self.link = finder.find_requirement(self, upgrade)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 442, in find_requirement
    all_candidates = self.find_all_candidates(req.name)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 400, in find_all_candidates
    for page in self._get_pages(url_locations, project_name):
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 545, in _get_pages
    page = self._get_page(location)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 648, in _get_page
    return HTMLPage.get_page(link, session=self.session)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 757, in get_page
    "Cache-Control": "max-age=600",
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 480, in get
    return self.request('GET', url, **kwargs)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/download.py", line 378, in request
    return super(PipSession, self).request(method, url, *args, **kwargs)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 468, in request
    resp = self.send(prep, **send_kwargs)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 576, in send
    r = adapter.send(request, **kwargs)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3/share/python-wheels/CacheControl-0.11.5-py2.py3-none-any.whl/cachecontrol/adapter.py", line 46, in send
    resp = super(CacheControlAdapter, self).send(request, **kw)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/adapters.py", line 376, in send
    timeout=timeout
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 610, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 228, in increment
    total -= 1
TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'
----------------------------------------
...Installing setuptools, pkg_resources, pip, wheel...done.
Traceback (most recent call last):
  File "/usr/lib/python3.5/runpy.py", line 184, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 2363, in <module>
    main()
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 719, in main
    symlink=options.symlink)
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 988, in create_environment
    download=download,
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 918, in install_wheel
    call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 812, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /var/lib/jenkins/sla....tox/py3/bin/python3 - setuptools pkg_resources pip wheel failed with error code 2

ERROR: InvocationError: /usr/bin/python3 -m virtualenv --python /usr/bin/python3 py3 (see /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3/log/py3-0.log)
py3-flake8 create: /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-flake8
ERROR: invocation failed (exit code 1), logfile: /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-flake8/log/py3-flake8-0.log
ERROR: actionid: py3-flake8
msg: getenv
cmdargs: ['/usr/bin/python3', '-m', 'virtualenv', '--python', '/usr/bin/python3', 'py3-flake8']
env: {'HOME': '/var/lib/jenkins', 'PATH': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-flake8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'WORKSPACE': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec', 'EXECUTOR_NUMBER': '0', 'JOB_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/', 'BUILD_TAG': 'jenkins-admin-slave-exec-148', 'JOB_DISPLAY_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/display/redirect', 'HUDSON_URL': 'https://jenkins.ubuntu.com/server/', 'HUDSON_SERVER_COOKIE': 'da25e01e9f6772fb', 'RUN_CHANGES_DISPLAY_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/148/display/redirect?page=changes', 'SLAVE_NAME': 'jenkins-i386-slave-1', 'JOB_NAME': 'admin-slave-exec', 'BUILD_NUMBER': '148', 'JENKINS_HOME': '/var/lib/jenkins', 'SHLVL': '1', 'PWD': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin', 'LC_ALL': 'en_US.utf-8', 'HUDSON_HOME': '/var/lib/jenkins', 'OLDPWD': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec', 'JENKINS_SERVER_COOKIE': 'da25e01e9f6772fb', 'VIRTUAL_ENV': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-flake8', 'JENKINS_URL': 'https://jenkins.ubuntu.com/server/', 'NODE_NAME': 'jenkins-i386-slave-1', 'JOB_BASE_NAME': 'admin-slave-exec', 'BUILD_DISPLAY_NAME': '#148', 'PYTHONHASHSEED': '696058674', 'BUILD_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/148/', 'RUN_DISPLAY_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/148/display/redirect', 'BUILD_ID': '148', 'HUDSON_COOKIE': '3af57a87-aea4-49de-9e1c-3daa626bc34c', 'NODE_LABELS': 'jenkins-i386-slave-1 vm-i386', '_': '/usr/bin/tox'}

Already using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-flake8/bin/python3
Also creating executable in /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-flake8/bin/python
Installing setuptools, pkg_resources, pip, wheel...
  Complete output from command /var/lib/jenkins/sla...3-flake8/bin/python3 - setuptools pkg_resources pip wheel:
  Collecting setuptools
Exception:
Traceback (most recent call last):
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-flake8/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 "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-flake8/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/util/connection.py", line 91, in create_connection
    raise err
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-flake8/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/util/connection.py", line 81, in create_connection
    sock.connect(sa)
OSError: [Errno 101] Network is unreachable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-flake8/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 560, in urlopen
    body=body, headers=headers)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-flake8/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-flake8/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 787, in _validate_conn
    conn.connect()
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-flake8/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connection.py", line 217, in connect
    conn = self._new_conn()
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-flake8/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connection.py", line 146, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0xb655442c>: Failed to establish a new connection: [Errno 101] Network is unreachable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/basecommand.py", line 209, in main
    status = self.run(options, args)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/commands/install.py", line 328, in run
    wb.build(autobuilding=True)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/wheel.py", line 748, in build
    self.requirement_set.prepare_files(self.finder)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_set.py", line 360, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_set.py", line 512, in _prepare_file
    finder, self.upgrade, require_hashes)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_install.py", line 273, in populate_link
    self.link = finder.find_requirement(self, upgrade)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 442, in find_requirement
    all_candidates = self.find_all_candidates(req.name)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 400, in find_all_candidates
    for page in self._get_pages(url_locations, project_name):
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 545, in _get_pages
    page = self._get_page(location)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 648, in _get_page
    return HTMLPage.get_page(link, session=self.session)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 757, in get_page
    "Cache-Control": "max-age=600",
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-flake8/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 480, in get
    return self.request('GET', url, **kwargs)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/download.py", line 378, in request
    return super(PipSession, self).request(method, url, *args, **kwargs)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-flake8/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 468, in request
    resp = self.send(prep, **send_kwargs)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-flake8/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 576, in send
    r = adapter.send(request, **kwargs)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-flake8/share/python-wheels/CacheControl-0.11.5-py2.py3-none-any.whl/cachecontrol/adapter.py", line 46, in send
    resp = super(CacheControlAdapter, self).send(request, **kw)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-flake8/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/adapters.py", line 376, in send
    timeout=timeout
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-flake8/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 610, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-flake8/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 228, in increment
    total -= 1
TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'
----------------------------------------
...Installing setuptools, pkg_resources, pip, wheel...done.
Traceback (most recent call last):
  File "/usr/lib/python3.5/runpy.py", line 184, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 2363, in <module>
    main()
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 719, in main
    symlink=options.symlink)
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 988, in create_environment
    download=download,
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 918, in install_wheel
    call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 812, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /var/lib/jenkins/sla...3-flake8/bin/python3 - setuptools pkg_resources pip wheel failed with error code 2

ERROR: InvocationError: /usr/bin/python3 -m virtualenv --python /usr/bin/python3 py3-flake8 (see /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-flake8/log/py3-flake8-0.log)
py3-pylint create: /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-pylint
ERROR: invocation failed (exit code 1), logfile: /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-pylint/log/py3-pylint-0.log
ERROR: actionid: py3-pylint
msg: getenv
cmdargs: ['/usr/bin/python3', '-m', 'virtualenv', '--python', '/usr/bin/python3', 'py3-pylint']
env: {'HOME': '/var/lib/jenkins', 'PATH': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-pylint/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'WORKSPACE': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec', 'EXECUTOR_NUMBER': '0', 'JOB_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/', 'BUILD_TAG': 'jenkins-admin-slave-exec-148', 'JOB_DISPLAY_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/display/redirect', 'HUDSON_URL': 'https://jenkins.ubuntu.com/server/', 'HUDSON_SERVER_COOKIE': 'da25e01e9f6772fb', 'RUN_CHANGES_DISPLAY_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/148/display/redirect?page=changes', 'SLAVE_NAME': 'jenkins-i386-slave-1', 'JOB_NAME': 'admin-slave-exec', 'BUILD_NUMBER': '148', 'JENKINS_HOME': '/var/lib/jenkins', 'SHLVL': '1', 'PWD': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin', 'LC_ALL': 'en_US.utf-8', 'HUDSON_HOME': '/var/lib/jenkins', 'OLDPWD': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec', 'JENKINS_SERVER_COOKIE': 'da25e01e9f6772fb', 'VIRTUAL_ENV': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-pylint', 'JENKINS_URL': 'https://jenkins.ubuntu.com/server/', 'NODE_NAME': 'jenkins-i386-slave-1', 'JOB_BASE_NAME': 'admin-slave-exec', 'BUILD_DISPLAY_NAME': '#148', 'PYTHONHASHSEED': '696058674', 'BUILD_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/148/', 'RUN_DISPLAY_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/148/display/redirect', 'BUILD_ID': '148', 'HUDSON_COOKIE': '3af57a87-aea4-49de-9e1c-3daa626bc34c', 'NODE_LABELS': 'jenkins-i386-slave-1 vm-i386', '_': '/usr/bin/tox'}

Already using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-pylint/bin/python3
Also creating executable in /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-pylint/bin/python
Installing setuptools, pkg_resources, pip, wheel...
  Complete output from command /var/lib/jenkins/sla...3-pylint/bin/python3 - setuptools pkg_resources pip wheel:
  Collecting setuptools
Exception:
Traceback (most recent call last):
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-pylint/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 "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-pylint/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/util/connection.py", line 91, in create_connection
    raise err
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-pylint/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/util/connection.py", line 81, in create_connection
    sock.connect(sa)
OSError: [Errno 101] Network is unreachable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-pylint/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 560, in urlopen
    body=body, headers=headers)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-pylint/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-pylint/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 787, in _validate_conn
    conn.connect()
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-pylint/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connection.py", line 217, in connect
    conn = self._new_conn()
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-pylint/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connection.py", line 146, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0xb657342c>: Failed to establish a new connection: [Errno 101] Network is unreachable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/basecommand.py", line 209, in main
    status = self.run(options, args)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/commands/install.py", line 328, in run
    wb.build(autobuilding=True)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/wheel.py", line 748, in build
    self.requirement_set.prepare_files(self.finder)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_set.py", line 360, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_set.py", line 512, in _prepare_file
    finder, self.upgrade, require_hashes)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_install.py", line 273, in populate_link
    self.link = finder.find_requirement(self, upgrade)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 442, in find_requirement
    all_candidates = self.find_all_candidates(req.name)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 400, in find_all_candidates
    for page in self._get_pages(url_locations, project_name):
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 545, in _get_pages
    page = self._get_page(location)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 648, in _get_page
    return HTMLPage.get_page(link, session=self.session)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 757, in get_page
    "Cache-Control": "max-age=600",
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-pylint/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 480, in get
    return self.request('GET', url, **kwargs)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/download.py", line 378, in request
    return super(PipSession, self).request(method, url, *args, **kwargs)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-pylint/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 468, in request
    resp = self.send(prep, **send_kwargs)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-pylint/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 576, in send
    r = adapter.send(request, **kwargs)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-pylint/share/python-wheels/CacheControl-0.11.5-py2.py3-none-any.whl/cachecontrol/adapter.py", line 46, in send
    resp = super(CacheControlAdapter, self).send(request, **kw)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-pylint/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/adapters.py", line 376, in send
    timeout=timeout
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-pylint/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 610, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-pylint/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 228, in increment
    total -= 1
TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'
----------------------------------------
...Installing setuptools, pkg_resources, pip, wheel...done.
Traceback (most recent call last):
  File "/usr/lib/python3.5/runpy.py", line 184, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 2363, in <module>
    main()
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 719, in main
    symlink=options.symlink)
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 988, in create_environment
    download=download,
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 918, in install_wheel
    call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 812, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /var/lib/jenkins/sla...3-pylint/bin/python3 - setuptools pkg_resources pip wheel failed with error code 2

ERROR: InvocationError: /usr/bin/python3 -m virtualenv --python /usr/bin/python3 py3-pylint (see /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-pylint/log/py3-pylint-0.log)
py27-pylint create: /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py27-pylint
ERROR: invocation failed (exit code 1), logfile: /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py27-pylint/log/py27-pylint-0.log
ERROR: actionid: py27-pylint
msg: getenv
cmdargs: ['/usr/bin/python3', '-m', 'virtualenv', '--python', '/usr/bin/python2.7', 'py27-pylint']
env: {'HOME': '/var/lib/jenkins', 'PATH': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py27-pylint/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'WORKSPACE': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec', 'EXECUTOR_NUMBER': '0', 'JOB_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/', 'BUILD_TAG': 'jenkins-admin-slave-exec-148', 'JOB_DISPLAY_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/display/redirect', 'HUDSON_URL': 'https://jenkins.ubuntu.com/server/', 'HUDSON_SERVER_COOKIE': 'da25e01e9f6772fb', 'RUN_CHANGES_DISPLAY_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/148/display/redirect?page=changes', 'SLAVE_NAME': 'jenkins-i386-slave-1', 'JOB_NAME': 'admin-slave-exec', 'BUILD_NUMBER': '148', 'JENKINS_HOME': '/var/lib/jenkins', 'SHLVL': '1', 'PWD': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin', 'LC_ALL': 'en_US.utf-8', 'HUDSON_HOME': '/var/lib/jenkins', 'OLDPWD': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec', 'JENKINS_SERVER_COOKIE': 'da25e01e9f6772fb', 'VIRTUAL_ENV': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py27-pylint', 'JENKINS_URL': 'https://jenkins.ubuntu.com/server/', 'NODE_NAME': 'jenkins-i386-slave-1', 'JOB_BASE_NAME': 'admin-slave-exec', 'BUILD_DISPLAY_NAME': '#148', 'PYTHONHASHSEED': '696058674', 'BUILD_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/148/', 'RUN_DISPLAY_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/148/display/redirect', 'BUILD_ID': '148', 'HUDSON_COOKIE': '3af57a87-aea4-49de-9e1c-3daa626bc34c', 'NODE_LABELS': 'jenkins-i386-slave-1 vm-i386', '_': '/usr/bin/tox'}

New python executable in /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py27-pylint/bin/python2.7
Also creating executable in /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py27-pylint/bin/python
Installing setuptools, pkg_resources, pip, wheel...
  Complete output from command /var/lib/jenkins/sla...pylint/bin/python2.7 - setuptools pkg_resources pip wheel:
  Collecting setuptools
Exception:
Traceback (most recent call last):
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/basecommand.py", line 209, in main
    status = self.run(options, args)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/commands/install.py", line 328, in run
    wb.build(autobuilding=True)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/wheel.py", line 748, in build
    self.requirement_set.prepare_files(self.finder)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_set.py", line 360, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_set.py", line 512, in _prepare_file
    finder, self.upgrade, require_hashes)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_install.py", line 273, in populate_link
    self.link = finder.find_requirement(self, upgrade)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 442, in find_requirement
    all_candidates = self.find_all_candidates(req.name)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 400, in find_all_candidates
    for page in self._get_pages(url_locations, project_name):
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 545, in _get_pages
    page = self._get_page(location)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 648, in _get_page
    return HTMLPage.get_page(link, session=self.session)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 757, in get_page
    "Cache-Control": "max-age=600",
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py27-pylint/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 480, in get
    return self.request('GET', url, **kwargs)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/download.py", line 378, in request
    return super(PipSession, self).request(method, url, *args, **kwargs)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py27-pylint/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 468, in request
    resp = self.send(prep, **send_kwargs)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py27-pylint/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 576, in send
    r = adapter.send(request, **kwargs)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py27-pylint/share/python-wheels/CacheControl-0.11.5-py2.py3-none-any.whl/cachecontrol/adapter.py", line 46, in send
    resp = super(CacheControlAdapter, self).send(request, **kw)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py27-pylint/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/adapters.py", line 376, in send
    timeout=timeout
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py27-pylint/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 610, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py27-pylint/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 228, in increment
    total -= 1
TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'
----------------------------------------
...Installing setuptools, pkg_resources, pip, wheel...done.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 2363, in <module>
    main()
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 719, in main
    symlink=options.symlink)
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 988, in create_environment
    download=download,
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 918, in install_wheel
    call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 812, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /var/lib/jenkins/sla...pylint/bin/python2.7 - setuptools pkg_resources pip wheel failed with error code 2
Running virtualenv with interpreter /usr/bin/python2.7

ERROR: InvocationError: /usr/bin/python3 -m virtualenv --python /usr/bin/python2.7 py27-pylint (see /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py27-pylint/log/py27-pylint-0.log)
trusty-check create: /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-check
ERROR: invocation failed (exit code 1), logfile: /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-check/log/trusty-check-0.log
ERROR: actionid: trusty-check
msg: getenv
cmdargs: ['/usr/bin/python3', '-m', 'virtualenv', '--python', '/usr/bin/python3', 'trusty-check']
env: {'HOME': '/var/lib/jenkins', 'PATH': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-check/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'WORKSPACE': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec', 'EXECUTOR_NUMBER': '0', 'JOB_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/', 'BUILD_TAG': 'jenkins-admin-slave-exec-148', 'JOB_DISPLAY_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/display/redirect', 'HUDSON_URL': 'https://jenkins.ubuntu.com/server/', 'HUDSON_SERVER_COOKIE': 'da25e01e9f6772fb', 'RUN_CHANGES_DISPLAY_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/148/display/redirect?page=changes', 'SLAVE_NAME': 'jenkins-i386-slave-1', 'JOB_NAME': 'admin-slave-exec', 'BUILD_NUMBER': '148', 'JENKINS_HOME': '/var/lib/jenkins', 'SHLVL': '1', 'PWD': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin', 'LC_ALL': 'en_US.utf-8', 'HUDSON_HOME': '/var/lib/jenkins', 'OLDPWD': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec', 'JENKINS_SERVER_COOKIE': 'da25e01e9f6772fb', 'VIRTUAL_ENV': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-check', 'JENKINS_URL': 'https://jenkins.ubuntu.com/server/', 'NODE_NAME': 'jenkins-i386-slave-1', 'JOB_BASE_NAME': 'admin-slave-exec', 'BUILD_DISPLAY_NAME': '#148', 'PYTHONHASHSEED': '696058674', 'BUILD_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/148/', 'RUN_DISPLAY_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/148/display/redirect', 'BUILD_ID': '148', 'HUDSON_COOKIE': '3af57a87-aea4-49de-9e1c-3daa626bc34c', 'NODE_LABELS': 'jenkins-i386-slave-1 vm-i386', '_': '/usr/bin/tox'}

Already using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-check/bin/python3
Also creating executable in /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-check/bin/python
Installing setuptools, pkg_resources, pip, wheel...
  Complete output from command /var/lib/jenkins/sla...ty-check/bin/python3 - setuptools pkg_resources pip wheel:
  Collecting setuptools
Exception:
Traceback (most recent call last):
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-check/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 "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-check/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/util/connection.py", line 91, in create_connection
    raise err
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-check/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/util/connection.py", line 81, in create_connection
    sock.connect(sa)
OSError: [Errno 101] Network is unreachable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-check/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 560, in urlopen
    body=body, headers=headers)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-check/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-check/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 787, in _validate_conn
    conn.connect()
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-check/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connection.py", line 217, in connect
    conn = self._new_conn()
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-check/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connection.py", line 146, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0xb697b44c>: Failed to establish a new connection: [Errno 101] Network is unreachable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/basecommand.py", line 209, in main
    status = self.run(options, args)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/commands/install.py", line 328, in run
    wb.build(autobuilding=True)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/wheel.py", line 748, in build
    self.requirement_set.prepare_files(self.finder)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_set.py", line 360, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_set.py", line 512, in _prepare_file
    finder, self.upgrade, require_hashes)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_install.py", line 273, in populate_link
    self.link = finder.find_requirement(self, upgrade)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 442, in find_requirement
    all_candidates = self.find_all_candidates(req.name)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 400, in find_all_candidates
    for page in self._get_pages(url_locations, project_name):
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 545, in _get_pages
    page = self._get_page(location)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 648, in _get_page
    return HTMLPage.get_page(link, session=self.session)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 757, in get_page
    "Cache-Control": "max-age=600",
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-check/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 480, in get
    return self.request('GET', url, **kwargs)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/download.py", line 378, in request
    return super(PipSession, self).request(method, url, *args, **kwargs)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-check/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 468, in request
    resp = self.send(prep, **send_kwargs)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-check/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 576, in send
    r = adapter.send(request, **kwargs)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-check/share/python-wheels/CacheControl-0.11.5-py2.py3-none-any.whl/cachecontrol/adapter.py", line 46, in send
    resp = super(CacheControlAdapter, self).send(request, **kw)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-check/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/adapters.py", line 376, in send
    timeout=timeout
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-check/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 610, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-check/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 228, in increment
    total -= 1
TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'
----------------------------------------
...Installing setuptools, pkg_resources, pip, wheel...done.
Traceback (most recent call last):
  File "/usr/lib/python3.5/runpy.py", line 184, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 2363, in <module>
    main()
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 719, in main
    symlink=options.symlink)
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 988, in create_environment
    download=download,
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 918, in install_wheel
    call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 812, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /var/lib/jenkins/sla...ty-check/bin/python3 - setuptools pkg_resources pip wheel failed with error code 2

ERROR: InvocationError: /usr/bin/python3 -m virtualenv --python /usr/bin/python3 trusty-check (see /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-check/log/trusty-check-0.log)
trusty-py27 create: /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py27
ERROR: invocation failed (exit code 1), logfile: /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py27/log/trusty-py27-0.log
ERROR: actionid: trusty-py27
msg: getenv
cmdargs: ['/usr/bin/python3', '-m', 'virtualenv', '--python', '/usr/bin/python2.7', 'trusty-py27']
env: {'HOME': '/var/lib/jenkins', 'PATH': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py27/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'WORKSPACE': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec', 'EXECUTOR_NUMBER': '0', 'JOB_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/', 'BUILD_TAG': 'jenkins-admin-slave-exec-148', 'JOB_DISPLAY_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/display/redirect', 'HUDSON_URL': 'https://jenkins.ubuntu.com/server/', 'HUDSON_SERVER_COOKIE': 'da25e01e9f6772fb', 'RUN_CHANGES_DISPLAY_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/148/display/redirect?page=changes', 'SLAVE_NAME': 'jenkins-i386-slave-1', 'JOB_NAME': 'admin-slave-exec', 'BUILD_NUMBER': '148', 'JENKINS_HOME': '/var/lib/jenkins', 'SHLVL': '1', 'PWD': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin', 'LC_ALL': 'en_US.utf-8', 'HUDSON_HOME': '/var/lib/jenkins', 'OLDPWD': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec', 'JENKINS_SERVER_COOKIE': 'da25e01e9f6772fb', 'VIRTUAL_ENV': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py27', 'JENKINS_URL': 'https://jenkins.ubuntu.com/server/', 'NODE_NAME': 'jenkins-i386-slave-1', 'JOB_BASE_NAME': 'admin-slave-exec', 'BUILD_DISPLAY_NAME': '#148', 'PYTHONHASHSEED': '696058674', 'BUILD_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/148/', 'RUN_DISPLAY_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/148/display/redirect', 'BUILD_ID': '148', 'HUDSON_COOKIE': '3af57a87-aea4-49de-9e1c-3daa626bc34c', 'NODE_LABELS': 'jenkins-i386-slave-1 vm-i386', '_': '/usr/bin/tox'}

New python executable in /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py27/bin/python2.7
Also creating executable in /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py27/bin/python
Installing setuptools, pkg_resources, pip, wheel...
  Complete output from command /var/lib/jenkins/sla...y-py27/bin/python2.7 - setuptools pkg_resources pip wheel:
  Collecting setuptools
Exception:
Traceback (most recent call last):
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/basecommand.py", line 209, in main
    status = self.run(options, args)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/commands/install.py", line 328, in run
    wb.build(autobuilding=True)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/wheel.py", line 748, in build
    self.requirement_set.prepare_files(self.finder)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_set.py", line 360, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_set.py", line 512, in _prepare_file
    finder, self.upgrade, require_hashes)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_install.py", line 273, in populate_link
    self.link = finder.find_requirement(self, upgrade)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 442, in find_requirement
    all_candidates = self.find_all_candidates(req.name)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 400, in find_all_candidates
    for page in self._get_pages(url_locations, project_name):
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 545, in _get_pages
    page = self._get_page(location)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 648, in _get_page
    return HTMLPage.get_page(link, session=self.session)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 757, in get_page
    "Cache-Control": "max-age=600",
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py27/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 480, in get
    return self.request('GET', url, **kwargs)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/download.py", line 378, in request
    return super(PipSession, self).request(method, url, *args, **kwargs)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py27/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 468, in request
    resp = self.send(prep, **send_kwargs)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py27/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 576, in send
    r = adapter.send(request, **kwargs)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py27/share/python-wheels/CacheControl-0.11.5-py2.py3-none-any.whl/cachecontrol/adapter.py", line 46, in send
    resp = super(CacheControlAdapter, self).send(request, **kw)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py27/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/adapters.py", line 376, in send
    timeout=timeout
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py27/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 610, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py27/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 228, in increment
    total -= 1
TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'
----------------------------------------
...Installing setuptools, pkg_resources, pip, wheel...done.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 2363, in <module>
    main()
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 719, in main
    symlink=options.symlink)
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 988, in create_environment
    download=download,
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 918, in install_wheel
    call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 812, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /var/lib/jenkins/sla...y-py27/bin/python2.7 - setuptools pkg_resources pip wheel failed with error code 2
Running virtualenv with interpreter /usr/bin/python2.7

ERROR: InvocationError: /usr/bin/python3 -m virtualenv --python /usr/bin/python2.7 trusty-py27 (see /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py27/log/trusty-py27-0.log)
trusty-py3 create: /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py3
ERROR: invocation failed (exit code 1), logfile: /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py3/log/trusty-py3-0.log
ERROR: actionid: trusty-py3
msg: getenv
cmdargs: ['/usr/bin/python3', '-m', 'virtualenv', '--python', '/usr/bin/python3', 'trusty-py3']
env: {'HOME': '/var/lib/jenkins', 'PATH': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'WORKSPACE': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec', 'EXECUTOR_NUMBER': '0', 'JOB_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/', 'BUILD_TAG': 'jenkins-admin-slave-exec-148', 'JOB_DISPLAY_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/display/redirect', 'HUDSON_URL': 'https://jenkins.ubuntu.com/server/', 'HUDSON_SERVER_COOKIE': 'da25e01e9f6772fb', 'RUN_CHANGES_DISPLAY_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/148/display/redirect?page=changes', 'SLAVE_NAME': 'jenkins-i386-slave-1', 'JOB_NAME': 'admin-slave-exec', 'BUILD_NUMBER': '148', 'JENKINS_HOME': '/var/lib/jenkins', 'SHLVL': '1', 'PWD': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin', 'LC_ALL': 'en_US.utf-8', 'HUDSON_HOME': '/var/lib/jenkins', 'OLDPWD': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec', 'JENKINS_SERVER_COOKIE': 'da25e01e9f6772fb', 'VIRTUAL_ENV': '/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py3', 'JENKINS_URL': 'https://jenkins.ubuntu.com/server/', 'NODE_NAME': 'jenkins-i386-slave-1', 'JOB_BASE_NAME': 'admin-slave-exec', 'BUILD_DISPLAY_NAME': '#148', 'PYTHONHASHSEED': '696058674', 'BUILD_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/148/', 'RUN_DISPLAY_URL': 'https://jenkins.ubuntu.com/server/job/admin-slave-exec/148/display/redirect', 'BUILD_ID': '148', 'HUDSON_COOKIE': '3af57a87-aea4-49de-9e1c-3daa626bc34c', 'NODE_LABELS': 'jenkins-i386-slave-1 vm-i386', '_': '/usr/bin/tox'}

Already using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py3/bin/python3
Also creating executable in /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py3/bin/python
Installing setuptools, pkg_resources, pip, wheel...
  Complete output from command /var/lib/jenkins/sla...usty-py3/bin/python3 - setuptools pkg_resources pip wheel:
  Collecting setuptools
Exception:
Traceback (most recent call last):
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py3/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 "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py3/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/util/connection.py", line 91, in create_connection
    raise err
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py3/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/util/connection.py", line 81, in create_connection
    sock.connect(sa)
OSError: [Errno 101] Network is unreachable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py3/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 560, in urlopen
    body=body, headers=headers)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py3/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py3/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 787, in _validate_conn
    conn.connect()
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py3/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connection.py", line 217, in connect
    conn = self._new_conn()
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py3/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connection.py", line 146, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0xb65e840c>: Failed to establish a new connection: [Errno 101] Network is unreachable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/basecommand.py", line 209, in main
    status = self.run(options, args)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/commands/install.py", line 328, in run
    wb.build(autobuilding=True)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/wheel.py", line 748, in build
    self.requirement_set.prepare_files(self.finder)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_set.py", line 360, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_set.py", line 512, in _prepare_file
    finder, self.upgrade, require_hashes)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_install.py", line 273, in populate_link
    self.link = finder.find_requirement(self, upgrade)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 442, in find_requirement
    all_candidates = self.find_all_candidates(req.name)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 400, in find_all_candidates
    for page in self._get_pages(url_locations, project_name):
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 545, in _get_pages
    page = self._get_page(location)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 648, in _get_page
    return HTMLPage.get_page(link, session=self.session)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/index.py", line 757, in get_page
    "Cache-Control": "max-age=600",
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py3/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 480, in get
    return self.request('GET', url, **kwargs)
  File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/download.py", line 378, in request
    return super(PipSession, self).request(method, url, *args, **kwargs)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py3/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 468, in request
    resp = self.send(prep, **send_kwargs)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py3/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 576, in send
    r = adapter.send(request, **kwargs)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py3/share/python-wheels/CacheControl-0.11.5-py2.py3-none-any.whl/cachecontrol/adapter.py", line 46, in send
    resp = super(CacheControlAdapter, self).send(request, **kw)
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py3/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/adapters.py", line 376, in send
    timeout=timeout
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py3/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 610, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py3/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 228, in increment
    total -= 1
TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'
----------------------------------------
...Installing setuptools, pkg_resources, pip, wheel...done.
Traceback (most recent call last):
  File "/usr/lib/python3.5/runpy.py", line 184, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 2363, in <module>
    main()
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 719, in main
    symlink=options.symlink)
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 988, in create_environment
    download=download,
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 918, in install_wheel
    call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 812, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /var/lib/jenkins/sla...usty-py3/bin/python3 - setuptools pkg_resources pip wheel failed with error code 2

ERROR: InvocationError: /usr/bin/python3 -m virtualenv --python /usr/bin/python3 trusty-py3 (see /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py3/log/trusty-py3-0.log)
___________________________________ summary ____________________________________
ERROR:   py27: InvocationError: /usr/bin/python3 -m virtualenv --python /usr/bin/python2.7 py27 (see /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py27/log/py27-0.log)
ERROR:   py3: InvocationError: /usr/bin/python3 -m virtualenv --python /usr/bin/python3 py3 (see /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3/log/py3-0.log)
ERROR:   py3-flake8: InvocationError: /usr/bin/python3 -m virtualenv --python /usr/bin/python3 py3-flake8 (see /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-flake8/log/py3-flake8-0.log)
ERROR:   py3-pylint: InvocationError: /usr/bin/python3 -m virtualenv --python /usr/bin/python3 py3-pylint (see /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py3-pylint/log/py3-pylint-0.log)
ERROR:   py27-pylint: InvocationError: /usr/bin/python3 -m virtualenv --python /usr/bin/python2.7 py27-pylint (see /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/py27-pylint/log/py27-pylint-0.log)
ERROR:   trusty-check: InvocationError: /usr/bin/python3 -m virtualenv --python /usr/bin/python3 trusty-check (see /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-check/log/trusty-check-0.log)
ERROR:   trusty-py27: InvocationError: /usr/bin/python3 -m virtualenv --python /usr/bin/python2.7 trusty-py27 (see /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py27/log/trusty-py27-0.log)
ERROR:   trusty-py3: InvocationError: /usr/bin/python3 -m virtualenv --python /usr/bin/python3 trusty-py3 (see /var/lib/jenkins/slaves/jenkins-i386-slave-1/workspace/admin-slave-exec/curtin/.tox/trusty-py3/log/trusty-py3-0.log)
Build step 'Execute shell' marked build as failure
Finished: FAILURE