That OSGi test failure looks like one that could maybe be solved by doing a "mvn install -DskipTests" first as it's trying to find a snapshot jar.
On 22 December 2017 at 23:17, Ralph Goers <[email protected]> wrote: > I ran the build again and this time it succeeded. I didn’t get the OSGi > error you are seeing. > > Ralph > > > On Dec 22, 2017, at 4:07 PM, Gary Gregory <[email protected]> > wrote: > > > > Arg. Tests pass for me in log4j-api. When I run 'mvn clean install', the > > build blows up in log4j-osgi: > > > > ERROR StatusLogger No log4j2 configuration file found. Using default > > configuration: logging only errors to the console. Set system property > > 'log4j2.debug' to show Log4j2 internal initialization logging. > > [ERROR] Tests run: 5, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: > > 3.286 s <<< FAILURE! - in > > org.apache.logging.log4j.osgi.tests.felix.FelixLoadApiBundleTest > > [ERROR] > > testMissingImportOfCoreOsgiPackage(org.apache.logging.log4j. > osgi.tests.felix.FelixLoadApiBundleTest) > > Time elapsed: 0.857 s <<< ERROR! > > org.osgi.framework.BundleException: Unable to cache bundle: > > file:///C:/vcs/git/apache/logging/logging-log4j2/log4j- > samples/configuration/target/log4j-samples-configuration-2. > 10.1-SNAPSHOT.jar > > Caused by: java.io.FileNotFoundException: > > C:\vcs\git\apache\logging\logging-log4j2\log4j-samples\ > configuration\target\log4j-samples-configuration-2.10.1-SNAPSHOT.jar > > (The system cannot find the path specified) > > > > [ERROR] > > testSimpleLogInAnOsgiContext(org.apache.logging.log4j.osgi.tests.felix. > FelixLoadApiBundleTest) > > Time elapsed: 0.094 s <<< ERROR! > > org.osgi.framework.BundleException: Unable to cache bundle: > > file:///C:/vcs/git/apache/logging/logging-log4j2/log4j- > samples/configuration/target/log4j-samples-configuration-2. > 10.1-SNAPSHOT.jar > > Caused by: java.io.FileNotFoundException: > > C:\vcs\git\apache\logging\logging-log4j2\log4j-samples\ > configuration\target\log4j-samples-configuration-2.10.1-SNAPSHOT.jar > > (The system cannot find the path specified) > > > > WARNING: sun.reflect.Reflection.getCallerClass is not supported. This > will > > impact performance. > > ERROR StatusLogger No log4j2 configuration file found. Using default > > configuration: logging only errors to the console. Set system property > > 'log4j2.debug' to show Log4j2 internal initialization logging. > > WARNING: sun.reflect.Reflection.getCallerClass is not supported. This > will > > impact performance. > > ERROR StatusLogger No log4j2 configuration file found. Using default > > configuration: logging only errors to the console. Set system property > > 'log4j2.debug' to show Log4j2 internal initialization logging. > > WARNING: sun.reflect.Reflection.getCallerClass is not supported. This > will > > impact performance. > > ERROR StatusLogger No log4j2 configuration file found. Using default > > configuration: logging only errors to the console. Set system property > > 'log4j2.debug' to show Log4j2 internal initialization logging. > > [ERROR] Tests run: 5, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: > > 25.295 s <<< FAILURE! - in > > org.apache.logging.log4j.osgi.tests.equinox.EquinoxLoadApiBundleTest > > [ERROR] > > testMissingImportOfCoreOsgiPackage(org.apache.logging.log4j. > osgi.tests.equinox.EquinoxLoadApiBundleTest) > > Time elapsed: 1.263 s <<< ERROR! > > org.osgi.framework.BundleException: Error reading bundle content. > > Caused by: java.io.FileNotFoundException: > > C:\vcs\git\apache\logging\logging-log4j2\log4j-samples\ > configuration\target\log4j-samples-configuration-2.10.1-SNAPSHOT.jar > > (The system cannot find the path specified) > > > > [ERROR] > > testSimpleLogInAnOsgiContext(org.apache.logging.log4j.osgi. > tests.equinox.EquinoxLoadApiBundleTest) > > Time elapsed: 0.104 s <<< ERROR! > > org.osgi.framework.BundleException: Error reading bundle content. > > Caused by: java.io.FileNotFoundException: > > C:\vcs\git\apache\logging\logging-log4j2\log4j-samples\ > configuration\target\log4j-samples-configuration-2.10.1-SNAPSHOT.jar > > (The system cannot find the path specified) > > > > [INFO] > > [INFO] Results: > > [INFO] > > [ERROR] Errors: > > [ERROR] > > EquinoxLoadApiBundleTest>AbstractLoadBundleTest. > testMissingImportOfCoreOsgiPackage:239->AbstractLoadBundleTest. > getDummyBundle:81 > > » Bundle > > [ERROR] > > EquinoxLoadApiBundleTest>AbstractLoadBundleTest. > testSimpleLogInAnOsgiContext:269->AbstractLoadBundleTest.getDummyBundle:81 > > » Bundle > > [ERROR] > > FelixLoadApiBundleTest>AbstractLoadBundleTest. > testMissingImportOfCoreOsgiPackage:239->AbstractLoadBundleTest. > getDummyBundle:81 > > » Bundle > > [ERROR] > > FelixLoadApiBundleTest>AbstractLoadBundleTest. > testSimpleLogInAnOsgiContext:269->AbstractLoadBundleTest.getDummyBundle:81 > > » Bundle > > [INFO] > > [ERROR] Tests run: 10, Failures: 0, Errors: 4, Skipped: 0 > > [INFO] > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Reactor Summary: > > [INFO] > > [INFO] Apache Log4j 2 ..................................... SUCCESS [ > > 2.591 s] > > [INFO] Apache Log4j API Java 9 support .................... SUCCESS [ > > 8.061 s] > > [INFO] Apache Log4j API ................................... SUCCESS [ > > 23.842 s] > > [INFO] Apache Log4j Core .................................. SUCCESS > [18:17 > > min] > > [INFO] Apache Log4j Core Integration Tests ................ SUCCESS > [01:11 > > min] > > [INFO] Apache Log4j 1.x Compatibility API ................. SUCCESS [ > > 16.710 s] > > [INFO] Apache Log4j SLF4J Binding ......................... SUCCESS [ > > 7.532 s] > > [INFO] Apache Log4j to SLF4J Adapter ...................... SUCCESS [ > > 5.758 s] > > [INFO] Apache Log4j Commons Logging Bridge ................ SUCCESS [ > > 4.113 s] > > [INFO] Apache Log4j Flume Bridge .......................... SUCCESS [ > > 56.697 s] > > [INFO] Apache Log4j Web ................................... SUCCESS [ > > 9.633 s] > > [INFO] Apache Log4j Tag Library ........................... SUCCESS [ > > 21.808 s] > > [INFO] Apache Log4j JMX GUI ............................... SUCCESS [ > > 1.839 s] > > [INFO] Apache Log4j Samples ............................... SUCCESS [ > > 0.522 s] > > [INFO] Apache Log4j Samples: Flume - Common ............... SUCCESS [ > > 3.126 s] > > [INFO] Apache Log4j Samples: Flume - Remote ............... SUCCESS [ > > 2.534 s] > > [INFO] Apache Log4j Samples: Flume - Embedded ............. SUCCESS [ > > 8.827 s] > > [INFO] Apache Log4j Samples: Configuration ................ SUCCESS [ > > 3.655 s] > > [INFO] Apache Log4j Samples: LoggerProperties ............. SUCCESS [ > > 3.789 s] > > [INFO] Apache Log4j OSGi .................................. FAILURE [ > > 28.166 s] > > [INFO] Apache Log4j BOM ................................... SKIPPED > > [INFO] Apache Log4j CouchDB ............................... SKIPPED > > [INFO] Apache Log4j MongoDB ............................... SKIPPED > > [INFO] Apache Log4j Cassandra ............................. 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 App Server Support .................... SKIPPED > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] BUILD FAILURE > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Total time: 23:01 min > > [INFO] Finished at: 2017-12-22T15:56:03-07:00 > > [INFO] Final Memory: 57M/426M > > [INFO] > > ------------------------------------------------------------------------ > > > > Gary > > > > On Fri, Dec 22, 2017 at 3:30 PM, Ralph Goers <[email protected] > > > > wrote: > > > >> I reported that the build failed for me 2 weeks ago and never heard > >> anything. I just tried it again and now I get a failure in log4j-api. I > >> can’t perform releases while there are build failures. > >> > >> [ERROR] Tests run: 53, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: > >> 0.929 s <<< FAILURE! - in org.apache.logging.log4j.LoggerTest > >> [ERROR] mdc(org.apache.logging.log4j.LoggerTest) Time elapsed: 0.011 s > >> <<< FAILURE! > >> java.lang.AssertionError: Incorrect MDC: DEBUG Debug message > >> at org.apache.logging.log4j.LoggerTest.mdc(LoggerTest.java:544) > >> > >> Ralph > >> > >>> On Dec 22, 2017, at 12:21 PM, Gary Gregory <[email protected]> > >> wrote: > >>> > >>> Time to release? We have small set of changes that fits in a > maintenance > >>> x.x.1 release. > >>> > >>> Gary > >> > >> > > > -- Matt Sicker <[email protected]>
