logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <mwom...@apache.org>
Subject RE: [GUMP] Test Failure
Date Thu, 12 Dec 2002 17:29:30 GMT
This would be me.  I'll look at the cause this evening.  I ran the tests
before checking in, so I am little confused.

Off topic, looking at the gump page...I am humbled by how much gump compiles
and accomplishes every night.  Wow.

-Mark

> -----Original Message-----
> From: Ceki Gülcü [mailto:ceki@apache.org]
> Sent: Thursday, December 12, 2002 5:29 AM
> To: log4j-dev@jakarta.apache.org
> Subject: [GUMP] Test Failure
>
>
> ----------------------------------------------------
> This email is autogenerated from the output from:
> <http://cvs.apache.org/builds/gump/2002-12-12/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:
>
> 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:
>
> build:
>
> prepare:
>     [mkdir] Created dir: /home/rubys/jakarta/jakarta-log4j/tests/output
>
> build:
>     [javac] Compiling 46 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.
>
> cleanOutputDir:
>
> Minimum:
>     [junit] Running org.apache.log4j.MinimumTestCase
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.865 sec
>     [junit] Testsuite: org.apache.log4j.MinimumTestCase
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.865 sec
>
>     [junit] Testcase: simple took 0.756 sec
>     [junit] Testcase: ttcc took 0.104 sec
>
> Logger:
>     [junit] Running org.apache.log4j.LoggerTestCase
>     [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.242 sec
>     [junit] Testsuite: org.apache.log4j.LoggerTestCase
>     [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.242 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.213 sec
>     [junit] Testcase: testAppender2 took 0 sec
>     [junit] Testcase: testAdditivity1 took 0.007 sec
>     [junit] Testcase: testAdditivity2 took 0.002 sec
>     [junit] Testcase: testAdditivity3 took 0.001 sec
>     [junit] Testcase: testDisable1 took 0.008 sec
>     [junit] Testcase: testRB1 took 0.004 sec
>     [junit] Testcase: testRB2 took 0 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: 1.179 sec
>     [junit] Testsuite: org.apache.log4j.xml.DOMTestCase
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.179 sec
>     [junit] ------------- Standard Output ---------------
>     [junit] log4j: xml.DOMConfigurator    - Handling nested
> <layout> for appender A1
>     [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
> <layout> for appender A2
>     [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.TTCCLayout]
>     [junit] log4j: xml.DOMConfigurator    - Configuring parameter
> [DateFormat] for <layout>.
>     [junit] log4j: config.PropertySetter  - Set child component
> of type [org.apache.log4j.TTCCLayout] for [org.apache.log4j.FileAppender].
>     [junit] ------------- ---------------- ---------------
>
>     [junit] Testcase: test1 took 1.173 sec
>
> CustomLevel:
>     [junit] Running org.apache.log4j.xml.CustomLevelTestCase
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.005 sec
>     [junit] Testsuite: org.apache.log4j.xml.CustomLevelTestCase
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.005 sec
>     [junit] ------------- Standard Output ---------------
>     [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
> <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] Testcase: test1 took 0.875 sec
>     [junit] Testcase: test2 took 0.059 sec
>     [junit] Testcase: test3 took 0.02 sec
>     [junit] Testcase: test4 took 0.047 sec
>
> CustomLogger:
>     [junit] Running org.apache.log4j.customLogger.XLoggerTestCase
>     [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] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.898 sec
>     [junit] Testsuite: org.apache.log4j.customLogger.XLoggerTestCase
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.898 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] 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.827 sec
>     [junit] Testcase: test2 took 0.067 sec
>
> PatternLayout:
>     [junit] Running org.apache.log4j.PatternLayoutTestCase
>     [junit] Tests run: 14, Failures: 0, Errors: 0, Time elapsed: 1.102 sec
>     [junit] Testsuite: org.apache.log4j.PatternLayoutTestCase
>     [junit] Tests run: 14, Failures: 0, Errors: 0, Time elapsed: 1.102 sec
>
>     [junit] Testcase: test1 took 0.441 sec
>     [junit] Testcase: test2 took 0.094 sec
>     [junit] Testcase: test3 took 0.077 sec
>     [junit] Testcase: test4 took 0.061 sec
>     [junit] Testcase: test5 took 0.044 sec
>     [junit] Testcase: test6 took 0.062 sec
>     [junit] Testcase: test7 took 0.031 sec
>     [junit] Testcase: test8 took 0.022 sec
>     [junit] Testcase: test9 took 0.039 sec
>     [junit] Testcase: test10 took 0.061 sec
>     [junit] Testcase: test11 took 0.04 sec
>     [junit] Testcase: test12 took 0.048 sec
>     [junit] Testcase: test13 took 0.035 sec
>     [junit] Testcase: test14 took 0.039 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.201 sec
>     [junit] Testsuite: org.apache.log4j.HierarchyThresholdTestCase
>     [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.201 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.117 sec
>     [junit] Testcase: test2 took 0.038 sec
>     [junit] Testcase: test3 took 0.002 sec
>     [junit] Testcase: test4 took 0.007 sec
>     [junit] Testcase: test5 took 0.003 sec
>     [junit] Testcase: test6 took 0.021 sec
>     [junit] Testcase: test7 took 0.004 sec
>     [junit] Testcase: test8 took 0.003 sec
>
> DefaultInit:
>     [junit] Running org.apache.log4j.defaultInit.TestCase1
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.177 sec
>     [junit] Testsuite: org.apache.log4j.defaultInit.TestCase1
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.177 sec
>
>     [junit] Testcase: noneTest took 0.172 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.851 sec
>     [junit] Testsuite: org.apache.log4j.defaultInit.TestCase2
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.851 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] Testcase: xmlTest took 0.846 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.127 sec
>     [junit] Testsuite: org.apache.log4j.defaultInit.TestCase1
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.127 sec
>
>     [junit] Testcase: noneTest took 0.122 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.279 sec
>     [junit] Testsuite: org.apache.log4j.defaultInit.TestCase3
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.279 sec
>
>     [junit] Testcase: propertiesTest took 0.275 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.849 sec
>     [junit] Testsuite: org.apache.log4j.defaultInit.TestCase4
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.849 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] Testcase: combinedTest took 0.844 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.786 sec
>     [junit] Testsuite: org.apache.log4j.net.SocketServerTestCase
>     [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 12.786 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.392 sec
>     [junit] Testcase: test2 took 1.039 sec
>     [junit] Testcase: test3 took 1.094 sec
>     [junit] Testcase: test4 took 1.075 sec
>     [junit] Testcase: test5 took 2.05 sec
>     [junit] Testcase: test6 took 2.042 sec
>     [junit] Testcase: test7 took 2.048 sec
>     [junit] Testcase: test8 took 2.041 sec
>
> XMLLayout:
>     [junit] Running org.apache.log4j.xml.XMLLayoutTestCase
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.462 sec
>     [junit] Testsuite: org.apache.log4j.xml.XMLLayoutTestCase
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.462 sec
>
>     [junit] Testcase: basic took 0.354 sec
>     [junit] Testcase: locationInfo took 0.077 sec
>     [junit] Testcase: testCDATA took 0.025 sec
>
> AsyncAppender:
>     [junit] Running org.apache.log4j.AsyncAppenderTestCase
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 22.408 sec
>     [junit] Testsuite: org.apache.log4j.AsyncAppenderTestCase
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 22.408 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.3 sec
>     [junit] Testcase: test2 took 0.106 sec
>     [junit] Testcase: test3 took 21.997 sec
>
> ErrorHandler:
>     [junit] Running org.apache.log4j.varia.ErrorHandlerTestCase
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.055 sec
>     [junit] Testsuite: org.apache.log4j.varia.ErrorHandlerTestCase
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.055 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: xml.DOMConfigurator    - Handling nested
> <layout> for appender FALLBACK
>     [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
> [FALLBACK - %c - %m%n].
>     [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: FB: Setting backup appender to [FALLBACK].
>     [junit] log4j: Setting property [file] to [/xyz/x.log].
>     [junit] log4j: Setting property [append] to [false].
>     [junit] log4j: xml.DOMConfigurator    - Handling nested
> <layout> for appender PRIMARY
>     [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%n].
>     [junit] log4j: 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] log4j: FB: The following error reported:
> setFile(null,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:272)
>     [junit] 	at
> org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151)
>     [junit] 	at
> org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:359)
>     [junit] 	at
> org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator
> .java:211)
>     [junit] 	at
> org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigu
> rator.java:145)
>     [junit] 	at
> org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMCo
> nfigurator.java:158)
>     [junit] 	at
> org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(
> DOMConfigurator.java:460)
>     [junit] 	at
> org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:430)
>     [junit] 	at
> org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:807)
>     [junit] 	at
> org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:704)
>     [junit] 	at
> org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:647)
>     [junit] 	at
> org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:617)
>     [junit] 	at
> org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:723)
>     [junit] 	at
> org.apache.log4j.varia.ErrorHandlerTestCase.test1(ErrorHandlerTest
> Case.java:53)
>     [junit] 	at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     [junit] 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
> pl.java:39)
>     [junit] 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
> cessorImpl.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(J
> UnitTestRunner.java:323)
>     [junit] 	at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(
> JUnitTestRunner.java:521)
>     [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] Testcase: test1 took 1.049 sec
>
> OptionConverter:
>     [junit] Running org.apache.log4j.helpers.OptionConverterTestCase
>     [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed:
> 0.06 secnullTestsuite:
> org.apache.log4j.helpers.OptionConverterTestCasenullTests run:
> 10, Failures: 0, Errors: 0, Time elapsed: 0.06
> 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.022 sec
>     [junit] Testcase: varSubstTest1 took 0 sec
>     [junit] Testcase: varSubstTest2 took 0 sec
>     [junit] Testcase: varSubstTest3 took 0 sec
>     [junit] Testcase: varSubstTest4 took 0.001 sec
>     [junit] Testcase: toLevelTest1 took 0.015 sec
>     [junit] Testcase: toLevelTest2 took 0.014 sec
>     [junit] Testcase: toLevelTest3 took 0.001 sec
>     [junit] Testcase: toLevelTest4 took 0 sec
>     [junit] Testcase: toLevelTest5 took 0.002 sec
>
> BoundedFIFO:
>     [junit] Running org.apache.log4j.helpers.BoundedFIFOTestCase
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.093 sec
>     [junit] Testsuite: org.apache.log4j.helpers.BoundedFIFOTestCase
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.093 sec
>
>     [junit] Testcase: test1 took 0.05 sec
>     [junit] Testcase: test2 took 0.001 sec
>     [junit] Testcase: testResize1 took 0.003 sec
>     [junit] Testcase: testResize2 took 0.023 sec
>     [junit] Testcase: testResize3 took 0.01 sec
>
> CyclicBuffer:
>     [junit] Running org.apache.log4j.helpers.CyclicBufferTestCase
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.054 sec
>     [junit] Testsuite: org.apache.log4j.helpers.CyclicBufferTestCase
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.054 sec
>
>     [junit] Testcase: test0 took 0.006 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.037 sec
>     [junit] Testsuite: org.apache.log4j.or.ORTestCase
>     [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.037 sec
>
>     [junit] Testcase: test1 took 0.014 sec
>     [junit] Testcase: test2 took 0.001 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.001 sec
>     [junit] Testcase: test9 took 0.005 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.212 sec
>     [junit] Testsuite: org.apache.log4j.varia.LevelMatchFilterTestCase
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.212 sec
>
>     [junit] Testcase: accept took 0.205 sec
>     [junit] Testcase: deny took 0.002 sec
>
> VariaLevelRangeFilter:
>     [junit] Running org.apache.log4j.varia.LevelRangeFilterTestCase
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.202 sec
>     [junit] Testsuite: org.apache.log4j.varia.LevelRangeFilterTestCase
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.202 sec
>
>     [junit] Testcase: accept took 0.189 sec
>     [junit] Testcase: neutral took 0.008 sec
>
> PatternParser:
>     [junit] Running org.apache.log4j.helpers.PatternParserTestCase
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.207 sec
>     [junit] Testsuite: org.apache.log4j.helpers.PatternParserTestCase
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.207 sec
>
>     [junit] Testcase: mdcPattern took 0.203 sec
>
> LevelMatchFilter:
>     [junit] Running org.apache.log4j.varia.LevelMatchFilterTestCase
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.197 sec
>     [junit] Testsuite: org.apache.log4j.varia.LevelMatchFilterTestCase
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.197 sec
>
>     [junit] Testcase: accept took 0.19 sec
>     [junit] Testcase: deny took 0.003 sec
>
> FiltersLevelMatchFilter:
>     [junit] Running org.apache.log4j.filters.LevelMatchFilterTestCase
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.059 sec
>     [junit] Testsuite: org.apache.log4j.filters.LevelMatchFilterTestCase
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.059 sec
>     [junit] ------------- Standard Error -----------------
>     [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.203 sec
>     [junit] Testcase: test2 took 0.002 sec
>     [junit] Testcase: test3 took 0.01 sec
>     [junit] Testcase: test4 took 0.84 sec
>
> DRFA:
>     [junit] Running org.apache.log4j.DRFATestCase
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 6.391 sec
>     [junit] Testsuite: org.apache.log4j.DRFATestCase
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 6.391 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] ------------- Standard Error -----------------
>     [junit] log4j:WARN File option not set for appender
> [testComputeCheckPeriod].
>     [junit] log4j:WARN Are you using FileAppender instead of
> ConsoleAppender?
>     [junit] log4j:ERROR Either File or DatePattern options are
> not set for appender [testComputeCheckPeriod].
>     [junit] ------------- ---------------- ---------------
>
>     [junit] Testcase: testComputeCheckPeriod took 0.136 sec
>     [junit] Testcase: testRC1 took 0.149 sec
>     [junit] Testcase: testRC2 took 2.975 sec
>     [junit] Testcase: testRC3 took 3.116 sec
>
> Plugins:
>     [junit] Running org.apache.log4j.plugins.PluginTestCase
>     [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.229 sec
>     [junit] Testsuite: org.apache.log4j.plugins.PluginTestCase
>     [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.229 sec
>     [junit] ------------- Standard Output ---------------
>     [junit] Files [output/plugins.PluginTestCase.test1.txt] and
> [witness/plugins.PluginTestCase.test1.txt] differ on line 65
>     [junit] One reads:  [DEBUG - plugin plugin1-id1 shutdown].
>     [junit] Other reads:[DEBUG - plugin plugin2-id4 shutdown].
>     [junit] ------------- ---------------- ---------------
>
>     [junit] Testcase: test1 took 0.221 sec
>     [junit] 	FAILED
>     [junit] null
>     [junit] junit.framework.AssertionFailedError
>     [junit] 	at
> org.apache.log4j.plugins.PluginTestCase.test1(PluginTestCase.java:166)
>     [junit] 	at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     [junit] 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
> pl.java:39)
>     [junit] 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
> cessorImpl.java:25)
>
>     [junit] Testcase: test1
>
> BUILD FAILED
> file:///home/rubys/jakarta/jakarta-log4j/tests/build.xml:360:
> Test org.apache.log4j.plugins.PluginTestCase failed
>
> Total time: 1 minute 20 seconds
>
> --
> To unsubscribe, e-mail:
> <mailto:log4j-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:log4j-dev-help@jakarta.apache.org>
>


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


Mime
View raw message