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

Issues with Failed Download Output File in Docker

    • GSoC 2019. Coding Phase 2

      When running the plugin management jar in Docker, the following error is thrown:

      java.io.FileNotFoundException: failedplugins.txt (Permission denied)

      I tried copying an empty failedplugins file into the image using a COPY command in the Dockerfile, but I'm not sure if I'm copying the file to the wrong location or if there's some other issue with permissions.  

          [JENKINS-58216] Issues with Failed Download Output File in Docker

          Natasha Stopa created issue -
          Natasha Stopa made changes -
          Epic Link New: JENKINS-53767 [ 194275 ]
          Natasha Stopa made changes -
          Description Original: When running the plugin management jar in Docker, the following error is thrown: 

          java.lang.reflect.InaccessibleObjectException: Unable to make boolean jdk.nio.zipfs.ZipFileSystem.isDirectory(byte[]) throws java.io.IOException accessible: module jdk.zipfs does not "opens jdk.nio.zipfs"

          I tried copying an empty faildplugins file into the image using a COPY command in the Dockerfile, but I'm not sure if I'm copying the file to the wrong location or if there's some other issue.  
          New: When running the plugin management jar in Docker, the following error is thrown:

          java.io.FileNotFoundException: failedplugins.txt (Permission denied)

          I tried copying an empty faildplugins file into the image using a COPY command in the Dockerfile, but I'm not sure if I'm copying the file to the wrong location or if there's some other issue.  
          Natasha Stopa made changes -
          Description Original: When running the plugin management jar in Docker, the following error is thrown:

          java.io.FileNotFoundException: failedplugins.txt (Permission denied)

          I tried copying an empty faildplugins file into the image using a COPY command in the Dockerfile, but I'm not sure if I'm copying the file to the wrong location or if there's some other issue.  
          New: When running the plugin management jar in Docker, the following error is thrown:

          java.io.FileNotFoundException: failedplugins.txt (Permission denied)

          I tried copying an empty failedplugins file into the image using a COPY command in the Dockerfile, but I'm not sure if I'm copying the file to the wrong location or if there's some other issue.  
          Natasha Stopa made changes -
          Description Original: When running the plugin management jar in Docker, the following error is thrown:

          java.io.FileNotFoundException: failedplugins.txt (Permission denied)

          I tried copying an empty failedplugins file into the image using a COPY command in the Dockerfile, but I'm not sure if I'm copying the file to the wrong location or if there's some other issue.  
          New: When running the plugin management jar in Docker, the following error is thrown:

          java.io.FileNotFoundException: failedplugins.txt (Permission denied)

          I tried copying an empty failedplugins file into the image using a COPY command in the Dockerfile, but I'm not sure if I'm copying the file to the wrong location or if there's some other issue with permissions.  

          Tim Jacomb added a comment -

          I would just collect all failed plugins, print them at the end and do System.exit(1) so it exits as a failure

          Tim Jacomb added a comment - I would just collect all failed plugins, print them at the end and do System.exit(1) so it exits as a failure
          Natasha Stopa made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          Natasha Stopa added a comment -

          Natasha Stopa added a comment - Fixed in PR:  https://github.com/jenkinsci/plugin-installation-manager-tool/pull/29
          Natasha Stopa made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Natasha Stopa made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]

            stopalopa Natasha Stopa
            stopalopa Natasha Stopa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: