archiveArtifacts sometimes very slow

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: core
    • Environment:

      Sometimes the Groovy script call archiveArtifacts takes much longer than normal. E.g. ~3 minutes instead of ~1 sec! This is not very often but very anoying when it occurs because this often triggers given timeouts! So maybe  the call hangs also.

       

      Notes:

      • this behavior also occurs on small files (some KB)
      • all nodes are Linux PCs
      • example log of archiving a junit xml file with 9.3KB (42 test cases):
      [Pipeline] // script
      [Pipeline] archiveArtifacts
      [2024-04-16T00:11:14.294Z] Archiving artifacts
      [Pipeline] junit
      [2024-04-16T00:11:14.310Z] Recording test results
      [2024-04-16T00:13:06.968Z] Cancelling nested steps due to timeout 

            Assignee:
            Unassigned
            Reporter:
            Gerald Ortner
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: