That's it. I am using private local repo on Hudson over Hudson' job

-D

On Wednesday, August 29, 2012, Andreas Pieber wrote:

> AHHH ok, hudson changes the game a little bit; do you use the same .m2
> repo for deploying your repositories as is the default system repo?
> The "problem" here is paxexam-karaf. While your artifacts are deployed
> into repo A pax-url tries to load the features.xml from your default
> repo (~/.m2). Basically the solution is adding the alternative repo
> used by hudson to pax-url, but I'm not sure how to handle this in a
> general enough case. Independently, we'll need to give this a shot
> anyhow once we let the itests run at our jenkins servers. I think
> building an assembly and include the required files before hand should
> provide a quite general solution here...
>
> Kind regards,
> Andreas
>
> On Wed, Aug 29, 2012 at 11:46 AM, Dan Tran <[email protected]<javascript:;>>
> wrote:
> > not sure what is going on here,  the tests are OK on my centos 6.3.x (
> > openjdk 7) and centos 5.5x( oracle java 6 ).  On the same centos 5.5
> > box, it fails on my hudson instance.  I will need to trouble shoot it
> >
> > Thanks the quick support
> >
> > -Dan
> >
> > On Wed, Aug 29, 2012 at 2:39 AM, Achim Nierbeck 
> > <[email protected]<javascript:;>>
> wrote:
> >> What kind of Java are you using on the centOs? Is it a OpenJDK or the
> >> Oracle one?
> >> Cause I've seen a couple of issues with the OpenJDK one but not with
> >> the Oracle one which should be the same as on Windows.
> >>
> >> regards, Achim
> >>
> >> 2012/8/29 Dan Tran <[email protected] <javascript:;>>:
> >>> IT test passes on my windows 7, but fails on my centos 5.5+ with java
> >>> 6, and java 7 build
> >>>
> >>> -D
> >>>
> >>> On Wed, Aug 29, 2012 at 2:14 AM, Dan Tran 
> >>> <[email protected]<javascript:;>>
> wrote:
> >>>> Thanks for the quick fixed,   my final IT test fail, how about yours?
> >>>>
> >>>> Running org.apache.karaf.webconsole.itest.FeaturesIntegrationTest
> >>>> 0    [main] INFO  org.ops4j.pax.exam.spi.DefaultExamSystem  - Pax Exam
> >>>> System (Version: 2.3.0) created.
> >>>> 4884 [main] INFO
> >>>> org.openengsb.labs.paxexam.karaf.container.internal.KarafTestContainer
> >>>>  - Wait for test container to finish its initialization [
> >>>> RelativeTimeout value = 180000 ]
> >>>> 4885 [main] INFO
> >>>> org.ops4j.pax.exam.rbc.client.RemoteBundleContextClient  - Waiting for
> >>>> remote bundle context.. on 21413 name:
> >>>> 046677ed-8ad0-4629-b542-dec3d7cc58e2 timout: [ RelativeTimeout value =
> >>>> 180000 ]
> >>>> 2012-08-29 02:12:29,482 | WARN  | JMX OSGi Agent   | core
> >>>>                | 40 - org.apache.aries.jmx.core - 0.3.1 | There are no
> >>>> MBean servers registred, can't register MBeans
> >>>> 2012-08-29 02:12:29,716 | WARN  | rint Extender: 2 |
> >>>> KarArtifactInstaller             | 33 - org.apache.karaf.deployer.kar
> >>>> - 2.2.8 | Unable to create directory for Karaf Archive timestamps.
> >>>> Results may vary...
> >>>>         __ __                  ____
> >>>>        / //_/____ __________ _/ __/
> >>>>       / ,<  / __ `/ ___/ __ `/ /_
> >>>>      / /| |/ /_/ / /  / /_/ / __/
> >>>>     /_/ |_|\__,_/_/   \__,_/_/
> >>>>
> >>>>   Apache Karaf (2.2.8)
> >>>>
> >>>> Hit '<tab>' for a list of available commands
> >>>> and '[cmd] --help' for help on a specific command.
> >>>> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.
> >>>>
> >>>> karaf@root> 11603 [main] ERROR
> >>>> org.ops4j.pax.exam.junit.JUnit4TestRunner  - Exception
> >>>> org.ops4j.pax.exam.TestContainerException:
> >>>>
> [shouldInstallAllFeatures(org.apache.karaf.webconsole.itest.FeaturesIntegrationTest):
> >>>> URL
> [mvn:org.apache.karaf.webconsole/apache-karaf-webconsole/0.3.0-SNAPSHOT/xml/features]
> >>>> could not be resolved.]
> >>>>         at
> org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.invokeViaJUnit(JUnitProbeInvoker.java:112)
> >>>>         at
> org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.findAndInvoke(JUnitProbeInvoker.java:89)
> >>>>         at
> org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.call(JUnitProbeInvoker.java:72)
> >>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>>>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> >>>>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >>>>         at java.lang.reflect.Method.invoke(Method.java:601)
> >>>>         at
> org.ops4j.pax.exam.rbc.internal.RemoteBundleContextImpl.remoteCall(RemoteBundleContextImpl.java:86)
> >>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>>>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> >>>>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >>>>         at java.lang.reflect.Method.invoke(Method.java:601)
> >>>>         at
> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
> >>>>         at sun.rmi.transport.Transport$1.run(Transport.java:177)
> >>>>         at sun.rmi.transport.Transport$1.run(Transport.java:174)
> >>>>         at java.security.AccessController.doPrivileged(Native Method)
> >>>>         at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
> >>>>         at
> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
> >>>>         at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
> >>>>         at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
> >>>>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> >>>>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> >>>>         at java.lang.Thread.run(Thread.java:722)
> >>>> Caused by: java.lang.RuntimeException: URL
> >>>>
> [mvn:org.apache.karaf.webconsole/apache-karaf-webconsole/0.3.0-SNAPSHOT/xml/features]
> >>>> could not be resolved.
> >>>>         at
> org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:195)
> >>>>         at
> org.apache.karaf.features.internal.FeatureValidationUtil.validate(FeatureValidationUtil.java:47)
> >>>>         at
> org.apache.karaf.features.internal.FeaturesServiceImpl.validateRepository(FeaturesServiceImpl.java:199)
> >>>>         at
> org.apache.karaf.features.internal.FeaturesServiceImpl.internalAddRepository(FeaturesServiceImpl.java:210)
> >>>>         at
> org.apache.karaf.features.internal.FeaturesServiceImpl.addRepository(FeaturesServiceImpl.java:204)
> >>>>         at
> org.apache.karaf.webconsole.itest.FeaturesIntegrationTest.shouldInstallAllFeatures(FeaturesIntegrationTest.java:78)
> >>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>>>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> >>>>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >>>>         at java.lang.reflect.Method.invoke(Method.java:601)
> >>>>         at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> >>>>         at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> >>>>         at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> >>>>         at
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> >>>>         at
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
> >>>>         at
> org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
> >>>>         at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
> >>>>         at
> org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:58)
> >>>>         at
> org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:32)
> >>>>         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.junit.runner.JUnitCore.run(JUnitCore.java:157)
> >>>>         at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
> >>>>         at
> org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.invokeViaJUnit(JUnitProbeInvoker.java:108)
> >>>>         ... 22 more
> >>>> 11627 [main] WARN  org.ops4j.pax.exam.spi.DefaultExamSystem  - Option
> >>>> org.ops4j.pax.exam.options.FrameworkStartLevelOption has not been
> >>>> recognized.
> >>>> 11627 [main] WARN  org.ops4j.pax.exam.spi.DefaultExamSystem  - Option
> >>>>
> org.openengsb.labs.paxexam.karaf.options.KarafDistributionConfigurationOption
> >>>> has not been recognized.
> >>>> 11724 [main] WARN  org.ops4j.pax.exam.spi.DefaultExamSystem  - Option
> >>>> org.ops4j.pax.exam.options.FrameworkStartLevelOption has not been
> >>>> recognized.
> >>>> 11724 [main] WARN  org.ops4j.pax.exam.spi.DefaultExamSystem  - Option
> >>>>
> org.openengsb.labs.paxexam.karaf.options.KarafDistributionConfigurationOption
> >>>> has not been recognized.
> >>>> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 11.852
> >>>> sec <<< FAILURE!
> >>>> Results :
> >>>>
> >>>> Failed tests:
> >>>>
> shouldInstallAllFeatures:FeaturesIntegrationTest.shouldInstallAllFeatures:KarafTestContainer{mvn:org.apache.karaf\/apache-karaf\/2.2.8\/zip}(org.apache.karaf.webconsole.itest.FeaturesIntegrationTest):
> >>>> URL
> [mvn:org.apache.karaf.webconsole/apache-karaf-webconsole/0.3.0-SNAPSHOT/xml/features]
> >>>> could not be resolved.
> >>>>
> >>>> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
> >>>>
> >>>>
> >>>>
> >>>> On Wed, Aug 29, 2012 at 2:11 AM, Andreas Pieber 
> >>>> <[email protected]<javascript:;>>
> wrote:
> >>>>> done
> >>>>>
> >>>>> Kind regards,
> >>>>> Andreas
> >>>>>
> >>>>> On Wed, Aug 29, 2012 at 10:57 AM, Andreas Pieber 
> >>>>> <[email protected]<javascript:;>>
> wrote:
> >>>>>> the final version just had reached m2 central. I'll update the
> >>>>>> dependency. Give me a sec
> >>>>>>
> >>>>>> Kind regards,
> >>>>>> Andreas
> >>>>>>
> >>>>>> On Wed, Aug 29, 2012 at 10:53 AM, Dan Tran 
> >>>>>> <[email protected]<javascript:;>>
> wrote:
> >>>>>>>
> org.ops4j.pax.wicket:org.ops4j.pax.wicket.service:jar:1.1.0-SNAPSHOT
> >>>>>>> is missing at sonatype-snapshot, Can we have this fixed quick?
> >>>>>>>
> >>>>>>> here is detail build error
> >>>>>>>
> >>>>>>> [ERROR] Failed to execute goal on project
> >>>>>>> org.apache.karaf.webconsole.core: Could not resolve dependencies
> for
> >>>>>>> project
> org.apache.karaf.webconsole:org.apache.karaf.webconsole.core:bundle:0.3.0-SNAPSHO
> >>>>>>> T: The following artifacts could not be resolved:
> >>>>>>>
> org.ops4j.pax.wicket:org.ops4j.pax.wicket.service:jar:1.1.0-SNAPSHOT,
> >>>>>>> org.ops4j.pax.wicket:org.ops4j.pax.wicket.test:jar:1.1.0-SNAPSHOT:
> >>>>>>> Could not fin
> >>>>>>> d artifact
> org.ops4j.pax.wicket:org.ops4j.pax.wicket.service:jar:1.1.0-SNAPSHOT
> >>>>>>> in nexus (
> http://maven.eng.loglogic.com:8081/nexus/content/groups/public/)
> >>>>>>> -> [Help 1]
> >>>>>>>
> >>>>>>> A deploy of missing snapshot dependency would be sufficient
> >>>>>>>
> >>>>>>> Big thanks
> >>>>>>>
> >>>>>>> -D
> >>
> >>
> >>
> >> --
> >>
> >> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> >> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
> >> Committer & Project Lead
> >> OPS4J Pax for Vaadin
> >> <http://team.ops4j.org/wiki/display/PAXVAADIN/Home> Commiter & Project
> >> Lead
> >> blog <http://notizblog.nierbeck.de/>
>

Reply via email to