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

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

XMLWordPrintable

    • 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

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

              Created:
              Updated:
              Resolved: