logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: Tests hang
Date Sat, 14 Jun 2014 12:53:34 GMT
Good to know... Thank you. 

Gary

<div>-------- Original message --------</div><div>From: Remko Popma <remko.popma@gmail.com>
</div><div>Date:06/13/2014  23:36  (GMT-05:00) </div><div>To: Log4J
Developers List <log4j-dev@logging.apache.org> </div><div>Subject: Re: Tests
hang </div><div>
</div>FYI, I just built from trunk but I didn't see any issues.


On Sat, Jun 14, 2014 at 6:28 AM, Gary Gregory <garydgregory@gmail.com> wrote:
That does not fix it :-(

Gary


On Fri, Jun 13, 2014 at 1:02 PM, Ralph Goers <ralph.goers@dslextreme.com> wrote:
I take that back. I see that I changed the client type to always be default_failover to fix
LOG4J2-563. Can you try reverting that change in FlumeAvroManager and see if it fixes the
problem? It is just a one liner.

Ralph

On Jun 13, 2014, at 8:49 AM, Gary Gregory <garydgregory@gmail.com> wrote:

Building from Maven hangs and gives me errors. Help!

I cannot commit until I can get a build going.

Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 98.368 sec <<< FAILURE!
- in org.apache.logging.log4j.flume.appender.FlumeEmbeddedAppenderTest
testMultiple(org.apache.logging.log4j.flume.appender.FlumeEmbeddedAppenderTest)  Time elapsed:
34.548 sec  <<< FAILURE!
java.lang.AssertionError: null
        at org.junit.Assert.fail(Assert.java:86)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.junit.Assert.assertNotNull(Assert.java:621)
        at org.junit.Assert.assertNotNull(Assert.java:631)
        at org.apache.logging.log4j.flume.appender.FlumeEmbeddedAppenderTest.testMultiple(FlumeEmbeddedAppenderTest.java:149)

testFailover(org.apache.logging.log4j.flume.appender.FlumeEmbeddedAppenderTest)  Time elapsed:
32.091 sec  <<< FAILURE!
java.lang.AssertionError: null
        at org.junit.Assert.fail(Assert.java:86)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.junit.Assert.assertNotNull(Assert.java:621)
        at org.junit.Assert.assertNotNull(Assert.java:631)
        at org.apache.logging.log4j.flume.appender.FlumeEmbeddedAppenderTest.testFailover(FlumeEmbeddedAppenderTest.java:168)

testLog4Event(org.apache.logging.log4j.flume.appender.FlumeEmbeddedAppenderTest)  Time elapsed:
31.56 sec  <<< FAILURE!
java.lang.AssertionError: null
        at org.junit.Assert.fail(Assert.java:86)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.junit.Assert.assertNotNull(Assert.java:621)
        at org.junit.Assert.assertNotNull(Assert.java:631)
        at org.apache.logging.log4j.flume.appender.FlumeEmbeddedAppenderTest.testLog4Event(FlumeEmbeddedAppenderTest.java:134)

No Event returned
2014-06-13 11:43:57,157 DEBUG Reconfiguration started for context sun.misc.Launcher$AppClassLoader@59c87031
2014-06-13 11:43:57,196 INFO Log4j appears to be running in a Servlet environment, but there's
no log4j-web module available. If you want better web container support, please add the log4j-web
JAR to your web archive or server lib directory
.
2014-06-13 11:43:57,197 DEBUG Jansi is not installed, cannot find org.fusesource.jansi.WindowsAnsiOutputStream
2014-06-13 11:43:57,199 DEBUG Found Plugin Map at file:/C:/vcs/svn/apache/log4j2/trunk-alt/log4j-core/target/classes/META-INF/org/apache/logging/log4j/core/config/plugins/Log4j2Plugins.dat
2014-06-13 11:43:57,202 DEBUG Unregistering MBean org.apache.logging.log4j2:type=sun.misc.Launcher$AppClassLoader@59c87031
2014-06-13 11:43:57,203 DEBUG Unregistering MBean org.apache.logging.log4j2:type=sun.misc.Launcher$AppClassLoader@59c87031,component=StatusLogger
2014-06-13 11:43:57,203 DEBUG Unregistering MBean org.apache.logging.log4j2:type=sun.misc.Launcher$AppClassLoader@59c87031,component=ContextSelector
2014-06-13 11:43:57,203 DEBUG Unregistering MBean org.apache.logging.log4j2:type=sun.misc.Launcher$AppClassLoader@59c87031,component=Loggers,name=EventLogger
2014-06-13 11:43:57,204 DEBUG Unregistering MBean org.apache.logging.log4j2:type=sun.misc.Launcher$AppClassLoader@59c87031,component=Loggers,name=
2014-06-13 11:43:57,204 DEBUG Unregistering MBean org.apache.logging.log4j2:type=sun.misc.Launcher$AppClassLoader@59c87031,component=Appenders,name=STDOUT
2014-06-13 11:43:57,205 DEBUG Registering MBean org.apache.logging.log4j2:type=sun.misc.Launcher$AppClassLoader@59c87031
2014-06-13 11:43:57,205 DEBUG Registering MBean org.apache.logging.log4j2:type=sun.misc.Launcher$AppClassLoader@59c87031,component=StatusLogger
2014-06-13 11:43:57,206 DEBUG Registering MBean org.apache.logging.log4j2:type=sun.misc.Launcher$AppClassLoader@59c87031,component=ContextSelector
2014-06-13 11:43:57,206 DEBUG Registering MBean org.apache.logging.log4j2:type=sun.misc.Launcher$AppClassLoader@59c87031,component=Appenders,name=Console
2014-06-13 11:43:57,206 DEBUG Reconfiguration completed
Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 98.83 sec <<< FAILURE!
- in org.apache.logging.log4j.flume.appender.FlumeEmbeddedAgentTest
testMultiple(org.apache.logging.log4j.flume.appender.FlumeEmbeddedAgentTest)  Time elapsed:
34.894 sec  <<< FAILURE!
java.lang.AssertionError: null
        at org.junit.Assert.fail(Assert.java:86)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.junit.Assert.assertNotNull(Assert.java:621)
        at org.junit.Assert.assertNotNull(Assert.java:631)
        at org.apache.logging.log4j.flume.appender.FlumeEmbeddedAgentTest.testMultiple(FlumeEmbeddedAgentTest.java:149)

testFailover(org.apache.logging.log4j.flume.appender.FlumeEmbeddedAgentTest)  Time elapsed:
32.267 sec  <<< FAILURE!
java.lang.AssertionError: null
        at org.junit.Assert.fail(Assert.java:86)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.junit.Assert.assertNotNull(Assert.java:621)
        at org.junit.Assert.assertNotNull(Assert.java:631)
        at org.apache.logging.log4j.flume.appender.FlumeEmbeddedAgentTest.testFailover(FlumeEmbeddedAgentTest.java:168)

testLog4Event(org.apache.logging.log4j.flume.appender.FlumeEmbeddedAgentTest)  Time elapsed:
31.49 sec  <<< FAILURE!
java.lang.AssertionError: null
        at org.junit.Assert.fail(Assert.java:86)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.junit.Assert.assertNotNull(Assert.java:621)
        at org.junit.Assert.assertNotNull(Assert.java:631)
        at org.apache.logging.log4j.flume.appender.FlumeEmbeddedAgentTest.testLog4Event(FlumeEmbeddedAgentTest.java:134)

No Event returned
No Event returned
No Event returned
No Event returned
No Event returned
No Event returned
No Event returned
No Event returned
No Event returned
No Event returned
No Event returned
No Event returned
No Event returned
No Event returned
No Event returned
No Event returned
No Event returned
No Event returned
No Event returned
No Event returned
No Event returned
No Event returned
No Event returned
No Event returned

... "forever"...  

with:

Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 08:51:28-0500)
Maven home: C:\Java\apache-maven-3.0.5
Java version: 1.7.0_60, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_60\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"

Gary



-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org 
Java Persistence with Hibernate, Second Edition
JUnit in Action, Second Edition
Spring Batch in Action
Blog: http://garygregory.wordpress.com 
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory




-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org 
Java Persistence with Hibernate, Second Edition
JUnit in Action, Second Edition
Spring Batch in Action
Blog: http://garygregory.wordpress.com 
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Mime
View raw message