provisionr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ioannis Canellos <ioca...@gmail.com>
Subject Re: Stuff in progress towards RC0
Date Tue, 18 Jun 2013 13:19:30 GMT
The problem here seems to be that the tarball hasn't been installed to the
local maven repo.

It's pretty common, if u don't run mvn .... install


On Tue, Jun 18, 2013 at 4:13 PM, Andrei Savu <savu.andrei@gmail.com> wrote:

> On Tue, Jun 18, 2013 at 6:36 AM, Rahul Sharma <rahul0208@gmail.com> wrote:
>
> > Also for Jenkins, I think we should configure mail sending to
> > dev@p.i.a.o[1]  for unstable builds.
> >
>
> Done.
>
> Anyone knows how to fix the following failure? assembly-tests runs fine on
> my machine.
>
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
>
> [INFO] *--- maven-surefire-plugin:2.13:test (default-test) @
> provisionr-assembly-tests ---*Running
> org.apache.provisionr.karaf.CustomKarafDistributionTest
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in
>
> [jar:file:/home/jenkins/jenkins-slave/maven-repositories/0/org/apache/karaf/org.apache.karaf.client/2.2.10/org.apache.karaf.client-2.2.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
>
> [jar:file:/home/jenkins/jenkins-slave/maven-repositories/0/org/slf4j/slf4j-simple/1.6.6/slf4j-simple-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
>
> [jar:file:/home/jenkins/jenkins-slave/maven-repositories/0/org/ops4j/pax/logging/pax-logging-api/1.6.10/pax-logging-api-1.6.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
> explanation.
> SLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory]
> [org.ops4j.pax.url.mvn.internal.AetherBridgeConnection] : Ather URL
> Handler not available. Using mvn fallback to resolve
>
> mvn:org.apache.provisionr/provisionr-assembly/0.4.0-incubating-SNAPSHOT/tar.gz
> [org.ops4j.pax.url.mvn.internal.Connection] : Resolving
>
> [mvn:org.apache.provisionr/provisionr-assembly/0.4.0-incubating-SNAPSHOT/tar.gz]
> [org.ops4j.pax.url.mvn.internal.Connection] : Collecting versions from
> repository
> [file:/home/jenkins/.m2/repository/,releases=true,snapshots=true]
> [org.ops4j.pax.url.mvn.internal.Connection] :   Resolving snapshot
> version [0.4.0-incubating-SNAPSHOT]
> [org.ops4j.pax.url.mvn.internal.Connection] :   Resolving metadata
> [org.ops4j.pax.url.mvn.internal.Connection] : Collecting versions from
> repository [
> http://osgi.sonatype.org/content/groups/pax-runner/,releases=true,snapshots=false
> ]
> [org.ops4j.pax.url.mvn.internal.Connection] :   Skipping repository
> [
> http://osgi.sonatype.org/content/groups/pax-runner/,releases=true,snapshots=false
> ],
> reason: Snapshots not enabled
> [org.ops4j.pax.url.mvn.internal.Connection] : Collecting versions from
> repository [http://repo1.maven.org/maven2/,releases=true,snapshots=false]
> [org.ops4j.pax.url.mvn.internal.Connection] :   Skipping repository
> [http://repo1.maven.org/maven2/,releases=true,snapshots=false],
> reason: Snapshots not enabled
> [org.ops4j.pax.url.mvn.internal.Connection] : Collecting versions from
> repository [
> http://repository.ops4j.org/maven2/,releases=true,snapshots=false]
> [org.ops4j.pax.url.mvn.internal.Connection] :   Skipping repository
> [http://repository.ops4j.org/maven2/,releases=true,snapshots=false],
> reason: Snapshots not enabled
> [org.ops4j.pax.url.mvn.internal.Connection] : Collecting versions from
> repository [
> http://repository.springsource.com/maven/bundles/release/,releases=true,snapshots=false
> ]
> [org.ops4j.pax.url.mvn.internal.Connection] :   Skipping repository
> [
> http://repository.springsource.com/maven/bundles/release/,releases=true,snapshots=false
> ],
> reason: Snapshots not enabled
> [org.ops4j.pax.url.mvn.internal.Connection] : Collecting versions from
> repository [
> http://repository.springsource.com/maven/bundles/external/,releases=true,snapshots=false
> ]
> [org.ops4j.pax.url.mvn.internal.Connection] :   Skipping repository
> [
> http://repository.springsource.com/maven/bundles/external/,releases=true,snapshots=false
> ],
> reason: Snapshots not enabled
> [org.ops4j.pax.url.mvn.internal.Connection] :   Could not download
> [Version [0.4.0-incubating-SNAPSHOT] from URL
>
> [file:/home/jenkins/.m2/repository/org/apache/provisionr/provisionr-assembly/0.4.0-incubating-SNAPSHOT/provisionr-assembly-0.4.0-incubating-SNAPSHOT.tar.gz]]
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.394
> sec <<< FAILURE!
>
> testAllFeaturesStartAsExpected:CustomKarafDistributionTest.testAllFeaturesStartAsExpected:KarafTestContainer{mvn:org.apache.provisionr/provisionr-assembly/0.4.0-incubating-SNAPSHOT/tar.gz}(org.apache.provisionr.karaf.CustomKarafDistributionTest)
>  Time elapsed: 0.089 sec  <<< ERROR!
> java.lang.RuntimeException: URL
>
> [mvn:org.apache.provisionr/provisionr-assembly/0.4.0-incubating-SNAPSHOT/tar.gz]
> could not be resolved.
>         at
> org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:195)
>         at
> org.ops4j.pax.url.mvn.internal.AetherBridgeConnection.getInputStream(AetherBridgeConnection.java:68)
>         at java.net.URL.openStream(URL.java:1010)
>         at
> org.apache.karaf.tooling.exam.container.internal.KarafTestContainer.extractTarGzDistribution(KarafTestContainer.java:509)
>         at
> org.apache.karaf.tooling.exam.container.internal.KarafTestContainer.extractKarafDistribution(KarafTestContainer.java:499)
>         at
> org.apache.karaf.tooling.exam.container.internal.KarafTestContainer.start(KarafTestContainer.java:118)
>         at
> org.ops4j.pax.exam.spi.reactors.AllConfinedStagedReactor.invoke(AllConfinedStagedReactor.java:67)
>         at
> org.ops4j.pax.exam.junit.JUnit4TestRunner$2.evaluate(JUnit4TestRunner.java:285)
>         at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
>         at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
>         at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
>         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
>         at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
>         at
> org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
>         at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
>         at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
>         at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
>         at
> org.ops4j.pax.exam.junit.JUnit4TestRunner.run(JUnit4TestRunner.java:94)
>         at
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
>         at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
>         at
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208)
>         at
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:158)
>         at
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
>         at
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
>         at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95)
>
>
> Results :
>
> Tests in error:
>    ? Runtime URL
> [mvn:org.apache.provisionr/provisionr-assembly/0.4.0-incubating...
>
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> [ERROR] There are test failures.
> Please refer to
>
> /home/jenkins/jenkins-slave/workspace/provisionr-master/karaf/assembly-tests/target/surefire-reports
> for the individual test results.
>
>
> -- A
>



-- 
*Ioannis Canellos*
*

**
Blog: http://iocanel.blogspot.com
**
Twitter: iocanel
*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message