Also, using a similar multi-config Jenkins job, we can set up JDK 7, 8, and
9pre Linux builds as well.

On 13 February 2017 at 01:08, Matt Sicker <boa...@gmail.com> wrote:

> Sorry for the deluge of build emails, forgot to disable that.
>
> Anyways, I got the build running for Windows: <https://builds.apache.org/
> job/Log4jWindows/>. I have it set to run daily for now as there's only
> two windows VMs and I don't want to hog them.
>
> Ok, I have no idea why the mvnw script isn't running on there properly,
> but I did manage to find the proper incantation to run mvn on that Windows
> VM. This project has examples: <https://builds.apache.org/
> job/infra-test-maven-windows/>.
>
> On 12 February 2017 at 23:10, Matt Sicker <boa...@gmail.com> wrote:
>
>> Well, I've got some sort of thing working across a rather unintentionally
>> wide variety of environments. Turns out getting the Windows builds to work
>> might be simplified by including a maven wrapper because I don't really
>> know how these VMs are set up.
>>
>> On 12 February 2017 at 22:52, Matt Sicker <boa...@gmail.com> wrote:
>>
>>> JAVA_HOME not defined correctly on almost all the environments. Well
>>> now...
>>>
>>> On 12 February 2017 at 22:50, Matt Sicker <boa...@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 <boa...@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 <garydgreg...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Any chance building on Windows gets solved soon-ish?
>>>>>>
>>>>>> Gary
>>>>>>
>>>>>> On Thu, Feb 2, 2017 at 6:05 PM, Gary Gregory <garydgreg...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Git bisec says:
>>>>>>>
>>>>>>> *a0f4f4db5e8e88e56eaa148d81c2ba91df606e2a is the first bad commit*
>>>>>>> commit a0f4f4db5e8e88e56eaa148d81c2ba91df606e2a
>>>>>>> Author: Ralph Goers <ralph.go...@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 <garydgreg...@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: garydgreg...@gmail.com | ggreg...@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: garydgreg...@gmail.com | ggreg...@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: garydgreg...@gmail.com | ggreg...@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 <boa...@gmail.com>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Matt Sicker <boa...@gmail.com>
>>>>
>>>
>>>
>>>
>>> --
>>> Matt Sicker <boa...@gmail.com>
>>>
>>
>>
>>
>> --
>> Matt Sicker <boa...@gmail.com>
>>
>
>
>
> --
> Matt Sicker <boa...@gmail.com>
>



-- 
Matt Sicker <boa...@gmail.com>

Reply via email to