Closed
Bug 1323559
Opened 9 years ago
Closed 9 years ago
Switch to the newer Travis Ubuntu Trusty images
Categories
(Tree Management :: Treeherder, defect, P2)
Tree Management
Treeherder
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: emorley, Assigned: emorley)
Details
Attachments
(1 file)
Currently on Travis we run:
* linters on their container-based Ubuntu Precise (12.04) image
* the Python tests on their legacy ("group: deprecated") non-container Trusty (14.04) image
They've recently announced a beta for Trusty container images:
https://blog.travis-ci.com/2016-11-08-trusty-container-public-beta/
...so we can stop running the linters on an Ubuntu version that doesn't reflect production.
And the bug that meant we had to use the legacy non-container images has now been fixed:
https://github.com/travis-ci/travis-ci/issues/6928
Which means we can switch to the newer image that already includes mysql 5.6, thereby saving us having to manually install it every time:
https://docs.travis-ci.com/user/build-environment-updates/2016-12-01/
Comment 1•9 years ago
|
||
| Assignee | ||
Comment 2•9 years ago
|
||
Comment on attachment 8818700 [details] [review]
[treeherder] mozilla:newer-travis-images > mozilla:master
In addition to making the linter jobs use Ubuntu 14.04 instead of 12.04 (to match everything else), this trims 40-50s off the sudo-enabled test runs (~20%), making our both our feedback loop and deploys faster :-)
Attachment #8818700 -
Flags: review?(cdawson)
Updated•9 years ago
|
Attachment #8818700 -
Flags: review?(cdawson) → review+
Comment 3•9 years ago
|
||
Commits pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/3a42b567f2890e3c460d0865e3a5fee215e16402
Bug 1323559 - Travis: Switch to the newer sudo-enabled image
The image has received several updates, including now defaulting to
mysql-server 5.6:
https://docs.travis-ci.com/user/build-environment-updates/2016-12-01/
...which means we can skip the 20-25s install of mysql-server-5.6.
The issue with Java on the newer image has now been fixed, so we no
longer need to remain on the older (`group: deprecated`) release.
https://github.com/mozilla/treeherder/commit/6bd83b3b7db1ca6324809d6e8e57cba8da32ee42
Bug 1323559 - Travis: Switch the container builds to the new Trusty beta
Travis have just announced a beta for container-based Ubuntu Trusty
builds:
https://blog.travis-ci.com/2016-11-08-trusty-container-public-beta/
This means the linter runs can now run on the same version of Ubuntu
used by the other tests and production. This also reduces runtime since
Travis can skip the glibc patching step required on the older image.
https://github.com/mozilla/treeherder/commit/1bb5de95b919dc15864b5830db8e92c27db5a971
Bug 1323559 - Travis: Don't try to start memcached since already running
The service is running by default, so no need to get Travis to start it,
particularly since Travis adds a `sleep` between each service:
https://github.com/travis-ci/travis-build/blob/00982bc7404175a5ae500c5ba6651527515d4d40/lib/travis/build/appliances/services.rb#L30
https://github.com/mozilla/treeherder/commit/2e5ed349ca11cdfb68927a7fabaee5339ebcb03d
Bug 1323559 - Travis: Move the Elasticsearch readiness check later
The Elasticsearch background process takes up to 8 seconds to start but
isn't required until the tests run, so needn't block the other setup
tasks from running in parallel.
| Assignee | ||
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•