← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1502369] [NEW] Jenkins/tox fails in Glance-specs

 

Public bug reported:

Hi,

When we run "tox" in fresh clone of glance-specs repo, it fails with the
below error (full log can be found here:
http://paste.openstack.org/show/475234/):

running build_ext
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-build-OfhUFL/Pillow/setup.py", line 767, in <module>
      zip_safe=not debug_build(),
    File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
      dist.run_commands()
    File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
      self.run_command(cmd)
    File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "/home/dramakri/glance-specs/.tox/py27/local/lib/python2.7/site-packages/wheel/bdist_wheel.py", line 175, in run
      self.run_command('build')
    File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
      self.run_command(cmd_name)
    File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "/usr/lib/python2.7/distutils/command/build_ext.py", line 337, in run
      self.build_extensions()
    File "/tmp/pip-build-OfhUFL/Pillow/setup.py", line 515, in build_extensions
      % (f, f))
  ValueError: --enable-jpeg requested but jpeg not found, aborting.

  ----------------------------------------
  Failed building wheel for Pillow
Failed to build Pillow

This causes Jenkins also to fail on any submission. I noticed this issue when I tried to upload a new spec (https://review.openstack.org/#/c/230679/) to the Glance-specs folder and it failed.
Link to the Jenkins log for the failed run: http://logs.openstack.org/79/230679/1/check/gate-glance-specs-docs/e34dc8b/console.html

** Affects: glance
     Importance: Undecided
         Status: New


** Tags: jenkins

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1502369

Title:
  Jenkins/tox fails in Glance-specs

Status in Glance:
  New

Bug description:
  Hi,

  When we run "tox" in fresh clone of glance-specs repo, it fails with
  the below error (full log can be found here:
  http://paste.openstack.org/show/475234/):

  running build_ext
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-OfhUFL/Pillow/setup.py", line 767, in <module>
        zip_safe=not debug_build(),
      File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
        dist.run_commands()
      File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/home/dramakri/glance-specs/.tox/py27/local/lib/python2.7/site-packages/wheel/bdist_wheel.py", line 175, in run
        self.run_command('build')
      File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
        self.run_command(cmd_name)
      File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/usr/lib/python2.7/distutils/command/build_ext.py", line 337, in run
        self.build_extensions()
      File "/tmp/pip-build-OfhUFL/Pillow/setup.py", line 515, in build_extensions
        % (f, f))
    ValueError: --enable-jpeg requested but jpeg not found, aborting.

    ----------------------------------------
    Failed building wheel for Pillow
  Failed to build Pillow

  This causes Jenkins also to fail on any submission. I noticed this issue when I tried to upload a new spec (https://review.openstack.org/#/c/230679/) to the Glance-specs folder and it failed.
  Link to the Jenkins log for the failed run: http://logs.openstack.org/79/230679/1/check/gate-glance-specs-docs/e34dc8b/console.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1502369/+subscriptions


Follow ups