Build Helth report problem
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
On 11/27/2009 10:23 AM, bportaluri wrote:
I am using RTC 2.0.0.1. 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 |
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 |
On 11/28/2009 9:38 AM, bportaluri wrote:
Thank you for your quick reply. 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 |
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?
|
On 12/3/2009 10:38 AM, nedgar wrote:
James, maybe the "No build results were found." message 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 |
|
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 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 |
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! |
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 Hi! |
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
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.