Last modified: 2013-09-26 16:26:28 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T56494, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54494 - [OPS] Upgrade phantomjs from 1.4 to 1.8 at least
[OPS] Upgrade phantomjs from 1.4 to 1.8 at least
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
wmf-deployment
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: ops
Depends on:
Blocks: 54489
  Show dependency treegraph
 
Reported: 2013-09-24 09:04 UTC by Antoine "hashar" Musso (WMF)
Modified: 2013-09-26 16:26 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
backportpackage (phantomjs 1.9.0 from saucy) (2.09 KB, text/plain)
2013-09-24 09:17 UTC, Antoine "hashar" Musso (WMF)
Details

Description Antoine "hashar" Musso (WMF) 2013-09-24 09:04:12 UTC
To run Selenium browser tests (bug 53697) in the PhantomJS headless browser, we need PhantomJS to come with a WebDriver.

We currently have PhantomJS 1.4 which does not have such support.

Apparently, support for the DebDriver has been added in PhantomJS v1.8: 

http://phantomjs.org/release-1.8.html
http://code.google.com/p/phantomjs/issues/detail?id=49

The binding in Selenium are provided as of v2.27 (qa/browsertests ship v2.35) so at least that part is covered.


We thus need to backport PhantomJS from Ubuntu Saucy (it has v1.9.0).  That will most probably have impact on the existing QUnit jobs.
Comment 1 Antoine "hashar" Musso (WMF) 2013-09-24 09:07:51 UTC
The QUnit jobs uses the grunt-contrib-qunit node module (in integration/jenkins.git) which comes with its own PhantomJS installation.  So I guess we are safe installing whatever PhantomJS we might need.
Comment 2 Antoine "hashar" Musso (WMF) 2013-09-24 09:17:19 UTC
Created attachment 13354 [details]
backportpackage (phantomjs 1.9.0 from saucy)
Comment 3 Antoine "hashar" Musso (WMF) 2013-09-24 10:19:12 UTC
The cowbuilder step does not complains about any missing dependencies which is a good sign.  The compilation of qt eventually died out because there was not enough memory on the instance I have been using (integration-jobbuilder).  I am creating a new instance (integration-pbuilder) with 4GB memory and 2 CPU and will retry.
Comment 4 Antoine "hashar" Musso (WMF) 2013-09-24 13:23:33 UTC
The package backport flawlessly. It is a bit long since it compiles QT :/

Packages are at:
 http://noc.wikimedia.org/~hashar/debs/phantomjs_1.9.0-1/

Bundled as one file in:
 http://noc.wikimedia.org/~hashar/debs/phantomjs_1.9.0-1.tar.gz


Had it installed on the instance that run the tests. And that seems to be working.


I have filled RT #5817 to get the package uploaded on apt.wikimedia.org.
Comment 5 Andre Klapper 2013-09-26 14:26:47 UTC
(In reply to comment #4)
> I have filled RT #5817 to get the package uploaded on apt.wikimedia.org.

Andrew closed the RT ticket. Packages available at
http://apt.wikimedia.org/wikimedia/pool/universe/p/phantomjs/

I assume this can be closed as FIXED?
Comment 6 Antoine "hashar" Musso (WMF) 2013-09-26 16:26:28 UTC
Yup that has been solved. Thank you Andre (and Andrew)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links