Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse SmartHome » ESH build issues
ESH build issues [message #1413765] Fri, 29 August 2014 11:17 Go to next message
Markus Rathgeb is currently offline Markus RathgebFriend
Messages: 105
Registered: August 2014
Senior Member

Hello!

Tried to build the current master of ESH.

This fails on "Eclipse SmartHome Thing Tests"

<pre>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.eclipse.smarthome.core.thing.binding.ThingFactoryTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.355 sec
Running org.eclipse.smarthome.core.thing.binding.BindingBaseClassesOSGiTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.192 sec
Running org.eclipse.smarthome.core.thing.factory.ManagedThingProviderOSGiTest
Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.112 sec <<< FAILURE!
Running org.eclipse.smarthome.core.thing.link.ItemChannelLinkOSGiTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 sec
Running org.eclipse.smarthome.core.thing.internal.ThingManagerOSGiTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.174 sec
Running org.eclipse.smarthome.core.thing.util.ThingHelperTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
</pre>

The issue category is disabled on github, so I hope, here is the correct place to report.

[Updated on: Fri, 29 August 2014 11:23]

Report message to a moderator

Re: ESH issues [message #1413768 is a reply to message #1413765] Fri, 29 August 2014 11:23 Go to previous messageGo to next message
Kai Kreuzer is currently offline Kai KreuzerFriend
Messages: 673
Registered: December 2011
Senior Member
Thanks for the report - yes, you are correct here!
The latest merged PR indeed causes some tests to fail, it is the same on the official build right now: https://hudson.eclipse.org/smarthome/job/SmartHomeDistribution/
I am investigating it and will fix it shortly.

Best regards,
Kai
Re: ESH issues [message #1413793 is a reply to message #1413768] Fri, 29 August 2014 12:41 Go to previous messageGo to next message
Markus Rathgeb is currently offline Markus RathgebFriend
Messages: 105
Registered: August 2014
Senior Member

Have to remove stuff from the quote, because of forum rules ("You can only use links to eclipse.org sites while you have fewer than 5 messages.").

Don't know if this is related to:

[INFO] Computing target platform for MavenProject: org.eclipse.smarthome.test:org.eclipse.smarthome.test:0.7.0-SNAPSHOT @ /home/rathgeb/workspace/smarthome/bundles/test/org.eclipse.smarthome.test/pom.xml
[DEBUG] Using execution environment 'JavaSE-1.7' configured in Bundle-RequiredExecutionEnvironment
[DEBUG] Adding target definition file "/home/rathgeb/workspace/smarthome/targetplatform/smarthome.target"
[DEBUG] Resolving target definition content...

...

[ERROR] Internal error: java.lang.RuntimeException: Failed to resolve target definition /home/rathgeb/workspace/smarthome/targetplatform/smarthome.target: Could not find "org.jupnp.feature.feature.group/2.0.0.201408181223" in the repositories of the current location -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Failed to resolve target definition /home/rathgeb/workspace/smarthome/targetplatform/smarthome.target
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:164)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: java.lang.RuntimeException: Failed to resolve target definition /home/rathgeb/workspace/smarthome/targetplatform/smarthome.target
        at org.eclipse.tycho.p2.target.TargetDefinitionResolver.resolveContent(TargetDefinitionResolver.java:85)
        at org.eclipse.tycho.p2.target.TargetDefinitionResolverService.resolveFromArguments(TargetDefinitionResolverService.java:65)
        at org.eclipse.tycho.p2.target.TargetDefinitionResolverService.getTargetDefinitionContent(TargetDefinitionResolverService.java:55)
        at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.resolveTargetDefinitions(TargetPlatformFactoryImpl.java:210)
        at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:144)
        at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:117)
        at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:1)
        at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.computeTargetPlatform(P2TargetPlatformResolver.java:214)
        at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:100)
        at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:75)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:271)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
        ... 11 more
Caused by: org.eclipse.tycho.p2.target.facade.TargetDefinitionResolutionException: Could not find "org.jupnp.feature.feature.group/2.0.0.201408181223" in the repositories of the current location
        at org.eclipse.tycho.p2.target.TargetDefinitionResolver.getUnitInstance(TargetDefinitionResolver.java:214)
        at org.eclipse.tycho.p2.target.TargetDefinitionResolver.resolveContentWithExceptions(TargetDefinitionResolver.java:128)
        at org.eclipse.tycho.p2.target.TargetDefinitionResolver.resolveContent(TargetDefinitionResolver.java:80)
        ... 22 more
[ERROR] 
[ERROR] 


The repository should be (I have to malform it a bit, see above):
http: //www.openhab.org/jupnp/update-site

[Updated on: Fri, 29 August 2014 12:44]

Report message to a moderator

Re: ESH issues [message #1413960 is a reply to message #1413793] Fri, 29 August 2014 21:41 Go to previous message
Kai Kreuzer is currently offline Kai KreuzerFriend
Messages: 673
Registered: December 2011
Senior Member
No, this was not related. I have meanwhile fixed all issues and the build should be green again - still waiting for the official Hudson build to confirm this.
Previous Topic:File system hierarchy
Next Topic:Not able to setup smartHome from sources
Goto Forum:
  


Current Time: Fri Apr 26 08:10:53 GMT 2024

Powered by FUDForum. Page generated in 0.03343 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top