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 3DFAB200C35 for ; Sun, 12 Mar 2017 19:36:55 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3C8ED160B77; Sun, 12 Mar 2017 18:36:55 +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 87AA2160B69 for ; Sun, 12 Mar 2017 19:36:54 +0100 (CET) Received: (qmail 92033 invoked by uid 500); 12 Mar 2017 18:36:53 -0000 Mailing-List: contact dev-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list dev@zookeeper.apache.org Received: (qmail 92022 invoked by uid 99); 12 Mar 2017 18:36:53 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Mar 2017 18:36:53 +0000 Received: from mail-vk0-f42.google.com (mail-vk0-f42.google.com [209.85.213.42]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 3D8AE1A0193 for ; Sun, 12 Mar 2017 18:36:53 +0000 (UTC) Received: by mail-vk0-f42.google.com with SMTP id r136so26625586vke.1 for ; Sun, 12 Mar 2017 11:36:53 -0700 (PDT) X-Gm-Message-State: AMke39ksD2nOE53tgt0dYkDrXZJ5p9xkeciDjC8d5HhLZIP9vMkt4IjO6Vk+nNtClpaN1uydigAENpPfUfuW6A== X-Received: by 10.31.78.134 with SMTP id c128mr13545833vkb.10.1489343812430; Sun, 12 Mar 2017 11:36:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.41.149 with HTTP; Sun, 12 Mar 2017 11:36:52 -0700 (PDT) In-Reply-To: References: From: Rakesh Radhakrishnan Date: Mon, 13 Mar 2017 00:06:52 +0530 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: ZooKeeper Build failure - Unsupported major.minor version 52.0 To: DevZooKeeper Content-Type: multipart/alternative; boundary=001a11484538e37ac8054a8ce0c8 archived-at: Sun, 12 Mar 2017 18:36:55 -0000 --001a11484538e37ac8054a8ce0c8 Content-Type: text/plain; charset=UTF-8 https://builds.apache.org/view/All/job/ZooKeeper-trunk/3308/console https://builds.apache.org/view/All/job/ZooKeeper_branch34/1867/console https://builds.apache.org/view/All/job/ZooKeeper_branch34_openjdk7/1424/console https://builds.apache.org/view/All/job/ZooKeeper_branch35_jdk7/881/console All the above listed builds are failing with "Unsupported major.minor version 52.0" error. [ZooKeeper_branch35_jdk7] $ /home/jenkins/tools/ant/latest/bin/ant -Dtest.output=yes -Dtest.junit.threads=8 -Dtest.junit.output.format=xml -Djavac.target=1.7 clean test-core-java Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/tools/ant/launch/Launcher : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) As per the jira https://issues.apache.org/jira/browse/INFRA-13526 discussion, it needs to change the build configuration. Could you please help to do the necessary conf changes. Thanks! Rakesh On Thu, Feb 16, 2017 at 10:06 AM, Patrick Hunt wrote: > Hi Rakesh, I would like to help, but I don't think I can. I think Flavio > has to do the following: > https://cwiki.apache.org/confluence/display/INFRA/Jenkins#Jenkins- > HowdoIgetanaccount > > Patrick > > On Wed, Feb 15, 2017 at 8:31 PM, Rakesh Radhakrishnan > wrote: > > > Yes, I've tried visiting the page. But getting access denied exception. > > Could you please give permission to the user "rakeshr". Anyway, Gavin has > > reconfigured it for now and triggered build. > > > > "rakeshr is missing the Job/ExtendedRead permission" > > > > Thanks, > > Rakesh > > > > On Thu, Feb 16, 2017 at 9:30 AM, Patrick Hunt wrote: > > > > > Rakesh, we have two types of builds, qa bot and "regular". > > > > > > qa bot: > > > > > > https://builds.apache.org/view/S-Z/view/ZooKeeper/job/ > > > ZooKeeper-trunk/configure > > > > > > search for "ant_home" on this page (it's in a bash script down on the > > page) > > > - we'll need to get the path to the old version from INFRA. Although it > > > looks like we can inject some environment variables now? Perhaps that's > > the > > > right way to do it instead. > > > > > > regular: > > > > > > https://builds.apache.org/view/S-Z/view/ZooKeeper/job/ > > > ZooKeeper-trunk-openjdk7/configure > > > > > > look in the "build" section for the dropdown > > > > > > Do you want to give this a try? Now's the best time to learn. ;-) > > > > > > Patrick > > > > > > > > > On Wed, Feb 15, 2017 at 7:49 PM, Rakesh Radhakrishnan < > > rakeshr@apache.org> > > > wrote: > > > > > > > Yes, logged in. But didn't see the drop down options. > > > > > > > > Rakesh > > > > > > > > On Thu, Feb 16, 2017 at 9:06 AM, Patrick Hunt > > wrote: > > > > > > > > > Rakesh can you login to jenkins? > > > > > > > > > > Patrick > > > > > > > > > > On Wed, Feb 15, 2017 at 7:29 PM, Rakesh Radhakrishnan < > > > > rakeshr@apache.org> > > > > > wrote: > > > > > > > > > > > Hi All, > > > > > > > > > > > > I've created an https://issues.apache.org/ > jira/browse/INFRA-13526 > > > jira > > > > > to > > > > > > understand more about the failure. From the discussion it looks > > like, > > > > Ant > > > > > > (latest) link was changed a few days ago to point to new Ant > > release > > > > > 1.10.1 > > > > > > and this version of ant requires Java8. > > > > > > > > > > > > So the possible fix is, either change the build to use Ant > release > > > > 1.10.1 > > > > > > or change to use Ant 1.9.9 or less. Since ZK supports Java > release > > > 1.7 > > > > or > > > > > > greater, I think changing to use Ant 1.9.9 or less which supports > > > Java7 > > > > > is > > > > > > preferable. > > > > > > > > > > > > Could someone familiar with the Jenkins build explains me the way > > to > > > do > > > > > > this Ant version changes. Thanks! > > > > > > > > > > > > Thanks, > > > > > > Rakesh > > > > > > > > > > > > > > > > > > > > > --001a11484538e37ac8054a8ce0c8--