Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-20716

Virtualenv builder fails to create virtualenv

XMLWordPrintable

      I'm trying to add a build slave to perform Windows builds. I've installed the ShiningPanda plugin (version 0.20) and set up a Virtualenv builder in a job. The build fails with

      Fetching changes from the remote Git repository
      Fetching upstream changes from https://github.com/mgedmin/check-manifest.git
      Checking out Revision 9fc0aaae12f57bdb4ca795ded6c6f0a685dc2cd4 (origin/master)
      Cleaning workspace
      Resetting working tree
      [check-manifest-on-windows] $ cmd.exe /C '"c:\python27\python.exe c:\buildslave\shiningpanda\jobs\765322bd\virtualenv.py --distribute c:\buildslave\shiningpanda\jobs\765322bd\virtualenvs\d41d8cd9 && exit %%ERRORLEVEL%%"'
      PYTHONHOME is set. You must activate the virtualenv before using it
      New python executable in c:\buildslave\shiningpanda\jobs\765322bd\virtualenvs\d41d8cd9\Scripts\python.exe
      Installing distribute.................................
      Complete output from command c:\buildslave\shinin...9\Scripts\python.exe -c "#!python
      \"\"\"Bootstra... sys.exit(main())
      ":
      Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.34.tar.gz
      Extracting in c:\users\mg\appdata\local\temp\3\tmpy3wx2w
      Traceback (most recent call last):
      File "<string>", line 546, in <module>
      File "<string>", line 543, in main
      File "<string>", line 77, in _install
      File "<string>", line 485, in _extractall
      File "c:\python27\Lib\tarfile.py", line 2084, in extract
      self._extract_member(tarinfo, os.path.join(path, tarinfo.name))
      File "c:\python27\Lib\tarfile.py", line 2160, in _extract_member
      self.makefile(tarinfo, targetpath)
      File "c:\python27\Lib\tarfile.py", line 2201, in makefile
      copyfileobj(source, target)
      File "c:\python27\Lib\tarfile.py", line 266, in copyfileobj
      shutil.copyfileobj(src, dst)
      File "c:\python27\Lib\shutil.py", line 49, in copyfileobj
      buf = fsrc.read(length)
      File "c:\python27\Lib\tarfile.py", line 819, in read
      buf += self.fileobj.read(size - len(buf))
      File "c:\python27\Lib\tarfile.py", line 737, in read
      return self.readnormal(size)
      File "c:\python27\Lib\tarfile.py", line 746, in readnormal
      return self.fileobj.read(size)
      File "c:\python27\Lib\gzip.py", line 261, in read
      self._read(readsize)
      File "c:\python27\Lib\gzip.py", line 308, in _read
      self._read_eof()
      File "c:\python27\Lib\gzip.py", line 347, in _read_eof
      hex(self.crc)))
      IOError: CRC check failed 0x4b42a280 != 0xec007959L
      ----------------------------------------
      ...Installing distribute...done.
      Traceback (most recent call last):
      File "c:\buildslave\shiningpanda\jobs\765322bd\virtualenv.py", line 5016, in <module>
      main()
      File "c:\buildslave\shiningpanda\jobs\765322bd\virtualenv.py", line 3418, in main
      no_pip=options.no_pip)
      File "c:\buildslave\shiningpanda\jobs\765322bd\virtualenv.py", line 3527, in create_environment
      search_dirs=search_dirs, never_download=never_download)
      File "c:\buildslave\shiningpanda\jobs\765322bd\virtualenv.py", line 3055, in install_distribute
      search_dirs=search_dirs, never_download=never_download)
      File "c:\buildslave\shiningpanda\jobs\765322bd\virtualenv.py", line 3022, in _install_req
      cwd=cwd)
      File "c:\buildslave\shiningpanda\jobs\765322bd\virtualenv.py", line 3496, in call_subprocess
      % (cmd_desc, proc.returncode))
      OSError: Command c:\buildslave\shinin...9\Scripts\python.exe -c "#!python
      \"\"\"Bootstra... sys.exit(main())
      " failed with error code 1
      Build step 'Virtualenv Builder' marked build as failure

            Unassigned Unassigned
            mgedmin Marius Gedminas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: