Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C0DC6200CB6 for ; Thu, 29 Jun 2017 12:04:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BF8D2160BED; Thu, 29 Jun 2017 10:04:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DEB4E160BDF for ; Thu, 29 Jun 2017 12:04:07 +0200 (CEST) Received: (qmail 74168 invoked by uid 500); 29 Jun 2017 10:04:05 -0000 Mailing-List: contact builds-help@apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: builds@apache.org Delivered-To: mailing list builds@apache.org Received: (qmail 74149 invoked by uid 99); 29 Jun 2017 10:04:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jun 2017 10:04:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id ADC70183994 for ; Thu, 29 Jun 2017 10:04:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.38 X-Spam-Level: X-Spam-Status: No, score=0.38 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id negfySlgVIup for ; Thu, 29 Jun 2017 10:03:59 +0000 (UTC) Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 7EBA95F30B for ; Thu, 29 Jun 2017 10:03:59 +0000 (UTC) Received: by mail-wm0-f42.google.com with SMTP id z75so17716613wmc.0 for ; Thu, 29 Jun 2017 03:03:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-transfer-encoding; bh=4flbdVrn8i+Xrmd+JRol4FK0zQtKhmJzE8mWi/7XyZk=; b=qiYFkO3DbVOWMUnzG7NmVrbSVoGneT3vtlS92Q1eTgvt0Y720kgrCeyTS1tSY9nKrD hYXkNZyD31HR+s2GH0AGeH5WggBQfDXIkDRGnXW2c5dZWpI4cYlhIibE8jGu69rZC9UE 3cF/V1wGjQ+LRjxyynk+aDxImSNNCsphts01bvhNjrFfp05nKObmRQOQIG6e3HXkboqk RUc9KmJyTtviIqe/H+wWypMdbjWETZh/eDU5Cv3RMblVcsdua2HFYlWkDsUZHB/PaVrX xLU7EMXNJndanaZ/0bIN4JpiOlNDlMsF49TG7b7jqYxgE4LVn7rKmryH5jvA7VsOJoTH G24g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-transfer-encoding; bh=4flbdVrn8i+Xrmd+JRol4FK0zQtKhmJzE8mWi/7XyZk=; b=n+GPzKrbshETFmnfMy2Bghni+EohdDG1E5eim/h0f5y41zgkzYcUUAaPtJn6F+UdnE Utl1iFdb4upwJEcciSxrcliKl3iK7TkX+SJm8QdLvoWzY2NwFh5d28z9P729UQrW7U+q 6zaZK21czhY0kit6VU7cwUEXA6Ns5Rhfx28vabZFd5UBzIXHBh7d7WYSUKGSN4zdjjxs d3fYpLlsFkuP4YKSVKON8G2RHjmh5yTuiMId0stW7kl2ubv0tAg0+pLZYiZpC6c594Jm khsOzjVgbCvtj4FskjfirLT++fJAF19K/oagdOmpPKbuC5B9QhWm5xY6iq53rkFVWSSh Htyg== X-Gm-Message-State: AKS2vOwyZQDjSU0sMC+2xlYN0XkiMal5FtOfNazyXGwPxhlv3qx96ewZ ZZtXzRqA0Rg7XU0HrSruOOCu30hqs8cl+Gc= X-Received: by 10.28.157.9 with SMTP id g9mr1292021wme.76.1498730632155; Thu, 29 Jun 2017 03:03:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.170.144 with HTTP; Thu, 29 Jun 2017 03:03:51 -0700 (PDT) In-Reply-To: References: <573832AC-086E-40DA-9CAB-C9D316968CE2@16degrees.com.au> <012e01d2f05a$17c89570$4759c050$@apache.org> From: sebb Date: Thu, 29 Jun 2017 11:03:51 +0100 Message-ID: Subject: Re: [JENKINS] [IMPORTANT] - Jenkins Migration and Upgrade (And JDK7 deprecation) To: builds@apache.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable archived-at: Thu, 29 Jun 2017 10:04:08 -0000 Or you can run Maven using Java x but compile/test using Java y. This can either be done via toolchains http://maven.apache.org/guides/mini/guide-using-toolchains.html Or using properties to redefine the executables used by the compile/build steps (as is done by the Commons parent pom), see: http://commons.apache.org/commons-parent-pom.html On 29 June 2017 at 07:45, Lukasz Lenart wrote: > Thanks Uwe, this is very helpful! > > 2017-06-29 0:01 GMT+02:00 Uwe Schindler : >> Hi, >> >> Instead of native Maven build jobs, the easy workaround is: >> >> - Use a standard Freestyle Job >> - Check the right JDK version >> - Use the "Tool Environment" plugin and select correct Maven version, e.= g. MAVEN_3_5_0_HOME >> - Enter the Maven execution into the shell command line and use the "Too= l Environment" defined env var to locate the Maven executable (e.g., "${MAV= EN_3_5_0_HOME}/bin/mvn"). >> >> We use a similar approach for our smoker tests that run with multiple JV= M versions (7 and 8 for Lucene 5). The second JVM version is just exported = by the "Tools Environment" plugin. >> >> Uwe >> >> ----- >> Uwe Schindler >> Achterdiek 19, D-28357 Bremen >> http://www.thetaphi.de >> eMail: uwe@thetaphi.de >> >>> -----Original Message----- >>> From: Greg Stein [mailto:gstein@gmail.com] >>> Sent: Wednesday, June 28, 2017 9:05 PM >>> To: builds@apache.org >>> Subject: Re: [JENKINS] [IMPORTANT] - Jenkins Migration and Upgrade (And >>> JDK7 deprecation) >>> >>> I think it depends upon your job type, as Gavin wrote: "in terms of Mav= en >>> jobs for JDK 7" >>> >>> On Wed, Jun 28, 2017 at 10:01 AM, Lukasz Lenart >>> >>> wrote: >>> >>> > Hi, >>> > >>> > How to understand that? It won't be possible to run a job using JDK7 >>> > anymore, right? Even if I selected such JDK in my build, Jenkins won'= t >>> > run it, is that true? >>> > >>> > We cannot run this build [1] anymore as JDK6 isn't support by the >>> > slaves [2] - will it be the same? >>> > >>> > [1] https://builds.apache.org/view/S-Z/view/Struts/job/ >>> > Struts-JDK6-support-2.3/ >>> > [2] https://builds.apache.org/view/S-Z/view/Struts/job/ >>> > Struts-JDK6-support-2.3/1064/console >>> > >>> > >>> > Regards >>> > -- >>> > =C5=81ukasz >>> > + 48 606 323 122 http://www.lenart.org.pl/ >>> > >>> > 2017-06-27 9:03 GMT+02:00 Gavin McDonald : >>> > > ASF Jenkins Master Migration and Upgrade on :- >>> > > >>> > > >>> > > Location Local Time >>> > Time Zone UTC Offset >>> > > Melbourne (Australia - Victoria) Sunday, 16 July 2017 at 10:= 00:00 >>> > am AEST UTC+10 hours >>> > > New York (USA - New York) Saturday, 15 July 2017 at >>> > 8:00:00 pm EDT UTC-4 hours >>> > > Corresponding UTC (GMT) Sunday, 16 July 2017 at 00:00:00 >>> > > >>> > > >>> > > Hi All, >>> > > >>> > > A few things are going to happen in just over 2 weeks. >>> > > >>> > > 1. Migration of Jenkins to a new host. A Jenkins Master module and = yaml >>> > have been puppetized and ready to go. >>> > > What we need to do to migrate the Master away from its current = host >>> > is turn off the old service. Perform a final >>> > > rsync of data and perform the migration tasks. >>> > > >>> > > As we intend to preserve history for jobs this will take some t= ime. >>> > > At the same time as doing this migration to a new host, all sla= ve >>> > connections will be updated (see below.) >>> > > I have no current estimate of downtime, but it will run into se= veral >>> > hours. We do plan to run this migration on a >>> > > Sunday at the lowest part of Jenkins usual usage. >>> > > >>> > > 2. Upgrade of Jenkins - Jenkins project released a new LTS release, >>> > version 2.60.1. This is a major release and breaks >>> > > Jenkins in terms of Maven jobs for JDK 7 in the same way that i= t >>> > happened for Maven and JDK 6 a few months back. >>> > > >>> > > The infra team (mainly myself) got quite some feedback on not >>> > supplying advance notice of this breakage. That upgrade >>> > > however was necessary due to security fixes that required our >>> > upgrade. This email serves as advance warning of the >>> > > upcoming upgrade of Jenkins, the downtime due to the migration = of >>> > the service to a new host; and notice of the breakage >>> > > to JDK 7 that the upgrade brings. >>> > > >>> > > Please familiarise yourself with the Jenkins LTS upgrade notes = at >>> > [1]. >>> > > In particular please note:- >>> > > >>> > > =E2=80=9C=E2=80=A62.60.1 is the first Jenkins LTS release that = requires Java 8 to >>> > run. If you're using the Maven Project type, please note that it need= s to >>> > use a JDK capable of running Jenkins, i.e. JDK 8 or up. If you config= ure an >>> > older JDK in a Maven Project, Jenkins will attempt to find a newer JD= K and >>> > use that automatically. If your SSH Slaves fail to start and you have= the >>> > plugin install the JRE to run them, make sure to update SSH Slaves Pl= ugin >>> > to at least version 1.17 (1.20 recommended). >>> > > Changes since 2.60: >>> > > Fix for NullPointerException while initiating some SSH connections >>> > (regression in 2.59). (issue 44120 >> > org/browse/JENKINS-44120>) >>> > > Notable changes since 2.46.3: >>> > > Jenkins (master and agents) now requires Java 8 to run. (issue 2762= 4 < >>> > https://issues.jenkins-ci.org/browse/JENKINS-27624> <>, issue 42709 < >>> > https://issues.jenkins-ci.org/browse/JENKINS-42709> <>, pull 2802 < >>> > https://github.com/jenkinsci/jenkins/pull/2802>, announcement blog po= st >>> < >>> > https://jenkins.io/blog/2017/04/10/jenkins-has-upgraded-to-java-8/>) >>> > > >>> > > =E2=80=A6=E2=80=9D >>> > > >>> > > There are over 30 other enhancements/fixes since 2.46.2 which we >>> > currently run so please do take a note of those. >>> > > >>> > > Recap: In just over 2 weeks, downtime for a migration AND upgrade i= s >>> > planned. >>> > > >>> > > Please do not rely on Jenkins at all for that weekend if you use it= in >>> > your release workflow. >>> > > >>> > > Please do take this notice back to your dev lists. >>> > > >>> > > Any questions or concerns please email back to builds@apache.org >>> > only. >>> > > >>> > > Thanks >>> > > >>> > > Gav=E2=80=A6 >>> > > >>> > > [1] - https://jenkins.io/changelog-stable/ >>> > >>