Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-51306

ATH does not restart instance when withPlugin() requires newer dependency than the bundled version

      Acceptance Test Harness does not restart when installing plugins requiring newer deps than installed plugins. So I get collisions since some plugins cannot load due to the missing deps

      https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fartifact-manager-s3-plugin/detail/PR-20/5... .

          [JENKINS-51306] ATH does not restart instance when withPlugin() requires newer dependency than the bundled version

          Oleg Nenashev created issue -
          Oleg Nenashev made changes -
          Assignee Original: Oliver Gondža [ olivergondza ] New: Raul Arabaolaza [ rarabaolaza ]
          Oleg Nenashev made changes -
          Labels New: essentials
          Raul Arabaolaza made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Oleg Nenashev made changes -
          Sprint New: Essentials - Milestone 2 [ 516 ]
          Oleg Nenashev made changes -
          Rank New: Ranked lower

          Raul Arabaolaza added a comment - - edited
          master50107|WARNING: Call to pin plugin has been ignored. Plugin name: apache-httpcomponents-client-4-api
          master50107|May 14, 2018 3:57:06 PM hudson.PluginManager dynamicLoad
          master50107|INFO: Attempting to dynamic load /mnt/agent-workspace/workspace/act-manager-s3-plugin_PR-20-UBEU36QRPCUL7VA4PQJRQWYU5NJSIGM3MZDPG2NDBVZY4X65OUXA/src/test/it/ath/testfirefox/target/jenkins6150668327098166345home/plugins/apache-httpcomponents-client-4-api.jpi

          Raul Arabaolaza added a comment - - edited master50107|WARNING: Call to pin plugin has been ignored. Plugin name: apache-httpcomponents-client-4-api master50107|May 14, 2018 3:57:06 PM hudson.PluginManager dynamicLoad master50107|INFO: Attempting to dynamic load /mnt/agent-workspace/workspace/act-manager-s3-plugin_PR-20-UBEU36QRPCUL7VA4PQJRQWYU5NJSIGM3MZDPG2NDBVZY4X65OUXA/src/test/it/ath/testfirefox/target/jenkins6150668327098166345home/plugins/apache-httpcomponents-client-4-api.jpi

          By taking a look at the video and by my local debugging I can confirm that the ATH does restart Jenkins, however, that restart seems to have no effect on the status of the plugin, this is quite strange. I am going to try to reproduce locally (without ATH) to see if is something related to the use of a custom update center or the war itself

          Raul Arabaolaza added a comment - By taking a look at the video and by my local debugging I can confirm that the ATH does restart Jenkins, however, that restart seems to have no effect on the status of the plugin, this is quite strange. I am going to try to reproduce locally (without ATH) to see if is something related to the use of a custom update center or the war itself

          I can confirm this is not an ATH failure, even when starting the war file by itself and trying to update the plugin manually (via UC) it does restart but is not updated... Trying to understand why

          Raul Arabaolaza added a comment - I can confirm this is not an ATH failure, even when starting the war file by itself and trying to update the plugin manually (via UC) it does restart but is not updated... Trying to understand why

          Oleg Nenashev added a comment -

          Likely the bundling functionality does not behave properly since changes around 2.0
          And now I remember that I was doing a patch for JENKINS-36441 (https://github.com/jenkinsci/jenkins/pull/2436/files), which is likely related to the behavior of the plugin manager

          Oleg Nenashev added a comment - Likely the bundling functionality does not behave properly since changes around 2.0 And now I remember that I was doing a patch for JENKINS-36441 ( https://github.com/jenkinsci/jenkins/pull/2436/files ), which is likely related to the behavior of the plugin manager

            rarabaolaza Raul Arabaolaza
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: