You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2017/09/08 07:10:00 UTC

[jira] [Commented] (CAMEL-11758) camel-itest-karaf - CamelBeanValidatorTest fails on Jenkins

    [ https://issues.apache.org/jira/browse/CAMEL-11758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16158215#comment-16158215 ] 

Claus Ibsen commented on CAMEL-11758:
-------------------------------------

It requires a new successful build of notest
https://builds.apache.org/view/A-D/view/Camel/job/Camel.trunk.notest/

which is the build that generates new JARs of the SNAPSHOT and pushes those to the SNAPSHOT maven repo which the karaf uses for testing.
We fixed something about validator apis recently. That is why you can also not reproduce this locally

> camel-itest-karaf - CamelBeanValidatorTest fails on Jenkins
> -----------------------------------------------------------
>
>                 Key: CAMEL-11758
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11758
>             Project: Camel
>          Issue Type: Test
>          Components: karaf, tests
>    Affects Versions: 2.20.0
>            Reporter: Tadayoshi Sato
>            Assignee: Tadayoshi Sato
>
> https://builds.apache.org/job/Camel.trunk.itest.karaf/
> {code}
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 12.155 sec <<< FAILURE! - in org.apache.camel.itest.karaf.CamelBeanValidatorTest
> test(org.apache.camel.itest.karaf.CamelBeanValidatorTest)  Time elapsed: 12.011 sec  <<< ERROR!
> org.ops4j.pax.exam.WrappedTestContainerException: [test(org.apache.camel.itest.karaf.CamelBeanValidatorTest): Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=camel-bean-validator; type=karaf.feature; version="[2.20.0.SNAPSHOT,2.20.0.SNAPSHOT]"; filter:="(&(osgi.identity=camel-bean-validator)(type=karaf.feature)(version>=2.20.0.SNAPSHOT)(version<=2.20.0.SNAPSHOT))" [caused by: Unable to resolve camel-bean-validator/2.20.0.SNAPSHOT: missing requirement [camel-bean-validator/2.20.0.SNAPSHOT] osgi.identity; osgi.identity=org.apache.camel.camel-bean-validator; type=osgi.bundle; version="[2.20.0.SNAPSHOT,2.20.0.SNAPSHOT]"; resolution:=mandatory [caused by: Unable to resolve org.apache.camel.camel-bean-validator/2.20.0.SNAPSHOT: missing requirement [org.apache.camel.camel-bean-validator/2.20.0.SNAPSHOT] osgi.wiring.package; filter:="(&(osgi.wiring.package=javax.validation)(version>=1.1.0)(!(version>=2.0.0)))"]]]
> 	at org.apache.felix.resolver.ResolutionError.toException(ResolutionError.java:42)
> 	at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:389)
> 	at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:375)
> 	at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:347)
> 	at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:218)
> 	at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:285)
> 	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1170)
> 	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$0(FeaturesServiceImpl.java:1069)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> 	at java.lang.Thread.run(Thread.java:748)
> Results :
> Tests in error: 
>   CamelBeanValidatorTest.test ยป WrappedTestContainer [test(org.apache.camel.ites...
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 18.116 s
> [INFO] Finished at: 2017-09-06T18:49:24+00:00
> [INFO] Final Memory: 39M/829M
> [INFO] ------------------------------------------------------------------------
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)