Build process hangs indefinitely

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Fixed
    • 0.9
    • Component/s: Builds
    • None
    • Environment:
      RHEL 4, Tomcat 5.5.17, Sun JDK 1.5.0_08

      Bamboo's build process hangs indefinitely after successfully building the project, leaving it in the "This build is being built" -state. This happens on our system with a single simple project on a clean install of Bamboo. The few last lines of atlassian-bamboo.log reads

      2006-11-29 11:57:36,539 INFO [output stream pumper] [StreamToListPumper] [TEST-MAIN] BUILD SUCCESSFUL
      2006-11-29 11:57:36,539 INFO [output stream pumper] [StreamToListPumper] [TEST-MAIN] Total time: 2 seconds
      2006-11-29 11:57:36,569 INFO [BAM::BuildPipeline::BuildExecutor] [AbstractBuilder] Completed building build "Test Project - Main Build" return code = 0
      2006-11-29 11:57:36,631 INFO [BAM::BuildPipeline::BuildExecutor] [DefaultBuildExecutor] Build log size: 26
      2006-11-29 11:57:36,632 INFO [BAM::BuildPipeline::BuildExecutor] [DefaultBuildExecutor] Setting build artifacts

      I've reproduced this consistently with different projects both with and without project artifacts. Here are the stack traces for the builder threads:

      "BAM::BuildPipeline::BuildExecutor" daemon prio=1 tid=0x082bd128 nid=0x6f2d in Object.wait() [0x64555000..0x6455
      6130]
      at java.lang.Object.wait(Native Method)

      • waiting on <0x71ff3cc0> (a java.lang.Object)
        at java.lang.Object.wait(Object.java:474)
        at EDU.oswego.cs.dl.util.concurrent.LinkedQueue.take(Unknown Source)
      • locked <0x71ff3cc0> (a java.lang.Object)
        at com.atlassian.bamboo.builder.DefaultBuildExecutor.doTask(DefaultBuildExecutor.java:55)
        at com.atlassian.bamboo.container.BambooTask.run(BambooTask.java:33)
        at java.lang.Thread.run(Thread.java:595)

      "BAM::PipelineSelector" daemon prio=1 tid=0x08c12dd8 nid=0x6f2c in Object.wait() [0x646d8000..0x646d8eb0]
      at java.lang.Object.wait(Native Method)

      • waiting on <0x71ffb520> (a java.lang.Object)
        at java.lang.Object.wait(Object.java:474)
        at EDU.oswego.cs.dl.util.concurrent.LinkedQueue.take(Unknown Source)
      • locked <0x71ffb520> (a java.lang.Object)
        at com.atlassian.bamboo.buildqueue.PipelineSelector.doTask(PipelineSelector.java:28)
        at com.atlassian.bamboo.container.BambooTask.run(BambooTask.java:33)
        at java.lang.Thread.run(Thread.java:595)

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

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 8h
                8h
                Remaining:
                Remaining Estimate - 8h
                8h
                Logged:
                Time Spent - Not Specified
                Not Specified