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

Archiving Artifacts slow with Windows JNLP Slave

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • remoting
    • None
    • Host is Ubuntu 12.04 (running Jenkins 1.509)
      Slave is Windows XP (running in VM on the host)

      We hoped to see improvements after JENKINS-7813 was closed, but after we moved to 1.509 our buildjobs still need over 10 minutes to archive the ~100MB of our 15 artifacts. Does anyone else still experience this problem? Is this related to the slave connecting over JNLP (I don't see this setup mentioned in the referenced issue)?

          [JENKINS-18205] Archiving Artifacts slow with Windows JNLP Slave

          Marcel Beister added a comment - - edited

          We have some jobs that require archiving less than 1 MB of artifacts (with 1.535), but they are stuck in "archiving artifacts" for HOURS!! Other projects produce much bigger artifact but get the job done significantly faster.

          Does the archiving somehow depend on the number of files in the workspace or the size of the workspace?

          Marcel Beister added a comment - - edited We have some jobs that require archiving less than 1 MB of artifacts (with 1.535), but they are stuck in "archiving artifacts" for HOURS!! Other projects produce much bigger artifact but get the job done significantly faster. Does the archiving somehow depend on the number of files in the workspace or the size of the workspace?

          We found the problem. Although the log file showed "archiving artifacts", jenkins was waiting for the previous concurrent build to finish.

          Marcel Beister added a comment - We found the problem. Although the log file showed "archiving artifacts", jenkins was waiting for the previous concurrent build to finish.

          rggjan added a comment -

          Same problem here, happens for a linux jenkins with a Mac OS X slave. Archiving ~100MB of data takes 10 minutes, while copying it manually over the network only takes around 10 econds...

          rggjan added a comment - Same problem here, happens for a linux jenkins with a Mac OS X slave. Archiving ~100MB of data takes 10 minutes, while copying it manually over the network only takes around 10 econds...

          rggjan added a comment -

          rggjan added a comment - Might be a duplicate of https://issues.jenkins-ci.org/browse/JENKINS-18276 ?

          Jason Hammond added a comment - - edited

          I have the problem with Windows Master to Windows Slave. Archiving artifacts and copy artifacts step is stuck for many minutes to an hour, however it is not consistant. One project has larger files, same OS, same setup, and the speed is 10X faster. When copying manually, the speed if good, but when Jenkins does it, it is slow. Tried changing JVM properties, tried new slave, tried recreating new jobs, and all attemps to fix do not improve speed on this issue project.

          Master: Jenkins ver. 1.585
          Master Java version 1.7.0_60

          Slave Java version 1.7.0_75
          Slave using JNLP Java web start

          Did anyone ever find a solution?

          Jason Hammond added a comment - - edited I have the problem with Windows Master to Windows Slave. Archiving artifacts and copy artifacts step is stuck for many minutes to an hour, however it is not consistant. One project has larger files, same OS, same setup, and the speed is 10X faster. When copying manually, the speed if good, but when Jenkins does it, it is slow. Tried changing JVM properties, tried new slave, tried recreating new jobs, and all attemps to fix do not improve speed on this issue project. Master: Jenkins ver. 1.585 Master Java version 1.7.0_60 Slave Java version 1.7.0_75 Slave using JNLP Java web start Did anyone ever find a solution?

            Unassigned Unassigned
            salsolatragus Sven Amann
            Votes:
            9 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: