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 <garydgreg...@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 <ralph.go...@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.po...@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 <garydgreg...@gmail.com> wrote: >> >> I get: >> >> Tests in error: >> RollingAppenderSizeTest.cleanup:115->cleanFolder:189 ╗ FileSystem >> target\rolli... >> RollingAppenderSizeTest.cleanup:115->cleanFolder:189 ╗ FileSystem >> target\rolli... >> RollingAppenderSizeTest.cleanup:115->cleanFolder:189 ╗ FileSystem >> target\rolli... >> RollingAppenderSizeTest.cleanup:115->cleanFolder:189 ╗ FileSystem >> target\rolli... >> RollingAppenderSizeTest.cleanup:115->cleanFolder:189 ╗ FileSystem >> target\rolli... >> RollingAppenderSizeTest.cleanup:115->cleanFolder:189 ╗ FileSystem >> target\rolli... >> RollingAppenderSizeTest.cleanup:115->cleanFolder:189 ╗ FileSystem >> target\rolli... >> RollingAppenderSizeTest.cleanup:115->cleanFolder:189 ╗ FileSystem >> target\rolli... >> RollingAppenderSizeTest.cleanup:115->cleanFolder:189 ╗ FileSystem >> target\rolli... >> RollingAppenderSizeTest.cleanup:115->cleanFolder:189 ╗ FileSystem >> target\rolli... >> >> Tests run: 1879, Failures: 0, Errors: 10, Skipped: 30 >> >> using: >> >> Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; >> 2015-11-10T08:41:47-08:00) >> Maven home: C:\Java\apache-maven-3.3.9\bin\.. >> Java version: 1.7.0_80, vendor: Oracle Corporation >> Java home: C:\Program Files\Java\jdk1.7.0_80\jre >> Default locale: en_US, platform encoding: Cp1252 >> OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "windows" >> >> Anyone else? >> >> -- >> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org >> Java Persistence with Hibernate, Second Edition >> <https://www.amazon.com/gp/product/1617290459/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1617290459&linkCode=as2&tag=garygregory-20&linkId=cadb800f39946ec62ea2b1af9fe6a2b8> >> >> <http://ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1617290459> >> JUnit in Action, Second Edition >> <https://www.amazon.com/gp/product/1935182021/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182021&linkCode=as2&tag=garygregory-20&linkId=31ecd1f6b6d1eaf8886ac902a24de418%22> >> >> <http://ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182021> >> Spring Batch in Action >> <https://www.amazon.com/gp/product/1935182951/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182951&linkCode=%7B%7BlinkCode%7D%7D&tag=garygregory-20&linkId=%7B%7Blink_id%7D%7D%22%3ESpring+Batch+in+Action> >> <http://ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182951> >> Blog: http://garygregory.wordpress.com >> Home: http://garygregory.com/ >> Tweet! http://twitter.com/GaryGregory >> >> >> > > > -- > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org > Java Persistence with Hibernate, Second Edition > <https://www.amazon.com/gp/product/1617290459/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1617290459&linkCode=as2&tag=garygregory-20&linkId=cadb800f39946ec62ea2b1af9fe6a2b8> > > <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1617290459> > JUnit in Action, Second Edition > <https://www.amazon.com/gp/product/1935182021/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182021&linkCode=as2&tag=garygregory-20&linkId=31ecd1f6b6d1eaf8886ac902a24de418%22> > > <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182021> > Spring Batch in Action > <https://www.amazon.com/gp/product/1935182951/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182951&linkCode=%7B%7BlinkCode%7D%7D&tag=garygregory-20&linkId=%7B%7Blink_id%7D%7D%22%3ESpring+Batch+in+Action> > <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182951> > Blog: http://garygregory.wordpress.com > Home: http://garygregory.com/ > Tweet! http://twitter.com/GaryGregory > -- E-Mail: garydgreg...@gmail.com | ggreg...@apache.org Java Persistence with Hibernate, Second Edition <https://www.amazon.com/gp/product/1617290459/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1617290459&linkCode=as2&tag=garygregory-20&linkId=cadb800f39946ec62ea2b1af9fe6a2b8> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1617290459> JUnit in Action, Second Edition <https://www.amazon.com/gp/product/1935182021/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182021&linkCode=as2&tag=garygregory-20&linkId=31ecd1f6b6d1eaf8886ac902a24de418%22> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182021> Spring Batch in Action <https://www.amazon.com/gp/product/1935182951/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182951&linkCode=%7B%7BlinkCode%7D%7D&tag=garygregory-20&linkId=%7B%7Blink_id%7D%7D%22%3ESpring+Batch+in+Action> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182951> Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory