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

Artifact archiver logs 'dangerously' looking warning, if no artifacts where found

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • core
    • None
    • 2.444

      Edit: I previously thought that this was swallowing the interrupt signal of a build,

      but apparently this is a 'harmless' warning, if not artifacts where found

      16:04:44  Archiving artifacts
      16:04:44  hudson.FilePath$ValidateAntFileMask$1Cancel
      16:04:44  	at hudson.FilePath$ValidateAntFileMask$1.isCaseSensitive(FilePath.java:3300)
      16:04:44  	at org.apache.tools.ant.DirectoryScanner.isIncluded(DirectoryScanner.java:1385)
      16:04:44  	at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1275)
      16:04:44  	at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
      16:04:44  	at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
      16:04:44  	at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
      16:04:44  	at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
      16:04:44  	at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
      16:04:44  	at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1198)
      16:04:44  	at org.apache.tools.ant.DirectoryScanner.checkIncludePatterns(DirectoryScanner.java:1020)
      16:04:44  	at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:912)
      16:04:44  	at hudson.FilePath$ValidateAntFileMask.hasMatch(FilePath.java:3313)
      16:04:44  Caused: hudson.FilePath$FileMaskNoMatchesFoundException: no matches found within 10000
      16:04:44  	at hudson.FilePath$ValidateAntFileMask.hasMatch(FilePath.java:3318)
      16:04:44  	at hudson.FilePath$ValidateAntFileMask.invoke(FilePath.java:3226)
      16:04:44  	at hudson.FilePath$ValidateAntFileMask.invoke(FilePath.java:3174)
      16:04:44  	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3578)
      16:04:44  Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from xxx
      16:04:44  		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1784)
      16:04:44  		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
      16:04:44  		at hudson.remoting.Channel.call(Channel.java:1000)
      16:04:44  		at hudson.FilePath.act(FilePath.java:1192)
      16:04:44  		at hudson.FilePath.act(FilePath.java:1181)
      16:04:44  		at hudson.FilePath.validateAntFileMask(FilePath.java:3171)
      16:04:44  		at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:271)
      16:04:44  		at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:101)
      16:04:44  		at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:71)
      16:04:44  		at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
      16:04:44  		at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
      16:04:44  		at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      16:04:44  		at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      16:04:44  		at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      16:04:44  		at java.base/java.lang.Thread.run(Thread.java:829)
      16:04:44  Caused: hudson.FilePath$TunneledInterruptedException
      16:04:44  	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3580)
      16:04:44  	at hudson.remoting.UserRequest.perform(UserRequest.java:211)
      16:04:44  	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
      16:04:44  	at hudson.remoting.Request$2.run(Request.java:377)
      16:04:44  	at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
      16:04:44  	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
      16:04:44  	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      16:04:44  	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      16:04:44  	at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:125)
      16:04:44  	at java.base/java.lang.Thread.run(Unknown Source)
      16:04:44  Caused: java.lang.InterruptedException: hudson.FilePath$FileMaskNoMatchesFoundException: no matches found within 10000
      16:04:44  	at hudson.FilePath.act(FilePath.java:1194)
      16:04:44  	at hudson.FilePath.act(FilePath.java:1181)
      16:04:44  	at hudson.FilePath.validateAntFileMask(FilePath.java:3171)
      16:04:44  	at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:271)
      16:04:44  	at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:101)
      16:04:44  	at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:71)
      16:04:44  	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
      16:04:44  	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
      16:04:44  	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      16:04:44  	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      16:04:44  	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      16:04:44  	at java.base/java.lang.Thread.run(Thread.java:829)
      16:04:44  No artifacts found that match the file pattern "dist/libs/**/*.tgz". Configuration error? 

      Will probably only occur if 'allowEmptyArchive: true' is set

          [JENKINS-71700] Artifact archiver logs 'dangerously' looking warning, if no artifacts where found

          kutzi created issue -
          kutzi made changes -
          Description Original: I've experienced this now a couple of times. We abort previous builds in our pipeline when a new build starts. Occasionally the previous builds then keep running, because the interrupt signal seems to be swallowed by an 'archiveArtifacts' step:


          {code:java}
          16:04:44 Archiving artifacts
          16:04:44 hudson.FilePath$ValidateAntFileMask$1Cancel
          16:04:44 at hudson.FilePath$ValidateAntFileMask$1.isCaseSensitive(FilePath.java:3300)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.isIncluded(DirectoryScanner.java:1385)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1275)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1198)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.checkIncludePatterns(DirectoryScanner.java:1020)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:912)
          16:04:44 at hudson.FilePath$ValidateAntFileMask.hasMatch(FilePath.java:3313)
          16:04:44 Caused: hudson.FilePath$FileMaskNoMatchesFoundException: no matches found within 10000
          16:04:44 at hudson.FilePath$ValidateAntFileMask.hasMatch(FilePath.java:3318)
          16:04:44 at hudson.FilePath$ValidateAntFileMask.invoke(FilePath.java:3226)
          16:04:44 at hudson.FilePath$ValidateAntFileMask.invoke(FilePath.java:3174)
          16:04:44 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3578)
          16:04:44 Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from jenkins-slave-01-wasp.test.h.zeal.zone/10.70.24.151:54280
          16:04:44 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1784)
          16:04:44 at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
          16:04:44 at hudson.remoting.Channel.call(Channel.java:1000)
          16:04:44 at hudson.FilePath.act(FilePath.java:1192)
          16:04:44 at hudson.FilePath.act(FilePath.java:1181)
          16:04:44 at hudson.FilePath.validateAntFileMask(FilePath.java:3171)
          16:04:44 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:271)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:101)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:71)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
          16:04:44 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
          16:04:44 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          16:04:44 at java.base/java.lang.Thread.run(Thread.java:829)
          16:04:44 Caused: hudson.FilePath$TunneledInterruptedException
          16:04:44 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3580)
          16:04:44 at hudson.remoting.UserRequest.perform(UserRequest.java:211)
          16:04:44 at hudson.remoting.UserRequest.perform(UserRequest.java:54)
          16:04:44 at hudson.remoting.Request$2.run(Request.java:377)
          16:04:44 at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
          16:04:44 at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          16:04:44 at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:125)
          16:04:44 at java.base/java.lang.Thread.run(Unknown Source)
          16:04:44 Caused: java.lang.InterruptedException: hudson.FilePath$FileMaskNoMatchesFoundException: no matches found within 10000
          16:04:44 at hudson.FilePath.act(FilePath.java:1194)
          16:04:44 at hudson.FilePath.act(FilePath.java:1181)
          16:04:44 at hudson.FilePath.validateAntFileMask(FilePath.java:3171)
          16:04:44 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:271)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:101)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:71)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
          16:04:44 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
          16:04:44 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          16:04:44 at java.base/java.lang.Thread.run(Thread.java:829)
          16:04:44 No artifacts found that match the file pattern "dist/libs/**/*.tgz". Configuration error? {code}
          New: I've experienced this now a couple of times. We abort previous builds in our pipeline when a new build starts. Occasionally the previous builds then keeps running, because the interrupt signal seems to be swallowed by an 'archiveArtifacts' step:
          {code:java}
          16:04:44 Archiving artifacts
          16:04:44 hudson.FilePath$ValidateAntFileMask$1Cancel
          16:04:44 at hudson.FilePath$ValidateAntFileMask$1.isCaseSensitive(FilePath.java:3300)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.isIncluded(DirectoryScanner.java:1385)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1275)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1198)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.checkIncludePatterns(DirectoryScanner.java:1020)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:912)
          16:04:44 at hudson.FilePath$ValidateAntFileMask.hasMatch(FilePath.java:3313)
          16:04:44 Caused: hudson.FilePath$FileMaskNoMatchesFoundException: no matches found within 10000
          16:04:44 at hudson.FilePath$ValidateAntFileMask.hasMatch(FilePath.java:3318)
          16:04:44 at hudson.FilePath$ValidateAntFileMask.invoke(FilePath.java:3226)
          16:04:44 at hudson.FilePath$ValidateAntFileMask.invoke(FilePath.java:3174)
          16:04:44 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3578)
          16:04:44 Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from jenkins-slave-01-wasp.test.h.zeal.zone/10.70.24.151:54280
          16:04:44 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1784)
          16:04:44 at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
          16:04:44 at hudson.remoting.Channel.call(Channel.java:1000)
          16:04:44 at hudson.FilePath.act(FilePath.java:1192)
          16:04:44 at hudson.FilePath.act(FilePath.java:1181)
          16:04:44 at hudson.FilePath.validateAntFileMask(FilePath.java:3171)
          16:04:44 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:271)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:101)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:71)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
          16:04:44 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
          16:04:44 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          16:04:44 at java.base/java.lang.Thread.run(Thread.java:829)
          16:04:44 Caused: hudson.FilePath$TunneledInterruptedException
          16:04:44 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3580)
          16:04:44 at hudson.remoting.UserRequest.perform(UserRequest.java:211)
          16:04:44 at hudson.remoting.UserRequest.perform(UserRequest.java:54)
          16:04:44 at hudson.remoting.Request$2.run(Request.java:377)
          16:04:44 at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
          16:04:44 at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          16:04:44 at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:125)
          16:04:44 at java.base/java.lang.Thread.run(Unknown Source)
          16:04:44 Caused: java.lang.InterruptedException: hudson.FilePath$FileMaskNoMatchesFoundException: no matches found within 10000
          16:04:44 at hudson.FilePath.act(FilePath.java:1194)
          16:04:44 at hudson.FilePath.act(FilePath.java:1181)
          16:04:44 at hudson.FilePath.validateAntFileMask(FilePath.java:3171)
          16:04:44 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:271)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:101)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:71)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
          16:04:44 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
          16:04:44 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          16:04:44 at java.base/java.lang.Thread.run(Thread.java:829)
          16:04:44 No artifacts found that match the file pattern "dist/libs/**/*.tgz". Configuration error? {code}
          kutzi made changes -
          Description Original: I've experienced this now a couple of times. We abort previous builds in our pipeline when a new build starts. Occasionally the previous builds then keeps running, because the interrupt signal seems to be swallowed by an 'archiveArtifacts' step:
          {code:java}
          16:04:44 Archiving artifacts
          16:04:44 hudson.FilePath$ValidateAntFileMask$1Cancel
          16:04:44 at hudson.FilePath$ValidateAntFileMask$1.isCaseSensitive(FilePath.java:3300)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.isIncluded(DirectoryScanner.java:1385)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1275)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1198)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.checkIncludePatterns(DirectoryScanner.java:1020)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:912)
          16:04:44 at hudson.FilePath$ValidateAntFileMask.hasMatch(FilePath.java:3313)
          16:04:44 Caused: hudson.FilePath$FileMaskNoMatchesFoundException: no matches found within 10000
          16:04:44 at hudson.FilePath$ValidateAntFileMask.hasMatch(FilePath.java:3318)
          16:04:44 at hudson.FilePath$ValidateAntFileMask.invoke(FilePath.java:3226)
          16:04:44 at hudson.FilePath$ValidateAntFileMask.invoke(FilePath.java:3174)
          16:04:44 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3578)
          16:04:44 Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from jenkins-slave-01-wasp.test.h.zeal.zone/10.70.24.151:54280
          16:04:44 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1784)
          16:04:44 at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
          16:04:44 at hudson.remoting.Channel.call(Channel.java:1000)
          16:04:44 at hudson.FilePath.act(FilePath.java:1192)
          16:04:44 at hudson.FilePath.act(FilePath.java:1181)
          16:04:44 at hudson.FilePath.validateAntFileMask(FilePath.java:3171)
          16:04:44 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:271)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:101)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:71)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
          16:04:44 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
          16:04:44 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          16:04:44 at java.base/java.lang.Thread.run(Thread.java:829)
          16:04:44 Caused: hudson.FilePath$TunneledInterruptedException
          16:04:44 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3580)
          16:04:44 at hudson.remoting.UserRequest.perform(UserRequest.java:211)
          16:04:44 at hudson.remoting.UserRequest.perform(UserRequest.java:54)
          16:04:44 at hudson.remoting.Request$2.run(Request.java:377)
          16:04:44 at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
          16:04:44 at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          16:04:44 at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:125)
          16:04:44 at java.base/java.lang.Thread.run(Unknown Source)
          16:04:44 Caused: java.lang.InterruptedException: hudson.FilePath$FileMaskNoMatchesFoundException: no matches found within 10000
          16:04:44 at hudson.FilePath.act(FilePath.java:1194)
          16:04:44 at hudson.FilePath.act(FilePath.java:1181)
          16:04:44 at hudson.FilePath.validateAntFileMask(FilePath.java:3171)
          16:04:44 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:271)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:101)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:71)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
          16:04:44 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
          16:04:44 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          16:04:44 at java.base/java.lang.Thread.run(Thread.java:829)
          16:04:44 No artifacts found that match the file pattern "dist/libs/**/*.tgz". Configuration error? {code}
          New: I've experienced this now a couple of times. We abort previous builds in our pipeline when a new build starts. Occasionally the previous builds then keeps running, because the interrupt signal seems to be swallowed by an 'archiveArtifacts' step:
          {code:java}
          16:04:44 Archiving artifacts
          16:04:44 hudson.FilePath$ValidateAntFileMask$1Cancel
          16:04:44 at hudson.FilePath$ValidateAntFileMask$1.isCaseSensitive(FilePath.java:3300)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.isIncluded(DirectoryScanner.java:1385)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1275)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1198)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.checkIncludePatterns(DirectoryScanner.java:1020)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:912)
          16:04:44 at hudson.FilePath$ValidateAntFileMask.hasMatch(FilePath.java:3313)
          16:04:44 Caused: hudson.FilePath$FileMaskNoMatchesFoundException: no matches found within 10000
          16:04:44 at hudson.FilePath$ValidateAntFileMask.hasMatch(FilePath.java:3318)
          16:04:44 at hudson.FilePath$ValidateAntFileMask.invoke(FilePath.java:3226)
          16:04:44 at hudson.FilePath$ValidateAntFileMask.invoke(FilePath.java:3174)
          16:04:44 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3578)
          16:04:44 Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from xxx
          16:04:44 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1784)
          16:04:44 at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
          16:04:44 at hudson.remoting.Channel.call(Channel.java:1000)
          16:04:44 at hudson.FilePath.act(FilePath.java:1192)
          16:04:44 at hudson.FilePath.act(FilePath.java:1181)
          16:04:44 at hudson.FilePath.validateAntFileMask(FilePath.java:3171)
          16:04:44 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:271)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:101)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:71)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
          16:04:44 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
          16:04:44 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          16:04:44 at java.base/java.lang.Thread.run(Thread.java:829)
          16:04:44 Caused: hudson.FilePath$TunneledInterruptedException
          16:04:44 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3580)
          16:04:44 at hudson.remoting.UserRequest.perform(UserRequest.java:211)
          16:04:44 at hudson.remoting.UserRequest.perform(UserRequest.java:54)
          16:04:44 at hudson.remoting.Request$2.run(Request.java:377)
          16:04:44 at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
          16:04:44 at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          16:04:44 at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:125)
          16:04:44 at java.base/java.lang.Thread.run(Unknown Source)
          16:04:44 Caused: java.lang.InterruptedException: hudson.FilePath$FileMaskNoMatchesFoundException: no matches found within 10000
          16:04:44 at hudson.FilePath.act(FilePath.java:1194)
          16:04:44 at hudson.FilePath.act(FilePath.java:1181)
          16:04:44 at hudson.FilePath.validateAntFileMask(FilePath.java:3171)
          16:04:44 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:271)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:101)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:71)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
          16:04:44 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
          16:04:44 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          16:04:44 at java.base/java.lang.Thread.run(Thread.java:829)
          16:04:44 No artifacts found that match the file pattern "dist/libs/**/*.tgz". Configuration error? {code}
          kutzi made changes -
          Description Original: I've experienced this now a couple of times. We abort previous builds in our pipeline when a new build starts. Occasionally the previous builds then keeps running, because the interrupt signal seems to be swallowed by an 'archiveArtifacts' step:
          {code:java}
          16:04:44 Archiving artifacts
          16:04:44 hudson.FilePath$ValidateAntFileMask$1Cancel
          16:04:44 at hudson.FilePath$ValidateAntFileMask$1.isCaseSensitive(FilePath.java:3300)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.isIncluded(DirectoryScanner.java:1385)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1275)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1198)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.checkIncludePatterns(DirectoryScanner.java:1020)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:912)
          16:04:44 at hudson.FilePath$ValidateAntFileMask.hasMatch(FilePath.java:3313)
          16:04:44 Caused: hudson.FilePath$FileMaskNoMatchesFoundException: no matches found within 10000
          16:04:44 at hudson.FilePath$ValidateAntFileMask.hasMatch(FilePath.java:3318)
          16:04:44 at hudson.FilePath$ValidateAntFileMask.invoke(FilePath.java:3226)
          16:04:44 at hudson.FilePath$ValidateAntFileMask.invoke(FilePath.java:3174)
          16:04:44 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3578)
          16:04:44 Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from xxx
          16:04:44 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1784)
          16:04:44 at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
          16:04:44 at hudson.remoting.Channel.call(Channel.java:1000)
          16:04:44 at hudson.FilePath.act(FilePath.java:1192)
          16:04:44 at hudson.FilePath.act(FilePath.java:1181)
          16:04:44 at hudson.FilePath.validateAntFileMask(FilePath.java:3171)
          16:04:44 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:271)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:101)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:71)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
          16:04:44 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
          16:04:44 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          16:04:44 at java.base/java.lang.Thread.run(Thread.java:829)
          16:04:44 Caused: hudson.FilePath$TunneledInterruptedException
          16:04:44 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3580)
          16:04:44 at hudson.remoting.UserRequest.perform(UserRequest.java:211)
          16:04:44 at hudson.remoting.UserRequest.perform(UserRequest.java:54)
          16:04:44 at hudson.remoting.Request$2.run(Request.java:377)
          16:04:44 at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
          16:04:44 at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          16:04:44 at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:125)
          16:04:44 at java.base/java.lang.Thread.run(Unknown Source)
          16:04:44 Caused: java.lang.InterruptedException: hudson.FilePath$FileMaskNoMatchesFoundException: no matches found within 10000
          16:04:44 at hudson.FilePath.act(FilePath.java:1194)
          16:04:44 at hudson.FilePath.act(FilePath.java:1181)
          16:04:44 at hudson.FilePath.validateAntFileMask(FilePath.java:3171)
          16:04:44 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:271)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:101)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:71)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
          16:04:44 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
          16:04:44 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          16:04:44 at java.base/java.lang.Thread.run(Thread.java:829)
          16:04:44 No artifacts found that match the file pattern "dist/libs/**/*.tgz". Configuration error? {code}
          New: I've experienced this now a couple of times. We abort previous builds in our pipeline when a new build starts. Occasionally the previous builds then keeps running, because the interrupt signal seems to be swallowed by an 'archiveArtifacts' step:
          {code:java}
          16:04:44 Archiving artifacts
          16:04:44 hudson.FilePath$ValidateAntFileMask$1Cancel
          16:04:44 at hudson.FilePath$ValidateAntFileMask$1.isCaseSensitive(FilePath.java:3300)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.isIncluded(DirectoryScanner.java:1385)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1275)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1198)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.checkIncludePatterns(DirectoryScanner.java:1020)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:912)
          16:04:44 at hudson.FilePath$ValidateAntFileMask.hasMatch(FilePath.java:3313)
          16:04:44 Caused: hudson.FilePath$FileMaskNoMatchesFoundException: no matches found within 10000
          16:04:44 at hudson.FilePath$ValidateAntFileMask.hasMatch(FilePath.java:3318)
          16:04:44 at hudson.FilePath$ValidateAntFileMask.invoke(FilePath.java:3226)
          16:04:44 at hudson.FilePath$ValidateAntFileMask.invoke(FilePath.java:3174)
          16:04:44 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3578)
          16:04:44 Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from xxx
          16:04:44 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1784)
          16:04:44 at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
          16:04:44 at hudson.remoting.Channel.call(Channel.java:1000)
          16:04:44 at hudson.FilePath.act(FilePath.java:1192)
          16:04:44 at hudson.FilePath.act(FilePath.java:1181)
          16:04:44 at hudson.FilePath.validateAntFileMask(FilePath.java:3171)
          16:04:44 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:271)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:101)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:71)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
          16:04:44 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
          16:04:44 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          16:04:44 at java.base/java.lang.Thread.run(Thread.java:829)
          16:04:44 Caused: hudson.FilePath$TunneledInterruptedException
          16:04:44 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3580)
          16:04:44 at hudson.remoting.UserRequest.perform(UserRequest.java:211)
          16:04:44 at hudson.remoting.UserRequest.perform(UserRequest.java:54)
          16:04:44 at hudson.remoting.Request$2.run(Request.java:377)
          16:04:44 at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
          16:04:44 at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          16:04:44 at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:125)
          16:04:44 at java.base/java.lang.Thread.run(Unknown Source)
          16:04:44 Caused: java.lang.InterruptedException: hudson.FilePath$FileMaskNoMatchesFoundException: no matches found within 10000
          16:04:44 at hudson.FilePath.act(FilePath.java:1194)
          16:04:44 at hudson.FilePath.act(FilePath.java:1181)
          16:04:44 at hudson.FilePath.validateAntFileMask(FilePath.java:3171)
          16:04:44 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:271)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:101)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:71)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
          16:04:44 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
          16:04:44 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          16:04:44 at java.base/java.lang.Thread.run(Thread.java:829)
          16:04:44 No artifacts found that match the file pattern "dist/libs/**/*.tgz". Configuration error? {code}

          Will probably only occur if 'allowEmptyArchive: true' is set

          kutzi added a comment -

          Sorry, this is a different issue apparently. The InterruptedException is apparently being thrown by the archiving code itself, after finding no match.
          Would probably be nice if that could be less verbose, as this looks quite dangerous to someone investigating the console log.

          kutzi added a comment - Sorry, this is a different issue apparently. The InterruptedException is apparently being thrown by the archiving code itself, after finding no match. Would probably be nice if that could be less verbose, as this looks quite dangerous to someone investigating the console log.
          kutzi made changes -
          Priority Original: Major [ 3 ] New: Trivial [ 5 ]
          kutzi made changes -
          Description Original: I've experienced this now a couple of times. We abort previous builds in our pipeline when a new build starts. Occasionally the previous builds then keeps running, because the interrupt signal seems to be swallowed by an 'archiveArtifacts' step:
          {code:java}
          16:04:44 Archiving artifacts
          16:04:44 hudson.FilePath$ValidateAntFileMask$1Cancel
          16:04:44 at hudson.FilePath$ValidateAntFileMask$1.isCaseSensitive(FilePath.java:3300)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.isIncluded(DirectoryScanner.java:1385)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1275)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1198)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.checkIncludePatterns(DirectoryScanner.java:1020)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:912)
          16:04:44 at hudson.FilePath$ValidateAntFileMask.hasMatch(FilePath.java:3313)
          16:04:44 Caused: hudson.FilePath$FileMaskNoMatchesFoundException: no matches found within 10000
          16:04:44 at hudson.FilePath$ValidateAntFileMask.hasMatch(FilePath.java:3318)
          16:04:44 at hudson.FilePath$ValidateAntFileMask.invoke(FilePath.java:3226)
          16:04:44 at hudson.FilePath$ValidateAntFileMask.invoke(FilePath.java:3174)
          16:04:44 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3578)
          16:04:44 Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from xxx
          16:04:44 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1784)
          16:04:44 at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
          16:04:44 at hudson.remoting.Channel.call(Channel.java:1000)
          16:04:44 at hudson.FilePath.act(FilePath.java:1192)
          16:04:44 at hudson.FilePath.act(FilePath.java:1181)
          16:04:44 at hudson.FilePath.validateAntFileMask(FilePath.java:3171)
          16:04:44 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:271)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:101)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:71)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
          16:04:44 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
          16:04:44 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          16:04:44 at java.base/java.lang.Thread.run(Thread.java:829)
          16:04:44 Caused: hudson.FilePath$TunneledInterruptedException
          16:04:44 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3580)
          16:04:44 at hudson.remoting.UserRequest.perform(UserRequest.java:211)
          16:04:44 at hudson.remoting.UserRequest.perform(UserRequest.java:54)
          16:04:44 at hudson.remoting.Request$2.run(Request.java:377)
          16:04:44 at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
          16:04:44 at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          16:04:44 at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:125)
          16:04:44 at java.base/java.lang.Thread.run(Unknown Source)
          16:04:44 Caused: java.lang.InterruptedException: hudson.FilePath$FileMaskNoMatchesFoundException: no matches found within 10000
          16:04:44 at hudson.FilePath.act(FilePath.java:1194)
          16:04:44 at hudson.FilePath.act(FilePath.java:1181)
          16:04:44 at hudson.FilePath.validateAntFileMask(FilePath.java:3171)
          16:04:44 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:271)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:101)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:71)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
          16:04:44 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
          16:04:44 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          16:04:44 at java.base/java.lang.Thread.run(Thread.java:829)
          16:04:44 No artifacts found that match the file pattern "dist/libs/**/*.tgz". Configuration error? {code}

          Will probably only occur if 'allowEmptyArchive: true' is set
          New: Edit: I previously thought that this was swallowing the interrupt signal of a build,

          but apparently this is a 'harmless' warning, if not artifacts where found
          {code:java}
          16:04:44 Archiving artifacts
          16:04:44 hudson.FilePath$ValidateAntFileMask$1Cancel
          16:04:44 at hudson.FilePath$ValidateAntFileMask$1.isCaseSensitive(FilePath.java:3300)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.isIncluded(DirectoryScanner.java:1385)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1275)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1282)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1198)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.checkIncludePatterns(DirectoryScanner.java:1020)
          16:04:44 at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:912)
          16:04:44 at hudson.FilePath$ValidateAntFileMask.hasMatch(FilePath.java:3313)
          16:04:44 Caused: hudson.FilePath$FileMaskNoMatchesFoundException: no matches found within 10000
          16:04:44 at hudson.FilePath$ValidateAntFileMask.hasMatch(FilePath.java:3318)
          16:04:44 at hudson.FilePath$ValidateAntFileMask.invoke(FilePath.java:3226)
          16:04:44 at hudson.FilePath$ValidateAntFileMask.invoke(FilePath.java:3174)
          16:04:44 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3578)
          16:04:44 Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from xxx
          16:04:44 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1784)
          16:04:44 at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
          16:04:44 at hudson.remoting.Channel.call(Channel.java:1000)
          16:04:44 at hudson.FilePath.act(FilePath.java:1192)
          16:04:44 at hudson.FilePath.act(FilePath.java:1181)
          16:04:44 at hudson.FilePath.validateAntFileMask(FilePath.java:3171)
          16:04:44 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:271)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:101)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:71)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
          16:04:44 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
          16:04:44 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          16:04:44 at java.base/java.lang.Thread.run(Thread.java:829)
          16:04:44 Caused: hudson.FilePath$TunneledInterruptedException
          16:04:44 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3580)
          16:04:44 at hudson.remoting.UserRequest.perform(UserRequest.java:211)
          16:04:44 at hudson.remoting.UserRequest.perform(UserRequest.java:54)
          16:04:44 at hudson.remoting.Request$2.run(Request.java:377)
          16:04:44 at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
          16:04:44 at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          16:04:44 at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:125)
          16:04:44 at java.base/java.lang.Thread.run(Unknown Source)
          16:04:44 Caused: java.lang.InterruptedException: hudson.FilePath$FileMaskNoMatchesFoundException: no matches found within 10000
          16:04:44 at hudson.FilePath.act(FilePath.java:1194)
          16:04:44 at hudson.FilePath.act(FilePath.java:1181)
          16:04:44 at hudson.FilePath.validateAntFileMask(FilePath.java:3171)
          16:04:44 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:271)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:101)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:71)
          16:04:44 at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
          16:04:44 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
          16:04:44 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
          16:04:44 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          16:04:44 at java.base/java.lang.Thread.run(Thread.java:829)
          16:04:44 No artifacts found that match the file pattern "dist/libs/**/*.tgz". Configuration error? {code}
          Will probably only occur if 'allowEmptyArchive: true' is set
          kutzi made changes -
          Summary Original: Artifact archiver catches and swallows interrupt signal in Jenkins pipeline New: Artifact archiver logs 'dangerously' looking warning, if no artifacts where found
          Markus Winter made changes -
          Link New: This issue is related to JENKINS-51913 [ JENKINS-51913 ]

          Markus Winter added a comment - - edited

          Seems that https://github.com/jenkinsci/jenkins/pull/6475 wasn't working as intended in all cases.
          When the build happens on an agent an InterruptedException is thrown that deeply wraps the FileMaskNoMatchesFoundException.

          Markus Winter added a comment - - edited Seems that https://github.com/jenkinsci/jenkins/pull/6475 wasn't working as intended in all cases. When the build happens on an agent an InterruptedException is thrown that deeply wraps the FileMaskNoMatchesFoundException.

            mawinter69 Markus Winter
            kutzi kutzi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: