logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki "Gülcü" <c...@apache.org>
Subject [GUMP] Test Failure
Date Thu, 10 Jul 2003 13:23:01 GMT
----------------------------------------------------
This email is autogenerated from the output from:
<http://cvs.apache.org/builds/gump/2003-07-10/log4j-tests.html>
----------------------------------------------------

Buildfile: build.xml

parentBuild:
Caught exception (org.apache.tools.ant.BuildException) while expanding site2.classpath: /home/rubys/jakarta/jakarta-log4j/${jakarta-site2}/lib
not found.

init:

build.core:

oroCheck:

chainsawCheck:

build.chainsaw:

build.examples:

jaxpCheck:

jaxp:
     [echo] JAXP present.

build.xml:

javamailCheck:

javamail:

build.javamail:

jmsCheck:

jms:

jndiCheck:

jndi:
     [echo] JNDI is present.

build.jms:

jmxCheck:

jmx:

build.jmx:

avalonFrameworkCheck:

avalonFramework:

build.avalonFramework:

build:

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

build:
    [javac] Compiling 53 source files to /home/rubys/jakarta/jakarta-log4j/tests/classes

cleanOutputDir:

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

    [junit] Testcase: simple took 0.327 sec
    [junit] Testcase: ttcc took 0.121 sec



Logger:
    [junit] Running org.apache.log4j.LoggerTestCase
    [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.254 sec
    [junit] Testsuite: org.apache.log4j.LoggerTestCase
    [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.254 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.227 sec
    [junit] Testcase: testAppender2 took 0.001 sec
    [junit] Testcase: testAdditivity1 took 0.006 sec
    [junit] Testcase: testAdditivity2 took 0.002 sec
    [junit] Testcase: testAdditivity3 took 0 sec
    [junit] Testcase: testDisable1 took 0.008 sec
    [junit] Testcase: testRB1 took 0.001 sec
    [junit] Testcase: testRB2 took 0.001 sec
    [junit] Testcase: testRB3 took 0 sec
    [junit] Testcase: testExists took 0.001 sec
    [junit] Testcase: testHierarchy1 took 0 sec



DOM:
    [junit] Running org.apache.log4j.xml.DOMTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.272 sec
    [junit] Testsuite: org.apache.log4j.xml.DOMTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.272 sec
    [junit] ------------- Standard Output ---------------
    [junit] log4j: Trying to find [log4j.xml] using context classloader sun.misc.Launcher$AppClassLoader@1a457b6.
    [junit] log4j: Trying to find [log4j.xml] using sun.misc.Launcher$AppClassLoader@1a457b6
class loader.
    [junit] log4j: Trying to find [log4j.xml] using ClassLoader.getSystemResource().
    [junit] log4j: Trying to find [log4j.properties] using context classloader sun.misc.Launcher$AppClassLoader@1a457b6.
    [junit] log4j: Trying to find [log4j.properties] using sun.misc.Launcher$AppClassLoader@1a457b6
class loader.
    [junit] log4j: Trying to find [log4j.properties] using ClassLoader.getSystemResource().
    [junit] log4j: Could not find resources to perform automatic configuration.
    [junit] log4j: System property [javax.xml.parsers.DocumentBuilderFactory] is: null
    [junit] log4j: Search for the standard DocumentBuilderFactory succeded.
    [junit] log4j: DocumentBuilderFactory is: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
    [junit] log4j: debug attribute= "null".
    [junit] log4j: Ignoring debug attribute.
    [junit] log4j: Threshold ="null".
    [junit] log4j: Retreiving an instance of org.apache.log4j.Logger.
    [junit] log4j: Setting [org.apache.log4j.xml] additivity to [true].
    [junit] log4j: Level value for org.apache.log4j.xml is  [debug].
    [junit] log4j: org.apache.log4j.xml level set to DEBUG
    [junit] log4j: Class name: [org.apache.log4j.FileAppender]
    [junit] log4j: Setting property [file] to [output/temp.A1].
    [junit] log4j: Setting property [append] to [false].
    [junit] log4j-internal: 1 xml.DOMConfigurator    - Handling nested <layout> for
appender A1
    [junit] log4j-internal: 2 config.PropertySetter  - Found setter method for property [layout]
in class org.apache.log4j.FileAppender
    [junit] log4j-internal: 2 xml.DOMConfigurator    - Will instantiate instance of class
[org.apache.log4j.PatternLayout]
    [junit] log4j-internal: 2 xml.DOMConfigurator    - Configuring parameter [ConversionPattern]
for <layout>.
    [junit] log4j: Setting property [conversionPattern] to [%-5p %c{2} - %m%n].
    [junit] log4j-internal: 11 config.PropertySetter  - Set child component of type [org.apache.log4j.PatternLayout]
for [org.apache.log4j.FileAppender].
    [junit] log4j: setFile called: output/temp.A1, false
    [junit] log4j: setFile ended
    [junit] log4j: Adding appender named [A1] to category [org.apache.log4j.xml].
    [junit] log4j: Level value for root is  [debug].
    [junit] log4j: root level set to DEBUG
    [junit] log4j: Adding appender named [A1] to category [root].
    [junit] log4j: Class name: [org.apache.log4j.FileAppender]
    [junit] log4j: Setting property [file] to [output/temp.A2].
    [junit] log4j: Setting property [append] to [false].
    [junit] log4j-internal: 25 xml.DOMConfigurator    - Handling nested <layout> for
appender A2
    [junit] log4j-internal: 25 config.PropertySetter  - Found setter method for property [layout]
in class org.apache.log4j.FileAppender
    [junit] log4j-internal: 25 xml.DOMConfigurator    - Will instantiate instance of class
[org.apache.log4j.TTCCLayout]
    [junit] log4j-internal: 37 xml.DOMConfigurator    - Configuring parameter [DateFormat]
for <layout>.
    [junit] log4j: Setting property [dateFormat] to [ISO8601].
    [junit] log4j-internal: 60 config.PropertySetter  - Set child component of type [org.apache.log4j.TTCCLayout]
for [org.apache.log4j.FileAppender].
    [junit] log4j: setFile called: output/temp.A2, false
    [junit] log4j: setFile ended
    [junit] log4j: Adding appender named [A2] to category [root].
    [junit] ------------- ---------------- ---------------
    [junit] ------------- Standard Error -----------------
    [junit] piblicID: [null]
    [junit] systemId: [dummy://log4j.dtdlog4j.dtd]
    [junit] ------------- ---------------- ---------------

    [junit] Testcase: test1 took 1.265 sec



CustomLevel:
    [junit] Running org.apache.log4j.xml.CustomLevelTestCase
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.177 sec
    [junit] Testsuite: org.apache.log4j.xml.CustomLevelTestCase
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.177 sec
    [junit] ------------- Standard Output ---------------
    [junit] log4j-internal: 0 xml.DOMConfigurator    - Handling nested <layout> for
appender TEMP
    [junit] log4j-internal: 1 config.PropertySetter  - Found setter method for property [layout]
in class org.apache.log4j.FileAppender
    [junit] log4j-internal: 1 xml.DOMConfigurator    - Will instantiate instance of class
[org.apache.log4j.PatternLayout]
    [junit] log4j-internal: 1 xml.DOMConfigurator    - Configuring parameter [ConversionPattern]
for <layout>.
    [junit] log4j-internal: 8 config.PropertySetter  - Set child component of type [org.apache.log4j.PatternLayout]
for [org.apache.log4j.FileAppender].
    [junit] log4j: xml.DOMConfigurator    - Handling nested <layout> for appender TEMP
    [junit] log4j: config.PropertySetter  - Found setter method for property [layout] in class
org.apache.log4j.FileAppender
    [junit] log4j: xml.DOMConfigurator    - Will instantiate instance of class [org.apache.log4j.PatternLayout]
    [junit] log4j: xml.DOMConfigurator    - Configuring parameter [ConversionPattern] for
<layout>.
    [junit] log4j: config.PropertySetter  - Set child component of type [org.apache.log4j.PatternLayout]
for [org.apache.log4j.FileAppender].
    [junit] log4j: xml.DOMConfigurator    - Handling nested <filter> for appender TEMP
    [junit] log4j: config.PropertySetter  - Found addFilter method in class org.apache.log4j.FileAppender
    [junit] log4j: xml.DOMConfigurator    - Will instantiate instance of class [org.apache.log4j.varia.LevelMatchFilter]
    [junit] log4j: xml.DOMConfigurator    - Configuring parameter [LevelToMatch] for <filter>.
    [junit] log4j: xml.DOMConfigurator    - Configuring parameter [AcceptOnMatch] for <filter>.
    [junit] log4j: xml.DOMConfigurator    - Handling nested <layout> for appender TEMP
    [junit] log4j: config.PropertySetter  - Found setter method for property [layout] in class
org.apache.log4j.FileAppender
    [junit] log4j: xml.DOMConfigurator    - Will instantiate instance of class [org.apache.log4j.PatternLayout]
    [junit] log4j: xml.DOMConfigurator    - Configuring parameter [ConversionPattern] for
<layout>.
    [junit] log4j: config.PropertySetter  - Set child component of type [org.apache.log4j.PatternLayout]
for [org.apache.log4j.FileAppender].
    [junit] log4j: xml.DOMConfigurator    - Handling nested <filter> for appender TEMP
    [junit] log4j: config.PropertySetter  - Found addFilter method in class org.apache.log4j.FileAppender
    [junit] log4j: xml.DOMConfigurator    - Will instantiate instance of class [org.apache.log4j.varia.LevelMatchFilter]
    [junit] log4j: xml.DOMConfigurator    - Configuring parameter [LevelToMatch] for <filter>.
    [junit] log4j: xml.DOMConfigurator    - Configuring parameter [AcceptOnMatch] for <filter>.
    [junit] log4j: xml.DOMConfigurator    - Handling nested <filter> for appender TEMP
    [junit] log4j: config.PropertySetter  - Found addFilter method in class org.apache.log4j.FileAppender
    [junit] log4j: xml.DOMConfigurator    - Will instantiate instance of class [org.apache.log4j.varia.DenyAllFilter]
    [junit] log4j: Threshold ="null".
    [junit] log4j: Level value for root is  [TRACE#org.apache.log4j.xml.XLevel].
    [junit] log4j: toLevel:class=[org.apache.log4j.xml.XLevel]:pri=[TRACE]
    [junit] log4j: root level set to TRACE
    [junit] log4j: Class name: [org.apache.log4j.FileAppender]
    [junit] log4j: Setting property [append] to [false].
    [junit] log4j: Setting property [file] to [output/temp].
    [junit] log4j: xml.DOMConfigurator    - Handling nested <layout> for appender TEMP
    [junit] log4j: config.PropertySetter  - Found setter method for property [layout] in class
org.apache.log4j.FileAppender
    [junit] log4j: xml.DOMConfigurator    - Will instantiate instance of class [org.apache.log4j.PatternLayout]
    [junit] log4j: xml.DOMConfigurator    - Configuring parameter [ConversionPattern] for
<layout>.
    [junit] log4j: Setting property [conversionPattern] to [%-5p %c{2} - %m
    [junit] ].
    [junit] log4j: config.PropertySetter  - Set child component of type [org.apache.log4j.PatternLayout]
for [org.apache.log4j.FileAppender].
    [junit] log4j: setFile called: output/temp, false
    [junit] log4j: setFile ended
    [junit] log4j: Adding appender named [TEMP] to category [root].
    [junit] ------------- ---------------- ---------------
    [junit] ------------- Standard Error -----------------
    [junit] piblicID: [null]
    [junit] systemId: [dummy://log4j.dtdlog4j.dtd]
    [junit] piblicID: [null]
    [junit] systemId: [dummy://log4j.dtdlog4j.dtd]
    [junit] piblicID: [null]
    [junit] systemId: [dummy://log4j.dtdlog4j.dtd]
    [junit] piblicID: [null]
    [junit] systemId: [dummy://log4j.dtdlog4j.dtd]
    [junit] ------------- ---------------- ---------------

    [junit] Testcase: test1 took 0.975 sec
    [junit] Testcase: test2 took 0.085 sec
    [junit] Testcase: test3 took 0.042 sec
    [junit] Testcase: test4 took 0.071 sec



CustomLogger:
    [junit] Running org.apache.log4j.customLogger.XLoggerTestCase
    [junit] log4j-internal: 0 xml.DOMConfigurator    - Handling nested <layout> for
appender TEMP
    [junit] log4j-internal: 2 config.PropertySetter  - Found setter method for property [layout]
in class org.apache.log4j.FileAppender
    [junit] log4j-internal: 3 xml.DOMConfigurator    - Will instantiate instance of class
[org.apache.log4j.PatternLayout]
    [junit] log4j-internal: 4 xml.DOMConfigurator    - Configuring parameter [ConversionPattern]
for <layout>.
    [junit] log4j-internal: 11 config.PropertySetter  - Set child component of type [org.apache.log4j.PatternLayout]
for [org.apache.log4j.FileAppender].
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.97 sec
    [junit] Testsuite: org.apache.log4j.customLogger.XLoggerTestCase
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.97 sec
    [junit] ------------- Standard Output ---------------
    [junit] log4j: Threshold ="null".
    [junit] log4j: Level value for root is  [TRACE].
    [junit] log4j: Desired Level sub-class: [org.apache.log4j.xml.XLevel]
    [junit] log4j: root level set to TRACE
    [junit] log4j: Class name: [org.apache.log4j.FileAppender]
    [junit] log4j: Setting property [append] to [false].
    [junit] log4j: Setting property [file] to [output/temp].
    [junit] log4j: Setting property [conversionPattern] to [%-5p %c{2} - %m%n].
    [junit] log4j: Setting property [levelToMatch] to [TRACE#org.apache.log4j.xml.XLevel].
    [junit] log4j: toLevel:class=[org.apache.log4j.xml.XLevel]:pri=[TRACE]
    [junit] log4j: Setting property [acceptOnMatch] to [true].
    [junit] log4j: setFile called: output/temp, false
    [junit] log4j: setFile ended
    [junit] log4j: Adding appender named [TEMP] to category [root].
    [junit] ------------- ---------------- ---------------
    [junit] ------------- Standard Error -----------------
    [junit] piblicID: [null]
    [junit] systemId: [dummy://log4j.dtdlog4j.dtd]
    [junit] piblicID: [null]
    [junit] systemId: [dummy://log4j.dtdlog4j.dtd]
    [junit] log4j:WARN No appenders could be found for logger (LOG4J.org.apache.log4j.xml.DOMConfigurator).
    [junit] log4j:WARN Please initialize the log4j system properly.
    [junit] ------------- ---------------- ---------------

    [junit] Testcase: test1 took 0.907 sec
    [junit] Testcase: test2 took 0.058 sec



PatternLayout:
    [junit] Running org.apache.log4j.PatternLayoutTestCase
    [junit] Tests run: 15, Failures: 0, Errors: 0, Time elapsed: 1.298 sec
    [junit] Testsuite: org.apache.log4j.PatternLayoutTestCase
    [junit] Tests run: 15, Failures: 0, Errors: 0, Time elapsed: 1.298 sec
    [junit] ------------- Standard Output ---------------
    [junit] =======java.text.SimpleDateFormat@98f267e7
    [junit] =======java.text.SimpleDateFormat@f17a63e7
    [junit] =======java.text.SimpleDateFormat@6fc47554
    [junit] =======java.text.SimpleDateFormat@6fc47554
    [junit] =======java.text.SimpleDateFormat@85c055c7
    [junit] =======java.text.SimpleDateFormat@85c055c7
    [junit] ------------- ---------------- ---------------

    [junit] Testcase: test1 took 0.559 sec
    [junit] Testcase: test2 took 0.111 sec
    [junit] Testcase: test3 took 0.056 sec
    [junit] Testcase: test4 took 0.062 sec
    [junit] Testcase: test5 took 0.047 sec
    [junit] Testcase: test6 took 0.068 sec
    [junit] Testcase: test7 took 0.033 sec
    [junit] Testcase: test8 took 0.032 sec
    [junit] Testcase: test9 took 0.034 sec
    [junit] Testcase: test10 took 0.069 sec
    [junit] Testcase: test11 took 0.056 sec
    [junit] Testcase: test12 took 0.055 sec
    [junit] Testcase: test13 took 0.053 sec
    [junit] Testcase: test14 took 0.025 sec
    [junit] Testcase: testMDCAllowAllKeys took 0.03 sec



HierarchyThreshold:
   [delete] Deleting: /home/rubys/jakarta/jakarta-log4j/tests/output/temp
    [junit] Running org.apache.log4j.HierarchyThresholdTestCase
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.198 sec
    [junit] Testsuite: org.apache.log4j.HierarchyThresholdTestCase
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.198 sec
    [junit] ------------- Standard Output ---------------
    [junit] Tearing down test case.
    [junit] Tearing down test case.
    [junit] Tearing down test case.
    [junit] Tearing down test case.
    [junit] Tearing down test case.
    [junit] Tearing down test case.
    [junit] Tearing down test case.
    [junit] Tearing down test case.
    [junit] ------------- ---------------- ---------------

    [junit] Testcase: test1 took 0.11 sec
    [junit] Testcase: test2 took 0.02 sec
    [junit] Testcase: test3 took 0.013 sec
    [junit] Testcase: test4 took 0.003 sec
    [junit] Testcase: test5 took 0.012 sec
    [junit] Testcase: test6 took 0.023 sec
    [junit] Testcase: test7 took 0.008 sec
    [junit] Testcase: test8 took 0.002 sec



DefaultInit:
    [junit] Running org.apache.log4j.defaultInit.TestCase1
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.196 sec
    [junit] Testsuite: org.apache.log4j.defaultInit.TestCase1
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.196 sec

    [junit] Testcase: noneTest took 0.191 sec


     [copy] Copying 1 file to /home/rubys/jakarta/jakarta-log4j/tests/classes
    [junit] Running org.apache.log4j.defaultInit.TestCase2
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.948 sec
    [junit] Testsuite: org.apache.log4j.defaultInit.TestCase2
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.948 sec
    [junit] ------------- Standard Output ---------------
    [junit] log4j: Threshold ="null".
    [junit] log4j: Level value for root is  [OFF].
    [junit] log4j: root level set to OFF
    [junit] log4j: Class name: [org.apache.log4j.ConsoleAppender]
    [junit] log4j: Setting property [conversionPattern] to [%-5p %c{2} - %m%n].
    [junit] log4j: Adding appender named [D1] to category [root].
    [junit] ------------- ---------------- ---------------
    [junit] ------------- Standard Error -----------------
    [junit] piblicID: [null]
    [junit] systemId: [dummy://log4j.dtdlog4j.dtd]
    [junit] ------------- ---------------- ---------------

    [junit] Testcase: xmlTest took 0.943 sec


   [delete] Deleting: /home/rubys/jakarta/jakarta-log4j/tests/classes/log4j.xml
     [copy] Copying 1 file to /home/rubys/jakarta/jakarta-log4j/tests/classes
    [junit] Running org.apache.log4j.defaultInit.TestCase1
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.146 sec
    [junit] Testsuite: org.apache.log4j.defaultInit.TestCase1
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.146 sec

    [junit] Testcase: noneTest took 0.141 sec


   [delete] Deleting: /home/rubys/jakarta/jakarta-log4j/tests/classes/log4j.xml
     [copy] Copying 1 file to /home/rubys/jakarta/jakarta-log4j/tests/classes
    [junit] Running org.apache.log4j.defaultInit.TestCase3
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.316 sec
    [junit] Testsuite: org.apache.log4j.defaultInit.TestCase3
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.316 sec
    [junit] ------------- Standard Output ---------------
    [junit] =======java.text.SimpleDateFormat@98f267e7
    [junit] ------------- ---------------- ---------------

    [junit] Testcase: propertiesTest took 0.312 sec


   [delete] Deleting: /home/rubys/jakarta/jakarta-log4j/tests/classes/log4j.properties
     [copy] Copying 1 file to /home/rubys/jakarta/jakarta-log4j/tests/classes
     [copy] Copying 1 file to /home/rubys/jakarta/jakarta-log4j/tests/classes
    [junit] Running org.apache.log4j.defaultInit.TestCase4
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.949 sec
    [junit] Testsuite: org.apache.log4j.defaultInit.TestCase4
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.949 sec
    [junit] ------------- Standard Output ---------------
    [junit] log4j: Threshold ="null".
    [junit] log4j: Level value for root is  [OFF].
    [junit] log4j: root level set to OFF
    [junit] log4j: Class name: [org.apache.log4j.ConsoleAppender]
    [junit] log4j: Setting property [conversionPattern] to [%-5p %c{2} - %m%n].
    [junit] log4j: Adding appender named [D1] to category [root].
    [junit] ------------- ---------------- ---------------
    [junit] ------------- Standard Error -----------------
    [junit] piblicID: [null]
    [junit] systemId: [dummy://log4j.dtdlog4j.dtd]
    [junit] ------------- ---------------- ---------------

    [junit] Testcase: combinedTest took 0.945 sec


   [delete] Deleting: /home/rubys/jakarta/jakarta-log4j/tests/classes/log4j.xml
   [delete] Deleting: /home/rubys/jakarta/jakarta-log4j/tests/classes/log4j.properties

SocketServer:
    [junit] Running org.apache.log4j.net.SocketServerTestCase
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 12.747 sec
    [junit] Testsuite: org.apache.log4j.net.SocketServerTestCase
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 12.747 sec
    [junit] ------------- Standard Output ---------------
    [junit] Setting up test case.
    [junit] Tearing down test case.
    [junit] Setting up test case.
    [junit] Tearing down test case.
    [junit] Setting up test case.
    [junit] Tearing down test case.
    [junit] Setting up test case.
    [junit] Tearing down test case.
    [junit] Setting up test case.
    [junit] Tearing down test case.
    [junit] Setting up test case.
    [junit] Tearing down test case.
    [junit] Setting up test case.
    [junit] Tearing down test case.
    [junit] Setting up test case.
    [junit] Tearing down test case.
    [junit] ------------- ---------------- ---------------

    [junit] Testcase: test1 took 1.337 sec
    [junit] Testcase: test2 took 1.056 sec
    [junit] Testcase: test3 took 1.092 sec
    [junit] Testcase: test4 took 1.067 sec
    [junit] Testcase: test5 took 2.058 sec
    [junit] Testcase: test6 took 2.042 sec
    [junit] Testcase: test7 took 2.04 sec
    [junit] Testcase: test8 took 2.051 sec





XMLLayout:
    [junit] Running org.apache.log4j.xml.XMLLayoutTestCase
    [junit] Tests run: 5, Failures: 1, Errors: 0, Time elapsed: 0.511 sec
    [junit] Testsuite: org.apache.log4j.xml.XMLLayoutTestCase
    [junit] Tests run: 5, Failures: 1, Errors: 0, Time elapsed: 0.511 sec
    [junit] ------------- Standard Output ---------------
    [junit] Files [output/filtered] and [witness/xmlLayout.mdc.1] differ on line 4
    [junit] One reads:  [<log4j:data name="key1" value="val1"/>].
    [junit] Other reads:[    <log4j:data name="key1" value="val1"/>].
    [junit] --------------------------------
    [junit] Contents of output/filtered:
    [junit] 1   : <log4j:event logger="org.apache.log4j.xml.XMLLayoutTestCase" timestamp="XXX"
level="DEBUG" thread="main">
    [junit] 2   : <log4j:message><![CDATA[Hello]]></log4j:message>
    [junit] 3   : <log4j:MDC>
    [junit] 4   : <log4j:data name="key1" value="val1"/>
    [junit] 5   : <log4j:data name="key2" value="val2"/>
    [junit] 6   : </log4j:MDC>
    [junit] 7   : </log4j:event>
    [junit] 8   : 
    [junit] --------------------------------
    [junit] Contents of witness/xmlLayout.mdc.1:
    [junit] 1   : <log4j:event logger="org.apache.log4j.xml.XMLLayoutTestCase" timestamp="XXX"
level="DEBUG" thread="main">
    [junit] 2   : <log4j:message><![CDATA[Hello]]></log4j:message>
    [junit] 3   : <log4j:MDC>
    [junit] 4   :     <log4j:data name="key1" value="val1"/>
    [junit] 5   :     <log4j:data name="key2" value="val2"/>
    [junit] 6   : </log4j:MDC>
    [junit] 7   : </log4j:event>
    [junit] 8   : 
    [junit] ------------- ---------------- ---------------

    [junit] Testcase: basic took 0.367 sec
    [junit] Testcase: locationInfo took 0.079 sec
    [junit] Testcase: testCDATA took 0.013 sec
    [junit] Testcase: testNull took 0.019 sec
    [junit] Testcase: testMDC took 0.02 sec
    [junit] 	FAILED
    [junit] null
    [junit] junit.framework.AssertionFailedError
    [junit] 	at org.apache.log4j.xml.XMLLayoutTestCase.testMDC(XMLLayoutTestCase.java:163)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


    [junit] Testcase: testMDC

BUILD FAILED
/home/rubys/jakarta/jakarta-log4j/tests/build.xml:253: Test org.apache.log4j.xml.XMLLayoutTestCase
failed

Total time: 38 seconds

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org


Mime
View raw message