Can anyone reproduce the failing karaf vagrant symptoms when running the verify script? I am running on Ubuntu 14.04 using JDK 1.8.0_121. I attached the logs.
On Tue, Feb 21, 2017 at 05:05:19PM +0100, Ignasi Barrera wrote: > Hi! > > While testing the new Azure ARM security group extension I've found a > small issue here [1]. Basically we are not dealing properly the "all > protocols" firewall rules, and will always fail to create them. > > Given that the SecurityGroupExtension (along with Packet and Vagrant) > is one of the important features we're releasing in 2.0.1, I'd like to > propose to cancel the RC1 and cut a RC2 with a fix for that. > The fix is pretty straightforward, and I'd also have a look at the > vagrant feature thing in Karaf (although all tests passed locally for > me). > > WDYT? The change would only affect labs. I don't pretend to be > releasing the other unrelated repos again, so I hope to be able to > have the RC2 prepared tonight/early tomorrow. > > > Cheers! > > I. > > > [1] > https://github.com/jclouds/jclouds-labs/blob/master/azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/compute/extensions/AzureComputeSecurityGroupExtension.java#L217 > > On 19 February 2017 at 20:59, Andrew Gaul <g...@apache.org> wrote: > > I attached integration test results against aws-s3, azureblob, b2, > > filesystem, glacier, google-cloud-storage, rackspace-cloudfiles-us, s3 > > (dreamhost), and transient. > > > > On Fri, Feb 17, 2017 at 05:05:24PM +0100, Ignasi Barrera wrote: > >> This thread is for discussion of the first release candidate for > >> Apache jclouds 2.0.1. > >> Please use this thread for discussion of issues uncovered in the RC, > >> questions you may have about the RC, etc. > >> > >> If you want to help validating the release, you can follow these > >> instructions: > >> https://cwiki.apache.org/confluence/display/JCLOUDS/Validate+a+Release > >> > >> > >> Thank you! > > > > -- > > Andrew Gaul > > http://gaul.org/ -- Andrew Gaul http://gaul.org/
features:install jclouds-vagrant java.lang.Exception: Could not start bundle mvn:name.neykov/vagrant-java-bindings/0.1.1 in feature(s) jclouds-vagrant-2.0.1: Unresolved constraint in bundle name.neykov.vagrant-java-bindings [87]: Unable to resolve 87.0: missing requirement [87.0] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6)) at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:495) at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:407) at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:403) at org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:67) at org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:41) at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38) at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35) at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78) at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474) at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400) at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108) at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183) at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120) at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89) at org.jclouds.karaf.itests.JcloudsKarafTestSupport.executeCommand(JcloudsKarafTestSupport.java:140) at org.jclouds.karaf.itests.JcloudsFeaturesTestSupport.installAndCheckFeature(JcloudsFeaturesTestSupport.java:50) at org.jclouds.karaf.itests.ApisFeaturesInstallationTest.testVagrant(ApisFeaturesInstallationTest.java:99) 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:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:70) at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:37) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) at org.junit.runners.ParentRunner.run(ParentRunner.java:300) at org.junit.runner.JUnitCore.run(JUnitCore.java:157) at org.junit.runner.JUnitCore.run(JUnitCore.java:136) at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.invokeViaJUnit(JUnitProbeInvoker.java:124) at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.findAndInvoke(JUnitProbeInvoker.java:94) at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.call(JUnitProbeInvoker.java:77) 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.ops4j.pax.exam.rbc.internal.RemoteBundleContextImpl.remoteCall(RemoteBundleContextImpl.java:86) 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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:346) at sun.rmi.transport.Transport$1.run(Transport.java:200) at sun.rmi.transport.Transport$1.run(Transport.java:197) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:196) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle name.neykov.vagrant-java-bindings [87]: Unable to resolve 87.0: missing requirement [87.0] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6)) at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3826) at org.apache.felix.framework.Felix.startBundle(Felix.java:1868) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:944) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:931) at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:491) ... 63 more osgi:list -t 0 START LEVEL 100 , List Threshold: 0 ID State Blueprint Level Name [ 0] [Active ] [ ] [ 0] System Bundle (4.0.3) [ 1] [Active ] [ ] [ 5] OPS4J Pax Url - mvn: (1.3.7) [ 2] [Active ] [ ] [ 5] OPS4J Pax Url - wrap: (1.3.7) [ 3] [Active ] [ ] [ 8] OPS4J Pax Logging - API (1.7.4) [ 4] [Active ] [ ] [ 8] OPS4J Pax Logging - Service (1.7.4) [ 5] [Active ] [ ] [ 10] Apache Felix Configuration Admin Service (1.8.0) [ 6] [Active ] [ ] [ 11] Apache Felix File Install (3.4.2) [ 7] [Active ] [Created ] [ 20] Apache Aries Blueprint Core (1.4.0) [ 8] [Active ] [ ] [ 20] ASM all classes with debug info (4.1) [ 9] [Active ] [Created ] [ 20] Apache Aries Blueprint CM (1.0.3) [ 10] [Active ] [ ] [ 20] Apache Aries Util (1.1.0) [ 11] [Active ] [ ] [ 20] Apache Aries Proxy API (1.0.0) [ 12] [Active ] [ ] [ 20] Apache Aries Proxy Service (1.0.2) [ 13] [Active ] [ ] [ 20] Apache Aries Blueprint API (1.0.0) [ 14] [Active ] [Created ] [ 25] Apache Karaf :: Shell :: Console (2.3.11) [ 15] [Active ] [Created ] [ 28] Apache Karaf :: Deployer :: Blueprint (2.3.11) [ 16] [Active ] [Created ] [ 28] Apache Karaf :: Deployer :: Spring (2.3.11) [ 17] [Active ] [Created ] [ 30] Apache Karaf :: Shell :: Log Commands (2.3.11) [ 18] [Active ] [ ] [ 30] Apache Aries JMX API (1.1.0) [ 19] [Active ] [Created ] [ 30] Apache Karaf :: Shell :: Development Commands (2.3.11) [ 20] [Active ] [Created ] [ 30] Apache Karaf :: Deployer :: Features (2.3.11) [ 21] [Active ] [Failure ] [ 30] Apache Karaf :: Diagnostic :: Management (2.3.11) [ 22] [Active ] [Created ] [ 30] Apache Karaf :: Deployer :: Karaf Archive (.kar) (2.3.11) [ 23] [Installed ] [ ] [ 30] Apache Karaf :: Shell :: SSH (2.3.11) [ 24] [Active ] [Created ] [ 30] Apache Karaf :: JAAS :: Modules (2.3.11) [ 25] [Active ] [ ] [ 30] Apache Aries JMX Core (1.1.1) [ 26] [Installed ] [ ] [ 30] Apache Mina SSHD :: Core (0.12.0) [ 27] [Active ] [Created ] [ 30] Apache Karaf :: Management (2.3.11) [ 28] [Active ] [ ] [ 30] Apache Karaf :: Diagnostic :: Core (2.3.11) [ 29] [Active ] [Created ] [ 30] Apache Karaf :: JAAS :: Config (2.3.11) [ 30] [Active ] [Created ] [ 30] Apache Karaf :: Admin :: Core (2.3.11) [ 31] [Active ] [ ] [ 30] Apache MINA Core (2.0.7) [ 32] [Active ] [Created ] [ 30] Apache Karaf :: Features :: Command (2.3.11) [ 33] [Active ] [Created ] [ 30] Apache Karaf :: Admin :: Command (2.3.11) [ 34] [Active ] [Created ] [ 30] Apache Karaf :: Diagnostic :: Command (2.3.11) [ 35] [Active ] [Created ] [ 30] Apache Karaf :: Shell :: PackageAdmin Commands (2.3.11) [ 36] [Active ] [ ] [ 30] Apache Aries JMX Blueprint Core (1.1.0) [ 37] [Active ] [Failure ] [ 30] Apache Karaf :: Admin :: Management (2.3.11) [ 38] [Active ] [Created ] [ 30] Apache Karaf :: JAAS :: Command (2.3.11) [ 39] [Active ] [ ] [ 30] Apache Aries JMX Blueprint API (1.1.0) [ 40] [Active ] [Created ] [ 30] Apache Karaf :: Shell :: OSGi Commands (2.3.11) [ 41] [Active ] [Created ] [ 30] Apache Karaf :: Shell :: Various Commands (2.3.11) [ 42] [Active ] [Created ] [ 30] Apache Karaf :: Features :: Core (2.3.11) [ 43] [Active ] [Created ] [ 30] Apache Karaf :: Deployer :: Wrap Non OSGi Jar (2.3.11) [ 44] [Active ] [Failure ] [ 30] Apache Karaf :: Features :: Management (2.3.11) [ 45] [Active ] [Created ] [ 30] Apache Karaf :: Diagnostic :: Common (2.3.11) [ 46] [Active ] [Created ] [ 30] Apache Karaf :: Shell :: ConfigAdmin Commands (2.3.11) [ 47] [Active ] [Failure ] [ 30] Apache Karaf :: Management :: MBeans :: System (2.3.11) [ 48] [Active ] [Failure ] [ 30] Apache Karaf :: Management :: MBeans :: Bundles (2.3.11) [ 49] [Active ] [Failure ] [ 30] Apache Karaf :: Management :: MBeans :: Services (2.3.11) [ 50] [Active ] [Failure ] [ 30] Apache Karaf :: Management :: MBeans :: Config (2.3.11) [ 51] [Active ] [Failure ] [ 30] Apache Karaf :: Management :: MBeans :: Log (2.3.11) [ 52] [Active ] [Failure ] [ 30] Apache Karaf :: Management :: MBeans :: Packages (2.3.11) [ 53] [Active ] [Failure ] [ 30] Apache Karaf :: Management :: MBeans :: Dev (2.3.11) [ 54] [Active ] [ ] [ 5] OPS4J Base - Lang (1.4.0) [ 55] [Active ] [ ] [ 5] OPS4J Base - Monitors (1.4.0) [ 56] [Active ] [ ] [ 5] OPS4J Base - Net (1.4.0) [ 57] [Active ] [ ] [ 5] OPS4J Base - Store (1.4.0) [ 58] [Active ] [ ] [ 5] OPS4J Base - IO (1.4.0) [ 59] [Active ] [ ] [ 5] OPS4J Base - Service Provider Access (1.4.0) [ 60] [Active ] [ ] [ 5] OPS4J Base - Util - Property (1.4.0) [ 61] [Active ] [ ] [ 5] OPS4J Pax Swissbox :: OSGi Core (1.5.1) [ 62] [Active ] [ ] [ 5] OPS4J Pax Swissbox :: Extender (1.5.1) [ 63] [Active ] [ ] [ 5] OPS4J Pax Swissbox :: Lifecycle (1.5.1) [ 64] [Active ] [ ] [ 5] OPS4J Pax Swissbox :: Framework Helpers (1.5.1) [ 65] [Active ] [ ] [ 5] OPS4J Pax Exam - API (2.6.0) [ 66] [Active ] [ ] [ 5] OPS4J Pax Exam - Extender Service (2.6.0) [ 67] [Active ] [ ] [ 5] OPS4J Pax Exam - Remote Bundle Context (2.6.0) [ 68] [Active ] [ ] [ 5] wrap_mvn_junit_junit_4.10 (0) [ 69] [Active ] [ ] [ 5] OPS4J Pax Exam - JUnit Probe Invoker (2.6.0) [ 70] [Active ] [ ] [ 5] Apache Karaf :: Tooling :: Exam Testing Framework :: Options (2.3.11) [ 71] [Active ] [ ] [ 5] Apache Geronimo JSR-330 Spec API (1.0) [ 72] [Active ] [ ] [ 5] OPS4J Pax Exam - Injection (2.6.0) [ 73] [Active ] [ ] [ 80] PAXEXAM-PROBE-35af60e5-8c72-42a6-a8e2-20916cf2ac53 Tests run: 12, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 75.151 sec <<< FAILURE! Results : Failed tests: testVagrant:org.jclouds.karaf.itests.ApisFeaturesInstallationTest.testVagrant:KarafTestContainer{mvn:org.apache.karaf\/apache-karaf\/2.3.11\/tar.gz}(org.jclouds.karaf.itests.ApisFeaturesInstallationTest): Expected jclouds-vagrant feature to be installed. Tests run: 59, Failures: 1, Errors: 0, Skipped: 1 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache jclouds :: Karaf ............................ SUCCESS [ 4.443 s] [INFO] jclouds :: Karaf :: Core ........................... SUCCESS [ 4.950 s] [INFO] jclouds :: Karaf :: Bundles ........................ SUCCESS [ 0.107 s] [INFO] jclouds :: Karaf :: JSch Agentproxy for JSch (shaded bundle) SUCCESS [ 3.352 s] [INFO] jclouds :: Karaf :: Utils .......................... SUCCESS [ 1.597 s] [INFO] jclouds :: Karaf :: Recipe ......................... SUCCESS [ 0.535 s] [INFO] jclouds :: Karaf :: Cache .......................... SUCCESS [ 0.629 s] [INFO] jclouds :: Karaf :: Services ....................... SUCCESS [ 1.749 s] [INFO] jclouds :: Karaf :: Commands ....................... SUCCESS [ 2.889 s] [INFO] jclouds :: Karaf :: URL Handler .................... SUCCESS [ 0.574 s] [INFO] jclouds :: Karaf :: Chef ........................... SUCCESS [ 0.065 s] [INFO] jclouds :: Karaf :: Chef :: Core ................... SUCCESS [ 0.398 s] [INFO] jclouds :: Karaf :: Chef :: Services ............... SUCCESS [ 0.821 s] [INFO] jclouds :: Karaf :: Chef :: Commands ............... SUCCESS [ 1.136 s] [INFO] jclouds :: Karaf :: Chef :: Cache .................. SUCCESS [ 0.469 s] [INFO] jclouds :: Karaf :: Feature ........................ SUCCESS [ 1.375 s] [INFO] jclouds :: Karaf :: Integration Tests .............. FAILURE [07:10 min] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 07:37 min [INFO] Finished at: 2017-02-21T10:14:46-08:00 [INFO] Final Memory: 64M/737M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project itests: There are test failures. [ERROR] [ERROR] Please refer to /home/gaul/bin/2.0.1-rc1/jclouds-karaf-2.0.1/itests/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 [ERROR] mvn <goals> -rf :itests