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

Guava 32.0 breaks Jenkins on Windows for at least 2 plugins

    • 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...

          [JENKINS-71375] Guava 32.0 breaks Jenkins on Windows for at least 2 plugins

          Michael Keppler created issue -
          vamsi made changes -
          Attachment New: manage.py [ 60523 ]

          Some admin user please remove the attachment "manage.py" from the issue. It's completely unrelated. No idea why someone else attached it.

          Michael Keppler added a comment - Some admin user please remove the attachment "manage.py" from the issue. It's completely unrelated. No idea why someone else attached it.
          Alexander Brandes made changes -
          Remote Link New: This issue links to "guava 32 changelog (Web Link)" [ 28728 ]

          // ... (if ever they did). 

           

          Does that affect the JFrog plugin only? I didn't encounter that error yet.

          Alexander Brandes added a comment - // ... ( if ever they did).   Does that affect the JFrog plugin only? I didn't encounter that error yet.

          Quite honestly, I still haven't found which plugin brought that new dependency. For reference, the full stack trace is this one:

          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)
          Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from ip-172-21-6-95.eu-central-1.compute.internal/172.21.6.95:27302
                  at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1784)
                  at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
                  at hudson.remoting.Channel.call(Channel.java:1000)
                  at hudson.FilePath.act(FilePath.java:1192)
                  at hudson.FilePath.act(FilePath.java:1181)
                  at org.jfrog.hudson.pipeline.common.executors.GenericDownloadExecutor.execute(GenericDownloadExecutor.java:52)
                  at org.jfrog.hudson.pipeline.scripted.steps.DownloadStep$Execution.runStep(DownloadStep.java:67)
                  at org.jfrog.hudson.pipeline.scripted.steps.DownloadStep$Execution.runStep(DownloadStep.java:53)
                  at org.jfrog.hudson.pipeline.ArtifactorySynchronousNonBlockingStepExecution.run(ArtifactorySynchronousNonBlockingStepExecution.java:55)
                  at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
                  at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
                  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
                  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          Also:   org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: a4827258-27d1-4b17-9c22-d33e1851b56b
          Also:       Also:   org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: cccd8172-13db-4ee2-a28b-53bba5ee9d6c
          hudson.AbortException: script returned exit code 1
                  at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.handleExit(DurableTaskStep.java:667)
                  at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:613)
                  at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:557)
                  at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
                  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
                  at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
                  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          Also:       Also:   org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: f7e5076e-0e84-424b-9628-79fca9fe1469
          hudson.AbortException: script returned exit code 1
                  at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.handleExit(DurableTaskStep.java:667)
                  at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:613)
                  at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:557)
                  at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
                  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
                  at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
                  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          Also:       Also:   org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: b2c8484a-7941-4e2d-9fc2-75d266170ebe
          hudson.AbortException: script returned exit code 1
                  at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.handleExit(DurableTaskStep.java:667)
                  at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:613)
                  at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:557)
                  at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
                  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
                  at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
                  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          Also:       Also:   org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: 31240348-3c5c-4aae-9afa-7709e1fd2933
          hudson.AbortException: script returned exit code 1
                  at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.handleExit(DurableTaskStep.java:667)
                  at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:613)
                  at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:557)
                  at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
                  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
                  at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
                  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          Also:       Also:   org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: 4425bc86-e97a-4425-bfd2-6f849171fa82
          hudson.AbortException: script returned exit code 1
                  at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.handleExit(DurableTaskStep.java:667)
                  at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:613)
                  at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:557)
                  at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
                  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
                  at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
                  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          Also:       Also:   org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: 0c6b9cc8-3451-418c-864a-ac69720b3e24
          hudson.AbortException: script returned exit code 1
                  at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.handleExit(DurableTaskStep.java:667)
                  at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:613)
                  at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:557)
                  at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
                  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
                  at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
                  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          Also:       Also:   org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: d459b372-e8ce-4a38-8f84-da82cdc1fb4f
          hudson.AbortException: script returned exit code 1
                  at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.handleExit(DurableTaskStep.java:667)
                  at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:613)
                  at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:557)
                  at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
                  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
                  at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
                  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          Caused: java.io.IOException
              at org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper.downloadArtifact(DependenciesDownloaderHelper.java:222)
              at org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper.downloadArtifact(DependenciesDownloaderHelper.java:184)
              at org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper.downloadDependencies(DependenciesDownloaderHelper.java:123)
              at org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper.downloadDependencies(DependenciesDownloaderHelper.java:83)
              at org.jfrog.build.extractor.clientConfiguration.util.spec.SpecsHelper.downloadArtifactsBySpec(SpecsHelper.java:142)
              at org.jfrog.hudson.generic.FilesResolverCallable.invoke(FilesResolverCallable.java:51)
              at org.jfrog.hudson.generic.FilesResolverCallable.invoke(FilesResolverCallable.java:21)
              at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3578)
              at hudson.remoting.UserRequest.perform(UserRequest.java:211)
              at hudson.remoting.UserRequest.perform(UserRequest.java:54)
              at hudson.remoting.Request$2.run(Request.java:377)
              at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
              at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
              at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
              at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
              at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:125)
              at java.base/java.lang.Thread.run(Thread.java:829) 

          I've been checking github releases and their recent commits for at least 10 plugins now, and I still don't have a clue. But it must be something released in the last 2 days, given the Guava release itself is only 2 days old.

          I'm somewhat certain that the pipeline code triggering the problem is this piece of Artifactory Jenkins plugin code, because the last console log entries before the exception are from downloading artifacts from Artifactory:

          def server = Artifactory.server 'myServerName'
          server.download failNoOp: true, spec: someFileSpecArray

          Michael Keppler added a comment - Quite honestly, I still haven't found which plugin brought that new dependency. For reference, the full stack trace is this one: 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) Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from ip-172-21-6-95.eu-central-1.compute.internal/172.21.6.95:27302         at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1784)         at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)         at hudson.remoting.Channel.call(Channel.java:1000)         at hudson.FilePath.act(FilePath.java:1192)         at hudson.FilePath.act(FilePath.java:1181)         at org.jfrog.hudson.pipeline.common.executors.GenericDownloadExecutor.execute(GenericDownloadExecutor.java:52)         at org.jfrog.hudson.pipeline.scripted.steps.DownloadStep$Execution.runStep(DownloadStep.java:67)         at org.jfrog.hudson.pipeline.scripted.steps.DownloadStep$Execution.runStep(DownloadStep.java:53)         at org.jfrog.hudson.pipeline.ArtifactorySynchronousNonBlockingStepExecution.run(ArtifactorySynchronousNonBlockingStepExecution.java:55)         at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)         at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)         at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)         at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)         at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) Also:   org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: a4827258-27d1-4b17-9c22-d33e1851b56b Also:       Also:   org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: cccd8172-13db-4ee2-a28b-53bba5ee9d6c hudson.AbortException: script returned exit code 1         at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.handleExit(DurableTaskStep.java:667)         at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:613)         at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:557)         at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)         at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)         at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)         at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)         at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) Also:       Also:   org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: f7e5076e-0e84-424b-9628-79fca9fe1469 hudson.AbortException: script returned exit code 1         at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.handleExit(DurableTaskStep.java:667)         at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:613)         at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:557)         at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)         at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)         at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)         at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)         at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) Also:       Also:   org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: b2c8484a-7941-4e2d-9fc2-75d266170ebe hudson.AbortException: script returned exit code 1         at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.handleExit(DurableTaskStep.java:667)         at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:613)         at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:557)         at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)         at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)         at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)         at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)         at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) Also:       Also:   org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: 31240348-3c5c-4aae-9afa-7709e1fd2933 hudson.AbortException: script returned exit code 1         at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.handleExit(DurableTaskStep.java:667)         at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:613)         at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:557)         at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)         at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)         at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)         at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)         at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) Also:       Also:   org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: 4425bc86-e97a-4425-bfd2-6f849171fa82 hudson.AbortException: script returned exit code 1         at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.handleExit(DurableTaskStep.java:667)         at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:613)         at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:557)         at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)         at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)         at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)         at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)         at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) Also:       Also:   org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: 0c6b9cc8-3451-418c-864a-ac69720b3e24 hudson.AbortException: script returned exit code 1         at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.handleExit(DurableTaskStep.java:667)         at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:613)         at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:557)         at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)         at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)         at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)         at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)         at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) Also:       Also:   org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: d459b372-e8ce-4a38-8f84-da82cdc1fb4f hudson.AbortException: script returned exit code 1         at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.handleExit(DurableTaskStep.java:667)         at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:613)         at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:557)         at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)         at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)         at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)         at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)         at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) Caused: java.io.IOException     at org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper.downloadArtifact(DependenciesDownloaderHelper.java:222)     at org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper.downloadArtifact(DependenciesDownloaderHelper.java:184)     at org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper.downloadDependencies(DependenciesDownloaderHelper.java:123)     at org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper.downloadDependencies(DependenciesDownloaderHelper.java:83)     at org.jfrog.build.extractor.clientConfiguration.util.spec.SpecsHelper.downloadArtifactsBySpec(SpecsHelper.java:142)     at org.jfrog.hudson. generic .FilesResolverCallable.invoke(FilesResolverCallable.java:51)     at org.jfrog.hudson. generic .FilesResolverCallable.invoke(FilesResolverCallable.java:21)     at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3578)     at hudson.remoting.UserRequest.perform(UserRequest.java:211)     at hudson.remoting.UserRequest.perform(UserRequest.java:54)     at hudson.remoting.Request$2.run(Request.java:377)     at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)     at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)     at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)     at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:125)     at java.base/java.lang. Thread .run( Thread .java:829) I've been checking github releases and their recent commits for at least 10 plugins now, and I still don't have a clue. But it must be something released in the last 2 days, given the Guava release itself is only 2 days old. I'm somewhat certain that the pipeline code triggering the problem is this piece of Artifactory Jenkins plugin code, because the last console log entries before the exception are from downloading artifacts from Artifactory: def server = Artifactory.server 'myServerName' server.download failNoOp: true , spec: someFileSpecArray

          It seems to be Jenkins core, which upgraded the dependency: https://github.com/jenkinsci/jenkins/commit/de43dca59ecaf032e0274eb9f2c7c21d3ed76fd0 Sorry for creating noise pointing at other plugins.

          Michael Keppler added a comment - It seems to be Jenkins core, which upgraded the dependency: https://github.com/jenkinsci/jenkins/commit/de43dca59ecaf032e0274eb9f2c7c21d3ed76fd0 Sorry for creating noise pointing at other plugins.
          Mark Waite made changes -
          Attachment Original: manage.py [ 60523 ]
          Mark Waite made changes -
          Description Original: Since the plugin upgrades 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:
          {code:java}
          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) {code}
          Not sure if you have some kind of central enforcement of dependencies for all plugins...
          New: 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:
          {code:java}
          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) {code}
          Not sure if you have some kind of central enforcement of dependencies for all plugins...

          Mark Waite added a comment - - edited

          As far as I can tell, Jenkins core has already banned references to com.google.common.io. classes. Plugins that are using Guava file APIs that are not supported on Windows need to be changed to use supported APIs. Preferably, they need to reduce their use of Guava APIs as has been done in many plugins.

          Mark Waite added a comment - - edited As far as I can tell, Jenkins core has already banned references to com.google.common.io. classes . Plugins that are using Guava file APIs that are not supported on Windows need to be changed to use supported APIs. Preferably, they need to reduce their use of Guava APIs as has been done in many plugins.

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

              Created:
              Updated:
              Resolved: