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

Guava 32.0 breaks Jenkins on Windows for at least 2 plugins

XMLWordPrintable

    • 2.410

      Since the core 2.407 upgrade of yesterday I see exceptions somewhere in jfrog plugin code. However, the problem is more generic, because Guava 32 isn't working on Windows anymore as before: https://github.com/google/guava/commit/3dfe3633eb84ec96ac88c764862b0f8d0c3546fc

      Therefore all plugins using Guava 32 should downgrade that dependency again.

      The current implementation of the TempFileCreator class causes this exception on Windows otherwise:

      java.lang.UnsupportedOperationException: 'posix:permissions' not supported as initial attribute
      	at java.base/sun.nio.fs.WindowsSecurityDescriptor.fromAttribute(WindowsSecurityDescriptor.java:358)
      	at java.base/sun.nio.fs.WindowsFileSystemProvider.createDirectory(WindowsFileSystemProvider.java:497)
      	at java.base/java.nio.file.Files.createDirectory(Files.java:690)
      	at java.base/java.nio.file.TempFileHelper.create(TempFileHelper.java:135)
      	at java.base/java.nio.file.TempFileHelper.createTempDirectory(TempFileHelper.java:172)
      	at java.base/java.nio.file.Files.createTempDirectory(Files.java:966)
      	at com.google.common.io.TempFileCreator$JavaNioCreator.createTempDir(TempFileCreator.java:102)
      	at com.google.common.io.Files.createTempDir(Files.java:439)
      	at org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper.downloadFileConcurrently(DependenciesDownloaderHelper.java:248)
      	at org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper.downloadArtifact(DependenciesDownloaderHelper.java:209) 

      Not sure if you have some kind of central enforcement of dependencies for all plugins...

            basil Basil Crow
            bananeweizen Michael Keppler
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: