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

[log4j] release 2.10.1

Time to release? We have small set of changes that fits in a maintenance
x.x.1 release.

Gary

Re: [log4j] release 2.10.1

Posted by Mikael Ståldal <mi...@apache.org>.
Yes, it does.

On 2017-12-23 17:39, Ralph Goers wrote:
> I am using the same version of Maven and Java. Does your reactor order match mine?

Re: [log4j] release 2.10.1

Posted by Ralph Goers <ra...@dslextreme.com>.
I am using the same version of Maven and Java. Does your reactor order match mine?

[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Log4j 2 ..................................... SUCCESS [  1.532 s]
[INFO] Apache Log4j API Java 9 support .................... SUCCESS [  4.568 s]
[INFO] Apache Log4j API ................................... SUCCESS [ 12.819 s]
[INFO] Apache Log4j Core .................................. SUCCESS [11:41 min]
[INFO] Apache Log4j Core Integration Tests ................ SUCCESS [ 29.895 s]
[INFO] Apache Log4j 1.x Compatibility API ................. SUCCESS [  8.075 s]
[INFO] Apache Log4j SLF4J Binding ......................... SUCCESS [  4.417 s]
[INFO] Apache Log4j to SLF4J Adapter ...................... SUCCESS [  2.814 s]
[INFO] Apache Log4j Commons Logging Bridge ................ SUCCESS [  3.076 s]
[INFO] Apache Log4j Flume Bridge .......................... SUCCESS [ 13.619 s]
[INFO] Apache Log4j Web ................................... SUCCESS [  4.971 s]
[INFO] Apache Log4j Tag Library ........................... SUCCESS [ 13.557 s]
[INFO] Apache Log4j JMX GUI ............................... SUCCESS [  1.093 s]
[INFO] Apache Log4j Samples ............................... SUCCESS [  0.407 s]
[INFO] Apache Log4j Samples: Flume - Common ............... SUCCESS [  1.568 s]
[INFO] Apache Log4j Samples: Flume - Remote ............... SUCCESS [  1.476 s]
[INFO] Apache Log4j Samples: Flume - Embedded ............. SUCCESS [  3.235 s]
[INFO] Apache Log4j Samples: Configuration ................ SUCCESS [  2.332 s]
[INFO] Apache Log4j Samples: LoggerProperties ............. SUCCESS [  2.619 s]
[INFO] Apache Log4j OSGi .................................. SUCCESS [  4.144 s]
[INFO] Apache Log4j BOM ................................... SUCCESS [  0.664 s]
[INFO] Apache Log4j CouchDB ............................... SUCCESS [  1.101 s]
[INFO] Apache Log4j MongoDB ............................... SUCCESS [  2.373 s]
[INFO] Apache Log4j Cassandra ............................. SUCCESS [ 17.109 s]
[INFO] Apache Log4J Performance Tests ..................... SUCCESS [ 33.243 s]
[INFO] Apache Log4j Streaming Interface ................... SUCCESS [  7.877 s]
[INFO] Apache Log4j JUL Adapter ........................... SUCCESS [  8.930 s]
[INFO] Apache Log4j Liquibase Binding ..................... SUCCESS [  2.413 s]
[INFO] Apache Log4j App Server Support .................... SUCCESS [  1.101 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS

Ralph


> On Dec 23, 2017, at 8:37 AM, Mikael Ståldal <mi...@apache.org> wrote:
> 
> I just tried with latest master. No errors in log4j-api, but in log4j-osgi:
> 
> 
> $ mvn -v
> Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T17:41:47+01:00)
> Maven home: /opt/apache-maven-3.3.9
> Java version: 1.8.0_144, vendor: Oracle Corporation
> Java home: /opt/jvm/jdk1.8.0_144/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "4.10.0-42-generic", arch: "amd64", family: "unix"
> 
> 
> $ mvn clean install
> 
> [ERROR] Tests run: 5, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.051 s <<< FAILURE! - in org.apache.logging.log4j.osgi.tests.felix.FelixLoadApiBundleTest
> [ERROR] testMissingImportOfCoreOsgiPackage(org.apache.logging.log4j.osgi.tests.felix.FelixLoadApiBundleTest)  Time elapsed: 0.408 s  <<< ERROR!
> org.osgi.framework.BundleException: Unable to cache bundle: file:///home/mikes/programproject/logging-log4j2/log4j-samples/configuration/target/log4j-samples-configuration-2.10.1-SNAPSHOT.jar
> Caused by: java.io.FileNotFoundException: /home/mikes/programproject/logging-log4j2/log4j-samples/configuration/target/log4j-samples-configuration-2.10.1-SNAPSHOT.jar (No such file or directory)
> 
> [ERROR] testSimpleLogInAnOsgiContext(org.apache.logging.log4j.osgi.tests.felix.FelixLoadApiBundleTest)  Time elapsed: 0.063 s  <<< ERROR!
> org.osgi.framework.BundleException: Unable to cache bundle: file:///home/mikes/programproject/logging-log4j2/log4j-samples/configuration/target/log4j-samples-configuration-2.10.1-SNAPSHOT.jar
> Caused by: java.io.FileNotFoundException: /home/mikes/programproject/logging-log4j2/log4j-samples/configuration/target/log4j-samples-configuration-2.10.1-SNAPSHOT.jar (No such file or directory)
> 
> 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: 2.095 s <<< FAILURE! - in org.apache.logging.log4j.osgi.tests.equinox.EquinoxLoadApiBundleTest
> [ERROR] testMissingImportOfCoreOsgiPackage(org.apache.logging.log4j.osgi.tests.equinox.EquinoxLoadApiBundleTest)  Time elapsed: 0.635 s  <<< ERROR!
> org.osgi.framework.BundleException: Error reading bundle content.
> Caused by: java.io.FileNotFoundException: /home/mikes/programproject/logging-log4j2/log4j-samples/configuration/target/log4j-samples-configuration-2.10.1-SNAPSHOT.jar (No such file or directory)
> 
> [ERROR] testSimpleLogInAnOsgiContext(org.apache.logging.log4j.osgi.tests.equinox.EquinoxLoadApiBundleTest)  Time elapsed: 0.037 s  <<< ERROR!
> org.osgi.framework.BundleException: Error reading bundle content.
> Caused by: java.io.FileNotFoundException: /home/mikes/programproject/logging-log4j2/log4j-samples/configuration/target/log4j-samples-configuration-2.10.1-SNAPSHOT.jar (No such file or directory)
> 
> [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
> 
> 


Re: [log4j] release 2.10.1

Posted by Mikael Ståldal <mi...@apache.org>.
I just tried with latest master. No errors in log4j-api, but in log4j-osgi:


$ mvn -v
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 
2015-11-10T17:41:47+01:00)
Maven home: /opt/apache-maven-3.3.9
Java version: 1.8.0_144, vendor: Oracle Corporation
Java home: /opt/jvm/jdk1.8.0_144/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.10.0-42-generic", arch: "amd64", family: 
"unix"


$ mvn clean install

[ERROR] Tests run: 5, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 
2.051 s <<< FAILURE! - in 
org.apache.logging.log4j.osgi.tests.felix.FelixLoadApiBundleTest
[ERROR] 
testMissingImportOfCoreOsgiPackage(org.apache.logging.log4j.osgi.tests.felix.FelixLoadApiBundleTest) 
  Time elapsed: 0.408 s  <<< ERROR!
org.osgi.framework.BundleException: Unable to cache bundle: 
file:///home/mikes/programproject/logging-log4j2/log4j-samples/configuration/target/log4j-samples-configuration-2.10.1-SNAPSHOT.jar
Caused by: java.io.FileNotFoundException: 
/home/mikes/programproject/logging-log4j2/log4j-samples/configuration/target/log4j-samples-configuration-2.10.1-SNAPSHOT.jar 
(No such file or directory)

[ERROR] 
testSimpleLogInAnOsgiContext(org.apache.logging.log4j.osgi.tests.felix.FelixLoadApiBundleTest) 
  Time elapsed: 0.063 s  <<< ERROR!
org.osgi.framework.BundleException: Unable to cache bundle: 
file:///home/mikes/programproject/logging-log4j2/log4j-samples/configuration/target/log4j-samples-configuration-2.10.1-SNAPSHOT.jar
Caused by: java.io.FileNotFoundException: 
/home/mikes/programproject/logging-log4j2/log4j-samples/configuration/target/log4j-samples-configuration-2.10.1-SNAPSHOT.jar 
(No such file or directory)

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: 
2.095 s <<< FAILURE! - in 
org.apache.logging.log4j.osgi.tests.equinox.EquinoxLoadApiBundleTest
[ERROR] 
testMissingImportOfCoreOsgiPackage(org.apache.logging.log4j.osgi.tests.equinox.EquinoxLoadApiBundleTest) 
  Time elapsed: 0.635 s  <<< ERROR!
org.osgi.framework.BundleException: Error reading bundle content.
Caused by: java.io.FileNotFoundException: 
/home/mikes/programproject/logging-log4j2/log4j-samples/configuration/target/log4j-samples-configuration-2.10.1-SNAPSHOT.jar 
(No such file or directory)

[ERROR] 
testSimpleLogInAnOsgiContext(org.apache.logging.log4j.osgi.tests.equinox.EquinoxLoadApiBundleTest) 
  Time elapsed: 0.037 s  <<< ERROR!
org.osgi.framework.BundleException: Error reading bundle content.
Caused by: java.io.FileNotFoundException: 
/home/mikes/programproject/logging-log4j2/log4j-samples/configuration/target/log4j-samples-configuration-2.10.1-SNAPSHOT.jar 
(No such file or directory)

[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


Re: [log4j] release 2.10.1

Posted by Mikael Ståldal <mi...@apache.org>.
Did not help for me.


On 2017-12-23 06:46, Matt Sicker wrote:
> 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.

Re: [log4j] release 2.10.1

Posted by Matt Sicker <bo...@gmail.com>.
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 <ra...@dslextreme.com>
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 <ga...@gmail.com>
> 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 <ralph.goers@dslextreme.com
> >
> > 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 <ga...@gmail.com>
> >> wrote:
> >>>
> >>> Time to release? We have small set of changes that fits in a
> maintenance
> >>> x.x.1 release.
> >>>
> >>> Gary
> >>
> >>
>
>
>


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

Re: [log4j] release 2.10.1

Posted by Ralph Goers <ra...@dslextreme.com>.
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 <ga...@gmail.com> 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 <ra...@dslextreme.com>
> 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 <ga...@gmail.com>
>> wrote:
>>> 
>>> Time to release? We have small set of changes that fits in a maintenance
>>> x.x.1 release.
>>> 
>>> Gary
>> 
>> 



Re: [log4j] release 2.10.1

Posted by Gary Gregory <ga...@gmail.com>.
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 <ra...@dslextreme.com>
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 <ga...@gmail.com>
> wrote:
> >
> > Time to release? We have small set of changes that fits in a maintenance
> > x.x.1 release.
> >
> > Gary
>
>

Re: [log4j] release 2.10.1

Posted by Ralph Goers <ra...@dslextreme.com>.
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 <ga...@gmail.com> wrote:
> 
> Time to release? We have small set of changes that fits in a maintenance
> x.x.1 release.
> 
> Gary