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 Wed, 30 Jul 2003 13:15:48 GMT
----------------------------------------------------
This email is autogenerated from the output from:
<http://cvs.apache.org/builds/gump/2003-07-30/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:

build:

cleanOutputDir:
   [delete] Deleting 24 files from /home/rubys/jakarta/jakarta-log4j/tests/output

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

    [junit] Testcase: simple took 0.428 sec
    [junit] Testcase: ttcc took 0.204 sec



Logger:
    [junit] Running org.apache.log4j.LoggerTestCase
    [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.296 sec
    [junit] Testsuite: org.apache.log4j.LoggerTestCase
    [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.296 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.257 sec
    [junit] Testcase: testAppender2 took 0 sec
    [junit] Testcase: testAdditivity1 took 0.017 sec
    [junit] Testcase: testAdditivity2 took 0.001 sec
    [junit] Testcase: testAdditivity3 took 0.001 sec
    [junit] Testcase: testDisable1 took 0.008 sec
    [junit] Testcase: testRB1 took 0 sec
    [junit] Testcase: testRB2 took 0.002 sec
    [junit] Testcase: testRB3 took 0.001 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: 0, Time elapsed: 2.236 sec
    [junit] Testsuite: org.apache.log4j.xml.DOMTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.236 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: 13 xml.DOMConfigurator    - Handling nested <layout> for
appender A2
    [junit] log4j-internal: 14 config.PropertySetter  - Found setter method for property [layout]
in class org.apache.log4j.FileAppender
    [junit] log4j-internal: 14 xml.DOMConfigurator    - Will instantiate instance of class
[org.apache.log4j.TTCCLayout]
    [junit] log4j-internal: 26 xml.DOMConfigurator    - Configuring parameter [DateFormat]
for <layout>.
    [junit] log4j: Setting property [dateFormat] to [ISO8601].
    [junit] log4j-internal: 52 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.dtd/log4j.dtd]
    [junit] ------------- ---------------- ---------------

    [junit] Testcase: test1 took 2.231 sec



CustomLevel:
    [junit] Running org.apache.log4j.xml.CustomLevelTestCase
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.269 sec
    [junit] Testsuite: org.apache.log4j.xml.CustomLevelTestCase
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.269 sec
    [junit] ------------- Standard Output ---------------
    [junit] log4j-internal: 1 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: 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-internal: 9 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.dtd/log4j.dtd]
    [junit] piblicID: [null]
    [junit] systemId: [dummy://log4j.dtd/log4j.dtd]
    [junit] piblicID: [null]
    [junit] systemId: [dummy://log4j.dtd/log4j.dtd]
    [junit] piblicID: [null]
    [junit] systemId: [dummy://log4j.dtd/log4j.dtd]
    [junit] ------------- ---------------- ---------------

    [junit] Testcase: test1 took 1.111 sec
    [junit] Testcase: test2 took 0.06 sec
    [junit] Testcase: test3 took 0.033 sec
    [junit] Testcase: test4 took 0.061 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: 2 xml.DOMConfigurator    - Will instantiate instance of class
[org.apache.log4j.PatternLayout]
    [junit] log4j-internal: 5 xml.DOMConfigurator    - Configuring parameter [ConversionPattern]
for <layout>.
    [junit] log4j-internal: 12 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: 1.246 sec
    [junit] Testsuite: org.apache.log4j.customLogger.XLoggerTestCase
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.246 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.dtd/log4j.dtd]
    [junit] piblicID: [null]
    [junit] systemId: [dummy://log4j.dtd/log4j.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 1.158 sec
    [junit] Testcase: test2 took 0.083 sec



PatternLayout:
    [junit] Running org.apache.log4j.PatternLayoutTestCase
    [junit] Tests run: 15, Failures: 0, Errors: 0, Time elapsed: 1.585 sec
    [junit] Testsuite: org.apache.log4j.PatternLayoutTestCase
    [junit] Tests run: 15, Failures: 0, Errors: 0, Time elapsed: 1.585 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.482 sec
    [junit] Testcase: test2 took 0.144 sec
    [junit] Testcase: test3 took 0.076 sec
    [junit] Testcase: test4 took 0.067 sec
    [junit] Testcase: test5 took 0.052 sec
    [junit] Testcase: test6 took 0.125 sec
    [junit] Testcase: test7 took 0.088 sec
    [junit] Testcase: test8 took 0.059 sec
    [junit] Testcase: test9 took 0.058 sec
    [junit] Testcase: test10 took 0.123 sec
    [junit] Testcase: test11 took 0.051 sec
    [junit] Testcase: test12 took 0.049 sec
    [junit] Testcase: test13 took 0.075 sec
    [junit] Testcase: test14 took 0.086 sec
    [junit] Testcase: testMDCAllowAllKeys took 0.044 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.28 sec
    [junit] Testsuite: org.apache.log4j.HierarchyThresholdTestCase
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.28 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.121 sec
    [junit] Testcase: test2 took 0.023 sec
    [junit] Testcase: test3 took 0.028 sec
    [junit] Testcase: test4 took 0.005 sec
    [junit] Testcase: test5 took 0.015 sec
    [junit] Testcase: test6 took 0.037 sec
    [junit] Testcase: test7 took 0.041 sec
    [junit] Testcase: test8 took 0.005 sec



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

    [junit] Testcase: noneTest took 0.199 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: 1.145 sec
    [junit] Testsuite: org.apache.log4j.defaultInit.TestCase2
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.145 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.dtd/log4j.dtd]
    [junit] ------------- ---------------- ---------------

    [junit] Testcase: xmlTest took 1.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.TestCase1
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.159 sec
    [junit] Testsuite: org.apache.log4j.defaultInit.TestCase1
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.159 sec

    [junit] Testcase: noneTest took 0.153 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.336 sec
    [junit] Testsuite: org.apache.log4j.defaultInit.TestCase3
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.336 sec
    [junit] ------------- Standard Output ---------------
    [junit] =======java.text.SimpleDateFormat@98f267e7
    [junit] ------------- ---------------- ---------------

    [junit] Testcase: propertiesTest took 0.332 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: 1.021 sec
    [junit] Testsuite: org.apache.log4j.defaultInit.TestCase4
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.021 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.dtd/log4j.dtd]
    [junit] ------------- ---------------- ---------------

    [junit] Testcase: combinedTest took 1.016 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: 13.154 sec
    [junit] Testsuite: org.apache.log4j.net.SocketServerTestCase
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 13.154 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.345 sec
    [junit] Testcase: test2 took 1.047 sec
    [junit] Testcase: test3 took 1.108 sec
    [junit] Testcase: test4 took 1.425 sec
    [junit] Testcase: test5 took 2.067 sec
    [junit] Testcase: test6 took 2.05 sec
    [junit] Testcase: test7 took 2.048 sec
    [junit] Testcase: test8 took 2.059 sec





XMLLayout:
    [junit] Running org.apache.log4j.xml.XMLLayoutTestCase
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 1.144 sec
    [junit] Testsuite: org.apache.log4j.xml.XMLLayoutTestCase
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 1.144 sec

    [junit] Testcase: basic took 0.928 sec
    [junit] Testcase: locationInfo took 0.096 sec
    [junit] Testcase: testCDATA took 0.025 sec
    [junit] Testcase: testNull took 0.036 sec
    [junit] Testcase: testMDC took 0.055 sec



AsyncAppender:
    [junit] Running org.apache.log4j.AsyncAppenderTestCase
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 22.757 sec
    [junit] Testsuite: org.apache.log4j.AsyncAppenderTestCase
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 22.757 sec
    [junit] ------------- Standard Output ---------------
    [junit] Done loop.
    [junit] ------------- ---------------- ---------------
    [junit] ------------- Standard Error -----------------
    [junit] log4j:ERROR Attempted to append to closed appender named [async-CloseTest].
    [junit] log4j:ERROR Attempted to append to closed appender named [async-test2].
    [junit] log4j:ERROR Attempted to append to closed appender named [async-test3].
    [junit] ------------- ---------------- ---------------

    [junit] Testcase: closeTest took 0.348 sec
    [junit] Testcase: test2 took 0.102 sec
    [junit] Testcase: test3 took 22.302 sec



ErrorHandler:
    [junit] Running org.apache.log4j.varia.ErrorHandlerTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.441 sec
    [junit] Testsuite: org.apache.log4j.varia.ErrorHandlerTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.441 sec
    [junit] ------------- Standard Output ---------------
    [junit] log4j: Threshold ="null".
    [junit] log4j: Level value for root is  [debug].
    [junit] log4j: root level set to DEBUG
    [junit] log4j: Class name: [org.apache.log4j.FileAppender]
    [junit] log4j: FB: Setting primary appender to [PRIMARY].
    [junit] log4j: FB: Adding logger [root].
    [junit] log4j: Class name: [org.apache.log4j.FileAppender]
    [junit] log4j: Setting property [file] to [output/temp].
    [junit] log4j: Setting property [append] to [false].
    [junit] log4j-internal: 1 xml.DOMConfigurator    - Handling nested <layout> for
appender FALLBACK
    [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: 3 xml.DOMConfigurator    - Configuring parameter [ConversionPattern]
for <layout>.
    [junit] log4j: Setting property [conversionPattern] to [FALLBACK - %c - %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, false
    [junit] log4j: setFile ended
    [junit] log4j: FB: Setting backup appender to [FALLBACK].
    [junit] log4j: Setting property [file] to [/xyz/x.log].
    [junit] log4j: Setting property [append] to [false].
    [junit] log4j-internal: 12 xml.DOMConfigurator    - Handling nested <layout> for
appender PRIMARY
    [junit] log4j-internal: 13 config.PropertySetter  - Found setter method for property [layout]
in class org.apache.log4j.FileAppender
    [junit] log4j-internal: 13 xml.DOMConfigurator    - Will instantiate instance of class
[org.apache.log4j.PatternLayout]
    [junit] log4j-internal: 14 xml.DOMConfigurator    - Configuring parameter [ConversionPattern]
for <layout>.
    [junit] log4j: Setting property [conversionPattern] to [%-5p %c{2} - %m%n].
    [junit] log4j-internal: 14 config.PropertySetter  - Set child component of type [org.apache.log4j.PatternLayout]
for [org.apache.log4j.FileAppender].
    [junit] log4j: setFile called: /xyz/x.log, false
    [junit] xx/xyz/x.log
    [junit] log4j: FB: The following error reported: setFile(/xyz/x.log,false) call failed.
    [junit] java.io.FileNotFoundException: /xyz/x.log (No such file or directory)
    [junit] 	at java.io.FileOutputStream.open(Native Method)
    [junit] 	at java.io.FileOutputStream.<init>(FileOutputStream.java:176)
    [junit] 	at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
    [junit] 	at org.apache.log4j.FileAppender.setFile(FileAppender.java:297)
    [junit] 	at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:185)
    [junit] 	at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:359)
    [junit] 	at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:261)
    [junit] 	at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:188)
    [junit] 	at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:203)
    [junit] 	at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:532)
    [junit] 	at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:505)
    [junit] 	at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:892)
    [junit] 	at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:782)
    [junit] 	at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:731)
    [junit] 	at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:701)
    [junit] 	at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:801)
    [junit] 	at org.apache.log4j.varia.ErrorHandlerTestCase.test1(ErrorHandlerTestCase.java:95)
    [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] 	at java.lang.reflect.Method.invoke(Method.java:324)
    [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:316)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:538)
    [junit] log4j: FB: INITIATING FALLBACK PROCEDURE.
    [junit] log4j: FB: Searching for [PRIMARY] in logger [root].
    [junit] log4j: FB: Replacing [PRIMARY] by [FALLBACK] in logger [root].
    [junit] log4j: FB: Adding appender [FALLBACK] to logger root
    [junit] log4j: Adding appender named [PRIMARY] to category [root].
    [junit] ------------- ---------------- ---------------
    [junit] ------------- Standard Error -----------------
    [junit] piblicID: [null]
    [junit] systemId: [dummy://log4j.dtd/log4j.dtd]
    [junit] ------------- ---------------- ---------------

    [junit] Testcase: test1 took 1.435 sec



OptionConverter:
    [junit] Running org.apache.log4j.helpers.OptionConverterTestCase
    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.055 secnullTestsuite: org.apache.log4j.helpers.OptionConverterTestCasenullTests
run: 10, Failures: 0, Errors: 0, Time elapsed: 0.055 secnull------------- Standard Output
---------------nullResult is [x1].
    [junit] ------------- ---------------- ---------------null------------- Standard Error
-----------------nulllog4j:WARN custom level class [org.apache.log4j.xml.TOTO] not found.
    [junit] ------------- ---------------- ---------------nullnullTestcase: varSubstTest5
took 0.018 sec
    [junit] Testcase: varSubstTest1 took 0 sec
    [junit] Testcase: varSubstTest2 took 0.001 sec
    [junit] Testcase: varSubstTest3 took 0 sec
    [junit] Testcase: varSubstTest4 took 0 sec
    [junit] Testcase: toLevelTest1 took 0.015 sec
    [junit] Testcase: toLevelTest2 took 0.011 sec
    [junit] Testcase: toLevelTest3 took 0 sec
    [junit] Testcase: toLevelTest4 took 0 sec
    [junit] Testcase: toLevelTest5 took 0.003 sec



BoundedFIFO:
    [junit] Running org.apache.log4j.helpers.BoundedFIFOTestCase
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.1 sec
    [junit] Testsuite: org.apache.log4j.helpers.BoundedFIFOTestCase
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.1 sec

    [junit] Testcase: test1 took 0.056 sec
    [junit] Testcase: test2 took 0 sec
    [junit] Testcase: testResize1 took 0.003 sec
    [junit] Testcase: testResize2 took 0.024 sec
    [junit] Testcase: testResize3 took 0.012 sec



CyclicBuffer:
    [junit] Running org.apache.log4j.helpers.CyclicBufferTestCase
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.057 sec
    [junit] Testsuite: org.apache.log4j.helpers.CyclicBufferTestCase
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.057 sec

    [junit] Testcase: test0 took 0.009 sec
    [junit] Testcase: test1 took 0.04 sec
    [junit] Testcase: testResize took 0.004 sec



OR:
    [junit] Running org.apache.log4j.or.ORTestCase
    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.048 sec
    [junit] Testsuite: org.apache.log4j.or.ORTestCase
    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.048 sec

    [junit] Testcase: test1 took 0.019 sec
    [junit] Testcase: test2 took 0 sec
    [junit] Testcase: test3 took 0.001 sec
    [junit] Testcase: test4 took 0 sec
    [junit] Testcase: test5 took 0 sec
    [junit] Testcase: test6 took 0.007 sec
    [junit] Testcase: test7 took 0 sec
    [junit] Testcase: test8 took 0 sec
    [junit] Testcase: test9 took 0.015 sec
    [junit] Testcase: test10 took 0 sec



VariaLevelMatchFilter:
    [junit] Running org.apache.log4j.varia.LevelMatchFilterTestCase
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.238 sec
    [junit] Testsuite: org.apache.log4j.varia.LevelMatchFilterTestCase
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.238 sec

    [junit] Testcase: accept took 0.224 sec
    [junit] Testcase: deny took 0.01 sec



VariaLevelRangeFilter:
    [junit] Running org.apache.log4j.varia.LevelRangeFilterTestCase
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.236 sec
    [junit] Testsuite: org.apache.log4j.varia.LevelRangeFilterTestCase
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.236 sec

    [junit] Testcase: accept took 0.221 sec
    [junit] Testcase: neutral took 0.01 sec



PatternParser:
    [junit] Running org.apache.log4j.helpers.PatternParserTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.262 sec
    [junit] Testsuite: org.apache.log4j.helpers.PatternParserTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.262 sec

    [junit] Testcase: mdcPattern took 0.258 sec



LevelMatchFilter:
    [junit] Running org.apache.log4j.varia.LevelMatchFilterTestCase
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.226 sec
    [junit] Testsuite: org.apache.log4j.varia.LevelMatchFilterTestCase
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.226 sec

    [junit] Testcase: accept took 0.211 sec
    [junit] Testcase: deny took 0.009 sec



DRFA:
    [junit] Running org.apache.log4j.DRFATestCase
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 7.474 sec
    [junit] Testsuite: org.apache.log4j.DRFATestCase
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 7.474 sec
    [junit] ------------- Standard Output ---------------
    [junit] Month = 1
    [junit] Month = 3
    [junit] Month = 5
    [junit] Month = 7
    [junit] Month = 8
    [junit] Month = 10
    [junit] Month = 12
    [junit] Month = 3
    [junit] Month = 10
    [junit] Month = 1
    [junit] Month = 5
    [junit] Month = 7
    [junit] Month = 8
    [junit] Month = 12
    [junit] ------------- ---------------- ---------------

    [junit] Testcase: testComputeCheckPeriod took 0.29 sec
    [junit] Testcase: testRC1 took 0.167 sec
    [junit] Testcase: testRC2 took 3.372 sec
    [junit] Testcase: testRC3 took 3.641 sec



Plugins:
    [junit] Running org.apache.log4j.plugins.PluginTestCase
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.243 sec
    [junit] Testsuite: org.apache.log4j.plugins.PluginTestCase
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.243 sec

    [junit] Testcase: test1 took 0.228 sec
    [junit] Testcase: test2 took 0.011 sec



SizeBasedRolling:
    [junit] Running org.apache.log4j.rolling.SizeBasedRollingTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 25.503 sec
    [junit] Testsuite: org.apache.log4j.rolling.SizeBasedRollingTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 25.503 sec
    [junit] ------------- Standard Output ---------------
    [junit] Active log file name: output/sizeBased-test2
    [junit] Hello   0
    [junit] Hello   1
    [junit] Hello   2
    [junit] Hello   3
    [junit] Hello   4
    [junit] Hello   5
    [junit] Hello   6
    [junit] Hello   7
    [junit] Hello   8
    [junit] Hello   9
    [junit] Hello  10
    [junit] About to rollover
    [junit] Renaming file [output/sizeBased-test2] to [output/sizeBased-test2.1]
    [junit] Active file name is now [output/sizeBased-test2].
    [junit] Hello  11
    [junit] Hello  12
    [junit] Hello  13
    [junit] Hello  14
    [junit] Hello  15
    [junit] Hello  16
    [junit] Hello  17
    [junit] Hello  18
    [junit] Hello  19
    [junit] Hello  20
    [junit] About to rollover
    [junit] Renaming file [output/sizeBased-test2.1] to [output/sizeBased-test2.2]
    [junit] Renaming file [output/sizeBased-test2] to [output/sizeBased-test2.1]
    [junit] Active file name is now [output/sizeBased-test2].
    [junit] Hello  21
    [junit] Hello  22
    [junit] Hello  23
    [junit] Hello  24
    [junit] ------------- ---------------- ---------------

    [junit] Testcase: test2 took 25.499 sec



Compress:
    [junit] Running org.apache.log4j.rolling.helpers.CompressTestCase
    [junit] Tests run: 3, Failures: 0, Errors: 2, Time elapsed: 0.264 sec
    [junit] Testsuite: org.apache.log4j.rolling.helpers.CompressTestCase
    [junit] Tests run: 3, Failures: 0, Errors: 2, Time elapsed: 0.264 sec
    [junit] ------------- Standard Output ---------------
    [junit] 0 [main] WARN org.apache.log4j.rolling.helpers.Compress null - The file to compress
named [input/compress1.txt] does not exist.
    [junit] 25 [main] WARN org.apache.log4j.rolling.helpers.Compress null - The file to compress
named [input/compress2.txt] does not exist.
    [junit] 32 [main] WARN org.apache.log4j.rolling.helpers.Compress null - The file to compress
named [input/compress3.txt] does not exist.
    [junit] ------------- ---------------- ---------------

    [junit] Testcase: test1 took 0.247 sec
    [junit] 	Caused an ERROR
    [junit] output/compress1.txt.gz (No such file or directory)
    [junit] java.io.FileNotFoundException: output/compress1.txt.gz (No such file or directory)
    [junit] 	at java.io.FileInputStream.open(Native Method)
    [junit] 	at java.io.FileInputStream.<init>(FileInputStream.java:103)
    [junit] 	at java.io.FileInputStream.<init>(FileInputStream.java:66)
    [junit] 	at org.apache.log4j.util.Compare.gzCompare(Compare.java:138)
    [junit] 	at org.apache.log4j.rolling.helpers.CompressTestCase.test1(CompressTestCase.java:83)
    [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: test1Testcase: test2 took 0.001 sec
    [junit] 	Caused an ERROR
    [junit] output/compress2.txt.gz (No such file or directory)
    [junit] java.io.FileNotFoundException: output/compress2.txt.gz (No such file or directory)
    [junit] 	at java.io.FileInputStream.open(Native Method)
    [junit] 	at java.io.FileInputStream.<init>(FileInputStream.java:103)
    [junit] 	at java.io.FileInputStream.<init>(FileInputStream.java:66)
    [junit] 	at org.apache.log4j.util.Compare.gzCompare(Compare.java:138)
    [junit] 	at org.apache.log4j.rolling.helpers.CompressTestCase.test2(CompressTestCase.java:89)
    [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: test2Testcase: test3 took 0.002 sec



BUILD FAILED
/home/rubys/jakarta/jakarta-log4j/tests/build.xml:398: Test org.apache.log4j.rolling.helpers.CompressTestCase
failed

Total time: 1 minute 52 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