You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Gary Gregory <ga...@gmail.com> on 2017/02/03 01:01:26 UTC

RollingAppenderSizeTest failures

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

Re: RollingAppenderSizeTest failures

Posted by Gary Gregory <ga...@gmail.com>.
I have customers that develop on Windows and then deploy to everything from
Windows Server boxes (more than you think), AIX, Linux, Linux on Z, you
name it.

G

On Fri, Feb 3, 2017 at 2:52 PM, Apache <ra...@dslextreme.com> wrote:

> Yeah - the idea of using Java on Windows seems like it would be an
> anti-pattern to me.
>
> Ralph
>
> On Feb 3, 2017, at 3:37 PM, Matt Sicker <bo...@gmail.com> wrote:
>
> I mean when it comes down to production use of Cassandra, I really doubt
> anyone is using it on Windows. Then again, I've never seen Windows Server
> used for big data clusters in the first place, so I suppose it's possible.
>
> On 3 February 2017 at 16:23, Gary Gregory <ga...@gmail.com> wrote:
>
>> I hope running Cassandra on Windows is not a problem. I seems like a
>> normal set up: https://www.datastax.com/2012/01/getting-started-with-ap
>> ache-cassandra-on-windows-the-easy-way
>>
>> G
>>
>> On Fri, Feb 3, 2017 at 12:10 PM, Matt Sicker <bo...@gmail.com> wrote:
>>
>>> That's strange. I never tested that integration test in Windows, so
>>> perhaps it's platform-specific? Anyways, the equivalent Mongo integration
>>> test is @Ignore'd due to requiring a running Mongo, and the Cassandra test
>>> works similarly although it starts up Cassandra within the JVM for you.
>>>
>>> On 3 February 2017 at 13:10, Gary Gregory <ga...@gmail.com>
>>> wrote:
>>>
>>>> And if I ignore THAT OSGi test, I then fail in nosql :-(
>>>>
>>>> [INFO] --- maven-failsafe-plugin:2.19.1:integration-test
>>>> (integration-tests) @ log4j-nosql ---
>>>>
>>>> -------------------------------------------------------
>>>>  T E S T S
>>>> -------------------------------------------------------
>>>> Running org.apache.logging.log4j.nosql.appender.cassandra.CassandraA
>>>> ppenderIT
>>>> ERROR StatusLogger No log4j2 configuration file found. Using default
>>>> configuration: logging only errors to the console.
>>>> 11:00:39.333 [Log4j2-TF-1-Cassandra-1] ERROR
>>>> org.apache.cassandra.service.StartupChecks - cassandra.jmx.local.port
>>>> missing from cassandra-env.sh, unable to start local JMX service.
>>>> ERROR StatusLogger No log4j2 configuration file found. Using default
>>>> configuration: logging only errors to the console.
>>>>
>>>> Results :
>>>>
>>>> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>>>>
>>>> [INFO]
>>>> [INFO] --- maven-failsafe-plugin:2.19.1:verify (verify) @ log4j-nosql
>>>> ---
>>>> [INFO] ------------------------------------------------------------
>>>> ------------
>>>> [INFO] Reactor Summary:
>>>> [INFO]
>>>> [INFO] Apache Log4j NoSQL ................................. FAILURE [
>>>> 27.242 s]
>>>> [INFO] Apache Log4J Performance Tests ..................... SKIPPED
>>>> [INFO] Apache Log4j Streaming Interface ................... SKIPPED
>>>> [INFO] Apache Log4j JUL Adapter ........................... SKIPPED
>>>> [INFO] Apache Log4j Liquibase Binding ..................... SKIPPED
>>>> [INFO] Apache Log4j Scala 2.10 wrapper for Log4j API ...... SKIPPED
>>>> [INFO] ------------------------------------------------------------
>>>> ------------
>>>> [INFO] BUILD FAILURE
>>>> [INFO] ------------------------------------------------------------
>>>> ------------
>>>> [INFO] Total time: 29.063 s
>>>> [INFO] Finished at: 2017-02-03T11:00:55-08:00
>>>> [INFO] Final Memory: 49M/691M
>>>> [INFO] ------------------------------------------------------------
>>>> ------------
>>>> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.19.1:verify
>>>> (verify) on project log4j-nosql: There was a timeout or other error in the
>>>> fork -> [Help 1]
>>>> [ERROR]
>>>> [ERROR] To see the full stack trace of the errors, re-run Maven with
>>>> the -e switch.
>>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>>> [ERROR]
>>>> [ERROR] For more information about the errors and possible solutions,
>>>> please read the following articles:
>>>> [ERROR] [Help 1] http://cwiki.apache.org/conflu
>>>> ence/display/MAVEN/MojoExecutionException
>>>>
>>>> Thoughts?
>>>>
>>>> Gary
>>>>
>>>> On Fri, Feb 3, 2017 at 10:06 AM, Gary Gregory <ga...@gmail.com>
>>>> wrote:
>>>>
>>>>> If I @Ignore that one test, then I get (mvn clean install):
>>>>>
>>>>> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.842
>>>>> sec - in org.apache.logging.log4j.osgi.tests.equinox.EquinoxLoadApiBu
>>>>> ndleTest
>>>>>         at org.junit.internal.runners.sta
>>>>> tements.InvokeMethod.evaluate(InvokeMethod.java:17)
>>>>>         at org.junit.internal.runners.sta
>>>>> tements.RunBefores.evaluate(RunBefores.java:26)
>>>>>         at org.junit.rules.ExternalResour
>>>>> ce$1.evaluate(ExternalResource.java:48)
>>>>>         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
>>>>>         at org.junit.runners.ParentRunner
>>>>> .runLeaf(ParentRunner.java:325)
>>>>>         at org.junit.runners.BlockJUnit4C
>>>>> lassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>>>>>         at org.junit.runners.BlockJUnit4C
>>>>> lassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>>>>>         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>>>>>         at org.junit.runners.ParentRunner
>>>>> $1.schedule(ParentRunner.java:71)
>>>>>         at org.junit.runners.ParentRunner
>>>>> .runChildren(ParentRunner.java:288)
>>>>>         at org.junit.runners.ParentRunner
>>>>> .access$000(ParentRunner.java:58)
>>>>>         at org.junit.runners.ParentRunner
>>>>> $2.evaluate(ParentRunner.java:268)
>>>>>         at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>>>>>         at org.apache.maven.surefire.juni
>>>>> t4.JUnit4Provider.execute(JUnit4Provider.java:367)
>>>>>         at org.apache.maven.surefire.juni
>>>>> t4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
>>>>>         at org.apache.maven.surefire.juni
>>>>> t4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
>>>>>         at org.apache.maven.surefire.juni
>>>>> t4.JUnit4Provider.invoke(JUnit4Provider.java:161)
>>>>>         at org.apache.maven.surefire.boot
>>>>> er.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
>>>>>         at org.apache.maven.surefire.boot
>>>>> er.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
>>>>>         at org.apache.maven.surefire.boot
>>>>> er.ForkedBooter.main(ForkedBooter.java:121)
>>>>> Caused by: java.lang.ClassNotFoundException:
>>>>> org.apache.logging.log4j.core.util.ExecutorServices not found by
>>>>> org.apache.logging.log4j.api [1]
>>>>>         at org.apache.felix.framework.Bun
>>>>> dleWiringImpl.findClassOrResourceByDelegation(BundleWiringIm
>>>>> pl.java:1558)
>>>>>         at org.apache.felix.framework.Bun
>>>>> dleWiringImpl.access$400(BundleWiringImpl.java:79)
>>>>>         at org.apache.felix.framework.Bun
>>>>> dleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1998)
>>>>>         ... 45 more
>>>>> Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.048
>>>>> sec <<< FAILURE! - in org.apache.logging.log4j.osgi.
>>>>> tests.felix.FelixLoadApiBundleTest
>>>>> testClassNotFoundErrorLogger(org.apache.logging.log4j.osgi.t
>>>>> ests.felix.FelixLoadApiBundleTest)  Time elapsed: 0.419 sec  <<<
>>>>> ERROR!
>>>>> org.osgi.framework.BundleException: Error creating bundle cache.
>>>>> Caused by: java.lang.Exception: Unable to lock bundle cache:
>>>>> java.nio.channels.OverlappingFileLockException
>>>>>
>>>>>
>>>>> Results :
>>>>>
>>>>> Tests in error:
>>>>>   FelixLoadApiBundleTest.testClassNotFoundErrorLogger ╗ Bundle Error
>>>>> creating bu...
>>>>>
>>>>> Tests run: 10, Failures: 0, Errors: 1, Skipped: 0
>>>>>
>>>>> [INFO] ------------------------------------------------------------
>>>>> ------------
>>>>> [INFO] Reactor Summary:
>>>>> [INFO]
>>>>> [INFO] Apache Log4j 2 ..................................... SUCCESS [
>>>>>  1.847 s]
>>>>> [INFO] Apache Log4j API ................................... SUCCESS [
>>>>> 18.399 s]
>>>>> [INFO] Apache Log4j Core .................................. SUCCESS
>>>>> [18:01 min]
>>>>> [INFO] Apache Log4j 1.x Compatibility API ................. SUCCESS [
>>>>>  9.090 s]
>>>>> [INFO] Apache Log4j SLF4J Binding ......................... SUCCESS [
>>>>>  5.460 s]
>>>>> [INFO] Apache Log4j to SLF4J Adapter ...................... SUCCESS [
>>>>>  3.202 s]
>>>>> [INFO] Apache Log4j Commons Logging Bridge ................ SUCCESS [
>>>>>  2.712 s]
>>>>> [INFO] Apache Log4j Flume Bridge .......................... SUCCESS [
>>>>> 38.267 s]
>>>>> [INFO] Apache Log4j Web ................................... SUCCESS [
>>>>>  6.096 s]
>>>>> [INFO] Apache Log4j Tag Library ........................... SUCCESS [
>>>>> 15.773 s]
>>>>> [INFO] Apache Log4j JMX GUI ............................... SUCCESS [
>>>>>  1.741 s]
>>>>> [INFO] Apache Log4j Samples ............................... SUCCESS [
>>>>>  0.499 s]
>>>>> [INFO] Apache Log4j Samples: Flume - Common ............... SUCCESS [
>>>>>  2.257 s]
>>>>> [INFO] Apache Log4j Samples: Flume - Remote ............... SUCCESS [
>>>>>  2.679 s]
>>>>> [INFO] Apache Log4j Samples: Flume - Embedded ............. SUCCESS [
>>>>>  6.387 s]
>>>>> [INFO] Apache Log4j Samples: Configuration ................ SUCCESS [
>>>>>  2.592 s]
>>>>> [INFO] Apache Log4j Samples: LoggerProperties ............. SUCCESS [
>>>>>  2.703 s]
>>>>> [INFO] Apache Log4j Scala 2.11 wrapper for Log4j API ...... SUCCESS [
>>>>> 25.789 s]
>>>>> [INFO] Apache Log4j Samples: Scala API .................... SUCCESS [
>>>>>  4.300 s]
>>>>> [INFO] Apache Log4j OSGi .................................. FAILURE [
>>>>>  8.806 s]
>>>>> [INFO] Apache Log4j BOM ................................... SKIPPED
>>>>> [INFO] Apache Log4j NoSQL ................................. SKIPPED
>>>>> [INFO] Apache Log4J Performance Tests ..................... SKIPPED
>>>>> [INFO] Apache Log4j Streaming Interface ................... SKIPPED
>>>>> [INFO] Apache Log4j JUL Adapter ........................... SKIPPED
>>>>> [INFO] Apache Log4j Liquibase Binding ..................... SKIPPED
>>>>> [INFO] Apache Log4j Scala 2.10 wrapper for Log4j API ...... SKIPPED
>>>>> [INFO] ------------------------------------------------------------
>>>>> ------------
>>>>> [INFO] BUILD FAILURE
>>>>> [INFO] ------------------------------------------------------------
>>>>> ------------
>>>>> [INFO] Total time: 20:41 min
>>>>> [INFO] Finished at: 2017-02-02T21:21:50-08:00
>>>>> [INFO] Final Memory: 50M/517M
>>>>> [INFO] ------------------------------------------------------------
>>>>> ------------
>>>>> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test
>>>>> (default-test) on project log4j-osgi: There are test failures.
>>>>> [ERROR]
>>>>> [ERROR] Please refer to C:\vcs\git\apache\logging\logg
>>>>> ing-log4j2\log4j-osgi\target\surefire-reports for the individual test
>>>>> results.
>>>>> [ERROR] -> [Help 1]
>>>>> [ERROR]
>>>>> [ERROR] To see the full stack trace of the errors, re-run Maven with
>>>>> the -e switch.
>>>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>>>> [ERROR]
>>>>> [ERROR] For more information about the errors and possible solutions,
>>>>> please read the following articles:
>>>>> [ERROR] [Help 1] http://cwiki.apache.org/conflu
>>>>> ence/display/MAVEN/MojoFailureException
>>>>> [ERROR]
>>>>> [ERROR] After correcting the problems, you can resume the build with
>>>>> the command
>>>>> [ERROR]   mvn <goals> -rf :log4j-osgi
>>>>>
>>>>>
>>>>> Gary
>>>>>
>>>>> On Thu, Feb 2, 2017 at 6:19 PM, Apache <ra...@dslextreme.com>
>>>>> wrote:
>>>>>
>>>>>> OK. I will have to fire up a Windows VM and test it as it doesn’t
>>>>>> fail on my Mac or in Linux.
>>>>>>
>>>>>> Ralph
>>>>>>
>>>>>> On Feb 2, 2017, at 7:17 PM, Remko Popma <re...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>> I'm seeing the same thing on my Windows pc.
>>>>>>
>>>>>> Sent from my iPhone
>>>>>>
>>>>>> On Feb 3, 2017, at 10:01, Gary Gregory <ga...@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 <bo...@gmail.com>
>>>
>>
>>
>>
>> --
>> 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 <bo...@gmail.com>
>
>
>


-- 
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

Re: RollingAppenderSizeTest failures

Posted by Apache <ra...@dslextreme.com>.
Yeah - the idea of using Java on Windows seems like it would be an anti-pattern to me.

Ralph

> On Feb 3, 2017, at 3:37 PM, Matt Sicker <bo...@gmail.com> wrote:
> 
> I mean when it comes down to production use of Cassandra, I really doubt anyone is using it on Windows. Then again, I've never seen Windows Server used for big data clusters in the first place, so I suppose it's possible.
> 
> On 3 February 2017 at 16:23, Gary Gregory <garydgregory@gmail.com <ma...@gmail.com>> wrote:
> I hope running Cassandra on Windows is not a problem. I seems like a normal set up: https://www.datastax.com/2012/01/getting-started-with-apache-cassandra-on-windows-the-easy-way <https://www.datastax.com/2012/01/getting-started-with-apache-cassandra-on-windows-the-easy-way>
> 
> G
> 
> On Fri, Feb 3, 2017 at 12:10 PM, Matt Sicker <boards@gmail.com <ma...@gmail.com>> wrote:
> That's strange. I never tested that integration test in Windows, so perhaps it's platform-specific? Anyways, the equivalent Mongo integration test is @Ignore'd due to requiring a running Mongo, and the Cassandra test works similarly although it starts up Cassandra within the JVM for you.
> 
> On 3 February 2017 at 13:10, Gary Gregory <garydgregory@gmail.com <ma...@gmail.com>> wrote:
> And if I ignore THAT OSGi test, I then fail in nosql :-(
> 
> [INFO] --- maven-failsafe-plugin:2.19.1:integration-test (integration-tests) @ log4j-nosql ---
> 
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.logging.log4j.nosql.appender.cassandra.CassandraAppenderIT
> ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
> 11:00:39.333 [Log4j2-TF-1-Cassandra-1] ERROR org.apache.cassandra.service.StartupChecks - cassandra.jmx.local.port missing from cassandra-env.sh, unable to start local JMX service.
> ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
> 
> Results :
> 
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> 
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.19.1:verify (verify) @ log4j-nosql ---
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Log4j NoSQL ................................. FAILURE [ 27.242 s]
> [INFO] Apache Log4J Performance Tests ..................... SKIPPED
> [INFO] Apache Log4j Streaming Interface ................... SKIPPED
> [INFO] Apache Log4j JUL Adapter ........................... SKIPPED
> [INFO] Apache Log4j Liquibase Binding ..................... SKIPPED
> [INFO] Apache Log4j Scala 2.10 wrapper for Log4j API ...... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 29.063 s
> [INFO] Finished at: 2017-02-03T11:00:55-08:00
> [INFO] Final Memory: 49M/691M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.19.1:verify (verify) on project log4j-nosql: There was a timeout or other error in the fork -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException <http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException>
> 
> Thoughts?
> 
> Gary
> 
> On Fri, Feb 3, 2017 at 10:06 AM, Gary Gregory <garydgregory@gmail.com <ma...@gmail.com>> wrote:
> If I @Ignore that one test, then I get (mvn clean install):
> 
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.842 sec - in org.apache.logging.log4j.osgi.tests.equinox.EquinoxLoadApiBundleTest
>         at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>         at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>         at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
>         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
>         at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>         at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>         at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>         at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>         at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>         at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
>         at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
>         at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
>         at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
> Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.core.util.ExecutorServices not found by org.apache.logging.log4j.api [1]
>         at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1558)
>         at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:79)
>         at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1998)
>         ... 45 more
> Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.048 sec <<< FAILURE! - in org.apache.logging.log4j.osgi.tests.felix.FelixLoadApiBundleTest
> testClassNotFoundErrorLogger(org.apache.logging.log4j.osgi.tests.felix.FelixLoadApiBundleTest)  Time elapsed: 0.419 sec  <<< ERROR!
> org.osgi.framework.BundleException: Error creating bundle cache.
> Caused by: java.lang.Exception: Unable to lock bundle cache: java.nio.channels.OverlappingFileLockException
> 
> 
> Results :
> 
> Tests in error:
>   FelixLoadApiBundleTest.testClassNotFoundErrorLogger ╗ Bundle Error creating bu...
> 
> Tests run: 10, Failures: 0, Errors: 1, Skipped: 0
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Log4j 2 ..................................... SUCCESS [  1.847 s]
> [INFO] Apache Log4j API ................................... SUCCESS [ 18.399 s]
> [INFO] Apache Log4j Core .................................. SUCCESS [18:01 min]
> [INFO] Apache Log4j 1.x Compatibility API ................. SUCCESS [  9.090 s]
> [INFO] Apache Log4j SLF4J Binding ......................... SUCCESS [  5.460 s]
> [INFO] Apache Log4j to SLF4J Adapter ...................... SUCCESS [  3.202 s]
> [INFO] Apache Log4j Commons Logging Bridge ................ SUCCESS [  2.712 s]
> [INFO] Apache Log4j Flume Bridge .......................... SUCCESS [ 38.267 s]
> [INFO] Apache Log4j Web ................................... SUCCESS [  6.096 s]
> [INFO] Apache Log4j Tag Library ........................... SUCCESS [ 15.773 s]
> [INFO] Apache Log4j JMX GUI ............................... SUCCESS [  1.741 s]
> [INFO] Apache Log4j Samples ............................... SUCCESS [  0.499 s]
> [INFO] Apache Log4j Samples: Flume - Common ............... SUCCESS [  2.257 s]
> [INFO] Apache Log4j Samples: Flume - Remote ............... SUCCESS [  2.679 s]
> [INFO] Apache Log4j Samples: Flume - Embedded ............. SUCCESS [  6.387 s]
> [INFO] Apache Log4j Samples: Configuration ................ SUCCESS [  2.592 s]
> [INFO] Apache Log4j Samples: LoggerProperties ............. SUCCESS [  2.703 s]
> [INFO] Apache Log4j Scala 2.11 wrapper for Log4j API ...... SUCCESS [ 25.789 s]
> [INFO] Apache Log4j Samples: Scala API .................... SUCCESS [  4.300 s]
> [INFO] Apache Log4j OSGi .................................. FAILURE [  8.806 s]
> [INFO] Apache Log4j BOM ................................... SKIPPED
> [INFO] Apache Log4j NoSQL ................................. SKIPPED
> [INFO] Apache Log4J Performance Tests ..................... SKIPPED
> [INFO] Apache Log4j Streaming Interface ................... SKIPPED
> [INFO] Apache Log4j JUL Adapter ........................... SKIPPED
> [INFO] Apache Log4j Liquibase Binding ..................... SKIPPED
> [INFO] Apache Log4j Scala 2.10 wrapper for Log4j API ...... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 20:41 min
> [INFO] Finished at: 2017-02-02T21:21:50-08:00
> [INFO] Final Memory: 50M/517M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project log4j-osgi: There are test failures.
> [ERROR]
> [ERROR] Please refer to C:\vcs\git\apache\logging\logging-log4j2\log4j-osgi\target\surefire-reports for the individual test results.
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException <http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException>
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :log4j-osgi
> 
> 
> Gary
> 
> On Thu, Feb 2, 2017 at 6:19 PM, Apache <ralph.goers@dslextreme.com <ma...@dslextreme.com>> wrote:
> OK. I will have to fire up a Windows VM and test it as it doesn’t fail on my Mac or in Linux.
> 
> Ralph
> 
>> On Feb 2, 2017, at 7:17 PM, Remko Popma <remko.popma@gmail.com <ma...@gmail.com>> wrote:
>> 
>> I'm seeing the same thing on my Windows pc. 
>> 
>> Sent from my iPhone
>> 
>> On Feb 3, 2017, at 10:01, Gary Gregory <garydgregory@gmail.com <ma...@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 <ma...@gmail.com> | ggregory@apache.org  <ma...@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 <http://garygregory.wordpress.com/> 
>>> Home: http://garygregory.com/ <http://garygregory.com/>
>>> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
> 
> 
> 
> -- 
> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org  <ma...@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 <http://garygregory.wordpress.com/> 
> Home: http://garygregory.com/ <http://garygregory.com/>
> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
> 
> 
> -- 
> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org  <ma...@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 <http://garygregory.wordpress.com/> 
> Home: http://garygregory.com/ <http://garygregory.com/>
> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
> 
> 
> -- 
> Matt Sicker <boards@gmail.com <ma...@gmail.com>>
> 
> 
> 
> -- 
> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org  <ma...@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 <http://garygregory.wordpress.com/> 
> Home: http://garygregory.com/ <http://garygregory.com/>
> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
> 
> 
> -- 
> Matt Sicker <boards@gmail.com <ma...@gmail.com>>


Re: RollingAppenderSizeTest failures

Posted by Matt Sicker <bo...@gmail.com>.
I mean when it comes down to production use of Cassandra, I really doubt
anyone is using it on Windows. Then again, I've never seen Windows Server
used for big data clusters in the first place, so I suppose it's possible.

On 3 February 2017 at 16:23, Gary Gregory <ga...@gmail.com> wrote:

> I hope running Cassandra on Windows is not a problem. I seems like a
> normal set up: https://www.datastax.com/2012/01/getting-started-with-
> apache-cassandra-on-windows-the-easy-way
>
> G
>
> On Fri, Feb 3, 2017 at 12:10 PM, Matt Sicker <bo...@gmail.com> wrote:
>
>> That's strange. I never tested that integration test in Windows, so
>> perhaps it's platform-specific? Anyways, the equivalent Mongo integration
>> test is @Ignore'd due to requiring a running Mongo, and the Cassandra test
>> works similarly although it starts up Cassandra within the JVM for you.
>>
>> On 3 February 2017 at 13:10, Gary Gregory <ga...@gmail.com> wrote:
>>
>>> And if I ignore THAT OSGi test, I then fail in nosql :-(
>>>
>>> [INFO] --- maven-failsafe-plugin:2.19.1:integration-test
>>> (integration-tests) @ log4j-nosql ---
>>>
>>> -------------------------------------------------------
>>>  T E S T S
>>> -------------------------------------------------------
>>> Running org.apache.logging.log4j.nosql.appender.cassandra.CassandraA
>>> ppenderIT
>>> ERROR StatusLogger No log4j2 configuration file found. Using default
>>> configuration: logging only errors to the console.
>>> 11:00:39.333 [Log4j2-TF-1-Cassandra-1] ERROR
>>> org.apache.cassandra.service.StartupChecks - cassandra.jmx.local.port
>>> missing from cassandra-env.sh, unable to start local JMX service.
>>> ERROR StatusLogger No log4j2 configuration file found. Using default
>>> configuration: logging only errors to the console.
>>>
>>> Results :
>>>
>>> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>>>
>>> [INFO]
>>> [INFO] --- maven-failsafe-plugin:2.19.1:verify (verify) @ log4j-nosql
>>> ---
>>> [INFO] ------------------------------------------------------------
>>> ------------
>>> [INFO] Reactor Summary:
>>> [INFO]
>>> [INFO] Apache Log4j NoSQL ................................. FAILURE [
>>> 27.242 s]
>>> [INFO] Apache Log4J Performance Tests ..................... SKIPPED
>>> [INFO] Apache Log4j Streaming Interface ................... SKIPPED
>>> [INFO] Apache Log4j JUL Adapter ........................... SKIPPED
>>> [INFO] Apache Log4j Liquibase Binding ..................... SKIPPED
>>> [INFO] Apache Log4j Scala 2.10 wrapper for Log4j API ...... SKIPPED
>>> [INFO] ------------------------------------------------------------
>>> ------------
>>> [INFO] BUILD FAILURE
>>> [INFO] ------------------------------------------------------------
>>> ------------
>>> [INFO] Total time: 29.063 s
>>> [INFO] Finished at: 2017-02-03T11:00:55-08:00
>>> [INFO] Final Memory: 49M/691M
>>> [INFO] ------------------------------------------------------------
>>> ------------
>>> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.19.1:verify
>>> (verify) on project log4j-nosql: There was a timeout or other error in the
>>> fork -> [Help 1]
>>> [ERROR]
>>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>>> -e switch.
>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>> [ERROR]
>>> [ERROR] For more information about the errors and possible solutions,
>>> please read the following articles:
>>> [ERROR] [Help 1] http://cwiki.apache.org/conflu
>>> ence/display/MAVEN/MojoExecutionException
>>>
>>> Thoughts?
>>>
>>> Gary
>>>
>>> On Fri, Feb 3, 2017 at 10:06 AM, Gary Gregory <ga...@gmail.com>
>>> wrote:
>>>
>>>> If I @Ignore that one test, then I get (mvn clean install):
>>>>
>>>> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.842
>>>> sec - in org.apache.logging.log4j.osgi.tests.equinox.EquinoxLoadApiBu
>>>> ndleTest
>>>>         at org.junit.internal.runners.statements.InvokeMethod.evaluate(
>>>> InvokeMethod.java:17)
>>>>         at org.junit.internal.runners.statements.RunBefores.evaluate(Ru
>>>> nBefores.java:26)
>>>>         at org.junit.rules.ExternalResource$1.evaluate(ExternalResource
>>>> .java:48)
>>>>         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
>>>>         at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325
>>>> )
>>>>         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit
>>>> 4ClassRunner.java:78)
>>>>         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit
>>>> 4ClassRunner.java:57)
>>>>         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>>>>         at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:
>>>> 71)
>>>>         at org.junit.runners.ParentRunner.runChildren(ParentRunner.java
>>>> :288)
>>>>         at org.junit.runners.ParentRunner.access$000(ParentRunner.java:
>>>> 58)
>>>>         at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:
>>>> 268)
>>>>         at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>>>>         at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUni
>>>> t4Provider.java:367)
>>>>         at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithR
>>>> erun(JUnit4Provider.java:274)
>>>>         at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestS
>>>> et(JUnit4Provider.java:238)
>>>>         at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit
>>>> 4Provider.java:161)
>>>>         at org.apache.maven.surefire.booter.ForkedBooter.invokeProvider
>>>> InSameClassLoader(ForkedBooter.java:290)
>>>>         at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInPro
>>>> cess(ForkedBooter.java:242)
>>>>         at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBoo
>>>> ter.java:121)
>>>> Caused by: java.lang.ClassNotFoundException:
>>>> org.apache.logging.log4j.core.util.ExecutorServices not found by
>>>> org.apache.logging.log4j.api [1]
>>>>         at org.apache.felix.framework.BundleWiringImpl.findClassOrResou
>>>> rceByDelegation(BundleWiringImpl.java:1558)
>>>>         at org.apache.felix.framework.BundleWiringImpl.access$400(Bundl
>>>> eWiringImpl.java:79)
>>>>         at org.apache.felix.framework.BundleWiringImpl$BundleClassLoade
>>>> r.loadClass(BundleWiringImpl.java:1998)
>>>>         ... 45 more
>>>> Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.048
>>>> sec <<< FAILURE! - in org.apache.logging.log4j.osgi.
>>>> tests.felix.FelixLoadApiBundleTest
>>>> testClassNotFoundErrorLogger(org.apache.logging.log4j.osgi.t
>>>> ests.felix.FelixLoadApiBundleTest)  Time elapsed: 0.419 sec  <<< ERROR!
>>>> org.osgi.framework.BundleException: Error creating bundle cache.
>>>> Caused by: java.lang.Exception: Unable to lock bundle cache:
>>>> java.nio.channels.OverlappingFileLockException
>>>>
>>>>
>>>> Results :
>>>>
>>>> Tests in error:
>>>>   FelixLoadApiBundleTest.testClassNotFoundErrorLogger ╗ Bundle Error
>>>> creating bu...
>>>>
>>>> Tests run: 10, Failures: 0, Errors: 1, Skipped: 0
>>>>
>>>> [INFO] ------------------------------------------------------------
>>>> ------------
>>>> [INFO] Reactor Summary:
>>>> [INFO]
>>>> [INFO] Apache Log4j 2 ..................................... SUCCESS [
>>>>  1.847 s]
>>>> [INFO] Apache Log4j API ................................... SUCCESS [
>>>> 18.399 s]
>>>> [INFO] Apache Log4j Core .................................. SUCCESS
>>>> [18:01 min]
>>>> [INFO] Apache Log4j 1.x Compatibility API ................. SUCCESS [
>>>>  9.090 s]
>>>> [INFO] Apache Log4j SLF4J Binding ......................... SUCCESS [
>>>>  5.460 s]
>>>> [INFO] Apache Log4j to SLF4J Adapter ...................... SUCCESS [
>>>>  3.202 s]
>>>> [INFO] Apache Log4j Commons Logging Bridge ................ SUCCESS [
>>>>  2.712 s]
>>>> [INFO] Apache Log4j Flume Bridge .......................... SUCCESS [
>>>> 38.267 s]
>>>> [INFO] Apache Log4j Web ................................... SUCCESS [
>>>>  6.096 s]
>>>> [INFO] Apache Log4j Tag Library ........................... SUCCESS [
>>>> 15.773 s]
>>>> [INFO] Apache Log4j JMX GUI ............................... SUCCESS [
>>>>  1.741 s]
>>>> [INFO] Apache Log4j Samples ............................... SUCCESS [
>>>>  0.499 s]
>>>> [INFO] Apache Log4j Samples: Flume - Common ............... SUCCESS [
>>>>  2.257 s]
>>>> [INFO] Apache Log4j Samples: Flume - Remote ............... SUCCESS [
>>>>  2.679 s]
>>>> [INFO] Apache Log4j Samples: Flume - Embedded ............. SUCCESS [
>>>>  6.387 s]
>>>> [INFO] Apache Log4j Samples: Configuration ................ SUCCESS [
>>>>  2.592 s]
>>>> [INFO] Apache Log4j Samples: LoggerProperties ............. SUCCESS [
>>>>  2.703 s]
>>>> [INFO] Apache Log4j Scala 2.11 wrapper for Log4j API ...... SUCCESS [
>>>> 25.789 s]
>>>> [INFO] Apache Log4j Samples: Scala API .................... SUCCESS [
>>>>  4.300 s]
>>>> [INFO] Apache Log4j OSGi .................................. FAILURE [
>>>>  8.806 s]
>>>> [INFO] Apache Log4j BOM ................................... SKIPPED
>>>> [INFO] Apache Log4j NoSQL ................................. SKIPPED
>>>> [INFO] Apache Log4J Performance Tests ..................... SKIPPED
>>>> [INFO] Apache Log4j Streaming Interface ................... SKIPPED
>>>> [INFO] Apache Log4j JUL Adapter ........................... SKIPPED
>>>> [INFO] Apache Log4j Liquibase Binding ..................... SKIPPED
>>>> [INFO] Apache Log4j Scala 2.10 wrapper for Log4j API ...... SKIPPED
>>>> [INFO] ------------------------------------------------------------
>>>> ------------
>>>> [INFO] BUILD FAILURE
>>>> [INFO] ------------------------------------------------------------
>>>> ------------
>>>> [INFO] Total time: 20:41 min
>>>> [INFO] Finished at: 2017-02-02T21:21:50-08:00
>>>> [INFO] Final Memory: 50M/517M
>>>> [INFO] ------------------------------------------------------------
>>>> ------------
>>>> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test
>>>> (default-test) on project log4j-osgi: There are test failures.
>>>> [ERROR]
>>>> [ERROR] Please refer to C:\vcs\git\apache\logging\logg
>>>> ing-log4j2\log4j-osgi\target\surefire-reports for the individual test
>>>> results.
>>>> [ERROR] -> [Help 1]
>>>> [ERROR]
>>>> [ERROR] To see the full stack trace of the errors, re-run Maven with
>>>> the -e switch.
>>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>>> [ERROR]
>>>> [ERROR] For more information about the errors and possible solutions,
>>>> please read the following articles:
>>>> [ERROR] [Help 1] http://cwiki.apache.org/conflu
>>>> ence/display/MAVEN/MojoFailureException
>>>> [ERROR]
>>>> [ERROR] After correcting the problems, you can resume the build with
>>>> the command
>>>> [ERROR]   mvn <goals> -rf :log4j-osgi
>>>>
>>>>
>>>> Gary
>>>>
>>>> On Thu, Feb 2, 2017 at 6:19 PM, Apache <ra...@dslextreme.com>
>>>> wrote:
>>>>
>>>>> OK. I will have to fire up a Windows VM and test it as it doesn’t fail
>>>>> on my Mac or in Linux.
>>>>>
>>>>> Ralph
>>>>>
>>>>> On Feb 2, 2017, at 7:17 PM, Remko Popma <re...@gmail.com> wrote:
>>>>>
>>>>> I'm seeing the same thing on my Windows pc.
>>>>>
>>>>> Sent from my iPhone
>>>>>
>>>>> On Feb 3, 2017, at 10:01, Gary Gregory <ga...@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 <bo...@gmail.com>
>>
>
>
>
> --
> 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 <bo...@gmail.com>

Re: RollingAppenderSizeTest failures

Posted by Gary Gregory <ga...@gmail.com>.
I hope running Cassandra on Windows is not a problem. I seems like a normal
set up:
https://www.datastax.com/2012/01/getting-started-with-apache-cassandra-on-windows-the-easy-way

G

On Fri, Feb 3, 2017 at 12:10 PM, Matt Sicker <bo...@gmail.com> wrote:

> That's strange. I never tested that integration test in Windows, so
> perhaps it's platform-specific? Anyways, the equivalent Mongo integration
> test is @Ignore'd due to requiring a running Mongo, and the Cassandra test
> works similarly although it starts up Cassandra within the JVM for you.
>
> On 3 February 2017 at 13:10, Gary Gregory <ga...@gmail.com> wrote:
>
>> And if I ignore THAT OSGi test, I then fail in nosql :-(
>>
>> [INFO] --- maven-failsafe-plugin:2.19.1:integration-test
>> (integration-tests) @ log4j-nosql ---
>>
>> -------------------------------------------------------
>>  T E S T S
>> -------------------------------------------------------
>> Running org.apache.logging.log4j.nosql.appender.cassandra.CassandraA
>> ppenderIT
>> ERROR StatusLogger No log4j2 configuration file found. Using default
>> configuration: logging only errors to the console.
>> 11:00:39.333 [Log4j2-TF-1-Cassandra-1] ERROR
>> org.apache.cassandra.service.StartupChecks - cassandra.jmx.local.port
>> missing from cassandra-env.sh, unable to start local JMX service.
>> ERROR StatusLogger No log4j2 configuration file found. Using default
>> configuration: logging only errors to the console.
>>
>> Results :
>>
>> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>>
>> [INFO]
>> [INFO] --- maven-failsafe-plugin:2.19.1:verify (verify) @ log4j-nosql ---
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Apache Log4j NoSQL ................................. FAILURE [
>> 27.242 s]
>> [INFO] Apache Log4J Performance Tests ..................... SKIPPED
>> [INFO] Apache Log4j Streaming Interface ................... SKIPPED
>> [INFO] Apache Log4j JUL Adapter ........................... SKIPPED
>> [INFO] Apache Log4j Liquibase Binding ..................... SKIPPED
>> [INFO] Apache Log4j Scala 2.10 wrapper for Log4j API ...... SKIPPED
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO] BUILD FAILURE
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO] Total time: 29.063 s
>> [INFO] Finished at: 2017-02-03T11:00:55-08:00
>> [INFO] Final Memory: 49M/691M
>> [INFO] ------------------------------------------------------------
>> ------------
>> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.19.1:verify
>> (verify) on project log4j-nosql: There was a timeout or other error in the
>> fork -> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1] http://cwiki.apache.org/conflu
>> ence/display/MAVEN/MojoExecutionException
>>
>> Thoughts?
>>
>> Gary
>>
>> On Fri, Feb 3, 2017 at 10:06 AM, Gary Gregory <ga...@gmail.com>
>> wrote:
>>
>>> If I @Ignore that one test, then I get (mvn clean install):
>>>
>>> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.842
>>> sec - in org.apache.logging.log4j.osgi.tests.equinox.EquinoxLoadApiBu
>>> ndleTest
>>>         at org.junit.internal.runners.statements.InvokeMethod.evaluate(
>>> InvokeMethod.java:17)
>>>         at org.junit.internal.runners.statements.RunBefores.evaluate(Ru
>>> nBefores.java:26)
>>>         at org.junit.rules.ExternalResource$1.evaluate(ExternalResource
>>> .java:48)
>>>         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
>>>         at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>>>         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit
>>> 4ClassRunner.java:78)
>>>         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit
>>> 4ClassRunner.java:57)
>>>         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>>>         at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:
>>> 71)
>>>         at org.junit.runners.ParentRunner.runChildren(ParentRunner.java
>>> :288)
>>>         at org.junit.runners.ParentRunner.access$000(ParentRunner.java:
>>> 58)
>>>         at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:
>>> 268)
>>>         at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>>>         at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUni
>>> t4Provider.java:367)
>>>         at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithR
>>> erun(JUnit4Provider.java:274)
>>>         at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestS
>>> et(JUnit4Provider.java:238)
>>>         at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit
>>> 4Provider.java:161)
>>>         at org.apache.maven.surefire.booter.ForkedBooter.invokeProvider
>>> InSameClassLoader(ForkedBooter.java:290)
>>>         at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInPro
>>> cess(ForkedBooter.java:242)
>>>         at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBoo
>>> ter.java:121)
>>> Caused by: java.lang.ClassNotFoundException:
>>> org.apache.logging.log4j.core.util.ExecutorServices not found by
>>> org.apache.logging.log4j.api [1]
>>>         at org.apache.felix.framework.BundleWiringImpl.findClassOrResou
>>> rceByDelegation(BundleWiringImpl.java:1558)
>>>         at org.apache.felix.framework.BundleWiringImpl.access$400(Bundl
>>> eWiringImpl.java:79)
>>>         at org.apache.felix.framework.BundleWiringImpl$BundleClassLoade
>>> r.loadClass(BundleWiringImpl.java:1998)
>>>         ... 45 more
>>> Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.048
>>> sec <<< FAILURE! - in org.apache.logging.log4j.osgi.
>>> tests.felix.FelixLoadApiBundleTest
>>> testClassNotFoundErrorLogger(org.apache.logging.log4j.osgi.t
>>> ests.felix.FelixLoadApiBundleTest)  Time elapsed: 0.419 sec  <<< ERROR!
>>> org.osgi.framework.BundleException: Error creating bundle cache.
>>> Caused by: java.lang.Exception: Unable to lock bundle cache:
>>> java.nio.channels.OverlappingFileLockException
>>>
>>>
>>> Results :
>>>
>>> Tests in error:
>>>   FelixLoadApiBundleTest.testClassNotFoundErrorLogger ╗ Bundle Error
>>> creating bu...
>>>
>>> Tests run: 10, Failures: 0, Errors: 1, Skipped: 0
>>>
>>> [INFO] ------------------------------------------------------------
>>> ------------
>>> [INFO] Reactor Summary:
>>> [INFO]
>>> [INFO] Apache Log4j 2 ..................................... SUCCESS [
>>>  1.847 s]
>>> [INFO] Apache Log4j API ................................... SUCCESS [
>>> 18.399 s]
>>> [INFO] Apache Log4j Core .................................. SUCCESS
>>> [18:01 min]
>>> [INFO] Apache Log4j 1.x Compatibility API ................. SUCCESS [
>>>  9.090 s]
>>> [INFO] Apache Log4j SLF4J Binding ......................... SUCCESS [
>>>  5.460 s]
>>> [INFO] Apache Log4j to SLF4J Adapter ...................... SUCCESS [
>>>  3.202 s]
>>> [INFO] Apache Log4j Commons Logging Bridge ................ SUCCESS [
>>>  2.712 s]
>>> [INFO] Apache Log4j Flume Bridge .......................... SUCCESS [
>>> 38.267 s]
>>> [INFO] Apache Log4j Web ................................... SUCCESS [
>>>  6.096 s]
>>> [INFO] Apache Log4j Tag Library ........................... SUCCESS [
>>> 15.773 s]
>>> [INFO] Apache Log4j JMX GUI ............................... SUCCESS [
>>>  1.741 s]
>>> [INFO] Apache Log4j Samples ............................... SUCCESS [
>>>  0.499 s]
>>> [INFO] Apache Log4j Samples: Flume - Common ............... SUCCESS [
>>>  2.257 s]
>>> [INFO] Apache Log4j Samples: Flume - Remote ............... SUCCESS [
>>>  2.679 s]
>>> [INFO] Apache Log4j Samples: Flume - Embedded ............. SUCCESS [
>>>  6.387 s]
>>> [INFO] Apache Log4j Samples: Configuration ................ SUCCESS [
>>>  2.592 s]
>>> [INFO] Apache Log4j Samples: LoggerProperties ............. SUCCESS [
>>>  2.703 s]
>>> [INFO] Apache Log4j Scala 2.11 wrapper for Log4j API ...... SUCCESS [
>>> 25.789 s]
>>> [INFO] Apache Log4j Samples: Scala API .................... SUCCESS [
>>>  4.300 s]
>>> [INFO] Apache Log4j OSGi .................................. FAILURE [
>>>  8.806 s]
>>> [INFO] Apache Log4j BOM ................................... SKIPPED
>>> [INFO] Apache Log4j NoSQL ................................. SKIPPED
>>> [INFO] Apache Log4J Performance Tests ..................... SKIPPED
>>> [INFO] Apache Log4j Streaming Interface ................... SKIPPED
>>> [INFO] Apache Log4j JUL Adapter ........................... SKIPPED
>>> [INFO] Apache Log4j Liquibase Binding ..................... SKIPPED
>>> [INFO] Apache Log4j Scala 2.10 wrapper for Log4j API ...... SKIPPED
>>> [INFO] ------------------------------------------------------------
>>> ------------
>>> [INFO] BUILD FAILURE
>>> [INFO] ------------------------------------------------------------
>>> ------------
>>> [INFO] Total time: 20:41 min
>>> [INFO] Finished at: 2017-02-02T21:21:50-08:00
>>> [INFO] Final Memory: 50M/517M
>>> [INFO] ------------------------------------------------------------
>>> ------------
>>> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test
>>> (default-test) on project log4j-osgi: There are test failures.
>>> [ERROR]
>>> [ERROR] Please refer to C:\vcs\git\apache\logging\logg
>>> ing-log4j2\log4j-osgi\target\surefire-reports for the individual test
>>> results.
>>> [ERROR] -> [Help 1]
>>> [ERROR]
>>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>>> -e switch.
>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>> [ERROR]
>>> [ERROR] For more information about the errors and possible solutions,
>>> please read the following articles:
>>> [ERROR] [Help 1] http://cwiki.apache.org/conflu
>>> ence/display/MAVEN/MojoFailureException
>>> [ERROR]
>>> [ERROR] After correcting the problems, you can resume the build with the
>>> command
>>> [ERROR]   mvn <goals> -rf :log4j-osgi
>>>
>>>
>>> Gary
>>>
>>> On Thu, Feb 2, 2017 at 6:19 PM, Apache <ra...@dslextreme.com>
>>> wrote:
>>>
>>>> OK. I will have to fire up a Windows VM and test it as it doesn’t fail
>>>> on my Mac or in Linux.
>>>>
>>>> Ralph
>>>>
>>>> On Feb 2, 2017, at 7:17 PM, Remko Popma <re...@gmail.com> wrote:
>>>>
>>>> I'm seeing the same thing on my Windows pc.
>>>>
>>>> Sent from my iPhone
>>>>
>>>> On Feb 3, 2017, at 10:01, Gary Gregory <ga...@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 <bo...@gmail.com>
>



-- 
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

Re: RollingAppenderSizeTest failures

Posted by Matt Sicker <bo...@gmail.com>.
The Cassandra rule I made was just a simplified version of existing
Cassandra test runners. The main thing is calling a class inside a full
Cassandra distro that can start Cassandra simply from Java rather than from
a shell script like you'd normally do in a server situation.

Maybe try specifying that property it says is missing? I don't know why it
refers to a shell script when one isn't executed.

On 15 February 2017 at 00:35, Gary Gregory <ga...@gmail.com> wrote:

> What about CassandraCQLUnit (see https://groups.google.
> com/forum/#!topic/cassandra-unit-users/eeDycBfMfng)
>
> ?
>
> Gary
>
> On Fri, Feb 3, 2017 at 12:50 PM, Matt Sicker <bo...@gmail.com> wrote:
>
>> If embedded Cassandra doesn't work in Windows, then a JUnit
>> Assume.assumeFalse(isWindows()) could be added to the beginning of the
>> test. We have an isWindows() method somewhere in log4j-core or -api.
>>
>> On 3 February 2017 at 14:27, Apache <ra...@dslextreme.com> wrote:
>>
>>> They almost always seem to be platform specific, and almost always
>>> something to do with Windows. On the last one I find it odd that it
>>> mentions cassandra-env.sh. Obviously a shell script won’t normally run on
>>> windows, but I think I looked at that error several days ago and it seemed
>>> like no shell script should be involved.
>>>
>>> Ralph
>>>
>>> On Feb 3, 2017, at 1:10 PM, Matt Sicker <bo...@gmail.com> wrote:
>>>
>>> That's strange. I never tested that integration test in Windows, so
>>> perhaps it's platform-specific? Anyways, the equivalent Mongo integration
>>> test is @Ignore'd due to requiring a running Mongo, and the Cassandra test
>>> works similarly although it starts up Cassandra within the JVM for you.
>>>
>>> On 3 February 2017 at 13:10, Gary Gregory <ga...@gmail.com>
>>> wrote:
>>>
>>>> And if I ignore THAT OSGi test, I then fail in nosql :-(
>>>>
>>>> [INFO] --- maven-failsafe-plugin:2.19.1:integration-test
>>>> (integration-tests) @ log4j-nosql ---
>>>>
>>>> -------------------------------------------------------
>>>>  T E S T S
>>>> -------------------------------------------------------
>>>> Running org.apache.logging.log4j.nosql.appender.cassandra.CassandraA
>>>> ppenderIT
>>>> ERROR StatusLogger No log4j2 configuration file found. Using default
>>>> configuration: logging only errors to the console.
>>>> 11:00:39.333 [Log4j2-TF-1-Cassandra-1] ERROR
>>>> org.apache.cassandra.service.StartupChecks - cassandra.jmx.local.port
>>>> missing from cassandra-env.sh, unable to start local JMX service.
>>>> ERROR StatusLogger No log4j2 configuration file found. Using default
>>>> configuration: logging only errors to the console.
>>>>
>>>> Results :
>>>>
>>>> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>>>>
>>>> [INFO]
>>>> [INFO] --- maven-failsafe-plugin:2.19.1:verify (verify) @ log4j-nosql
>>>> ---
>>>> [INFO] ------------------------------------------------------------
>>>> ------------
>>>> [INFO] Reactor Summary:
>>>> [INFO]
>>>> [INFO] Apache Log4j NoSQL ................................. FAILURE [
>>>> 27.242 s]
>>>> [INFO] Apache Log4J Performance Tests ..................... SKIPPED
>>>> [INFO] Apache Log4j Streaming Interface ................... SKIPPED
>>>> [INFO] Apache Log4j JUL Adapter ........................... SKIPPED
>>>> [INFO] Apache Log4j Liquibase Binding ..................... SKIPPED
>>>> [INFO] Apache Log4j Scala 2.10 wrapper for Log4j API ...... SKIPPED
>>>> [INFO] ------------------------------------------------------------
>>>> ------------
>>>> [INFO] BUILD FAILURE
>>>> [INFO] ------------------------------------------------------------
>>>> ------------
>>>> [INFO] Total time: 29.063 s
>>>> [INFO] Finished at: 2017-02-03T11:00:55-08:00
>>>> [INFO] Final Memory: 49M/691M
>>>> [INFO] ------------------------------------------------------------
>>>> ------------
>>>> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.19.1:verify
>>>> (verify) on project log4j-nosql: There was a timeout or other error in the
>>>> fork -> [Help 1]
>>>> [ERROR]
>>>> [ERROR] To see the full stack trace of the errors, re-run Maven with
>>>> the -e switch.
>>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>>> [ERROR]
>>>> [ERROR] For more information about the errors and possible solutions,
>>>> please read the following articles:
>>>> [ERROR] [Help 1] http://cwiki.apache.org/conflu
>>>> ence/display/MAVEN/MojoExecutionException
>>>>
>>>> Thoughts?
>>>>
>>>> Gary
>>>>
>>>> On Fri, Feb 3, 2017 at 10:06 AM, Gary Gregory <ga...@gmail.com>
>>>> wrote:
>>>>
>>>>> If I @Ignore that one test, then I get (mvn clean install):
>>>>>
>>>>> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.842
>>>>> sec - in org.apache.logging.log4j.osgi.tests.equinox.EquinoxLoadApiBu
>>>>> ndleTest
>>>>>         at org.junit.internal.runners.sta
>>>>> tements.InvokeMethod.evaluate(InvokeMethod.java:17)
>>>>>         at org.junit.internal.runners.sta
>>>>> tements.RunBefores.evaluate(RunBefores.java:26)
>>>>>         at org.junit.rules.ExternalResour
>>>>> ce$1.evaluate(ExternalResource.java:48)
>>>>>         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
>>>>>         at org.junit.runners.ParentRunner
>>>>> .runLeaf(ParentRunner.java:325)
>>>>>         at org.junit.runners.BlockJUnit4C
>>>>> lassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>>>>>         at org.junit.runners.BlockJUnit4C
>>>>> lassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>>>>>         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>>>>>         at org.junit.runners.ParentRunner
>>>>> $1.schedule(ParentRunner.java:71)
>>>>>         at org.junit.runners.ParentRunner
>>>>> .runChildren(ParentRunner.java:288)
>>>>>         at org.junit.runners.ParentRunner
>>>>> .access$000(ParentRunner.java:58)
>>>>>         at org.junit.runners.ParentRunner
>>>>> $2.evaluate(ParentRunner.java:268)
>>>>>         at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>>>>>         at org.apache.maven.surefire.juni
>>>>> t4.JUnit4Provider.execute(JUnit4Provider.java:367)
>>>>>         at org.apache.maven.surefire.juni
>>>>> t4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
>>>>>         at org.apache.maven.surefire.juni
>>>>> t4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
>>>>>         at org.apache.maven.surefire.juni
>>>>> t4.JUnit4Provider.invoke(JUnit4Provider.java:161)
>>>>>         at org.apache.maven.surefire.boot
>>>>> er.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
>>>>>         at org.apache.maven.surefire.boot
>>>>> er.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
>>>>>         at org.apache.maven.surefire.boot
>>>>> er.ForkedBooter.main(ForkedBooter.java:121)
>>>>> Caused by: java.lang.ClassNotFoundException:
>>>>> org.apache.logging.log4j.core.util.ExecutorServices not found by
>>>>> org.apache.logging.log4j.api [1]
>>>>>         at org.apache.felix.framework.Bun
>>>>> dleWiringImpl.findClassOrResourceByDelegation(BundleWiringIm
>>>>> pl.java:1558)
>>>>>         at org.apache.felix.framework.Bun
>>>>> dleWiringImpl.access$400(BundleWiringImpl.java:79)
>>>>>         at org.apache.felix.framework.Bun
>>>>> dleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1998)
>>>>>         ... 45 more
>>>>> Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.048
>>>>> sec <<< FAILURE! - in org.apache.logging.log4j.osgi.
>>>>> tests.felix.FelixLoadApiBundleTest
>>>>> testClassNotFoundErrorLogger(org.apache.logging.log4j.osgi.t
>>>>> ests.felix.FelixLoadApiBundleTest)  Time elapsed: 0.419 sec  <<<
>>>>> ERROR!
>>>>> org.osgi.framework.BundleException: Error creating bundle cache.
>>>>> Caused by: java.lang.Exception: Unable to lock bundle cache:
>>>>> java.nio.channels.OverlappingFileLockException
>>>>>
>>>>>
>>>>> Results :
>>>>>
>>>>> Tests in error:
>>>>>   FelixLoadApiBundleTest.testClassNotFoundErrorLogger ╗ Bundle Error
>>>>> creating bu...
>>>>>
>>>>> Tests run: 10, Failures: 0, Errors: 1, Skipped: 0
>>>>>
>>>>> [INFO] ------------------------------------------------------------
>>>>> ------------
>>>>> [INFO] Reactor Summary:
>>>>> [INFO]
>>>>> [INFO] Apache Log4j 2 ..................................... SUCCESS [
>>>>>  1.847 s]
>>>>> [INFO] Apache Log4j API ................................... SUCCESS [
>>>>> 18.399 s]
>>>>> [INFO] Apache Log4j Core .................................. SUCCESS
>>>>> [18:01 min]
>>>>> [INFO] Apache Log4j 1.x Compatibility API ................. SUCCESS [
>>>>>  9.090 s]
>>>>> [INFO] Apache Log4j SLF4J Binding ......................... SUCCESS [
>>>>>  5.460 s]
>>>>> [INFO] Apache Log4j to SLF4J Adapter ...................... SUCCESS [
>>>>>  3.202 s]
>>>>> [INFO] Apache Log4j Commons Logging Bridge ................ SUCCESS [
>>>>>  2.712 s]
>>>>> [INFO] Apache Log4j Flume Bridge .......................... SUCCESS [
>>>>> 38.267 s]
>>>>> [INFO] Apache Log4j Web ................................... SUCCESS [
>>>>>  6.096 s]
>>>>> [INFO] Apache Log4j Tag Library ........................... SUCCESS [
>>>>> 15.773 s]
>>>>> [INFO] Apache Log4j JMX GUI ............................... SUCCESS [
>>>>>  1.741 s]
>>>>> [INFO] Apache Log4j Samples ............................... SUCCESS [
>>>>>  0.499 s]
>>>>> [INFO] Apache Log4j Samples: Flume - Common ............... SUCCESS [
>>>>>  2.257 s]
>>>>> [INFO] Apache Log4j Samples: Flume - Remote ............... SUCCESS [
>>>>>  2.679 s]
>>>>> [INFO] Apache Log4j Samples: Flume - Embedded ............. SUCCESS [
>>>>>  6.387 s]
>>>>> [INFO] Apache Log4j Samples: Configuration ................ SUCCESS [
>>>>>  2.592 s]
>>>>> [INFO] Apache Log4j Samples: LoggerProperties ............. SUCCESS [
>>>>>  2.703 s]
>>>>> [INFO] Apache Log4j Scala 2.11 wrapper for Log4j API ...... SUCCESS [
>>>>> 25.789 s]
>>>>> [INFO] Apache Log4j Samples: Scala API .................... SUCCESS [
>>>>>  4.300 s]
>>>>> [INFO] Apache Log4j OSGi .................................. FAILURE [
>>>>>  8.806 s]
>>>>> [INFO] Apache Log4j BOM ................................... SKIPPED
>>>>> [INFO] Apache Log4j NoSQL ................................. SKIPPED
>>>>> [INFO] Apache Log4J Performance Tests ..................... SKIPPED
>>>>> [INFO] Apache Log4j Streaming Interface ................... SKIPPED
>>>>> [INFO] Apache Log4j JUL Adapter ........................... SKIPPED
>>>>> [INFO] Apache Log4j Liquibase Binding ..................... SKIPPED
>>>>> [INFO] Apache Log4j Scala 2.10 wrapper for Log4j API ...... SKIPPED
>>>>> [INFO] ------------------------------------------------------------
>>>>> ------------
>>>>> [INFO] BUILD FAILURE
>>>>> [INFO] ------------------------------------------------------------
>>>>> ------------
>>>>> [INFO] Total time: 20:41 min
>>>>> [INFO] Finished at: 2017-02-02T21:21:50-08:00
>>>>> [INFO] Final Memory: 50M/517M
>>>>> [INFO] ------------------------------------------------------------
>>>>> ------------
>>>>> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test
>>>>> (default-test) on project log4j-osgi: There are test failures.
>>>>> [ERROR]
>>>>> [ERROR] Please refer to C:\vcs\git\apache\logging\logg
>>>>> ing-log4j2\log4j-osgi\target\surefire-reports for the individual test
>>>>> results.
>>>>> [ERROR] -> [Help 1]
>>>>> [ERROR]
>>>>> [ERROR] To see the full stack trace of the errors, re-run Maven with
>>>>> the -e switch.
>>>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>>>> [ERROR]
>>>>> [ERROR] For more information about the errors and possible solutions,
>>>>> please read the following articles:
>>>>> [ERROR] [Help 1] http://cwiki.apache.org/conflu
>>>>> ence/display/MAVEN/MojoFailureException
>>>>> [ERROR]
>>>>> [ERROR] After correcting the problems, you can resume the build with
>>>>> the command
>>>>> [ERROR]   mvn <goals> -rf :log4j-osgi
>>>>>
>>>>>
>>>>> Gary
>>>>>
>>>>> On Thu, Feb 2, 2017 at 6:19 PM, Apache <ra...@dslextreme.com>
>>>>> wrote:
>>>>>
>>>>>> OK. I will have to fire up a Windows VM and test it as it doesn’t
>>>>>> fail on my Mac or in Linux.
>>>>>>
>>>>>> Ralph
>>>>>>
>>>>>> On Feb 2, 2017, at 7:17 PM, Remko Popma <re...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>> I'm seeing the same thing on my Windows pc.
>>>>>>
>>>>>> Sent from my iPhone
>>>>>>
>>>>>> On Feb 3, 2017, at 10:01, Gary Gregory <ga...@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 <bo...@gmail.com>
>>>
>>>
>>>
>>
>>
>> --
>> Matt Sicker <bo...@gmail.com>
>>
>
>
>
> --
> 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 <bo...@gmail.com>

Re: RollingAppenderSizeTest failures

Posted by Gary Gregory <ga...@gmail.com>.
What about CassandraCQLUnit (see
https://groups.google.com/forum/#!topic/cassandra-unit-users/eeDycBfMfng)

?

Gary

On Fri, Feb 3, 2017 at 12:50 PM, Matt Sicker <bo...@gmail.com> wrote:

> If embedded Cassandra doesn't work in Windows, then a JUnit
> Assume.assumeFalse(isWindows()) could be added to the beginning of the
> test. We have an isWindows() method somewhere in log4j-core or -api.
>
> On 3 February 2017 at 14:27, Apache <ra...@dslextreme.com> wrote:
>
>> They almost always seem to be platform specific, and almost always
>> something to do with Windows. On the last one I find it odd that it
>> mentions cassandra-env.sh. Obviously a shell script won’t normally run on
>> windows, but I think I looked at that error several days ago and it seemed
>> like no shell script should be involved.
>>
>> Ralph
>>
>> On Feb 3, 2017, at 1:10 PM, Matt Sicker <bo...@gmail.com> wrote:
>>
>> That's strange. I never tested that integration test in Windows, so
>> perhaps it's platform-specific? Anyways, the equivalent Mongo integration
>> test is @Ignore'd due to requiring a running Mongo, and the Cassandra test
>> works similarly although it starts up Cassandra within the JVM for you.
>>
>> On 3 February 2017 at 13:10, Gary Gregory <ga...@gmail.com> wrote:
>>
>>> And if I ignore THAT OSGi test, I then fail in nosql :-(
>>>
>>> [INFO] --- maven-failsafe-plugin:2.19.1:integration-test
>>> (integration-tests) @ log4j-nosql ---
>>>
>>> -------------------------------------------------------
>>>  T E S T S
>>> -------------------------------------------------------
>>> Running org.apache.logging.log4j.nosql.appender.cassandra.CassandraA
>>> ppenderIT
>>> ERROR StatusLogger No log4j2 configuration file found. Using default
>>> configuration: logging only errors to the console.
>>> 11:00:39.333 [Log4j2-TF-1-Cassandra-1] ERROR
>>> org.apache.cassandra.service.StartupChecks - cassandra.jmx.local.port
>>> missing from cassandra-env.sh, unable to start local JMX service.
>>> ERROR StatusLogger No log4j2 configuration file found. Using default
>>> configuration: logging only errors to the console.
>>>
>>> Results :
>>>
>>> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>>>
>>> [INFO]
>>> [INFO] --- maven-failsafe-plugin:2.19.1:verify (verify) @ log4j-nosql
>>> ---
>>> [INFO] ------------------------------------------------------------
>>> ------------
>>> [INFO] Reactor Summary:
>>> [INFO]
>>> [INFO] Apache Log4j NoSQL ................................. FAILURE [
>>> 27.242 s]
>>> [INFO] Apache Log4J Performance Tests ..................... SKIPPED
>>> [INFO] Apache Log4j Streaming Interface ................... SKIPPED
>>> [INFO] Apache Log4j JUL Adapter ........................... SKIPPED
>>> [INFO] Apache Log4j Liquibase Binding ..................... SKIPPED
>>> [INFO] Apache Log4j Scala 2.10 wrapper for Log4j API ...... SKIPPED
>>> [INFO] ------------------------------------------------------------
>>> ------------
>>> [INFO] BUILD FAILURE
>>> [INFO] ------------------------------------------------------------
>>> ------------
>>> [INFO] Total time: 29.063 s
>>> [INFO] Finished at: 2017-02-03T11:00:55-08:00
>>> [INFO] Final Memory: 49M/691M
>>> [INFO] ------------------------------------------------------------
>>> ------------
>>> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.19.1:verify
>>> (verify) on project log4j-nosql: There was a timeout or other error in the
>>> fork -> [Help 1]
>>> [ERROR]
>>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>>> -e switch.
>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>> [ERROR]
>>> [ERROR] For more information about the errors and possible solutions,
>>> please read the following articles:
>>> [ERROR] [Help 1] http://cwiki.apache.org/conflu
>>> ence/display/MAVEN/MojoExecutionException
>>>
>>> Thoughts?
>>>
>>> Gary
>>>
>>> On Fri, Feb 3, 2017 at 10:06 AM, Gary Gregory <ga...@gmail.com>
>>> wrote:
>>>
>>>> If I @Ignore that one test, then I get (mvn clean install):
>>>>
>>>> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.842
>>>> sec - in org.apache.logging.log4j.osgi.tests.equinox.EquinoxLoadApiBu
>>>> ndleTest
>>>>         at org.junit.internal.runners.statements.InvokeMethod.evaluate(
>>>> InvokeMethod.java:17)
>>>>         at org.junit.internal.runners.statements.RunBefores.evaluate(Ru
>>>> nBefores.java:26)
>>>>         at org.junit.rules.ExternalResource$1.evaluate(ExternalResource
>>>> .java:48)
>>>>         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
>>>>         at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325
>>>> )
>>>>         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit
>>>> 4ClassRunner.java:78)
>>>>         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit
>>>> 4ClassRunner.java:57)
>>>>         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>>>>         at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:
>>>> 71)
>>>>         at org.junit.runners.ParentRunner.runChildren(ParentRunner.java
>>>> :288)
>>>>         at org.junit.runners.ParentRunner.access$000(ParentRunner.java:
>>>> 58)
>>>>         at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:
>>>> 268)
>>>>         at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>>>>         at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUni
>>>> t4Provider.java:367)
>>>>         at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithR
>>>> erun(JUnit4Provider.java:274)
>>>>         at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestS
>>>> et(JUnit4Provider.java:238)
>>>>         at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit
>>>> 4Provider.java:161)
>>>>         at org.apache.maven.surefire.booter.ForkedBooter.invokeProvider
>>>> InSameClassLoader(ForkedBooter.java:290)
>>>>         at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInPro
>>>> cess(ForkedBooter.java:242)
>>>>         at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBoo
>>>> ter.java:121)
>>>> Caused by: java.lang.ClassNotFoundException:
>>>> org.apache.logging.log4j.core.util.ExecutorServices not found by
>>>> org.apache.logging.log4j.api [1]
>>>>         at org.apache.felix.framework.BundleWiringImpl.findClassOrResou
>>>> rceByDelegation(BundleWiringImpl.java:1558)
>>>>         at org.apache.felix.framework.BundleWiringImpl.access$400(Bundl
>>>> eWiringImpl.java:79)
>>>>         at org.apache.felix.framework.BundleWiringImpl$BundleClassLoade
>>>> r.loadClass(BundleWiringImpl.java:1998)
>>>>         ... 45 more
>>>> Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.048
>>>> sec <<< FAILURE! - in org.apache.logging.log4j.osgi.
>>>> tests.felix.FelixLoadApiBundleTest
>>>> testClassNotFoundErrorLogger(org.apache.logging.log4j.osgi.t
>>>> ests.felix.FelixLoadApiBundleTest)  Time elapsed: 0.419 sec  <<< ERROR!
>>>> org.osgi.framework.BundleException: Error creating bundle cache.
>>>> Caused by: java.lang.Exception: Unable to lock bundle cache:
>>>> java.nio.channels.OverlappingFileLockException
>>>>
>>>>
>>>> Results :
>>>>
>>>> Tests in error:
>>>>   FelixLoadApiBundleTest.testClassNotFoundErrorLogger ╗ Bundle Error
>>>> creating bu...
>>>>
>>>> Tests run: 10, Failures: 0, Errors: 1, Skipped: 0
>>>>
>>>> [INFO] ------------------------------------------------------------
>>>> ------------
>>>> [INFO] Reactor Summary:
>>>> [INFO]
>>>> [INFO] Apache Log4j 2 ..................................... SUCCESS [
>>>>  1.847 s]
>>>> [INFO] Apache Log4j API ................................... SUCCESS [
>>>> 18.399 s]
>>>> [INFO] Apache Log4j Core .................................. SUCCESS
>>>> [18:01 min]
>>>> [INFO] Apache Log4j 1.x Compatibility API ................. SUCCESS [
>>>>  9.090 s]
>>>> [INFO] Apache Log4j SLF4J Binding ......................... SUCCESS [
>>>>  5.460 s]
>>>> [INFO] Apache Log4j to SLF4J Adapter ...................... SUCCESS [
>>>>  3.202 s]
>>>> [INFO] Apache Log4j Commons Logging Bridge ................ SUCCESS [
>>>>  2.712 s]
>>>> [INFO] Apache Log4j Flume Bridge .......................... SUCCESS [
>>>> 38.267 s]
>>>> [INFO] Apache Log4j Web ................................... SUCCESS [
>>>>  6.096 s]
>>>> [INFO] Apache Log4j Tag Library ........................... SUCCESS [
>>>> 15.773 s]
>>>> [INFO] Apache Log4j JMX GUI ............................... SUCCESS [
>>>>  1.741 s]
>>>> [INFO] Apache Log4j Samples ............................... SUCCESS [
>>>>  0.499 s]
>>>> [INFO] Apache Log4j Samples: Flume - Common ............... SUCCESS [
>>>>  2.257 s]
>>>> [INFO] Apache Log4j Samples: Flume - Remote ............... SUCCESS [
>>>>  2.679 s]
>>>> [INFO] Apache Log4j Samples: Flume - Embedded ............. SUCCESS [
>>>>  6.387 s]
>>>> [INFO] Apache Log4j Samples: Configuration ................ SUCCESS [
>>>>  2.592 s]
>>>> [INFO] Apache Log4j Samples: LoggerProperties ............. SUCCESS [
>>>>  2.703 s]
>>>> [INFO] Apache Log4j Scala 2.11 wrapper for Log4j API ...... SUCCESS [
>>>> 25.789 s]
>>>> [INFO] Apache Log4j Samples: Scala API .................... SUCCESS [
>>>>  4.300 s]
>>>> [INFO] Apache Log4j OSGi .................................. FAILURE [
>>>>  8.806 s]
>>>> [INFO] Apache Log4j BOM ................................... SKIPPED
>>>> [INFO] Apache Log4j NoSQL ................................. SKIPPED
>>>> [INFO] Apache Log4J Performance Tests ..................... SKIPPED
>>>> [INFO] Apache Log4j Streaming Interface ................... SKIPPED
>>>> [INFO] Apache Log4j JUL Adapter ........................... SKIPPED
>>>> [INFO] Apache Log4j Liquibase Binding ..................... SKIPPED
>>>> [INFO] Apache Log4j Scala 2.10 wrapper for Log4j API ...... SKIPPED
>>>> [INFO] ------------------------------------------------------------
>>>> ------------
>>>> [INFO] BUILD FAILURE
>>>> [INFO] ------------------------------------------------------------
>>>> ------------
>>>> [INFO] Total time: 20:41 min
>>>> [INFO] Finished at: 2017-02-02T21:21:50-08:00
>>>> [INFO] Final Memory: 50M/517M
>>>> [INFO] ------------------------------------------------------------
>>>> ------------
>>>> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test
>>>> (default-test) on project log4j-osgi: There are test failures.
>>>> [ERROR]
>>>> [ERROR] Please refer to C:\vcs\git\apache\logging\logg
>>>> ing-log4j2\log4j-osgi\target\surefire-reports for the individual test
>>>> results.
>>>> [ERROR] -> [Help 1]
>>>> [ERROR]
>>>> [ERROR] To see the full stack trace of the errors, re-run Maven with
>>>> the -e switch.
>>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>>> [ERROR]
>>>> [ERROR] For more information about the errors and possible solutions,
>>>> please read the following articles:
>>>> [ERROR] [Help 1] http://cwiki.apache.org/conflu
>>>> ence/display/MAVEN/MojoFailureException
>>>> [ERROR]
>>>> [ERROR] After correcting the problems, you can resume the build with
>>>> the command
>>>> [ERROR]   mvn <goals> -rf :log4j-osgi
>>>>
>>>>
>>>> Gary
>>>>
>>>> On Thu, Feb 2, 2017 at 6:19 PM, Apache <ra...@dslextreme.com>
>>>> wrote:
>>>>
>>>>> OK. I will have to fire up a Windows VM and test it as it doesn’t fail
>>>>> on my Mac or in Linux.
>>>>>
>>>>> Ralph
>>>>>
>>>>> On Feb 2, 2017, at 7:17 PM, Remko Popma <re...@gmail.com> wrote:
>>>>>
>>>>> I'm seeing the same thing on my Windows pc.
>>>>>
>>>>> Sent from my iPhone
>>>>>
>>>>> On Feb 3, 2017, at 10:01, Gary Gregory <ga...@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 <bo...@gmail.com>
>>
>>
>>
>
>
> --
> Matt Sicker <bo...@gmail.com>
>



-- 
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

Re: RollingAppenderSizeTest failures

Posted by Matt Sicker <bo...@gmail.com>.
If embedded Cassandra doesn't work in Windows, then a JUnit
Assume.assumeFalse(isWindows()) could be added to the beginning of the
test. We have an isWindows() method somewhere in log4j-core or -api.

On 3 February 2017 at 14:27, Apache <ra...@dslextreme.com> wrote:

> They almost always seem to be platform specific, and almost always
> something to do with Windows. On the last one I find it odd that it
> mentions cassandra-env.sh. Obviously a shell script won’t normally run on
> windows, but I think I looked at that error several days ago and it seemed
> like no shell script should be involved.
>
> Ralph
>
> On Feb 3, 2017, at 1:10 PM, Matt Sicker <bo...@gmail.com> wrote:
>
> That's strange. I never tested that integration test in Windows, so
> perhaps it's platform-specific? Anyways, the equivalent Mongo integration
> test is @Ignore'd due to requiring a running Mongo, and the Cassandra test
> works similarly although it starts up Cassandra within the JVM for you.
>
> On 3 February 2017 at 13:10, Gary Gregory <ga...@gmail.com> wrote:
>
>> And if I ignore THAT OSGi test, I then fail in nosql :-(
>>
>> [INFO] --- maven-failsafe-plugin:2.19.1:integration-test
>> (integration-tests) @ log4j-nosql ---
>>
>> -------------------------------------------------------
>>  T E S T S
>> -------------------------------------------------------
>> Running org.apache.logging.log4j.nosql.appender.cassandra.CassandraA
>> ppenderIT
>> ERROR StatusLogger No log4j2 configuration file found. Using default
>> configuration: logging only errors to the console.
>> 11:00:39.333 [Log4j2-TF-1-Cassandra-1] ERROR
>> org.apache.cassandra.service.StartupChecks - cassandra.jmx.local.port
>> missing from cassandra-env.sh, unable to start local JMX service.
>> ERROR StatusLogger No log4j2 configuration file found. Using default
>> configuration: logging only errors to the console.
>>
>> Results :
>>
>> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>>
>> [INFO]
>> [INFO] --- maven-failsafe-plugin:2.19.1:verify (verify) @ log4j-nosql ---
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Apache Log4j NoSQL ................................. FAILURE [
>> 27.242 s]
>> [INFO] Apache Log4J Performance Tests ..................... SKIPPED
>> [INFO] Apache Log4j Streaming Interface ................... SKIPPED
>> [INFO] Apache Log4j JUL Adapter ........................... SKIPPED
>> [INFO] Apache Log4j Liquibase Binding ..................... SKIPPED
>> [INFO] Apache Log4j Scala 2.10 wrapper for Log4j API ...... SKIPPED
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO] BUILD FAILURE
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO] Total time: 29.063 s
>> [INFO] Finished at: 2017-02-03T11:00:55-08:00
>> [INFO] Final Memory: 49M/691M
>> [INFO] ------------------------------------------------------------
>> ------------
>> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.19.1:verify
>> (verify) on project log4j-nosql: There was a timeout or other error in the
>> fork -> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1] http://cwiki.apache.org/conflu
>> ence/display/MAVEN/MojoExecutionException
>>
>> Thoughts?
>>
>> Gary
>>
>> On Fri, Feb 3, 2017 at 10:06 AM, Gary Gregory <ga...@gmail.com>
>> wrote:
>>
>>> If I @Ignore that one test, then I get (mvn clean install):
>>>
>>> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.842
>>> sec - in org.apache.logging.log4j.osgi.tests.equinox.EquinoxLoadApiBu
>>> ndleTest
>>>         at org.junit.internal.runners.statements.InvokeMethod.evaluate(
>>> InvokeMethod.java:17)
>>>         at org.junit.internal.runners.statements.RunBefores.evaluate(Ru
>>> nBefores.java:26)
>>>         at org.junit.rules.ExternalResource$1.evaluate(ExternalResource
>>> .java:48)
>>>         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
>>>         at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>>>         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit
>>> 4ClassRunner.java:78)
>>>         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit
>>> 4ClassRunner.java:57)
>>>         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>>>         at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:
>>> 71)
>>>         at org.junit.runners.ParentRunner.runChildren(ParentRunner.java
>>> :288)
>>>         at org.junit.runners.ParentRunner.access$000(ParentRunner.java:
>>> 58)
>>>         at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:
>>> 268)
>>>         at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>>>         at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUni
>>> t4Provider.java:367)
>>>         at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithR
>>> erun(JUnit4Provider.java:274)
>>>         at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestS
>>> et(JUnit4Provider.java:238)
>>>         at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit
>>> 4Provider.java:161)
>>>         at org.apache.maven.surefire.booter.ForkedBooter.invokeProvider
>>> InSameClassLoader(ForkedBooter.java:290)
>>>         at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInPro
>>> cess(ForkedBooter.java:242)
>>>         at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBoo
>>> ter.java:121)
>>> Caused by: java.lang.ClassNotFoundException:
>>> org.apache.logging.log4j.core.util.ExecutorServices not found by
>>> org.apache.logging.log4j.api [1]
>>>         at org.apache.felix.framework.BundleWiringImpl.findClassOrResou
>>> rceByDelegation(BundleWiringImpl.java:1558)
>>>         at org.apache.felix.framework.BundleWiringImpl.access$400(Bundl
>>> eWiringImpl.java:79)
>>>         at org.apache.felix.framework.BundleWiringImpl$BundleClassLoade
>>> r.loadClass(BundleWiringImpl.java:1998)
>>>         ... 45 more
>>> Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.048
>>> sec <<< FAILURE! - in org.apache.logging.log4j.osgi.
>>> tests.felix.FelixLoadApiBundleTest
>>> testClassNotFoundErrorLogger(org.apache.logging.log4j.osgi.t
>>> ests.felix.FelixLoadApiBundleTest)  Time elapsed: 0.419 sec  <<< ERROR!
>>> org.osgi.framework.BundleException: Error creating bundle cache.
>>> Caused by: java.lang.Exception: Unable to lock bundle cache:
>>> java.nio.channels.OverlappingFileLockException
>>>
>>>
>>> Results :
>>>
>>> Tests in error:
>>>   FelixLoadApiBundleTest.testClassNotFoundErrorLogger ╗ Bundle Error
>>> creating bu...
>>>
>>> Tests run: 10, Failures: 0, Errors: 1, Skipped: 0
>>>
>>> [INFO] ------------------------------------------------------------
>>> ------------
>>> [INFO] Reactor Summary:
>>> [INFO]
>>> [INFO] Apache Log4j 2 ..................................... SUCCESS [
>>>  1.847 s]
>>> [INFO] Apache Log4j API ................................... SUCCESS [
>>> 18.399 s]
>>> [INFO] Apache Log4j Core .................................. SUCCESS
>>> [18:01 min]
>>> [INFO] Apache Log4j 1.x Compatibility API ................. SUCCESS [
>>>  9.090 s]
>>> [INFO] Apache Log4j SLF4J Binding ......................... SUCCESS [
>>>  5.460 s]
>>> [INFO] Apache Log4j to SLF4J Adapter ...................... SUCCESS [
>>>  3.202 s]
>>> [INFO] Apache Log4j Commons Logging Bridge ................ SUCCESS [
>>>  2.712 s]
>>> [INFO] Apache Log4j Flume Bridge .......................... SUCCESS [
>>> 38.267 s]
>>> [INFO] Apache Log4j Web ................................... SUCCESS [
>>>  6.096 s]
>>> [INFO] Apache Log4j Tag Library ........................... SUCCESS [
>>> 15.773 s]
>>> [INFO] Apache Log4j JMX GUI ............................... SUCCESS [
>>>  1.741 s]
>>> [INFO] Apache Log4j Samples ............................... SUCCESS [
>>>  0.499 s]
>>> [INFO] Apache Log4j Samples: Flume - Common ............... SUCCESS [
>>>  2.257 s]
>>> [INFO] Apache Log4j Samples: Flume - Remote ............... SUCCESS [
>>>  2.679 s]
>>> [INFO] Apache Log4j Samples: Flume - Embedded ............. SUCCESS [
>>>  6.387 s]
>>> [INFO] Apache Log4j Samples: Configuration ................ SUCCESS [
>>>  2.592 s]
>>> [INFO] Apache Log4j Samples: LoggerProperties ............. SUCCESS [
>>>  2.703 s]
>>> [INFO] Apache Log4j Scala 2.11 wrapper for Log4j API ...... SUCCESS [
>>> 25.789 s]
>>> [INFO] Apache Log4j Samples: Scala API .................... SUCCESS [
>>>  4.300 s]
>>> [INFO] Apache Log4j OSGi .................................. FAILURE [
>>>  8.806 s]
>>> [INFO] Apache Log4j BOM ................................... SKIPPED
>>> [INFO] Apache Log4j NoSQL ................................. SKIPPED
>>> [INFO] Apache Log4J Performance Tests ..................... SKIPPED
>>> [INFO] Apache Log4j Streaming Interface ................... SKIPPED
>>> [INFO] Apache Log4j JUL Adapter ........................... SKIPPED
>>> [INFO] Apache Log4j Liquibase Binding ..................... SKIPPED
>>> [INFO] Apache Log4j Scala 2.10 wrapper for Log4j API ...... SKIPPED
>>> [INFO] ------------------------------------------------------------
>>> ------------
>>> [INFO] BUILD FAILURE
>>> [INFO] ------------------------------------------------------------
>>> ------------
>>> [INFO] Total time: 20:41 min
>>> [INFO] Finished at: 2017-02-02T21:21:50-08:00
>>> [INFO] Final Memory: 50M/517M
>>> [INFO] ------------------------------------------------------------
>>> ------------
>>> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test
>>> (default-test) on project log4j-osgi: There are test failures.
>>> [ERROR]
>>> [ERROR] Please refer to C:\vcs\git\apache\logging\logg
>>> ing-log4j2\log4j-osgi\target\surefire-reports for the individual test
>>> results.
>>> [ERROR] -> [Help 1]
>>> [ERROR]
>>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>>> -e switch.
>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>> [ERROR]
>>> [ERROR] For more information about the errors and possible solutions,
>>> please read the following articles:
>>> [ERROR] [Help 1] http://cwiki.apache.org/conflu
>>> ence/display/MAVEN/MojoFailureException
>>> [ERROR]
>>> [ERROR] After correcting the problems, you can resume the build with the
>>> command
>>> [ERROR]   mvn <goals> -rf :log4j-osgi
>>>
>>>
>>> Gary
>>>
>>> On Thu, Feb 2, 2017 at 6:19 PM, Apache <ra...@dslextreme.com>
>>> wrote:
>>>
>>>> OK. I will have to fire up a Windows VM and test it as it doesn’t fail
>>>> on my Mac or in Linux.
>>>>
>>>> Ralph
>>>>
>>>> On Feb 2, 2017, at 7:17 PM, Remko Popma <re...@gmail.com> wrote:
>>>>
>>>> I'm seeing the same thing on my Windows pc.
>>>>
>>>> Sent from my iPhone
>>>>
>>>> On Feb 3, 2017, at 10:01, Gary Gregory <ga...@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 <bo...@gmail.com>
>
>
>


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

Re: RollingAppenderSizeTest failures

Posted by Apache <ra...@dslextreme.com>.
They almost always seem to be platform specific, and almost always something to do with Windows. On the last one I find it odd that it mentions cassandra-env.sh. Obviously a shell script won’t normally run on windows, but I think I looked at that error several days ago and it seemed like no shell script should be involved.

Ralph

> On Feb 3, 2017, at 1:10 PM, Matt Sicker <bo...@gmail.com> wrote:
> 
> That's strange. I never tested that integration test in Windows, so perhaps it's platform-specific? Anyways, the equivalent Mongo integration test is @Ignore'd due to requiring a running Mongo, and the Cassandra test works similarly although it starts up Cassandra within the JVM for you.
> 
> On 3 February 2017 at 13:10, Gary Gregory <garydgregory@gmail.com <ma...@gmail.com>> wrote:
> And if I ignore THAT OSGi test, I then fail in nosql :-(
> 
> [INFO] --- maven-failsafe-plugin:2.19.1:integration-test (integration-tests) @ log4j-nosql ---
> 
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.logging.log4j.nosql.appender.cassandra.CassandraAppenderIT
> ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
> 11:00:39.333 [Log4j2-TF-1-Cassandra-1] ERROR org.apache.cassandra.service.StartupChecks - cassandra.jmx.local.port missing from cassandra-env.sh, unable to start local JMX service.
> ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
> 
> Results :
> 
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> 
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.19.1:verify (verify) @ log4j-nosql ---
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Log4j NoSQL ................................. FAILURE [ 27.242 s]
> [INFO] Apache Log4J Performance Tests ..................... SKIPPED
> [INFO] Apache Log4j Streaming Interface ................... SKIPPED
> [INFO] Apache Log4j JUL Adapter ........................... SKIPPED
> [INFO] Apache Log4j Liquibase Binding ..................... SKIPPED
> [INFO] Apache Log4j Scala 2.10 wrapper for Log4j API ...... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 29.063 s
> [INFO] Finished at: 2017-02-03T11:00:55-08:00
> [INFO] Final Memory: 49M/691M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.19.1:verify (verify) on project log4j-nosql: There was a timeout or other error in the fork -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException <http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException>
> 
> Thoughts?
> 
> Gary
> 
> On Fri, Feb 3, 2017 at 10:06 AM, Gary Gregory <garydgregory@gmail.com <ma...@gmail.com>> wrote:
> If I @Ignore that one test, then I get (mvn clean install):
> 
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.842 sec - in org.apache.logging.log4j.osgi.tests.equinox.EquinoxLoadApiBundleTest
>         at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>         at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>         at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
>         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
>         at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>         at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>         at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>         at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>         at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>         at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
>         at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
>         at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
>         at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
> Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.core.util.ExecutorServices not found by org.apache.logging.log4j.api [1]
>         at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1558)
>         at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:79)
>         at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1998)
>         ... 45 more
> Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.048 sec <<< FAILURE! - in org.apache.logging.log4j.osgi.tests.felix.FelixLoadApiBundleTest
> testClassNotFoundErrorLogger(org.apache.logging.log4j.osgi.tests.felix.FelixLoadApiBundleTest)  Time elapsed: 0.419 sec  <<< ERROR!
> org.osgi.framework.BundleException: Error creating bundle cache.
> Caused by: java.lang.Exception: Unable to lock bundle cache: java.nio.channels.OverlappingFileLockException
> 
> 
> Results :
> 
> Tests in error:
>   FelixLoadApiBundleTest.testClassNotFoundErrorLogger ╗ Bundle Error creating bu...
> 
> Tests run: 10, Failures: 0, Errors: 1, Skipped: 0
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Log4j 2 ..................................... SUCCESS [  1.847 s]
> [INFO] Apache Log4j API ................................... SUCCESS [ 18.399 s]
> [INFO] Apache Log4j Core .................................. SUCCESS [18:01 min]
> [INFO] Apache Log4j 1.x Compatibility API ................. SUCCESS [  9.090 s]
> [INFO] Apache Log4j SLF4J Binding ......................... SUCCESS [  5.460 s]
> [INFO] Apache Log4j to SLF4J Adapter ...................... SUCCESS [  3.202 s]
> [INFO] Apache Log4j Commons Logging Bridge ................ SUCCESS [  2.712 s]
> [INFO] Apache Log4j Flume Bridge .......................... SUCCESS [ 38.267 s]
> [INFO] Apache Log4j Web ................................... SUCCESS [  6.096 s]
> [INFO] Apache Log4j Tag Library ........................... SUCCESS [ 15.773 s]
> [INFO] Apache Log4j JMX GUI ............................... SUCCESS [  1.741 s]
> [INFO] Apache Log4j Samples ............................... SUCCESS [  0.499 s]
> [INFO] Apache Log4j Samples: Flume - Common ............... SUCCESS [  2.257 s]
> [INFO] Apache Log4j Samples: Flume - Remote ............... SUCCESS [  2.679 s]
> [INFO] Apache Log4j Samples: Flume - Embedded ............. SUCCESS [  6.387 s]
> [INFO] Apache Log4j Samples: Configuration ................ SUCCESS [  2.592 s]
> [INFO] Apache Log4j Samples: LoggerProperties ............. SUCCESS [  2.703 s]
> [INFO] Apache Log4j Scala 2.11 wrapper for Log4j API ...... SUCCESS [ 25.789 s]
> [INFO] Apache Log4j Samples: Scala API .................... SUCCESS [  4.300 s]
> [INFO] Apache Log4j OSGi .................................. FAILURE [  8.806 s]
> [INFO] Apache Log4j BOM ................................... SKIPPED
> [INFO] Apache Log4j NoSQL ................................. SKIPPED
> [INFO] Apache Log4J Performance Tests ..................... SKIPPED
> [INFO] Apache Log4j Streaming Interface ................... SKIPPED
> [INFO] Apache Log4j JUL Adapter ........................... SKIPPED
> [INFO] Apache Log4j Liquibase Binding ..................... SKIPPED
> [INFO] Apache Log4j Scala 2.10 wrapper for Log4j API ...... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 20:41 min
> [INFO] Finished at: 2017-02-02T21:21:50-08:00
> [INFO] Final Memory: 50M/517M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project log4j-osgi: There are test failures.
> [ERROR]
> [ERROR] Please refer to C:\vcs\git\apache\logging\logging-log4j2\log4j-osgi\target\surefire-reports for the individual test results.
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException <http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException>
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :log4j-osgi
> 
> 
> Gary
> 
> On Thu, Feb 2, 2017 at 6:19 PM, Apache <ralph.goers@dslextreme.com <ma...@dslextreme.com>> wrote:
> OK. I will have to fire up a Windows VM and test it as it doesn’t fail on my Mac or in Linux.
> 
> Ralph
> 
>> On Feb 2, 2017, at 7:17 PM, Remko Popma <remko.popma@gmail.com <ma...@gmail.com>> wrote:
>> 
>> I'm seeing the same thing on my Windows pc. 
>> 
>> Sent from my iPhone
>> 
>> On Feb 3, 2017, at 10:01, Gary Gregory <garydgregory@gmail.com <ma...@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 <ma...@gmail.com> | ggregory@apache.org  <ma...@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 <http://garygregory.wordpress.com/> 
>>> Home: http://garygregory.com/ <http://garygregory.com/>
>>> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
> 
> 
> 
> -- 
> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org  <ma...@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 <http://garygregory.wordpress.com/> 
> Home: http://garygregory.com/ <http://garygregory.com/>
> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
> 
> 
> -- 
> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org  <ma...@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 <http://garygregory.wordpress.com/> 
> Home: http://garygregory.com/ <http://garygregory.com/>
> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
> 
> 
> -- 
> Matt Sicker <boards@gmail.com <ma...@gmail.com>>


Re: RollingAppenderSizeTest failures

Posted by Matt Sicker <bo...@gmail.com>.
That's strange. I never tested that integration test in Windows, so perhaps
it's platform-specific? Anyways, the equivalent Mongo integration test is
@Ignore'd due to requiring a running Mongo, and the Cassandra test works
similarly although it starts up Cassandra within the JVM for you.

On 3 February 2017 at 13:10, Gary Gregory <ga...@gmail.com> wrote:

> And if I ignore THAT OSGi test, I then fail in nosql :-(
>
> [INFO] --- maven-failsafe-plugin:2.19.1:integration-test
> (integration-tests) @ log4j-nosql ---
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.logging.log4j.nosql.appender.cassandra.
> CassandraAppenderIT
> ERROR StatusLogger No log4j2 configuration file found. Using default
> configuration: logging only errors to the console.
> 11:00:39.333 [Log4j2-TF-1-Cassandra-1] ERROR org.apache.cassandra.service.StartupChecks
> - cassandra.jmx.local.port missing from cassandra-env.sh, unable to start
> local JMX service.
> ERROR StatusLogger No log4j2 configuration file found. Using default
> configuration: logging only errors to the console.
>
> Results :
>
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.19.1:verify (verify) @ log4j-nosql ---
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Log4j NoSQL ................................. FAILURE [
> 27.242 s]
> [INFO] Apache Log4J Performance Tests ..................... SKIPPED
> [INFO] Apache Log4j Streaming Interface ................... SKIPPED
> [INFO] Apache Log4j JUL Adapter ........................... SKIPPED
> [INFO] Apache Log4j Liquibase Binding ..................... SKIPPED
> [INFO] Apache Log4j Scala 2.10 wrapper for Log4j API ...... SKIPPED
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] Total time: 29.063 s
> [INFO] Finished at: 2017-02-03T11:00:55-08:00
> [INFO] Final Memory: 49M/691M
> [INFO] ------------------------------------------------------------
> ------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:
> maven-failsafe-plugin:2.19.1:verify (verify) on project log4j-nosql:
> There was a timeout or other error in the fork -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/
> MojoExecutionException
>
> Thoughts?
>
> Gary
>
> On Fri, Feb 3, 2017 at 10:06 AM, Gary Gregory <ga...@gmail.com>
> wrote:
>
>> If I @Ignore that one test, then I get (mvn clean install):
>>
>> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.842 sec
>> - in org.apache.logging.log4j.osgi.tests.equinox.EquinoxLoadApiBundleTest
>>         at org.junit.internal.runners.statements.InvokeMethod.evaluate(
>> InvokeMethod.java:17)
>>         at org.junit.internal.runners.statements.RunBefores.evaluate(
>> RunBefores.java:26)
>>         at org.junit.rules.ExternalResource$1.evaluate(ExternalResource
>> .java:48)
>>         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
>>         at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>>         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit
>> 4ClassRunner.java:78)
>>         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit
>> 4ClassRunner.java:57)
>>         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>>         at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:
>> 71)
>>         at org.junit.runners.ParentRunner.runChildren(ParentRunner.
>> java:288)
>>         at org.junit.runners.ParentRunner.access$000(ParentRunner.java:
>> 58)
>>         at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:
>> 268)
>>         at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>>         at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUni
>> t4Provider.java:367)
>>         at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithR
>> erun(JUnit4Provider.java:274)
>>         at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestS
>> et(JUnit4Provider.java:238)
>>         at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit
>> 4Provider.java:161)
>>         at org.apache.maven.surefire.booter.ForkedBooter.invokeProvider
>> InSameClassLoader(ForkedBooter.java:290)
>>         at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInPro
>> cess(ForkedBooter.java:242)
>>         at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBoo
>> ter.java:121)
>> Caused by: java.lang.ClassNotFoundException:
>> org.apache.logging.log4j.core.util.ExecutorServices not found by
>> org.apache.logging.log4j.api [1]
>>         at org.apache.felix.framework.BundleWiringImpl.findClassOrResou
>> rceByDelegation(BundleWiringImpl.java:1558)
>>         at org.apache.felix.framework.BundleWiringImpl.access$400(Bundl
>> eWiringImpl.java:79)
>>         at org.apache.felix.framework.BundleWiringImpl$BundleClassLoade
>> r.loadClass(BundleWiringImpl.java:1998)
>>         ... 45 more
>> Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.048 sec
>> <<< FAILURE! - in org.apache.logging.log4j.osgi.
>> tests.felix.FelixLoadApiBundleTest
>> testClassNotFoundErrorLogger(org.apache.logging.log4j.osgi.t
>> ests.felix.FelixLoadApiBundleTest)  Time elapsed: 0.419 sec  <<< ERROR!
>> org.osgi.framework.BundleException: Error creating bundle cache.
>> Caused by: java.lang.Exception: Unable to lock bundle cache:
>> java.nio.channels.OverlappingFileLockException
>>
>>
>> Results :
>>
>> Tests in error:
>>   FelixLoadApiBundleTest.testClassNotFoundErrorLogger ╗ Bundle Error
>> creating bu...
>>
>> Tests run: 10, Failures: 0, Errors: 1, Skipped: 0
>>
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Apache Log4j 2 ..................................... SUCCESS [
>>  1.847 s]
>> [INFO] Apache Log4j API ................................... SUCCESS [
>> 18.399 s]
>> [INFO] Apache Log4j Core .................................. SUCCESS
>> [18:01 min]
>> [INFO] Apache Log4j 1.x Compatibility API ................. SUCCESS [
>>  9.090 s]
>> [INFO] Apache Log4j SLF4J Binding ......................... SUCCESS [
>>  5.460 s]
>> [INFO] Apache Log4j to SLF4J Adapter ...................... SUCCESS [
>>  3.202 s]
>> [INFO] Apache Log4j Commons Logging Bridge ................ SUCCESS [
>>  2.712 s]
>> [INFO] Apache Log4j Flume Bridge .......................... SUCCESS [
>> 38.267 s]
>> [INFO] Apache Log4j Web ................................... SUCCESS [
>>  6.096 s]
>> [INFO] Apache Log4j Tag Library ........................... SUCCESS [
>> 15.773 s]
>> [INFO] Apache Log4j JMX GUI ............................... SUCCESS [
>>  1.741 s]
>> [INFO] Apache Log4j Samples ............................... SUCCESS [
>>  0.499 s]
>> [INFO] Apache Log4j Samples: Flume - Common ............... SUCCESS [
>>  2.257 s]
>> [INFO] Apache Log4j Samples: Flume - Remote ............... SUCCESS [
>>  2.679 s]
>> [INFO] Apache Log4j Samples: Flume - Embedded ............. SUCCESS [
>>  6.387 s]
>> [INFO] Apache Log4j Samples: Configuration ................ SUCCESS [
>>  2.592 s]
>> [INFO] Apache Log4j Samples: LoggerProperties ............. SUCCESS [
>>  2.703 s]
>> [INFO] Apache Log4j Scala 2.11 wrapper for Log4j API ...... SUCCESS [
>> 25.789 s]
>> [INFO] Apache Log4j Samples: Scala API .................... SUCCESS [
>>  4.300 s]
>> [INFO] Apache Log4j OSGi .................................. FAILURE [
>>  8.806 s]
>> [INFO] Apache Log4j BOM ................................... SKIPPED
>> [INFO] Apache Log4j NoSQL ................................. SKIPPED
>> [INFO] Apache Log4J Performance Tests ..................... SKIPPED
>> [INFO] Apache Log4j Streaming Interface ................... SKIPPED
>> [INFO] Apache Log4j JUL Adapter ........................... SKIPPED
>> [INFO] Apache Log4j Liquibase Binding ..................... SKIPPED
>> [INFO] Apache Log4j Scala 2.10 wrapper for Log4j API ...... SKIPPED
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO] BUILD FAILURE
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO] Total time: 20:41 min
>> [INFO] Finished at: 2017-02-02T21:21:50-08:00
>> [INFO] Final Memory: 50M/517M
>> [INFO] ------------------------------------------------------------
>> ------------
>> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test
>> (default-test) on project log4j-osgi: There are test failures.
>> [ERROR]
>> [ERROR] Please refer to C:\vcs\git\apache\logging\logg
>> ing-log4j2\log4j-osgi\target\surefire-reports for the individual test
>> results.
>> [ERROR] -> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1] http://cwiki.apache.org/conflu
>> ence/display/MAVEN/MojoFailureException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>> [ERROR]   mvn <goals> -rf :log4j-osgi
>>
>>
>> Gary
>>
>> On Thu, Feb 2, 2017 at 6:19 PM, Apache <ra...@dslextreme.com>
>> wrote:
>>
>>> OK. I will have to fire up a Windows VM and test it as it doesn’t fail
>>> on my Mac or in Linux.
>>>
>>> Ralph
>>>
>>> On Feb 2, 2017, at 7:17 PM, Remko Popma <re...@gmail.com> wrote:
>>>
>>> I'm seeing the same thing on my Windows pc.
>>>
>>> Sent from my iPhone
>>>
>>> On Feb 3, 2017, at 10:01, Gary Gregory <ga...@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 <bo...@gmail.com>

Re: RollingAppenderSizeTest failures

Posted by Gary Gregory <ga...@gmail.com>.
And if I ignore THAT OSGi test, I then fail in nosql :-(

[INFO] --- maven-failsafe-plugin:2.19.1:integration-test
(integration-tests) @ log4j-nosql ---

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running
org.apache.logging.log4j.nosql.appender.cassandra.CassandraAppenderIT
ERROR StatusLogger No log4j2 configuration file found. Using default
configuration: logging only errors to the console.
11:00:39.333 [Log4j2-TF-1-Cassandra-1] ERROR
org.apache.cassandra.service.StartupChecks - cassandra.jmx.local.port
missing from cassandra-env.sh, unable to start local JMX service.
ERROR StatusLogger No log4j2 configuration file found. Using default
configuration: logging only errors to the console.

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-failsafe-plugin:2.19.1:verify (verify) @ log4j-nosql ---
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Log4j NoSQL ................................. FAILURE [
27.242 s]
[INFO] Apache Log4J Performance Tests ..................... SKIPPED
[INFO] Apache Log4j Streaming Interface ................... SKIPPED
[INFO] Apache Log4j JUL Adapter ........................... SKIPPED
[INFO] Apache Log4j Liquibase Binding ..................... SKIPPED
[INFO] Apache Log4j Scala 2.10 wrapper for Log4j API ...... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 29.063 s
[INFO] Finished at: 2017-02-03T11:00:55-08:00
[INFO] Final Memory: 49M/691M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-failsafe-plugin:2.19.1:verify (verify) on
project log4j-nosql: There was a timeout or other error in the fork ->
[Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Thoughts?

Gary

On Fri, Feb 3, 2017 at 10:06 AM, Gary Gregory <ga...@gmail.com>
wrote:

> If I @Ignore that one test, then I get (mvn clean install):
>
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.842 sec
> - in org.apache.logging.log4j.osgi.tests.equinox.EquinoxLoadApiBundleTest
>         at org.junit.internal.runners.statements.InvokeMethod.
> evaluate(InvokeMethod.java:17)
>         at org.junit.internal.runners.statements.RunBefores.
> evaluate(RunBefores.java:26)
>         at org.junit.rules.ExternalResource$1.evaluate(
> ExternalResource.java:48)
>         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
>         at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>         at org.junit.runners.BlockJUnit4ClassRunner.runChild(
> BlockJUnit4ClassRunner.java:78)
>         at org.junit.runners.BlockJUnit4ClassRunner.runChild(
> BlockJUnit4ClassRunner.java:57)
>         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>         at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>         at org.junit.runners.ParentRunner.runChildren(
> ParentRunner.java:288)
>         at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>         at org.junit.runners.ParentRunner$2.evaluate(
> ParentRunner.java:268)
>         at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.execute(
> JUnit4Provider.java:367)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.
> executeWithRerun(JUnit4Provider.java:274)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.
> executeTestSet(JUnit4Provider.java:238)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(
> JUnit4Provider.java:161)
>         at org.apache.maven.surefire.booter.ForkedBooter.
> invokeProviderInSameClassLoader(ForkedBooter.java:290)
>         at org.apache.maven.surefire.booter.ForkedBooter.
> runSuitesInProcess(ForkedBooter.java:242)
>         at org.apache.maven.surefire.booter.ForkedBooter.main(
> ForkedBooter.java:121)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.logging.log4j.core.util.ExecutorServices not found by
> org.apache.logging.log4j.api [1]
>         at org.apache.felix.framework.BundleWiringImpl.
> findClassOrResourceByDelegation(BundleWiringImpl.java:1558)
>         at org.apache.felix.framework.BundleWiringImpl.access$400(
> BundleWiringImpl.java:79)
>         at org.apache.felix.framework.BundleWiringImpl$
> BundleClassLoader.loadClass(BundleWiringImpl.java:1998)
>         ... 45 more
> Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.048 sec
> <<< FAILURE! - in org.apache.logging.log4j.osgi.tests.felix.
> FelixLoadApiBundleTest
> testClassNotFoundErrorLogger(org.apache.logging.log4j.osgi.tests.felix.FelixLoadApiBundleTest)
>  Time elapsed: 0.419 sec  <<< ERROR!
> org.osgi.framework.BundleException: Error creating bundle cache.
> Caused by: java.lang.Exception: Unable to lock bundle cache:
> java.nio.channels.OverlappingFileLockException
>
>
> Results :
>
> Tests in error:
>   FelixLoadApiBundleTest.testClassNotFoundErrorLogger ╗ Bundle Error
> creating bu...
>
> Tests run: 10, Failures: 0, Errors: 1, Skipped: 0
>
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Log4j 2 ..................................... SUCCESS [
>  1.847 s]
> [INFO] Apache Log4j API ................................... SUCCESS [
> 18.399 s]
> [INFO] Apache Log4j Core .................................. SUCCESS
> [18:01 min]
> [INFO] Apache Log4j 1.x Compatibility API ................. SUCCESS [
>  9.090 s]
> [INFO] Apache Log4j SLF4J Binding ......................... SUCCESS [
>  5.460 s]
> [INFO] Apache Log4j to SLF4J Adapter ...................... SUCCESS [
>  3.202 s]
> [INFO] Apache Log4j Commons Logging Bridge ................ SUCCESS [
>  2.712 s]
> [INFO] Apache Log4j Flume Bridge .......................... SUCCESS [
> 38.267 s]
> [INFO] Apache Log4j Web ................................... SUCCESS [
>  6.096 s]
> [INFO] Apache Log4j Tag Library ........................... SUCCESS [
> 15.773 s]
> [INFO] Apache Log4j JMX GUI ............................... SUCCESS [
>  1.741 s]
> [INFO] Apache Log4j Samples ............................... SUCCESS [
>  0.499 s]
> [INFO] Apache Log4j Samples: Flume - Common ............... SUCCESS [
>  2.257 s]
> [INFO] Apache Log4j Samples: Flume - Remote ............... SUCCESS [
>  2.679 s]
> [INFO] Apache Log4j Samples: Flume - Embedded ............. SUCCESS [
>  6.387 s]
> [INFO] Apache Log4j Samples: Configuration ................ SUCCESS [
>  2.592 s]
> [INFO] Apache Log4j Samples: LoggerProperties ............. SUCCESS [
>  2.703 s]
> [INFO] Apache Log4j Scala 2.11 wrapper for Log4j API ...... SUCCESS [
> 25.789 s]
> [INFO] Apache Log4j Samples: Scala API .................... SUCCESS [
>  4.300 s]
> [INFO] Apache Log4j OSGi .................................. FAILURE [
>  8.806 s]
> [INFO] Apache Log4j BOM ................................... SKIPPED
> [INFO] Apache Log4j NoSQL ................................. SKIPPED
> [INFO] Apache Log4J Performance Tests ..................... SKIPPED
> [INFO] Apache Log4j Streaming Interface ................... SKIPPED
> [INFO] Apache Log4j JUL Adapter ........................... SKIPPED
> [INFO] Apache Log4j Liquibase Binding ..................... SKIPPED
> [INFO] Apache Log4j Scala 2.10 wrapper for Log4j API ...... SKIPPED
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] Total time: 20:41 min
> [INFO] Finished at: 2017-02-02T21:21:50-08:00
> [INFO] Final Memory: 50M/517M
> [INFO] ------------------------------------------------------------
> ------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:
> maven-surefire-plugin:2.19.1:test (default-test) on project log4j-osgi:
> There are test failures.
> [ERROR]
> [ERROR] Please refer to C:\vcs\git\apache\logging\
> logging-log4j2\log4j-osgi\target\surefire-reports for the individual test
> results.
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/
> MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :log4j-osgi
>
>
> Gary
>
> On Thu, Feb 2, 2017 at 6:19 PM, Apache <ra...@dslextreme.com> wrote:
>
>> OK. I will have to fire up a Windows VM and test it as it doesn’t fail on
>> my Mac or in Linux.
>>
>> Ralph
>>
>> On Feb 2, 2017, at 7:17 PM, Remko Popma <re...@gmail.com> wrote:
>>
>> I'm seeing the same thing on my Windows pc.
>>
>> Sent from my iPhone
>>
>> On Feb 3, 2017, at 10:01, Gary Gregory <ga...@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

Re: RollingAppenderSizeTest failures

Posted by Gary Gregory <ga...@gmail.com>.
If I @Ignore that one test, then I get (mvn clean install):

Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.842 sec -
in org.apache.logging.log4j.osgi.tests.equinox.EquinoxLoadApiBundleTest
        at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
        at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
        at
org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
        at org.junit.rules.RunRules.evaluate(RunRules.java:20)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
        at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
        at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
        at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
        at
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
        at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
        at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
        at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
        at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
        at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: java.lang.ClassNotFoundException:
org.apache.logging.log4j.core.util.ExecutorServices not found by
org.apache.logging.log4j.api [1]
        at
org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1558)
        at
org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:79)
        at
org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1998)
        ... 45 more
Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.048 sec
<<< FAILURE! - in
org.apache.logging.log4j.osgi.tests.felix.FelixLoadApiBundleTest
testClassNotFoundErrorLogger(org.apache.logging.log4j.osgi.tests.felix.FelixLoadApiBundleTest)
 Time elapsed: 0.419 sec  <<< ERROR!
org.osgi.framework.BundleException: Error creating bundle cache.
Caused by: java.lang.Exception: Unable to lock bundle cache:
java.nio.channels.OverlappingFileLockException


Results :

Tests in error:
  FelixLoadApiBundleTest.testClassNotFoundErrorLogger ╗ Bundle Error
creating bu...

Tests run: 10, Failures: 0, Errors: 1, Skipped: 0

[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Log4j 2 ..................................... SUCCESS [
 1.847 s]
[INFO] Apache Log4j API ................................... SUCCESS [
18.399 s]
[INFO] Apache Log4j Core .................................. SUCCESS [18:01
min]
[INFO] Apache Log4j 1.x Compatibility API ................. SUCCESS [
 9.090 s]
[INFO] Apache Log4j SLF4J Binding ......................... SUCCESS [
 5.460 s]
[INFO] Apache Log4j to SLF4J Adapter ...................... SUCCESS [
 3.202 s]
[INFO] Apache Log4j Commons Logging Bridge ................ SUCCESS [
 2.712 s]
[INFO] Apache Log4j Flume Bridge .......................... SUCCESS [
38.267 s]
[INFO] Apache Log4j Web ................................... SUCCESS [
 6.096 s]
[INFO] Apache Log4j Tag Library ........................... SUCCESS [
15.773 s]
[INFO] Apache Log4j JMX GUI ............................... SUCCESS [
 1.741 s]
[INFO] Apache Log4j Samples ............................... SUCCESS [
 0.499 s]
[INFO] Apache Log4j Samples: Flume - Common ............... SUCCESS [
 2.257 s]
[INFO] Apache Log4j Samples: Flume - Remote ............... SUCCESS [
 2.679 s]
[INFO] Apache Log4j Samples: Flume - Embedded ............. SUCCESS [
 6.387 s]
[INFO] Apache Log4j Samples: Configuration ................ SUCCESS [
 2.592 s]
[INFO] Apache Log4j Samples: LoggerProperties ............. SUCCESS [
 2.703 s]
[INFO] Apache Log4j Scala 2.11 wrapper for Log4j API ...... SUCCESS [
25.789 s]
[INFO] Apache Log4j Samples: Scala API .................... SUCCESS [
 4.300 s]
[INFO] Apache Log4j OSGi .................................. FAILURE [
 8.806 s]
[INFO] Apache Log4j BOM ................................... SKIPPED
[INFO] Apache Log4j NoSQL ................................. SKIPPED
[INFO] Apache Log4J Performance Tests ..................... SKIPPED
[INFO] Apache Log4j Streaming Interface ................... SKIPPED
[INFO] Apache Log4j JUL Adapter ........................... SKIPPED
[INFO] Apache Log4j Liquibase Binding ..................... SKIPPED
[INFO] Apache Log4j Scala 2.10 wrapper for Log4j API ...... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 20:41 min
[INFO] Finished at: 2017-02-02T21:21:50-08:00
[INFO] Final Memory: 50M/517M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test)
on project log4j-osgi: There are test failures.
[ERROR]
[ERROR] Please refer to
C:\vcs\git\apache\logging\logging-log4j2\log4j-osgi\target\surefire-reports
for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :log4j-osgi


Gary

On Thu, Feb 2, 2017 at 6:19 PM, Apache <ra...@dslextreme.com> wrote:

> OK. I will have to fire up a Windows VM and test it as it doesn’t fail on
> my Mac or in Linux.
>
> Ralph
>
> On Feb 2, 2017, at 7:17 PM, Remko Popma <re...@gmail.com> wrote:
>
> I'm seeing the same thing on my Windows pc.
>
> Sent from my iPhone
>
> On Feb 3, 2017, at 10:01, Gary Gregory <ga...@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

Re: RollingAppenderSizeTest failures

Posted by Apache <ra...@dslextreme.com>.
OK. I will have to fire up a Windows VM and test it as it doesn’t fail on my Mac or in Linux.

Ralph

> On Feb 2, 2017, at 7:17 PM, Remko Popma <re...@gmail.com> wrote:
> 
> I'm seeing the same thing on my Windows pc. 
> 
> Sent from my iPhone
> 
> On Feb 3, 2017, at 10:01, Gary Gregory <garydgregory@gmail.com <ma...@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 <ma...@gmail.com> | ggregory@apache.org  <ma...@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 <http://garygregory.wordpress.com/> 
>> Home: http://garygregory.com/ <http://garygregory.com/>
>> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>

Re: RollingAppenderSizeTest failures

Posted by Remko Popma <re...@gmail.com>.
I'm seeing the same thing on my Windows pc. 

Sent from my iPhone

> On Feb 3, 2017, at 10:01, Gary Gregory <ga...@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 
> JUnit in Action, Second Edition 
> Spring Batch in Action 
> Blog: http://garygregory.wordpress.com 
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory

Re: RollingAppenderSizeTest failures

Posted by Gary Gregory <ga...@gmail.com>.
OK, the rolling test is fixed. Now, the OSGi module does not build.

Gary

On Tue, Feb 14, 2017 at 5:08 PM, Remko Popma <re...@gmail.com> wrote:

> The new test failure (can't open zip) looks like a one-off...
>
> Sent from my iPhone
>
> On Feb 15, 2017, at 9:58, Gary Gregory <ga...@gmail.com> wrote:
>
> On Tue, Feb 14, 2017 at 3:22 PM, Apache <ra...@dslextreme.com>
> wrote:
>
>> What problem before what?
>>
>> RollingAppenderSizeTest was failing because I was manually trying to
>> delete files instead of letting the Rule do it.
>>
>
> My mistake. I did not know that the issue was as simple as that.
>
> Gary
>
>
>>
>> Ralph
>>
>> On Feb 14, 2017, at 2:56 PM, Gary Gregory <ga...@gmail.com> wrote:
>>
>> Was the problem before that threads where not finishing normally on test
>> completion? Could this be the same kind of issue?
>>
>> Gary
>>
>> On Tue, Feb 14, 2017 at 1:28 PM, Apache <ra...@dslextreme.com>
>> wrote:
>>
>>> I got a Windows 10 VM installed and was able to reproduce the problem
>>> and fix it. However, now the build is failing with
>>>
>>> Failed tests:
>>>   GcFreeAsynchronousLoggingTest.testNoAllocationDuringSteadyStateLogging:34
>>> Error opening zip file or JAR manifest missing :
>>> C:\Users\Ralph%20Goers\.m2\repository\com\google\code\java-a
>>> llocation-instrumenter\java-allocation-instrumenter\3.0.1\ja
>>> va-allocation-instrumenter-3.0.1.jar
>>>  expected:<[FATAL o.a.l.l.c.GcFreeAsynchronousLoggingTest [main] value1
>>> {aKey=value1, key2=value2, prop1=value1, prop2=value2} This message is
>>> logged to the console]> but was:<[Error opening zip file or JAR manifest
>>> missing : C:\Users\Ralph%20Goers\.m2\repository\com\google\code\java-a
>>> llocation-instrumenter\java-allocation-instrumenter\3.0.1\ja
>>> va-allocation-instrumenter-3.0.1.jar]>
>>>   GcFreeMixedSyncAyncLoggingTest.testNoAllocationDuringSteadyStateLogging:30
>>> Error opening zip file or JAR manifest missing :
>>> C:\Users\Ralph%20Goers\.m2\repository\com\google\code\java-a
>>> llocation-instrumenter\java-allocation-instrumenter\3.0.1\ja
>>> va-allocation-instrumenter-3.0.1.jar
>>>  expected:<[FATAL o.a.l.l.c.GcFreeMixedSyncAyncLoggingTest [main]
>>> value1 {aKey=value1, key2=value2, prop1=value1, prop2=value2} This message
>>> is logged to the console]> but was:<[Error opening zip file or JAR manifest
>>> missing : C:\Users\Ralph%20Goers\.m2\repository\com\google\code\java-a
>>> llocation-instrumenter\java-allocation-instrumenter\3.0.1\ja
>>> va-allocation-instrumenter-3.0.1.jar]>
>>>   GcFreeSynchronousLoggingTest.testNoAllocationDuringSteadyStateLogging:30
>>> Error opening zip file or JAR manifest missing :
>>> C:\Users\Ralph%20Goers\.m2\repository\com\google\code\java-a
>>> llocation-instrumenter\java-allocation-instrumenter\3.0.1\ja
>>> va-allocation-instrumenter-3.0.1.jar
>>>  expected:<[FATAL o.a.l.l.c.GcFreeSynchronousLoggingTest [main] value1
>>> {aKey=value1, key2=value2, prop1=value1, prop2=value2} This message is
>>> logged to the console]> but was:<[Error opening zip file or JAR manifest
>>> missing : C:\Users\Ralph%20Goers\.m2\repository\com\google\code\java-a
>>> llocation-instrumenter\java-allocation-instrumenter\3.0.1\ja
>>> va-allocation-instrumenter-3.0.1.jar]>
>>>
>>> Ralph
>>>
>>> On Feb 13, 2017, at 12:13 PM, Apache <ra...@dslextreme.com> wrote:
>>>
>>> No. I plan to figure out why it is breaking.
>>>
>>> Ralph
>>>
>>> On Feb 13, 2017, at 11:02 AM, Gary Gregory <ga...@gmail.com>
>>> wrote:
>>>
>>> My hope was that Ralph would revert his commit that broke the build on
>>> Windows.
>>>
>>> Gary
>>>
>>> On Mon, Feb 13, 2017 at 10:01 AM, Gary Gregory <ga...@gmail.com>
>>> wrote:
>>>
>>>> Maven just works as in on Windows. I have the Maven bin folder on my
>>>> PATH, that's it, it contains mvn.cmd.
>>>>
>>>> Gary
>>>>
>>>> On Mon, Feb 13, 2017 at 9:45 AM, Matt Sicker <bo...@gmail.com> wrote:
>>>>
>>>>> Well, that's step one! My only Windows computer is for videogames, so
>>>>> I'm not really experienced with development in such an environment these
>>>>> days. If you can figure out how to get the mvnw.cmd script to work in
>>>>> Windows, that'd be great.
>>>>>
>>>>> On 13 February 2017 at 11:26, Gary Gregory <ga...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Thank you for setting that up Matt. I can see the same failures on
>>>>>> https://builds.apache.org/job/Log4jWindows/ as I do locally.
>>>>>>
>>>>>> Gary
>>>>>>
>>>>>> On Sun, Feb 12, 2017 at 11:11 PM, Matt Sicker <bo...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> 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 <bo...@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 <bo...@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 <bo...@gmail.com>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> JAVA_HOME not defined correctly on almost all the environments.
>>>>>>>>>> Well now...
>>>>>>>>>>
>>>>>>>>>> On 12 February 2017 at 22:50, Matt Sicker <bo...@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 <bo...@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 <ra...@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 <bo...@gmail.com>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Matt Sicker <bo...@gmail.com>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Matt Sicker <bo...@gmail.com>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Matt Sicker <bo...@gmail.com>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Matt Sicker <bo...@gmail.com>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Matt Sicker <bo...@gmail.com>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> 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 <bo...@gmail.com>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> 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
>>
>>
>>
>
>
> --
> 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

Re: RollingAppenderSizeTest failures

Posted by Remko Popma <re...@gmail.com>.
The new test failure (can't open zip) looks like a one-off...

Sent from my iPhone

> On Feb 15, 2017, at 9:58, Gary Gregory <ga...@gmail.com> wrote:
> 
>> On Tue, Feb 14, 2017 at 3:22 PM, Apache <ra...@dslextreme.com> wrote:
>> What problem before what?
>> 
>> RollingAppenderSizeTest was failing because I was manually trying to delete files instead of letting the Rule do it.
> 
> My mistake. I did not know that the issue was as simple as that.
> 
> Gary
>  
>> 
>> Ralph
>> 
>>> On Feb 14, 2017, at 2:56 PM, Gary Gregory <ga...@gmail.com> wrote:
>>> 
>>> Was the problem before that threads where not finishing normally on test completion? Could this be the same kind of issue?
>>> 
>>> Gary
>>> 
>>>> On Tue, Feb 14, 2017 at 1:28 PM, Apache <ra...@dslextreme.com> wrote:
>>>> I got a Windows 10 VM installed and was able to reproduce the problem and fix it. However, now the build is failing with
>>>> 
>>>> Failed tests:
>>>>   GcFreeAsynchronousLoggingTest.testNoAllocationDuringSteadyStateLogging:34 Error opening zip file or JAR manifest missing : C:\Users\Ralph%20Goers\.m2\repository\com\google\code\java-allocation-instrumenter\java-allocation-instrumenter\3.0.1\java-allocation-instrumenter-3.0.1.jar
>>>>  expected:<[FATAL o.a.l.l.c.GcFreeAsynchronousLoggingTest [main] value1 {aKey=value1, key2=value2, prop1=value1, prop2=value2} This message is logged to the console]> but was:<[Error opening zip file or JAR manifest missing : C:\Users\Ralph%20Goers\.m2\repository\com\google\code\java-allocation-instrumenter\java-allocation-instrumenter\3.0.1\java-allocation-instrumenter-3.0.1.jar]>
>>>>   GcFreeMixedSyncAyncLoggingTest.testNoAllocationDuringSteadyStateLogging:30 Error opening zip file or JAR manifest missing : C:\Users\Ralph%20Goers\.m2\repository\com\google\code\java-allocation-instrumenter\java-allocation-instrumenter\3.0.1\java-allocation-instrumenter-3.0.1.jar
>>>>  expected:<[FATAL o.a.l.l.c.GcFreeMixedSyncAyncLoggingTest [main] value1 {aKey=value1, key2=value2, prop1=value1, prop2=value2} This message is logged to the console]> but was:<[Error opening zip file or JAR manifest missing : C:\Users\Ralph%20Goers\.m2\repository\com\google\code\java-allocation-instrumenter\java-allocation-instrumenter\3.0.1\java-allocation-instrumenter-3.0.1.jar]>
>>>>   GcFreeSynchronousLoggingTest.testNoAllocationDuringSteadyStateLogging:30 Error opening zip file or JAR manifest missing : C:\Users\Ralph%20Goers\.m2\repository\com\google\code\java-allocation-instrumenter\java-allocation-instrumenter\3.0.1\java-allocation-instrumenter-3.0.1.jar
>>>>  expected:<[FATAL o.a.l.l.c.GcFreeSynchronousLoggingTest [main] value1 {aKey=value1, key2=value2, prop1=value1, prop2=value2} This message is logged to the console]> but was:<[Error opening zip file or JAR manifest missing : C:\Users\Ralph%20Goers\.m2\repository\com\google\code\java-allocation-instrumenter\java-allocation-instrumenter\3.0.1\java-allocation-instrumenter-3.0.1.jar]>
>>>> 
>>>> Ralph
>>>> 
>>>>> On Feb 13, 2017, at 12:13 PM, Apache <ra...@dslextreme.com> wrote:
>>>>> 
>>>>> No. I plan to figure out why it is breaking.
>>>>> 
>>>>> Ralph
>>>>> 
>>>>>> On Feb 13, 2017, at 11:02 AM, Gary Gregory <ga...@gmail.com> wrote:
>>>>>> 
>>>>>> My hope was that Ralph would revert his commit that broke the build on Windows.
>>>>>> 
>>>>>> Gary
>>>>>> 
>>>>>>> On Mon, Feb 13, 2017 at 10:01 AM, Gary Gregory <ga...@gmail.com> wrote:
>>>>>>> Maven just works as in on Windows. I have the Maven bin folder on my PATH, that's it, it contains mvn.cmd.
>>>>>>> 
>>>>>>> Gary
>>>>>>> 
>>>>>>>> On Mon, Feb 13, 2017 at 9:45 AM, Matt Sicker <bo...@gmail.com> wrote:
>>>>>>>> Well, that's step one! My only Windows computer is for videogames, so I'm not really experienced with development in such an environment these days. If you can figure out how to get the mvnw.cmd script to work in Windows, that'd be great.
>>>>>>>> 
>>>>>>>>> On 13 February 2017 at 11:26, Gary Gregory <ga...@gmail.com> wrote:
>>>>>>>>> Thank you for setting that up Matt. I can see the same failures on https://builds.apache.org/job/Log4jWindows/ as I do locally.
>>>>>>>>> 
>>>>>>>>> Gary
>>>>>>>>> 
>>>>>>>>>> On Sun, Feb 12, 2017 at 11:11 PM, Matt Sicker <bo...@gmail.com> wrote:
>>>>>>>>>> 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 <bo...@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 <bo...@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 <bo...@gmail.com> wrote:
>>>>>>>>>>>>> JAVA_HOME not defined correctly on almost all the environments. Well now...
>>>>>>>>>>>>> 
>>>>>>>>>>>>>> On 12 February 2017 at 22:50, Matt Sicker <bo...@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 <bo...@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 <ga...@gmail.com> wrote:
>>>>>>>>>>>>>>>> Any chance building on Windows gets solved soon-ish?
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> Gary
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> On Thu, Feb 2, 2017 at 6:05 PM, Gary Gregory <ga...@gmail.com> wrote:
>>>>>>>>>>>>>>>>> Git bisec says:
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> a0f4f4db5e8e88e56eaa148d81c2ba91df606e2a is the first bad commit
>>>>>>>>>>>>>>>>> commit a0f4f4db5e8e88e56eaa148d81c2ba91df606e2a
>>>>>>>>>>>>>>>>> Author: Ralph Goers <ra...@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 <ga...@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 
>>>>>>>>>>>>>>>>>> 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
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> -- 
>>>>>>>>>>>>>>>> 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
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> -- 
>>>>>>>>>>>>>>> Matt Sicker <bo...@gmail.com>
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> -- 
>>>>>>>>>>>>>> Matt Sicker <bo...@gmail.com>
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> -- 
>>>>>>>>>>>>> Matt Sicker <bo...@gmail.com>
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> -- 
>>>>>>>>>>>> Matt Sicker <bo...@gmail.com>
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> -- 
>>>>>>>>>>> Matt Sicker <bo...@gmail.com>
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> -- 
>>>>>>>>>> Matt Sicker <bo...@gmail.com>
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> -- 
>>>>>>>>> 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
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> -- 
>>>>>>>> Matt Sicker <bo...@gmail.com>
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> -- 
>>>>>>> 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
>>>>> 
>>>> 
>>> 
>>> 
>>> 
>>> -- 
>>> 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

Re: RollingAppenderSizeTest failures

Posted by Gary Gregory <ga...@gmail.com>.
On Tue, Feb 14, 2017 at 3:22 PM, Apache <ra...@dslextreme.com> wrote:

> What problem before what?
>
> RollingAppenderSizeTest was failing because I was manually trying to
> delete files instead of letting the Rule do it.
>

My mistake. I did not know that the issue was as simple as that.

Gary


>
> Ralph
>
> On Feb 14, 2017, at 2:56 PM, Gary Gregory <ga...@gmail.com> wrote:
>
> Was the problem before that threads where not finishing normally on test
> completion? Could this be the same kind of issue?
>
> Gary
>
> On Tue, Feb 14, 2017 at 1:28 PM, Apache <ra...@dslextreme.com>
> wrote:
>
>> I got a Windows 10 VM installed and was able to reproduce the problem and
>> fix it. However, now the build is failing with
>>
>> Failed tests:
>>   GcFreeAsynchronousLoggingTest.testNoAllocationDuringSteadyStateLogging:34
>> Error opening zip file or JAR manifest missing :
>> C:\Users\Ralph%20Goers\.m2\repository\com\google\code\java-
>> allocation-instrumenter\java-allocation-instrumenter\3.0.1\
>> java-allocation-instrumenter-3.0.1.jar
>>  expected:<[FATAL o.a.l.l.c.GcFreeAsynchronousLoggingTest [main] value1
>> {aKey=value1, key2=value2, prop1=value1, prop2=value2} This message is
>> logged to the console]> but was:<[Error opening zip file or JAR manifest
>> missing : C:\Users\Ralph%20Goers\.m2\repository\com\google\code\java-
>> allocation-instrumenter\java-allocation-instrumenter\3.0.1\
>> java-allocation-instrumenter-3.0.1.jar]>
>>   GcFreeMixedSyncAyncLoggingTest.testNoAllocationDuringSteadyStateLogging:30
>> Error opening zip file or JAR manifest missing :
>> C:\Users\Ralph%20Goers\.m2\repository\com\google\code\java-
>> allocation-instrumenter\java-allocation-instrumenter\3.0.1\
>> java-allocation-instrumenter-3.0.1.jar
>>  expected:<[FATAL o.a.l.l.c.GcFreeMixedSyncAyncLoggingTest [main] value1
>> {aKey=value1, key2=value2, prop1=value1, prop2=value2} This message is
>> logged to the console]> but was:<[Error opening zip file or JAR manifest
>> missing : C:\Users\Ralph%20Goers\.m2\repository\com\google\code\java-
>> allocation-instrumenter\java-allocation-instrumenter\3.0.1\
>> java-allocation-instrumenter-3.0.1.jar]>
>>   GcFreeSynchronousLoggingTest.testNoAllocationDuringSteadyStateLogging:30
>> Error opening zip file or JAR manifest missing :
>> C:\Users\Ralph%20Goers\.m2\repository\com\google\code\java-
>> allocation-instrumenter\java-allocation-instrumenter\3.0.1\
>> java-allocation-instrumenter-3.0.1.jar
>>  expected:<[FATAL o.a.l.l.c.GcFreeSynchronousLoggingTest [main] value1
>> {aKey=value1, key2=value2, prop1=value1, prop2=value2} This message is
>> logged to the console]> but was:<[Error opening zip file or JAR manifest
>> missing : C:\Users\Ralph%20Goers\.m2\repository\com\google\code\java-
>> allocation-instrumenter\java-allocation-instrumenter\3.0.1\
>> java-allocation-instrumenter-3.0.1.jar]>
>>
>> Ralph
>>
>> On Feb 13, 2017, at 12:13 PM, Apache <ra...@dslextreme.com> wrote:
>>
>> No. I plan to figure out why it is breaking.
>>
>> Ralph
>>
>> On Feb 13, 2017, at 11:02 AM, Gary Gregory <ga...@gmail.com>
>> wrote:
>>
>> My hope was that Ralph would revert his commit that broke the build on
>> Windows.
>>
>> Gary
>>
>> On Mon, Feb 13, 2017 at 10:01 AM, Gary Gregory <ga...@gmail.com>
>> wrote:
>>
>>> Maven just works as in on Windows. I have the Maven bin folder on my
>>> PATH, that's it, it contains mvn.cmd.
>>>
>>> Gary
>>>
>>> On Mon, Feb 13, 2017 at 9:45 AM, Matt Sicker <bo...@gmail.com> wrote:
>>>
>>>> Well, that's step one! My only Windows computer is for videogames, so
>>>> I'm not really experienced with development in such an environment these
>>>> days. If you can figure out how to get the mvnw.cmd script to work in
>>>> Windows, that'd be great.
>>>>
>>>> On 13 February 2017 at 11:26, Gary Gregory <ga...@gmail.com>
>>>> wrote:
>>>>
>>>>> Thank you for setting that up Matt. I can see the same failures on
>>>>> https://builds.apache.org/job/Log4jWindows/ as I do locally.
>>>>>
>>>>> Gary
>>>>>
>>>>> On Sun, Feb 12, 2017 at 11:11 PM, Matt Sicker <bo...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> 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 <bo...@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 <bo...@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 <bo...@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> JAVA_HOME not defined correctly on almost all the environments.
>>>>>>>>> Well now...
>>>>>>>>>
>>>>>>>>> On 12 February 2017 at 22:50, Matt Sicker <bo...@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 <bo...@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 <ra...@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 <bo...@gmail.com>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Matt Sicker <bo...@gmail.com>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Matt Sicker <bo...@gmail.com>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Matt Sicker <bo...@gmail.com>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Matt Sicker <bo...@gmail.com>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Matt Sicker <bo...@gmail.com>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> 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 <bo...@gmail.com>
>>>>
>>>
>>>
>>>
>>> --
>>> 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
>
>
>


-- 
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

Re: RollingAppenderSizeTest failures

Posted by Apache <ra...@dslextreme.com>.
What problem before what?

RollingAppenderSizeTest was failing because I was manually trying to delete files instead of letting the Rule do it.

Ralph

> On Feb 14, 2017, at 2:56 PM, Gary Gregory <ga...@gmail.com> wrote:
> 
> Was the problem before that threads where not finishing normally on test completion? Could this be the same kind of issue?
> 
> Gary
> 
> On Tue, Feb 14, 2017 at 1:28 PM, Apache <ralph.goers@dslextreme.com <ma...@dslextreme.com>> wrote:
> I got a Windows 10 VM installed and was able to reproduce the problem and fix it. However, now the build is failing with
> 
> Failed tests:
>   GcFreeAsynchronousLoggingTest.testNoAllocationDuringSteadyStateLogging:34 Error opening zip file or JAR manifest missing : C:\Users\Ralph%20Goers\.m2\repository\com\google\code\java-allocation-instrumenter\java-allocation-instrumenter\3.0.1\java-allocation-instrumenter-3.0.1.jar
>  expected:<[FATAL o.a.l.l.c.GcFreeAsynchronousLoggingTest [main] value1 {aKey=value1, key2=value2, prop1=value1, prop2=value2} This message is logged to the console]> but was:<[Error opening zip file or JAR manifest missing : C:\Users\Ralph%20Goers\.m2\repository\com\google\code\java-allocation-instrumenter\java-allocation-instrumenter\3.0.1\java-allocation-instrumenter-3.0.1.jar]>
>   GcFreeMixedSyncAyncLoggingTest.testNoAllocationDuringSteadyStateLogging:30 Error opening zip file or JAR manifest missing : C:\Users\Ralph%20Goers\.m2\repository\com\google\code\java-allocation-instrumenter\java-allocation-instrumenter\3.0.1\java-allocation-instrumenter-3.0.1.jar
>  expected:<[FATAL o.a.l.l.c.GcFreeMixedSyncAyncLoggingTest [main] value1 {aKey=value1, key2=value2, prop1=value1, prop2=value2} This message is logged to the console]> but was:<[Error opening zip file or JAR manifest missing : C:\Users\Ralph%20Goers\.m2\repository\com\google\code\java-allocation-instrumenter\java-allocation-instrumenter\3.0.1\java-allocation-instrumenter-3.0.1.jar]>
>   GcFreeSynchronousLoggingTest.testNoAllocationDuringSteadyStateLogging:30 Error opening zip file or JAR manifest missing : C:\Users\Ralph%20Goers\.m2\repository\com\google\code\java-allocation-instrumenter\java-allocation-instrumenter\3.0.1\java-allocation-instrumenter-3.0.1.jar
>  expected:<[FATAL o.a.l.l.c.GcFreeSynchronousLoggingTest [main] value1 {aKey=value1, key2=value2, prop1=value1, prop2=value2} This message is logged to the console]> but was:<[Error opening zip file or JAR manifest missing : C:\Users\Ralph%20Goers\.m2\repository\com\google\code\java-allocation-instrumenter\java-allocation-instrumenter\3.0.1\java-allocation-instrumenter-3.0.1.jar]>
> 
> Ralph
> 
>> On Feb 13, 2017, at 12:13 PM, Apache <ralph.goers@dslextreme.com <ma...@dslextreme.com>> wrote:
>> 
>> No. I plan to figure out why it is breaking.
>> 
>> Ralph
>> 
>>> On Feb 13, 2017, at 11:02 AM, Gary Gregory <garydgregory@gmail.com <ma...@gmail.com>> wrote:
>>> 
>>> My hope was that Ralph would revert his commit that broke the build on Windows.
>>> 
>>> Gary
>>> 
>>> On Mon, Feb 13, 2017 at 10:01 AM, Gary Gregory <garydgregory@gmail.com <ma...@gmail.com>> wrote:
>>> Maven just works as in on Windows. I have the Maven bin folder on my PATH, that's it, it contains mvn.cmd.
>>> 
>>> Gary
>>> 
>>> On Mon, Feb 13, 2017 at 9:45 AM, Matt Sicker <boards@gmail.com <ma...@gmail.com>> wrote:
>>> Well, that's step one! My only Windows computer is for videogames, so I'm not really experienced with development in such an environment these days. If you can figure out how to get the mvnw.cmd script to work in Windows, that'd be great.
>>> 
>>> On 13 February 2017 at 11:26, Gary Gregory <garydgregory@gmail.com <ma...@gmail.com>> wrote:
>>> Thank you for setting that up Matt. I can see the same failures on https://builds.apache.org/job/Log4jWindows/ <https://builds.apache.org/job/Log4jWindows/> as I do locally.
>>> 
>>> Gary
>>> 
>>> On Sun, Feb 12, 2017 at 11:11 PM, Matt Sicker <boards@gmail.com <ma...@gmail.com>> wrote:
>>> 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 <boards@gmail.com <ma...@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/ <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/ <https://builds.apache.org/job/infra-test-maven-windows/>>.
>>> 
>>> On 12 February 2017 at 23:10, Matt Sicker <boards@gmail.com <ma...@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 <boards@gmail.com <ma...@gmail.com>> wrote:
>>> JAVA_HOME not defined correctly on almost all the environments. Well now...
>>> 
>>> On 12 February 2017 at 22:50, Matt Sicker <boards@gmail.com <ma...@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/ <https://builds.apache.org/job/Log4j/>>
>>> 
>>> Let's see how this works.
>>> 
>>> On 12 February 2017 at 22:40, Matt Sicker <boards@gmail.com <ma...@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 <ma...@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 <ma...@gmail.com>> wrote:
>>> Git bisec says:
>>> 
>>> a0f4f4db5e8e88e56eaa148d81c2ba91df606e2a is the first bad commit
>>> commit a0f4f4db5e8e88e56eaa148d81c2ba91df606e2a
>>> Author: Ralph Goers <ralph.goers@dslextreme.com <ma...@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 <ma...@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 <ma...@gmail.com> | ggregory@apache.org  <ma...@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 <http://garygregory.wordpress.com/> 
>>> Home: http://garygregory.com/ <http://garygregory.com/>
>>> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
>>> 
>>> 
>>> -- 
>>> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org  <ma...@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 <http://garygregory.wordpress.com/> 
>>> Home: http://garygregory.com/ <http://garygregory.com/>
>>> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
>>> 
>>> 
>>> -- 
>>> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org  <ma...@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 <http://garygregory.wordpress.com/> 
>>> Home: http://garygregory.com/ <http://garygregory.com/>
>>> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
>>> 
>>> 
>>> -- 
>>> Matt Sicker <boards@gmail.com <ma...@gmail.com>>
>>> 
>>> 
>>> 
>>> -- 
>>> Matt Sicker <boards@gmail.com <ma...@gmail.com>>
>>> 
>>> 
>>> 
>>> -- 
>>> Matt Sicker <boards@gmail.com <ma...@gmail.com>>
>>> 
>>> 
>>> 
>>> -- 
>>> Matt Sicker <boards@gmail.com <ma...@gmail.com>>
>>> 
>>> 
>>> 
>>> -- 
>>> Matt Sicker <boards@gmail.com <ma...@gmail.com>>
>>> 
>>> 
>>> 
>>> -- 
>>> Matt Sicker <boards@gmail.com <ma...@gmail.com>>
>>> 
>>> 
>>> 
>>> -- 
>>> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org  <ma...@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 <http://garygregory.wordpress.com/> 
>>> Home: http://garygregory.com/ <http://garygregory.com/>
>>> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
>>> 
>>> 
>>> -- 
>>> Matt Sicker <boards@gmail.com <ma...@gmail.com>>
>>> 
>>> 
>>> 
>>> -- 
>>> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org  <ma...@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 <http://garygregory.wordpress.com/> 
>>> Home: http://garygregory.com/ <http://garygregory.com/>
>>> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
>>> 
>>> 
>>> -- 
>>> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org  <ma...@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 <http://garygregory.wordpress.com/> 
>>> Home: http://garygregory.com/ <http://garygregory.com/>
>>> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
> 
> 
> 
> 
> -- 
> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org  <ma...@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 <http://garygregory.wordpress.com/> 
> Home: http://garygregory.com/ <http://garygregory.com/>
> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>

Re: RollingAppenderSizeTest failures

Posted by Gary Gregory <ga...@gmail.com>.
Was the problem before that threads where not finishing normally on test
completion? Could this be the same kind of issue?

Gary

On Tue, Feb 14, 2017 at 1:28 PM, Apache <ra...@dslextreme.com> wrote:

> I got a Windows 10 VM installed and was able to reproduce the problem and
> fix it. However, now the build is failing with
>
> Failed tests:
>   GcFreeAsynchronousLoggingTest.testNoAllocationDuringSteadyStateLogging:34
> Error opening zip file or JAR manifest missing : C:\Users\Ralph%20Goers\.m2\
> repository\com\google\code\java-allocation-instrumenter\
> java-allocation-instrumenter\3.0.1\java-allocation-instrumenter-3.0.1.jar
>  expected:<[FATAL o.a.l.l.c.GcFreeAsynchronousLoggingTest [main] value1
> {aKey=value1, key2=value2, prop1=value1, prop2=value2} This message is
> logged to the console]> but was:<[Error opening zip file or JAR manifest
> missing : C:\Users\Ralph%20Goers\.m2\repository\com\google\code\
> java-allocation-instrumenter\java-allocation-instrumenter\
> 3.0.1\java-allocation-instrumenter-3.0.1.jar]>
>   GcFreeMixedSyncAyncLoggingTest.testNoAllocationDuringSteadyStateLogging:30
> Error opening zip file or JAR manifest missing : C:\Users\Ralph%20Goers\.m2\
> repository\com\google\code\java-allocation-instrumenter\
> java-allocation-instrumenter\3.0.1\java-allocation-instrumenter-3.0.1.jar
>  expected:<[FATAL o.a.l.l.c.GcFreeMixedSyncAyncLoggingTest [main] value1
> {aKey=value1, key2=value2, prop1=value1, prop2=value2} This message is
> logged to the console]> but was:<[Error opening zip file or JAR manifest
> missing : C:\Users\Ralph%20Goers\.m2\repository\com\google\code\
> java-allocation-instrumenter\java-allocation-instrumenter\
> 3.0.1\java-allocation-instrumenter-3.0.1.jar]>
>   GcFreeSynchronousLoggingTest.testNoAllocationDuringSteadyStateLogging:30
> Error opening zip file or JAR manifest missing : C:\Users\Ralph%20Goers\.m2\
> repository\com\google\code\java-allocation-instrumenter\
> java-allocation-instrumenter\3.0.1\java-allocation-instrumenter-3.0.1.jar
>  expected:<[FATAL o.a.l.l.c.GcFreeSynchronousLoggingTest [main] value1
> {aKey=value1, key2=value2, prop1=value1, prop2=value2} This message is
> logged to the console]> but was:<[Error opening zip file or JAR manifest
> missing : C:\Users\Ralph%20Goers\.m2\repository\com\google\code\
> java-allocation-instrumenter\java-allocation-instrumenter\
> 3.0.1\java-allocation-instrumenter-3.0.1.jar]>
>
> Ralph
>
> On Feb 13, 2017, at 12:13 PM, Apache <ra...@dslextreme.com> wrote:
>
> No. I plan to figure out why it is breaking.
>
> Ralph
>
> On Feb 13, 2017, at 11:02 AM, Gary Gregory <ga...@gmail.com> wrote:
>
> My hope was that Ralph would revert his commit that broke the build on
> Windows.
>
> Gary
>
> On Mon, Feb 13, 2017 at 10:01 AM, Gary Gregory <ga...@gmail.com>
> wrote:
>
>> Maven just works as in on Windows. I have the Maven bin folder on my
>> PATH, that's it, it contains mvn.cmd.
>>
>> Gary
>>
>> On Mon, Feb 13, 2017 at 9:45 AM, Matt Sicker <bo...@gmail.com> wrote:
>>
>>> Well, that's step one! My only Windows computer is for videogames, so
>>> I'm not really experienced with development in such an environment these
>>> days. If you can figure out how to get the mvnw.cmd script to work in
>>> Windows, that'd be great.
>>>
>>> On 13 February 2017 at 11:26, Gary Gregory <ga...@gmail.com>
>>> wrote:
>>>
>>>> Thank you for setting that up Matt. I can see the same failures on
>>>> https://builds.apache.org/job/Log4jWindows/ as I do locally.
>>>>
>>>> Gary
>>>>
>>>> On Sun, Feb 12, 2017 at 11:11 PM, Matt Sicker <bo...@gmail.com> wrote:
>>>>
>>>>> 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 <bo...@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 <bo...@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 <bo...@gmail.com> wrote:
>>>>>>>
>>>>>>>> JAVA_HOME not defined correctly on almost all the environments.
>>>>>>>> Well now...
>>>>>>>>
>>>>>>>> On 12 February 2017 at 22:50, Matt Sicker <bo...@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 <bo...@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 <ra...@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 <bo...@gmail.com>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Matt Sicker <bo...@gmail.com>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Matt Sicker <bo...@gmail.com>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Matt Sicker <bo...@gmail.com>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Matt Sicker <bo...@gmail.com>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Matt Sicker <bo...@gmail.com>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> 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 <bo...@gmail.com>
>>>
>>
>>
>>
>> --
>> 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

Re: RollingAppenderSizeTest failures

Posted by Apache <ra...@dslextreme.com>.
I got a Windows 10 VM installed and was able to reproduce the problem and fix it. However, now the build is failing with

Failed tests:
  GcFreeAsynchronousLoggingTest.testNoAllocationDuringSteadyStateLogging:34 Error opening zip file or JAR manifest missing : C:\Users\Ralph%20Goers\.m2\repository\com\google\code\java-allocation-instrumenter\java-allocation-instrumenter\3.0.1\java-allocation-instrumenter-3.0.1.jar
 expected:<[FATAL o.a.l.l.c.GcFreeAsynchronousLoggingTest [main] value1 {aKey=value1, key2=value2, prop1=value1, prop2=value2} This message is logged to the console]> but was:<[Error opening zip file or JAR manifest missing : C:\Users\Ralph%20Goers\.m2\repository\com\google\code\java-allocation-instrumenter\java-allocation-instrumenter\3.0.1\java-allocation-instrumenter-3.0.1.jar]>
  GcFreeMixedSyncAyncLoggingTest.testNoAllocationDuringSteadyStateLogging:30 Error opening zip file or JAR manifest missing : C:\Users\Ralph%20Goers\.m2\repository\com\google\code\java-allocation-instrumenter\java-allocation-instrumenter\3.0.1\java-allocation-instrumenter-3.0.1.jar
 expected:<[FATAL o.a.l.l.c.GcFreeMixedSyncAyncLoggingTest [main] value1 {aKey=value1, key2=value2, prop1=value1, prop2=value2} This message is logged to the console]> but was:<[Error opening zip file or JAR manifest missing : C:\Users\Ralph%20Goers\.m2\repository\com\google\code\java-allocation-instrumenter\java-allocation-instrumenter\3.0.1\java-allocation-instrumenter-3.0.1.jar]>
  GcFreeSynchronousLoggingTest.testNoAllocationDuringSteadyStateLogging:30 Error opening zip file or JAR manifest missing : C:\Users\Ralph%20Goers\.m2\repository\com\google\code\java-allocation-instrumenter\java-allocation-instrumenter\3.0.1\java-allocation-instrumenter-3.0.1.jar
 expected:<[FATAL o.a.l.l.c.GcFreeSynchronousLoggingTest [main] value1 {aKey=value1, key2=value2, prop1=value1, prop2=value2} This message is logged to the console]> but was:<[Error opening zip file or JAR manifest missing : C:\Users\Ralph%20Goers\.m2\repository\com\google\code\java-allocation-instrumenter\java-allocation-instrumenter\3.0.1\java-allocation-instrumenter-3.0.1.jar]>

Ralph

> On Feb 13, 2017, at 12:13 PM, Apache <ra...@dslextreme.com> wrote:
> 
> No. I plan to figure out why it is breaking.
> 
> Ralph
> 
>> On Feb 13, 2017, at 11:02 AM, Gary Gregory <garydgregory@gmail.com <ma...@gmail.com>> wrote:
>> 
>> My hope was that Ralph would revert his commit that broke the build on Windows.
>> 
>> Gary
>> 
>> On Mon, Feb 13, 2017 at 10:01 AM, Gary Gregory <garydgregory@gmail.com <ma...@gmail.com>> wrote:
>> Maven just works as in on Windows. I have the Maven bin folder on my PATH, that's it, it contains mvn.cmd.
>> 
>> Gary
>> 
>> On Mon, Feb 13, 2017 at 9:45 AM, Matt Sicker <boards@gmail.com <ma...@gmail.com>> wrote:
>> Well, that's step one! My only Windows computer is for videogames, so I'm not really experienced with development in such an environment these days. If you can figure out how to get the mvnw.cmd script to work in Windows, that'd be great.
>> 
>> On 13 February 2017 at 11:26, Gary Gregory <garydgregory@gmail.com <ma...@gmail.com>> wrote:
>> Thank you for setting that up Matt. I can see the same failures on https://builds.apache.org/job/Log4jWindows/ <https://builds.apache.org/job/Log4jWindows/> as I do locally.
>> 
>> Gary
>> 
>> On Sun, Feb 12, 2017 at 11:11 PM, Matt Sicker <boards@gmail.com <ma...@gmail.com>> wrote:
>> 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 <boards@gmail.com <ma...@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/ <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/ <https://builds.apache.org/job/infra-test-maven-windows/>>.
>> 
>> On 12 February 2017 at 23:10, Matt Sicker <boards@gmail.com <ma...@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 <boards@gmail.com <ma...@gmail.com>> wrote:
>> JAVA_HOME not defined correctly on almost all the environments. Well now...
>> 
>> On 12 February 2017 at 22:50, Matt Sicker <boards@gmail.com <ma...@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/ <https://builds.apache.org/job/Log4j/>>
>> 
>> Let's see how this works.
>> 
>> On 12 February 2017 at 22:40, Matt Sicker <boards@gmail.com <ma...@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 <ma...@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 <ma...@gmail.com>> wrote:
>> Git bisec says:
>> 
>> a0f4f4db5e8e88e56eaa148d81c2ba91df606e2a is the first bad commit
>> commit a0f4f4db5e8e88e56eaa148d81c2ba91df606e2a
>> Author: Ralph Goers <ralph.goers@dslextreme.com <ma...@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 <ma...@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 <ma...@gmail.com> | ggregory@apache.org  <ma...@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 <http://garygregory.wordpress.com/> 
>> Home: http://garygregory.com/ <http://garygregory.com/>
>> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
>> 
>> 
>> -- 
>> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org  <ma...@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 <http://garygregory.wordpress.com/> 
>> Home: http://garygregory.com/ <http://garygregory.com/>
>> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
>> 
>> 
>> -- 
>> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org  <ma...@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 <http://garygregory.wordpress.com/> 
>> Home: http://garygregory.com/ <http://garygregory.com/>
>> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
>> 
>> 
>> -- 
>> Matt Sicker <boards@gmail.com <ma...@gmail.com>>
>> 
>> 
>> 
>> -- 
>> Matt Sicker <boards@gmail.com <ma...@gmail.com>>
>> 
>> 
>> 
>> -- 
>> Matt Sicker <boards@gmail.com <ma...@gmail.com>>
>> 
>> 
>> 
>> -- 
>> Matt Sicker <boards@gmail.com <ma...@gmail.com>>
>> 
>> 
>> 
>> -- 
>> Matt Sicker <boards@gmail.com <ma...@gmail.com>>
>> 
>> 
>> 
>> -- 
>> Matt Sicker <boards@gmail.com <ma...@gmail.com>>
>> 
>> 
>> 
>> -- 
>> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org  <ma...@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 <http://garygregory.wordpress.com/> 
>> Home: http://garygregory.com/ <http://garygregory.com/>
>> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
>> 
>> 
>> -- 
>> Matt Sicker <boards@gmail.com <ma...@gmail.com>>
>> 
>> 
>> 
>> -- 
>> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org  <ma...@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 <http://garygregory.wordpress.com/> 
>> Home: http://garygregory.com/ <http://garygregory.com/>
>> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
>> 
>> 
>> -- 
>> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org  <ma...@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 <http://garygregory.wordpress.com/> 
>> Home: http://garygregory.com/ <http://garygregory.com/>
>> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>


Re: RollingAppenderSizeTest failures

Posted by Apache <ra...@dslextreme.com>.
No. I plan to figure out why it is breaking.

Ralph

> On Feb 13, 2017, at 11:02 AM, Gary Gregory <ga...@gmail.com> wrote:
> 
> My hope was that Ralph would revert his commit that broke the build on Windows.
> 
> Gary
> 
> On Mon, Feb 13, 2017 at 10:01 AM, Gary Gregory <garydgregory@gmail.com <ma...@gmail.com>> wrote:
> Maven just works as in on Windows. I have the Maven bin folder on my PATH, that's it, it contains mvn.cmd.
> 
> Gary
> 
> On Mon, Feb 13, 2017 at 9:45 AM, Matt Sicker <boards@gmail.com <ma...@gmail.com>> wrote:
> Well, that's step one! My only Windows computer is for videogames, so I'm not really experienced with development in such an environment these days. If you can figure out how to get the mvnw.cmd script to work in Windows, that'd be great.
> 
> On 13 February 2017 at 11:26, Gary Gregory <garydgregory@gmail.com <ma...@gmail.com>> wrote:
> Thank you for setting that up Matt. I can see the same failures on https://builds.apache.org/job/Log4jWindows/ <https://builds.apache.org/job/Log4jWindows/> as I do locally.
> 
> Gary
> 
> On Sun, Feb 12, 2017 at 11:11 PM, Matt Sicker <boards@gmail.com <ma...@gmail.com>> wrote:
> 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 <boards@gmail.com <ma...@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/ <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/ <https://builds.apache.org/job/infra-test-maven-windows/>>.
> 
> On 12 February 2017 at 23:10, Matt Sicker <boards@gmail.com <ma...@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 <boards@gmail.com <ma...@gmail.com>> wrote:
> JAVA_HOME not defined correctly on almost all the environments. Well now...
> 
> On 12 February 2017 at 22:50, Matt Sicker <boards@gmail.com <ma...@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/ <https://builds.apache.org/job/Log4j/>>
> 
> Let's see how this works.
> 
> On 12 February 2017 at 22:40, Matt Sicker <boards@gmail.com <ma...@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 <ma...@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 <ma...@gmail.com>> wrote:
> Git bisec says:
> 
> a0f4f4db5e8e88e56eaa148d81c2ba91df606e2a is the first bad commit
> commit a0f4f4db5e8e88e56eaa148d81c2ba91df606e2a
> Author: Ralph Goers <ralph.goers@dslextreme.com <ma...@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 <ma...@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 <ma...@gmail.com> | ggregory@apache.org  <ma...@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 <http://garygregory.wordpress.com/> 
> Home: http://garygregory.com/ <http://garygregory.com/>
> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
> 
> 
> -- 
> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org  <ma...@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 <http://garygregory.wordpress.com/> 
> Home: http://garygregory.com/ <http://garygregory.com/>
> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
> 
> 
> -- 
> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org  <ma...@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 <http://garygregory.wordpress.com/> 
> Home: http://garygregory.com/ <http://garygregory.com/>
> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
> 
> 
> -- 
> Matt Sicker <boards@gmail.com <ma...@gmail.com>>
> 
> 
> 
> -- 
> Matt Sicker <boards@gmail.com <ma...@gmail.com>>
> 
> 
> 
> -- 
> Matt Sicker <boards@gmail.com <ma...@gmail.com>>
> 
> 
> 
> -- 
> Matt Sicker <boards@gmail.com <ma...@gmail.com>>
> 
> 
> 
> -- 
> Matt Sicker <boards@gmail.com <ma...@gmail.com>>
> 
> 
> 
> -- 
> Matt Sicker <boards@gmail.com <ma...@gmail.com>>
> 
> 
> 
> -- 
> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org  <ma...@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 <http://garygregory.wordpress.com/> 
> Home: http://garygregory.com/ <http://garygregory.com/>
> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
> 
> 
> -- 
> Matt Sicker <boards@gmail.com <ma...@gmail.com>>
> 
> 
> 
> -- 
> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org  <ma...@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 <http://garygregory.wordpress.com/> 
> Home: http://garygregory.com/ <http://garygregory.com/>
> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
> 
> 
> -- 
> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org  <ma...@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 <http://garygregory.wordpress.com/> 
> Home: http://garygregory.com/ <http://garygregory.com/>
> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>

Re: RollingAppenderSizeTest failures

Posted by Gary Gregory <ga...@gmail.com>.
My hope was that Ralph would revert his commit that broke the build on
Windows.

Gary

On Mon, Feb 13, 2017 at 10:01 AM, Gary Gregory <ga...@gmail.com>
wrote:

> Maven just works as in on Windows. I have the Maven bin folder on my PATH,
> that's it, it contains mvn.cmd.
>
> Gary
>
> On Mon, Feb 13, 2017 at 9:45 AM, Matt Sicker <bo...@gmail.com> wrote:
>
>> Well, that's step one! My only Windows computer is for videogames, so I'm
>> not really experienced with development in such an environment these days.
>> If you can figure out how to get the mvnw.cmd script to work in Windows,
>> that'd be great.
>>
>> On 13 February 2017 at 11:26, Gary Gregory <ga...@gmail.com>
>> wrote:
>>
>>> Thank you for setting that up Matt. I can see the same failures on
>>> https://builds.apache.org/job/Log4jWindows/ as I do locally.
>>>
>>> Gary
>>>
>>> On Sun, Feb 12, 2017 at 11:11 PM, Matt Sicker <bo...@gmail.com> wrote:
>>>
>>>> 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 <bo...@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 <bo...@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 <bo...@gmail.com> wrote:
>>>>>>
>>>>>>> JAVA_HOME not defined correctly on almost all the environments. Well
>>>>>>> now...
>>>>>>>
>>>>>>> On 12 February 2017 at 22:50, Matt Sicker <bo...@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 <bo...@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 <ra...@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 <bo...@gmail.com>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Matt Sicker <bo...@gmail.com>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Matt Sicker <bo...@gmail.com>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Matt Sicker <bo...@gmail.com>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Matt Sicker <bo...@gmail.com>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Matt Sicker <bo...@gmail.com>
>>>>
>>>
>>>
>>>
>>> --
>>> 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 <bo...@gmail.com>
>>
>
>
>
> --
> 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

Re: RollingAppenderSizeTest failures

Posted by Gary Gregory <ga...@gmail.com>.
Maven just works as in on Windows. I have the Maven bin folder on my PATH,
that's it, it contains mvn.cmd.

Gary

On Mon, Feb 13, 2017 at 9:45 AM, Matt Sicker <bo...@gmail.com> wrote:

> Well, that's step one! My only Windows computer is for videogames, so I'm
> not really experienced with development in such an environment these days.
> If you can figure out how to get the mvnw.cmd script to work in Windows,
> that'd be great.
>
> On 13 February 2017 at 11:26, Gary Gregory <ga...@gmail.com> wrote:
>
>> Thank you for setting that up Matt. I can see the same failures on
>> https://builds.apache.org/job/Log4jWindows/ as I do locally.
>>
>> Gary
>>
>> On Sun, Feb 12, 2017 at 11:11 PM, Matt Sicker <bo...@gmail.com> wrote:
>>
>>> 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 <bo...@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 <bo...@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 <bo...@gmail.com> wrote:
>>>>>
>>>>>> JAVA_HOME not defined correctly on almost all the environments. Well
>>>>>> now...
>>>>>>
>>>>>> On 12 February 2017 at 22:50, Matt Sicker <bo...@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 <bo...@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 <ga...@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 <ra...@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 <bo...@gmail.com>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Matt Sicker <bo...@gmail.com>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Matt Sicker <bo...@gmail.com>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Matt Sicker <bo...@gmail.com>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Matt Sicker <bo...@gmail.com>
>>>>
>>>
>>>
>>>
>>> --
>>> Matt Sicker <bo...@gmail.com>
>>>
>>
>>
>>
>> --
>> 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 <bo...@gmail.com>
>



-- 
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

Re: RollingAppenderSizeTest failures

Posted by Matt Sicker <bo...@gmail.com>.
Well, that's step one! My only Windows computer is for videogames, so I'm
not really experienced with development in such an environment these days.
If you can figure out how to get the mvnw.cmd script to work in Windows,
that'd be great.

On 13 February 2017 at 11:26, Gary Gregory <ga...@gmail.com> wrote:

> Thank you for setting that up Matt. I can see the same failures on
> https://builds.apache.org/job/Log4jWindows/ as I do locally.
>
> Gary
>
> On Sun, Feb 12, 2017 at 11:11 PM, Matt Sicker <bo...@gmail.com> wrote:
>
>> 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 <bo...@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 <bo...@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 <bo...@gmail.com> wrote:
>>>>
>>>>> JAVA_HOME not defined correctly on almost all the environments. Well
>>>>> now...
>>>>>
>>>>> On 12 February 2017 at 22:50, Matt Sicker <bo...@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 <bo...@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 <ga...@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 <ra...@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 <bo...@gmail.com>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Matt Sicker <bo...@gmail.com>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Matt Sicker <bo...@gmail.com>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Matt Sicker <bo...@gmail.com>
>>>>
>>>
>>>
>>>
>>> --
>>> Matt Sicker <bo...@gmail.com>
>>>
>>
>>
>>
>> --
>> Matt Sicker <bo...@gmail.com>
>>
>
>
>
> --
> 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 <bo...@gmail.com>

Re: RollingAppenderSizeTest failures

Posted by Gary Gregory <ga...@gmail.com>.
Thank you for setting that up Matt. I can see the same failures on
https://builds.apache.org/job/Log4jWindows/ as I do locally.

Gary

On Sun, Feb 12, 2017 at 11:11 PM, Matt Sicker <bo...@gmail.com> wrote:

> 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 <bo...@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 <bo...@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 <bo...@gmail.com> wrote:
>>>
>>>> JAVA_HOME not defined correctly on almost all the environments. Well
>>>> now...
>>>>
>>>> On 12 February 2017 at 22:50, Matt Sicker <bo...@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 <bo...@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 <ga...@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 <ra...@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 <bo...@gmail.com>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Matt Sicker <bo...@gmail.com>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Matt Sicker <bo...@gmail.com>
>>>>
>>>
>>>
>>>
>>> --
>>> Matt Sicker <bo...@gmail.com>
>>>
>>
>>
>>
>> --
>> Matt Sicker <bo...@gmail.com>
>>
>
>
>
> --
> Matt Sicker <bo...@gmail.com>
>



-- 
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

Re: RollingAppenderSizeTest failures

Posted by Matt Sicker <bo...@gmail.com>.
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 <bo...@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 <bo...@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 <bo...@gmail.com> wrote:
>>
>>> JAVA_HOME not defined correctly on almost all the environments. Well
>>> now...
>>>
>>> On 12 February 2017 at 22:50, Matt Sicker <bo...@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 <bo...@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 <ga...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Any chance building on Windows gets solved soon-ish?
>>>>>>
>>>>>> Gary
>>>>>>
>>>>>> On Thu, Feb 2, 2017 at 6:05 PM, Gary Gregory <ga...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Git bisec says:
>>>>>>>
>>>>>>> *a0f4f4db5e8e88e56eaa148d81c2ba91df606e2a is the first bad commit*
>>>>>>> commit a0f4f4db5e8e88e56eaa148d81c2ba91df606e2a
>>>>>>> Author: Ralph Goers <ra...@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 <bo...@gmail.com>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Matt Sicker <bo...@gmail.com>
>>>>
>>>
>>>
>>>
>>> --
>>> Matt Sicker <bo...@gmail.com>
>>>
>>
>>
>>
>> --
>> Matt Sicker <bo...@gmail.com>
>>
>
>
>
> --
> Matt Sicker <bo...@gmail.com>
>



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

Re: RollingAppenderSizeTest failures

Posted by Matt Sicker <bo...@gmail.com>.
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 <bo...@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 <bo...@gmail.com> wrote:
>
>> JAVA_HOME not defined correctly on almost all the environments. Well
>> now...
>>
>> On 12 February 2017 at 22:50, Matt Sicker <bo...@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 <bo...@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 <ga...@gmail.com>
>>>> wrote:
>>>>
>>>>> Any chance building on Windows gets solved soon-ish?
>>>>>
>>>>> Gary
>>>>>
>>>>> On Thu, Feb 2, 2017 at 6:05 PM, Gary Gregory <ga...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Git bisec says:
>>>>>>
>>>>>> *a0f4f4db5e8e88e56eaa148d81c2ba91df606e2a is the first bad commit*
>>>>>> commit a0f4f4db5e8e88e56eaa148d81c2ba91df606e2a
>>>>>> Author: Ralph Goers <ra...@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 <ga...@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 <bo...@gmail.com>
>>>>
>>>
>>>
>>>
>>> --
>>> Matt Sicker <bo...@gmail.com>
>>>
>>
>>
>>
>> --
>> Matt Sicker <bo...@gmail.com>
>>
>
>
>
> --
> Matt Sicker <bo...@gmail.com>
>



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

Re: RollingAppenderSizeTest failures

Posted by Matt Sicker <bo...@gmail.com>.
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 <bo...@gmail.com> wrote:

> JAVA_HOME not defined correctly on almost all the environments. Well now...
>
> On 12 February 2017 at 22:50, Matt Sicker <bo...@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 <bo...@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 <ga...@gmail.com>
>>> wrote:
>>>
>>>> Any chance building on Windows gets solved soon-ish?
>>>>
>>>> Gary
>>>>
>>>> On Thu, Feb 2, 2017 at 6:05 PM, Gary Gregory <ga...@gmail.com>
>>>> wrote:
>>>>
>>>>> Git bisec says:
>>>>>
>>>>> *a0f4f4db5e8e88e56eaa148d81c2ba91df606e2a is the first bad commit*
>>>>> commit a0f4f4db5e8e88e56eaa148d81c2ba91df606e2a
>>>>> Author: Ralph Goers <ra...@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 <ga...@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 <bo...@gmail.com>
>>>
>>
>>
>>
>> --
>> Matt Sicker <bo...@gmail.com>
>>
>
>
>
> --
> Matt Sicker <bo...@gmail.com>
>



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

Re: RollingAppenderSizeTest failures

Posted by Matt Sicker <bo...@gmail.com>.
JAVA_HOME not defined correctly on almost all the environments. Well now...

On 12 February 2017 at 22:50, Matt Sicker <bo...@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 <bo...@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 <ga...@gmail.com>
>> wrote:
>>
>>> Any chance building on Windows gets solved soon-ish?
>>>
>>> Gary
>>>
>>> On Thu, Feb 2, 2017 at 6:05 PM, Gary Gregory <ga...@gmail.com>
>>> wrote:
>>>
>>>> Git bisec says:
>>>>
>>>> *a0f4f4db5e8e88e56eaa148d81c2ba91df606e2a is the first bad commit*
>>>> commit a0f4f4db5e8e88e56eaa148d81c2ba91df606e2a
>>>> Author: Ralph Goers <ra...@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 <ga...@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 <bo...@gmail.com>
>>
>
>
>
> --
> Matt Sicker <bo...@gmail.com>
>



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

Re: RollingAppenderSizeTest failures

Posted by Matt Sicker <bo...@gmail.com>.
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 <bo...@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 <ga...@gmail.com> wrote:
>
>> Any chance building on Windows gets solved soon-ish?
>>
>> Gary
>>
>> On Thu, Feb 2, 2017 at 6:05 PM, Gary Gregory <ga...@gmail.com>
>> wrote:
>>
>>> Git bisec says:
>>>
>>> *a0f4f4db5e8e88e56eaa148d81c2ba91df606e2a is the first bad commit*
>>> commit a0f4f4db5e8e88e56eaa148d81c2ba91df606e2a
>>> Author: Ralph Goers <ra...@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 <ga...@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 <bo...@gmail.com>
>



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

Re: RollingAppenderSizeTest failures

Posted by Matt Sicker <bo...@gmail.com>.
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 <ga...@gmail.com> wrote:

> Any chance building on Windows gets solved soon-ish?
>
> Gary
>
> On Thu, Feb 2, 2017 at 6:05 PM, Gary Gregory <ga...@gmail.com>
> wrote:
>
>> Git bisec says:
>>
>> *a0f4f4db5e8e88e56eaa148d81c2ba91df606e2a is the first bad commit*
>> commit a0f4f4db5e8e88e56eaa148d81c2ba91df606e2a
>> Author: Ralph Goers <ra...@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 <ga...@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 <bo...@gmail.com>

Re: RollingAppenderSizeTest failures

Posted by Gary Gregory <ga...@gmail.com>.
Any chance building on Windows gets solved soon-ish?

Gary

On Thu, Feb 2, 2017 at 6:05 PM, Gary Gregory <ga...@gmail.com> wrote:

> Git bisec says:
>
> *a0f4f4db5e8e88e56eaa148d81c2ba91df606e2a is the first bad commit*
> commit a0f4f4db5e8e88e56eaa148d81c2ba91df606e2a
> Author: Ralph Goers <ra...@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 <ga...@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

Re: RollingAppenderSizeTest failures

Posted by Gary Gregory <ga...@gmail.com>.
Git bisec says:

*a0f4f4db5e8e88e56eaa148d81c2ba91df606e2a is the first bad commit*
commit a0f4f4db5e8e88e56eaa148d81c2ba91df606e2a
Author: Ralph Goers <ra...@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 <ga...@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