[JIRA] [shiningpanda] (JENKINS-20716) Virtualenv builder fails to create virtualenv

2013-11-22 Thread mar...@gedmin.as (JIRA)














































Marius Gedminas
 created  JENKINS-20716


Virtualenv builder fails to create virtualenv















Issue Type:


Bug



Assignee:


Unassigned


Components:


shiningpanda



Created:


22/Nov/13 9:26 AM



Description:


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




Environment:


Windows Server 2012 build slave




Project:


Jenkins



Labels:


plugin
windows




Priority:


Major


[JIRA] [shiningpanda] (JENKINS-20716) Virtualenv builder fails to create virtualenv

2013-11-22 Thread mar...@gedmin.as (JIRA)














































Marius Gedminas
 commented on  JENKINS-20716


Virtualenv builder fails to create virtualenv















I see that pip install on this machine (a Rackspace Could VM) also throws hash mismatch errors left and right, but occasionally succeeds.  This might be a problem on a lower level.

Still, I don't think ShiningPanda should ask for virtualenv --distribute, given that distribute was merged back into upstream setuptools.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.