Thanks Rakesh for all the work. Flavio can fix your permission issue I
believe.

Since I have access to Jenkins, I updated two jobs and they are good now
(by choosing Ant 1.9.9 which does not require JDK 8).
https://builds.apache.org/view/All/job/ZooKeeper_branch34_openjdk7/
https://builds.apache.org/view/All/job/ZooKeeper_branch35_jdk7/

This provides us good build coverage for jdk 7 for 3.4 and 3.5.

I am not exactly sure what these two jobs are for - they also use jdk 7 but
they have a vastly different configuration interface. I had unsuccessful
attempts on updating these jobs because they don't provide configurable ant
version through Jenkins UI, and attempts to directly mess up with ant
version in shell scripts does not yield a good result. I'll see what I can
do, but just want to mention these are still failing.
https://builds.apache.org/view/All/job/ZooKeeper-trunk/3308/console
https://builds.apache.org/view/All/job/ZooKeeper_branch34/1867/console


On Sun, Mar 12, 2017 at 11:36 AM, Rakesh Radhakrishnan <rake...@apache.org>
wrote:

> 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 <ph...@apache.org> 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 <
> rake...@apache.org>
> > 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 <ph...@apache.org>
> 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 <
> > > rake...@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 <ph...@apache.org>
> > > wrote:
> > > > >
> > > > > > Rakesh can you login to jenkins?
> > > > > >
> > > > > > Patrick
> > > > > >
> > > > > > On Wed, Feb 15, 2017 at 7:29 PM, Rakesh Radhakrishnan <
> > > > > rake...@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
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>



-- 
Cheers
Michael.

Reply via email to