Details
- State: Success
- For: Project: logging-log4j-12-tests
- Working Directory: /srv/gump/public/workspace/logging-log4j-12/tests
- Output: /srv/gump/public/workspace/tmp/build_logging-log4j-12_logging-log4j-12-tests.txt
- Exit Code: 0
- Start Time: Sun, 05 Oct 2008 17:19:52 (PDT)
- End Time: Sun, 05 Oct 2008 17:23:05 (PDT)
- Elapsed Time: 3 mins 13 secs
Parameters
| Prefix |
Name |
Value |
| -D |
java.awt.headless |
true |
| -X |
bootclasspath/p |
:/srv/gump/public/workspace/xml-xerces2/build/xercesImpl.jar |
|
org.apache.tools.ant.Main |
|
| -D |
gump.merge |
/srv/gump/public/gump/work/merge.xml |
| -D |
build.sysclasspath |
only |
|
regression |
|
Environment Overrides
| Name |
Value |
| CLASSPATH |
:/usr/lib/jvm/java-1.5.0-sun/lib/tools.jar
/srv/gump/public/workspace/logging-log4j-12/dist/classes
/srv/gump/public/workspace/logging-log4j-12/tests/classes
/srv/gump/public/workspace/logging-log4j-12/tests/resources
/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar
/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar
/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar
/srv/gump/public/workspace/ant/dist/lib/ant-trax.jar
/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar
/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar
/srv/gump/public/workspace/ant/dist/lib/ant-nodeps.jar
/srv/gump/public/workspace/ant/dist/lib/ant.jar
/srv/gump/packages/junit3.8.1/junit.jar
/srv/gump/public/workspace/logging-log4j-12/dist/lib/log4j-05102008.jar
/srv/gump/public/workspace/jakarta-oro/jakarta-oro-05102008.jar
/srv/gump/packages/javamail-1.4/mail.jar
/srv/gump/packages/javamail-1.4/lib/mailapi.jar
/srv/gump/packages/jaf-1.1ea/activation.jar |
Command Line
/usr/lib/jvm/java-1.5.0-sun/bin/java -Djava.awt.headless=true
-Xbootclasspath/p:/srv/gump/public/workspace/xml-xerces2/build/xercesImpl.jar
org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml
-Dbuild.sysclasspath=only regression Output
Buildfile: /srv/gump/public/workspace/logging-log4j-12/tests/build.xml
parentBuild:
init:
build.core:
init:
jaxpCheck:
jaxp:
[echo] JAXP present.
build.xml:
prepare:
[mkdir] Created dir: /srv/gump/public/workspace/logging-log4j-12/tests/output
build:
[javac] Compiling 72 source files to /srv/gump/public/workspace/logging-log4j-12/tests/classes
Core:
[junit] Running org.apache.log4j.CoreTestSuite
[junit] Testsuite: org.apache.log4j.CoreTestSuite
[junit] Tests run: 209, Failures: 0, Errors: 0, Time elapsed: 3.57 sec
[junit] Tests run: 209, Failures: 0, Errors: 0, Time elapsed: 3.57 sec
[junit] ------------- Standard Error -----------------
[junit] log4j:ERROR Could not read configuration file [output/badescape.properties].
[junit] java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
[junit] at java.util.Properties.loadConvert(Properties.java:492)
[junit] at java.util.Properties.load(Properties.java:331)
[junit] at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:340)
[junit] at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:370)
[junit] at org.apache.log4j.PropertyConfiguratorTest.testBadUnicodeEscape(PropertyConfiguratorTest.java:55)
[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:585)
[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 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:423)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:923)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:780)
[junit] log4j:ERROR Ignoring configuration file [output/badescape.properties].
[junit] log4j:ERROR Could not read configuration file from URL [file:/srv/gump/public/workspace/logging-log4j-12/tests/output/urlbadescape.properties].
[junit] java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
[junit] at java.util.Properties.loadConvert(Properties.java:492)
[junit] at java.util.Properties.load(Properties.java:331)
[junit] at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:488)
[junit] at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:382)
[junit] at org.apache.log4j.PropertyConfiguratorTest.testURLBadEscape(PropertyConfiguratorTest.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] at java.lang.reflect.Method.invoke(Method.java:585)
[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 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:423)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:923)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:780)
[junit] log4j:ERROR Ignoring configuration file [file:/srv/gump/public/workspace/logging-log4j-12/tests/output/urlbadescape.properties].
[junit] ------------- ---------------- ---------------
[junit]
[junit] Testcase: testSerializationSimple took 0.259 sec
[junit] Testcase: testSerializationWithException took 0.032 sec
[junit] Testcase: testSerializationWithLocation took 0.016 sec
[junit] Testcase: testSerializationNDC took 0.014 sec
[junit] Testcase: testSerializationMDC took 0.03 sec
[junit] Testcase: testDeserializationSimple took 0.005 sec
[junit] Testcase: testDeserializationWithException took 0.006 sec
[junit] Testcase: testDeserializationWithLocation took 0.002 sec
[junit] Testcase: testFQNOfCategoryClass took 0.001 sec
[junit] Testcase: testLevel took 0 sec
[junit] Testcase: testLocationInfoNoFQCN took 0.001 sec
[junit] Testcase: testBadMessage took 0.001 sec
[junit] Testcase: testSerializeINFO took 0.003 sec
[junit] Testcase: testDeserializeINFO took 0.001 sec
[junit] Testcase: testCustomLevelSerialization took 0.003 sec
[junit] Testcase: testTraceInt took 0.001 sec
[junit] Testcase: testTrace took 0 sec
[junit] Testcase: testIntToTrace took 0 sec
[junit] Testcase: testStringToTrace took 0.003 sec
[junit] Testcase: testLevelExtendsPriority took 0 sec
[junit] Testcase: testOFF took 0 sec
[junit] Testcase: testFATAL took 0 sec
[junit] Testcase: testERROR took 0.002 sec
[junit] Testcase: testWARN took 0 sec
[junit] Testcase: testINFO took 0 sec
[junit] Testcase: testDEBUG took 0 sec
[junit] Testcase: testTRACE took 0 sec
[junit] Testcase: testALL took 0.001 sec
[junit] Testcase: testSerialVersionUID took 0 sec
[junit] Testcase: testIntToAll took 0 sec
[junit] Testcase: testIntToFatal took 0.001 sec
[junit] Testcase: testIntToOff took 0 sec
[junit] Testcase: testToLevelUnrecognizedInt took 0.001 sec
[junit] Testcase: testToLevelNull took 0.001 sec
[junit] Testcase: testDotlessLowerI took 0.003 sec
[junit] Testcase: testDottedLowerI took 0.002 sec
[junit] Testcase: testERROR took 0 sec
[junit] Testcase: testWARN took 0.001 sec
[junit] Testcase: testINFO took 0 sec
[junit] Testcase: testDEBUG took 0 sec
[junit] Testcase: testDotlessLowerI took 0.001 sec
[junit] Testcase: testDottedLowerI took 0 sec
[junit] Testcase: testOffInt took 0 sec
[junit] Testcase: testFatalInt took 0.001 sec
[junit] Testcase: testErrorInt took 0 sec
[junit] Testcase: testWarnInt took 0 sec
[junit] Testcase: testInfoInt took 0 sec
[junit] Testcase: testDebugInt took 0 sec
[junit] Testcase: testAllInt took 0.001 sec
[junit] Testcase: testFatal took 0 sec
[junit] Testcase: testEqualsNull took 0 sec
[junit] Testcase: testEqualsLevel took 0.001 sec
[junit] Testcase: testGetAllPossiblePriorities took 0 sec
[junit] Testcase: testToPriorityString took 0 sec
[junit] Testcase: testToPriorityInt took 0 sec
[junit] Testcase: testToPriorityStringPriority took 0 sec
[junit] Testcase: testToPriorityIntPriority took 0 sec
[junit] Testcase: testForcedLog took 0.113 sec
[junit] Testcase: testGetChainedPriorityReturnType took 0.001 sec
[junit] Testcase: testL7dlog took 0.001 sec
[junit] Testcase: testL7dlog4Param took 0.001 sec
[junit] Testcase: testSetPriority took 0 sec
[junit] Testcase: testDirectoryCreation took 0.011 sec
[junit] Testcase: testGetThresholdReturnType took 0.003 sec
[junit] Testcase: testgetSetThreshold took 0 sec
[junit] Testcase: testIsAsSevereAsThreshold took 0 sec
[junit] Testcase: testDefaultConfigurationFile took 0 sec
[junit] Testcase: testDefaultXmlConfigurationFile took 0 sec
[junit] Testcase: testDefaultConfigurationKey took 0 sec
[junit] Testcase: testConfiguratorClassKey took 0 sec
[junit] Testcase: testDefaultInitOverrideKey took 0 sec
[junit] Testcase: testDebugKey took 0.001 sec
[junit] Testcase: testConfigDebugKey took 0 sec
[junit] Testcase: testLineSep took 0 sec
[junit] Testcase: testLineSepLen took 0 sec
[junit] Testcase: testGetContentType took 0 sec
[junit] Testcase: testIgnoresThrowable took 0 sec
[junit] Testcase: testGetHeader took 0 sec
[junit] Testcase: testGetFooter took 0 sec
[junit] Testcase: testFormat took 0 sec
[junit] Testcase: testNullDateFormat took 0 sec
[junit] Testcase: testRelativeTimeDateFormat took 0 sec
[junit] Testcase: testDateFormatOption took 0 sec
[junit] Testcase: testTimeZoneOption took 0 sec
[junit] Testcase: testGetOptionStrings took 0.002 sec
[junit] Testcase: testSetOptionDateFormat took 0 sec
[junit] Testcase: testSetOptionTimeZone took 0 sec
[junit] Testcase: testSetDateFormat took 0.017 sec
[junit] Testcase: testSetTimeZone took 0 sec
[junit] Testcase: testSetDateFormatNull took 0 sec
[junit] Testcase: testSetDateFormatNullString took 0 sec
[junit] Testcase: testSetDateFormatRelative took 0.001 sec
[junit] Testcase: testSetDateFormatAbsolute took 0 sec
[junit] Testcase: testSetDateFormatDateTime took 0.011 sec
[junit] Testcase: testSetDateFormatISO8601 took 0 sec
[junit] Testcase: testSetDateFormatSimple took 0.001 sec
[junit] Testcase: testActivateOptions took 0.001 sec
[junit] Testcase: testSetDateFormatWithFormat took 0 sec
[junit] Testcase: testISO8601Format took 0 sec
[junit] Testcase: testDateTimeFormat took 0.001 sec
[junit] Testcase: testLineSep took 0.001 sec
[junit] Testcase: testLineSepLen took 0 sec
[junit] Testcase: testGetContentType took 0 sec
[junit] Testcase: testIgnoresThrowable took 0 sec
[junit] Testcase: testGetHeader took 0 sec
[junit] Testcase: testGetFooter took 0 sec
[junit] Testcase: testFormat took 0 sec
[junit] Testcase: testFormat took 0.001 sec
[junit] Testcase: testGetSetThreadPrinting took 0 sec
[junit] Testcase: testGetSetCategoryPrefixing took 0 sec
[junit] Testcase: testGetSetContextPrinting took 0 sec
[junit] Testcase: testNullDateFormat took 0 sec
[junit] Testcase: testRelativeTimeDateFormat took 0 sec
[junit] Testcase: testDateFormatOption took 0 sec
[junit] Testcase: testTimeZoneOption took 0 sec
[junit] Testcase: testGetOptionStrings took 0.001 sec
[junit] Testcase: testSetOptionDateFormat took 0 sec
[junit] Testcase: testSetOptionTimeZone took 0 sec
[junit] Testcase: testSetDateFormat took 0.001 sec
[junit] Testcase: testSetTimeZone took 0 sec
[junit] Testcase: testSetDateFormatNull took 0 sec
[junit] Testcase: testSetDateFormatNullString took 0 sec
[junit] Testcase: testSetDateFormatRelative took 0 sec
[junit] Testcase: testSetDateFormatAbsolute took 0 sec
[junit] Testcase: testSetDateFormatDateTime took 0 sec
[junit] Testcase: testSetDateFormatISO8601 took 0 sec
[junit] Testcase: testSetDateFormatSimple took 0 sec
[junit] Testcase: testActivateOptions took 0.001 sec
[junit] Testcase: testSetDateFormatWithFormat took 0.001 sec
[junit] Testcase: testISO8601Format took 0 sec
[junit] Testcase: testDateTimeFormat took 0.001 sec
[junit] Testcase: testLineSep took 0 sec
[junit] Testcase: testLineSepLen took 0 sec
[junit] Testcase: testGetContentType took 0 sec
[junit] Testcase: testIgnoresThrowable took 0 sec
[junit] Testcase: testGetHeader took 0 sec
[junit] Testcase: testGetFooter took 0 sec
[junit] Testcase: testFormat took 0.063 sec
[junit] Testcase: testActivateOptions took 0 sec
[junit] Testcase: testFormatWithException took 0.008 sec
[junit] Testcase: testFormatWithNDC took 0.011 sec
[junit] Testcase: testGetSetLocationInfo took 0.001 sec
[junit] Testcase: testProblemCharacters took 0.016 sec
[junit] Testcase: testNDCWithCDATA took 0.007 sec
[junit] Testcase: testExceptionWithCDATA took 0.015 sec
[junit] Testcase: testLineSep took 0 sec
[junit] Testcase: testLineSepLen took 0 sec
[junit] Testcase: testGetContentType took 0 sec
[junit] Testcase: testIgnoresThrowable took 0 sec
[junit] Testcase: testGetHeader took 0 sec
[junit] Testcase: testGetFooter took 0.001 sec
[junit] Testcase: testGetHeader took 0.004 sec
[junit] Testcase: testGetFooter took 0.001 sec
[junit] Testcase: testFormat took 0.008 sec
[junit] Testcase: testActivateOptions took 0 sec
[junit] Testcase: testGetSetLocationInfo took 0 sec
[junit] Testcase: testProblemCharacters took 0.025 sec
[junit] Testcase: testGetHeaderWithLocation took 0.002 sec
[junit] Testcase: testGetSetTitle took 0 sec
[junit] Testcase: testFormatResize took 0.002 sec
[junit] Testcase: testLineSep took 0.001 sec
[junit] Testcase: testLineSepLen took 0 sec
[junit] Testcase: testGetContentType took 0 sec
[junit] Testcase: testIgnoresThrowable took 0 sec
[junit] Testcase: testFormat took 0 sec
[junit] Testcase: testFormatResize took 0.004 sec
[junit] Testcase: testGetPatternFormat took 0 sec
[junit] Testcase: testDefaultConversionPattern took 0.002 sec
[junit] Testcase: testTTCCConversionPattern took 0.001 sec
[junit] Testcase: testLineSep took 0.002 sec
[junit] Testcase: testLineSepLen took 0 sec
[junit] Testcase: testGetContentType took 0 sec
[junit] Testcase: testIgnoresThrowable took 0 sec
[junit] Testcase: testGetHeader took 0 sec
[junit] Testcase: testGetFooter took 0.005 sec
[junit] Testcase: testSerializationSimple took 0.001 sec
[junit] Testcase: testSerializationWithException took 0.002 sec
[junit] Testcase: testSerializationWithLocation took 0.015 sec
[junit] Testcase: testSerializationNDC took 0.003 sec
[junit] Testcase: testSerializationMDC took 0.001 sec
[junit] Testcase: testDeserializationSimple took 0.006 sec
[junit] Testcase: testDeserializationWithException took 0.005 sec
[junit] Testcase: testDeserializationWithLocation took 0.004 sec
[junit] Testcase: testFQNOfCategoryClass took 0.001 sec
[junit] Testcase: testLevel took 0.004 sec
[junit] Testcase: testLocationInfoNoFQCN took 0 sec
[junit] Testcase: testBadMessage took 0.001 sec
[junit] Testcase: testOverriddenBehavior took 0 sec
[junit] Testcase: testNotOverriddenBehavior took 0.005 sec
[junit] Testcase: testNull took 0.002 sec
[junit] Testcase: testEmpty took 0.001 sec
[junit] Testcase: testLineFeed took 0 sec
[junit] Testcase: testCarriageReturn took 0.001 sec
[junit] Testcase: testParsing took 0 sec
[junit] Testcase: testLineFeedBlank took 0.005 sec
[junit] Testcase: testGetThrowable took 0 sec
[junit] Testcase: testIsolation took 0 sec
[junit] Testcase: testFourParamConstructor took 0 sec
[junit] Testcase: testLocationInfo took 0.002 sec
[junit] Testcase: testBadUnicodeEscape took 0.008 sec
[junit] Testcase: testURL took 0.004 sec
[junit] Testcase: testURLBadEscape took 0.001 sec
[junit] Testcase: testReset took 0.002 sec
[junit] Testcase: testNested took 0.061 sec
[junit] Testcase: testThrowableRenderer took 0.004 sec
[junit] Testcase: testTrigger took 1.078 sec
[junit] Testcase: testIt took 1.435 sec
[junit] Testcase: testDefaultRender took 0.001 sec
[junit] Testcase: testEnhancedRender took 0.025 sec
Minimum:
[junit] Running org.apache.log4j.MinimumTestCase
[junit] Testsuite: org.apache.log4j.MinimumTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.318 sec
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.318 sec
[junit]
[junit] Testcase: simple took 0.209 sec
[junit] Testcase: ttcc took 0.089 sec
Logger:
[junit] Running org.apache.log4j.LoggerTestCase
[junit] Testsuite: org.apache.log4j.LoggerTestCase
[junit] Tests run: 18, Failures: 0, Errors: 0, Time elapsed: 0.437 sec
[junit] Tests run: 18, Failures: 0, Errors: 0, Time elapsed: 0.437 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] log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[junit] ------------- ---------------- ---------------
[junit]
[junit] Testcase: testAppender1 took 0.17 sec
[junit] Testcase: testAppender2 took 0.001 sec
[junit] Testcase: testAdditivity1 took 0.004 sec
[junit] Testcase: testAdditivity2 took 0.001 sec
[junit] Testcase: testAdditivity3 took 0 sec
[junit] Testcase: testDisable1 took 0.001 sec
[junit] Testcase: testRB1 took 0 sec
[junit] Testcase: testRB2 took 0.001 sec
[junit] Testcase: testRB3 took 0.001 sec
[junit] Testcase: testExists took 0.001 sec
[junit] Testcase: testHierarchy1 took 0.001 sec
[junit] Testcase: testTrace took 0.113 sec
[junit] Testcase: testTraceWithException took 0.119 sec
[junit] Testcase: testIsTraceEnabled took 0.001 sec
[junit] Testcase: testAppenderEvent1 took 0.002 sec
[junit] Testcase: testAppenderEvent2 took 0.002 sec
[junit] Testcase: testAppenderEvent3 took 0.001 sec
[junit] Testcase: testAppenderEvent4 took 0.001 sec
DOM:
[junit] Running org.apache.log4j.xml.DOMTestCase
[junit] Testsuite: org.apache.log4j.xml.DOMTestCase
[junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 0.792 sec
[junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 0.792 sec
[junit]
[junit] Testcase: test1 took 0.534 sec
[junit] Testcase: test4 took 0.074 sec
[junit] Testcase: testCategoryFactory1 took 0.045 sec
[junit] Testcase: testCategoryFactory2 took 0.033 sec
[junit] Testcase: testLoggerFactory1 took 0.022 sec
[junit] Testcase: testReset took 0.017 sec
[junit] Testcase: testConfigureAndWatch took 0.024 sec
[junit] Testcase: testOverrideSubst took 0.015 sec
[junit] Testcase: testThrowableRenderer1 took 0.014 sec
CustomLevel:
[junit] Running org.apache.log4j.xml.CustomLevelTestCase
[junit] Testsuite: org.apache.log4j.xml.CustomLevelTestCase
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.371 sec
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.371 sec
[junit] ------------- Standard Output ---------------
[junit] log4j: reset attribute= "false".
[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: Parsing layout of class: "org.apache.log4j.PatternLayout"
[junit] log4j: Setting property [conversionPattern] to [%-5p %c{2} - %m
[junit] ].
[junit] log4j: setFile called: output/temp, false
[junit] log4j: setFile ended
[junit] log4j: Adding appender named [TEMP] to category [root].
Continuation...
[junit] ------------- ---------------- ---------------
[junit]
[junit] Testcase: test1 took 0.281 sec
[junit] Testcase: test2 took 0.031 sec
[junit] Testcase: test3 took 0.024 sec
[junit] Testcase: test4 took 0.024 sec
CustomLogger:
[junit] Running org.apache.log4j.customLogger.XLoggerTestCase
[junit] Testsuite: org.apache.log4j.customLogger.XLoggerTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.294 sec
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.294 sec
[junit] ------------- Standard Output ---------------
[junit] log4j: reset attribute= "false".
[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: Parsing layout of class: "org.apache.log4j.PatternLayout"
[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: Adding filter of type [class org.apache.log4j.varia.LevelMatchFilter] to appender named [TEMP].
[junit] log4j: Adding filter of type [class org.apache.log4j.varia.DenyAllFilter] to appender named [TEMP].
[junit] log4j: setFile called: output/temp, false
[junit] log4j: setFile ended
[junit] log4j: Adding appender named [TEMP] to category [root].
[junit] ------------- ---------------- ---------------
[junit]
[junit] Testcase: test1 took 0.251 sec
[junit] Testcase: test2 took 0.034 sec
HierarchyThreshold:
[delete] Deleting: /srv/gump/public/workspace/logging-log4j-12/tests/output/temp
[junit] Running org.apache.log4j.HierarchyThresholdTestCase
[junit] Testsuite: org.apache.log4j.HierarchyThresholdTestCase
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.131 sec
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.131 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]
[junit] Testcase: test1 took 0.069 sec
[junit] Testcase: test2 took 0.006 sec
[junit] Testcase: test3 took 0.005 sec
[junit] Testcase: test4 took 0.011 sec
[junit] Testcase: test5 took 0.004 sec
[junit] Testcase: test6 took 0.006 sec
[junit] Testcase: test7 took 0.006 sec
[junit] Testcase: test8 took 0.003 sec
DefaultInit:
[junit] Running org.apache.log4j.defaultInit.TestCase1
[junit] Testsuite: org.apache.log4j.defaultInit.TestCase1
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.085 sec
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.085 sec
[junit]
[junit] Testcase: noneTest took 0.079 sec
[copy] Copying 1 file to /srv/gump/public/workspace/logging-log4j-12/tests/classes
[junit] Running org.apache.log4j.defaultInit.TestCase2
[junit] Testsuite: org.apache.log4j.defaultInit.TestCase2
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.239 sec
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.239 sec
[junit] ------------- Standard Output ---------------
[junit] log4j: reset attribute= "false".
[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: Parsing layout of class: "org.apache.log4j.PatternLayout"
[junit] log4j: Setting property [conversionPattern] to [%-5p %c{2} - %m%n].
[junit] log4j: Adding appender named [D1] to category [root].
[junit] ------------- ---------------- ---------------
[junit]
[junit] Testcase: xmlTest took 0.23 sec
[delete] Deleting: /srv/gump/public/workspace/logging-log4j-12/tests/classes/log4j.xml
[copy] Copying 1 file to /srv/gump/public/workspace/logging-log4j-12/tests/classes
[junit] Running org.apache.log4j.defaultInit.TestCase1
[junit] Testsuite: org.apache.log4j.defaultInit.TestCase1
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.026 sec
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.026 sec
[junit]
[junit] Testcase: noneTest took 0.021 sec
[delete] Deleting: /srv/gump/public/workspace/logging-log4j-12/tests/classes/log4j.xml
[copy] Copying 1 file to /srv/gump/public/workspace/logging-log4j-12/tests/classes
[junit] Running org.apache.log4j.defaultInit.TestCase3
[junit] Testsuite: org.apache.log4j.defaultInit.TestCase3
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.174 sec
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.174 sec
[junit]
[junit] Testcase: propertiesTest took 0.169 sec
[delete] Deleting: /srv/gump/public/workspace/logging-log4j-12/tests/classes/log4j.properties
[copy] Copying 1 file to /srv/gump/public/workspace/logging-log4j-12/tests/classes
[copy] Copying 1 file to /srv/gump/public/workspace/logging-log4j-12/tests/classes
[junit] Running org.apache.log4j.defaultInit.TestCase4
[junit] Testsuite: org.apache.log4j.defaultInit.TestCase4
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.256 sec
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.256 sec
[junit] ------------- Standard Output ---------------
[junit] log4j: reset attribute= "false".
[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: Parsing layout of class: "org.apache.log4j.PatternLayout"
[junit] log4j: Setting property [conversionPattern] to [%-5p %c{2} - %m%n].
[junit] log4j: Adding appender named [D1] to category [root].
[junit] ------------- ---------------- ---------------
[junit]
[junit] Testcase: combinedTest took 0.249 sec
[delete] Deleting: /srv/gump/public/workspace/logging-log4j-12/tests/classes/log4j.xml
[delete] Deleting: /srv/gump/public/workspace/logging-log4j-12/tests/classes/log4j.properties
SocketServer:
[junit] Running org.apache.log4j.net.SocketServerTestCase
[junit] Testsuite: org.apache.log4j.net.SocketServerTestCase
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 13.033 sec
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 13.033 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]
[junit] Testcase: test1 took 1.481 sec
[junit] Testcase: test2 took 1.081 sec
[junit] Testcase: test3 took 1.066 sec
[junit] Testcase: test4 took 1.105 sec
[junit] Testcase: test5 took 2.06 sec
[junit] Testcase: test6 took 2.045 sec
[junit] Testcase: test7 took 2.045 sec
[junit] Testcase: test8 took 2.09 sec
XMLLayout:
[junit] Running org.apache.log4j.xml.XMLLayoutTestCase
[junit] Testsuite: org.apache.log4j.xml.XMLLayoutTestCase
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.367 sec
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.367 sec
[junit]
[junit] Testcase: basic took 0.237 sec
[junit] Testcase: locationInfo took 0.051 sec
[junit] Testcase: testCDATA took 0.025 sec
[junit] Testcase: testNull took 0.009 sec
[junit] Testcase: testMDC took 0.018 sec
[junit] Testcase: testMDCEscaped took 0.006 sec
AsyncAppender:
[junit] Running org.apache.log4j.AsyncAppenderTestCase
[junit] Testsuite: org.apache.log4j.AsyncAppenderTestCase
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 27.961 sec
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 27.961 sec
[junit] ------------- Standard Output ---------------
[junit] Done loop.
[junit] ------------- ---------------- ---------------
[junit] ------------- Standard Error -----------------
[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]
[junit] Testcase: test2 took 0.202 sec
[junit] Testcase: test3 took 22.046 sec
[junit] Testcase: testBadAppender took 0.002 sec
[junit] Testcase: testLocationInfoTrue took 2.818 sec
[junit] Testcase: testLocationInfoFalse took 2.769 sec
[junit] Testcase: testMutableMessage took 0.113 sec
OptionConverter:
[junit] Running org.apache.log4j.helpers.OptionConverterTestCase
[junit] Testsuite: org.apache.log4j.helpers.OptionConverterTestCase
[junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.079 secnullTests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.079 sec
[junit] ------------- Standard Output ---------------
[junit] Result is [x1].
[junit] ------------- ---------------- ---------------
[junit] ------------- Standard Error -----------------
[junit] log4j:WARN custom level class [org.apache.log4j.xml.TOTO] not found.
[junit] ------------- ---------------- ---------------
[junit]
[junit] Testcase: varSubstTest5 took 0.006 sec
[junit] Testcase: varSubstTest1 took 0 sec
[junit] Testcase: varSubstTest2 took 0 sec
[junit] Testcase: varSubstTest3 took 0.004 sec
[junit] Testcase: varSubstTest4 took 0.001 sec
[junit] Testcase: toLevelTest1 took 0.003 sec
[junit] Testcase: toLevelTest2 took 0.003 sec
[junit] Testcase: toLevelTest3 took 0 sec
[junit] Testcase: toLevelTest4 took 0 sec
[junit] Testcase: toLevelTest5 took 0.012 sec
BoundedFIFO:
[junit] Running org.apache.log4j.helpers.BoundedFIFOTestCase
[junit] Testsuite: org.apache.log4j.helpers.BoundedFIFOTestCase
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.064 sec
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.064 sec
[junit]
[junit] Testcase: test1 took 0.03 sec
[junit] Testcase: test2 took 0.001 sec
[junit] Testcase: testResize1 took 0.002 sec
[junit] Testcase: testResize2 took 0.016 sec
[junit] Testcase: testResize3 took 0.007 sec
CyclicBuffer:
[junit] Running org.apache.log4j.helpers.CyclicBufferTestCase
[junit] Testsuite: org.apache.log4j.helpers.CyclicBufferTestCase
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.031 sec
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.031 sec
[junit]
[junit] Testcase: test0 took 0.002 sec
[junit] Testcase: test1 took 0.019 sec
[junit] Testcase: testResize took 0.002 sec
OR:
[junit] Running org.apache.log4j.or.ORTestCase
[junit] Testsuite: org.apache.log4j.or.ORTestCase
[junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.057 sec
[junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.057 sec
[junit]
[junit] Testcase: test1 took 0.005 sec
[junit] Testcase: test2 took 0 sec
[junit] Testcase: test3 took 0 sec
[junit] Testcase: test4 took 0.003 sec
[junit] Testcase: test5 took 0 sec
[junit] Testcase: test6 took 0.001 sec
[junit] Testcase: test7 took 0.001 sec
[junit] Testcase: test8 took 0 sec
[junit] Testcase: test9 took 0.002 sec
[junit] Testcase: test10 took 0.001 sec
LevelMatchFilter:
[junit] Running org.apache.log4j.varia.LevelMatchFilterTestCase
[junit] Testsuite: org.apache.log4j.varia.LevelMatchFilterTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.232 sec
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.232 sec
[junit]
[junit] Testcase: accept took 0.163 sec
[junit] Testcase: deny took 0.061 sec
PatternParser:
[junit] Running org.apache.log4j.helpers.PatternParserTestCase
[junit] Testsuite: org.apache.log4j.helpers.PatternParserTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.169 sec
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.169 sec
[junit]
[junit] Testcase: mdcPattern took 0.162 sec
PatternLayout:
[junit] Running org.apache.log4j.PatternLayoutTestCase
[junit] Testsuite: org.apache.log4j.PatternLayoutTestCase
[junit] Tests run: 14, Failures: 0, Errors: 0, Time elapsed: 0.803 sec
[junit] Tests run: 14, Failures: 0, Errors: 0, Time elapsed: 0.803 sec
[junit]
[junit] Testcase: test1 took 0.331 sec
[junit] Testcase: test2 took 0.08 sec
[junit] Testcase: test3 took 0.053 sec
[junit] Testcase: test4 took 0.036 sec
[junit] Testcase: test5 took 0.04 sec
[junit] Testcase: test6 took 0.02 sec
[junit] Testcase: test7 took 0.028 sec
[junit] Testcase: test8 took 0.042 sec
[junit] Testcase: test9 took 0.018 sec
[junit] Testcase: test10 took 0.028 sec
[junit] Testcase: test11 took 0.022 sec
[junit] Testcase: test12 took 0.024 sec
[junit] Testcase: test13 took 0.025 sec
[junit] Testcase: test14 took 0.026 sec
RFA:
[junit] Running org.apache.log4j.RFATestCase
[junit] Testsuite: org.apache.log4j.RFATestCase
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.169 sec
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.169 sec
[junit]
[junit] Testcase: test1 took 0.133 sec
[junit] Testcase: test2 took 0.007 sec
[junit] Testcase: test2ParamConstructor took 0.001 sec
[junit] Testcase: test3ParamConstructor took 0.002 sec
[junit] Testcase: testLockDotOne took 0.01 sec
[junit] Testcase: testLockDotThree took 0.004 sec
ERFA:
[junit] Running org.apache.log4j.varia.ERFATestCase
[junit] Testsuite: org.apache.log4j.varia.ERFATestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.272 sec
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.272 sec
[junit]
[junit] Testcase: testConstructor took 0.087 sec
[junit] Testcase: testRollover took 0.178 sec
DRFA:
[junit] Running org.apache.log4j.DRFATestCase
[junit] Testsuite: org.apache.log4j.DRFATestCase
[junit] Tests run: 15, Failures: 0, Errors: 0, Time elapsed: 120.713 sec
[junit] Tests run: 15, Failures: 0, Errors: 0, Time elapsed: 120.713 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] log4j:WARN Unknown periodicity for appender [null].
[junit] log4j:ERROR Either File or DatePattern options are not set for appender [null].
[junit] ------------- ---------------- ---------------
[junit]
[junit] Testcase: testComputeCheckPeriod took 0.118 sec
[junit] Testcase: testRC1 took 0.165 sec
[junit] Testcase: testRC2 took 4.498 sec
[junit] Testcase: testRC3 took 4.71 sec
[junit] Testcase: testTopOfYear took 0.008 sec
[junit] Testcase: testTopOfMonth took 0.002 sec
[junit] Testcase: testTopOfWeek took 0.001 sec
[junit] Testcase: testTopOfDay took 0.004 sec
[junit] Testcase: testHalfDay took 0.003 sec
[junit] Testcase: testTopOfHour took 0.002 sec
[junit] Testcase: testTopOfMinute took 0.001 sec
[junit] Testcase: testRolloverNoPattern took 0.003 sec
[junit] Testcase: testMinuteRollover took 51.152 sec
[junit] Testcase: testBlockedRollover took 60.003 sec
[junit] Testcase: testWeeklyRollover took 0.001 sec
NTEventLogAppender:
Syslog:
[junit] Running org.apache.log4j.net.SyslogAppenderTest
[junit] Testsuite: org.apache.log4j.net.SyslogAppenderTest
[junit] Tests run: 29, Failures: 0, Errors: 0, Time elapsed: 0.533 sec
[junit] Tests run: 29, Failures: 0, Errors: 0, Time elapsed: 0.533 sec
[junit] ------------- Standard Error -----------------
[junit] "25" is an unknown syslog facility. Defaulting to "USER".
[junit] log4j:ERROR Could not find syslog.example.org. All logging will FAIL.
[junit] java.net.UnknownHostException: syslog.example.org: syslog.example.org
[junit] at java.net.InetAddress.getAllByName0(InetAddress.java:1128)
[junit] at java.net.InetAddress.getAllByName0(InetAddress.java:1098)
[junit] at java.net.InetAddress.getAllByName(InetAddress.java:1061)
[junit] at java.net.InetAddress.getByName(InetAddress.java:958)
[junit] at org.apache.log4j.helpers.SyslogWriter.<init>(SyslogWriter.java:94)
[junit] at org.apache.log4j.net.SyslogAppender.setSyslogHost(SyslogAppender.java:386)
[junit] at org.apache.log4j.net.SyslogAppender.<init>(SyslogAppender.java:142)
[junit] at org.apache.log4j.net.SyslogAppenderTest.testThreeParamConstructor(SyslogAppenderTest.java:104)
[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:585)
[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:423)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:923)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:780)
[junit] [bogus] is an unknown syslog facility. Defaulting to [USER].
[junit] ------------- ---------------- ---------------
[junit]
[junit] Testcase: testDefaultConstructor took 0.161 sec
[junit] Testcase: testTwoParamConstructor took 0.014 sec
Continuation...
[junit] Testcase: testTwoParamConstructorBadFacility took 0.001 sec
[junit] Testcase: testThreeParamConstructor took 0.248 sec
[junit] Testcase: testGetFacilityString took 0.001 sec
[junit] Testcase: testGetFacilityStringUnexpected took 0 sec
[junit] Testcase: testGetFacilityBogus took 0 sec
[junit] Testcase: testGetFacilityNull took 0 sec
[junit] Testcase: testGetFacilitySystemNames took 0.002 sec
[junit] Testcase: testGetFacilityLocalNames took 0 sec
[junit] Testcase: testSetFacilityPrinting took 0.001 sec
[junit] Testcase: testConstants took 0.001 sec
[junit] Testcase: testSetFacilityKern took 0 sec
[junit] Testcase: testSetFacilityNull took 0 sec
[junit] Testcase: testSetFacilityBogus took 0 sec
[junit] Testcase: testSetFacilityAfterActivation took 0.003 sec
[junit] Testcase: testAppendBelowThreshold took 0.004 sec
[junit] Testcase: testAppendNoHost took 0 sec
[junit] Testcase: testAppend took 0.013 sec
[junit] Testcase: testIPv6 took 0.005 sec
[junit] Testcase: testIPv6InBrackets took 0.001 sec
[junit] Testcase: testIPv6AndPort took 0.001 sec
[junit] Testcase: testHostNameAndPort took 0.001 sec
[junit] Testcase: testIPv4AndPort took 0.001 sec
[junit] Testcase: testActualLogging took 0.003 sec
[junit] Testcase: testBadTabbing took 0.002 sec
[junit] Testcase: testHeaderLogging took 0.004 sec
[junit] Testcase: testLayoutHeader took 0.013 sec
[junit] Testcase: testBigPackets took 0.007 sec
Socket:
[junit] Running org.apache.log4j.net.SocketAppenderTest
[junit] Testsuite: org.apache.log4j.net.SocketAppenderTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.263 sec
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.263 sec
[junit] ------------- Standard Output ---------------
[junit] log4j: reset attribute= "false".
[junit] log4j: Threshold ="null".
[junit] log4j: Retreiving an instance of org.apache.log4j.Logger.
[junit] log4j: Setting [SocketAppenderTest] additivity to [true].
[junit] log4j: Class name: [org.apache.log4j.net.SocketAppender]
[junit] log4j: FB: Setting primary appender to [remote].
[junit] log4j: FB: Adding logger [org.apache.log4j.net.SocketAppenderTest].
[junit] log4j: Class name: [org.apache.log4j.net.SocketAppenderTest$LastOnlyAppender]
[junit] log4j: FB: Setting backup appender to [lastOnly].
[junit] log4j: Setting property [remoteHost] to [localhost].
[junit] log4j: Setting property [port] to [8189].
[junit] log4j: Setting property [reconnectionDelay] to [0].
[junit] log4j: FB: The following error reported: Could not connect to remote log4j server at [localhost]. We are not retrying.
[junit] java.net.ConnectException: Connection refused
[junit] at java.net.PlainSocketImpl.socketConnect(Native Method)
[junit] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
[junit] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
[junit] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
[junit] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
[junit] at java.net.Socket.connect(Socket.java:519)
[junit] at java.net.Socket.connect(Socket.java:469)
[junit] at java.net.Socket.<init>(Socket.java:366)
[junit] at java.net.Socket.<init>(Socket.java:208)
[junit] at org.apache.log4j.net.SocketAppender.connect(SocketAppender.java:209)
[junit] at org.apache.log4j.net.SocketAppender.activateOptions(SocketAppender.java:163)
[junit] at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:303)
[junit] at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:294)
[junit] at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:175)
[junit] at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:190)
[junit] at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:522)
[junit] at org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:435)
[junit] at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:994)
[junit] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:862)
[junit] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:754)
[junit] at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:886)
[junit] at org.apache.log4j.net.SocketAppenderTest.setUp(SocketAppenderTest.java:39)
[junit] at junit.framework.TestCase.runBare(TestCase.java:125)
[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:423)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:923)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:780)
[junit] log4j: FB: INITIATING FALLBACK PROCEDURE.
[junit] log4j: FB: Searching for [remote] in logger [org.apache.log4j.net.SocketAppenderTest].
[junit] log4j: FB: Replacing [remote] by [lastOnly] in logger [org.apache.log4j.net.SocketAppenderTest].
[junit] log4j: FB: Adding appender [lastOnly] to logger org.apache.log4j.net.SocketAppenderTest
[junit] log4j: Adding appender named [remote] to category [SocketAppenderTest].
[junit] log4j: Retreiving an instance of org.apache.log4j.Logger.
[junit] log4j: Setting [org.apache.log4j.net.SocketAppenderTestDummy] additivity to [true].
[junit] log4j: Adding appender named [lastOnly] to category [org.apache.log4j.net.SocketAppenderTestDummy].
[junit] ------------- ---------------- ---------------
[junit] ------------- Standard Error -----------------
[junit] log4j:ERROR Could not connect to remote log4j server at [localhost]. We are not retrying.
[junit] ------------- ---------------- ---------------
[junit]
[junit] Testcase: testFallbackErrorHandlerWhenStarting took 0.253 sec
ErrorHandler:
[junit] Running org.apache.log4j.varia.ErrorHandlerTestCase
[junit] Testsuite: org.apache.log4j.varia.ErrorHandlerTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.38 sec
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.38 sec
[junit] ------------- Standard Output ---------------
[junit] log4j: reset attribute= "false".
[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: Parsing layout of class: "org.apache.log4j.PatternLayout"
[junit] log4j: Setting property [conversionPattern] to [FALLBACK - %c - %m%n].
[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: Parsing layout of class: "org.apache.log4j.PatternLayout"
[junit] log4j: Setting property [conversionPattern] to [%-5p %c{2} - %m%n].
[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:179)
[junit] at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
[junit] at org.apache.log4j.FileAppender.setFile(FileAppender.java:288)
[junit] at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:159)
[junit] at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:303)
[junit] at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:294)
[junit] at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:175)
[junit] at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:190)
[junit] at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:522)
[junit] at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:491)
[junit] at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:996)
[junit] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:862)
[junit] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:754)
[junit] at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:886)
[junit] at org.apache.log4j.varia.ErrorHandlerTestCase.test1(ErrorHandlerTestCase.java:64)
[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:585)
[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:423)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:923)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:780)
[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]
[junit] Testcase: test1 took 0.373 sec
regression:
BUILD SUCCESSFUL
Total time: 3 minutes 12 seconds
Last Updated: Sun, 05 Oct 2008 16:00:11 ().