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

aws-java-sdk-ec2 is not a valid ZIP, plugin may be corrupt

      I build a Docker image for my Jenkins, which uses the jenkins-plugin-cli to pre-install plugins. I am seeing that builds started failing today when download the plugin transitive dependencies. It seems that one of the served plugin files is corrupt.

       

      aws-java-sdk-ec2:1.12.100-298.v384d3c4918bd

       

      15:43:42  #10 21.51 Downloaded file for aws-java-sdk-ec2 is not a valid ZIP
      15:43:42  #10 21.52 io.jenkins.tools.pluginmanager.impl.DownloadPluginException: Unable to download aws-java-sdk-ec2
      15:43:42  #10 21.52     at io.jenkins.tools.pluginmanager.impl.PluginManager.lambda$downloadPlugins$4(PluginManager.java:560)
      15:43:42  #10 21.52     at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
      15:43:42  #10 21.52     at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
      15:43:42  #10 21.52     at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
      15:43:42  #10 21.52     at java.base/java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:290)
      15:43:42  #10 21.52     at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:746)
      15:43:42  #10 21.52     at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
      15:43:42  #10 21.52     at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
      15:43:42  #10 21.52     at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
      15:43:42  #10 21.52     at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
      15:43:42  #10 21.52     at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
      15:43:42  #10 21.52 Unable to download aws-java-sdk-ec2
      15:43:42  #10 21.52 Unable to resolve plugin URL https://archives.jenkins.io/plugins/aws-java-sdk/1.12.100-298.v384d3c4918bd/aws-java-sdk.hpi, or download plugin aws-java-sdk to file: Socket closed
      

          [JENKINS-67048] aws-java-sdk-ec2 is not a valid ZIP, plugin may be corrupt

          A added a comment - - edited

          We are running into the same problem. 

           

          jenkins@4680759287df:/tmp$ jenkins-plugin-cli --plugins aws-java-sdk
          Downloaded file for aws-java-sdk-ec2 is not a valid ZIP
          Downloaded file for aws-java-sdk is not a valid ZIP
          Downloaded file for aws-java-sdk-ec2 is not a valid ZIP
          Downloaded file for aws-java-sdk-ec2 is not a valid ZIP
          Downloading from mirrors failed, falling back to https://archives.jenkins.io/
          Downloaded file for aws-java-sdk is not a valid ZIP
          Downloaded file for aws-java-sdk is not a valid ZIP
          Downloading from mirrors failed, falling back to https://archives.jenkins.io/
          Downloaded file for aws-java-sdk-ec2 is not a valid ZIP
          Unable to download aws-java-sdk-ec2
          Unable to resolve plugin URL https://archives.jenkins.io/plugins/aws-java-sdk/1.12.100-298.v384d3c4918bd/aws-java-sdk.hpi, or download plugin aws-java-sdk to file: Premature end of Content-Length delimited message body (expected: 1,081,249; received: 704,512)
          jenkins@4680759287df:/tmp$
          

          I have tried using the latest version and previous versions but receive the same error. 

          Perhaps these are somehow related: 

          https://issues.jenkins.io/browse/JENKINS-67042

          https://issues.jenkins.io/browse/JENKINS-67047

           

          A added a comment - - edited We are running into the same problem.    jenkins@4680759287df:/tmp$ jenkins-plugin-cli --plugins aws-java-sdk Downloaded file for aws-java-sdk-ec2 is not a valid ZIP Downloaded file for aws-java-sdk is not a valid ZIP Downloaded file for aws-java-sdk-ec2 is not a valid ZIP Downloaded file for aws-java-sdk-ec2 is not a valid ZIP Downloading from mirrors failed, falling back to https: //archives.jenkins.io/ Downloaded file for aws-java-sdk is not a valid ZIP Downloaded file for aws-java-sdk is not a valid ZIP Downloading from mirrors failed, falling back to https: //archives.jenkins.io/ Downloaded file for aws-java-sdk-ec2 is not a valid ZIP Unable to download aws-java-sdk-ec2 Unable to resolve plugin URL https: //archives.jenkins.io/plugins/aws-java-sdk/1.12.100-298.v384d3c4918bd/aws-java-sdk.hpi, or download plugin aws-java-sdk to file: Premature end of Content-Length delimited message body (expected: 1,081,249; received: 704,512) jenkins@4680759287df:/tmp$ I have tried using the latest version and previous versions but receive the same error.  Perhaps these are somehow related:  https://issues.jenkins.io/browse/JENKINS-67042 https://issues.jenkins.io/browse/JENKINS-67047  

          Lucas Cimon added a comment -

          We have been affected by this too.
          Our fix was to rollback to those plugin versions:

          aws-java-sdk:1.12.89-292.v2712528e879c
          aws-java-sdk-ec2:1.12.89-292.v2712528e879c
          

          Lucas Cimon added a comment - We have been affected by this too. Our fix was to rollback to those plugin versions: aws-java-sdk:1.12.89-292.v2712528e879c aws-java-sdk-ec2:1.12.89-292.v2712528e879c

          Sg Ka added a comment -

          I'm seeing that my build is working again with a the newly released version this morning
          1.12.101-300.vc09c7be9cb57
          Closing.

          Sg Ka added a comment - I'm seeing that my build is working again with a the newly released version this morning 1.12.101-300.vc09c7be9cb57 Closing.

            vlatombe Vincent Latombe
            sgka Sg Ka
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: