Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [lyo-dev] Fw: Issue generating Lyo OSLC Test Suite html report

Thanks Samit,

An entry in the Lyo bug database would be great.  Can you post the number when it is created?

Thanks!

-Bryan

bryan miller | integration solution architect, rational brand services | rational software | ibm software group | +1.719.481.1675





From:        Samit Mehta/San Francisco/IBM@IBMUS
To:        Michael Fiedler <fiedler.mf@xxxxxxxxx>,
Cc:        Lyo project developer discussions <lyo-dev@xxxxxxxxxxx>
Date:        09/19/2012 11:46 AM
Subject:        Re: [lyo-dev] Fw: Issue generating Lyo OSLC Test Suite html report
Sent by:        lyo-dev-bounces@xxxxxxxxxxx




Thanks Mike.  I'll give it a try with an older JRE on Windows.  Not being able to use Mac is not a huge deal.  Just noticed some pointers that Kartik sent that might work for Mac as well, so will play with that.  Also, note that when running "Ant Build" from Eclipse, you can set the JRE in the launch itself, so that may be another way to manage that.

It would be good to track this issue in the Lyo bug database (just so we can point others to a workaround), and also note it in the prerequisites in the document for running the Lyo Test Suites.  Let me know if you'd prefer me to create the bug.


Thanks again for following up.

___________________________________________________________________________
Samit Mehta
BM Rational Software - Business Development

mailto:samit.mehta@xxxxxxxxxx

Michael Fiedler <fiedler.mf@xxxxxxxxx> wrote on 09/19/2012 11:43:22 AM:

> From: Michael Fiedler <fiedler.mf@xxxxxxxxx>
> To: Lyo project developer discussions <lyo-dev@xxxxxxxxxxx>,
> Cc: Michael F Fiedler/Durham/IBM@IBMUS, Samit Mehta/San Francisco/IBM@IBMUS
> Date: 09/19/2012 11:44 AM
> Subject: Re: [lyo-dev] Fw: Issue generating Lyo OSLC Test Suite html report
>
> The issue is
https://bugs.eclipse.org/bugs/show_bug.cgi?id=384757
> which has a root cause of Oracle bug
>
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7167657
>
> The junitreport Ant task fails in JREs > 1.6.0_32.
>
> Unfortunately there is no good way for Mac users to switch JDKs/JREs.
>  I think we are out of luck until there's a fix - I'll see if I can
> find any workarounds.
>
> I hate to say it, but short term you might have to run the reports on
> Windows or Linux (VM maybe? that is what I am trying) using a 1.6 JRE
> < 1.6.0_32.
>
> Regards,
> Mike
>
> On Wed, Sep 19, 2012 at 11:41 AM, Michael Fiedler
> <fiedler.mf@xxxxxxxxx> wrote:
> > I'm seeing this issue too, even after Yuhong's instructions.
> > Google-ing give a hint it might be JRE related.   I'm investigating.
> >
> > Samit, Are you on a Mac?  Can you do a java -version command in your
> > JRE directory?
> >
> > Mine looks like:
> >
> > java version "1.6.0_33"
> > Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-11M3720)
> > Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03-424, mixed mode)
> >
> > On Wed, Sep 19, 2012 at 9:54 AM, Yuhong Yin <yyin@xxxxxxxxxx> wrote:
> >> Hello Samit
> >>
> >> First please make sure you have the latest Lyo OSLC test suite in your
> >> workspace.
> >>
> >> One thing you can try is to remove all files and directory from these two
> >> directories
> >> /work/git/org.eclipse.lyo.testsuite/
> org.eclipse.lyo.testsuite.server/assessment/cm/junit
> >> /work/git/org.eclipse.lyo.testsuite/
> org.eclipse.lyo.testsuite.server/assessment/cm/report
> >>
> >> then run the ant tasks in two steps
> >> step 1: run the ant task "provider-test"
> >> step 2: run these ant tasks: "merge-results", "append-oslc-spec-info" and
> >> "junitreport"
> >>
> >> Let me know if you still have issue and we will do further debug.
> >>
> >> Thanks,
> >>
> >> Yuhong
> >>
> >> ----------------------------------------------------------------------
> >> Yuhong Yin
> >>
> >> IBM Software, Rational
> >> 550 King St. Littleton, MA, 01460
> >> Tel: 978-899-4762
> >> Email: yyin@xxxxxxxxxx
> >>
> >>
> >>
> >>
> >> ---------- Forwarded message ----------
> >> From: Samit Mehta <samit.mehta@xxxxxxxxxx>
> >> Date: Tue, Sep 18, 2012 at 3:16 PM
> >> Subject: [lyo-dev] Issue generating Lyo OSLC Test Suite html report
> >> To: lyo-dev@xxxxxxxxxxx
> >>
> >>
> >> Any ideas on how to resolve the following XSLT processing errors when
> >> generating the html report using Ant from the Lyo OSLC Test Suite results.
> >> Not sure if it is related, but the generated Bar Chart (barchartSVG.svg)
> >> is also incorrect - shows more errors than the actual test results.
> >>
> >> junitreport:
> >>     [echo] Detecting A Previous OSLCAssessmentReport.html file within the
> >> report directory ...
> >>     [echo] NO OSLCAssessmentReport.html file within the report directory
> >> was detected ...
> >>     [echo] Converting TESTS-TestSuitesOSLC.xml into a HTML report
> >>     [xslt] Processing
> >> /work/git/org.eclipse.lyo.testsuite/
> org.eclipse.lyo.testsuite.server/assessment/cm/junit/RTC4/TESTS-
> TestSuitesOSLC.xml
> >> to
> >> /work/git/org.eclipse.lyo.testsuite/
> org.eclipse.lyo.testsuite.server/assessment/cm/report/RTC4/barchartSVG.svg
> >>     [xslt] Loading stylesheet
> >> /work/git/org.eclipse.lyo.testsuite/
> org.eclipse.lyo.testsuite.server/assessment/cm/reportstyle/barchartSVG.xsl
> >>     [xslt] Processing
> >> /work/git/org.eclipse.lyo.testsuite/
> org.eclipse.lyo.testsuite.server/assessment/cm/junit/RTC4/TESTS-
> TestSuitesOSLC.xml
> >> to
> >> /work/git/org.eclipse.lyo.testsuite/
> org.eclipse.lyo.testsuite.server/assessment/cm/report/RTC4/
> OSLCAssessmentReport.html
> >>     [xslt] Loading stylesheet
> >> /work/git/org.eclipse.lyo.testsuite/
> org.eclipse.lyo.testsuite.server/assessment/cm/reportstyle/junit-noframes.xsl
> >>     [xslt] : Error! The first argument to the non-static Java function
> >> 'replace' is not a valid object reference.
> >>     [xslt] : Error! Cannot convert data-type 'void' to 'reference'.
> >>     [xslt] : Fatal Error! Could not compile stylesheet
> >>     [xslt] Failed to process
> >> /work/git/org.eclipse.lyo.testsuite/
> org.eclipse.lyo.testsuite.server/assessment/cm/junit/RTC4/TESTS-
> TestSuitesOSLC.xml
> >>
> >> ____________________________________________
> >> Samit Mehta
> >>
mailto:samit.mehta@xxxxxxxxxx
> >> IBM Rational Software - Business Development
> >>
> >>
> >> _______________________________________________
> >> lyo-dev mailing list
> >> lyo-dev@xxxxxxxxxxx
> >>
http://dev.eclipse.org/mailman/listinfo/lyo-dev
> >>
> _______________________________________________
lyo-dev mailing list
lyo-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/lyo-dev


Back to the top