Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-26936

[jboss-eap-installation-manager] Revert operation to uninstall feature pack removes cached base channel manifest

XMLWordPrintable

      Test scenario as follows:

      1. Remove all default channels (prospero.sh channel remove)
      2. Add custom feature pack channel (prospero.sh channel add)
      3. Add base channel with local file repository to prevent any updates being installed and keeping focus on the test subject. installer-channels.yaml looks like this:
        ---
        schemaVersion: "2.0.0"
        name: "feature-pack-channel"
        repositories: 
          - id: "temp-repo-0"
            url: "file:/tmp/junit15899821064081090158/"
        manifest: 
          maven: 
            groupId: "org.jboss.eap.qe"
            artifactId: "feature-pack-channel-manifest"
        noStreamStrategy: "none"
        ---
        schemaVersion: "2.0.0"
        name: "eap-custom-channel"
        repositories: 
          - id: "temp-repo-0"
            url: "file:/home/jkasik/tmp/8.0.0.GA-CR3-xp-5.0.0.GA-redhat-20240408/jboss-eap-8.0.0.GA-CR3-xp-5.0.0.GA-redhat-20240408-patched-maven-repository/jboss-eap-8.0.0.GA-maven-repository/maven-repository/"
        manifest: 
          maven: 
            groupId: "org.jboss.eap.channels"
            artifactId: "eap-8.0"
        noStreamStrategy: "none"
        
      4. Add feature pack (prospero.sh feature-pack add) - .installation/.cache now contains the FP zip and manifest
      5. Revert feature pack installation - {.installation/.cache}} does not contain FP related ZIP and manifest, but the base channel manifest is removed as well. History before the revert and revert is made to d15da719:
        [59bddf51] 2024-04-11T08:12:45Z - feature_pack [org.jboss.eap.qe:feature-pack-channel-manifest::1.0.0.Final][org.jboss.eap.channels:eap-8.0::1.0.1.GA-redhat-00003]
        [d15da719] 2024-04-11T08:12:09Z - config_change 
        [c6c4d0d2] 2024-04-11T08:12:08Z - config_change 
        [6b7d85b1] 2024-04-11T08:12:06Z - config_change 
        [84c6b310] 2024-04-10T06:25:21Z - install [org.jboss.eap.channels:eap-8.0::1.0.1.GA-redhat-00003]
        

              spyrkob Bartosz Spyrko-Smietanko
              jkasik@redhat.com Jan Kašík
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: