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

nexus-jenkins-plugin.jpi.tmp does not match expected SHA-1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • nexus-platform-plugin
    • None
    • Jenkins LTS2.138.2
      nexus-jenkins-plugin 3.5.20190313-114450.3bfee7f

      Using CloudBees Core 2.138.2.2 which is based on Jenkins LTS2.138.2 when you try to update from 3.5.20190313-114450.3bfee7f to 3.5.20190425-152158.c63841b.

      Result: The plugin is not updated.

      The following trace can be seen on the logs

      INFO: Starting the installation of Nexus Platform Plugin on behalf of admin
      Jun 13, 2019 2:31:51 PM hudson.model.UpdateCenter$UpdateCenterConfiguration download
      INFO: Downloading Nexus Platform Plugin
      Jun 13, 2019 2:31:52 PM hudson.model.UpdateCenter doSafeRestart
      INFO: Scheduling Jenkins reboot
      Jun 13, 2019 2:31:57 PM hudson.model.UpdateCenter$DownloadJob run
      SEVERE: Failed to install Nexus Platform Plugin
      java.io.IOException: Downloaded file /home/carlosrodlop/Support/cases/76158/008-cloudbees-support_cje-jenkins-custom-mpop01.digital-tools.prod.aws.cloud_2019-06-11_16.43.17/jenkins-home/plugins/nexus-jenkins-plugin.jpi.tmp does not match expected SHA-1, expected 'od01YUPxTPXM6v9gjMKB87vOKBE=', actual 'I6TxOQGDw+dnQeh000YImHZVYDE='
      	at hudson.model.UpdateCenter.throwVerificationFailure(UpdateCenter.java:1865)
      	at hudson.model.UpdateCenter.verifyChecksums(UpdateCenter.java:1912)
      	at hudson.model.UpdateCenter$InstallationJob.replace(UpdateCenter.java:2067)
      	at hudson.model.UpdateCenter$UpdateCenterConfiguration.install(UpdateCenter.java:1200)
      	at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1718)
      	at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1978)
      	at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1689)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:112)
      	at java.lang.Thread.run(Thread.java:748)
      
      Jun 13, 2019 2:31:57 PM jenkins.model.Jenkins$23 run
      INFO: Restart in 10 seconds
      Jun 13, 2019 2:32:07 PM jenkins.model.Jenkins$23 run
      SEVERE: Restarting VM as requested by admin
      Jun 13, 2019 2:32:07 PM jenkins.model.Jenkins cleanUp
      INFO: Stopping Jenkins
      

      Note: It is not reproducible for Jenkins OSS LTs because its UPdate Center uses another SHA (256)

            whyjustin Justin Young
            carlosrodlop Carlos Rodríguez López
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: