You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Ceki G�lc� <ce...@apache.org> on 2002/09/17 13:09:01 UTC

[GUMP] Test Failure

----------------------------------------------------
This email is autogenerated from the output from:
<http://jakarta.apache.org/builds/gump/2002-09-17/log4j-tests.html>
----------------------------------------------------

Buildfile: build.xml

prepare:
    [mkdir] Created dir: /home/rubys/jakarta/jakarta-log4j/tests/output

build:
    [javac] Compiling 38 source files to /home/rubys/jakarta/jakarta-log4j/tests/classes
    [javac] Note: /home/rubys/jakarta/jakarta-log4j/tests/src/java/org/apache/log4j/LoggerTestCase.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -deprecation for details.

Minimum:
    [junit] Running org.apache.log4j.MinimumTestCase
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.422 sec
    [junit] Testsuite: org.apache.log4j.MinimumTestCase
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.422 sec

    [junit] Testcase: simple took 0.286 sec
    [junit] Testcase: ttcc took 0.132 sec

Logger:
    [junit] Running org.apache.log4j.LoggerTestCase
    [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.198 sec
    [junit] Testsuite: org.apache.log4j.LoggerTestCase
    [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.198 sec
    [junit] ------------- Standard Error -----------------
    [junit] log4j:WARN No appenders could be found for logger (x).
    [junit] log4j:WARN Please initialize the log4j system properly.
    [junit] ------------- ---------------- ---------------

    [junit] Testcase: testAppender1 took 0.181 sec
    [junit] Testcase: testAppender2 took 0 sec
    [junit] Testcase: testAdditivity1 took 0.006 sec
    [junit] Testcase: testAdditivity2 took 0.001 sec
    [junit] Testcase: testAdditivity3 took 0.001 sec
    [junit] Testcase: testDisable1 took 0 sec
    [junit] Testcase: testRB1 took 0.003 sec
    [junit] Testcase: testRB2 took 0.001 sec
    [junit] Testcase: testRB3 took 0 sec
    [junit] Testcase: testExists took 0 sec
    [junit] Testcase: testHierarchy1 took 0.001 sec

DOM:
    [junit] Running org.apache.log4j.xml.DOMTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.225 sec
    [junit] Testsuite: org.apache.log4j.xml.DOMTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.225 sec
    [junit] ------------- Standard Error -----------------
    [junit] log4j:ERROR Parsing error on line 4 and column 69
    [junit] log4j:ERROR Attribute "" bound to namespace "null" was already specified for element "log4j:configuration".
    [junit] log4j:ERROR Could not parse input source [org.xml.sax.InputSource@5b9e68].
    [junit] org.xml.sax.SAXParseException: Attribute "" bound to namespace "null" was already specified for element "log4j:configuration".
    [junit] 	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
    [junit] 	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
    [junit] 	at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:672)
    [junit] 	at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
    [junit] 	at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:584)
    [junit] 	at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:694)
    [junit] 	at org.apache.log4j.xml.DOMTestCase.test1(DOMTestCase.java:56)
    [junit] 	at java.lang.reflect.Method.invoke(Native Method)
    [junit] 	at junit.framework.TestCase.runTest(TestCase.java:154)
    [junit] 	at junit.framework.TestCase.runBare(TestCase.java:127)
    [junit] 	at junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit] 	at junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit] 	at junit.framework.TestResult.run(TestResult.java:109)
    [junit] 	at junit.framework.TestCase.run(TestCase.java:118)
    [junit] 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit] 	at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:323)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:522)
    [junit] log4j:WARN No appenders could be found for logger (org.apache.log4j.xml.DOMTestCase).
    [junit] log4j:WARN Please initialize the log4j system properly.
    [junit] ------------- ---------------- ---------------

    [junit] Testcase: test1 took 1.22 sec
    [junit] 	Caused an ERROR
    [junit] output/temp.A1 (No such file or directory)
    [junit] java.io.FileNotFoundException: output/temp.A1 (No such file or directory)
    [junit] 	at java.io.FileInputStream.open(Native Method)
    [junit] 	at java.io.FileInputStream.<init>(FileInputStream.java:59)
    [junit] 	at java.io.FileReader.<init>(FileReader.java:33)
    [junit] 	at org.apache.log4j.util.Transformer.transform(Transformer.java:24)
    [junit] 	at org.apache.log4j.xml.DOMTestCase.test1(DOMTestCase.java:65)

    [junit] Testcase: test1

BUILD FAILED
file:/home/rubys/jakarta/jakarta-log4j/tests/build.xml:150: Test org.apache.log4j.xml.DOMTestCase failed

Total time: 12 seconds

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: [GUMP] Test Failure

Posted by Ceki Gülcü <ce...@qos.ch>.
I forwarded the question to Sam Ruby.

At 09:45 17.09.2002 -0700, you wrote:
>Why is this suddenly failing?  There have been no cvs changes recently.
>
>-Mark
>
> > -----Original Message-----
> > From: Ceki Gülcü [mailto:ceki@apache.org]
> > Sent: Tuesday, September 17, 2002 4:09 AM
> > To: log4j-dev@jakarta.apache.org
> > Subject: [GUMP] Test Failure
> >
> >
> > ----------------------------------------------------
> > This email is autogenerated from the output from:
> > <http://jakarta.apache.org/builds/gump/2002-09-17/log4j-tests.html>
> > ----------------------------------------------------
> >
> > Buildfile: build.xml
> >
> > prepare:
> >     [mkdir] Created dir: /home/rubys/jakarta/jakarta-log4j/tests/output
> >
> > build:
> >     [javac] Compiling 38 source files to
> > /home/rubys/jakarta/jakarta-log4j/tests/classes
> >     [javac] Note:
> > /home/rubys/jakarta/jakarta-log4j/tests/src/java/org/apache/log4j/
> > LoggerTestCase.java uses or overrides a deprecated API.
> >     [javac] Note: Recompile with -deprecation for details.
> >
> > Minimum:
> >     [junit] Running org.apache.log4j.MinimumTestCase
> >     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.422 sec
> >     [junit] Testsuite: org.apache.log4j.MinimumTestCase
> >     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.422 sec
> >
> >     [junit] Testcase: simple took 0.286 sec
> >     [junit] Testcase: ttcc took 0.132 sec
> >
> > Logger:
> >     [junit] Running org.apache.log4j.LoggerTestCase
> >     [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.198 sec
> >     [junit] Testsuite: org.apache.log4j.LoggerTestCase
> >     [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.198 sec
> >     [junit] ------------- Standard Error -----------------
> >     [junit] log4j:WARN No appenders could be found for logger (x).
> >     [junit] log4j:WARN Please initialize the log4j system properly.
> >     [junit] ------------- ---------------- ---------------
> >
> >     [junit] Testcase: testAppender1 took 0.181 sec
> >     [junit] Testcase: testAppender2 took 0 sec
> >     [junit] Testcase: testAdditivity1 took 0.006 sec
> >     [junit] Testcase: testAdditivity2 took 0.001 sec
> >     [junit] Testcase: testAdditivity3 took 0.001 sec
> >     [junit] Testcase: testDisable1 took 0 sec
> >     [junit] Testcase: testRB1 took 0.003 sec
> >     [junit] Testcase: testRB2 took 0.001 sec
> >     [junit] Testcase: testRB3 took 0 sec
> >     [junit] Testcase: testExists took 0 sec
> >     [junit] Testcase: testHierarchy1 took 0.001 sec
> >
> > DOM:
> >     [junit] Running org.apache.log4j.xml.DOMTestCase
> >     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.225 sec
> >     [junit] Testsuite: org.apache.log4j.xml.DOMTestCase
> >     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.225 sec
> >     [junit] ------------- Standard Error -----------------
> >     [junit] log4j:ERROR Parsing error on line 4 and column 69
> >     [junit] log4j:ERROR Attribute "" bound to namespace "null"
> > was already specified for element "log4j:configuration".
> >     [junit] log4j:ERROR Could not parse input source
> > [org.xml.sax.InputSource@5b9e68].
> >     [junit] org.xml.sax.SAXParseException: Attribute "" bound to
> > namespace "null" was already specified for element "log4j:configuration".
> >     [junit]   at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
> >     [junit]   at
> > org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
> >     [junit]   at
> > org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:672)
> >     [junit]   at
> > org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
> >     [junit]   at
> > org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:584)
> >     [junit]   at
> > org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:694)
> >     [junit]   at
> > org.apache.log4j.xml.DOMTestCase.test1(DOMTestCase.java:56)
> >     [junit]   at java.lang.reflect.Method.invoke(Native Method)
> >     [junit]   at junit.framework.TestCase.runTest(TestCase.java:154)
> >     [junit]   at junit.framework.TestCase.runBare(TestCase.java:127)
> >     [junit]   at junit.framework.TestResult$1.protect(TestResult.java:106)
> >     [junit]   at
> > junit.framework.TestResult.runProtected(TestResult.java:124)
> >     [junit]   at junit.framework.TestResult.run(TestResult.java:109)
> >     [junit]   at junit.framework.TestCase.run(TestCase.java:118)
> >     [junit]   at junit.framework.TestSuite.runTest(TestSuite.java:208)
> >     [junit]   at junit.framework.TestSuite.run(TestSuite.java:203)
> >     [junit]   at
> > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(J
> > UnitTestRunner.java:323)
> >     [junit]   at
> > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(
> > JUnitTestRunner.java:522)
> >     [junit] log4j:WARN No appenders could be found for logger
> > (org.apache.log4j.xml.DOMTestCase).
> >     [junit] log4j:WARN Please initialize the log4j system properly.
> >     [junit] ------------- ---------------- ---------------
> >
> >     [junit] Testcase: test1 took 1.22 sec
> >     [junit]   Caused an ERROR
> >     [junit] output/temp.A1 (No such file or directory)
> >     [junit] java.io.FileNotFoundException: output/temp.A1 (No
> > such file or directory)
> >     [junit]   at java.io.FileInputStream.open(Native Method)
> >     [junit]   at java.io.FileInputStream.<init>(FileInputStream.java:59)
> >     [junit]   at java.io.FileReader.<init>(FileReader.java:33)
> >     [junit]   at
> > org.apache.log4j.util.Transformer.transform(Transformer.java:24)
> >     [junit]   at
> > org.apache.log4j.xml.DOMTestCase.test1(DOMTestCase.java:65)
> >
> >     [junit] Testcase: test1
> >
> > BUILD FAILED
> > file:/home/rubys/jakarta/jakarta-log4j/tests/build.xml:150: Test
> > org.apache.log4j.xml.DOMTestCase failed
> >
> > Total time: 12 seconds
> >
> > --
> > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>

--
Ceki

TCP implementations will follow a general principle of robustness: be
conservative in what you do, be liberal in what you accept from
others. -- Jon Postel, RFC 793



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: [GUMP] Test Failure

Posted by mw...@apache.org.
Why is this suddenly failing?  There have been no cvs changes recently.

-Mark

> -----Original Message-----
> From: Ceki Gülcü [mailto:ceki@apache.org]
> Sent: Tuesday, September 17, 2002 4:09 AM
> To: log4j-dev@jakarta.apache.org
> Subject: [GUMP] Test Failure
>
>
> ----------------------------------------------------
> This email is autogenerated from the output from:
> <http://jakarta.apache.org/builds/gump/2002-09-17/log4j-tests.html>
> ----------------------------------------------------
>
> Buildfile: build.xml
>
> prepare:
>     [mkdir] Created dir: /home/rubys/jakarta/jakarta-log4j/tests/output
>
> build:
>     [javac] Compiling 38 source files to
> /home/rubys/jakarta/jakarta-log4j/tests/classes
>     [javac] Note:
> /home/rubys/jakarta/jakarta-log4j/tests/src/java/org/apache/log4j/
> LoggerTestCase.java uses or overrides a deprecated API.
>     [javac] Note: Recompile with -deprecation for details.
>
> Minimum:
>     [junit] Running org.apache.log4j.MinimumTestCase
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.422 sec
>     [junit] Testsuite: org.apache.log4j.MinimumTestCase
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.422 sec
>
>     [junit] Testcase: simple took 0.286 sec
>     [junit] Testcase: ttcc took 0.132 sec
>
> Logger:
>     [junit] Running org.apache.log4j.LoggerTestCase
>     [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.198 sec
>     [junit] Testsuite: org.apache.log4j.LoggerTestCase
>     [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.198 sec
>     [junit] ------------- Standard Error -----------------
>     [junit] log4j:WARN No appenders could be found for logger (x).
>     [junit] log4j:WARN Please initialize the log4j system properly.
>     [junit] ------------- ---------------- ---------------
>
>     [junit] Testcase: testAppender1 took 0.181 sec
>     [junit] Testcase: testAppender2 took 0 sec
>     [junit] Testcase: testAdditivity1 took 0.006 sec
>     [junit] Testcase: testAdditivity2 took 0.001 sec
>     [junit] Testcase: testAdditivity3 took 0.001 sec
>     [junit] Testcase: testDisable1 took 0 sec
>     [junit] Testcase: testRB1 took 0.003 sec
>     [junit] Testcase: testRB2 took 0.001 sec
>     [junit] Testcase: testRB3 took 0 sec
>     [junit] Testcase: testExists took 0 sec
>     [junit] Testcase: testHierarchy1 took 0.001 sec
>
> DOM:
>     [junit] Running org.apache.log4j.xml.DOMTestCase
>     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.225 sec
>     [junit] Testsuite: org.apache.log4j.xml.DOMTestCase
>     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.225 sec
>     [junit] ------------- Standard Error -----------------
>     [junit] log4j:ERROR Parsing error on line 4 and column 69
>     [junit] log4j:ERROR Attribute "" bound to namespace "null"
> was already specified for element "log4j:configuration".
>     [junit] log4j:ERROR Could not parse input source
> [org.xml.sax.InputSource@5b9e68].
>     [junit] org.xml.sax.SAXParseException: Attribute "" bound to
> namespace "null" was already specified for element "log4j:configuration".
>     [junit] 	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
>     [junit] 	at
> org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
>     [junit] 	at
> org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:672)
>     [junit] 	at
> org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
>     [junit] 	at
> org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:584)
>     [junit] 	at
> org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:694)
>     [junit] 	at
> org.apache.log4j.xml.DOMTestCase.test1(DOMTestCase.java:56)
>     [junit] 	at java.lang.reflect.Method.invoke(Native Method)
>     [junit] 	at junit.framework.TestCase.runTest(TestCase.java:154)
>     [junit] 	at junit.framework.TestCase.runBare(TestCase.java:127)
>     [junit] 	at junit.framework.TestResult$1.protect(TestResult.java:106)
>     [junit] 	at
> junit.framework.TestResult.runProtected(TestResult.java:124)
>     [junit] 	at junit.framework.TestResult.run(TestResult.java:109)
>     [junit] 	at junit.framework.TestCase.run(TestCase.java:118)
>     [junit] 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
>     [junit] 	at junit.framework.TestSuite.run(TestSuite.java:203)
>     [junit] 	at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(J
> UnitTestRunner.java:323)
>     [junit] 	at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(
> JUnitTestRunner.java:522)
>     [junit] log4j:WARN No appenders could be found for logger
> (org.apache.log4j.xml.DOMTestCase).
>     [junit] log4j:WARN Please initialize the log4j system properly.
>     [junit] ------------- ---------------- ---------------
>
>     [junit] Testcase: test1 took 1.22 sec
>     [junit] 	Caused an ERROR
>     [junit] output/temp.A1 (No such file or directory)
>     [junit] java.io.FileNotFoundException: output/temp.A1 (No
> such file or directory)
>     [junit] 	at java.io.FileInputStream.open(Native Method)
>     [junit] 	at java.io.FileInputStream.<init>(FileInputStream.java:59)
>     [junit] 	at java.io.FileReader.<init>(FileReader.java:33)
>     [junit] 	at
> org.apache.log4j.util.Transformer.transform(Transformer.java:24)
>     [junit] 	at
> org.apache.log4j.xml.DOMTestCase.test1(DOMTestCase.java:65)
>
>     [junit] Testcase: test1
>
> BUILD FAILED
> file:/home/rubys/jakarta/jakarta-log4j/tests/build.xml:150: Test
> org.apache.log4j.xml.DOMTestCase failed
>
> Total time: 12 seconds
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>