Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-6272

[Openstack + JDK1.8] Child creation fails sometimes with Error resolving artifact io.fabric8:fabric8-karaf:xml:features:1.2.0.redhat-621169

XMLWordPrintable

    • % %

      Unfortunately I have no exact steps to reproduce, as this was observed only sometimes on openstack, I used:

      fabric:create
      container-create-child --jvm-opts "-Djava.security.egd=file:/dev/./urandom"  --jmx-user admin --jmx-password admin root testcontainer 2
      

      And I ended up with:

      JBossFuse:karaf@root> container-list
      [id]              [version]  [type]  [connected]  [profiles]              [provision status]
      root*             1.0        karaf   yes          fabric                  success           
                                                        fabric-ensemble-0000-1                    
                                                        jboss-fuse-full                           
        testcontainer1  1.0        karaf   yes          default                 success           
        testcontainer2  1.0        karaf   no           default
      

      One container is provisioned successfully, but the second one cant find the features file:

      [fuse@host-172-16-117-250 commands-test]$ cat target/container/2016-11-15-04-39-33-751/jboss-fuse-6.2.1.redhat-169/instances/testcontainer2/data/log/fuse.log 
      Nov 15, 2016 4:47:51 AM org.apache.karaf.main.SimpleFileLock lock
      INFO: locking
      2016-11-15 04:47:51,864 | INFO  | FelixStartLevel  | fileinstall                      | 6 - org.apache.felix.fileinstall - 3.5.0 | Creating configuration from jmx.acl.org.apache.karaf.security.jmx.cfg
      2016-11-15 04:47:51,867 | INFO  | FelixStartLevel  | fileinstall                      | 6 - org.apache.felix.fileinstall - 3.5.0 | Creating configuration from org.apache.felix.fileinstall-deploy.cfg
      2016-11-15 04:47:51,869 | INFO  | FelixStartLevel  | fileinstall                      | 6 - org.apache.felix.fileinstall - 3.5.0 | Creating configuration from org.apache.karaf.features.cfg
      2016-11-15 04:47:51,870 | INFO  | FelixStartLevel  | fileinstall                      | 6 - org.apache.felix.fileinstall - 3.5.0 | Creating configuration from jmx.acl.org.apache.karaf.bundle.cfg
      2016-11-15 04:47:51,872 | INFO  | FelixStartLevel  | fileinstall                      | 6 - org.apache.felix.fileinstall - 3.5.0 | Creating configuration from org.ops4j.pax.url.mvn.cfg
      2016-11-15 04:47:51,873 | INFO  | FelixStartLevel  | fileinstall                      | 6 - org.apache.felix.fileinstall - 3.5.0 | Creating configuration from org.apache.karaf.kar.cfg
      2016-11-15 04:47:51,894 | INFO  | FelixStartLevel  | fileinstall                      | 6 - org.apache.felix.fileinstall - 3.5.0 | Creating configuration from jmx.acl.osgi.compendium.cm.cfg
      2016-11-15 04:47:51,895 | INFO  | FelixStartLevel  | fileinstall                      | 6 - org.apache.felix.fileinstall - 3.5.0 | Creating configuration from org.apache.karaf.management.cfg
      2016-11-15 04:47:51,896 | INFO  | FelixStartLevel  | fileinstall                      | 6 - org.apache.felix.fileinstall - 3.5.0 | Creating configuration from org.apache.karaf.jaas.cfg
      2016-11-15 04:47:51,898 | INFO  | FelixStartLevel  | fileinstall                      | 6 - org.apache.felix.fileinstall - 3.5.0 | Creating configuration from org.apache.karaf.features.repos.cfg
      2016-11-15 04:47:51,899 | INFO  | FelixStartLevel  | fileinstall                      | 6 - org.apache.felix.fileinstall - 3.5.0 | Creating configuration from jmx.acl.java.lang.Memory.cfg
      2016-11-15 04:47:51,901 | INFO  | FelixStartLevel  | fileinstall                      | 6 - org.apache.felix.fileinstall - 3.5.0 | Creating configuration from org.apache.karaf.features.obr.cfg
      2016-11-15 04:47:51,902 | INFO  | FelixStartLevel  | fileinstall                      | 6 - org.apache.felix.fileinstall - 3.5.0 | Creating configuration from org.apache.karaf.shell.cfg
      2016-11-15 04:47:51,925 | INFO  | FelixStartLevel  | fileinstall                      | 6 - org.apache.felix.fileinstall - 3.5.0 | Creating configuration from org.apache.karaf.log.cfg
      2016-11-15 04:47:52,095 | WARN  | FelixStartLevel  | AetherBasedResolver              | 3 - org.ops4j.pax.logging.pax-logging-api - 1.8.4 | Error resolving artifactio.fabric8:fabric8-karaf:xml:features:1.2.0.redhat-621169:Could not transfer artifact io.fabric8:fabric8-karaf:xml:features:1.2.0.redhat-621169 from/to central (http://repo1.maven.org/maven2/): Connection pool shut down
      shaded.org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact io.fabric8:fabric8-karaf:xml:features:1.2.0.redhat-621169 from/to central (http://repo1.maven.org/maven2/): Connection pool shut down
      	at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:294)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:650)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:598)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:576)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:550)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:123)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at org.apache.karaf.features.internal.FeatureValidationUtil.validate(FeatureValidationUtil.java:55)[7:org.apache.karaf.features.core:2.4.0.redhat-621169]
      	at org.apache.karaf.features.internal.FeaturesServiceImpl.validateRepository(FeaturesServiceImpl.java:231)[7:org.apache.karaf.features.core:2.4.0.redhat-621169]
      	at org.apache.karaf.features.internal.FeaturesServiceImpl.internalAddRepository(FeaturesServiceImpl.java:273)[7:org.apache.karaf.features.core:2.4.0.redhat-621169]
      	at org.apache.karaf.features.internal.FeaturesServiceImpl.start(FeaturesServiceImpl.java:1298)[7:org.apache.karaf.features.core:2.4.0.redhat-621169]
      	at org.apache.karaf.features.osgi.Activator.doStart(Activator.java:129)[7:org.apache.karaf.features.core:2.4.0.redhat-621169]
      	at org.apache.karaf.features.osgi.Activator$2.addingService(Activator.java:99)[7:org.apache.karaf.features.core:2.4.0.redhat-621169]
      	at org.apache.karaf.features.osgi.Activator$2.addingService(Activator.java:96)[7:org.apache.karaf.features.core:2.4.0.redhat-621169]
      	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)[karaf.jar:2.4.0.redhat-621169]
      	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)[karaf.jar:2.4.0.redhat-621169]
      	at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)[karaf.jar:2.4.0.redhat-621169]
      	at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)[karaf.jar:2.4.0.redhat-621169]
      	at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:317)[karaf.jar:2.4.0.redhat-621169]
      	at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:261)[karaf.jar:2.4.0.redhat-621169]
      	at org.apache.karaf.features.osgi.Activator.start(Activator.java:114)[7:org.apache.karaf.features.core:2.4.0.redhat-621169]
      	at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:645)[org.apache.felix.framework-4.4.1.jar:]
      	at org.apache.felix.framework.Felix.activateBundle(Felix.java:2154)[org.apache.felix.framework-4.4.1.jar:]
      	at org.apache.felix.framework.Felix.startBundle(Felix.java:2072)[org.apache.felix.framework-4.4.1.jar:]
      	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1299)[org.apache.felix.framework-4.4.1.jar:]
      	at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)[org.apache.felix.framework-4.4.1.jar:]
      	at java.lang.Thread.run(Thread.java:745)[:1.8.0_65]
      Caused by: shaded.org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact io.fabric8:fabric8-karaf:xml:features:1.2.0.redhat-621169 from/to central (http://repo1.maven.org/maven2/): Connection pool shut down
      	at shaded.org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:43)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:355)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:581)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:249)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:520)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421)[2:org.ops4j.pax.url.mvn:2.4.7]
      	... 28 more
      Caused by: java.lang.IllegalStateException: Connection pool shut down
      	at shaded.org.apache.http.util.Asserts.check(Asserts.java:34)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.apache.http.pool.AbstractConnPool.getPoolEntryBlocking(AbstractConnPool.java:222)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.apache.http.pool.AbstractConnPool.access$000(AbstractConnPool.java:64)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.apache.http.pool.AbstractConnPool$2.getPoolEntry(AbstractConnPool.java:177)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.apache.http.pool.AbstractConnPool$2.getPoolEntry(AbstractConnPool.java:170)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.apache.http.pool.PoolEntryFuture.get(PoolEntryFuture.java:102)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.apache.http.impl.conn.PoolingHttpClientConnectionManager.leaseConnection(PoolingHttpClientConnectionManager.java:244)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.apache.http.impl.conn.PoolingHttpClientConnectionManager$1.get(PoolingHttpClientConnectionManager.java:231)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:173)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at org.ops4j.pax.url.mvn.internal.wagon.ConfigurableHttpWagon.execute(ConfigurableHttpWagon.java:147)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:1000)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:977)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.eclipse.aether.transport.wagon.WagonTransporter$GetTaskRunner.run(WagonTransporter.java:560)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.eclipse.aether.transport.wagon.WagonTransporter.execute(WagonTransporter.java:427)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.eclipse.aether.transport.wagon.WagonTransporter.get(WagonTransporter.java:404)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector$GetTaskRunner.runTask(BasicRepositoryConnector.java:447)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:350)[2:org.ops4j.pax.url.mvn:2.4.7]
      	... 33 more
      2016-11-15 04:47:52,098 | WARN  | FelixStartLevel  | FeaturesServiceImpl              | 7 - org.apache.karaf.features.core - 2.4.0.redhat-621169 | Unable to add features repository mvn:io.fabric8/fabric8-karaf/1.2.0.redhat-621169/xml/features at startup
      java.io.IOException: Error resolving artifact io.fabric8:fabric8-karaf:xml:features:1.2.0.redhat-621169: Could not transfer artifact io.fabric8:fabric8-karaf:xml:features:1.2.0.redhat-621169 from/to central (http://repo1.maven.org/maven2/): Connection pool shut down
      	at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:661)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:598)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:576)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:550)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:123)[2:org.ops4j.pax.url.mvn:2.4.7]
      	at org.apache.karaf.features.internal.FeatureValidationUtil.validate(FeatureValidationUtil.java:55)[7:org.apache.karaf.features.core:2.4.0.redhat-621169]
      	at org.apache.karaf.features.internal.FeaturesServiceImpl.validateRepository(FeaturesServiceImpl.java:231)[7:org.apache.karaf.features.core:2.4.0.redhat-621169]
      	at org.apache.karaf.features.internal.FeaturesServiceImpl.internalAddRepository(FeaturesServiceImpl.java:273)[7:org.apache.karaf.features.core:2.4.0.redhat-621169]
      	at org.apache.karaf.features.internal.FeaturesServiceImpl.start(FeaturesServiceImpl.java:1298)[7:org.apache.karaf.features.core:2.4.0.redhat-621169]
      	at org.apache.karaf.features.osgi.Activator.doStart(Activator.java:129)[7:org.apache.karaf.features.core:2.4.0.redhat-621169]
      	at org.apache.karaf.features.osgi.Activator$2.addingService(Activator.java:99)[7:org.apache.karaf.features.core:2.4.0.redhat-621169]
      	at org.apache.karaf.features.osgi.Activator$2.addingService(Activator.java:96)[7:org.apache.karaf.features.core:2.4.0.redhat-621169]
      	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)[karaf.jar:2.4.0.redhat-621169]
      	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)[karaf.jar:2.4.0.redhat-621169]
      	at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)[karaf.jar:2.4.0.redhat-621169]
      	at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)[karaf.jar:2.4.0.redhat-621169]
      	at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:317)[karaf.jar:2.4.0.redhat-621169]
      	at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:261)[karaf.jar:2.4.0.redhat-621169]
      	at org.apache.karaf.features.osgi.Activator.start(Activator.java:114)[7:org.apache.karaf.features.core:2.4.0.redhat-621169]
      	at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:645)[org.apache.felix.framework-4.4.1.jar:]
      	at org.apache.felix.framework.Felix.activateBundle(Felix.java:2154)[org.apache.felix.framework-4.4.1.jar:]
      	at org.apache.felix.framework.Felix.startBundle(Felix.java:2072)[org.apache.felix.framework-4.4.1.jar:]
      	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1299)[org.apache.felix.framework-4.4.1.jar:]
      	at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)[org.apache.felix.framework-4.4.1.jar:]
      	at java.lang.Thread.run(Thread.java:745)[:1.8.0_65]
      2016-11-15 04:47:52,784 | ERROR | FelixStartLevel  | FeaturesServiceImpl              | 7 - org.apache.karaf.features.core - 2.4.0.redhat-621169 | Error installing boot feature fabric-core: feature not found
      2016-11-15 04:47:53,287 | INFO  | pool-1-thread-1  | Activator                        | 26 - org.apache.karaf.service.guard - 2.4.0.redhat-621169 | Adding role-based security to services with filter: (&(osgi.command.scope=*)(osgi.command.function=*))
      2016-11-15 04:47:53,289 | INFO  | pool-1-thread-1  | GuardProxyCatalog                | 26 - org.apache.karaf.service.guard - 2.4.0.redhat-621169 | No compulsory roles for a karaf command without the ACL as its system property is not set: karaf.secured.command.compulsory.roles
      2016-11-15 04:47:53,591 | INFO  | FelixStartLevel  | BlueprintExtender                | 15 - org.apache.aries.blueprint.core - 1.4.5 | No quiesce support is available, so blueprint components will not participate in quiesce operations
      2016-11-15 04:47:54,638 | INFO  | FelixStartLevel  | SecurityUtils                    | 31 - org.apache.sshd.core - 0.14.0 | Trying to register BouncyCastle as a JCE provider
      2016-11-15 04:47:54,847 | INFO  | FelixStartLevel  | SecurityUtils                    | 31 - org.apache.sshd.core - 0.14.0 | Registration succeeded
      2016-11-15 04:47:55,147 | INFO  | FelixStartLevel  | core                             | 35 - org.apache.aries.jmx.core - 1.1.3 | Starting JMX OSGi agent
      2016-11-15 04:47:55,186 | INFO  | FelixStartLevel  | core                             | 35 - org.apache.aries.jmx.core - 1.1.3 | Registering MBean with ObjectName [osgi.compendium:service=cm,version=1.3,framework=org.apache.felix.framework,uuid=985c9a4f-61ff-4f06-91d0-19e1cb247c7b] for service with service.id [11]
      2016-11-15 04:47:55,187 | INFO  | FelixStartLevel  | core                             | 35 - org.apache.aries.jmx.core - 1.1.3 | Registering org.osgi.jmx.framework.wiring.BundleWiringStateMBean to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@5a07e868 with name osgi.core:type=wiringState,version=1.1,framework=org.apache.felix.framework,uuid=985c9a4f-61ff-4f06-91d0-19e1cb247c7b
      2016-11-15 04:47:55,188 | INFO  | FelixStartLevel  | core                             | 35 - org.apache.aries.jmx.core - 1.1.3 | Registering org.osgi.jmx.framework.PackageStateMBean to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@5a07e868 with name osgi.core:type=packageState,version=1.5,framework=org.apache.felix.framework,uuid=985c9a4f-61ff-4f06-91d0-19e1cb247c7b
      2016-11-15 04:47:55,188 | INFO  | FelixStartLevel  | core                             | 35 - org.apache.aries.jmx.core - 1.1.3 | Registering org.osgi.jmx.framework.BundleStateMBean to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@5a07e868 with name osgi.core:type=bundleState,version=1.7,framework=org.apache.felix.framework,uuid=985c9a4f-61ff-4f06-91d0-19e1cb247c7b
      2016-11-15 04:47:55,189 | INFO  | FelixStartLevel  | core                             | 35 - org.apache.aries.jmx.core - 1.1.3 | Registering org.osgi.jmx.framework.FrameworkMBean to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@5a07e868 with name osgi.core:type=framework,version=1.7,framework=org.apache.felix.framework,uuid=985c9a4f-61ff-4f06-91d0-19e1cb247c7b
      2016-11-15 04:47:55,189 | INFO  | FelixStartLevel  | core                             | 35 - org.apache.aries.jmx.core - 1.1.3 | Registering org.osgi.jmx.service.cm.ConfigurationAdminMBean to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@5a07e868 with name osgi.compendium:service=cm,version=1.3,framework=org.apache.felix.framework,uuid=985c9a4f-61ff-4f06-91d0-19e1cb247c7b
      2016-11-15 04:47:55,189 | INFO  | FelixStartLevel  | core                             | 35 - org.apache.aries.jmx.core - 1.1.3 | Registering org.osgi.jmx.framework.ServiceStateMBean to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@5a07e868 with name osgi.core:type=serviceState,version=1.7,framework=org.apache.felix.framework,uuid=985c9a4f-61ff-4f06-91d0-19e1cb247c7b
      2016-11-15 04:47:55,776 | INFO  | FelixStartLevel  | KarArtifactInstaller             | 47 - org.apache.karaf.deployer.kar - 2.4.0.redhat-621169 | Karaf archives will be extracted to /home/fuse/jbossqe-fuse/fuse-tests/karaf-related-tests/commands-test/target/container/2016-11-15-04-39-33-751/jboss-fuse-6.2.1.redhat-169/instances/testcontainer2/system
      2016-11-15 04:47:55,776 | INFO  | FelixStartLevel  | KarArtifactInstaller             | 47 - org.apache.karaf.deployer.kar - 2.4.0.redhat-621169 | Timestamps for Karaf archives will be extracted to /home/fuse/jbossqe-fuse/fuse-tests/karaf-related-tests/commands-test/target/container/2016-11-15-04-39-33-751/jboss-fuse-6.2.1.redhat-169/instances/testcontainer2/system/.timestamps
      

      I did:

      move $FUSE_HOME/fabric/import/fabric/profiles/karaf.profile/org.ops4j.pax.logging.properties to $FUSE_HOME/fabric/import/fabric/profiles/default.profile/org.ops4j.pax.logging.properties
      append this to the above file:
      # help with identification of maven-related problems with fabric-maven
      log4j.logger.org.eclipse.aether = TRACE
      log4j.logger.org.apache.http.headers = DEBUG
      log4j.logger.io.fabric8.maven.util = TRACE
      

      to enable the logging, here are relevant logs from root container:

      2016-11-15 04:46:21,390 | DEBUG | loyer-5-thread-1 | DefaultLocalRepositoryProvider   | 125 - io.fabric8.fabric-maven - 1.2.0.redhat-621169 | Using manager EnhancedLocalRepositoryManager with priority 10.0 for /home/fuse/jbossqe-fuse/fuse-tests/karaf-related-tests/commands-test/target/container/2016-11-15-04-39-33-751/jboss-fuse-6.2.1.redhat-169/data/repository
      2016-11-15 04:46:21,391 | DEBUG | loyer-5-thread-1 | DefaultLocalRepositoryProvider   | 125 - io.fabric8.fabric-maven - 1.2.0.redhat-621169 | Using manager EnhancedLocalRepositoryManager with priority 10.0 for /home/fuse/jbossqe-fuse/fuse-tests/karaf-related-tests/commands-test/target/container/2016-11-15-04-39-33-751/jboss-fuse-6.2.1.redhat-169/data/repository
      2016-11-15 04:46:21,534 | TRACE | tures-1-thread-1 | MavenConfigurationImpl           | 125 - io.fabric8.fabric-maven - 1.2.0.redhat-621169 | Using repositories [[file:/home/fuse/jbossqe-fuse/fuse-tests/karaf-related-tests/commands-test/target/container/2016-11-15-04-39-33-751/jboss-fuse-6.2.1.redhat-169/system/,releases=true,snapshots=true, file:/home/fuse/jbossqe-fuse/fuse-tests/karaf-related-tests/commands-test/target/container/2016-11-15-04-39-33-751/jboss-fuse-6.2.1.redhat-169/data/maven/upload/,releases=true,snapshots=true, file:/home/fuse/.m2/repository/,releases=true,snapshots=true]]
      2016-11-15 04:46:21,535 | DEBUG | tures-1-thread-1 | DefaultLocalRepositoryProvider   | 125 - io.fabric8.fabric-maven - 1.2.0.redhat-621169 | Using manager SimpleLocalRepositoryManager with priority 0.0 for /home/fuse/jbossqe-fuse/fuse-tests/karaf-related-tests/commands-test/target/container/2016-11-15-04-39-33-751/jboss-fuse-6.2.1.redhat-169/system
      2016-11-15 04:46:23,795 | TRACE | nload-2-thread-1 | MavenConfigurationImpl           | 125 - io.fabric8.fabric-maven - 1.2.0.redhat-621169 | Using repositories [[file:/home/fuse/jbossqe-fuse/fuse-tests/karaf-related-tests/commands-test/target/container/2016-11-15-04-39-33-751/jboss-fuse-6.2.1.redhat-169/system/,releases=true,snapshots=true, file:/home/fuse/jbossqe-fuse/fuse-tests/karaf-related-tests/commands-test/target/container/2016-11-15-04-39-33-751/jboss-fuse-6.2.1.redhat-169/data/maven/upload/,releases=true,snapshots=true, file:/home/fuse/.m2/repository/,releases=true,snapshots=true]]
      2016-11-15 04:46:23,796 | TRACE | nload-2-thread-1 | MavenConfigurationImpl           | 125 - io.fabric8.fabric-maven - 1.2.0.redhat-621169 | Using repositories [[file:/home/fuse/jbossqe-fuse/fuse-tests/karaf-related-tests/commands-test/target/container/2016-11-15-04-39-33-751/jboss-fuse-6.2.1.redhat-169/system/,releases=true,snapshots=true, file:/home/fuse/jbossqe-fuse/fuse-tests/karaf-related-tests/commands-test/target/container/2016-11-15-04-39-33-751/jboss-fuse-6.2.1.redhat-169/data/maven/upload/,releases=true,snapshots=true, http://repo1.maven.org/maven2/,releases=true,snapshots=false, https://repo.fusesource.com/nexus/content/groups/public/,releases=true,snapshots=false, https://repository.jboss.org/nexus/content/repositories/public/,releases=true,snapshots=false, https://repo.fusesource.com/nexus/content/repositories/releases/,releases=true,snapshots=false, https://repo.fusesource.com/nexus/content/groups/ea/,releases=true,snapshots=false, http://repository.springsource.com/maven/bundles/release/,releases=true,snapshots=false, http://repository.springsource.com/maven/bundles/external/,releases=true,snapshots=false]]
      2016-11-15 04:46:23,796 | DEBUG | nload-2-thread-1 | DefaultLocalRepositoryProvider   | 125 - io.fabric8.fabric-maven - 1.2.0.redhat-621169 | Using manager SimpleLocalRepositoryManager with priority 0.0 for /home/fuse/jbossqe-fuse/fuse-tests/karaf-related-tests/commands-test/target/container/2016-11-15-04-39-33-751/jboss-fuse-6.2.1.redhat-169/system
      2016-11-15 04:46:23,796 | TRACE | nload-2-thread-2 | MavenConfigurationImpl           | 125 - io.fabric8.fabric-maven - 1.2.0.redhat-621169 | Using repositories [[file:/home/fuse/jbossqe-fuse/fuse-tests/karaf-related-tests/commands-test/target/container/2016-11-15-04-39-33-751/jboss-fuse-6.2.1.redhat-169/system/,releases=true,snapshots=true, file:/home/fuse/jbossqe-fuse/fuse-tests/karaf-related-tests/commands-test/target/container/2016-11-15-04-39-33-751/jboss-fuse-6.2.1.redhat-169/data/maven/upload/,releases=true,snapshots=true, file:/home/fuse/.m2/repository/,releases=true,snapshots=true]]
      2016-11-15 04:46:23,796 | TRACE | nload-2-thread-3 | MavenConfigurationImpl           | 125 - io.fabric8.fabric-maven - 1.2.0.redhat-621169 | Using repositories [[file:/home/fuse/jbossqe-fuse/fuse-tests/karaf-related-tests/commands-test/target/container/2016-11-15-04-39-33-751/jboss-fuse-6.2.1.redhat-169/system/,releases=true,snapshots=true, file:/home/fuse/jbossqe-fuse/fuse-tests/karaf-related-tests/commands-test/target/container/2016-11-15-04-39-33-751/jboss-fuse-6.2.1.redhat-169/data/maven/upload/,releases=true,snapshots=true, file:/home/fuse/.m2/repository/,releases=true,snapshots=true]]
      2016-11-15 04:46:24,117 | DEBUG | nload-2-thread-2 | DefaultLocalRepositoryProvider   | 125 - io.fabric8.fabric-maven - 1.2.0.redhat-621169 | Using manager SimpleLocalRepositoryManager with priority 0.0 for /home/fuse/jbossqe-fuse/fuse-tests/karaf-related-tests/commands-test/target/container/2016-11-15-04-39-33-751/jboss-fuse-6.2.1.redhat-169/system
      2016-11-15 04:46:24,119 | DEBUG | nload-2-thread-2 | DefaultLocalRepositoryProvider   | 125 - io.fabric8.fabric-maven - 1.2.0.redhat-621169 | Using manager SimpleLocalRepositoryManager with priority 0.0 for /home/fuse/jbossqe-fuse/fuse-tests/karaf-related-tests/commands-test/target/container/2016-11-15-04-39-33-751/jboss-fuse-6.2.1.redhat-169/system
      

      It may have something to do with openjdk 8, because I was never able to reproduce it with openjdk7

      As you can see from the root.log - first 2 tries the containers were created successfully, but then the 6th container ended without status

        1. pax-url-aether-2.4.7.jar
          3.04 MB
        2. log.txt
          334 kB

              ggrzybek Grzegorz Grzybek
              avano@redhat.com Andrej Vano
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: