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

Cannot install CVE patch on top of 7.12

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • fuse-7.12-GA
    • fuse-7.12-GA
    • Patching
    • None
    • Very Likely

    Description

      CVE patch test failed.

      I have created dummy patch here so we can test CVE style patch on top of 7.12.

      1) unzip and run 7.12 ER5

      2) add repository containing dummy patch

      maven:repository-add -id dummy-repo http://nexus.fuse-qe.eng.rdu2.redhat.com/repository/fuse-qe-repo/ 

      3) search for patch and add it

      patch:find --add 

      So far so good.  We have find and added patch successfully. No new patch mechanism has been found as expected.

      4) Try to install the patch

      patch:install fuse-karaf-maintenance-patch-7.12.0.fuse-sb2-7120960 

      And here is the error message:

      patch:install fuse-karaf-maintenance-patch-7.12.0.fuse-sb2-7120960 
      INFO : org.jboss.fuse.modules.patch.patch-management (2): Installing non-rollup patch "fuse-karaf-maintenance-patch-7.12.0.fuse-sb2-7120960"
      INFO : org.jboss.fuse.modules.patch.patch-management (2): Updating "bin/client"
      INFO : org.jboss.fuse.modules.patch.patch-management (2): Updating "bin/shell"
      INFO : org.jboss.fuse.modules.patch.patch-management (2): Updating "bin/client.bat"
      INFO : org.jboss.fuse.modules.patch.patch-management (2): Updating "bin/shell.bat"
      INFO : org.jboss.fuse.modules.patch.patch-management (2): Updating "etc/startup.properties"
      INFO : org.jboss.fuse.modules.patch.patch-management (2): Updating "etc/config.properties"
      INFO : org.jboss.fuse.modules.patch.patch-management (2): Updating package versions in "etc/config.properties"
      karaf@root()> java.lang.IllegalArgumentException: No path specified on clause: resolution:=optional
          at org.apache.felix.utils.manifest.Parser.parseClauses(Parser.java:73)
          at org.apache.felix.utils.manifest.Parser.parseHeader(Parser.java:38)
          at org.jboss.fuse.patch.impl.PatchServiceImpl.getOptionalImports(PatchServiceImpl.java:2050)
          at org.jboss.fuse.patch.impl.PatchServiceImpl.findBundlesWithOptionalPackagesToRefresh(PatchServiceImpl.java:1998)
          at org.jboss.fuse.patch.impl.PatchServiceImpl.applyChanges(PatchServiceImpl.java:1884)
          at org.jboss.fuse.patch.impl.PatchServiceImpl.lambda$install$5(PatchServiceImpl.java:764)
          at java.lang.Thread.run(Thread.java:750)
       

      Attachments

        Issue Links

          Activity

            People

              ggrzybek Grzegorz Grzybek
              ecervena@redhat.com Emil Cervenan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: