logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <ralph.go...@dslextreme.com>
Subject Re: unit test failures?
Date Mon, 31 Mar 2014 18:54:03 GMT
I’d guess it is Windows specific.  I haven’t looked at what Matt did to this yet.

Ralph


On Mar 31, 2014, at 11:08 AM, Gary Gregory <garydgregory@gmail.com> wrote:

> I just tested a clean trunk and I get the following failures:
> 
> Failed tests:
>   ConfigurationTest.testLogToFile[0] Could not delete target\test.log, last modifed 3/31/14
1:50 PM
>   ConfigurationTest.testConfiguredAppenders[0] Could not delete target\test.log, last
modifed 3/31/14 1:51 PM
>   ConfigurationTest.testLogger[0] Could not delete target\test.log, last modifed 3/31/14
1:51 PM
>   ConfigurationTest.testLogToFile[1] Could not delete target\test.log, last modifed 3/31/14
1:51 PM
>   ConfigurationTest.testConfiguredAppenders[1] Could not delete target\test.log, last
modifed 3/31/14 1:51 PM
>   ConfigurationTest.testLogger[1] Could not delete target\test.log, last modifed 3/31/14
1:51 PM
>   ConfigurationTest.testLogToFile[2] Could not delete target\test.log, last modifed 3/31/14
1:51 PM
>   ConfigurationTest.testConfiguredAppenders[2] Could not delete target\test.log, last
modifed 3/31/14 1:51 PM
>   ConfigurationTest.testLogger[2] Could not delete target\test.log, last modifed 3/31/14
1:51 PM
>   FileOutputTest.testConfig:59 Couldn't delete file target\status.log
> 
> Tests run: 542, Failures: 10, Errors: 0, Skipped: 15
> 
> I tested with:
> 
> Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 08:51:28-0500)
> Maven home: C:\Java\apache-maven-3.0.5\bin\..
> Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_45\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
> 
> and:
> 
> Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 08:51:28-0500)
> Maven home: C:\Java\apache-maven-3.0.5\bin\..
> Java version: 1.8.0_20-ea, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.8.0_20\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"
> 
> Matt? Bueller? Anybody?
> 
> Gary
> 
> 
> On Mon, Mar 31, 2014 at 2:48 AM, Ralph Goers <ralph.goers@dslextreme.com> wrote:
> Trunk is building for me.
> 
> Ralph
> 
> On Mar 30, 2014, at 7:43 PM, Gary Gregory <garydgregory@gmail.com> wrote:
> 
>> Hi All:
>> 
>> I have a large change set (can't break it up into smaller bits) on my machine and
it does not seem related to the following failures I see:
>> 
>> Results :
>> 
>> Failed tests:
>>   XmlFileAppenderTest.testFlushAtEndOfBatch:70 line1 incorrect: [  <Event logger="com.foo.Bar"
timestamp="1396233402662" level="INFO" thread="main" fcqn="org.apache.logging.log4j.spi.AbstractLoggerProvider">],
does not contain: [<log4j:Even
>> t ]
>>   ConfigurationTest.testLogToFile[0] null
>>   ConfigurationTest.testConfiguredAppenders[0] null
>>   ConfigurationTest.testLogger[0] null
>>   ConfigurationTest.testLogToFile[1] null
>>   ConfigurationTest.testConfiguredAppenders[1] null
>>   ConfigurationTest.testLogger[1] null
>>   ConfigurationTest.testLogToFile[2] null
>>   ConfigurationTest.testConfiguredAppenders[2] null
>>   ConfigurationTest.testLogger[2] null
>>   FileOutputTest.testConfig:59 Couldn't delete file
>> 
>> Tests in error:
>>   JpaH2AppenderTest>AbstractJpaAppenderTest.testBaseJpaEntityAppender:107 » AppenderLogging
>>   JpaH2AppenderTest>AbstractJpaAppenderTest.testPerformanceOfAppenderWith10000EventsUsingBasicEntity:224
» AppenderLogging
>>   JpaH2AppenderTest>AbstractJpaAppenderTest.testBasicJpaEntityAppender:169 »
AppenderLogging
>>   JpaHyperSqlAppenderTest>AbstractJpaAppenderTest.testBaseJpaEntityAppender:107
» AppenderLogging
>>   JpaHyperSqlAppenderTest>AbstractJpaAppenderTest.testPerformanceOfAppenderWith10000EventsUsingBasicEntity:224
» AppenderLogging
>>   JpaHyperSqlAppenderTest>AbstractJpaAppenderTest.testBasicJpaEntityAppender:169
» AppenderLogging
>> 
>> Tests run: 569, Failures: 11, Errors: 6, Skipped: 21
>> 
>> Can folks comment on whether they can do a clean build?
>> 
>> Thank you!
>> 
>> 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