I reran again yesterday, got the same 2 failures we know about plus a new one:

[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.236 s 
<<< FAILURE! -- in org.apache.logging.log4j.core.config.FileOutputTest
[ERROR] org.apache.logging.log4j.core.config.FileOutputTest.testConfig -- Time 
elapsed: 5.628 s <<< FAILURE!
org.opentest4j.AssertionFailedError:
target\test.log failed with java.nio.file.FileSystemException: target\test.log: 
The process cannot access the file because it is being used by another process.

        at 
org.apache.logging.log4j.test.junit.AbstractFileCleaner.clean(AbstractFileCleaner.java:82)
        at 
org.apache.logging.log4j.test.junit.AbstractFileCleaner.beforeEach(AbstractFileCleaner.java:43)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
        Suppressed: org.opentest4j.AssertionFailedError: target\test.log failed 
with java.nio.file.FileSystemException: target\test.log: The process cannot 
access the file because it is being used by another process.

                at 
org.apache.logging.log4j.test.junit.AbstractFileCleaner.clean(AbstractFileCleaner.java:82)
                at 
org.apache.logging.log4j.test.junit.AbstractFileCleaner.afterEach(AbstractFileCleaner.java:48)
                ... 2 more

        at 
org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:253)

Gary

On 2023/10/21 20:28:31 "Piotr P. Karwasz" wrote:
> Hi Gary,
> 
> On Sat, 21 Oct 2023 at 15:11, Gary D. Gregory <ggreg...@apache.org> 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!
> 
> On Sat, 21 Oct 2023 at 15:25, Gary D. Gregory <ggreg...@apache.org> wrote:
> >
> > 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!
> 
> I'll look into those. Some tests in a parallel run fail if multiple
> tests access the same file (especially on Windows), but these do not
> seem to match this category.
> 
> Piotr
> 

Reply via email to