ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ozerov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-5088) problems with trying OSGi
Date Wed, 26 Apr 2017 14:21:04 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-5088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vladimir Ozerov updated IGNITE-5088:
------------------------------------
    Priority: Minor  (was: Major)

> problems with trying OSGi
> -------------------------
>
>                 Key: IGNITE-5088
>                 URL: https://issues.apache.org/jira/browse/IGNITE-5088
>             Project: Ignite
>          Issue Type: Bug
>          Components: osgi
>            Reporter: Pavel Konstantinov
>            Priority: Minor
>             Fix For: 2.0
>
>
> I've tried to execute test suit from AI 2.0 source build but faced with error.
> I went through apache-ignite-2.0.0-src/modules/osgi/README.txt and stuck on this step
> {code}
> You may then run the OSGi test suite:
>    mvn test -Dtest=IgniteOsgiTestSuite
> {code}
> Actually I ran such command
> {code}
> mvn test -Dtest=IgniteOsgiTestSuite -DfailIfNoTests=false
> {code}
> and got the following result
> {code}
> Results :
> Tests in error: 
>   IgniteOsgiServiceTest.testServiceExposedAndCallbacksInvoked » MalformedURL unk...
>   IgniteKarafFeaturesInstallationTest.testAllBundlesActiveAndFeaturesInstalled » MalformedURL
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] ignite-apache-license-gen .......................... SUCCESS [  1.054 s]
> [INFO] ignite-tools ....................................... SUCCESS [  2.244 s]
> [INFO] ignite-core ........................................ SUCCESS [ 46.015 s]
> [INFO] ignite-log4j ....................................... SUCCESS [  0.530 s]
> [INFO] ignite-indexing .................................... SUCCESS [  1.589 s]
> [INFO] ignite-urideploy ................................... SUCCESS [  0.933 s]
> [INFO] ignite-spring ...................................... SUCCESS [  0.959 s]
> [INFO] ignite-hadoop ...................................... SUCCESS [  2.595 s]
> [INFO] ignite-extdata-p2p ................................. SUCCESS [  0.384 s]
> [INFO] ignite-extdata-uri-dep ............................. SUCCESS [  0.126 s]
> [INFO] ignite-extdata-uri ................................. SUCCESS [  0.454 s]
> [INFO] ignite-rest-http ................................... SUCCESS [  0.799 s]
> [INFO] ignite-clients ..................................... SUCCESS [  0.284 s]
> [INFO] ignite-spring-data ................................. SUCCESS [  0.297 s]
> [INFO] ignite-web ......................................... SUCCESS [  0.544 s]
> [INFO] ignite-aop ......................................... SUCCESS [  0.616 s]
> [INFO] ignite-ssh ......................................... SUCCESS [  0.395 s]
> [INFO] ignite-jta ......................................... SUCCESS [  0.552 s]
> [INFO] ignite-aws ......................................... SUCCESS [  0.904 s]
> [INFO] ignite-log4j2 ...................................... SUCCESS [  0.702 s]
> [INFO] ignite-slf4j ....................................... SUCCESS [  0.412 s]
> [INFO] ignite-jcl ......................................... SUCCESS [  0.563 s]
> [INFO] ignite-codegen ..................................... SUCCESS [  0.116 s]
> [INFO] ignite-gce ......................................... SUCCESS [  0.334 s]
> [INFO] ignite-cloud ....................................... SUCCESS [  2.381 s]
> [INFO] ignite-mesos ....................................... SUCCESS [  0.223 s]
> [INFO] ignite-kafka ....................................... SUCCESS [  1.443 s]
> [INFO] ignite-flume ....................................... SUCCESS [  0.894 s]
> [INFO] ignite-yarn ........................................ SUCCESS [  0.628 s]
> [INFO] ignite-jms11 ....................................... SUCCESS [  0.753 s]
> [INFO] ignite-twitter ..................................... SUCCESS [  0.589 s]
> [INFO] ignite-mqtt ........................................ SUCCESS [  1.343 s]
> [INFO] ignite-zookeeper ................................... SUCCESS [  0.558 s]
> [INFO] ignite-camel ....................................... SUCCESS [  1.086 s]
> [INFO] ignite-storm ....................................... SUCCESS [  0.312 s]
> [INFO] ignite-osgi-paxlogging ............................. SUCCESS [  0.109 s]
> [INFO] ignite-osgi-karaf .................................. SUCCESS [  0.049 s]
> [INFO] ignite-osgi ........................................ FAILURE [  1.273 s]
> [INFO] ignite-appserver-test .............................. SKIPPED
> [INFO] ignite-websphere-test .............................. SKIPPED
> [INFO] ignite-cassandra ................................... SKIPPED
> [INFO] ignite-cassandra-store ............................. SKIPPED
> [INFO] ignite-cassandra-serializers ....................... SKIPPED
> [INFO] ignite-flink ....................................... SKIPPED
> [INFO] ignite-kubernetes .................................. SKIPPED
> [INFO] ignite-zeromq ...................................... SKIPPED
> [INFO] ignite-scalar ...................................... SKIPPED
> [INFO] ignite-spark ....................................... SKIPPED
> [INFO] ignite-visor-console ............................... SKIPPED
> [INFO] ignite-visor-plugins ............................... SKIPPED
> [INFO] apache-ignite ...................................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 01:16 min
> [INFO] Finished at: 2017-04-26T18:08:09+07:00
> [INFO] Final Memory: 230M/1485M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test
(default-test) on project ignite-osgi: There are test failures.
> [ERROR] 
> [ERROR] Please refer to apache-ignite-2.0.0-src/modules/osgi/target/surefire-reports
for the individual test results.
> {code}
> and here is a content of surefire-reports file
> {code}
> -------------------------------------------------------------------------------
> Test set: org.apache.ignite.osgi.IgniteOsgiTestSuite
> -------------------------------------------------------------------------------
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.165 sec <<<
FAILURE! - in org.apache.ignite.osgi.IgniteOsgiTestSuite
> testServiceExposedAndCallbacksInvoked(org.apache.ignite.osgi.IgniteOsgiServiceTest) 
Time elapsed: 0.021 sec  <<< ERROR!
> java.net.MalformedURLException: unknown protocol: mvn
> 	at java.net.URL.<init>(URL.java:600)
> 	at java.net.URL.<init>(URL.java:490)
> 	at java.net.URL.<init>(URL.java:439)
> 	at org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer.start(KarafTestContainer.java:148)
> 	at org.ops4j.pax.exam.spi.reactors.AllConfinedStagedReactor.invoke(AllConfinedStagedReactor.java:79)
> 	at org.ops4j.pax.exam.junit.impl.ProbeRunner$2.evaluate(ProbeRunner.java:267)
> 	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.ops4j.pax.exam.junit.impl.ProbeRunner.run(ProbeRunner.java:98)
> 	at org.ops4j.pax.exam.junit.PaxExam.run(PaxExam.java:93)
> 	at org.junit.runners.Suite.runChild(Suite.java:128)
> 	at org.junit.runners.Suite.runChild(Suite.java:27)
> 	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.apache.maven.plugin.surefire.InPluginVMSurefireStarter.runSuitesInProcess(InPluginVMSurefireStarter.java:82)
> 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:951)
> 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:831)
> 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:729)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
> 	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
> 	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)
> testAllBundlesActiveAndFeaturesInstalled(org.apache.ignite.osgi.IgniteKarafFeaturesInstallationTest)
 Time elapsed: 0.002 sec  <<< ERROR!
> java.net.MalformedURLException: unknown protocol: mvn
> 	at java.net.URL.<init>(URL.java:600)
> 	at java.net.URL.<init>(URL.java:490)
> 	at java.net.URL.<init>(URL.java:439)
> 	at org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer.start(KarafTestContainer.java:148)
> 	at org.ops4j.pax.exam.spi.reactors.AllConfinedStagedReactor.invoke(AllConfinedStagedReactor.java:79)
> 	at org.ops4j.pax.exam.junit.impl.ProbeRunner$2.evaluate(ProbeRunner.java:267)
> 	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.ops4j.pax.exam.junit.impl.ProbeRunner.run(ProbeRunner.java:98)
> 	at org.ops4j.pax.exam.junit.PaxExam.run(PaxExam.java:93)
> 	at org.junit.runners.Suite.runChild(Suite.java:128)
> 	at org.junit.runners.Suite.runChild(Suite.java:27)
> 	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.apache.maven.plugin.surefire.InPluginVMSurefireStarter.runSuitesInProcess(InPluginVMSurefireStarter.java:82)
> 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:951)
> 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:831)
> 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:729)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
> 	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
> 	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)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message