I used jdk 9 build 181 on Linux to build which passed.

I added --debug --stacktrace to ./gradlew command line
Let's see if we would have more information if compileScala fails again.

On Wed, Nov 8, 2017 at 5:46 PM, Guozhang Wang <wangg...@gmail.com> wrote:

> We saw the same error again in later builds:
> https://builds.apache.org/job/kafka-pr-jdk9-scala2.12/2498/console
>
> Does anything get reverted?
>
>
> Guozhang
>
>
> On Tue, Nov 7, 2017 at 8:33 AM, Ted Yu <yuzhih...@gmail.com> wrote:
>
> > https://builds.apache.org/job/kafka-pr-jdk9-scala2.12/2470/ is green.
> >
> > Thanks Ismael.
> >
> > On Tue, Nov 7, 2017 at 3:46 AM, Ismael Juma <ism...@juma.me.uk> wrote:
> >
> > > I changed the Jenkins jobs to use Oracle JDK 9 instead of 9.0.1 until
> > > INFRA-15448 is fixed.
> > >
> > > Ismael
> > >
> > > On Mon, Nov 6, 2017 at 6:25 PM, Ismael Juma <ism...@juma.me.uk> wrote:
> > >
> > > > Thanks!
> > > >
> > > > Ismael
> > > >
> > > > On Mon, Nov 6, 2017 at 3:48 AM, Ted Yu <yuzhih...@gmail.com> wrote:
> > > >
> > > >> Logged https://issues.apache.org/jira/browse/INFRA-15448
> > > >>
> > > >> On Thu, Nov 2, 2017 at 11:39 PM, Ismael Juma <isma...@gmail.com>
> > wrote:
> > > >>
> > > >> > This looks to be an issue in Jenkins, not in Kafka. Apache Infra
> > > updated
> > > >> > Java 9 to 9.0.1 and it seems to have broken some of the Jenkins
> > code.
> > > >> >
> > > >> > Ismael
> > > >> >
> > > >> > On 3 Nov 2017 1:53 am, "Ted Yu" <yuzhih...@gmail.com> wrote:
> > > >> >
> > > >> > > Looking at earlier runs, e.g. :
> > > >> > > https://builds.apache.org/job/kafka-pr-jdk9-scala2.12/2384/
> > console
> > > >> > >
> > > >> > > FAILURE: Build failed with an exception.
> > > >> > >
> > > >> > > * What went wrong:
> > > >> > > Could not determine java version from '9.0.1'.
> > > >> > >
> > > >> > >
> > > >> > > This was the first build with 'out of range of int' exception:
> > > >> > >
> > > >> > >
> > > >> > > https://builds.apache.org/job/kafka-pr-jdk9-scala2.12/2389/
> > console
> > > >> > >
> > > >> > >
> > > >> > > However, I haven't found the commit which was at the tip of repo
> > at
> > > >> that
> > > >> > > time.
> > > >> > >
> > > >> > >
> > > >> > > On Thu, Nov 2, 2017 at 6:40 PM, Guozhang Wang <
> wangg...@gmail.com
> > >
> > > >> > wrote:
> > > >> > >
> > > >> > > > Noticed that as well, could we track down to which git commit
> /
> > > >> version
> > > >> > > > upgrade caused the issue?
> > > >> > > >
> > > >> > > >
> > > >> > > > Guozhang
> > > >> > > >
> > > >> > > > On Thu, Nov 2, 2017 at 6:25 PM, Ted Yu <yuzhih...@gmail.com>
> > > wrote:
> > > >> > > >
> > > >> > > > > Hi,
> > > >> > > > > I took a look at recent runs under https://builds.apache.
> > > >> > > > > org/job/kafka-pr-jdk9-scala2.12
> > > >> > > > >
> > > >> > > > > All the recent runs failed with:
> > > >> > > > >
> > > >> > > > > Could not update commit status of the Pull Request on
> GitHub.
> > > >> > > > > org.kohsuke.github.HttpException: Server returned HTTP
> > response
> > > >> > code:
> > > >> > > > > 201, message: 'Created' for URL:
> > > >> > > > > https://api.github.com/repos/apache/kafka/statuses/
> > > >> > > > > 3d96c6f5b2edd3c1dbea11dab003c4ac78ee141a
> > > >> > > > >         at org.kohsuke.github.Requester.
> > > parse(Requester.java:633)
> > > >> > > > >         at org.kohsuke.github.Requester.
> > > parse(Requester.java:594)
> > > >> > > > >         at org.kohsuke.github.Requester._
> > to(Requester.java:272)
> > > >> > > > >         at org.kohsuke.github.Requester.to
> > (Requester.java:234)
> > > >> > > > >         at org.kohsuke.github.GHRepository.
> > createCommitStatus(
> > > >> > > > > GHRepository.java:1071)
> > > >> > > > >
> > > >> > > > > ...
> > > >> > > > >
> > > >> > > > > Caused by: com.fasterxml.jackson.
> > databind.JsonMappingException:
> > > >> > > > > Numeric value (4298492118) out of range of int
> > > >> > > > >  at [Source: {"url":"https://api.github.
> > com/repos/apache/kafka/
> > > >> > > statuses/
> > > >> > > > > 3d96c6f5b2edd3c1dbea11dab003c4ac78ee141a","id":4298492118,"
> > > >> > > > > state":"pending","description":"Build
> > > >> > > > > started sha1 is
> > > >> > > > > merged.","target_url":"https://builds.apache.org/job/kafka-
> > > >> > > > > pr-jdk9-scala2.12/2397/","context":"JDK
> > > >> > > > > 9 and Scala 2.12",
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > Should we upgrade the version for jackson ?
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > Cheers
> > > >> > > > >
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > > > --
> > > >> > > > -- Guozhang
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> > > >
> > > >
> > >
> >
>
>
>
> --
> -- Guozhang
>

Reply via email to