It's all about the answers!

Ask a question

Build Helth report problem


Bruno Portaluri (212) | asked Nov 27 '09, 10:16 a.m.
I am using RTC 2.0.0.1.
I created some build definitions and did some builds in the last few days.
If i go in 'Builds - Build Definitions - MyBuild' I can see the results of the recent builds.
I can also display 'Build Duration' report correctly.

However, the 'Build Health' report is not displayed and I have the following message: No build results were found.

What may be the problem ?

Thanks in advance

13 answers



permanent link
James Moody (3.3k24) | answered Nov 27 '09, 1:53 p.m.
JAZZ DEVELOPER
On 11/27/2009 10:23 AM, bportaluri wrote:
I am using RTC 2.0.0.1.
I created some build definitions and did some builds in the last few
days.
If i go in 'Builds - Build Definitions - MyBuild' I can see the
results of the recent builds.
I can also display 'Build Duration' report correctly.

However, the 'Build Health' report is not displayed and I have the
following message: No build results were found.

What may be the problem ?

Thanks in advance


Do your builds include JUnit tests? The Build Health report (at least
the build health chart within the build health report) plots both the
success of the builds over time but also includes information about
number of tests - if we don't find this data we can't render the chart.

james
RTC Reports Team Lead

permanent link
Bruno Portaluri (212) | answered Nov 28 '09, 9:27 a.m.
Thank you for your quick reply.
We don't have JUnit tests. That explains my issue.
We use a tailored test automation suite that can execute tests on different systems on various os.
I am thinking of creating a small utility that converts our XML logs into a JUnit-like format and try to import in Jazz after the build.

In the meanwhile... is there an alternative (simpler) way to have a report in the dashboard that shows the history of builds pass/fail ?

Thanks

permanent link
James Moody (3.3k24) | answered Dec 01 '09, 9:53 a.m.
JAZZ DEVELOPER
On 11/28/2009 9:38 AM, bportaluri wrote:
Thank you for your quick reply.
We don't have JUnit tests. That explains my issue.
We use a tailored test automation suite that can execute tests on
different systems on various os.
I am thinking of creating a small utility that converts our XML logs
into a JUnit-like format and try to import in Jazz after the build.

In the meanwhile... is there an alternative (simpler) way to have a
report in the dashboard that shows the history of builds pass/fail ?

Thanks


I think your options are:
1. Use the build duration, which encodes success/failure as red and
green colours on the bars,
2. Somehow get your test results converted into a build result
contribution that is exactly like what junit produces, so the build
health chart will work,
3. Take our build health chart and use the BIRT report design editor to
modify it, and use it as the basis of a new report which shows what you
really want.

james
RTC Reports Team Lead

permanent link
Nick Edgar (6.5k711) | answered Dec 03 '09, 10:23 a.m.
JAZZ DEVELOPER
James, maybe the "No build results were found." message should be clarified if the problem is that no tests were found rather than no build results?

permanent link
James Moody (3.3k24) | answered Dec 08 '09, 9:53 a.m.
JAZZ DEVELOPER
On 12/3/2009 10:38 AM, nedgar wrote:
James, maybe the "No build results were found." message
should be clarified if the problem is that no tests were found rather
than no build results?


Probably true. I also think we should make the chart show *something* if
there are no test results. After all, seeing the broken/clean regions is
useful regardless of whether you are running junit tests. I've opened
work item 101239 to track this issue.

james
RTC Reports Team Lead

permanent link
Nick Edgar (6.5k711) | answered Dec 08 '09, 3:51 p.m.
JAZZ DEVELOPER
Here's the link to the work item: 101239: Build Health should work without JUnit results.

permanent link
ChiChuan Pan (31143) | answered Dec 28 '09, 2:28 a.m.
Hi!

According to the above discussions, it is quite like the problem we are facing now.
However, we have used the JUnit in the build project and it was successfully executed, but the reports only work for duration but build health.

What do you think of if any thing else I can work on for it?
Or it is the same problem that will be solved in the next version of RTC?

regards,
Chuan


On 12/3/2009 10:38 AM, nedgar wrote:
James, maybe the "No build results were found." message
should be clarified if the problem is that no tests were found rather
than no build results?


Probably true. I also think we should make the chart show *something* if
there are no test results. After all, seeing the broken/clean regions is
useful regardless of whether you are running junit tests. I've opened
work item 101239 to track this issue.

james
RTC Reports Team Lead

permanent link
James Moody (3.3k24) | answered Jan 04 '10, 10:08 a.m.
JAZZ DEVELOPER
If you are including JUnit tests in your build, this chart should work
properly. Can you open one of your build results in the build result
editor, switch to the JUnit tab, and make sure that you see at least
some JUnit test results there?

james
RTC Reports Team Lead

On 12/28/2009 2:36 AM, s861520 wrote:
Hi!

According to the above discussions, it is quite like the problem we
are facing now.
However, we have used the JUnit in the build project and it was
successfully executed, but the reports only work for duration but
build health.

What do you think of if any thing else I can work on for it?
Or it is the same problem that will be solved in the next version of
RTC?

regards,
Chuan


jmoodywrote:
On 12/3/2009 10:38 AM, nedgar wrote:
James, maybe the "No build results were found." message
should be clarified if the problem is that no tests were found
rather
than no build results?


Probably true. I also think we should make the chart show *something*
if
there are no test results. After all, seeing the broken/clean regions
is
useful regardless of whether you are running junit tests. I've opened

work item 101239 to track this issue.

james
RTC Reports Team Lead


permanent link
ChiChuan Pan (31143) | answered Jan 05 '10, 3:01 a.m.
Hi James,

I have checked the information as below as what you mentioned. It seems to that it worked, but I still don't see any related figures on the build health report.

Created dir: C:\Program Files\IBM\TeamConcertBuild\buildsystem\buildengine\eclipse\MaxMin_fetched\MaxMin\junit
Running com.sfbu.MaxMinTest
Tests run: 2, Failures: 2, Errors: 0, Time elapsed: 0.266 sec
Test com.sfbu.MaxMinTest FAILED

BUILD SUCCESSFUL
Total time: 2 seconds

Best regards,
Chuan

If you are including JUnit tests in your build, this chart should work
properly. Can you open one of your build results in the build result
editor, switch to the JUnit tab, and make sure that you see at least
some JUnit test results there?

james
RTC Reports Team Lead

On 12/28/2009 2:36 AM, s861520 wrote:
Hi!

According to the above discussions, it is quite like the problem we
are facing now.
However, we have used the JUnit in the build project and it was
successfully executed, but the reports only work for duration but
build health.

What do you think of if any thing else I can work on for it?
Or it is the same problem that will be solved in the next version of
RTC?

regards,
Chuan


jmoodywrote:
On 12/3/2009 10:38 AM, nedgar wrote:
James, maybe the "No build results were found." message
should be clarified if the problem is that no tests were found
rather
than no build results?


Probably true. I also think we should make the chart show *something*
if
there are no test results. After all, seeing the broken/clean regions
is
useful regardless of whether you are running junit tests. I've opened

work item 101239 to track this issue.

james
RTC Reports Team Lead


permanent link
Nick Edgar (6.5k711) | answered Jan 05 '10, 11:58 a.m.
JAZZ DEVELOPER
Are the test results published to the build result? That is, if you open the build result editor, do you see a JUnit tab? If not, then the test results are not known to Jazz. You can use the junitLogPublisher Ant task to do this. Alternatively, you can configure the build definition to have the JUnit Publishing post-build step.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.