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

Junit plugin most recent release fails to download - install wizard fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • other
    • Java Version: 17
      jenkins-2.440.2-1.1.noarch

      When trying to install the standard plugins during startup of a fresh install of Jenkins on version jenkins-2.440.2-1.1.noarch, several plugins fail to install. This causes the initial install of jenkins to fail.

      Plugin that causes the setup to fail to continue:
      junit

       

      I have tried forcing jenkins to use a different version by specifying in the init folder, however this is needed by the base jenkins it seems.

      Relevant logs:

      Mar 26 14:12:12 <ip-address> jenkins[227656]: 2024-03-26 18:12:12.477+0000 [id=93]        INFO        h.m.UpdateCenter$UpdateCenterConfiguration#download: Downloading junit
      Mar 26 14:12:12 <ip-address> jenkins[227656]: 2024-03-26 18:12:12.967+0000 [id=93]        SEVERE        h.model.UpdateCenter$DownloadJob#run: Failed to install junit
      Mar 26 14:12:12 <ip-address> jenkins[227656]: java.io.FileNotFoundException: https://get.jenkins.io/plugins/junit/1265.v65b_14fa_f12f0/junit.hpi
      Mar 26 14:12:12 <ip-address> jenkins[227656]:         at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1996)
      Mar 26 14:12:12 <ip-address> jenkins[227656]:         at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589)
      Mar 26 14:12:12 <ip-address> jenkins[227656]:         at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224)
      Mar 26 14:12:12 <ip-address> jenkins[227656]:         at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1323)
      Mar 26 14:12:12 <ip-address> jenkins[227656]: Caused: java.io.IOException: Failed to load https://updates.jenkins.io/download/plugins/junit/1265.v65b_14fa_f12f0/junit.hpi to /var/lib/jenkins/plugins/junit.jpi.tmp
      Mar 26 14:12:12 <ip-address> jenkins[227656]:         at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1334)
      Mar 26 14:12:12 <ip-address> jenkins[227656]: Caused: java.io.IOException: Failed to download from https://updates.jenkins.io/download/plugins/junit/1265.v65b_14fa_f12f0/junit.hpi (redirected to: https://get.jenkins.io/plugins/junit/1265.v65b_14fa_f12f0/junit.hpi)
      Mar 26 14:12:12 <ip-address> jenkins[227656]:         at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1368)
      Mar 26 14:12:12 <ip-address> jenkins[227656]:         at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1925)
      Mar 26 14:12:12 <ip-address> jenkins[227656]:         at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2237)
      Mar 26 14:12:12 <ip-address> jenkins[227656]:         at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1899)
      Mar 26 14:12:12 <ip-address> jenkins[227656]:         at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
      Mar 26 14:12:12 <ip-address> jenkins[227656]:         at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      Mar 26 14:12:12 <ip-address> jenkins[227656]:         at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:121)
      Mar 26 14:12:12 <ip-address> jenkins[227656]:         at java.base/java.lang.Thread.run(Thread.java:840)

       

            Unassigned Unassigned
            gatoraidab Andrew Barrett
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: