Closed OrangeAlex closed 7 years ago
Could you check if:
file:////
? You could run find . -name pom.xml | xargs grep 'file:////'
to find such files/lines.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.
@OrangeAlex Can you please provide the output of mvn -version
@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"
@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
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.
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.
Refresh resources... Took 61 seconds. Press Finish to close the dialog.
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?
hi markoer, i have already modified the number of slashes in URLs in Kura/pom.xml, i delete a slashes like follow :
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.
@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?
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
@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
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]
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
@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 ?
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.
@markoer thank you very much , i can download via the full path, so maybe i must download so many package ~_~
@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 ...
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?
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.
@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:
@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 ...
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/.
@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?
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...
@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
@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
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.
@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
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?
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.
@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
For now, just try to run mvn with -Dbnd.baseline.skip=true or -Dbnd.baseline.continue.on.error=true.
@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
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.
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
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>
?
@markoer hi, markoer , i add
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
@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?
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.
@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?
@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.
@amitjoy thank you very much
@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?
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
I believe that this issue can be marked now as solved.
@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?
It's pretty easy:
Best regards, Matteo
Closing, since the issue seems to be solved.
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