You are viewing a plain text version of this content. The canonical link for it is here.
Posted to alexandria-dev@jakarta.apache.org by mw...@apache.org on 2002/12/17 08:15:55 UTC

FW: [GUMP] Test Failure

Hi,

I am investigating the current failure with log4j during the nightly gump
builds.  Ceki said that I should post to this group, so I hope this is the
right place.

I am able to build log4j and run the log4j test without problems on my
machine.  So, I am confused about the failure in gump.  How can I proceed
with investigating this further?  Is the source code and test files being
used available somewhere on the web so I can take a look at them?  I'm
wondering if they are out-of-sync in some way.

thanks!
-Mark

-----Original Message-----
From: Ceki Gülcü [mailto:ceki@apache.org]
Sent: Monday, December 16, 2002 5:22 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-16/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/LoggerTest
Case.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.439 sec
    [junit] Testsuite: org.apache.log4j.MinimumTestCase
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.439 sec

    [junit] Testcase: simple took 0.328 sec
    [junit] Testcase: ttcc took 0.107 sec

Logger:
    [junit] Running org.apache.log4j.LoggerTestCase
    [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.247 sec
    [junit] Testsuite: org.apache.log4j.LoggerTestCase
    [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.247 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.217 sec
    [junit] Testcase: testAppender2 took 0 sec
    [junit] Testcase: testAdditivity1 took 0.008 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.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.151 sec
    [junit] Testsuite: org.apache.log4j.xml.DOMTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.151 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.145 sec

CustomLevel:
    [junit] Running org.apache.log4j.xml.CustomLevelTestCase
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.016 sec
    [junit] Testsuite: org.apache.log4j.xml.CustomLevelTestCase
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.016 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.874 sec
    [junit] Testcase: test2 took 0.071 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.895 sec
    [junit] Testsuite: org.apache.log4j.customLogger.XLoggerTestCase
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.895 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.824 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.126 sec
    [junit] Testsuite: org.apache.log4j.PatternLayoutTestCase
    [junit] Tests run: 14, Failures: 0, Errors: 0, Time elapsed: 1.126 sec

    [junit] Testcase: test1 took 0.428 sec
    [junit] Testcase: test2 took 0.11 sec
    [junit] Testcase: test3 took 0.077 sec
    [junit] Testcase: test4 took 0.062 sec
    [junit] Testcase: test5 took 0.044 sec
    [junit] Testcase: test6 took 0.063 sec
    [junit] Testcase: test7 took 0.03 sec
    [junit] Testcase: test8 took 0.023 sec
    [junit] Testcase: test9 took 0.04 sec
    [junit] Testcase: test10 took 0.067 sec
    [junit] Testcase: test11 took 0.041 sec
    [junit] Testcase: test12 took 0.048 sec
    [junit] Testcase: test13 took 0.035 sec
    [junit] Testcase: test14 took 0.05 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.211 sec
    [junit] Testsuite: org.apache.log4j.HierarchyThresholdTestCase
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.211 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.039 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.027 sec
    [junit] Testcase: test7 took 0.014 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.176 sec
    [junit] Testsuite: org.apache.log4j.defaultInit.TestCase1
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.176 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.845 sec
    [junit] Testsuite: org.apache.log4j.defaultInit.TestCase2
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.845 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.841 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.129 sec
    [junit] Testsuite: org.apache.log4j.defaultInit.TestCase1
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.129 sec

    [junit] Testcase: noneTest took 0.125 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.278 sec
    [junit] Testsuite: org.apache.log4j.defaultInit.TestCase3
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.278 sec

    [junit] Testcase: propertiesTest took 0.274 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.85 sec
    [junit] Testsuite: org.apache.log4j.defaultInit.TestCase4
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.85 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.845 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.787 sec
    [junit] Testsuite: org.apache.log4j.net.SocketServerTestCase
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 12.787 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.051 sec
    [junit] Testcase: test3 took 1.075 sec
    [junit] Testcase: test4 took 1.067 sec
    [junit] Testcase: test5 took 2.042 sec
    [junit] Testcase: test6 took 2.058 sec
    [junit] Testcase: test7 took 2.048 sec
    [junit] Testcase: test8 took 2.05 sec

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

    [junit] Testcase: basic took 0.386 sec
    [junit] Testcase: locationInfo took 0.086 sec
    [junit] Testcase: testCDATA took 0.021 sec

AsyncAppender:
    [junit] Running org.apache.log4j.AsyncAppenderTestCase
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 22.41 sec
    [junit] Testsuite: org.apache.log4j.AsyncAppenderTestCase
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 22.41 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.301 sec
    [junit] Testcase: test2 took 0.107 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.04 sec
    [junit] Testsuite: org.apache.log4j.varia.ErrorHandlerTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.04 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(DOMConfigurator.java
:145)
    [junit] 	at
org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator
.java:158)
    [junit] 	at
org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigu
rator.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(ErrorHandlerTestCase.java:
53)
    [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(JUnitTestRu
nner.java:323)
    [junit] 	at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestR
unner.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.034 sec

OptionConverter:
    [junit] Running org.apache.log4j.helpers.OptionConverterTestCase
    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.061
secnullTestsuite: org.apache.log4j.helpers.OptionConverterTestCasenullTests
run: 10, Failures: 0, Errors: 0, Time elapsed: 0.061 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.001 sec
    [junit] Testcase: varSubstTest2 took 0.001 sec
    [junit] Testcase: varSubstTest3 took 0.001 sec
    [junit] Testcase: varSubstTest4 took 0 sec
    [junit] Testcase: toLevelTest1 took 0.015 sec
    [junit] Testcase: toLevelTest2 took 0.014 sec
    [junit] Testcase: toLevelTest3 took 0 sec
    [junit] Testcase: toLevelTest4 took 0.001 sec
    [junit] Testcase: toLevelTest5 took 0.001 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.011 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.036 sec
    [junit] Testsuite: org.apache.log4j.or.ORTestCase
    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.036 sec

    [junit] Testcase: test1 took 0.015 sec
    [junit] Testcase: test2 took 0 sec
    [junit] Testcase: test3 took 0 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.001 sec
    [junit] Testcase: test8 took 0.001 sec
    [junit] Testcase: test9 took 0.005 sec
    [junit] Testcase: test10 took 0.001 sec

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

    [junit] Testcase: accept took 0.203 sec
    [junit] Testcase: deny took 0.003 sec

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

    [junit] Testcase: accept took 0.198 sec
    [junit] Testcase: neutral took 0.009 sec

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

    [junit] Testcase: mdcPattern took 0.198 sec

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

    [junit] Testcase: accept took 0.189 sec
    [junit] Testcase: deny took 0.002 sec

FiltersLevelMatchFilter:
    [junit] Running org.apache.log4j.filters.LevelMatchFilterTestCase
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.085 sec
    [junit] Testsuite: org.apache.log4j.filters.LevelMatchFilterTestCase
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.085 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.201 sec
    [junit] Testcase: test2 took 0.003 sec
    [junit] Testcase: test3 took 0.009 sec
    [junit] Testcase: test4 took 0.867 sec

DRFA:
    [junit] Running org.apache.log4j.DRFATestCase
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 6.489 sec
    [junit] Testsuite: org.apache.log4j.DRFATestCase
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 6.489 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.135 sec
    [junit] Testcase: testRC1 took 0.151 sec
    [junit] Testcase: testRC2 took 3.085 sec
    [junit] Testcase: testRC3 took 3.103 sec

Plugins:
    [junit] Running org.apache.log4j.plugins.PluginTestCase
    [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.223 sec
    [junit] Testsuite: org.apache.log4j.plugins.PluginTestCase
    [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.223 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.215 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(NativeMethodAccessorImpl.java:39
)
    [junit] 	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


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


RE: FW: [GUMP] Test Failure

Posted by mw...@apache.org.
Hi Sam,

I'll look at the dependencies, but it is not obvious how a difference there
would affect this particular test.  Is there any way that I can access the
generated test output files to see if there is a clue there?

-Mark

> -----Original Message-----
> From: news [mailto:news@main.gmane.org]On Behalf Of Sam Ruby
> Sent: Tuesday, December 17, 2002 3:07 AM
> To: alexandria-dev@jakarta.apache.org
> Subject: Re: FW: [GUMP] Test Failure
>
>
> mwomack@apache.org wrote:
> >
> > I am investigating the current failure with log4j during the
> nightly gump
> > builds.  Ceki said that I should post to this group, so I hope
> this is the
> > right place.
>
> This is the right place.
>
> > I am able to build log4j and run the log4j test without problems on my
> > machine.  So, I am confused about the failure in gump.  How can
> I proceed
> > with investigating this further?  Is the source code and test
> files being
> > used available somewhere on the web so I can take a look at them?  I'm
> > wondering if they are out-of-sync in some way.
>
> All sources are from cvs.  The key difference is that generally the
> latest version (built from cvs) of every dependency is used.  For
> convenience, there a copy of each is available at
> http://gump.covalent.net/jars/.
>
> The way the build actually operates is that the various jars (in this
> case, ant's, xerces, jms, junit, and javamail) are defined in the
> CLASSPATH, and then the following command is issued (adjust the paths as
> necessary)
>
> java
> -Xbootclasspath/p:/home/rubys/jakarta/ml-xerces2/java/build/xerces
> Impl.jar:/home/rubys/jakarta/xml-xerces2/java/build/xmlParserAPIs.jar
> org.apache.tools.ant.Main -Dbuild.sysclasspath=only -Dversion 20021217
>
> > thanks!
> > -Mark
>
> - Sam Ruby
>
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>


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


Re: FW: [GUMP] Test Failure

Posted by Sam Ruby <ru...@apache.org>.
mwomack@apache.org wrote:
> 
> I am investigating the current failure with log4j during the nightly gump
> builds.  Ceki said that I should post to this group, so I hope this is the
> right place.

This is the right place.

> I am able to build log4j and run the log4j test without problems on my
> machine.  So, I am confused about the failure in gump.  How can I proceed
> with investigating this further?  Is the source code and test files being
> used available somewhere on the web so I can take a look at them?  I'm
> wondering if they are out-of-sync in some way.

All sources are from cvs.  The key difference is that generally the 
latest version (built from cvs) of every dependency is used.  For 
convenience, there a copy of each is available at 
http://gump.covalent.net/jars/.

The way the build actually operates is that the various jars (in this 
case, ant's, xerces, jms, junit, and javamail) are defined in the 
CLASSPATH, and then the following command is issued (adjust the paths as 
necessary)

java 
-Xbootclasspath/p:/home/rubys/jakarta/ml-xerces2/java/build/xercesImpl.jar:/home/rubys/jakarta/xml-xerces2/java/build/xmlParserAPIs.jar 
org.apache.tools.ant.Main -Dbuild.sysclasspath=only -Dversion 20021217

> thanks!
> -Mark

- Sam Ruby




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