It runs fine in my Windows 10 VM with Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T12:41:47-06:00) Maven home: C:\Apps\apache-maven-3.6.0\bin\.. Java version: 1.8.0_191, vendor: Oracle Corporation, runtime: C:\Program Files\jdk\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: “windows"
Ralph > On Sep 14, 2022, at 1:30 PM, Gary D. Gregory <ggreg...@apache.org> wrote: > > Building from the src zip on Windows 10 with 'mvn -V clean install', I get > this failure: > > Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63) > Maven home: C:\Java\apache-maven-3.8.6 > Java version: 1.8.0_342, vendor: Temurin, runtime: C:\Program Files\Eclipse > Adoptium\jdk-8.0.342.7-hotspot\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" > ... > [INFO] Running org.apache.logging.log4j.NoopThreadContextTest > [ERROR] Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.984 > s <<< FAILURE! - in org.apache.logging.log4j.message.StructuredDataMessageTest > [ERROR] org.apache.logging.log4j.LoggerTest.flowTracingString_ObjectArray2 > Time elapsed: 0.011 s <<< FAILURE! > org.opentest4j.AssertionFailedError: expected: <2> but was: <1> > at > org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151) > at > org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) > at > org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197) > at > org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150) > at > org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:145) > at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:527) > at > org.apache.logging.log4j.LoggerTest.flowTracingString_ObjectArray2(LoggerTest.java:125) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727) > at > org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) > at > org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) > at > org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156) > at > org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147) > at > org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86) > at > org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103) > at > org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93) > at > org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) > at > org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) > at > org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) > at > org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) > at > org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92) > at > org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86) > at > org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:217) > at > org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) > at > org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213) > at > org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138) > at > org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68) > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151) > at > org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) > at > org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) > at > org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) > at > org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:185) > at > org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.executeNonConcurrentTasks(ForkJoinPoolHierarchicalTestExecutorService.java:155) > at > org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.invokeAll(ForkJoinPoolHierarchicalTestExecutorService.java:135) > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) > at > org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) > at > org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) > at > org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) > at > org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:185) > at java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:189) > at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) > at > java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) > at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) > at > java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175) > > Gary > > On 2022/09/13 20:49:06 Ralph Goers wrote: >> This is a vote to release Log4j 2.19.0, the next version of the Log4j 2 >> project. >> >> Note that the security page on the web site was updated to better describe >> CVE-2021-44228 and CVE-2021-45046. Please review those changes. >> >> Please download, test, and cast your votes on the log4j developers list. >> [] +1, release the artifacts >> [] -1, don't release because... >> >> The vote will remain open for 72 hours. All votes are welcome and we >> encourage everyone to test the release, but only Logging PMC votes are >> “officially” counted. As always, at least 3 +1 votes and more positive than >> negative votes are required. >> >> Changes in this version include: >> >> New Features >> • LOG4J2-3583: Add support for SLF4J2 stack-valued MDC. Thanks to >> Pierrick Terrettaz. >> • LOG4J2-2975: Add implementation of SLF4J2 fluent API. Thanks to >> Daniel Gray. >> >> Fixed Bugs >> • LOG4J2-3578: Generate new SSL certs for testing. >> • LOG4J2-3556: Make JsonTemplateLayout stack trace truncation operate >> for each label block. Thanks to Arthur Gavlyukovskiy. >> • LOG4J2-3550: SystemPropertyArbiter was assigning the value as the >> name. Thanks to DongjianPeng. >> • LOG4J2-3560: Logger$PrivateConfig.filter(Level, Marker, String) was >> allocating empty varargs array. Thanks to David Schlosnagle. >> • LOG4J2-3561: Allows a space separated list of style specifiers in the >> %style pattern for consistency with %highlight. Thanks to Robert Papp. >> • LOG4J2-3564: Fix NPE in log4j-to-jul in the case the root logger >> level is null. >> • LOG4J2-3545: Add correct manifest entries for OSGi to log4j-jcl >> Thanks to Johan Compagner. >> • LOG4J2-3565: Fix RollingRandomAccessFileAppender with >> DirectWriteRolloverStrategy can't create the first log file of different >> directory. >> • LOG4J2-3579: Fix ServiceLoaderUtil behavior in the presence of a >> SecurityManager. Thanks to Boris Unckel. >> • LOG4J2-3559: Fix resolution of properties not starting with log4j2.. >> Thanks to Gary Gregory. >> • LOG4J2-3557: Fix recursion between Log4j 1.2 LogManager and Category. >> Thanks to Andreas Leitgeb. >> • LOG4J2-3587: Fix regression in Rfc5424Layout default values. Thanks >> to Tomas Micko. >> • LOG4J2-3548: Improve support for passwordless keystores. Thanks to >> Kristof Farkas-Pall. >> • LOG4J2-708: Add async support to Log4jServletFilter. >> >> Changes >> • LOG4J2-3572: Add getExplicitLevel method to LoggerConfig. >> • LOG4J2-3589: Allow Plugins to be injected with the LoggerContext >> reference. >> • LOG4J2-3588: Allow PropertySources to be added. >> >> Removed >> • LOG4J2-3573: Removed build page in favor of a single build >> instructions file. Thanks to Wolff Bock von Wuelfingen. >> • LOG4J2-3590: Remove SLF4J 1.8.x binding. >> >> Tag: >> a) for a new copy do "git clone >> https://github.com/apache/logging-log4j2.git and then "git checkout >> tags/log4j-2.19.0-rc2” or just "git clone -b log4j-2.19.0-rc2 >> https://github.com/apache/logging-log4j2.git" >> b) for an existing working copy to “git pull” and then “git checkout >> tags/log4j-2.19.0-rc2” >> >> Web Site: https://logging.staged.apache.org/log4j/2.x/index.html. >> >> Maven Artifacts: >> https://repository.apache.org/content/repositories/orgapachelogging-1089/ >> >> Distribution archives: https://dist.apache.org/repos/dist/dev/logging/log4j/ >> >> You may download all the Maven artifacts by executing: >> wget -e robots=off --cut-dirs=7 -nH -r -p -np --no-check-certificate >> https://repository.apache.org/content/repositories/orgapachelogging-1089/org/apache/logging/log4j/ >> >> Ralph