You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 16, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 16, 2024. It is now read-only.
This is going to be non-trivial, I can think of a few hurdles at least:
Python 3 is the new default, Python 2is not installed by default, and Salt as of right now is still Python 2 only (although working on Py3 compat). This may affect bootstrapping and our other services (Buildbot, Homu).
The init system has been changed from Upstart to Systemd, so we'll need to rewrite all of our init scripts.
Some of our bootstrapping scripts and Salt code conflates Ubuntu and Trusty, which will need to get ironed out/updated for Xenial.
That being said, I agree this is a desirable change. @glennw Are there any reasons in particular you'd like to upgrade?
Also, SSH is updated to a new version which disables DSA keys by default, so we'll need to replace the existing DSA keys. (Currently only @michaelwu, I believe.)
It shouldn't take much to rewrite the init scripts. I wrote the current ones and have written both upstart and systemd ones in the past.
Installing python2 seems easy enough.
We want to upgrade in order to test WebRender. Basically need need a version of mesagl that supports OpenGL 3.3. The one in Trusty does not, but the one in Xenial does.
OK, I think the easiest way to do it would be adding a new build machine that's running 16.04 and to update the Salt code to handle Trusty and Xenial in parallel, then shift everything over to 16.04 once the kinks are ironed out.
Salt has a built-in grain (init) we can branch on to do Upstart things vs Systemd things, and it looks like Python 2 (and 3 for Homu) are already Salted.
Salt does not guarantee backwards compatibility for minions that are newer than their masters. Additionally, Salt QC is a bit wanting, and there are often bugs and regressions between even minor and patch versions of Salt, which is why I've tried as hard as possible to lock down our Salt version. Another point is that homebrew doesn't have all Salt versions but only some of them. We're now two major versions behind at this point, and IMO it's best if we update Salt to the latest release supported by Homebrew (possibly waiting if they don't have 2016.3 yet).
Note that we'll want to review any Salt upgrades carefully due to the aforementioned QC issues.
I found that there is a PPA for ubuntu 16.04 that provides an up to date mesa3d. So depending on how long this work is likely to take, it may be possible to use that PPA on the build machines to get an up to date OSMesa for headless rendering.
@fabricedesre needs this for Android now. I dont' think it makes sense to wait on salting the salt master to proceed here. I'm going to try and stand up a new android builder on 16.04 and iron out the issues. If that works we can update the others.
@MortimerGoro It looks like we will be moving to 16.04 to unblock the other Android bits rather than trying to get the JDK update working on our current 14.04 builders.
Activity
glennw commentedon Aug 17, 2016
cc @larsbergstrom @edunham
aneeshusa commentedon Aug 18, 2016
This is going to be non-trivial, I can think of a few hurdles at least:
That being said, I agree this is a desirable change.
@glennw Are there any reasons in particular you'd like to upgrade?
aneeshusa commentedon Aug 18, 2016
Also, SSH is updated to a new version which disables DSA keys by default, so we'll need to replace the existing DSA keys. (Currently only @michaelwu, I believe.)
metajack commentedon Aug 18, 2016
It shouldn't take much to rewrite the init scripts. I wrote the current ones and have written both upstart and systemd ones in the past.
Installing python2 seems easy enough.
We want to upgrade in order to test WebRender. Basically need need a version of mesagl that supports OpenGL 3.3. The one in Trusty does not, but the one in Xenial does.
aneeshusa commentedon Aug 18, 2016
OK, I think the easiest way to do it would be adding a new build machine that's running 16.04 and to update the Salt code to handle Trusty and Xenial in parallel, then shift everything over to 16.04 once the kinks are ironed out.
Salt has a built-in grain (
init) we can branch on to do Upstart things vs Systemd things, and it looks like Python 2 (and 3 for Homu) are already Salted.metajack commentedon Aug 18, 2016
First issue I've run into is that https://repo.saltstack.com/apt/ubuntu/16.04/amd64/archive/ doesn't have 2015.5.8. Are any of those versions there compatible with our current master?
aneeshusa commentedon Aug 18, 2016
Unfortunately, no.
Salt does not guarantee backwards compatibility for minions that are newer than their masters. Additionally, Salt QC is a bit wanting, and there are often bugs and regressions between even minor and patch versions of Salt, which is why I've tried as hard as possible to lock down our Salt version. Another point is that homebrew doesn't have all Salt versions but only some of them. We're now two major versions behind at this point, and IMO it's best if we update Salt to the latest release supported by Homebrew (possibly waiting if they don't have 2016.3 yet).
Note that we'll want to review any Salt upgrades carefully due to the aforementioned QC issues.
aneeshusa commentedon Aug 18, 2016
I'd also like to Salt the Salt minion before trying to upgrade Salt, to help automate the process.
glennw commentedon Aug 22, 2016
I found that there is a PPA for ubuntu 16.04 that provides an up to date mesa3d. So depending on how long this work is likely to take, it may be possible to use that PPA on the build machines to get an up to date OSMesa for headless rendering.
larsbergstrom commentedon Dec 13, 2016
I gave this a try for the linux cross builders. Everything seemed to work except for the buildbot client script, which would need to be rewritten:
https://github.com/servo/saltfs/blob/master/buildbot/slave/files/buildbot-slave.conf
aneeshusa commentedon Jan 17, 2017
Travis does not (yet) support Ubuntu 16.04 environments natively, so this is blocked on #561, as we'll need to use Docker containers (per https://docs.travis-ci.com/user/docker/) to be able to test our states on Ubuntu 16.04. Note that this is not their container-based infrastructure, which doesn't support sudo, but using Docker from a regular VM build.
metajack commentedon Mar 14, 2017
@fabricedesre needs this for Android now. I dont' think it makes sense to wait on salting the salt master to proceed here. I'm going to try and stand up a new android builder on 16.04 and iron out the issues. If that works we can update the others.
larsbergstrom commentedon Mar 17, 2017
@MortimerGoro It looks like we will be moving to 16.04 to unblock the other Android bits rather than trying to get the JDK update working on our current 14.04 builders.
MortimerGoro commentedon Apr 5, 2017
@metajack Any news about the 16.04 builds?
metajack commentedon Apr 5, 2017
I'm planning to work on this next week.
Auto merge of #649 - aneeshusa:use-docker-for-testing-on-travis, r=me…