logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Sicker <boa...@gmail.com>
Subject Re: RollingAppenderSizeTest failures
Date Mon, 13 Feb 2017 04:52:03 GMT
JAVA_HOME not defined correctly on almost all the environments. Well now...

On 12 February 2017 at 22:50, Matt Sicker <boards@gmail.com> wrote:

> I've set up a basic test matrix for Java 7 and 8 on Linux and Windows
> here: <https://builds.apache.org/job/Log4j/>
>
> Let's see how this works.
>
> On 12 February 2017 at 22:40, Matt Sicker <boards@gmail.com> wrote:
>
>> I'm not really sure how to go about fixing the tests, but I was thinking
>> of setting up a Jenkins job for multi-environment testing to try and catch
>> these issues sooner.
>>
>> On 12 February 2017 at 22:16, Gary Gregory <garydgregory@gmail.com>
>> wrote:
>>
>>> Any chance building on Windows gets solved soon-ish?
>>>
>>> Gary
>>>
>>> On Thu, Feb 2, 2017 at 6:05 PM, Gary Gregory <garydgregory@gmail.com>
>>> wrote:
>>>
>>>> Git bisec says:
>>>>
>>>> *a0f4f4db5e8e88e56eaa148d81c2ba91df606e2a is the first bad commit*
>>>> commit a0f4f4db5e8e88e56eaa148d81c2ba91df606e2a
>>>> Author: Ralph Goers <ralph.goers@dslextreme.com>
>>>> Date:   Tue Jan 24 14:48:34 2017 -0700
>>>>
>>>>     Use an ExecutorService to verify shutdown of the async threads
>>>>
>>>> :040000 040000 ad3cb23efafeaab2f7e934e249c8e53ff7dcf86f
>>>> 056bbb158f43602fb2a4e8c74c5bcff29e5e5fe5 M      log4j-core
>>>> bisect run success
>>>>
>>>>
>>>> I'm not sure what needs to be reverted or changed but there you have it
>>>> (I have to get back to a customer issue now).
>>>>
>>>> If you want to do this yourself you can run:
>>>>
>>>> git bisect start HEAD log4j-2.7
>>>>
>>>> (I was not sure how far back to go so I picked 2.7. It turns out I
>>>> could have used 2.8. Then in a script called ..\run.cmd I have:
>>>>
>>>> call mvn clean
>>>> call mvn -DskipTests -pl log4j-api install
>>>> mvn -Dtest=RollingAppenderSizeTest -pl log4j-core test
>>>>
>>>> and run:
>>>>
>>>> git bisect run ..\run.cmd
>>>>
>>>> which gives you the output at the start of this message.
>>>>
>>>> Gary
>>>>
>>>>
>>>> On Thu, Feb 2, 2017 at 5:01 PM, Gary Gregory <garydgregory@gmail.com>
>>>> wrote:
>>>>
>>>>> I get:
>>>>>
>>>>> Tests in error:
>>>>>   RollingAppenderSizeTest.cleanup:115->cleanFolder:189 ╗ FileSystem
>>>>> target\rolli...
>>>>>   RollingAppenderSizeTest.cleanup:115->cleanFolder:189 ╗ FileSystem
>>>>> target\rolli...
>>>>>   RollingAppenderSizeTest.cleanup:115->cleanFolder:189 ╗ FileSystem
>>>>> target\rolli...
>>>>>   RollingAppenderSizeTest.cleanup:115->cleanFolder:189 ╗ FileSystem
>>>>> target\rolli...
>>>>>   RollingAppenderSizeTest.cleanup:115->cleanFolder:189 ╗ FileSystem
>>>>> target\rolli...
>>>>>   RollingAppenderSizeTest.cleanup:115->cleanFolder:189 ╗ FileSystem
>>>>> target\rolli...
>>>>>   RollingAppenderSizeTest.cleanup:115->cleanFolder:189 ╗ FileSystem
>>>>> target\rolli...
>>>>>   RollingAppenderSizeTest.cleanup:115->cleanFolder:189 ╗ FileSystem
>>>>> target\rolli...
>>>>>   RollingAppenderSizeTest.cleanup:115->cleanFolder:189 ╗ FileSystem
>>>>> target\rolli...
>>>>>   RollingAppenderSizeTest.cleanup:115->cleanFolder:189 ╗ FileSystem
>>>>> target\rolli...
>>>>>
>>>>> Tests run: 1879, Failures: 0, Errors: 10, Skipped: 30
>>>>>
>>>>> using:
>>>>>
>>>>> Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
>>>>> 2015-11-10T08:41:47-08:00)
>>>>> Maven home: C:\Java\apache-maven-3.3.9\bin\..
>>>>> Java version: 1.7.0_80, vendor: Oracle Corporation
>>>>> Java home: C:\Program Files\Java\jdk1.7.0_80\jre
>>>>> Default locale: en_US, platform encoding: Cp1252
>>>>> OS name: "windows 8.1", version: "6.3", arch: "amd64", family:
>>>>> "windows"
>>>>>
>>>>> Anyone else?
>>>>>
>>>>> --
>>>>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>>>>> Java Persistence with Hibernate, Second Edition
>>>>> <https://www.amazon.com/gp/product/1617290459/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1617290459&linkCode=as2&tag=garygregory-20&linkId=cadb800f39946ec62ea2b1af9fe6a2b8>
>>>>>
>>>>> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1617290459>
>>>>> JUnit in Action, Second Edition
>>>>> <https://www.amazon.com/gp/product/1935182021/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182021&linkCode=as2&tag=garygregory-20&linkId=31ecd1f6b6d1eaf8886ac902a24de418%22>
>>>>>
>>>>> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182021>
>>>>> Spring Batch in Action
>>>>> <https://www.amazon.com/gp/product/1935182951/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182951&linkCode=%7B%7BlinkCode%7D%7D&tag=garygregory-20&linkId=%7B%7Blink_id%7D%7D%22%3ESpring+Batch+in+Action>
>>>>> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182951>
>>>>> 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
>>>> <https://www.amazon.com/gp/product/1617290459/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1617290459&linkCode=as2&tag=garygregory-20&linkId=cadb800f39946ec62ea2b1af9fe6a2b8>
>>>>
>>>> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1617290459>
>>>> JUnit in Action, Second Edition
>>>> <https://www.amazon.com/gp/product/1935182021/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182021&linkCode=as2&tag=garygregory-20&linkId=31ecd1f6b6d1eaf8886ac902a24de418%22>
>>>>
>>>> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182021>
>>>> Spring Batch in Action
>>>> <https://www.amazon.com/gp/product/1935182951/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182951&linkCode=%7B%7BlinkCode%7D%7D&tag=garygregory-20&linkId=%7B%7Blink_id%7D%7D%22%3ESpring+Batch+in+Action>
>>>> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182951>
>>>> 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
>>> <https://www.amazon.com/gp/product/1617290459/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1617290459&linkCode=as2&tag=garygregory-20&linkId=cadb800f39946ec62ea2b1af9fe6a2b8>
>>>
>>> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1617290459>
>>> JUnit in Action, Second Edition
>>> <https://www.amazon.com/gp/product/1935182021/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182021&linkCode=as2&tag=garygregory-20&linkId=31ecd1f6b6d1eaf8886ac902a24de418%22>
>>>
>>> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182021>
>>> Spring Batch in Action
>>> <https://www.amazon.com/gp/product/1935182951/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182951&linkCode=%7B%7BlinkCode%7D%7D&tag=garygregory-20&linkId=%7B%7Blink_id%7D%7D%22%3ESpring+Batch+in+Action>
>>> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182951>
>>> Blog: http://garygregory.wordpress.com
>>> Home: http://garygregory.com/
>>> Tweet! http://twitter.com/GaryGregory
>>>
>>
>>
>>
>> --
>> Matt Sicker <boards@gmail.com>
>>
>
>
>
> --
> Matt Sicker <boards@gmail.com>
>



-- 
Matt Sicker <boards@gmail.com>

Mime
View raw message