​Actually this is a separate module, only the features file is part of the
module itself and therefore not yet visible in the CI setup.
Just set this test to ignore for now. I am still working on the test setup
anyway.

BTW. it works locally here, since I have packaged the features.xml to the
local repo ;)

J Anatole
​

2016-12-29 23:23 GMT+01:00 John D. Ament <[email protected]>:

> That looks suspiciously like the problem I had when I first started working
> on the OSGi support.  the problem is that the tests are expecting the
> module to be in the repo.  In the case of CI, it won't be there yet.  So if
> I had to guess, it was built manually then tests run.  May need to split
> out the tests into a different module.
>
> John
>
> On Thu, Dec 29, 2016 at 5:19 PM P. Ottlinger <[email protected]>
> wrote:
>
> > Hi again,
> >
> > Am 29.12.2016 um 22:23 schrieb P. Ottlinger:
> > > @Anatole: I can reproduce the failure locally (with the same stack) -
> > > does it work with your settings?
> >
> > By downgrading to surefire 2.18 I was able to replace the failing builds
> > by test failures.
> >
> > @Anatole: could you have a look if these failures are bugs in the
> > implementation or are caused by the downgrade alone?
> >
> > Since the test failures are related to "features loading" I'm not sure
> > if the format is just wrong:
> >
> > Running org.apache.tamaya.osgi.OSGIKarafTest
> > 2016-12-29 23:15:51,422 | WARN  | pool-7-thread-1  | JaxbUtil
> >              | 8 - org.apache.karaf.features.core - 4.0.7 | Old style
> > feature file without namespace found (URI:
> >
> > mvn:org.apache.tamaya.ext/tamaya-osgi-features/0.3-
> incubating-SNAPSHOT/xml/features).
> > This format is deprecated and support for it will soon be removed
> >
> > and failure is:
> > getConfiguration(org.apache.tamaya.osgi.OSGIKarafTest)  Time elapsed:
> > 8.103 sec  <<< ERROR!
> > java.lang.IllegalArgumentException: No matching features for
> > tamaya-osgi-features/0.3.0.incubating-SNAPSHOT
> >         at
> >
> > org.apache.karaf.features.internal.service.FeaturesServiceImpl.
> installFeatures(FeaturesServiceImpl.java:928)
> >         at
> >
> > org.apache.karaf.features.internal.service.FeaturesServiceImpl.
> installFeatures(FeaturesServiceImpl.java:847)
> >         at
> >
> > org.apache.karaf.features.internal.service.FeaturesServiceImpl.
> installFeature(FeaturesServiceImpl.java:832)
> >         at
> >
> > org.apache.karaf.features.internal.service.FeaturesServiceImpl.
> installFeature(FeaturesServiceImpl.java:822)
> >         at
> > org.apache.tamaya.osgi.OSGIKarafTest.beforeTest(OSGIKarafTest.java:126)
> >
> >
> > Apart from that I fixed some build warnings ;-)
> >
> > Phil
> >
> >
> >
>



-- 
*Anatole Tresch*
PPMC Member Apache Tamaya
JCP Star Spec Lead
*Switzerland, Europe Zurich, GMT+1*
*maketechsimple.wordpress.com <http://maketechsimple.wordpress.com/> *
*Twitter:  @atsticks, @tamayaconf*

Reply via email to