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

Maven2 Builds hanging on Linux

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: maven-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: Linux
    • Similar Issues:

      Description

      After upgrading to build 1.219 my builds are taking hours instead of 5-10
      minutes. There is high load on the server, and the Maven Thread Monitor shows
      the build process, is mostly spending time in socket code talking back to Hudson.

      I am reverting to 218 and will see if that helps.

      I will update this issue, but I wanted to report it in case any one else is
      seeing it.

        Attachments

          Activity

          Hide
          yschimke yschimke added a comment -

          Is there any way to turn off the artifacts copying? It does seem to spend a
          very long time copying the artifacts.

          java.net.SocketOutputStream.socketWrite0(Native Method)
          java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
          java.net.SocketOutputStream.write(SocketOutputStream.java:115)
          java.io.FilterOutputStream.write(FilterOutputStream.java:60)
          java.io.FilterOutputStream.write(FilterOutputStream.java:108)
          java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1685)
          java.io.ObjectOutputStream$BlockDataOutputStream.write(ObjectOutputStream.java:1656)
          java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1218)
          java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
          java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
          java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
          java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
          java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
          java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
          hudson.remoting.Channel.send(Channel.java:323)
          hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:87)
          hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:71)
          hudson.remoting.RemoteOutputStream.write(RemoteOutputStream.java:85)
          hudson.remoting.RemoteOutputStream.write(RemoteOutputStream.java:85)
          hudson.Util.copyStream(Util.java:315)
          hudson.FilePath$21.invoke(FilePath.java:741)
          hudson.FilePath$21.invoke(FilePath.java:738)
          hudson.FilePath.act(FilePath.java:317)
          hudson.FilePath.copyTo(FilePath.java:738)
          hudson.FilePath.copyTo(FilePath.java:726)
          hudson.maven.reporters.MavenArtifact.archive(MavenArtifact.java:161)
          hudson.maven.reporters.MavenArtifactArchiver.postBuild(MavenArtifactArchiver.java:55)
          hudson.maven.MavenModuleSetBuild$Builder.postModule(MavenModuleSetBuild.java:555)
          hudson.maven.MavenBuilder$Adapter.fireLeaveModule(MavenBuilder.java:261)
          hudson.maven.MavenBuilder$Adapter.endModule(MavenBuilder.java:232)
          org.apache.maven.lifecycle.LifecycleExecutorInterceptor$EventMonitorImpl.endEvent(LifecycleExecutorInterceptor.java:69)

          Show
          yschimke yschimke added a comment - Is there any way to turn off the artifacts copying? It does seem to spend a very long time copying the artifacts. java.net.SocketOutputStream.socketWrite0(Native Method) java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) java.net.SocketOutputStream.write(SocketOutputStream.java:115) java.io.FilterOutputStream.write(FilterOutputStream.java:60) java.io.FilterOutputStream.write(FilterOutputStream.java:108) java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1685) java.io.ObjectOutputStream$BlockDataOutputStream.write(ObjectOutputStream.java:1656) java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1218) java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075) java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375) java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347) java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290) java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079) java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302) hudson.remoting.Channel.send(Channel.java:323) hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:87) hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:71) hudson.remoting.RemoteOutputStream.write(RemoteOutputStream.java:85) hudson.remoting.RemoteOutputStream.write(RemoteOutputStream.java:85) hudson.Util.copyStream(Util.java:315) hudson.FilePath$21.invoke(FilePath.java:741) hudson.FilePath$21.invoke(FilePath.java:738) hudson.FilePath.act(FilePath.java:317) hudson.FilePath.copyTo(FilePath.java:738) hudson.FilePath.copyTo(FilePath.java:726) hudson.maven.reporters.MavenArtifact.archive(MavenArtifact.java:161) hudson.maven.reporters.MavenArtifactArchiver.postBuild(MavenArtifactArchiver.java:55) hudson.maven.MavenModuleSetBuild$Builder.postModule(MavenModuleSetBuild.java:555) hudson.maven.MavenBuilder$Adapter.fireLeaveModule(MavenBuilder.java:261) hudson.maven.MavenBuilder$Adapter.endModule(MavenBuilder.java:232) org.apache.maven.lifecycle.LifecycleExecutorInterceptor$EventMonitorImpl.endEvent(LifecycleExecutorInterceptor.java:69)
          Hide
          yschimke yschimke added a comment -

          The build seems fine, but I am definitely seeing #1772

          I have reverted to 218 again, until it is resolved.

          Show
          yschimke yschimke added a comment - The build seems fine, but I am definitely seeing #1772 I have reverted to 218 again, until it is resolved.
          Hide
          yschimke yschimke added a comment -

          sorry, mean to say definitely seeing #1762

          Show
          yschimke yschimke added a comment - sorry, mean to say definitely seeing #1762
          Hide
          kohsuke Kohsuke Kawaguchi added a comment -

          Thanks for confirmation. I'm closing this as fixed in 1.221.

          Show
          kohsuke Kohsuke Kawaguchi added a comment - Thanks for confirmation. I'm closing this as fixed in 1.221.
          Hide
          kohsuke Kohsuke Kawaguchi added a comment -

          yschimke, if you can chime into issue #1762 as well, that would be great.

          Show
          kohsuke Kohsuke Kawaguchi added a comment - yschimke, if you can chime into issue #1762 as well, that would be great.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            yschimke yschimke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: