Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-8048

Possible race condition for getting build results with Maven builder or build is red when it shouldn't

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 3.0.1, 3.1 M1, 3.1
    • None
    • None
    • None

    Description

      Hi, I got the following text in a build:

      https://bamboo.extranet.atlassian.com/build/result/viewBuildLog.action?buildKey=CONFFUNC-OPTIMIZED-JOB1&buildNumber=4331

      15-Feb-2011 21:14:50 	[WARNING] JAR will be empty - no content was marked for inclusion!
      15-Feb-2011 21:14:50 	[INFO] Building jar: /opt/bamboo-agents/bamboo-agent-2/bamboo-agent-home/xml-data/build-dir/CONFFUNC-OPTIMIZED-JOB1/confluence-test-runner/confluence-selenium-runner/target/clover-target/confluence-selenium-runner-3.5-SNAPSHOT.jar
      15-Feb-2011 21:14:51 	[INFO] [surefire:test {execution: 00_setup}]
      15-Feb-2011 21:14:51 	[INFO] Tests are skipped.
      *15-Feb-2011 21:15:37 	Build failed since text 'BUILD SUCCESS' was not found in the last 250 lines of the output.*
      15-Feb-2011 21:15:37 	Running on server: post build plugin 'JMeter Aggregator Build Processor Server'
      15-Feb-2011 21:15:37 	Running on server: post build plugin 'Clover Delta Calculator'
      15-Feb-2011 21:15:37 	Running on server: post build plugin 'Build Hanging Detection Configuration'
      15-Feb-2011 21:15:37 	Running on server: post build plugin 'Post Command Server Runner'
      15-Feb-2011 21:15:37 	Running on server: post build plugin 'NCover Results Collector'
      15-Feb-2011 21:15:37 	Running on server: post build plugin 'FindBugs Server Build Processor'
      15-Feb-2011 21:15:37 	All post build plugins have finished
      15-Feb-2011 21:15:37 	Generating build results summary...
      15-Feb-2011 21:14:51 	[INFO] [surefire:test {execution: 50_acceptance_tests}]
      15-Feb-2011 21:14:51 	[INFO] Tests are skipped.
      15-Feb-2011 21:14:52 	[INFO] [enforcer:enforce {execution: enforce-build-environment}]
      15-Feb-2011 21:14:52 	[INFO] ------------------------------------------------------------------------
      15-Feb-2011 21:14:52 	[INFO] Building Confluence Parallel Acceptance Test Runner
      15-Feb-2011 21:14:52 	[INFO]    task-segment: [clean, verify]
      15-Feb-2011 21:14:52 	[INFO] ------------------------------------------------------------------------
      15-Feb-2011 21:14:52 	[INFO] [clean:clean]
      15-Feb-2011 21:14:52 	[INFO] [resources:resources]
      15-Feb-2011 21:14:52 	[INFO] Using 'UTF-8' encoding to copy filtered resources.
      15-Feb-2011 21:14:52 	[INFO] Copying 1 resource
      15-Feb-2011 21:14:52 	[INFO] [compiler:compile]
      

      As you can see, Bamboo decided the build failed, even though the build didn't finished.

      But the following execution ran fine, with no changes.

      https://bamboo.extranet.atlassian.com/build/result/viewBuildLog.action?buildKey=CONFFUNC-OPTIMIZED-JOB1&buildNumber=4332

      I am suspecting that, there was a race condition or some kind of bug that makes the agent deciding prematurely that a build has finished.

      We are using the Maven builder.

      Thanks

      Attachments

        Activity

          People

            pbruski Przemek Bruski
            adeccico Adrian Deccico [Atlassian]
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: