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

Patches are applied in arbitrary order

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • jboss-fuse-6.2
    • jboss-fuse-6.1 on OSE
    • Fuse on Openshift
    • None
    • % %

    Description

      If there are multiple patches in RPM (e.g. patch1.zip and patch2.zip), they are sometimes applied in wrong order. This is because output of find is not sorted.

      bin/update
      150:    files=$(find $FUSE_PATCH_DIR -name "*.zip")
      

      The result is patches are applied in wrong order and gear is then deleted (second patch can't be applied).

      Gear creation log
      fuse already started
      Waiting for patching service to become available...
      client: JAVA_HOME not set; results may vary
      true
      Patching all profile versions with /var/lib/openshift/54f550a76892df340b000019/fuse//patches/patch2.zip
      client: JAVA_HOME not set; results may vary
      Waiting for patching service to become available...
      client: JAVA_HOME not set; results may vary
      true
      Patching all profile versions with /var/lib/openshift/54f550a76892df340b000019/fuse//patches/patch1.zip
      client: JAVA_HOME not set; results may vary
      Error executing command: Unable to apply patch
      Patch was not succesfully applied. You can try to apply this patch again on the container shell using: 
      fabric:patch-apply --all-versions file:/var/lib/openshift/54f550a76892df340b000019/fuse//patches/patch1.zip
      

      Attachments

        Activity

          People

            janstey@redhat.com Jonathan Anstey
            tschloss@redhat.com Tomas Schlosser
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: