directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Seelmann <m...@stefan-seelmann.de>
Subject Re: [VOTE] Apache LDAP API 1.0.0-RC1 release
Date Thu, 16 Jun 2016 20:34:18 GMT
On 06/16/2016 05:22 PM, Lucas Theisen wrote:
> I checked out the tag, and attempted a build on Windows 7 Oracle JDK
> 1.8.0_92, but it resulted in errors on the OSGI tests:
> 
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.56 sec
> <<< FAILURE! - in org.apache.directory.api.osgi.ApiUtilOsgiTest
> org.apache.directory.api.osgi.ApiUtilOsgiTest  Time elapsed: 1.538 sec  <<<
> ERROR!
> org.ops4j.pax.exam.TestContainerException:
> [link:classpath:META-INF/links/org.ops4j.pax.exam.inject.link] could not be
> downloaded
>         at
> org.ops4j.pax.exam.forked.provision.PlatformImpl.download(PlatformImpl.java:146)
>         at
> org.ops4j.pax.exam.forked.ForkedTestContainer.downloadBundle(ForkedTestContainer.java:354)
>         at
> org.ops4j.pax.exam.forked.ForkedTestContainer.installAndStartBundles(ForkedTestContainer.java:283)
>         at
> org.ops4j.pax.exam.forked.ForkedTestContainer.start(ForkedTestContainer.java:165)
>         at
> org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor.setUp(EagerSingleStagedReactor.java:86)
>         at
> org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor.beforeClass(EagerSingleStagedReactor.java:136)
>         at
> org.ops4j.pax.exam.spi.reactors.ReactorManager.beforeClass(ReactorManager.java:448)
>         at
> org.ops4j.pax.exam.junit.impl.ProbeRunner.run(ProbeRunner.java:97)
>         at org.ops4j.pax.exam.junit.PaxExam.run(PaxExam.java:93)
>         at
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
>         at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
>         at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
>         at
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
>         at
> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
>         at
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
>         at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
> Caused by: java.io.IOException: Error resolving artifact
> org.ops4j.pax.exam:pax-exam-inject:jar:4.8.0: Could not transfer artifact
> org.ops4j.pax.exam:pax-exam-inject:jar:4.8.0 from/to central (
> http://repo1.maven.org/maven2/): Connect to repo1.maven.org:80 [
> repo1.maven.org/199.27.76.209] failed: Connection refused: connect
>         at
> org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:626)
>         at
> org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:570)
>         at
> org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:548)
>         at
> org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:523)
>         at
> org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:123)
>         at java.net.URL.openStream(URL.java:1045)
>         at
> org.ops4j.pax.exam.forked.provision.StreamUtils.streamCopy(StreamUtils.java:103)
>         at
> org.ops4j.pax.exam.forked.provision.PlatformImpl.download(PlatformImpl.java:133)
>         at
> org.ops4j.pax.exam.forked.ForkedTestContainer.downloadBundle(ForkedTestContainer.java:354)
>         at
> org.ops4j.pax.exam.forked.ForkedTestContainer.installAndStartBundles(ForkedTestContainer.java:283)
>         at
> org.ops4j.pax.exam.forked.ForkedTestContainer.start(ForkedTestContainer.java:165)
>         at
> org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor.setUp(EagerSingleStagedReactor.java:86)
>         at
> org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor.beforeClass(EagerSingleStagedReactor.java:136)
>         at
> org.ops4j.pax.exam.spi.reactors.ReactorManager.beforeClass(ReactorManager.java:448)
>         at
> org.ops4j.pax.exam.junit.impl.ProbeRunner.run(ProbeRunner.java:97)
>         at org.ops4j.pax.exam.junit.PaxExam.run(PaxExam.java:93)
>         at
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
>         at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
>         at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
>         at
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
>         at
> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
>         at
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
>         at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
> 
> There are a few quirks with my environment, first, i am behind a corporate
> http proxy, second, I have a corporate repository (nexus) that mirrors
> maven central.  However, all other modules built successfully, so I dont
> think the OSGI tests should fail.

Those tests use pax-exam to start a new JVM with OSGi env and downloads
its own dependencies via Maven libraries (aether), this does (mostly)
apply maven settings from your ~/.m2/settings.xml, but neither considers
global maven settings nor current command line settings.

Kind Regards,
Stefan


Mime
View raw message