Hi, i think all tests are not successful yet. My first goal was to build with JDK 11 and then i guess we will run the tests and provide possible fixes for failing ones.
I have got a couple issues while trying to build. Zoran, did you run local successfull build? Thanks, On Wed, Nov 7, 2018 at 2:53 AM Freeman Fang <freeman.f...@gmail.com> wrote: > Hi Zoran, > > I consistently run into error when I use jdk11 to build camel on > java-10-test branch, is it a known issue or I did something wrong? > My java is > > java -version > openjdk version "11" 2018-09-25 > OpenJDK Runtime Environment 18.9 (build 11+28) > OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode) > > Thanks! > > [ERROR] Failures: > [ERROR] > org.apache.camel.component.validator.CustomSchemaFactoryFeatureTest.testCustomSchemaFactory(org.apache.camel.component.validator.CustomSchemaFactoryFeatureTest) > [ERROR] Run 1: > CustomSchemaFactoryFeatureTest.testCustomSchemaFactory:49->Assert.fail:88 > Expect exception here > [ERROR] Run 2: > CustomSchemaFactoryFeatureTest.testCustomSchemaFactory:49->Assert.fail:88 > Expect exception here > [ERROR] Run 3: > CustomSchemaFactoryFeatureTest.testCustomSchemaFactory:49->Assert.fail:88 > Expect exception here > [INFO] > [ERROR] > org.apache.camel.language.simple.SimpleTest.testOGNLHeaderLinesList(org.apache.camel.language.simple.SimpleTest) > [ERROR] Run 1: > SimpleTest.testOGNLHeaderLinesList:934->Assert.assertEquals:144->Assert.assertEquals:115 > expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of > ]bounds for length 2> > [ERROR] Run 2: > SimpleTest.testOGNLHeaderLinesList:934->Assert.assertEquals:144->Assert.assertEquals:115 > expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of > ]bounds for length 2> > [ERROR] Run 3: > SimpleTest.testOGNLHeaderLinesList:934->Assert.assertEquals:144->Assert.assertEquals:115 > expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of > ]bounds for length 2> > [INFO] > [ERROR] > org.apache.camel.language.simple.SimpleTest.testOGNLHeaderList(org.apache.camel.language.simple.SimpleTest) > [ERROR] Run 1: > SimpleTest.testOGNLHeaderList:911->Assert.assertEquals:144->Assert.assertEquals:115 > expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of > ]bounds for length 2> > [ERROR] Run 2: > SimpleTest.testOGNLHeaderList:911->Assert.assertEquals:144->Assert.assertEquals:115 > expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of > ]bounds for length 2> > [ERROR] Run 3: > SimpleTest.testOGNLHeaderList:911->Assert.assertEquals:144->Assert.assertEquals:115 > expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of > ]bounds for length 2> > [INFO] > [ERROR] > org.apache.camel.language.simple.SimpleTest.testOGNLPropertyLinesList(org.apache.camel.language.simple.SimpleTest) > [ERROR] Run 1: > SimpleTest.testOGNLPropertyLinesList:441->Assert.assertEquals:144->Assert.assertEquals:115 > expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of > ]bounds for length 2> > [ERROR] Run 2: > SimpleTest.testOGNLPropertyLinesList:441->Assert.assertEquals:144->Assert.assertEquals:115 > expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of > ]bounds for length 2> > [ERROR] Run 3: > SimpleTest.testOGNLPropertyLinesList:441->Assert.assertEquals:144->Assert.assertEquals:115 > expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of > ]bounds for length 2> > [INFO] > [ERROR] > org.apache.camel.language.simple.SimpleTest.testOGNLPropertyList(org.apache.camel.language.simple.SimpleTest) > [ERROR] Run 1: > SimpleTest.testOGNLPropertyList:417->Assert.assertEquals:144->Assert.assertEquals:115 > expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of > ]bounds for length 2> > [ERROR] Run 2: > SimpleTest.testOGNLPropertyList:417->Assert.assertEquals:144->Assert.assertEquals:115 > expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of > ]bounds for length 2> > [ERROR] Run 3: > SimpleTest.testOGNLPropertyList:417->Assert.assertEquals:144->Assert.assertEquals:115 > expected:<Index 2 out[-of-]bounds for length 2> but was:<Index 2 out[ of > ]bounds for length 2> > [INFO] > [INFO] > [ERROR] Tests run: 6200, Failures: 5, Errors: 0, Skipped: 19 > ------------- > Freeman(Yue) Fang > > Red Hat, Inc. > > > > > > > On Nov 6, 2018, at 7:49 PM, Zoran Regvart <zo...@regvart.com> wrote: > > > > Hi Cameleers, > > > > So using Groovy 2.5.3 seems to work, I did leave Groovy Eclipse > > compiler and the Maven plugin updated to the newer versions. > > > > Also I found that the `maven-shade-plugin` can hang (on Java 11?), so > > to work around that I've set `createDependencyReducedPom` to `false`. > > > > Because of this I disabled the CI build[1] of the `java-10-test` > > branch as it took ~19h, now it needs to be triggered manually. > > > > I've rebased on `master` and triggered the build, so lets see what the > > CI says, and how many tests failures we'll see... > > > > zoran > > > > [1] > https://builds.apache.org/view/C/view/Apache%20Camel/job/Camel.daily-zregvart/ > > > > On Tue, Nov 6, 2018 at 10:18 AM, Zoran Regvart <zo...@regvart.com> > wrote: > >> Hi Pascal & Cameleers, > >> > >> On Tue, Nov 6, 2018 at 8:23 AM, Pascal Schumacher > >> <pascalschumac...@gmx.net> wrote: > >>> No related to camel-core, but this commit > >>> > https://github.com/apache/camel/commit/dda0e4c5890d8e12b5895b8736e3819d0b095d08 > >>> can be reverted/dropped because groovy 2.5.3 should work on Java 11. > >> > >> Awesome, let me try that... > >> > >> zoran > >> -- > >> Zoran Regvart > > > > > > > > -- > > Zoran Regvart > >