Skip to content
This repository was archived by the owner on Dec 16, 2024. It is now read-only.
This repository was archived by the owner on Dec 16, 2024. It is now read-only.

Update build machines to use Ubuntu 16.04 #462

Open

Description

@glennw
No description provided.

Activity

  1. glennw commented on Aug 17, 2016

    @glennw
    MemberAuthor
  2. aneeshusa commented on Aug 18, 2016

    @aneeshusa
    Contributor

    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?

  3. aneeshusa commented on Aug 18, 2016

    @aneeshusa
    Contributor

    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.)

  4. metajack commented on Aug 18, 2016

    @metajack
    Contributor

    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.

  5. aneeshusa commented on Aug 18, 2016

    @aneeshusa
    Contributor

    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.

  6. metajack commented on Aug 18, 2016

    @metajack
    Contributor

    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?

  7. aneeshusa commented on Aug 18, 2016

    @aneeshusa
    Contributor

    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.

  8. aneeshusa commented on Aug 18, 2016

    @aneeshusa
    Contributor

    I'd also like to Salt the Salt minion before trying to upgrade Salt, to help automate the process.

  9. glennw commented on Aug 22, 2016

    @glennw
    MemberAuthor

    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.

  10. larsbergstrom commented on Dec 13, 2016

    @larsbergstrom
    Contributor

    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

  11. aneeshusa commented on Jan 17, 2017

    @aneeshusa
    Contributor

    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.

  12. metajack commented on Mar 14, 2017

    @metajack
    Contributor

    @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.

  13. larsbergstrom commented on Mar 17, 2017

    @larsbergstrom
    Contributor

    @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.

  14. MortimerGoro commented on Apr 5, 2017

    @MortimerGoro
    Contributor

    @metajack Any news about the 16.04 builds?

  15. metajack commented on Apr 5, 2017

    @metajack
    Contributor

    I'm planning to work on this next week.

  16. added a commit that references this issue on May 5, 2017
  17. modified the milestone: on Jul 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions