Re: build camel-core JDK 11
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 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: but was: ]bounds for length 2> > [ERROR] Run 2: > SimpleTest.testOGNLHeaderLinesList:934->Assert.assertEquals:144->Assert.assertEquals:115 > expected: but was: ]bounds for length 2> > [ERROR] Run 3: > SimpleTest.testOGNLHeaderLinesList:934->Assert.assertEquals:144->Assert.assertEquals:115 > expected: but was: ]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: but was: ]bounds for length 2> > [ERROR] Run 2: > SimpleTest.testOGNLHeaderList:911->Assert.assertEquals:144->Assert.assertEquals:115 > expected: but was: ]bounds for length 2> > [ERROR] Run 3: > SimpleTest.testOGNLHeaderList:911->Assert.assertEquals:144->Assert.assertEquals:115 > expected: but was: ]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: but was: ]bounds for length 2> > [ERROR] Run 2: > SimpleTest.testOGNLPropertyLinesList:441->Assert.assertEquals:144->Assert.assertEquals:115 > expected: but was: ]bounds for length 2> > [ERROR] Run 3: > SimpleTest.testOGNLPropertyLinesList:441->Assert.assertEquals:144->Assert.assertEquals:115 > expected: but was: ]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: but was: ]bounds for length 2> > [ERROR] Run 2: > SimpleTest.testOGNLPropertyList:417->Assert.assertEquals:144->Assert.assertEquals:115 > expected: but was: ]bounds for length 2> > [ERROR] Run 3: > SimpleTest.testOGNLPropertyList:417->Assert.assertEquals:144->Assert.assertEquals:115 > expected: but was: ]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 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 > wrote: > >> Hi Pascal & Cameleers, > >> > >> On Tue, Nov 6, 2018 at 8:23 AM, Pascal Schumacher > >> 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 > >
Re: build camel-core JDK 11
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: but was: [ERROR] Run 2: SimpleTest.testOGNLHeaderLinesList:934->Assert.assertEquals:144->Assert.assertEquals:115 expected: but was: [ERROR] Run 3: SimpleTest.testOGNLHeaderLinesList:934->Assert.assertEquals:144->Assert.assertEquals:115 expected: but was: [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: but was: [ERROR] Run 2: SimpleTest.testOGNLHeaderList:911->Assert.assertEquals:144->Assert.assertEquals:115 expected: but was: [ERROR] Run 3: SimpleTest.testOGNLHeaderList:911->Assert.assertEquals:144->Assert.assertEquals:115 expected: but was: [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: but was: [ERROR] Run 2: SimpleTest.testOGNLPropertyLinesList:441->Assert.assertEquals:144->Assert.assertEquals:115 expected: but was: [ERROR] Run 3: SimpleTest.testOGNLPropertyLinesList:441->Assert.assertEquals:144->Assert.assertEquals:115 expected: but was: [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: but was: [ERROR] Run 2: SimpleTest.testOGNLPropertyList:417->Assert.assertEquals:144->Assert.assertEquals:115 expected: but was: [ERROR] Run 3: SimpleTest.testOGNLPropertyList:417->Assert.assertEquals:144->Assert.assertEquals:115 expected: but was: [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 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 wrote: >> Hi Pascal & Cameleers, >> >> On Tue, Nov 6, 2018 at 8:23 AM, Pascal Schumacher >> 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
Re: build camel-core JDK 11
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 wrote: > Hi Pascal & Cameleers, > > On Tue, Nov 6, 2018 at 8:23 AM, Pascal Schumacher > 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
Re: [camel] 04/06: Merge branch 'master' of github.com:apache/camel
Can you please rebase and avoid merge commit? Just to keep the codebase and commit history clean. Thanks. -- Andrea Cosentino -- Apache Camel PMC Chair Apache Karaf Committer Apache Servicemix PMC Member Email: ancosen1...@yahoo.com Twitter: @oscerd2 Github: oscerd On Tuesday, November 6, 2018, 11:43:34 AM GMT+1, wrote: This is an automated email from the ASF dual-hosted git repository. ffang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git commit db8a577bb6443c463ebb8c965c02e08e1ac084b6 Merge: e0aba10 09a33b9 Author: Freeman Fang AuthorDate: Mon Nov 5 20:43:24 2018 +0800 Merge branch 'master' of github.com:apache/camel docs/user-manual/en/SUMMARY.md | 4 ++-- docs/user-manual/en/endpoint-completer.adoc | 27 +++ 2 files changed, 29 insertions(+), 2 deletions(-)
Re: UNSUBSCRIBE ME
Can you please report in the INFRA issue too? Thanks Zoran! -- Andrea Cosentino -- Apache Camel PMC Chair Apache Karaf Committer Apache Servicemix PMC Member Email: ancosen1...@yahoo.com Twitter: @oscerd2 Github: oscerd On Tuesday, November 6, 2018, 10:22:49 AM GMT+1, Zoran Regvart wrote: Hi Andrea & Cameleers, I would consider this issue resolved, I don't expect Marc-André asking to unsubscribe again, zoran On Tue, Nov 6, 2018 at 7:43 AM, Andrea Cosentino wrote: > Hello Zoran, > > Yes, exactly. INFRA told me the same thing. > > https://issues.apache.org/jira/browse/INFRA-17215 > > They are asking an email with full headers -- Zoran Regvart
Re: UNSUBSCRIBE ME
Hi Andrea & Cameleers, I would consider this issue resolved, I don't expect Marc-André asking to unsubscribe again, zoran On Tue, Nov 6, 2018 at 7:43 AM, Andrea Cosentino wrote: > Hello Zoran, > > Yes, exactly. INFRA told me the same thing. > > https://issues.apache.org/jira/browse/INFRA-17215 > > They are asking an email with full headers -- Zoran Regvart
Re: build camel-core JDK 11
Hi Pascal & Cameleers, On Tue, Nov 6, 2018 at 8:23 AM, Pascal Schumacher 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