You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Jacob Danner (JIRA)" <de...@beehive.apache.org> on 2005/09/03 01:00:12 UTC

[jira] Created: (BEEHIVE-906) Investigate removing GTLF DTD from controls test logs

Investigate removing GTLF DTD from controls test logs
-----------------------------------------------------

         Key: BEEHIVE-906
         URL: http://issues.apache.org/jira/browse/BEEHIVE-906
     Project: Beehive
        Type: Improvement
  Components: Controls  
 Reporter: Jacob Danner
    Priority: Minor


There was a Beehive CC failure on 9/2 caused because of the DTD declaration in the controls test output file. There was a similar issue when beehive left incubator and its url changed from i.a.o/b to beehive.apache.org. Seems like this is a pretty brittle piece of the controls test infrastructure and I'm having a hard time seeing its relevance. 
I would like to suggest the possibility of removing the DTD declaration from this test output file if it continues to cause the Cruise control machine to fail.

Here's some of the sample output when such a failure occurs.
-generate-html-log:
>     [echo] Generating Controls Test Report with GTLF
>     [echo] beehive.home: 
> /home/beehive/cc/svn/build/dist/apache-beehive-20050901205217
>     [echo] gtlf.file: 
> /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/build/testR
> esults/controls/checkin/tch.xml
> 
>     [java] Buildfile: 
> /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/controls/te
> st/infra/gtlf/xsl/build.xml
> 
> 
>     [java] test.report:
>     [java] Creating
> /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/build/testR
> esults/controls/checkin/tch.html
> 
>     [java] Deleting: 
> /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/build/testR
> esults/controls/checkin/tch.html
> 
>     [java] Processing
> /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/build/testR
> esults/controls/checkin/tch.xml
> to
> /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/build/testR
> esults/controls/checkin/tch.html
> 
>     [java] Loading stylesheet
> /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/controls/te
> st/infra/gtlf/xsl/TestReport.xsl
> 
>     [java] : Error! beehive.apache.org
>     [java] : Error! 
> com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: 
> beehive.apache.org
>     [java] Failed to process
> /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/build/testR
> esults/controls/checkin/tch.xml
> 
> 
>     [java] BUILD FAILED
>     [java]
> /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/controls/test/infra/gtlf/xsl/build.xml:322: 
> javax.xml.transform.TransformerException: 
> javax.xml.transform.TransformerException: 
> com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: 
> beehive.apache.org


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


removing gtlf dependency for controls testing -- was [Re: [jira] Updated: (BEEHIVE-906) Investigate removing GTLF DTD from controls test logs]

Posted by Eddie O'Neil <ek...@gmail.com>.
Jacob--

  This is a *great* step forward for us.  It means that we can remove
the gtlf DTD from the website as well.  I'll take going over this and
checking this in.

  For those who might be wondering, gtlf was a controls-specific way
of reporting test results.  In the end, it produces an HTML based
report that's similar to that produced by the
<junitreport> Ant task.  The tool has caused us some trouble with the
CC box because when the Beehive website goes down, the DTDs for an XML
file can't be found.  Removing this dependency and standardizing on
the usual JUnit tools makes the whole reporting process consistent
across Beehive.

  Personally, I don't see this as something to vote on, but if anyone
wants to consider this step more deeply, just say so.

  Comments / thoughts welcome...

Eddie



On 9/2/05, Jacob Danner (JIRA) <de...@beehive.apache.org> wrote:
>      [ http://issues.apache.org/jira/browse/BEEHIVE-906?page=all ]
> 
> Jacob Danner updated BEEHIVE-906:
> ---------------------------------
> 
>     Attachment: gtlf_dtd_removed.patch
> 
> I've attached a patch that will prevent  the DTD declaration from being placed in the controls test output files.
> I verified it did not affect tests by passing the controls drts after these changes and viewing the output files.
> 
> > Investigate removing GTLF DTD from controls test logs
> > -----------------------------------------------------
> >
> >          Key: BEEHIVE-906
> >          URL: http://issues.apache.org/jira/browse/BEEHIVE-906
> >      Project: Beehive
> >         Type: Improvement
> >   Components: Controls
> >     Reporter: Jacob Danner
> >     Priority: Minor
> >  Attachments: gtlf_dtd_removed.patch
> >

[jira] Closed: (BEEHIVE-906) Investigate removing GTLF DTD from controls test logs

Posted by "Eddie O'Neil (JIRA)" <de...@beehive.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-906?page=all ]
     
Eddie O'Neil closed BEEHIVE-906:
--------------------------------


Done and done.

> Investigate removing GTLF DTD from controls test logs
> -----------------------------------------------------
>
>          Key: BEEHIVE-906
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-906
>      Project: Beehive
>         Type: Improvement
>   Components: Controls
>     Reporter: Jacob Danner
>     Priority: Minor
>      Fix For: 1.1
>  Attachments: gtlf_dtd_removed.patch
>
> There was a Beehive CC failure on 9/2 caused because of the DTD declaration in the controls test output file. There was a similar issue when beehive left incubator and its url changed from i.a.o/b to beehive.apache.org. Seems like this is a pretty brittle piece of the controls test infrastructure and I'm having a hard time seeing its relevance. 
> I would like to suggest the possibility of removing the DTD declaration from this test output file if it continues to cause the Cruise control machine to fail.
> Here's some of the sample output when such a failure occurs.
> -generate-html-log:
> >     [echo] Generating Controls Test Report with GTLF
> >     [echo] beehive.home: 
> > /home/beehive/cc/svn/build/dist/apache-beehive-20050901205217
> >     [echo] gtlf.file: 
> > /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/build/testR
> > esults/controls/checkin/tch.xml
> > 
> >     [java] Buildfile: 
> > /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/controls/te
> > st/infra/gtlf/xsl/build.xml
> > 
> > 
> >     [java] test.report:
> >     [java] Creating
> > /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/build/testR
> > esults/controls/checkin/tch.html
> > 
> >     [java] Deleting: 
> > /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/build/testR
> > esults/controls/checkin/tch.html
> > 
> >     [java] Processing
> > /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/build/testR
> > esults/controls/checkin/tch.xml
> > to
> > /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/build/testR
> > esults/controls/checkin/tch.html
> > 
> >     [java] Loading stylesheet
> > /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/controls/te
> > st/infra/gtlf/xsl/TestReport.xsl
> > 
> >     [java] : Error! beehive.apache.org
> >     [java] : Error! 
> > com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: 
> > beehive.apache.org
> >     [java] Failed to process
> > /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/build/testR
> > esults/controls/checkin/tch.xml
> > 
> > 
> >     [java] BUILD FAILED
> >     [java]
> > /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/controls/test/infra/gtlf/xsl/build.xml:322: 
> > javax.xml.transform.TransformerException: 
> > javax.xml.transform.TransformerException: 
> > com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: 
> > beehive.apache.org

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (BEEHIVE-906) Investigate removing GTLF DTD from controls test logs

Posted by "Jacob Danner (JIRA)" <de...@beehive.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-906?page=all ]

Jacob Danner updated BEEHIVE-906:
---------------------------------

    Attachment: gtlf_dtd_removed.patch

I've attached a patch that will prevent  the DTD declaration from being placed in the controls test output files. 
I verified it did not affect tests by passing the controls drts after these changes and viewing the output files.

> Investigate removing GTLF DTD from controls test logs
> -----------------------------------------------------
>
>          Key: BEEHIVE-906
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-906
>      Project: Beehive
>         Type: Improvement
>   Components: Controls
>     Reporter: Jacob Danner
>     Priority: Minor
>  Attachments: gtlf_dtd_removed.patch
>
> There was a Beehive CC failure on 9/2 caused because of the DTD declaration in the controls test output file. There was a similar issue when beehive left incubator and its url changed from i.a.o/b to beehive.apache.org. Seems like this is a pretty brittle piece of the controls test infrastructure and I'm having a hard time seeing its relevance. 
> I would like to suggest the possibility of removing the DTD declaration from this test output file if it continues to cause the Cruise control machine to fail.
> Here's some of the sample output when such a failure occurs.
> -generate-html-log:
> >     [echo] Generating Controls Test Report with GTLF
> >     [echo] beehive.home: 
> > /home/beehive/cc/svn/build/dist/apache-beehive-20050901205217
> >     [echo] gtlf.file: 
> > /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/build/testR
> > esults/controls/checkin/tch.xml
> > 
> >     [java] Buildfile: 
> > /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/controls/te
> > st/infra/gtlf/xsl/build.xml
> > 
> > 
> >     [java] test.report:
> >     [java] Creating
> > /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/build/testR
> > esults/controls/checkin/tch.html
> > 
> >     [java] Deleting: 
> > /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/build/testR
> > esults/controls/checkin/tch.html
> > 
> >     [java] Processing
> > /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/build/testR
> > esults/controls/checkin/tch.xml
> > to
> > /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/build/testR
> > esults/controls/checkin/tch.html
> > 
> >     [java] Loading stylesheet
> > /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/controls/te
> > st/infra/gtlf/xsl/TestReport.xsl
> > 
> >     [java] : Error! beehive.apache.org
> >     [java] : Error! 
> > com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: 
> > beehive.apache.org
> >     [java] Failed to process
> > /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/build/testR
> > esults/controls/checkin/tch.xml
> > 
> > 
> >     [java] BUILD FAILED
> >     [java]
> > /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/controls/test/infra/gtlf/xsl/build.xml:322: 
> > javax.xml.transform.TransformerException: 
> > javax.xml.transform.TransformerException: 
> > com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: 
> > beehive.apache.org

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (BEEHIVE-906) Investigate removing GTLF DTD from controls test logs

Posted by "Eddie O'Neil (JIRA)" <de...@beehive.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-906?page=all ]
     
Eddie O'Neil resolved BEEHIVE-906:
----------------------------------

    Fix Version: 1.1
     Resolution: Fixed

Fixed in SVN 332417.  Thanks for the patch Jacob, it's great to be able to run these offline.

> Investigate removing GTLF DTD from controls test logs
> -----------------------------------------------------
>
>          Key: BEEHIVE-906
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-906
>      Project: Beehive
>         Type: Improvement
>   Components: Controls
>     Reporter: Jacob Danner
>     Priority: Minor
>      Fix For: 1.1
>  Attachments: gtlf_dtd_removed.patch
>
> There was a Beehive CC failure on 9/2 caused because of the DTD declaration in the controls test output file. There was a similar issue when beehive left incubator and its url changed from i.a.o/b to beehive.apache.org. Seems like this is a pretty brittle piece of the controls test infrastructure and I'm having a hard time seeing its relevance. 
> I would like to suggest the possibility of removing the DTD declaration from this test output file if it continues to cause the Cruise control machine to fail.
> Here's some of the sample output when such a failure occurs.
> -generate-html-log:
> >     [echo] Generating Controls Test Report with GTLF
> >     [echo] beehive.home: 
> > /home/beehive/cc/svn/build/dist/apache-beehive-20050901205217
> >     [echo] gtlf.file: 
> > /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/build/testR
> > esults/controls/checkin/tch.xml
> > 
> >     [java] Buildfile: 
> > /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/controls/te
> > st/infra/gtlf/xsl/build.xml
> > 
> > 
> >     [java] test.report:
> >     [java] Creating
> > /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/build/testR
> > esults/controls/checkin/tch.html
> > 
> >     [java] Deleting: 
> > /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/build/testR
> > esults/controls/checkin/tch.html
> > 
> >     [java] Processing
> > /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/build/testR
> > esults/controls/checkin/tch.xml
> > to
> > /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/build/testR
> > esults/controls/checkin/tch.html
> > 
> >     [java] Loading stylesheet
> > /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/controls/te
> > st/infra/gtlf/xsl/TestReport.xsl
> > 
> >     [java] : Error! beehive.apache.org
> >     [java] : Error! 
> > com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: 
> > beehive.apache.org
> >     [java] Failed to process
> > /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/build/testR
> > esults/controls/checkin/tch.xml
> > 
> > 
> >     [java] BUILD FAILED
> >     [java]
> > /home/beehive/cc/svn/build/test-dist/run/beehive-test-dist/controls/test/infra/gtlf/xsl/build.xml:322: 
> > javax.xml.transform.TransformerException: 
> > javax.xml.transform.TransformerException: 
> > com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: 
> > beehive.apache.org

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira