Description
Hi, I got the following text in a build:
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.
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