Closed Bug 1211491 Opened 7 years ago Closed 7 years ago

Pillow install fails during the setup of Imagecompare jobs

Categories

(Firefox OS Graveyard :: Gaia::UI Tests, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: njpark, Assigned: njpark)

Details

Attachments

(1 file)

From this build, (http://jenkins1.qa.scl3.mozilla.com/view/Graphics/job/flame-kk-319.mozilla-central.nightly.ui.graphics.nonsmoke.bitbar/659/) the Pillow (needed for the image comparison tests) fails with the error "decoder JPEG not available".

Investigation shows that this bug started when it was downloading Pillow version 3.0.0.0 instead of the 2.9.0.0.   However, it seems that locally I can install the latest version of Pillow without issues.  It looks like I need to install  libjpeg-dev and/or libjpeg8-dev according to this page. (http://stackoverflow.com/questions/8915296/python-image-library-fails-with-message-decoder-jpeg-not-available-pil) 

I'm guessing that in the requirement.txt file, I could fix the version number to 2.9.0.0, or have the setup install the libjpeg-dev/libjpeg8-dev.  (Actually I am not sure how this part was done)

Dave, could you suggest what would be the better way of resolving this issue?
Flags: needinfo?(dave.hunt)
I should be clear, that the install of Pillow fails during the setup process.
Short term I would pin Pillow to 2.9.0.0, longer term you can install the necessary dependencies on the B2G nodes (master for bitbar jobs) via SSH. You might need sudo access for this. Of course, if you don't need what 3.0.0.0 offers, you don't need to upgrade.
Flags: needinfo?(dave.hunt)
(In reply to Dave Hunt (:davehunt) from comment #2)
> Short term I would pin Pillow to 2.9.0.0, longer term you can install the
> necessary dependencies on the B2G nodes (master for bitbar jobs) via SSH.
> You might need sudo access for this. Of course, if you don't need what
> 3.0.0.0 offers, you don't need to upgrade.

Makes sense, I pinned it to 2.9.0.0 and seems to be working fine. thanks!
Comment on attachment 8669928 [details] [review]
[gaia] npark-mozilla:1211491 > mozilla-b2g:master

I ran following adhoc job, and it seems to be running fine:

http://jenkins1.qa.scl3.mozilla.com/view/Graphics/job/flame-kk.mozilla-central.nightly.ui.graphics.reference.adhoc.bitbar/73/
Attachment #8669928 - Flags: review?(martijn.martijn)
Assignee: nobody → npark
Attachment #8669928 - Flags: review?(martijn.martijn) → review+
Merged:

https://github.com/mozilla-b2g/gaia/commit/f78efe5c801c26b11dd96f0a190fa8b644d7e5de
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.