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

Downloading of artifacts is frozen due to some file locks in local repository

XMLWordPrintable

    • % %
    • Hide

      Prerequisites:
      jboss-fuse-6.3.0.redhat-067

      cd ~/.m2/repository; rm -rf org/jboss/integration org/drools org/jbpm; cd -
      

      Steps:

      fabric:create --wait-for-provisioning --new-user admin --new-user-password admin
      fabric:profile-create --parent feature-camel feature-ip
      
      fabric:profile-edit --pid io.fabric8.agent/org.ops4j.pax.url.mvn.repositories=http://fusewin.tpb.lab.eng.brq.redhat.com:8081/nexus/content/repositories/ea@id=fusewin default
      fabric:profile-edit --append --pid io.fabric8.agent/org.ops4j.pax.url.mvn.repositories=http://download.eng.brq.redhat.com/brewroot/repos/jb-bxms-6.3-build/latest/maven@id=ip default
      
      fabric:profile-edit --repository mvn:org.drools/drools-karaf-features/6.4.0.Final-redhat-3/xml/features feature-ip
      fabric:profile-edit --repository mvn:org.jboss.integration.fuse.quickstarts/karaf-features/1.4.0.redhat-630011/xml/features feature-ip
      fabric:profile-edit --repository mvn:org.switchyard.karaf/switchyard/2.1.0.redhat-630067/xml/core-features feature-ip
      
      fabric:profile-edit --feature fuse-bxms-switchyard-bpm feature-ip
      fabric:profile-edit --feature fuse-bxms-switchyard-rules feature-ip
      
      fabric:container-create-child --profile feature-ip root child
      watch fabric:container-list
      

      Check locks:

      watch find ~/.m2/repository -name "*.part.lock"
      

      Downloading is stuck - dead lock

      Remove locks periodically:

      watch "find ~/.m2/repository/ -name *.lock | xargs rm"
      

      Downloading continues...

      Show
      Prerequisites: jboss-fuse-6.3.0.redhat-067 cd ~/.m2/repository; rm -rf org/jboss/integration org/drools org/jbpm; cd - Steps: fabric:create --wait- for -provisioning -- new -user admin -- new -user-password admin fabric:profile-create --parent feature-camel feature-ip fabric:profile-edit --pid io.fabric8.agent/org.ops4j.pax.url.mvn.repositories=http: //fusewin.tpb.lab.eng.brq.redhat.com:8081/nexus/content/repositories/ea@id=fusewin default fabric:profile-edit --append --pid io.fabric8.agent/org.ops4j.pax.url.mvn.repositories=http: //download.eng.brq.redhat.com/brewroot/repos/jb-bxms-6.3-build/latest/maven@id=ip default fabric:profile-edit --repository mvn:org.drools/drools-karaf-features/6.4.0.Final-redhat-3/xml/features feature-ip fabric:profile-edit --repository mvn:org.jboss.integration.fuse.quickstarts/karaf-features/1.4.0.redhat-630011/xml/features feature-ip fabric:profile-edit --repository mvn:org.switchyard.karaf/switchyard/2.1.0.redhat-630067/xml/core-features feature-ip fabric:profile-edit --feature fuse-bxms-switchyard-bpm feature-ip fabric:profile-edit --feature fuse-bxms-switchyard-rules feature-ip fabric:container-create-child --profile feature-ip root child watch fabric:container-list Check locks: watch find ~/.m2/repository -name "*.part.lock" Downloading is stuck - dead lock Remove locks periodically: watch "find ~/.m2/repository/ -name *.lock | xargs rm" Downloading continues...
    • Sprint 5 - towards ER2

      When fabric agent downloads maven artifacts from remote repository then the downloading freezes very soon due to some file locks. Check the reproducer.

              kearls@redhat.com Kevin Earls (Inactive)
              mbasovni Martin Basovnik (Inactive)
              Martin Basovnik Martin Basovnik (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: