Dang, another random failure: [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 53.21 s <<< FAILURE! -- in org.apache.logging.log4j.core.appender.rolling.RollingAppenderCronAndSizeTest [ERROR] org.apache.logging.log4j.core.appender.rolling.RollingAppenderCronAndSizeTest.testAppender -- Time elapsed: 53.16 s <<< FAILURE! org.junit.ComparisonFailure: Incorrect file name. Expected counter value of 1 in rollingfile_2023-10-21-09-22-33_-1.log expected:<[]1> but was:<[-]1> at org.junit.Assert.assertEquals(Assert.java:117) at org.apache.logging.log4j.core.appender.rolling.RollingAppenderCronAndSizeTest.testAppender(RollingAppenderCronAndSizeTest.java:90) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.apache.logging.log4j.core.test.junit.LoggerContextRule$1.evaluate(LoggerContextRule.java:126)
My machine is busy doing other things, but it would be nice if the tests could be given more time to run because I plan on using my PC and letting this run in the background. Gary On 2023/10/21 13:11:42 "Gary D. Gregory" wrote: > I got this failure: > > [ERROR] Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 29.00 > s <<< FAILURE! -- in > org.apache.logging.log4j.core.net.UrlConnectionFactoryTest > [ERROR] > org.apache.logging.log4j.core.net.UrlConnectionFactoryTest.withAuthentication > -- Time elapsed: 0.039 s <<< FAILURE! > org.opentest4j.AssertionFailedError: File was not modified ==> expected: > <200> but was: <304> > 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.Assertions.assertEquals(Assertions.java:559) > at > org.apache.logging.log4j.core.net.UrlConnectionFactoryTest.withAuthentication(UrlConnectionFactoryTest.java:130) > at java.base/java.lang.reflect.Method.invoke(Method.java:566) > at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) > at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) > > Running: mvn clean verify > > Using: > > Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546) > Maven home: C:\java\apache-maven-3.9.5 > Java version: 11.0.20, vendor: Eclipse Adoptium, runtime: C:\Program > Files\Eclipse Adoptium\jdk-11.0.20.8-hotspot > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" > > I'll run it again to see if its a random error... > > Gary > > > On 2023/10/20 21:20:00 "Piotr P. Karwasz" wrote: > > This is a vote to release the Apache Log4j 2.21.1. > > > > Website: https://logging-log4j2.staged.apache.org/log4j > > GitHub: https://github.com/apache/logging-log4j2 > > Commit: e613e9ed71279bb52753a4df810d61c11389df81 > > Distribution: https://dist.apache.org/repos/dist/dev/logging/log4j > > Nexus: > > https://repository.apache.org/content/repositories/orgapachelogging-1209 > > Signing key: 0x077e8893a6dcc33dd4a4d5b256e73ba9a0b592d0 > > > > Please download, test, and cast your votes on this mailing list. > > > > [ ] +1, release the artifacts > > [ ] -1, don't release, because... > > > > This vote is open for 72 hours and will pass unless getting a > > net negative vote count. All votes are welcome and we encourage > > everyone to test the release, but only the Logging Services PMC > > votes are officially counted. > > > > == Countdown > > > > https://www.timeanddate.com/countdown/party?iso=20231023T2320&p0=1449&font=cursive > > > > == Release Notes > > > > This patch release contains only the fix of a `log4j-jcl` bug that > > prevents it from connecting with `commons-logging`. > > > > The Log4j 2.21.1 API, as well as the other artifacts, maintains binary > > compatibility with the previous release. > > > > Apache Log4j 2.21.1 requires Java 8 to run. > > The build requires JDK 11 and generates reproducible binaries. > > > > For complete information on Apache Log4j 2, including instructions on > > how to submit bug reports, patches, get support, or suggestions for > > improvement, see http://logging.apache.org/log4j/2.x/[the Apache Log4j > > 2 website]. > > > > > > === Fixed > > > > * Fixes the Apache Commons Logging (JCL) bridge: `log4j-jcl`. (#1865) > > > > Piotr > > >