Skip to content

TST: TravisCI failures #6566

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
TomAugspurger opened this issue Mar 6, 2014 · 6 comments · Fixed by #6567
Closed

TST: TravisCI failures #6566

TomAugspurger opened this issue Mar 6, 2014 · 6 comments · Fixed by #6567
Labels
CI Continuous Integration Testing pandas testing functions or related to the test suite
Milestone

Comments

@TomAugspurger
Copy link
Contributor

It looks like Travis is failing to install the dependencies recently.

In ci/install.sh, we run

pip install $PIP_ARGS -r ci/requirements-${wheel_box}.txt

where PIP_ARGS (I think) is something like -I --use-wheel --find-links=http://cache27diy-cpycloud.rhcloud.com/2.7/ --allow-external --allow-insecure depending on which version.

Which produces this error (sometimes):

Downloading/unpacking python-dateutil==2.1 (from -r ci/requirements-2.7.txt (line 1))
  http://cache27diy-cpycloud.rhcloud.com/2.7/ uses an insecure transport scheme (http). Consider using https if cache27diy-cpycloud.rhcloud.com has it available
  Downloading python_dateutil-2.1-py27-none-any.whl (unknown size): 118kB downloaded
Cleaning up...
Exception:
Traceback (most recent call last):
  File "/home/travis/virtualenv/python2.7_with_system_site_packages/local/lib/python2.7/site-packages/pip/basecommand.py", line 122, in main
    status = self.run(options, args)
  File "/home/travis/virtualenv/python2.7_with_system_site_packages/local/lib/python2.7/site-packages/pip/commands/install.py", line 274, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/home/travis/virtualenv/python2.7_with_system_site_packages/local/lib/python2.7/site-packages/pip/req.py", line 1173, in prepare_files
    self.unpack_url(url, location, self.is_download)
  File "/home/travis/virtualenv/python2.7_with_system_site_packages/local/lib/python2.7/site-packages/pip/req.py", line 1320, in unpack_url
    retval = unpack_http_url(link, location, self.download_cache, self.download_dir, self.session)
  File "/home/travis/virtualenv/python2.7_with_system_site_packages/local/lib/python2.7/site-packages/pip/download.py", line 587, in unpack_http_url
    unpack_file(temp_location, location, content_type, link)
  File "/home/travis/virtualenv/python2.7_with_system_site_packages/local/lib/python2.7/site-packages/pip/util.py", line 621, in unpack_file
    unzip_file(filename, location, flatten=not filename.endswith(('.pybundle', '.whl')))
  File "/home/travis/virtualenv/python2.7_with_system_site_packages/local/lib/python2.7/site-packages/pip/util.py", line 491, in unzip_file
    zip = zipfile.ZipFile(zipfp)
  File "/usr/lib/python2.7/zipfile.py", line 714, in __init__
    self._GetContents()
  File "/usr/lib/python2.7/zipfile.py", line 748, in _GetContents
    self._RealGetContents()
  File "/usr/lib/python2.7/zipfile.py", line 763, in _RealGetContents
    raise BadZipfile, "File is not a zip file"
BadZipfile: File is not a zip file

I've reproduced this locally.

Can we verify that the wheels hosted at cache27diy-cpycloud.rhcloud.com/2.7/ were built correctly? I'm guessing cpcloud refers to @cpcloud?

@jreback
Copy link
Contributor

jreback commented Mar 6, 2014

the wheels are fine and the server is fine
something changed but Travis claims it wasn't then
I have a fix that basically involves regenerating the wheels and then hosting them elsewhere
I think something in pip changed (setup tools changed too but even with the old version it fails)

@jreback jreback added the Testing label Mar 6, 2014
@jreback jreback added this to the 0.14.0 milestone Mar 6, 2014
@jreback
Copy link
Contributor

jreback commented Mar 6, 2014

what version of pip and setuptools reproduced this?

@TomAugspurger
Copy link
Contributor Author

OK. Leave this issue open?

Let me know if there's anything I can help with.

Slightly unrelated but I got access to Mac Mini for mac CI that you mentioned. I'll have something soonish. I need to get a version of fortran installed for numpy.

@TomAugspurger
Copy link
Contributor Author

Version info:

$ pip -V
pip 1.5.4 from /Users/tom/Envs/travis/lib/python2.7/site-packages (python 2.7)
>>> import setuptools
>>> setuptools.__version__
'2.2'

python 2.7.6

@jreback
Copy link
Contributor

jreback commented Mar 6, 2014

yep I'll close when it's fixed hopefully soon

sounds good on Mac stuff!

@jreback
Copy link
Contributor

jreback commented Mar 6, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants