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

compress artifacts plugin v1.5 causes archive artifacts to hang

XMLWordPrintable

      We upgraded from v1.1 of the compress artifacts plugin to v1.5 and found that the archive artifacts step of our builds running on AWS slaves would hang indefinitely. Downgrading to v1.1 of the plugin made things work normally again.

      Looking at the thread dumps output for the system we could see the relevant threads were like this:

      "Executor #0 for ion-xtp-ec2-ci-appserver-06 : executing xtp.trunk/tests/Partitioning_Tests #1050" Id=6771 Group=main WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@68890e6f
      at sun.misc.Unsafe.park(Native Method)

      • waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@68890e6f
        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043)
        at de.schlichtherle.truezip.io.Streams.cat(Streams.java:210)
        at de.schlichtherle.truezip.io.Streams.copy(Streams.java:71)
        at de.schlichtherle.truezip.file.TFile.cp(TFile.java:2744)
        at de.schlichtherle.truezip.file.TFile.cp(TFile.java:2817)
        at org.jenkinsci.plugins.compress_artifacts.ZipStorage.archive(ZipStorage.java:83)
        at org.jenkinsci.plugins.compress_artifacts.CompressingArtifactManager.archive(CompressingArtifactManager.java:50)
        at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:140)
        at org.jenkins_ci.plugins.run_condition.BuildStepRunner$2.run(BuildStepRunner.java:110)
        at org.jenkins_ci.plugins.run_condition.BuildStepRunner$Fail.conditionalRun(BuildStepRunner.java:154)
        at..."

      It's hard to know what files were being archived exactly, but they would have been simple text files (log files from our applications) or xml files produced by the robot framework plugin.

            olivergondza Oliver Gondža
            ninian Ninian
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: