Your build script may produce successful test reports, but one (or both) of your tasks does not work. This means that the crash probably occurs after the completion of your tests. Check your build logs for errors. You can also try logging into your Bamboo server (as a bamboo user) and running the commands manually.
I saw this message in the past when our test task crashed halfway through a test run, resulting in one incorrect report that Bamboo ignored and many successful reports.
* Check the build log to make sure your tests are actually running. If mvn clean does not clean up the test report directory, Bamboo can simply analyze obsolete test reports.
EDIT: (in response to the Kishore links)
It seems your task to kill Xvfb is what causes build failures.
18-Jul-2012 09:50:18 Starting task 'Kill Xvfb' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' 18-Jul-2012 09:50:18 Beginning to execute external process for build 'Functional Tests - Application Release Test - Default Job' ... running command line: /bin/sh /tmp/FUNC-APPTEST-JOB1-91-ScriptBuildTask-4153769009554485085.sh ... in: /opt/bamboo-home/xml-data/build-dir/FUNC-APPTEST-JOB1 ... using extra environment variables: <..snip (no meaningful output)..> 18-Jul-2012 09:50:18 Failing task since return code was 1 while expected 0 18-Jul-2012 09:50:18 Finished task 'Kill Xvfb'
What does your "Kill Xvfb" script do? Are you trying something like pkill -f "[x] vfb"? pkill -f silently returns a nonzero value if it cannot match the expression for any processes.
source share