eclipse-kura / kura

Eclipse Kura™ is a versatile framework to supercharge your edge devices, streamlining the process of configuring your gateway, connecting sensors, and IoT devices to seamlessly collect, process, and send data to the cloud.
https://eclipse.dev/kura/
Eclipse Public License 2.0
500 stars 309 forks source link

Problem in building the Kura Project #1605

Closed OrangeAlex closed 7 years ago

OrangeAlex commented 7 years ago

Hi, i am try to building Kura via the Oomph installer under the Linux (Ubuntu14.04), after finishing downloading the Eclispse IDE ,and project resource downloading , when the IDE (Eclipse Neon 3)download the maven package to build the project , there is a problem occurs as follows : [INFO] Scanning for projects... [INFO] Computing target platform for MavenProject: org.eclipse.kura:org.eclipse.kura.api:1.3.0-SNAPSHOT @ /home/iot/iot-kura-develop/git/kura/kura/org.eclipse.kura.api/pom.xml [INFO] Adding repository file://home/iot/iot-kura-develop/git/kura/kura/org.eclipse.kura.api/../target-definition/equinox_3.11.1/repository [ERROR] Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'p2-repo-equinox_3.11.1' from location file:////home/iot/iot-kura-develop/git/kura/kura/org.eclipse.kura.api/../target-definition/equinox_3.11.1/repository/: URI has an authority component -> [Help 1] org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'p2-repo-equinox_3.11.1' from location file:////home/iot/iot-kura-develop/git/kura/kura/org.eclipse.kura.api/../target-definition/equinox_3.11.1/repository/ at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:121)

according to the information, i deduce that when the IDE scan the file /home/iot/iot-kura-develop/git/kura/kura/org.eclipse.kura.api/pom.xml, then do the operation that adding the repository at path: //home/iot/iot-kura-develop/git/kura/kura/org.eclipse.kura.api/../target-definition/equinox_3.11.1/repository,but the path url became the ////home/iot/iot-kura-develop/git/kura/kura/org.eclipse.kura.api/../target-definition/equinox_3.11.1/repository/, so it made a mistake , but i don not know how to fix this issue, do you have good idea and suggestion?

Thanks a lot Best Regards, Alex.wang

markoer commented 7 years ago

Could you check if:

In any case it would probably be useful if you posted the full installation log since after Eclipse started i.e. starting from JRE for JavaSE-1.8=... step.

dwoodard1 commented 7 years ago

@OrangeAlex Can you please provide the output of mvn -version

OrangeAlex commented 7 years ago

@dwoodard1 the output of mvn -version : iot@iot:~/iot-kura-develop/git/kura$ mvn -version Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-04T03:39:06+08:00) Maven home: /opt/mvn/apache-maven-3.5.0 Java version: 1.8.0_144, vendor: Oracle Corporation Java home: /usr/lib/jvm/jdk1.8.0_144/jre Default locale: zh_CN, platform encoding: UTF-8 OS name: "linux", version: "4.2.0-27-generic", arch: "amd64", family: "unix"

OrangeAlex commented 7 years ago

@markoer when i run the command find . -name pom.xml | xargs grep under the path /home/iot/iot-kura-develop/git/kura/kura, nothing return. the compile log of kura [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO]

[INFO] target-platform .................................... SUCCESS [ 1.187 s]

[INFO] Camel :: Core :: Import sun.misc ................... SUCCESS [ 1.588 s]

[INFO] System extension fragment for 'sun.misc' ........... SUCCESS [ 0.831 s]

[INFO] com.codeminders.hidapi-parent ...................... SUCCESS [ 0.037 s]

[INFO] Java API for working with Human Interface USB Devices (HID) SUCCESS [ 7.196 s]

[INFO] Native libraries for 'com.codeminders.hidapi' on ARM 6 HF SUCCESS [ 0.667 s]

[INFO] Native libraries for 'com.codeminders.hidapi' on x86_64 SUCCESS [ 0.337 s]

[INFO] usb4java ........................................... SUCCESS [ 1.505 s] [INFO] usb4java-javax ..................................... SUCCESS [ 0.406 s] [INFO] org.moka7 .......................................... SUCCESS [ 1.096 s] [INFO] org.eclipse.soda.dk.comm-parent .................... SUCCESS [ 0.042 s] [INFO] Serial Device based on SODA DK comm ................ SUCCESS [ 0.510 s] [INFO] Native libraries for 'org.eclipse.soda.dk.comm' on ARM 6 HF SUCCESS [ 0.411 s] [INFO] Native libraries for 'org.eclipse.soda.dk.comm' on x86_64 SUCCESS [ 0.417 s] [INFO] jdk.dio-parent ..................................... SUCCESS [ 0.024 s] [INFO] jdk.dio ............................................ SUCCESS [ 0.841 s] [INFO] jdk.dio.armv6hf .................................... SUCCESS [ 0.174 s] [INFO] jdk.dio.x86_64 ..................................... SUCCESS [ 0.220 s] [INFO] gwt-user ........................................... SUCCESS [ 4.799 s] [INFO] moquette-broker .................................... SUCCESS [ 4.403 s] [INFO] p2-repo-common ..................................... FAILURE [ 1.108 s] [INFO] p2-repo-equinox_3.11.1 ............................. SKIPPED [INFO] p2-repo-tests-deps ................................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 29.337 s [INFO] Finished at: 2017-08-18T10:28:44+08:00

[INFO] Final Memory: 47M/457M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.9:copy (copy-bundles-for-publishing) on project p2-repo-common: Unable to find artifact. Failure to find org.tigris:org.tigris.mtoolkit.iagent.rpc:jar:3.0.0.20110411-0918 in http://maven.aliyun.com/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced [ERROR] [ERROR] Try downloading the file manually from the project website. [ERROR] [ERROR] Then, install it using the command: [ERROR] mvn install:install-file -DgroupId=org.tigris -DartifactId=org.tigris.mtoolkit.iagent.rpc -Dversion=3.0.0.20110411-0918 -Dpackaging=jar -Dfile=/path/to/file [ERROR] [ERROR] Alternatively, if you host your own repository you can deploy the file there: [ERROR] mvn deploy:deploy-file -DgroupId=org.tigris -DartifactId=org.tigris.mtoolkit.iagent.rpc -Dversion=3.0.0.20110411-0918 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [ERROR] [ERROR] [ERROR] org.tigris:org.tigris.mtoolkit.iagent.rpc:jar:3.0.0.20110411-0918 [ERROR] [ERROR] from the specified remote repositories: [ERROR] nexus-public-snapshots (http://maven.aliyun.com/nexus/content/repositories/snapshots/, releases=false, snapshots=true), [ERROR] nexus (http://maven.aliyun.com/nexus/content/groups/public/, releases=true, snapshots=true), [ERROR] wso2maven (http://maven.wso2.org/nexus/content/groups/public, releases=true, snapshots=true) [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :p2-repo-common

Performing Targlets Modular Target (Eclipse Kura + Eclipse Platform), activate Repository http://download.eclipse.org/eclipse/updates/4.6 Offline = false Mirrors = true Sending WorkspaceUpdateFinishedEvent[source=Modular Target] to PomArtifactUpdater Sending WorkspaceUpdateFinishedEvent[source=Modular Target] to PomModulesUpdater Sending WorkspaceUpdateFinishedEvent[source=Modular Target] to TargetDefinitionGenerator Touching resource '/org.eclipse.kura.core.cloud.test'. Performing Maven Import Scanning folders /home/iot/iot-kura-develop/git/kura/kura Touching resource '/org.eclipse.kura.example.camel.aggregation'. Touching resource '/org.eclipse.kura.example.publisher'. Touching resource '/org.eclipse.kura.linux.watchdog'. Touching resource '/org.eclipse.kura.core.status'. Touching resource '/org.eclipse.kura.example.gpio'. Touching resource '/org.eclipse.kura.example.can'. Touching resource '/org.eclipse.kura.raspberrypi.sensehat.example'. Scanning folders /home/iot/iot-kura-develop/git/kura/karaf Scanning folders /home/iot/iot-kura-develop/git/kura/kura/examples Touching resource '/org.eclipse.kura.driver.helper.provider'. Scanning folders /home/iot/iot-kura-develop/git/kura/kura/features Touching resource '/org.eclipse.kura.driver.s7plc.localization'. Touching resource '/org.eclipse.kura.util'. Touching resource '/org.eclipse.kura.core.deployment.test'. Touching resource '/org.eclipse.kura.camel.xml'. Touching resource '/org.eclipse.kura.core.comm.test'. Touching resource '/org.eclipse.kura.emulator.usb'. Touching resource '/org.eclipse.kura.test'. Touching resource '/org.eclipse.kura.example.camel.quickstart'. Touching resource '/org.eclipse.kura.core.crypto'. Touching resource '/org.eclipse.kura.wire.provider.test'. Touching resource '/org.eclipse.kura.core.comm'. Touching resource '/org.eclipse.kura.stress.test'. Touching resource '/org.eclipse.kura.core.configuration.test'. Touching resource '/org.eclipse.kura.example.ble.tisensortag'. Touching resource '/org.eclipse.kura.protocol.modbus'. Touching resource '/org.eclipse.kura.core.deployment'. Touching resource '/org.eclipse.kura.api'. Touching resource '/org.eclipse.kura.linux.usb.x86_64'. Touching resource '/org.eclipse.kura.linux.bluetooth'. Touching resource '/org.eclipse.kura.asset.helper.provider'. Touching resource '/org.eclipse.kura.deployment.agent'. Touching resource '/org.eclipse.kura.core.test'. Touching resource '/org.eclipse.kura.asset.cloudlet.provider'. Touching resource '/org.eclipse.kura.protocol.modbus.test'. Touching resource '/org.eclipse.kura.emulator.position'. Touching resource '/org.eclipse.kura.core.cloud'. Touching resource '/org.eclipse.kura.demo.modbus'. Touching resource '/org.eclipse.kura.emulator'. Touching resource '/org.eclipse.kura.docs'. Touching resource '/org.eclipse.kura.core.ssl.test'. Touching resource '/org.eclipse.kura.wire.provider'. Touching resource '/org.eclipse.kura.example.beacon.scanner'. Touching resource '/org.eclipse.kura.localization.resources'. Performing Launch setups/launchers/build-full.launch Execute Debug Command Touching resource '/org.eclipse.kura.core.log'. Touching resource '/org.eclipse.kura.emulator.clock'. Touching resource '/org.eclipse.kura.emulator.watchdog'. Touching resource '/org.eclipse.kura.core.db.test'. Touching resource '/org.eclipse.kura.driver.opcua.localization'. Touching resource '/org.eclipse.kura.example.serial.publisher'. Touching resource '/org.eclipse.kura.example.camel.publisher'. Touching resource '/org.eclipse.kura.wire.script.filter.localization'. Touching resource '/org.eclipse.kura.linux.position'. Touching resource '/org.eclipse.kura.wire.helper.provider'. Touching resource '/org.eclipse.kura.camel.test'. Touching resource '/org.eclipse.kura.wire.component.provider'. Touching resource '/org.eclipse.kura.core.certificates'. Touching resource '/org.eclipse.kura.example.beacon'. Touching resource '/org.eclipse.kura.driver.s7plc.provider'. Touching resource '/org.eclipse.kura.core.crypto.test'. Touching resource '/org.eclipse.kura.core.system.test'. Touching resource '/org.eclipse.kura.core'. Touching resource '/org.eclipse.kura.driver.opcua.provider'. Touching resource '/log4j.test.configuration'. Touching resource '/org.eclipse.kura.core.status.test'. Touching resource '/org.eclipse.kura.net.admin'. Touching resource '/org.eclipse.kura.linux.position.test'. Touching resource '/org.eclipse.kura.linux.usb'. Touching resource '/org.eclipse.kura.linux.usb.armv6hf'. Touching resource '/org.eclipse.kura.emulator.net'. Touching resource '/org.eclipse.kura.camel.cloud.factory'. Touching resource '/org.eclipse.kura.linux.net'. Touching resource '/org.eclipse.kura.wire.h2db.component.provider.test'. Touching resource '/org.eclipse.kura.asset.provider'. Touching resource '/org.eclipse.kura.core.util.test'. Touching resource '/org.eclipse.kura.driver.block.test'. Touching resource '/org.eclipse.kura.linux.clock'. Touching resource '/org.eclipse.kura.localization'. Touching resource '/org.eclipse.kura.linux.command'. Touching resource '/org.eclipse.kura.net.admin.test'. Touching resource '/org.eclipse.kura.example.project'. Execute Debug Command Touching resource '/org.eclipse.kura.internal.wire.test'. Touching resource '/org.eclipse.kura.core.certificates.test'. Touching resource '/org.eclipse.kura.web2'. Touching resource '/org.eclipse.kura.camel'. Touching resource '/org.eclipse.kura.linux.gpio'. Touching resource '/org.eclipse.kura.core.testutil'. Touching resource '/org.eclipse.kura.cloud.test'. Touching resource '/org.eclipse.kura.raspberrypi.sensehat'. Touching resource '/org.eclipse.kura.wire.h2db.component.provider'. Touching resource '/org.eclipse.kura.core.net'. Touching resource '/org.eclipse.kura.emulator.gpio'. Touching resource '/org.eclipse.kura.demo.heater'. Touching resource '/org.eclipse.kura.wire.component.provider.test'. Touching resource '/org.eclipse.kura.wire.script.filter.provider'. Touching resource '/org.eclipse.kura.driver.block'. Touching resource '/org.eclipse.kura.linux.net.test'. Touching resource '/org.eclipse.kura.core.configuration'. Touching resource '/org.eclipse.kura.stress'. Touching resource '/org.eclipse.kura.protocol.can'. Touching resource '/org.eclipse.kura.core.net.test'. [INFO] Scanning for projects...

[INFO] Computing target platform for MavenProject: org.eclipse.kura:org.eclipse.kura.api:1.3.0-SNAPSHOT @ /home/iot/iot-kura-develop/git/kura/kura/org.eclipse.kura.api/pom.xml

[INFO] Adding repository file://home/iot/iot-kura-develop/git/kura/kura/org.eclipse.kura.api/../target-definition/equinox_3.11.1/repository

[ERROR] Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'p2-repo-equinox_3.11.1' from location file:////home/iot/iot-kura-develop/git/kura/kura/org.eclipse.kura.api/../target-definition/equinox_3.11.1/repository/: URI has an authority component -> [Help 1] org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'p2-repo-equinox_3.11.1' from location file:////home/iot/iot-kura-develop/git/kura/kura/org.eclipse.kura.api/../target-definition/equinox_3.11.1/repository/ at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:121) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) 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:498) 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 load p2 repository with ID 'p2-repo-equinox_3.11.1' from location file:////home/iot/iot-kura-develop/git/kura/kura/org.eclipse.kura.api/../target-definition/equinox_3.11.1/repository/ at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.loadMetadataRepository(TargetPlatformFactoryImpl.java:302) at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.gatherExternalInstallableUnits(TargetPlatformFactoryImpl.java:270) at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:176) at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:128) at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:1) at org.eclipse.tycho.p2.manager.ReactorRepositoryManagerImpl.computePreliminaryTargetPlatform(ReactorRepositoryManagerImpl.java:84) at org.eclipse.tycho.p2.resolver.P2DependencyResolver.computePreliminaryTargetPlatform(P2DependencyResolver.java:223) at org.eclipse.tycho.core.resolver.DefaultTychoResolver.resolveProject(DefaultTychoResolver.java:109) at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:95) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:266) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) ... 11 more

Caused by: org.eclipse.equinox.p2.core.ProvisionException: URI has an authority component at org.eclipse.equinox.internal.p2.engine.ProfileMetadataRepository.(ProfileMetadataRepository.java:50) at org.eclipse.equinox.internal.p2.engine.ProfileMetadataRepositoryFactory.load(ProfileMetadataRepositoryFactory.java:36)

at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:57)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:768)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:668)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
at org.eclipse.tycho.p2.remote.RemoteMetadataRepositoryManager.loadRepository(RemoteMetadataRepositoryManager.java:61)
at org.eclipse.tycho.p2.remote.RemoteMetadataRepositoryManager.loadRepository(RemoteMetadataRepositoryManager.java:53)
at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.loadMetadataRepository(TargetPlatformFactoryImpl.java:298)
... 22 more

Caused by: java.lang.IllegalArgumentException: URI has an authority component at java.io.File.(File.java:423) at org.eclipse.equinox.internal.p2.engine.ProfileMetadataRepository.getProfile(ProfileMetadataRepository.java:173) at org.eclipse.equinox.internal.p2.engine.ProfileMetadataRepository.(ProfileMetadataRepository.java:48) ... 30 more [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException

Refresh resources... Took 61 seconds. Press Finish to close the dialog.

markoer commented 7 years ago

For a while I suspected your locale, but the build worked OK in zh_CN. Could you try modifying the number of slashes in URLs in kura/pom.xml? How do file://${kura.basedir} and file:////${kura.basedir} behave?

OrangeAlex commented 7 years ago

hi markoer, i have already modified the number of slashes in URLs in Kura/pom.xml, i delete a slashes like follow :

default !kura.osgi p2-repo-equinox_3.11.1 p2 file://${kura.basedir}/target-definition/equinox_3.11.1/repository/ equinox kura.osgi equinox p2-repo-equinox_3.11.1 p2 file://${kura.basedir}/target-definition/equinox_3.11.1/repository/ but the build still failed , the failed information as fellows : [INFO] Scanning for projects... [INFO] Computing target platform for MavenProject: org.eclipse.kura:org.eclipse.kura.api:1.3.0-SNAPSHOT @ /home/iot/iot-kura-develop/git/kura/kura/org.eclipse.kura.api/pom.xml [INFO] Adding repository file:/home/iot/iot-kura-develop/git/kura/kura/org.eclipse.kura.api/../target-definition/equinox_3.11.1/repository [ERROR] Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'p2-repo-equinox_3.11.1' from location file:/home/iot/iot-kura-develop/git/kura/kura/org.eclipse.kura.api/../target-definition/equinox_3.11.1/repository/: No repository found at file:/home/iot/iot-kura-develop/git/kura/kura/org.eclipse.kura.api/../target-definition/equinox_3.11.1/repository. -> [Help 1] org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'p2-repo-equinox_3.11.1' from location file:/home/iot/iot-kura-develop/git/kura/kura/org.eclipse.kura.api/../target-definition/equinox_3.11.1/repository/ at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:121) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) 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:498) 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) I check the path , find that, there is no folder named "../target-definition", but in the path "/iot-kura-develop/git/kura/kura/"there is a folder named "target-definition", so Could the path has some problem? i means in the pom.xml, Is the the value of the string "${kura.basedir}"wrong?
markoer commented 7 years ago

OK, so now it looks like the kura part of the build might work. The thing you need to solve now is the build of target-platform that will prepare the repositories for you. As your log states, that failed:

[INFO] p2-repo-common ..................................... FAILURE [ 1.108 s]
[INFO] p2-repo-equinox_3.11.1 ............................. SKIPPED
[INFO] p2-repo-tests-deps ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

You can cd into target-platform/ and run mvn clean install there. If build is successful, you can then cd ../kura/ and run the same command there.

OrangeAlex commented 7 years ago

@markoer when i run the command "mvn clean install", the build failed , according to the log , i deem that some package named "org.tigris:org.tigris.mtoolkit.iagent.rpc:jar:3.0.0.20110411-0918" are not downloaded , how to fix it , in the maven repository, i can not find the maven package showed in the log : [INFO] p2-repo-common ..................................... FAILURE [ 0.888 s] [INFO] p2-repo-equinox_3.11.1 ............................. SKIPPED [INFO] p2-repo-tests-deps ................................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 37.884 s [INFO] Finished at: 2017-08-21T15:51:54+08:00 [INFO] Final Memory: 56M/424M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.9:copy (copy-bundles-for-publishing) on project p2-repo-common: Unable to find artifact.: Failure to find org.tigris:org.tigris.mtoolkit.iagent.rpc:jar:3.0.0.20110411-0918 in http://maven.aliyun.com/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced [ERROR] [ERROR] Try downloading the file manually from the project website. [ERROR] [ERROR] Then, install it using the command: [ERROR] mvn install:install-file -DgroupId=org.tigris -DartifactId=org.tigris.mtoolkit.iagent.rpc -Dversion=3.0.0.20110411-0918 -Dpackaging=jar -Dfile=/path/to/file [ERROR] [ERROR] Alternatively, if you host your own repository you can deploy the file there: [ERROR] mvn deploy:deploy-file -DgroupId=org.tigris -DartifactId=org.tigris.mtoolkit.iagent.rpc -Dversion=3.0.0.20110411-0918 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [ERROR] [ERROR] [ERROR] org.tigris:org.tigris.mtoolkit.iagent.rpc:jar:3.0.0.20110411-0918 [ERROR] [ERROR] from the specified remote repositories: [ERROR] nexus-public-snapshots (http://maven.aliyun.com/nexus/content/repositories/snapshots/, releases=false, snapshots=true), [ERROR] nexus (http://maven.aliyun.com/nexus/content/groups/public/, releases=true, snapshots=true), [ERROR] wso2maven (http://maven.wso2.org/nexus/content/groups/public, releases=true, snapshots=true) [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. How to fixed it ? do you have some suggestion?

markoer commented 7 years ago

It could be that the repo misbehaves for you, so you may download it directly: https://raw.github.com/eurotech/kura_addons/mvn-repo/org/tigris/org.tigris.mtoolkit.iagent.rpc/3.0.0.20110411-0918/org.tigris.mtoolkit.iagent.rpc-3.0.0.20110411-0918.jar

Then install it into the local repo as suggested by maven: mvn install:install-file -DgroupId=org.tigris -DartifactId=org.tigris.mtoolkit.iagent.rpc -Dversion=3.0.0.20110411-0918 -Dpackaging=jar -Dfile=/path/to/file

OrangeAlex commented 7 years ago

@markoer thanks markoer, i donwload the package , and rebuild it , the error i description above is fixed but other problem still exits, the reason is the package i can not download , so could you give me a path or maven repository , i can download all the package from it

OrangeAlex commented 7 years ago

the log shows that the package "com.gwt.user-1.0.100.jar" has not been download , Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.9:copy (copy-bundles-for-publishing) on project p2-repo-common: Unable to find artifact.: Could not find artifact org.eclipse.kura:com.gwt.user:jar:1.0.100 in nexus (http://maven.aliyun.com/nexus/content/groups/public/) [ERROR] [ERROR] Try downloading the file manually from the project website. [ERROR] [ERROR] Then, install it using the command: [ERROR] mvn install:install-file -DgroupId=org.eclipse.kura -DartifactId=com.gwt.user -Dversion=1.0.100 -Dpackaging=jar -Dfile=/path/to/file [ERROR] [ERROR] Alternatively, if you host your own repository you can deploy the file there: [ERROR] mvn deploy:deploy-file -DgroupId=org.eclipse.kura -DartifactId=com.gwt.user -Dversion=1.0.100 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [ERROR] [ERROR] [ERROR] org.eclipse.kura:com.gwt.user:jar:1.0.100 [ERROR] [ERROR] from the specified remote repositories: [ERROR] nexus-public-snapshots (http://maven.aliyun.com/nexus/content/repositories/snapshots/, releases=false, snapshots=true), [ERROR] nexus (http://maven.aliyun.com/nexus/content/groups/public/, releases=true, snapshots=true), [ERROR] wso2maven (http://maven.wso2.org/nexus/content/groups/public, releases=true, snapshots=true) [ERROR] -> [Help 1]

markoer commented 7 years ago

These are the used repositories (from target-platform/pom.xml):

    <repositories>
        <repository>
            <id>kura_addons</id>
            <name>Kura Addons Maven Repository</name>
            <url>https://raw.github.com/eurotech/kura_addons/mvn-repo/</url>
            <snapshots>
                <enabled>true</enabled>
                <updatePolicy>always</updatePolicy>
            </snapshots>
        </repository>
        <repository>
            <id>Eclipse Paho Repo</id>
            <url>https://repo.eclipse.org/content/repositories/paho-releases/</url>
        </repository>
        <repository>
            <id>Kura Releases</id>
            <name>Kura Repository - Releases</name>
            <url>https://repo.eclipse.org/content/repositories/kura-releases/</url>
        </repository>
        <repository>
            <id>Kura Snapshots</id>
            <name>Kura Repository - Snapshots</name>
            <url>https://repo.eclipse.org/content/repositories/kura-snapshots/</url>
        </repository>
    </repositories>

In your case the file is in the Kura Releases repo: https://repo.eclipse.org/content/repositories/kura-releases/org/eclipse/kura/com.gwt.user/1.0.100/com.gwt.user-1.0.100.jar

OrangeAlex commented 7 years ago

@markoer hi markoer, thank you for the URL you list above , but the URL: https://raw.github.com/eurotech/kura_addons/mvn-repo/, i can not access , so i think this repo is the eurotech's private repo, i have no right to access , do you have some idea to fix it ?

markoer commented 7 years ago

You just need to specify the full path to the file to download. If mToolkit worked, the rest should, too. Provided they are hosted in that repo.

OrangeAlex commented 7 years ago

@markoer thank you very much , i can download via the full path, so maybe i must download so many package ~_~

OrangeAlex commented 7 years ago

@markoer i have download the package manually , but there are still problems: [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] target-platform .................................... SUCCESS [ 1.053 s] [INFO] Camel :: Core :: Import sun.misc ................... SUCCESS [ 1.302 s] [INFO] System extension fragment for 'sun.misc' ........... SUCCESS [ 0.545 s] [INFO] com.codeminders.hidapi-parent ...................... SUCCESS [ 0.027 s] [INFO] Java API for working with Human Interface USB Devices (HID) SUCCESS [ 8.545 s] [INFO] Native libraries for 'com.codeminders.hidapi' on ARM 6 HF SUCCESS [ 0.515 s] [INFO] Native libraries for 'com.codeminders.hidapi' on x86_64 SUCCESS [ 0.271 s] [INFO] usb4java ........................................... SUCCESS [ 1.941 s] [INFO] usb4java-javax ..................................... SUCCESS [ 0.318 s] [INFO] org.moka7 .......................................... SUCCESS [ 0.981 s] [INFO] org.eclipse.soda.dk.comm-parent .................... SUCCESS [ 0.027 s] [INFO] Serial Device based on SODA DK comm ................ SUCCESS [ 0.419 s] [INFO] Native libraries for 'org.eclipse.soda.dk.comm' on ARM 6 HF SUCCESS [ 0.332 s] [INFO] Native libraries for 'org.eclipse.soda.dk.comm' on x86_64 SUCCESS [ 0.362 s] [INFO] jdk.dio-parent ..................................... SUCCESS [ 0.035 s] [INFO] jdk.dio ............................................ SUCCESS [ 0.817 s] [INFO] jdk.dio.armv6hf .................................... SUCCESS [ 0.200 s] [INFO] jdk.dio.x86_64 ..................................... SUCCESS [ 0.209 s] [INFO] gwt-user ........................................... SUCCESS [ 5.616 s] [INFO] moquette-broker .................................... SUCCESS [ 4.540 s] [INFO] p2-repo-common ..................................... SUCCESS [ 5.879 s] [INFO] p2-repo-equinox_3.11.1 ............................. FAILURE [02:08 min] [INFO] p2-repo-tests-deps ................................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:43 min [INFO] Finished at: 2017-08-21T19:51:46+08:00 [INFO] Final Memory: 50M/369M [INFO] ------------------------------------------------------------------------ Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (download-equinox) on project p2-repo-equinox_3.11.1:An Ant BuildException has occured: java.net.ConnectException: (Connection timed out) [ERROR] around Ant part ...... @ 5:235 in /home/iot/iot-kura-develop/git/kura/target-platform/p2-repo-equinox_3.11.1/target/antrun/build-main.xml

then i have download the equinox-SDK-Neon.1.zip from the path "https://s3-us-west-2.amazonaws.com/kura-repo/R-Neon.1-201609071200/equinox-SDK-Neon.1.zip manually , and move it to the path /home/iot/iot-kura-develop/git/kura/target-platform/p2-repo-equinox_3.11.1/target/download, but it can not useful to fix the problem so how to fix this problem, do you have some good idea?or suggestion?

markoer commented 7 years ago

I assume download took some time, so you might also want to store the .zip somewhere outside target/. Then rename it to equinox.zip and comment out the following line in target-platform/p2-repo-equinox_3.11.1/pom.xml: <get src="${equinox.download.url}" dest="${project.build.directory}/download/equinox.zip" usetimestamp="true" /> Run the build again.

OrangeAlex commented 7 years ago

@markoer hi markoer, i have download the equinox-SDK-Neon.1.zip from the path "https://s3-us-west-2.amazonaws.com/kura-repo/R-Neon.1-201609071200/equinox-SDK-Neon.1.zip manually , and move it to the path /home/iot/iot-kura-develop/git/kura/target-platform/p2-repo-equinox_3.11.1/target/download, and rename it as "equinox.zip", then i comment out the following line in target-platform/p2-repo-equinox_3.11.1/pom.xml: and build again ,but there are still some problem, the log show me that equinox.zip don not exist, I browse the target-platform/p2-repo-equinox_3.11.1/pom.xml, found that before i unzip the equinox.zip , the system will mkdir a folder named "download", so is it possible that the new empty folder replace the folder contained the equinox.zip? How to deal with this problem ?

OrangeAlex commented 7 years ago

@the log detail is : [INFO] p2-repo-equinox_3.11.1 ............................. FAILURE [ 0.861 s] [INFO] p2-repo-tests-deps ................................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 39.018 s [INFO] Finished at: 2017-08-22T09:30:39+08:00 [INFO] Final Memory: 52M/414M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (download-equinox) on project p2-repo-equinox_3.11.1: An Ant BuildException has occured: src '/home/iot/iot-kura-develop/git/kura/target-platform/p2-repo-equinox_3.11.1/target/download/equinox.zip' doesn't exist. [ERROR] around Ant part ...... @ 7:223 in /home/iot/iot-kura-develop/git/kura/target-platform/p2-repo-equinox_3.11.1/target/antrun/build-main.xml [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :p2-repo-equinox_3.11.1

markoer commented 7 years ago

If you suspect that is the case, comment out the line with mkdir. But it shouldn't cause this problem. I believe you are still runing mvn clean install and that will remove the whole target/. Just run mvn install if you modify the contents of target/.

OrangeAlex commented 7 years ago

@markoer i follow your advice , and all the project has been compiled successfully , thank you very much , [INFO] Executing tasks [delete] Deleting directory /home/iot/iot-kura-develop/git/kura/kura/target-definition/test-deps [mkdir] Created dir: /home/iot/iot-kura-develop/git/kura/kura/target-definition/test-deps/repository [copy] Copying 9 files to /home/iot/iot-kura-develop/git/kura/kura/target-definition/test-deps/repository [INFO] Executed tasks [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] target-platform .................................... SUCCESS [ 0.926 s] [INFO] Camel :: Core :: Import sun.misc ................... SUCCESS [ 1.146 s] [INFO] System extension fragment for 'sun.misc' ........... SUCCESS [ 0.511 s] [INFO] com.codeminders.hidapi-parent ...................... SUCCESS [ 0.029 s] [INFO] Java API for working with Human Interface USB Devices (HID) SUCCESS [ 6.985 s] [INFO] Native libraries for 'com.codeminders.hidapi' on ARM 6 HF SUCCESS [ 0.422 s] [INFO] Native libraries for 'com.codeminders.hidapi' on x86_64 SUCCESS [ 0.291 s] [INFO] usb4java ........................................... SUCCESS [ 2.283 s] [INFO] usb4java-javax ..................................... SUCCESS [ 0.270 s] [INFO] org.moka7 .......................................... SUCCESS [ 0.639 s] [INFO] org.eclipse.soda.dk.comm-parent .................... SUCCESS [ 0.030 s] [INFO] Serial Device based on SODA DK comm ................ SUCCESS [ 0.144 s] [INFO] Native libraries for 'org.eclipse.soda.dk.comm' on ARM 6 HF SUCCESS [ 0.298 s] [INFO] Native libraries for 'org.eclipse.soda.dk.comm' on x86_64 SUCCESS [ 0.268 s] [INFO] jdk.dio-parent ..................................... SUCCESS [ 0.025 s] [INFO] jdk.dio ............................................ SUCCESS [ 0.649 s] [INFO] jdk.dio.armv6hf .................................... SUCCESS [ 0.128 s] [INFO] jdk.dio.x86_64 ..................................... SUCCESS [ 0.143 s] [INFO] gwt-user ........................................... SUCCESS [ 4.989 s] [INFO] moquette-broker .................................... SUCCESS [ 4.339 s] [INFO] p2-repo-common ..................................... SUCCESS [ 6.919 s] [INFO] p2-repo-equinox_3.11.1 ............................. SUCCESS [ 4.845 s] [INFO] p2-repo-tests-deps ................................. SUCCESS [ 3.057 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 40.831 s [INFO] Finished at: 2017-08-22T16:44:23+08:00 [INFO] Final Memory: 49M/365M [INFO] ------------------------------------------------------------------------

but there is still a problem when i use the building Kura via the Oomph installer under the Linux (Ubuntu14.04),the log show me the error: [INFO] Computing target platform for MavenProject: org.eclipse.kura.feature:org.eclipse.kura.api.feature:3.1.0-SNAPSHOT @ /home/iot/iot-kura-develop/git/kura/kura/features/org.eclipse.kura.api.feature/pom.xml [INFO] Adding repository file:/home/iot/iot-kura-develop/git/kura/kura/features/org.eclipse.kura.api.feature/../../../target-platform/p2-repo-equinox_3.11.1/target/repository [ERROR] Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'p2-repo-equinox_3.11.1' from location file:/home/iot/iot-kura-develop/git/kura/kura/features/org.eclipse.kura.api.feature/../../../target-platform/p2-repo-equinox_3.11.1/target/repository/: No repository found at file:/home/iot/iot-kura-develop/git/kura/kura/features/org.eclipse.kura.api.feature/../../../target-platform/p2-repo-equinox_3.11.1/target/repository. -> [Help 1] org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'p2-repo-equinox_3.11.1' from location file:/home/iot/iot-kura-develop/git/kura/kura/features/org.eclipse.kura.api.feature/../../../target-platform/p2-repo-equinox_3.11.1/target/repository/ according to the log , the system can not find the path:/home/iot/iot-kura-develop/git/kura/kura/features/org.eclipse.kura.api.feature/../../../target-platform/p2-repo-equinox_3.11.1/target/repository, I check the path , i can not find the target-platform under the path /home/iot/iot-kura-develop/git/kura/kura/features/org.eclipse.kura.api.feature/../../../target-platform/p2-repo-equinox_3.11.1/target/repository

How to fix it?

markoer commented 7 years ago

Target platform is supposed to be here: /home/iot/iot-kura-develop/git/kura/kura/features/org.eclipse.kura.api.feature/../../../target-platform or, a bit shorter, here: /home/iot/iot-kura-develop/git/kura/target-platform

And one of the repositories should be here: /home/iot/iot-kura-develop/git/kura/target-platform/p2-repo-equinox_3.11.1/target/repository There should be plugins/ and 2 xml files in there.

First try if the build works properly from the command line: mvn install in /home/iot/iot-kura-develop/git/kura/kura/.

When you are sure it works, you can go on to resolving the Oomph issue. It will probably require you to set up your own fork from which installer will checkout the code...

OrangeAlex commented 7 years ago

@markoer hi markoer , i run the command: mvn install under the path /home/iot/iot-kura-develop/git/kura/kura, but it failed, the problem still exists: [INFO] Computing target platform for MavenProject: org.eclipse.kura.feature:org.eclipse.kura.api.feature:3.1.0-SNAPSHOT @ /home/iot/iot-kura-develop/git/kura/kura/features/org.eclipse.kura.api.feature/pom.xml [INFO] Adding repository file:/home/iot/iot-kura-develop/git/kura/kura/features/org.eclipse.kura.api.feature/../../../target-platform/p2-repo-equinox_3.11.1/target/repository [ERROR] Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'p2-repo-equinox_3.11.1' from location file:/home/iot/iot-kura-develop/git/kura/kura/features/org.eclipse.kura.api.feature/../../../target-platform/p2-repo-equinox_3.11.1/target/repository/: No repository found at file:/home/iot/iot-kura-develop/git/kura/kura/features/org.eclipse.kura.api.feature/../../../target-platform/p2-repo-equinox_3.11.1/target/repository. -> [Help 1] org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'p2-repo-equinox_3.11.1' from location file:/home/iot/iot-kura-develop/git/kura/kura/features/org.eclipse.kura.api.feature/../../../target-platform/p2-repo-equinox_3.11.1/target/repository/ at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:122) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345) at org.apache.maven.cli.MavenCli.main(MavenCli.java:191) 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:498) 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 load p2 repository with ID 'p2-repo-equinox_3.11.1' from location file:/home/iot/iot-kura-develop/git/kura/kura/features/org.eclipse.kura.api.feature/../../../target-platform/p2-repo-equinox_3.11.1/target/repository/ at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.loadMetadataRepository(TargetPlatformFactoryImpl.java:302) at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.gatherExternalInstallableUnits(TargetPlatformFactoryImpl.java:270) at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:176) at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:128) at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:1) at org.eclipse.tycho.p2.manager.ReactorRepositoryManagerImpl.computePreliminaryTargetPlatform(ReactorRepositoryManagerImpl.java:84) at org.eclipse.tycho.p2.resolver.P2DependencyResolver.computePreliminaryTargetPlatform(P2DependencyResolver.java:223) at org.eclipse.tycho.core.resolver.DefaultTychoResolver.resolveProject(DefaultTychoResolver.java:109) at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:95) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:267) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107) ... 11 more Caused by: org.eclipse.equinox.p2.core.ProvisionException: No repository found at file:/home/iot/iot-kura-develop/git/kura/kura/features/org.eclipse.kura.api.feature/../../../target-platform/p2-repo-equinox_3.11.1/target/repository. at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.fail(AbstractRepositoryManager.java:395) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:692) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96) at org.eclipse.tycho.p2.remote.RemoteMetadataRepositoryManager.loadRepository(RemoteMetadataRepositoryManager.java:61) at org.eclipse.tycho.p2.remote.RemoteMetadataRepositoryManager.loadRepository(RemoteMetadataRepositoryManager.java:53) at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.loadMetadataRepository(TargetPlatformFactoryImpl.java:298) ... 22 more

OrangeAlex commented 7 years ago

@markoer plus information: under the path /iot-kura-develop/git/kura/target-platform/p2-repo-equinox_3.11.1/target , there are two xml file: checkstyle-checker.xml and checkstyle-result.xml, but no folder named repository, so i guess , when the system do the operation that Adding repository file:/home/iot/iot-kura-develop/git/kura/kura/features/org.eclipse.kura.api.feature/../../../target-platform/p2-repo-equinox_3.11.1/target/repository , the operation filed so how to deal with this problem

markoer commented 7 years ago

OK, so target-platform was not built as successfully as we thought. Try building it again and verify that 3 p2 repositories are actually created i.e. that .../target/repository/ exists and is filled with appropriate files and directories in each of the following:

If they are not OK, the log will likely contain some warnings or errors.

When this step is OK, build in kura/ again. If you get issues as before, try with file://// (4 x /), if you haven't already.

OrangeAlex commented 7 years ago

@markoer hi marker, i found a little bit strange issue: there are two scene: first one : i build it under the path /iot-kura-develop/git/kura/target-platform, and the build is successfully, and under the kura/target-platform, 3 p2 folder are created :p2-repo-common;p2-repo-equinox_3.11.1;p2-repo-tests-deps, in the each folder , the path /target/repository/ and /target/repository/plugin also exists, and filledd with appropriate files . and then i build kura under the path /iot-kura-develop/git/kura/kura, although the build failed , but the issue is not which i said before , according to the log ,i can confirm that ,the problem happens during compile the kura , the log inforamtion lists below: [INFO] kura ............................................... SUCCESS[ 1.084 s] [INFO] Kura Target Definition ............................. SUCCESS[ 0.118 s] [INFO] org.eclipse.kura.api ............................... FAILURE[ 0.837 s] [INFO] org.eclipse.kura.localization ...................... [SKIPPED] [INFO] org.eclipse.kura.localization.resources ............ [SKIPPED] [INFO] org.eclipse.kura.util .............................. [SKIPPED] [INFO] org.eclipse.kura.asset.cloudlet.provider ........... [SKIPPED] [INFO] org.eclipse.kura.core .............................. [SKIPPED] [INFO] org.eclipse.kura.core.configuration ................ [SKIPPED] [INFO] org.eclipse.kura.asset.provider .................... [SKIPPED] [INFO] org.eclipse.kura.asset.helper.provider ............. [SKIPPED] [INFO] org.eclipse.kura.camel ............................. [SKIPPED] [INFO] org.eclipse.kura.camel.cloud.factory ............... [SKIPPED] [INFO] org.eclipse.kura.camel.xml ......................... [SKIPPED] [INFO] org.eclipse.kura.core.certificates ................. [SKIPPED] [INFO] org.eclipse.kura.core.cloud ........................ [SKIPPED] [INFO] org.eclipse.kura.core.comm ......................... [SKIPPED] [INFO] org.eclipse.kura.core.crypto ....................... [SKIPPED] [INFO] org.eclipse.kura.core.deployment ................... [SKIPPED] [INFO] org.eclipse.kura.core.log .......................... [SKIPPED] [INFO] org.eclipse.kura.core.net .......................... [SKIPPED] [INFO] org.eclipse.kura.core.status ....................... [SKIPPED] [INFO] org.eclipse.kura.deployment.agent .................. [SKIPPED] [INFO] org.eclipse.kura.driver.helper.provider ............ [SKIPPED] [INFO] org.eclipse.kura.driver.opcua.localization ......... [SKIPPED] [INFO] org.eclipse.kura.driver.opcua.provider ............. [SKIPPED] [INFO] org.eclipse.kura.driver.block ...................... [SKIPPED] [INFO] org.eclipse.kura.driver.s7plc.localization ......... [SKIPPED] [INFO] org.eclipse.kura.driver.s7plc.provider ............. [SKIPPED] [INFO] org.eclipse.kura.linux.bluetooth ................... [SKIPPED] [INFO] org.eclipse.kura.linux.clock ....................... [SKIPPED] [INFO] org.eclipse.kura.linux.command ..................... [SKIPPED] [INFO] org.eclipse.kura.linux.gpio ........................ [SKIPPED] [INFO] org.eclipse.kura.linux.net ......................... [SKIPPED] [INFO] org.eclipse.kura.linux.position .................... [SKIPPED] [INFO] org.eclipse.kura.linux.usb ......................... [SKIPPED] [INFO] org.eclipse.kura.linux.usb.armv6hf ................. [SKIPPED] [INFO] org.eclipse.kura.linux.usb.x86_64 .................. [SKIPPED] [INFO] org.eclipse.kura.linux.watchdog .................... [SKIPPED] [INFO] org.eclipse.kura.net.admin ......................... [SKIPPED] [INFO] org.eclipse.kura.protocol.modbus ................... [SKIPPED] [INFO] org.eclipse.kura.stress ............................ [SKIPPED] [INFO] org.eclipse.kura.wire.script.filter.localization ... [SKIPPED] [INFO] org.eclipse.kura.wire.script.filter.provider ....... [SKIPPED] [INFO] org.eclipse.kura.wire.h2db.component.provider ...... [SKIPPED] [INFO] org.eclipse.kura.wire.component.provider ........... [SKIPPED] [INFO] org.eclipse.kura.wire.helper.provider .............. [SKIPPED] [INFO] org.eclipse.kura.wire.provider ..................... [SKIPPED] [INFO] features ........................................... [SKIPPED] [INFO] org.eclipse.kura.api.feature ....................... [SKIPPED] [INFO] org.eclipse.kura.camel.feature ..................... [SKIPPED] [INFO] org.eclipse.kura.runtime.feature ................... [SKIPPED] [INFO] org.eclipse.kura.protocol.modbus.feature ........... [SKIPPED] [INFO] org.eclipse.kura.driver.opcua.feature .............. [SKIPPED] [INFO] org.eclipse.kura.driver.s7plc.feature .............. [SKIPPED] [INFO] org.eclipse.kura.wire.script.filter.feature ........ [SKIPPED] [INFO] emulator ........................................... [SKIPPED] [INFO] org.eclipse.kura.emulator .......................... [SKIPPED] [INFO] org.eclipse.kura.emulator.gpio ..................... [SKIPPED] [INFO] org.eclipse.kura.emulator.clock .................... [SKIPPED] [INFO] org.eclipse.kura.emulator.net ...................... [SKIPPED] [INFO] org.eclipse.kura.emulator.position ................. [SKIPPED] [INFO] org.eclipse.kura.emulator.usb ...................... [SKIPPED] [INFO] org.eclipse.kura.emulator.watchdog ................. [SKIPPED] [INFO] org.eclipse.kura ................................... [SKIPPED] [INFO] test ............................................... [SKIPPED] [INFO] log4j.test.configuration ........................... [SKIPPED] [INFO] org.eclipse.kura.core.testutil ..................... [SKIPPED] [INFO] org.eclipse.kura.camel.test ........................ [SKIPPED] [INFO] org.eclipse.kura.cloud.test ........................ [SKIPPED] [INFO] org.eclipse.kura.core.certificates.test ............ [SKIPPED] [INFO] org.eclipse.kura.core.comm.test .................... [SKIPPED] [INFO] org.eclipse.kura.core.configuration.test ........... [SKIPPED] [INFO] org.eclipse.kura.core.cloud.test ................... [SKIPPED] [INFO] org.eclipse.kura.core.crypto.test .................. [SKIPPED] [INFO] org.eclipse.kura.core.db.test ...................... [SKIPPED] [INFO] org.eclipse.kura.core.deployment.test .............. [SKIPPED] [INFO] org.eclipse.kura.core.net.test ..................... [SKIPPED] [INFO] org.eclipse.kura.core.ssl.test ..................... [SKIPPED] [INFO] org.eclipse.kura.core.status.test .................. [SKIPPED] [INFO] org.eclipse.kura.test .............................. [SKIPPED] [INFO] org.eclipse.kura.core.system.test .................. [SKIPPED] [INFO] org.eclipse.kura.core.test ......................... [SKIPPED] [INFO] org.eclipse.kura.internal.wire.test ................ [SKIPPED] [INFO] org.eclipse.kura.linux.net.test .................... [SKIPPED] [INFO] org.eclipse.kura.linux.position.test ............... [SKIPPED] [INFO] org.eclipse.kura.net.admin.test .................... [SKIPPED] [INFO] org.eclipse.kura.wire.component.provider.test ...... [SKIPPED] [INFO] org.eclipse.kura.wire.h2db.component.provider.test . [SKIPPED] [INFO] org.eclipse.kura.stress.test ....................... [SKIPPED] [INFO] org.eclipse.kura.core.util.test .................... [SKIPPED] [INFO] org.eclipse.kura.wire.provider.test ................ [SKIPPED] [INFO] org.eclipse.kura.protocol.modbus.test .............. [SKIPPED] [INFO] org.eclipse.kura.driver.block.test ................. [SKIPPED] [INFO] org.eclipse.kura.web2 .............................. [SKIPPED] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 09:32 min [INFO] Finished at: 2017-08-23T11:03:52+08:00 [INFO] Final Memory: 105M/406M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.26.0:package-plugin(default-package-pluginon project org.eclipse.kura.apiExecution default-package-plugin of goal org.eclipse.tycho:tycho-packaging-plugin:0.26.0:package-plugin failed: One of setGitDir or setWorkTree must be called.-> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the switch. [ERROR] Re-run Maven using the switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR][Help 1]http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :org.eclipse.kura.api

So i think some problem in the plugin :tycho-packaging-plugin:0.26

Sencond, i build it under the path /iot-kura-develop/git/kura/target-platform, and the build is successfully, and under the kura/target-platform, 3 p2 folder are created :p2-repo-common;p2-repo-equinox_3.11.1;p2-repo-tests-deps, in the each folder , the path /target/repository/ and /target/repository/plugin also exists, and filledd with appropriate files . and then build the kura via the Eclipse Oomph installer under the Linux (Ubuntu14.04),the log show me the error: [ERROR] Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'p2-repo-equinox_3.11.1' from location file:/home/iot/iot-kura-develop/git/kura/kura/features/org.eclipse.kura.api.feature/../../../target-platform/p2-repo-equinox_3.11.1/target/repository/: No repository found at file:/home/iot/iot-kura-develop/git/kura/kura/features/org.eclipse.kura.api.feature/../../../target-platform/p2-repo-equinox_3.11.1/target/repository. -> [Help 1] org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'p2-repo-equinox_3.11.1' from location file:/home/iot/iot-kura-develop/git/kura/kura/features/org.eclipse.kura.api.feature/../../../target-platform/p2-repo-equinox_3.11.1/target/repository/ at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:121) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) 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:498)
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 load p2 repository with ID 'p2-repo-equinox_3.11.1' from location file:/home/iot/iot-kura-develop/git/kura/kura/features/org.eclipse.kura.api.feature/../../../target-platform/p2-repo-equinox_3.11.1/target/repository/

at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.loadMetadataRepository(TargetPlatformFactoryImpl.java:302)
at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.gatherExternalInstallableUnits(TargetPlatformFactoryImpl.java:270)

at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:176)
at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:128)

at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:1)
at org.eclipse.tycho.p2.manager.ReactorRepositoryManagerImpl.computePreliminaryTargetPlatform(ReactorRepositoryManagerImpl.java:84)
at org.eclipse.tycho.p2.resolver.P2DependencyResolver.computePreliminaryTargetPlatform(P2DependencyResolver.java:223)
at org.eclipse.tycho.core.resolver.DefaultTychoResolver.resolveProject(DefaultTychoResolver.java:109)

at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:95)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:266)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)

at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
... 11 more

Caused by: org.eclipse.equinox.p2.core.ProvisionException: No repository found at file:/home/iot/iot-kura-develop/git/kura/kura/features/org.eclipse.kura.api.feature/../../../target-platform/p2-repo-equinox_3.11.1/target/repository.

at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.fail(AbstractRepositoryManager.java:395)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:692)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
at org.eclipse.tycho.p2.remote.RemoteMetadataRepositoryManager.loadRepository(RemoteMetadataRepositoryManager.java:61)

at org.eclipse.tycho.p2.remote.RemoteMetadataRepositoryManager.loadRepository(RemoteMetadataRepositoryManager.java:53)
at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.loadMetadataRepository(TargetPlatformFactoryImpl.java:298)
... 22 more

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException

Refresh resources... Took 85 seconds. Press Finish to close the dialog. and then i found , the 3 p2 repositories has been disappear, it is strange So i guess when i use the Eclipse IDE to compile the prject , and it will compile all the project again but not create 3 p2 repositories succesfully. do you any idea to fix these two issue?

markoer commented 7 years ago

You are back to the original issue where git checkout didn't work for you. The current Kura cannot be built if it is not checked out from git or if kura/pom.xml is not updated a bit.

Kura forum will contain the answer as soon as the post is approved, but until then, a quick preview: Kura uses tycho-packaging-plugin. When the code is not checked out from git, the plugin fails. Update kura/pom.xml and update true into false here:

                    <sourceReferences>
                        <generate>false</generate>
                    </sourceReferences>

As for the OOMPH installer, it runs the complete workflow, from Eclipse installation to code checkout, build and project setup. If one of the steps fails, it won't work any longer. So when you resolve all the problems using cli, you will be able to create your own branch in your own fork that you will be able to update and then use with OOMPH.

OrangeAlex commented 7 years ago

@markoer Hi markoer i Update kura/pom.xml and update true into false here:

                <sourceReferences>
                    <generate>false</generate>
                </sourceReferences>

when i rebuild using cli, the issue i asked before fixed , but there is another problem: according to the log , i think the bundle named "org.eclipse.kura.api" has lower vesion, the system suggest the 2.0.0 version, but i don not know how to get the high version, so how to fix it , the log information as fellows: exec.jdeps: [echo] Executing exec.jdeps step [INFO] Executed tasks [INFO] [INFO] exists-maven-plugin:0.0.3:remote(default)org.eclipse.kura.api [INFO] [INFO] bnd-baseline-maven-plugin:3.4.0:baseline(baseline)org.eclipse.kura.api [ERROR] Baseline mismatch for package org.eclipse.kura.bluetooth, MAJOR change. Current is 1.4.0, repo is 1.4.0, suggest 2.0.0 or 1.4.0 MAJOR PACKAGE org.eclipse.kura.bluetooth MAJOR INTERFACE org.eclipse.kura.bluetooth.BluetoothConnector REMOVED IMPLEMENTS org.osgi.service.io.ConnectorService REMOVED METHOD clone() REMOVED ACCESS protected REMOVED RETURN java.lang.Object REMOVED METHOD equals(java.lang.Object) REMOVED RETURN boolean REMOVED METHOD finalize() REMOVED ACCESS protected REMOVED RETURN void REMOVED METHOD hashCode() REMOVED RETURN int MAJOR METHOD open(java.lang.String) ADDED RETURN Connection REMOVED RETURN javax.microedition.io.Connection MAJOR METHOD open(java.lang.String,int) ADDED RETURN Connection REMOVED RETURN javax.microedition.io.Connection MAJOR METHOD open(java.lang.String,int,boolean) ADDED RETURN Connection REMOVED RETURN javax.microedition.io.Connection REMOVED METHOD toString() REMOVED RETURN java.lang.String [ERROR] Baseline mismatch for package org.eclipse.kura.clock, MAJOR change. Current is 1.0.1, repo is 1.0.1, suggest 2.0.0 or - MAJOR PACKAGE org.eclipse.kura.clock MAJOR CLASS org.eclipse.kura.clock.ClockEvent REMOVED EXTENDS org.osgi.service.event.Event [ERROR] Baseline mismatch for package org.eclipse.kura.cloud, MAJOR change. Current is 1.1.0, repo is 1.1.0, suggest 2.0.0 or - MAJOR PACKAGE org.eclipse.kura.cloud MAJOR CLASS org.eclipse.kura.cloud.CloudConnectionEstablishedEvent REMOVED EXTENDS org.osgi.service.event.Event MAJOR CLASS org.eclipse.kura.cloud.CloudConnectionLostEvent REMOVED EXTENDS org.osgi.service.event.Event MAJOR CLASS org.eclipse.kura.cloud.Cloudlet ADDED METHOD activate(ComponentContext) ADDED ACCESS protected ADDED RETURN void REMOVED METHOD activate(org.osgi.service.component.ComponentContext) REMOVED ACCESS protected REMOVED RETURN void ADDED METHOD deactivate(ComponentContext) ADDED ACCESS protected ADDED RETURN void REMOVED METHOD deactivate(org.osgi.service.component.ComponentContext) REMOVED ACCESS protected REMOVED RETURN void MAJOR METHOD getComponentContext() ADDED RETURN ComponentContext REMOVED RETURN org.osgi.service.component.ComponentContext [ERROR] Baseline mismatch for package org.eclipse.kura.comm, MAJOR change. Current is 1.1.0, repo is 1.1.0, suggest 2.0.0 or 1.1.0 MAJOR PACKAGE org.eclipse.kura.comm MAJOR INTERFACE org.eclipse.kura.comm.CommConnection REMOVED IMPLEMENTS javax.microedition.io.StreamConnection REMOVED METHOD clone() REMOVED ACCESS protected REMOVED RETURN java.lang.Object REMOVED METHOD equals(java.lang.Object) REMOVED RETURN boolean REMOVED METHOD finalize() REMOVED ACCESS protected REMOVED RETURN void REMOVED METHOD hashCode() REMOVED RETURN int REMOVED METHOD toString() REMOVED RETURN java.lang.String [ERROR] Baseline mismatch for package org.eclipse.kura.configuration, MAJOR change. Current is 1.1.2, repo is 1.1.2, suggest 2.0.0 or - MAJOR PACKAGE org.eclipse.kura.configuration MAJOR CLASS org.eclipse.kura.configuration.KuraConfigReadyEvent REMOVED EXTENDS org.osgi.service.event.Event MAJOR CLASS org.eclipse.kura.configuration.KuraNetConfigReadyEvent REMOVED EXTENDS org.osgi.service.event.Event [ERROR] Baseline mismatch for package org.eclipse.kura.net, MAJOR change. Current is 1.3.0, repo is 1.3.0, suggest 2.0.0 or - MAJOR PACKAGE org.eclipse.kura.net MAJOR CLASS org.eclipse.kura.net.NetInterfaceAddedEvent REMOVED EXTENDS org.osgi.service.event.Event MAJOR CLASS org.eclipse.kura.net.NetInterfaceRemovedEvent REMOVED EXTENDS org.osgi.service.event.Event MAJOR CLASS org.eclipse.kura.net.NetInterfaceStateChangedEvent REMOVED EXTENDS org.osgi.service.event.Event MAJOR CLASS org.eclipse.kura.net.NetworkStateChangedEvent REMOVED EXTENDS org.osgi.service.event.Event MAJOR ENUM org.eclipse.kura.net.NetInterfaceStateChangedEvent$Reason REMOVED METHOD valueOf(java.lang.String) REMOVED ACCESS static REMOVED RETURN org.eclipse.kura.net.NetInterfaceStateChangedEvent$Reason REMOVED METHOD values() REMOVED ACCESS static REMOVED RETURN org.eclipse.kura.net.NetInterfaceStateChangedEvent$Reason[] [ERROR] Baseline mismatch for package org.eclipse.kura.net.modem, MAJOR change. Current is 1.2.0, repo is 1.1.2, suggest 2.0.0 or - MAJOR PACKAGE org.eclipse.kura.net.modem MAJOR CLASS org.eclipse.kura.net.modem.ModemAddedEvent REMOVED EXTENDS org.osgi.service.event.Event MINOR CLASS org.eclipse.kura.net.modem.ModemConfig ADDED METHOD getPasswordAsPassword() ADDED RETURN org.eclipse.kura.configuration.Password ADDED METHOD setPassword(org.eclipse.kura.configuration.Password) ADDED RETURN void MAJOR CLASS org.eclipse.kura.net.modem.ModemGpsDisabledEvent REMOVED EXTENDS org.osgi.service.event.Event MAJOR CLASS org.eclipse.kura.net.modem.ModemGpsEnabledEvent REMOVED EXTENDS org.osgi.service.event.Event MAJOR CLASS org.eclipse.kura.net.modem.ModemReadyEvent REMOVED EXTENDS org.osgi.service.event.Event MAJOR CLASS org.eclipse.kura.net.modem.ModemRemovedEvent REMOVED EXTENDS org.osgi.service.event.Event REMOVED VERSION 1.1.2 ADDED VERSION 1.2.0 [ERROR] Baseline mismatch for package org.eclipse.kura.net.wifi, MAJOR change. Current is 1.3.0, repo is 1.3.0, suggest 2.0.0 or - MAJOR PACKAGE org.eclipse.kura.net.wifi MAJOR CLASS org.eclipse.kura.net.wifi.WifiAccessPointAddedEvent REMOVED EXTENDS org.osgi.service.event.Event MAJOR CLASS org.eclipse.kura.net.wifi.WifiAccessPointRemovedEvent REMOVED EXTENDS org.osgi.service.event.Event [ERROR] Baseline mismatch for package org.eclipse.kura.position, MAJOR change. Current is 1.1.2, repo is 1.1.2, suggest 2.0.0 or - MAJOR PACKAGE org.eclipse.kura.position MAJOR CLASS org.eclipse.kura.position.PositionLockedEvent REMOVED EXTENDS org.osgi.service.event.Event MAJOR CLASS org.eclipse.kura.position.PositionLostEvent REMOVED EXTENDS org.osgi.service.event.Event MAJOR INTERFACE org.eclipse.kura.position.PositionService MAJOR METHOD getPosition() ADDED RETURN Position REMOVED RETURN org.osgi.util.position.Position [ERROR] Baseline mismatch for package org.eclipse.kura.system, MAJOR change. Current is 1.3.0, repo is 1.2.0, suggest 2.0.0 or 1.2.0 MAJOR PACKAGE org.eclipse.kura.system MAJOR INTERFACE org.eclipse.kura.system.SystemService ADDED FIELD KEY_KURA_MARKETPLACE_COMPATIBILITY_VERSION ADDED ACCESS final ADDED ACCESS static ADDED CONSTANT kura.marketplace.compatibility.version ADDED RETURN java.lang.String MAJOR METHOD getBundles() ADDED RETURN Bundle[] REMOVED RETURN org.osgi.framework.Bundle[] ADDED METHOD getKuraMarketplaceCompatibilityVersion() ADDED ACCESS abstract ADDED RETURN java.lang.String REMOVED VERSION 1.2.0 ADDED VERSION 1.3.0 [ERROR] Baseline mismatch for package org.eclipse.kura.usb, MAJOR change. Current is 1.1.1, repo is 1.1.1, suggest 2.0.0 or - MAJOR PACKAGE org.eclipse.kura.usb MAJOR CLASS org.eclipse.kura.usb.UsbDeviceAddedEvent REMOVED EXTENDS org.osgi.service.event.Event MAJOR CLASS org.eclipse.kura.usb.UsbDeviceRemovedEvent REMOVED EXTENDS org.osgi.service.event.Event [ERROR] Baseline mismatch for package org.eclipse.kura.wire, MAJOR change. Current is 1.0.0, repo is 1.0.0, suggest 2.0.0 or - MAJOR PACKAGE org.eclipse.kura.wire MAJOR CLASS org.eclipse.kura.wire.WireConfiguration MAJOR METHOD getWire() ADDED RETURN Wire REMOVED RETURN org.osgi.service.wireadmin.Wire ADDED METHOD setWire(Wire) ADDED RETURN void REMOVED METHOD setWire(org.osgi.service.wireadmin.Wire) REMOVED RETURN void MAJOR CLASS org.eclipse.kura.wire.WireEnvelope REMOVED EXTENDS org.osgi.service.wireadmin.BasicEnvelope MAJOR INTERFACE org.eclipse.kura.wire.WireEmitter REMOVED IMPLEMENTS org.osgi.service.wireadmin.Producer REMOVED METHOD clone() REMOVED ACCESS protected REMOVED RETURN java.lang.Object REMOVED METHOD equals(java.lang.Object) REMOVED RETURN boolean REMOVED METHOD finalize() REMOVED ACCESS protected REMOVED RETURN void REMOVED METHOD hashCode() REMOVED RETURN int REMOVED METHOD toString() REMOVED RETURN java.lang.String MAJOR INTERFACE org.eclipse.kura.wire.WireReceiver REMOVED IMPLEMENTS org.osgi.service.wireadmin.Consumer REMOVED METHOD clone() REMOVED ACCESS protected REMOVED RETURN java.lang.Object REMOVED METHOD equals(java.lang.Object) REMOVED RETURN boolean REMOVED METHOD finalize() REMOVED ACCESS protected REMOVED RETURN void REMOVED METHOD hashCode() REMOVED RETURN int REMOVED METHOD toString() REMOVED RETURN java.lang.String MAJOR INTERFACE org.eclipse.kura.wire.WireSupport REMOVED IMPLEMENTS org.osgi.service.wireadmin.Consumer REMOVED IMPLEMENTS org.osgi.service.wireadmin.Producer REMOVED METHOD clone() REMOVED ACCESS protected REMOVED RETURN java.lang.Object REMOVED METHOD equals(java.lang.Object) REMOVED RETURN boolean REMOVED METHOD finalize() REMOVED ACCESS protected REMOVED RETURN void REMOVED METHOD hashCode() REMOVED RETURN int REMOVED METHOD toString() REMOVED RETURN java.lang.String [ERROR] The bundle version change (1.2.0 to 1.3.0) is too low, the new version must be at least 2.0.0 MAJOR BUNDLE org.eclipse.kura.api-1.3.0-SNAPSHOT MAJOR API MAJOR PACKAGE org.eclipse.kura.bluetooth MAJOR INTERFACE org.eclipse.kura.bluetooth.BluetoothConnector REMOVED IMPLEMENTS org.osgi.service.io.ConnectorService REMOVED METHOD clone() REMOVED ACCESS protected REMOVED RETURN java.lang.Object REMOVED METHOD equals(java.lang.Object) REMOVED RETURN boolean REMOVED METHOD finalize() REMOVED ACCESS protected REMOVED RETURN void REMOVED METHOD hashCode() REMOVED RETURN int MAJOR METHOD open(java.lang.String) ADDED RETURN Connection REMOVED RETURN javax.microedition.io.Connection MAJOR METHOD open(java.lang.String,int) ADDED RETURN Connection REMOVED RETURN javax.microedition.io.Connection MAJOR METHOD open(java.lang.String,int,boolean) ADDED RETURN Connection REMOVED RETURN javax.microedition.io.Connection REMOVED METHOD toString() REMOVED RETURN java.lang.String MAJOR PACKAGE org.eclipse.kura.clock MAJOR CLASS org.eclipse.kura.clock.ClockEvent REMOVED EXTENDS org.osgi.service.event.Event MAJOR PACKAGE org.eclipse.kura.cloud MAJOR CLASS org.eclipse.kura.cloud.CloudConnectionEstablishedEvent REMOVED EXTENDS org.osgi.service.event.Event MAJOR CLASS org.eclipse.kura.cloud.CloudConnectionLostEvent REMOVED EXTENDS org.osgi.service.event.Event MAJOR CLASS org.eclipse.kura.cloud.Cloudlet ADDED METHOD activate(ComponentContext) ADDED ACCESS protected ADDED RETURN void REMOVED METHOD activate(org.osgi.service.component.ComponentContext) REMOVED ACCESS protected REMOVED RETURN void ADDED METHOD deactivate(ComponentContext) ADDED ACCESS protected ADDED RETURN void REMOVED METHOD deactivate(org.osgi.service.component.ComponentContext) REMOVED ACCESS protected REMOVED RETURN void MAJOR METHOD getComponentContext() ADDED RETURN ComponentContext REMOVED RETURN org.osgi.service.component.ComponentContext MAJOR PACKAGE org.eclipse.kura.comm MAJOR INTERFACE org.eclipse.kura.comm.CommConnection REMOVED IMPLEMENTS javax.microedition.io.StreamConnection REMOVED METHOD clone() REMOVED ACCESS protected REMOVED RETURN java.lang.Object REMOVED METHOD equals(java.lang.Object) REMOVED RETURN boolean REMOVED METHOD finalize() REMOVED ACCESS protected REMOVED RETURN void REMOVED METHOD hashCode() REMOVED RETURN int REMOVED METHOD toString() REMOVED RETURN java.lang.String MAJOR PACKAGE org.eclipse.kura.configuration MAJOR CLASS org.eclipse.kura.configuration.KuraConfigReadyEvent REMOVED EXTENDS org.osgi.service.event.Event MAJOR CLASS org.eclipse.kura.configuration.KuraNetConfigReadyEvent REMOVED EXTENDS org.osgi.service.event.Event MINOR PACKAGE org.eclipse.kura.db ADDED INTERFACE org.eclipse.kura.db.BaseDbService ADDED ACCESS abstract ADDED METHOD close(java.sql.Connection) ADDED ACCESS abstract ADDED RETURN void ADDED METHOD close(java.sql.ResultSet[]) ADDED ACCESS abstract ADDED RETURN void ADDED METHOD close(java.sql.Statement[]) ADDED ACCESS abstract ADDED RETURN void ADDED METHOD getConnection() ADDED ACCESS abstract ADDED RETURN java.sql.Connection ADDED METHOD rollback(java.sql.Connection) ADDED ACCESS abstract ADDED RETURN void ADDED ANNOTATED org.osgi.annotation.versioning.ProviderType MINOR INTERFACE org.eclipse.kura.db.DbService ADDED IMPLEMENTS org.eclipse.kura.db.BaseDbService ADDED INTERFACE org.eclipse.kura.db.H2DbService ADDED ACCESS abstract ADDED IMPLEMENTS org.eclipse.kura.db.BaseDbService ADDED FIELD DEFAULT_INSTANCE_PID ADDED ACCESS final ADDED ACCESS static ADDED CONSTANT org.eclipse.kura.db.H2DbService ADDED RETURN java.lang.String ADDED METHOD close(java.sql.Connection) ADDED ACCESS abstract ADDED RETURN void ADDED METHOD close(java.sql.ResultSet[]) ADDED ACCESS abstract ADDED RETURN void ADDED METHOD close(java.sql.Statement[]) ADDED ACCESS abstract ADDED RETURN void ADDED METHOD getConnection() ADDED ACCESS abstract ADDED RETURN java.sql.Connection ADDED METHOD rollback(java.sql.Connection) ADDED ACCESS abstract ADDED RETURN void ADDED ANNOTATED org.osgi.annotation.versioning.ProviderType REMOVED VERSION 1.0.1 ADDED VERSION 1.1.0 MAJOR PACKAGE org.eclipse.kura.net MAJOR CLASS org.eclipse.kura.net.NetInterfaceAddedEvent REMOVED EXTENDS org.osgi.service.event.Event MAJOR CLASS org.eclipse.kura.net.NetInterfaceRemovedEvent REMOVED EXTENDS org.osgi.service.event.Event MAJOR CLASS org.eclipse.kura.net.NetInterfaceStateChangedEvent REMOVED EXTENDS org.osgi.service.event.Event MAJOR CLASS org.eclipse.kura.net.NetworkStateChangedEvent REMOVED EXTENDS org.osgi.service.event.Event MAJOR ENUM org.eclipse.kura.net.NetInterfaceStateChangedEvent$Reason REMOVED METHOD valueOf(java.lang.String) REMOVED ACCESS static REMOVED RETURN org.eclipse.kura.net.NetInterfaceStateChangedEvent$Reason REMOVED METHOD values() REMOVED ACCESS static REMOVED RETURN org.eclipse.kura.net.NetInterfaceStateChangedEvent$Reason[] MAJOR PACKAGE org.eclipse.kura.net.modem MAJOR CLASS org.eclipse.kura.net.modem.ModemAddedEvent REMOVED EXTENDS org.osgi.service.event.Event MINOR CLASS org.eclipse.kura.net.modem.ModemConfig ADDED METHOD getPasswordAsPassword() ADDED RETURN org.eclipse.kura.configuration.Password ADDED METHOD setPassword(org.eclipse.kura.configuration.Password) ADDED RETURN void MAJOR CLASS org.eclipse.kura.net.modem.ModemGpsDisabledEvent REMOVED EXTENDS org.osgi.service.event.Event MAJOR CLASS org.eclipse.kura.net.modem.ModemGpsEnabledEvent REMOVED EXTENDS org.osgi.service.event.Event MAJOR CLASS org.eclipse.kura.net.modem.ModemReadyEvent REMOVED EXTENDS org.osgi.service.event.Event MAJOR CLASS org.eclipse.kura.net.modem.ModemRemovedEvent REMOVED EXTENDS org.osgi.service.event.Event REMOVED VERSION 1.1.2 ADDED VERSION 1.2.0 MAJOR PACKAGE org.eclipse.kura.net.wifi MAJOR CLASS org.eclipse.kura.net.wifi.WifiAccessPointAddedEvent REMOVED EXTENDS org.osgi.service.event.Event MAJOR CLASS org.eclipse.kura.net.wifi.WifiAccessPointRemovedEvent REMOVED EXTENDS org.osgi.service.event.Event MAJOR PACKAGE org.eclipse.kura.position MAJOR CLASS org.eclipse.kura.position.PositionLockedEvent REMOVED EXTENDS org.osgi.service.event.Event MAJOR CLASS org.eclipse.kura.position.PositionLostEvent REMOVED EXTENDS org.osgi.service.event.Event MAJOR INTERFACE org.eclipse.kura.position.PositionService MAJOR METHOD getPosition() ADDED RETURN Position REMOVED RETURN org.osgi.util.position.Position MAJOR PACKAGE org.eclipse.kura.system MAJOR INTERFACE org.eclipse.kura.system.SystemService ADDED FIELD KEY_KURA_MARKETPLACE_COMPATIBILITY_VERSION ADDED ACCESS final ADDED ACCESS static ADDED CONSTANT kura.marketplace.compatibility.version ADDED RETURN java.lang.String MAJOR METHOD getBundles() ADDED RETURN Bundle[] REMOVED RETURN org.osgi.framework.Bundle[] ADDED METHOD getKuraMarketplaceCompatibilityVersion() ADDED ACCESS abstract ADDED RETURN java.lang.String REMOVED VERSION 1.2.0 ADDED VERSION 1.3.0 MAJOR PACKAGE org.eclipse.kura.usb MAJOR CLASS org.eclipse.kura.usb.UsbDeviceAddedEvent REMOVED EXTENDS org.osgi.service.event.Event MAJOR CLASS org.eclipse.kura.usb.UsbDeviceRemovedEvent REMOVED EXTENDS org.osgi.service.event.Event MAJOR PACKAGE org.eclipse.kura.wire MAJOR CLASS org.eclipse.kura.wire.WireConfiguration MAJOR METHOD getWire() ADDED RETURN Wire REMOVED RETURN org.osgi.service.wireadmin.Wire ADDED METHOD setWire(Wire) ADDED RETURN void REMOVED METHOD setWire(org.osgi.service.wireadmin.Wire) REMOVED RETURN void MAJOR CLASS org.eclipse.kura.wire.WireEnvelope REMOVED EXTENDS org.osgi.service.wireadmin.BasicEnvelope MAJOR INTERFACE org.eclipse.kura.wire.WireEmitter REMOVED IMPLEMENTS org.osgi.service.wireadmin.Producer REMOVED METHOD clone() REMOVED ACCESS protected REMOVED RETURN java.lang.Object REMOVED METHOD equals(java.lang.Object) REMOVED RETURN boolean REMOVED METHOD finalize() REMOVED ACCESS protected REMOVED RETURN void REMOVED METHOD hashCode() REMOVED RETURN int REMOVED METHOD toString() REMOVED RETURN java.lang.String MAJOR INTERFACE org.eclipse.kura.wire.WireReceiver REMOVED IMPLEMENTS org.osgi.service.wireadmin.Consumer REMOVED METHOD clone() REMOVED ACCESS protected REMOVED RETURN java.lang.Object REMOVED METHOD equals(java.lang.Object) REMOVED RETURN boolean REMOVED METHOD finalize() REMOVED ACCESS protected REMOVED RETURN void REMOVED METHOD hashCode() REMOVED RETURN int REMOVED METHOD toString() REMOVED RETURN java.lang.String MAJOR INTERFACE org.eclipse.kura.wire.WireSupport REMOVED IMPLEMENTS org.osgi.service.wireadmin.Consumer REMOVED IMPLEMENTS org.osgi.service.wireadmin.Producer REMOVED METHOD clone() REMOVED ACCESS protected REMOVED RETURN java.lang.Object REMOVED METHOD equals(java.lang.Object) REMOVED RETURN boolean REMOVED METHOD finalize() REMOVED ACCESS protected REMOVED RETURN void REMOVED METHOD hashCode() REMOVED RETURN int REMOVED METHOD toString() REMOVED RETURN java.lang.String CHANGED MANIFEST REMOVED HEADER Build-Jdk:1.8.0_121 ADDED HEADER Build-Jdk:1.8.0_144 REMOVED HEADER Built-By:genie.kura ADDED HEADER Built-By:iot REMOVED HEADER Bundle-Version:1.2.0 ADDED HEADER Bundle-Version:1.3.0 REMOVED HEADER Eclipse-SourceReferences:scm:git:ssh://github.com/eclipse/kura/kura;path="kura/org.eclipse.kura.api";commitId=90861a5e1fb1f82078d470541a9fb9031597ffe9 CHANGED HEADER Export-Package CHANGED CLAUSE org.eclipse.kura.db REMOVED PARAMETER version:1.0.1 ADDED PARAMETER version:1.1.0 CHANGED CLAUSE org.eclipse.kura.net.modem REMOVED PARAMETER version:1.1.2 ADDED PARAMETER version:1.2.0 CHANGED CLAUSE org.eclipse.kura.system REMOVED PARAMETER version:1.2.0 ADDED PARAMETER version:1.3.0 MAJOR RESOURCES MAJOR RESOURCE META-INF/maven/org.eclipse.kura/org.eclipse.kura.api/pom.properties ADDED SHA 387BD477D4BBAC2E8D3B80EA389D125F8EDDCB2E REMOVED SHA 3F3C5675FB0F4355B560B7B6E4ECFE64C3867586 MAJOR RESOURCE META-INF/maven/org.eclipse.kura/org.eclipse.kura.api/pom.xml REMOVED SHA 2CB15B7C1DAF19CDFFA2F2ED996739705B5DBE25 ADDED SHA 451DA2C6C04A965CEB5D67599C1DC7A481F38135 MAJOR RESOURCE org/eclipse/kura/KuraException.class REMOVED SHA D1A755B0846DB72854BB673080EAAA9C404E3100 ADDED SHA FAE616A8BE4CEE77563F25B149F8ACE6E7C01BDE MAJOR RESOURCE org/eclipse/kura/KuraRuntimeException.class REMOVED SHA 22195D3C39B857A7C53BAB98B19343A9BD871A34 ADDED SHA B503844B42A66F1B120CFC1C3888C470BB8D5FDF MAJOR RESOURCE org/eclipse/kura/bluetooth/BluetoothConnector.class REMOVED SHA 1EF5BEB499DF455A5E25125FE101AD1C8FF048DB ADDED SHA 754DC82F27AD8BD72524B3778F87DB2B3CBE21BB MAJOR RESOURCE org/eclipse/kura/channel/Channel.class REMOVED SHA 0B0544FCA4A9D077E860F03C034D3363C2910975 ADDED SHA EDC87FEA23DF884A3D2B17B280283887F7962526 MAJOR RESOURCE org/eclipse/kura/channel/ChannelRecord.class REMOVED SHA 6F5B5B7088CC5EB87DB9CCB9C64DD965D03BD271 ADDED SHA ACE99ABD78F8C546B0CA9C041B24265CF680F1FC MAJOR RESOURCE org/eclipse/kura/channel/ChannelStatus.class REMOVED SHA 339BE02DE108FB10F0316906F013D08229E9FE39 ADDED SHA A601E104A70D57076F4274E75933210D5F62DAFB MAJOR RESOURCE org/eclipse/kura/clock/ClockEvent.class ADDED SHA 9786A1601F442A0E19A3286531EE198BFDC2400E REMOVED SHA C0A41AF1A0A782B03434C8625480DF1AF22133DF MAJOR RESOURCE org/eclipse/kura/cloud/CloudCallService.class ADDED SHA 001960B5205328599747A4627CDD9DE5FE86C816 REMOVED SHA 1A6976572C1E92F1B8D5FF58D6E19762D47EF986 MAJOR RESOURCE org/eclipse/kura/cloud/CloudConnectionEstablishedEvent.class ADDED SHA 551FE44DF1A02DFFAC3CC097A9732AB434D76AFB REMOVED SHA CCCEE702262F290F30D6EF19598B4D0C579C57BD MAJOR RESOURCE org/eclipse/kura/cloud/CloudConnectionLostEvent.class ADDED SHA 39A943162A6A2BD228EA3D79B841DDA9617FB837 REMOVED SHA 9C0115BB613CC240A7B8F3F2F72F3229D3D9F739 MAJOR RESOURCE org/eclipse/kura/cloud/Cloudlet.class REMOVED SHA 178AF8B5A38F9A3D9E4BA1153DB38A914D69BEA7 ADDED SHA 92BAF55484B66566B99D036FE353E5905E4CC1DB MAJOR RESOURCE org/eclipse/kura/cloud/MessageHandlerCallable.class REMOVED SHA 1B5DDB0C75A8C81703E8660FCE8CB15B55ADF1D4 ADDED SHA 2B998427C44602AF71443D471923DDAEB3DED344 MAJOR RESOURCE org/eclipse/kura/comm/CommConnection.class REMOVED SHA 0BC10009F69C11CF9C5CF675DC9C88D3B8607004 ADDED SHA 548CFC78C2DFE2E45DD10C6BBB3E5071522E680F MAJOR RESOURCE org/eclipse/kura/configuration/KuraConfigReadyEvent.class ADDED SHA 9635AD1E494A11F580E0BC541131B64344CC1451 REMOVED SHA E67B75A5B7CFF2D063DAB399C4AB3B262DD27BFE MAJOR RESOURCE org/eclipse/kura/configuration/KuraNetConfigReadyEvent.class ADDED SHA 316D38E14395CC2F982670FF43EC5D7D868BEA2A REMOVED SHA 6B5FB6B86EC6ABAA5E58CC6674141B373569DA4B MAJOR RESOURCE org/eclipse/kura/data/DataTransportToken.class REMOVED SHA 584A4DE4A8883D320CB5715AAF5D7BD380FE7DE1 ADDED SHA B4C5C81CB72F280F47EADD899D17FEFBA395D969 ADDED RESOURCE org/eclipse/kura/db/BaseDbService.class ADDED SHA 4799F13B4F99E0E92E33C886496C8D9D40E57CC1 MAJOR RESOURCE org/eclipse/kura/db/DbService.class REMOVED SHA 83B30FA5C26495F817A73AFCB87C1DB48C6F88B6 ADDED SHA A003AAD01B8E2C049F00294AFA0D21311B864779 ADDED RESOURCE org/eclipse/kura/db/H2DbService.class ADDED SHA 076AE932D05366D710C7F0630A6ED35E484A0E56 MAJOR RESOURCE org/eclipse/kura/message/KuraPayload.class ADDED SHA 19ED94D5B04EDD19260A85584996544189A77AF5 REMOVED SHA 2BBB5CB8D94FE994A90EEB0B8D5983935D5BB9FD MAJOR RESOURCE org/eclipse/kura/net/IPAddress.class ADDED SHA 1AB4ED4BB2D871CDD77EBB9EED177B5F8FB8C67A REMOVED SHA 30BF5C1D09230EE3B9452F7CE3F0680574C3DA76 MAJOR RESOURCE org/eclipse/kura/net/NetConfigIP.class ADDED SHA 10B3D0BA2C015A220183DA7934C76AFD4A0589EA REMOVED SHA 66A1ABF94441DF20355452978B72EF4B7ACC9E25 MAJOR RESOURCE org/eclipse/kura/net/NetConfigIP4.class REMOVED SHA 6361A6C293BA83BF0A09D9B6727C64657C67AF9A ADDED SHA 83B200FA08EF00F3CD2787FC13F71689BC474DA6 MAJOR RESOURCE org/eclipse/kura/net/NetInterfaceAddedEvent.class ADDED SHA 44894E51C3BFA653AA3BA4A3A8AC6324A9667133 REMOVED SHA B15472290A3171296B57E4D26F7415C1763DFC0D MAJOR RESOURCE org/eclipse/kura/net/NetInterfaceRemovedEvent.class ADDED SHA 56EDD089AE55DA0409C45662CE6A120C67121B80 REMOVED SHA 59F7AED6C33DC00FF9832A8DE874179D697E1530 MAJOR RESOURCE org/eclipse/kura/net/NetInterfaceStateChangedEvent$Reason.class REMOVED SHA 308F366A9FAE811881077E76DE288109903F02B7 ADDED SHA 8C27C0C0391AF5A3E7F6AC89417C8868C9001427 MAJOR RESOURCE org/eclipse/kura/net/NetInterfaceStateChangedEvent.class REMOVED SHA BC58D0F640E0F643095DC83E9D149B443A7D3256 ADDED SHA D5B15516D1E37451496CDB8F5E00F1A370B4D9DC MAJOR RESOURCE org/eclipse/kura/net/NetworkPair.class REMOVED SHA 63C80FC58211DE9E8E63B1B9D9CCB78DDBF09A95 ADDED SHA C2A4148AD33B5520B1B26E9BE8C5ADE9AB8EDF4E MAJOR RESOURCE org/eclipse/kura/net/NetworkStateChangedEvent.class REMOVED SHA B1D7682BCE3B4AF75932F0FA5B8FF35918E0AF08 ADDED SHA EAA3CD39CD7D8D85633AAA02E344007E922681CC MAJOR RESOURCE org/eclipse/kura/net/dhcp/DhcpServerConfigIP.class REMOVED SHA 254E3ED8FAEE2151F218EDC7D434CAE4BC530440 ADDED SHA 84C512CBF7CEE77480CAC15C61B2D03B580F38DB MAJOR RESOURCE org/eclipse/kura/net/dns/DnsServerConfigIP.class REMOVED SHA 634302FBDB65683E53E0B5FCC146969FB644951A ADDED SHA EF5A9BC9D1205270AA09C8CBE401B2B0908E6AC4 MAJOR RESOURCE org/eclipse/kura/net/firewall/FirewallAutoNatConfig.class ADDED SHA 88A76F9D9D9022EEF96817E89974258CBD2B9E1A REMOVED SHA F9E70377BB3DD6BC64290BD5A434BEA4CA0CC00E MAJOR RESOURCE org/eclipse/kura/net/firewall/FirewallNatConfig.class REMOVED SHA B20206110634137E37FC6591E42E7B77B9DE2632 ADDED SHA ECFF876A9158AAA9214ED34421D0EF91DCF1ED87 MAJOR RESOURCE org/eclipse/kura/net/firewall/FirewallOpenPortConfigIP.class REMOVED SHA 1A9264A380C536A0CAE889B7911D9E973069E34A ADDED SHA 70466F4F1834556BEE33664D5A23AEC4BF0C9326 MAJOR RESOURCE org/eclipse/kura/net/firewall/FirewallPortForwardConfigIP.class ADDED SHA E3BD9EBAFF024CCFD0E3E7FDF99C32D5D8AE6E92 REMOVED SHA EC61CE70ABA9AD0E1BBFD77C069579CB62B4E291 MAJOR RESOURCE org/eclipse/kura/net/modem/ModemAddedEvent.class REMOVED SHA 017E077522D314B81F128370DF2C63A06F73446F ADDED SHA 71C6AD2FDDCFE84803FD758410122DFF1A72B021 MAJOR RESOURCE org/eclipse/kura/net/modem/ModemConfig$AuthType.class ADDED SHA 0C38F978B09FA99CB5F6F41251FCFD4DDD16E234 REMOVED SHA 6EF1A89BD4A2C91D912188A2DCF77666081963A0 MAJOR RESOURCE org/eclipse/kura/net/modem/ModemConfig$PdpType.class ADDED SHA 05793BF6AC448DA232416C4B5ED18DC50D72F9F2 REMOVED SHA 565A895154584419DA3E486E07B8BC16021C70C2 MAJOR RESOURCE org/eclipse/kura/net/modem/ModemConfig.class ADDED SHA 4E089CF7D12E91906BF0F62BE7F8E3280DBED40C REMOVED SHA 73AC1555633ED3971AE6D505ACBA10715DDEFE82 MAJOR RESOURCE org/eclipse/kura/net/modem/ModemGpsDisabledEvent.class ADDED SHA D4ECD5621BDCDECB5D62A537C3D03E6A3BF734BB REMOVED SHA FF4151DEAE1B1463FAEA9CA0C7474D4759A92845 MAJOR RESOURCE org/eclipse/kura/net/modem/ModemGpsEnabledEvent.class ADDED SHA A0C0DB494186F5EB3B2492676C5EDDCEDB6B7116 REMOVED SHA E8359324A8D05323C2F9BA1C21C09C76B4419F3C MAJOR RESOURCE org/eclipse/kura/net/modem/ModemReadyEvent.class ADDED SHA 39B6EF494AD5A8F2170302EC71165D1A004A1A2F REMOVED SHA 537AF1CC4941B7B66630A28F49ACA687F636E684 MAJOR RESOURCE org/eclipse/kura/net/modem/ModemRemovedEvent.class ADDED SHA 42E76F2F96CBE413B18B4BDECC3944ACC9E27395 REMOVED SHA DC1FEB25E67F1496ABFB9CA0A4E8AC3FD80E4D64 MAJOR RESOURCE org/eclipse/kura/net/route/RouteConfigIP.class ADDED SHA 01770FF1858A9664DCE5794E5001A29176145112 REMOVED SHA 90BD243B7881F71823DAF582B4746F3E8C237D14 MAJOR RESOURCE org/eclipse/kura/net/wifi/WifiAccessPointAddedEvent.class REMOVED SHA 26ED209A45461DB5D3F3C4291EC505D3F5C73DBC ADDED SHA E231CD0A50EC694EEC35E7C00316BADE59001F6F MAJOR RESOURCE org/eclipse/kura/net/wifi/WifiAccessPointRemovedEvent.class REMOVED SHA 19FE71A813FE74C286EBA9320F0C4DEE1184F0CE ADDED SHA AB09981D2C01127418B0F6D6F5D3E8CBB36738E1 MAJOR RESOURCE org/eclipse/kura/net/wifi/WifiConfig.class ADDED SHA 751C5DE47E6D9439F0222792AE974EAB3C265608 REMOVED SHA A1E572A025CAACBD5399DC9BA7537A7D67FA1E41 MAJOR RESOURCE org/eclipse/kura/net/wifi/WifiPassword.class ADDED SHA AB32A31C54B7AF33A625E639AC78DF16C0D6B306 REMOVED SHA F3B2F48B8481235E841C4FA8BF4E75E22FD70548 MAJOR RESOURCE org/eclipse/kura/position/PositionLockedEvent.class REMOVED SHA 4C15A91787A531870E528D69142DD56CB105CB84 ADDED SHA 7802D9AE9D27BB9ABA419F1B78BA6D85B3E12DBF MAJOR RESOURCE org/eclipse/kura/position/PositionLostEvent.class REMOVED SHA 8CBDD77FF704846A326ED18EA31E9DAB55CCBEFB ADDED SHA 935DEF15C5F361687D64CCF51BF91EF38A4569CC MAJOR RESOURCE org/eclipse/kura/position/PositionService.class REMOVED SHA 31B716F5CEA5AA82FBAD06170C296C0D19BF3FFC ADDED SHA 9082131FA47B8877EA8A2C27EA871AA988F2AB17 MAJOR RESOURCE org/eclipse/kura/ssl/SslManagerServiceOptions.class REMOVED SHA 0B7298810D4EAA3E73C9A8EE878DC5591FC4D5FA ADDED SHA 3F12ABCCEBF829FB84B9BBD2F3151DFFFC457321 MAJOR RESOURCE org/eclipse/kura/system/SystemService.class REMOVED SHA 4E4992A9A1065EA758D02435D8B947778B1FDEEA ADDED SHA 510DD2C57554D0560EFC21B837295958C6940024 MAJOR RESOURCE org/eclipse/kura/type/BooleanValue.class REMOVED SHA D4BAA4BDA9082428ACD22B2D6E7EEF7DFAD87A9F ADDED SHA E8A784B8BF258BCE2D2C8BC486D7C50BD590BB07 MAJOR RESOURCE org/eclipse/kura/type/ByteArrayValue.class REMOVED SHA 39AD8B470C549E9C586220B58E2F4F84B74EBB9D ADDED SHA D6A22AB2AE6CEF7A5E3B135DE008F096F0ACAE97 MAJOR RESOURCE org/eclipse/kura/type/DoubleValue.class REMOVED SHA 57AA0C547DB295D36CAAD00F313CB28080E725D5 ADDED SHA BDBCB030ACBF8B31B5C22213E9C76D22B569C28D MAJOR RESOURCE org/eclipse/kura/type/FloatValue.class ADDED SHA B9FEC603A35DA2AEDB3D63DDC913E3C51EF4949E REMOVED SHA D0DC542DF1870185B8561105D6906ACE778DE0ED MAJOR RESOURCE org/eclipse/kura/type/IntegerValue.class ADDED SHA 65AD5C7DE02E97146E6E153E2CE3B1771E5EE184 REMOVED SHA BAB419024DFD7CA30A28DD57E6066A39BAE4D631 MAJOR RESOURCE org/eclipse/kura/type/LongValue.class REMOVED SHA 190DD3E85A2FFD9A9415267AD81D7D21816539C2 ADDED SHA 8ED336B4977086D1E4B2621C8FFF752E683906B5 MAJOR RESOURCE org/eclipse/kura/type/StringValue.class ADDED SHA 06D22BE2C8D390672F69A6234A75804292123EC2 REMOVED SHA 121B35FDC668900246FF0C0017F457C8A5F8858B MAJOR RESOURCE org/eclipse/kura/usb/AbstractUsbDevice.class REMOVED SHA 22A9A199B8A1711D4890C16867DE4E26ECE27743 ADDED SHA 974841006FF247B5EE503616BEEC155639723534 MAJOR RESOURCE org/eclipse/kura/usb/UsbBlockDevice.class ADDED SHA 3EDF17F019D3F1F4AD70C0813E835DCED975A33E REMOVED SHA EF365AF6B8BA8B41C61C3B64C1A7CF396BB90845 MAJOR RESOURCE org/eclipse/kura/usb/UsbDeviceAddedEvent.class ADDED SHA 6DA976D0DE8A605008E4A2E47B6166E75B44BF5E REMOVED SHA 7B1CBD153EEF587A0AA0F0CCAAF8938C61DF21D2 MAJOR RESOURCE org/eclipse/kura/usb/UsbDeviceRemovedEvent.class REMOVED SHA 06F630B5ED42E9941C371E4353242554E4C2332C ADDED SHA CC85136F7CEC740E38670832571134CACCAD2128 MAJOR RESOURCE org/eclipse/kura/usb/UsbModemDevice.class REMOVED SHA 391D58C40D798615E76BF7C362D85A1F3CEDC2FC ADDED SHA 9D94CC5DC4A6EC37FB6F533BE43BA152ACEA8B87 MAJOR RESOURCE org/eclipse/kura/usb/UsbNetDevice.class ADDED SHA 29DDE456056398BE30798F108AA4C03EC83EF0D8 REMOVED SHA 81647EF77CEE21E0E85DB59B6C91E2A5011E8B65 MAJOR RESOURCE org/eclipse/kura/usb/UsbTtyDevice.class ADDED SHA 27E13EFECD5C06A898A97DAA306108D22A71A60E REMOVED SHA EF3AE949238896282C19819760E8C3EEC6527463 MAJOR RESOURCE org/eclipse/kura/wire/WireConfiguration.class REMOVED SHA 8A4BDA24B8E90552C52C711CBDA4D31152613269 ADDED SHA FCB1C44758D0352E52C347EC89B77A1EF1574B78 MAJOR RESOURCE org/eclipse/kura/wire/WireEmitter.class ADDED SHA 654D1D8BF6BAB1B4716B091D0918C5BD9A1794CA REMOVED SHA F183DAEBA308EBD72C2CB7FE91B43E06AB851EAC MAJOR RESOURCE org/eclipse/kura/wire/WireEnvelope.class ADDED SHA 690E890C9B7C49C55F08676D8D48BCA263C594BA REMOVED SHA DBB2D2E94A743DCA10B5598229D3353AB4F43EA0 MAJOR RESOURCE org/eclipse/kura/wire/WireReceiver.class ADDED SHA 0FC352AE44DE471F9DF6A7C39245CE85CD7DA6F5 REMOVED SHA 9580D719B498F6B40D81FEFF148B2DECD81D156B MAJOR RESOURCE org/eclipse/kura/wire/WireSupport.class REMOVED SHA BD79985A392F0C2BDA47A9B896AA3A2CE210C6F0 ADDED SHA D9F29039B6F6C3B3B83D9160E4A9669ABCEBD58B [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] kura ............................................... SUCCESS[ 1.134 s] [INFO] Kura Target Definition ............................. SUCCESS[ 0.119 s] [INFO] org.eclipse.kura.api ............................... FAILURE[ 3.631 s] [INFO] org.eclipse.kura.localization ...................... [SKIPPED] [INFO] org.eclipse.kura.localization.resources ............ [SKIPPED] [INFO] org.eclipse.kura.util .............................. [SKIPPED] [INFO] org.eclipse.kura.asset.cloudlet.provider ........... [SKIPPED] [INFO] org.eclipse.kura.core .............................. [SKIPPED] [INFO] org.eclipse.kura.core.configuration ................ [SKIPPED] [INFO] org.eclipse.kura.asset.provider .................... [SKIPPED] [INFO] org.eclipse.kura.asset.helper.provider ............. [SKIPPED] [INFO] org.eclipse.kura.camel ............................. [SKIPPED] [INFO] org.eclipse.kura.camel.cloud.factory ............... [SKIPPED] [INFO] org.eclipse.kura.camel.xml ......................... [SKIPPED] [INFO] org.eclipse.kura.core.certificates ................. [SKIPPED] [INFO] org.eclipse.kura.core.cloud ........................ [SKIPPED] [INFO] org.eclipse.kura.core.comm ......................... [SKIPPED] [INFO] org.eclipse.kura.core.crypto ....................... [SKIPPED] [INFO] org.eclipse.kura.core.deployment ................... [SKIPPED] [INFO] org.eclipse.kura.core.log .......................... [SKIPPED] [INFO] org.eclipse.kura.core.net .......................... [SKIPPED] [INFO] org.eclipse.kura.core.status ....................... [SKIPPED] [INFO] org.eclipse.kura.deployment.agent .................. [SKIPPED] [INFO] org.eclipse.kura.driver.helper.provider ............ [SKIPPED] [INFO] org.eclipse.kura.driver.opcua.localization ......... [SKIPPED] [INFO] org.eclipse.kura.driver.opcua.provider ............. [SKIPPED] [INFO] org.eclipse.kura.driver.block ...................... [SKIPPED] [INFO] org.eclipse.kura.driver.s7plc.localization ......... [SKIPPED] [INFO] org.eclipse.kura.driver.s7plc.provider ............. [SKIPPED] [INFO] org.eclipse.kura.linux.bluetooth ................... [SKIPPED] [INFO] org.eclipse.kura.linux.clock ....................... [SKIPPED] [INFO] org.eclipse.kura.linux.command ..................... [SKIPPED] [INFO] org.eclipse.kura.linux.gpio ........................ [SKIPPED] [INFO] org.eclipse.kura.linux.net ......................... [SKIPPED] [INFO] org.eclipse.kura.linux.position .................... [SKIPPED] [INFO] org.eclipse.kura.linux.usb ......................... [SKIPPED] [INFO] org.eclipse.kura.linux.usb.armv6hf ................. [SKIPPED] [INFO] org.eclipse.kura.linux.usb.x86_64 .................. [SKIPPED] [INFO] org.eclipse.kura.linux.watchdog .................... [SKIPPED] [INFO] org.eclipse.kura.net.admin ......................... [SKIPPED] [INFO] org.eclipse.kura.protocol.modbus ................... [SKIPPED] [INFO] org.eclipse.kura.stress ............................ [SKIPPED] [INFO] org.eclipse.kura.wire.script.filter.localization ... [SKIPPED] [INFO] org.eclipse.kura.wire.script.filter.provider ....... [SKIPPED] [INFO] org.eclipse.kura.wire.h2db.component.provider ...... [SKIPPED] [INFO] org.eclipse.kura.wire.component.provider ........... [SKIPPED] [INFO] org.eclipse.kura.wire.helper.provider .............. [SKIPPED] [INFO] org.eclipse.kura.wire.provider ..................... [SKIPPED] [INFO] features ........................................... [SKIPPED] [INFO] org.eclipse.kura.api.feature ....................... [SKIPPED] [INFO] org.eclipse.kura.camel.feature ..................... [SKIPPED] [INFO] org.eclipse.kura.runtime.feature ................... [SKIPPED] [INFO] org.eclipse.kura.protocol.modbus.feature ........... [SKIPPED] [INFO] org.eclipse.kura.driver.opcua.feature .............. [SKIPPED] [INFO] org.eclipse.kura.driver.s7plc.feature .............. [SKIPPED] [INFO] org.eclipse.kura.wire.script.filter.feature ........ [SKIPPED] [INFO] emulator ........................................... [SKIPPED] [INFO] org.eclipse.kura.emulator .......................... [SKIPPED] [INFO] org.eclipse.kura.emulator.gpio ..................... [SKIPPED] [INFO] org.eclipse.kura.emulator.clock .................... [SKIPPED] [INFO] org.eclipse.kura.emulator.net ...................... [SKIPPED] [INFO] org.eclipse.kura.emulator.position ................. [SKIPPED] [INFO] org.eclipse.kura.emulator.usb ...................... [SKIPPED] [INFO] org.eclipse.kura.emulator.watchdog ................. [SKIPPED] [INFO] org.eclipse.kura ................................... [SKIPPED] [INFO] test ............................................... [SKIPPED] [INFO] log4j.test.configuration ........................... [SKIPPED] [INFO] org.eclipse.kura.core.testutil ..................... [SKIPPED] [INFO] org.eclipse.kura.camel.test ........................ [SKIPPED] [INFO] org.eclipse.kura.cloud.test ........................ [SKIPPED] [INFO] org.eclipse.kura.core.certificates.test ............ [SKIPPED] [INFO] org.eclipse.kura.core.comm.test .................... [SKIPPED] [INFO] org.eclipse.kura.core.configuration.test ........... [SKIPPED] [INFO] org.eclipse.kura.core.cloud.test ................... [SKIPPED] [INFO] org.eclipse.kura.core.crypto.test .................. [SKIPPED] [INFO] org.eclipse.kura.core.db.test ...................... [SKIPPED] [INFO] org.eclipse.kura.core.deployment.test .............. [SKIPPED] [INFO] org.eclipse.kura.core.net.test ..................... [SKIPPED] [INFO] org.eclipse.kura.core.ssl.test ..................... [SKIPPED] [INFO] org.eclipse.kura.core.status.test .................. [SKIPPED] [INFO] org.eclipse.kura.test .............................. [SKIPPED] [INFO] org.eclipse.kura.core.system.test .................. [SKIPPED] [INFO] org.eclipse.kura.core.test ......................... [SKIPPED] [INFO] org.eclipse.kura.internal.wire.test ................ [SKIPPED] [INFO] org.eclipse.kura.linux.net.test .................... [SKIPPED] [INFO] org.eclipse.kura.linux.position.test ............... [SKIPPED] [INFO] org.eclipse.kura.net.admin.test .................... [SKIPPED] [INFO] org.eclipse.kura.wire.component.provider.test ...... [SKIPPED] [INFO] org.eclipse.kura.wire.h2db.component.provider.test . [SKIPPED] [INFO] org.eclipse.kura.stress.test ....................... [SKIPPED] [INFO] org.eclipse.kura.core.util.test .................... [SKIPPED] [INFO] org.eclipse.kura.wire.provider.test ................ [SKIPPED] [INFO] org.eclipse.kura.protocol.modbus.test .............. [SKIPPED] [INFO] org.eclipse.kura.driver.block.test ................. [SKIPPED] [INFO] org.eclipse.kura.web2 .............................. [SKIPPED] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 26.384 s [INFO] Finished at: 2017-08-24T10:06:46+08:00 [INFO] Final Memory: 94M/414M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal biz.aQute.bnd:bnd-baseline-maven-plugin:3.4.0:baseline(baseline)on project org.eclipse.kura.api An error occurred while calculating the baseline: The baselining plugin detected versioning errors -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the switch. [ERROR] Re-run Maven using the switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1]http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :org.eclipse.kura.api

markoer commented 7 years ago

For now, just try to run mvn with -Dbnd.baseline.skip=true or -Dbnd.baseline.continue.on.error=true.

OrangeAlex commented 7 years ago

@markoer hi markoer , i run the command mvn -Dbnd.baselin.skip=true, and the project can be compiled , but the test can not be run successfully, should i skip it using the command mvn -Dskiptests install? the log information as fellows : 18:46:57,546 [Framework stop] INFO Activator:106 - Camel activator stopping 18:46:57,547 [Framework stop] INFO Activator:109 - Camel activator stopped [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] kura ............................................... SUCCESS [ 1.186 s] [INFO] Kura Target Definition ............................. SUCCESS [ 0.137 s] [INFO] org.eclipse.kura.api ............................... SUCCESS [ 3.542 s] [INFO] org.eclipse.kura.localization ...................... SUCCESS [ 1.713 s] [INFO] org.eclipse.kura.localization.resources ............ SUCCESS [ 1.599 s] [INFO] org.eclipse.kura.util .............................. SUCCESS [ 1.625 s] [INFO] org.eclipse.kura.asset.cloudlet.provider ........... SUCCESS [ 1.749 s] [INFO] org.eclipse.kura.core .............................. SUCCESS [ 1.835 s] [INFO] org.eclipse.kura.core.configuration ................ SUCCESS [ 1.718 s] [INFO] org.eclipse.kura.asset.provider .................... SUCCESS [ 1.681 s] [INFO] org.eclipse.kura.asset.helper.provider ............. SUCCESS [ 1.640 s] [INFO] org.eclipse.kura.camel ............................. SUCCESS [ 1.727 s] [INFO] org.eclipse.kura.camel.cloud.factory ............... SUCCESS [ 1.572 s] [INFO] org.eclipse.kura.camel.xml ......................... SUCCESS [ 1.562 s] [INFO] org.eclipse.kura.core.certificates ................. SUCCESS [ 1.615 s] [INFO] org.eclipse.kura.core.cloud ........................ SUCCESS [ 1.771 s] [INFO] org.eclipse.kura.core.comm ......................... SUCCESS [ 1.621 s] [INFO] org.eclipse.kura.core.crypto ....................... SUCCESS [ 1.717 s] [INFO] org.eclipse.kura.core.deployment ................... SUCCESS [ 1.734 s] [INFO] org.eclipse.kura.core.log .......................... SUCCESS [ 1.601 s] [INFO] org.eclipse.kura.core.net .......................... SUCCESS [ 1.649 s] [INFO] org.eclipse.kura.core.status ....................... SUCCESS [ 1.529 s] [INFO] org.eclipse.kura.deployment.agent .................. SUCCESS [ 1.659 s] [INFO] org.eclipse.kura.driver.helper.provider ............ SUCCESS [ 1.633 s] [INFO] org.eclipse.kura.driver.opcua.localization ......... SUCCESS [ 1.555 s] [INFO] org.eclipse.kura.driver.opcua.provider ............. SUCCESS [ 2.052 s] [INFO] org.eclipse.kura.driver.block ...................... SUCCESS [ 1.596 s] [INFO] org.eclipse.kura.driver.s7plc.localization ......... SUCCESS [ 1.589 s] [INFO] org.eclipse.kura.driver.s7plc.provider ............. SUCCESS [ 2.715 s] [INFO] org.eclipse.kura.linux.bluetooth ................... SUCCESS [ 1.658 s] [INFO] org.eclipse.kura.linux.clock ....................... SUCCESS [ 1.604 s] [INFO] org.eclipse.kura.linux.command ..................... SUCCESS [ 1.759 s] [INFO] org.eclipse.kura.linux.gpio ........................ SUCCESS [ 1.603 s] [INFO] org.eclipse.kura.linux.net ......................... SUCCESS [ 1.725 s] [INFO] org.eclipse.kura.linux.position .................... SUCCESS [ 1.601 s] [INFO] org.eclipse.kura.linux.usb ......................... SUCCESS [ 1.587 s] [INFO] org.eclipse.kura.linux.usb.armv6hf ................. SUCCESS [ 0.818 s] [INFO] org.eclipse.kura.linux.usb.x86_64 .................. SUCCESS [ 0.841 s] [INFO] org.eclipse.kura.linux.watchdog .................... SUCCESS [ 1.654 s] [INFO] org.eclipse.kura.net.admin ......................... SUCCESS [ 1.837 s] [INFO] org.eclipse.kura.protocol.modbus ................... SUCCESS [ 1.599 s] [INFO] org.eclipse.kura.stress ............................ SUCCESS [ 1.638 s] [INFO] org.eclipse.kura.wire.script.filter.localization ... SUCCESS [ 1.629 s] [INFO] org.eclipse.kura.wire.script.filter.provider ....... SUCCESS [ 1.581 s] [INFO] org.eclipse.kura.wire.h2db.component.provider ...... SUCCESS [ 1.580 s] [INFO] org.eclipse.kura.wire.component.provider ........... SUCCESS [ 1.652 s] [INFO] org.eclipse.kura.wire.helper.provider .............. SUCCESS [ 1.606 s] [INFO] org.eclipse.kura.wire.provider ..................... SUCCESS [ 1.519 s] [INFO] features ........................................... SUCCESS [ 0.044 s] [INFO] org.eclipse.kura.api.feature ....................... SUCCESS [ 1.700 s] [INFO] org.eclipse.kura.camel.feature ..................... SUCCESS [ 1.589 s] [INFO] org.eclipse.kura.runtime.feature ................... SUCCESS [ 0.786 s] [INFO] org.eclipse.kura.protocol.modbus.feature ........... SUCCESS [ 0.843 s] [INFO] org.eclipse.kura.driver.opcua.feature .............. SUCCESS [ 1.147 s] [INFO] org.eclipse.kura.driver.s7plc.feature .............. SUCCESS [ 0.820 s] [INFO] org.eclipse.kura.wire.script.filter.feature ........ SUCCESS [ 0.781 s] [INFO] emulator ........................................... SUCCESS [ 0.062 s] [INFO] org.eclipse.kura.emulator .......................... SUCCESS [ 1.548 s] [INFO] org.eclipse.kura.emulator.gpio ..................... SUCCESS [ 1.570 s] [INFO] org.eclipse.kura.emulator.clock .................... SUCCESS [ 1.606 s] [INFO] org.eclipse.kura.emulator.net ...................... SUCCESS [ 1.688 s] [INFO] org.eclipse.kura.emulator.position ................. SUCCESS [ 1.569 s] [INFO] org.eclipse.kura.emulator.usb ...................... SUCCESS [ 1.626 s] [INFO] org.eclipse.kura.emulator.watchdog ................. SUCCESS [ 1.543 s] [INFO] org.eclipse.kura ................................... SUCCESS [ 1.630 s] [INFO] test ............................................... SUCCESS [ 1.045 s] [INFO] log4j.test.configuration ........................... SUCCESS [ 2.272 s] [INFO] org.eclipse.kura.core.testutil ..................... SUCCESS [ 2.381 s] [INFO] org.eclipse.kura.camel.test ........................ FAILURE [ 7.690 s] [INFO] org.eclipse.kura.cloud.test ........................ SKIPPED [INFO] org.eclipse.kura.core.certificates.test ............ SKIPPED [INFO] org.eclipse.kura.core.comm.test .................... SKIPPED [INFO] org.eclipse.kura.core.configuration.test ........... SKIPPED [INFO] org.eclipse.kura.core.cloud.test ................... SKIPPED [INFO] org.eclipse.kura.core.crypto.test .................. SKIPPED [INFO] org.eclipse.kura.core.db.test ...................... SKIPPED [INFO] org.eclipse.kura.core.deployment.test .............. SKIPPED [INFO] org.eclipse.kura.core.net.test ..................... SKIPPED [INFO] org.eclipse.kura.core.ssl.test ..................... SKIPPED [INFO] org.eclipse.kura.core.status.test .................. SKIPPED [INFO] org.eclipse.kura.test .............................. SKIPPED [INFO] org.eclipse.kura.core.system.test .................. SKIPPED [INFO] org.eclipse.kura.core.test ......................... SKIPPED [INFO] org.eclipse.kura.internal.wire.test ................ SKIPPED [INFO] org.eclipse.kura.linux.net.test .................... SKIPPED [INFO] org.eclipse.kura.linux.position.test ............... SKIPPED [INFO] org.eclipse.kura.net.admin.test .................... SKIPPED [INFO] org.eclipse.kura.wire.component.provider.test ...... SKIPPED [INFO] org.eclipse.kura.wire.h2db.component.provider.test . SKIPPED [INFO] org.eclipse.kura.stress.test ....................... SKIPPED [INFO] org.eclipse.kura.core.util.test .................... SKIPPED [INFO] org.eclipse.kura.wire.provider.test ................ SKIPPED [INFO] org.eclipse.kura.protocol.modbus.test .............. SKIPPED [INFO] org.eclipse.kura.driver.block.test ................. SKIPPED [INFO] org.eclipse.kura.web2 .............................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:17 min [INFO] Finished at: 2017-08-24T18:46:57+08:00 [INFO] Final Memory: 107M/367M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:0.26.0:test (default-test) on project org.eclipse.kura.camel.test: There are test failures. [ERROR] [ERROR] Please refer to /home/iot/iot-kura-develop/git/kura/kura/test/org.eclipse.kura.camel.test/target/surefire-reports for the individual test results. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command

markoer commented 7 years ago

You may skip the tests. But I would still appreciate it if you could post some more of the log, here. At least to see which test(s) cause the build to fail, maybe even why.

OrangeAlex commented 7 years ago

@markoer the detail of the test error information log :

T E S T S

Running org.eclipse.kura.camel.component.RouterTest Tests run: 10, Failures: 0, Errors: 10, Skipped: 0, Time elapsed: 0.115 sec <<< FAILURE! - in org.eclipse.kura.camel.component.RouterTest testLoadXmlUpdateOther(org.eclipse.kura.camel.component.RouterTest) Time elapsed: 0.004 sec <<< ERROR! java.lang.Error: Unresolved compilation problem: FrameworkUtil cannot be resolved

at org.eclipse.kura.camel.component.AbstractRouterTest.before(AbstractRouterTest.java:38)
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:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
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:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:156)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:82)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:95)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.run(HeadlessTestApplication.java:21)
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:498)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
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:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)

testLoadXmlUpdateOther(org.eclipse.kura.camel.component.RouterTest) Time elapsed: 0.013 sec <<< ERROR! java.lang.NullPointerException: null at org.eclipse.kura.camel.component.AbstractRouterTest.after(AbstractRouterTest.java:44) 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:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) 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:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:156) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:82) at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:95) at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.run(HeadlessTestApplication.java:21) 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:498) at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243) 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:498) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610) at org.eclipse.equinox.launcher.Main.run(Main.java:1519) at org.eclipse.equinox.launcher.Main.main(Main.java:1492)

testLoadXmlUpdateSame(org.eclipse.kura.camel.component.RouterTest) Time elapsed: 0 sec <<< ERROR! java.lang.Error: Unresolved compilation problem: FrameworkUtil cannot be resolved

at org.eclipse.kura.camel.component.AbstractRouterTest.before(AbstractRouterTest.java:38)
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:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
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:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:156)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:82)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:95)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.run(HeadlessTestApplication.java:21)
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:498)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
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:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)

testLoadXmlUpdateSame(org.eclipse.kura.camel.component.RouterTest) Time elapsed: 0.001 sec <<< ERROR! java.lang.NullPointerException: null at org.eclipse.kura.camel.component.AbstractRouterTest.after(AbstractRouterTest.java:44) 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:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) 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:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:156) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:82) at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:95) at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.run(HeadlessTestApplication.java:21) 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:498) at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243) 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:498) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610) at org.eclipse.equinox.launcher.Main.run(Main.java:1519) at org.eclipse.equinox.launcher.Main.main(Main.java:1492)

testLoadNothing(org.eclipse.kura.camel.component.RouterTest) Time elapsed: 0 sec <<< ERROR! java.lang.Error: Unresolved compilation problem: FrameworkUtil cannot be resolved

at org.eclipse.kura.camel.component.AbstractRouterTest.before(AbstractRouterTest.java:38)
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:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
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:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:156)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:82)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:95)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.run(HeadlessTestApplication.java:21)
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:498)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
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:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)

testLoadNothing(org.eclipse.kura.camel.component.RouterTest) Time elapsed: 0.001 sec <<< ERROR! java.lang.NullPointerException: null at org.eclipse.kura.camel.component.AbstractRouterTest.after(AbstractRouterTest.java:44) 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:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) 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:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:156) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:82) at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:95) at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.run(HeadlessTestApplication.java:21) 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:498) at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243) 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:498) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610) at org.eclipse.equinox.launcher.Main.run(Main.java:1519) at org.eclipse.equinox.launcher.Main.main(Main.java:1492)

testLoadXmlOnce(org.eclipse.kura.camel.component.RouterTest) Time elapsed: 0 sec <<< ERROR! java.lang.Error: Unresolved compilation problem: FrameworkUtil cannot be resolved

at org.eclipse.kura.camel.component.AbstractRouterTest.before(AbstractRouterTest.java:38)
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:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
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:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:156)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:82)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:95)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.run(HeadlessTestApplication.java:21)
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:498)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
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:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)

testLoadXmlOnce(org.eclipse.kura.camel.component.RouterTest) Time elapsed: 0.001 sec <<< ERROR! java.lang.NullPointerException: null at org.eclipse.kura.camel.component.AbstractRouterTest.after(AbstractRouterTest.java:44) 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:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) 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:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:156) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:82) at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:95) at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.run(HeadlessTestApplication.java:21) 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:498) at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243) 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:498) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610) at org.eclipse.equinox.launcher.Main.run(Main.java:1519) at org.eclipse.equinox.launcher.Main.main(Main.java:1492)

testLoadXmlTwice(org.eclipse.kura.camel.component.RouterTest) Time elapsed: 0 sec <<< ERROR! java.lang.Error: Unresolved compilation problem: FrameworkUtil cannot be resolved

at org.eclipse.kura.camel.component.AbstractRouterTest.before(AbstractRouterTest.java:38)
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:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
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:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:156)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:82)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:95)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.run(HeadlessTestApplication.java:21)
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:498)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
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:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)

testLoadXmlTwice(org.eclipse.kura.camel.component.RouterTest) Time elapsed: 0 sec <<< ERROR! java.lang.NullPointerException: null at org.eclipse.kura.camel.component.AbstractRouterTest.after(AbstractRouterTest.java:44) 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:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) 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:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:156) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:82) at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:95) at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.run(HeadlessTestApplication.java:21) 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:498) at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243) 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:498) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610) at org.eclipse.equinox.launcher.Main.run(Main.java:1519) at org.eclipse.equinox.launcher.Main.main(Main.java:1492)

Running org.eclipse.kura.camel.component.PayloadTest Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.002 sec <<< FAILURE! - in org.eclipse.kura.camel.component.PayloadTest test1(org.eclipse.kura.camel.component.PayloadTest) Time elapsed: 0 sec <<< ERROR! java.lang.Error: Unresolved compilation problem: FrameworkUtil cannot be resolved

at org.eclipse.kura.camel.component.AbstractRouterTest.before(AbstractRouterTest.java:38)
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:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
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:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:156)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:82)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:95)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.run(HeadlessTestApplication.java:21)
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:498)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
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:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)

test1(org.eclipse.kura.camel.component.PayloadTest) Time elapsed: 0.001 sec <<< ERROR! java.lang.NullPointerException: null at org.eclipse.kura.camel.component.AbstractRouterTest.after(AbstractRouterTest.java:44) 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:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) 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:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:156) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:82) at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:95) at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.run(HeadlessTestApplication.java:21) 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:498) at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243) 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:498) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610) at org.eclipse.equinox.launcher.Main.run(Main.java:1519) at org.eclipse.equinox.launcher.Main.main(Main.java:1492)

Running org.eclipse.kura.camel.runner.ScriptRunnerTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.028 sec - in org.eclipse.kura.camel.runner.ScriptRunnerTest testScript1(org.eclipse.kura.camel.runner.ScriptRunnerTest) Time elapsed: 0.995 sec testScript2(org.eclipse.kura.camel.runner.ScriptRunnerTest) Time elapsed: 0.032 sec Running org.eclipse.kura.camel.DependencyRunnerTest Ready: {} Not ready Ready: {bar=java.lang.Object@5939f047, foo=java.lang.Object@17332039} Not ready Ready: {bar=java.lang.Object@5939f047, foo=java.lang.Object@17332039} Not ready Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec - in org.eclipse.kura.camel.DependencyRunnerTest testEmpty1(org.eclipse.kura.camel.DependencyRunnerTest) Time elapsed: 0.003 sec testSimple1(org.eclipse.kura.camel.DependencyRunnerTest) Time elapsed: 0.002 sec testSimple2(org.eclipse.kura.camel.DependencyRunnerTest) Time elapsed: 0 sec Running org.eclipse.kura.camel.type.TypeConverterTest Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.002 sec <<< FAILURE! - in org.eclipse.kura.camel.type.TypeConverterTest testFromMap(org.eclipse.kura.camel.type.TypeConverterTest) Time elapsed: 0 sec <<< ERROR! java.lang.Error: Unresolved compilation problem: FrameworkUtil cannot be resolved

at org.eclipse.kura.camel.component.AbstractRouterTest.before(AbstractRouterTest.java:38)
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:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
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:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:156)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:82)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:95)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.run(HeadlessTestApplication.java:21)
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:498)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
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:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)

testFromMap(org.eclipse.kura.camel.type.TypeConverterTest) Time elapsed: 0.001 sec <<< ERROR! java.lang.NullPointerException: null at org.eclipse.kura.camel.component.AbstractRouterTest.after(AbstractRouterTest.java:44) 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:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) 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:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:156) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:82) at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:95) at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.run(HeadlessTestApplication.java:21) 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:498) at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243) 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:498) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610) at org.eclipse.equinox.launcher.Main.run(Main.java:1519) at org.eclipse.equinox.launcher.Main.main(Main.java:1492)

Results :

Tests in error: RouterTest>AbstractRouterTest.before:38 ? Unresolved compilation problem: F... RouterTest>AbstractRouterTest.after:44 ?NullPointer RouterTest>AbstractRouterTest.before:38 ? Unresolved compilation problem: F... RouterTest>AbstractRouterTest.after:44 ?NullPointer RouterTest>AbstractRouterTest.before:38 ? Unresolved compilation problem: F... RouterTest>AbstractRouterTest.after:44 ?NullPointer RouterTest>AbstractRouterTest.before:38 ? Unresolved compilation problem: F... RouterTest>AbstractRouterTest.after:44 ?NullPointer RouterTest>AbstractRouterTest.before:38 ? Unresolved compilation problem: F... RouterTest>AbstractRouterTest.after:44 ?NullPointer PayloadTest>AbstractRouterTest.before:38 ? Unresolved compilation problem: ... PayloadTest>AbstractRouterTest.after:44 ?NullPointer TypeConverterTest>AbstractRouterTest.before:38 ? Unresolved compilation probl... TypeConverterTest>AbstractRouterTest.after:44 ?NullPointer

Tests run: 19, Failures: 0, Errors: 14, Skipped: 0

18:46:57,546 [Framework stop] INFO Activator:106 - Camel activator stopping 18:46:57,547 [Framework stop] INFO Activator:109 - Camel activator stopped

markoer commented 7 years ago

Please indulge me for a minute.... What happens to these tests if you add

                    <dependencies>
                        <dependency>
                            <type>p2-installable-unit</type>
                            <artifactId>org.eclipse.osgi</artifactId>
                        </dependency>
                    </dependencies>

into kura/test/org.eclipse.kura.camel.test/pom.xml under

    <build>
        <plugins>
            <plugin>
                <groupId>org.eclipse.tycho</groupId>
                <artifactId>tycho-surefire-plugin</artifactId>
                <configuration>

i.e. just below the last </bundleStartLevel>?

OrangeAlex commented 7 years ago

@markoer hi, markoer , i add

p2-installable-unit org.eclipse.osgi

into kura/test/org.eclipse.kura.camel.test/pom.xml under

<build>
    <plugins>
        <plugin>
            <groupId>org.eclipse.tycho</groupId>
            <artifactId>tycho-surefire-plugin</artifactId>
            <configuration>

but the problem still exists

OrangeAlex commented 7 years ago

@markoer hi Markoer , i think i have been compiled the kura project successfully except to the test . how to start the kura via the cli?

markoer commented 7 years ago

You generally don't. You install Kura on one of the supported gateways (Raspberry Pi, BeagleBone Black, etc.) and run it there. You could also run it in an emulator in IDE on your development machine.

OrangeAlex commented 7 years ago

@markoer hi markoer, i have install Kura 3.0.0 one Raspberry Pi successfully , and then login in the Kura Web UI ,the Kura can run successfully . i have a question that does the Kura support the OPC-AU access?

amitjoy commented 7 years ago

@markoer hi markoer, i have install Kura 3.0.0 one Raspberry Pi successfully , and then login in the Kura Web UI ,the Kura can run successfully . i have a question that does the Kura support the OPC-AU access?

It does.

OrangeAlex commented 7 years ago

@amitjoy thank you very much

OrangeAlex commented 7 years ago

@markoer @amitjoy after i install Kura on my Raspberry Pi , i found that my Raspberry Pi can not access internet via wifi , i chech the config file under the path /etc/network/interfaces, i found Kura has been modify the file automatically, so how to config kura , and we can let my Raspberry Pi access internet ? any good suggestion?

MMaiero commented 7 years ago

Hi, unless you install the NN version of Kura, the networking is managed directly by the framework. You can modify the networking configurations accessing the Kura web UI.

I would suggest having a look at the Kura documentation available here: http://eclipse.github.io/kura/

Best regards, Matteo

MMaiero commented 7 years ago

I believe that this issue can be marked now as solved.

OrangeAlex commented 7 years ago

@MMaiero thank you for your information , but i have a question that how to install the OPC UA driver and server simulator, according the document on the official , we must install OPC UA driver via the Eclipse Kura Marketplace, but you konw i install the kura on the Raspberry Pi , so how do i do to install them?

MMaiero commented 7 years ago

It's pretty easy:

Best regards, Matteo

MMaiero commented 7 years ago

Closing, since the issue seems to be solved.