Can you post the output from the test? I occasionally have gotten failures in the two Flume embedded appenders (interestingly, one always seems to work when the other fails) from Gump but it is impossible to debug those. The SocketAppender sometimes fails in Gump as well - again, I have no idea why.
Ralph On Oct 4, 2012, at 4:39 PM, Gary Gregory wrote: > R: > > OK, I cleaned a that fixed the two failures, now I get a new one! > > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > Running org.apache.logging.log4j.flume.appender.FlumeAppenderTest > Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.269 sec > Running org.apache.logging.log4j.flume.appender.FlumeEmbeddedAgentTest > 2012-10-04 19:23:47,945 WARN No Loggers were configured, using default > 2012-10-04 19:23:48,872 WARN No Loggers were configured, using default > 2012-10-04 19:23:49,832 WARN No Loggers were configured, using default > Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 7.983 sec <<< > FAILURE! > Running org.apache.logging.log4j.flume.appender.FlumeEmbeddedAppenderTest > 2012-10-04 19:23:57,621 [WARN] org.apache.flume.sink.FailoverSinkProcessor > Sink agent1 failed and has been sent to failover list > Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.518 sec > > G > > On Thu, Oct 4, 2012 at 6:24 PM, Ralph Goers <[email protected]> > wrote: > I'm not. I haven't tried on Windows though. But > ExtendedThrowablePatternConverter and RootThrowablePatternConverter only have > one newInstance method so I have no idea why you would see that. Have you > run mvn clean? The method signature did change in one of my recent commits. > > FWIW - that error is coming from PatternParser line 435 if you want to debug > it. > > Ralph > > > > On Oct 4, 2012, at 3:14 PM, Gary Gregory wrote: > >> I am currently seeing: >> >> Running org.apache.logging.log4j.core.pattern.ExtendedThrowableTest >> 2012-10-04 17:51:25,991 ERROR Class class >> org.apache.logging.log4j.core.pattern.ExtendedThrowablePatternConverter >> cannot contain multiple newInstance methods >> 2012-10-04 17:51:25,992 ERROR Unrecognized conversion specifier [xEx] >> starting at position 78 in conversion pattern. >> 2012-10-04 17:51:25,995 WARN Unable to instantiate WindowsAnsiOutputStream >> 2012-10-04 17:51:25,996 ERROR Class class >> org.apache.logging.log4j.core.pattern.ExtendedThrowablePatternConverter >> cannot contain multiple newInstance methods >> 2012-10-04 17:51:25,996 ERROR Unrecognized conversion specifier [xEx] >> starting at position 73 in conversion pattern. >> 2012-10-04 17:51:26,060 WARN Unable to instantiate WindowsAnsiOutputStream >> 2012-10-04 17:51:26,063 WARN No Loggers were configured, using default >> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.422 sec >> <<< FAILURE! >> >> ... >> >> Running org.apache.logging.log4j.core.pattern.RootThrowableTest >> 2012-10-04 17:51:29,743 ERROR Class class >> org.apache.logging.log4j.core.pattern.RootThrowablePatternConverter cannot >> contain multiple newInstance methods >> 2012-10-04 17:51:29,744 ERROR Unrecognized conversion specifier [rEx] >> starting at position 78 in conversion pattern. >> 2012-10-04 17:51:29,747 WARN Unable to instantiate WindowsAnsiOutputStream >> 2012-10-04 17:51:29,748 ERROR Class class >> org.apache.logging.log4j.core.pattern.RootThrowablePatternConverter cannot >> contain multiple newInstance methods >> 2012-10-04 17:51:29,748 ERROR Unrecognized conversion specifier [rEx] >> starting at position 73 in conversion pattern. >> 2012-10-04 17:51:29,808 WARN Unable to instantiate WindowsAnsiOutputStream >> 2012-10-04 17:51:29,811 WARN No Loggers were configured, using default >> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.45 sec <<< >> FAILURE! >> >> Anyone else? >> >> Gary >> -- >> E-Mail: [email protected] | [email protected] >> JUnit in Action, 2nd Ed: http://bit.ly/ECvg0 >> Spring Batch in Action: http://bit.ly/bqpbCK >> Blog: http://garygregory.wordpress.com >> Home: http://garygregory.com/ >> Tweet! http://twitter.com/GaryGregory > > > > > -- > E-Mail: [email protected] | [email protected] > JUnit in Action, 2nd Ed: http://bit.ly/ECvg0 > Spring Batch in Action: http://bit.ly/bqpbCK > Blog: http://garygregory.wordpress.com > Home: http://garygregory.com/ > Tweet! http://twitter.com/GaryGregory
