You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Gary Gregory <ga...@gmail.com> on 2016/06/21 19:33:56 UTC
More failing tests
On Windows 7 and Java 8 I see:
Results :
Failed tests:
JeroMqAppenderTest.testServerOnly:123
RollingAppenderSizeTest.testAppender:141->deleteDir:154 Unable to delete
rollingtest.log due to FileSystemException:
target\rolling1\rollingtest.log: The process cannot access the file because
it is being used by another process.
RollingAppenderSizeTest.testAppender:141->deleteDir:154 Unable to delete
rollingtest.log due to FileSystemException:
target\rolling1\rollingtest.log: The process cannot access the file because
it is being used by another process.
RollingAppenderSizeTest.testAppender:141->deleteDir:154 Unable to delete
rollingtest.log due to FileSystemException:
target\rolling1\rollingtest.log: The process cannot access the file because
it is being used by another process.
RollingAppenderSizeTest.testAppender:141->deleteDir:154 Unable to delete
rollingtest.log due to FileSystemException:
target\rolling1\rollingtest.log: The process cannot access the file because
it is being used by another process.
Tests in error:
OnStartupTriggeringPolicyTest.cleanup:76 » FileSystem target\testfile:
The pro...
Tests run: 1200, Failures: 5, Errors: 1, Skipped: 33
Anyone else?
Gary
--
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory
Re: More failing tests
Posted by Gary Gregory <ga...@gmail.com>.
On Jun 21, 2016 8:02 PM, "Ralph Goers" <ra...@dslextreme.com> wrote:
>
> Thanks, now if we could just figure out why Windows things it is in use…
I fixed that last week :-)
Gary
>
> Ralph
>
>> On Jun 21, 2016, at 2:48 PM, Gary Gregory <ga...@gmail.com> wrote:
>>
>> Voila:
>>
>> java.nio.file.FileSystemException: target\testfile: The process cannot
access the file because it is being used by another process.
>>
>> at
sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
>> at
sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
>> at
sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
>> at
sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
>> at
sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
>> at java.nio.file.Files.deleteIfExists(Files.java:1118)
>> at
org.apache.logging.log4j.core.appender.rolling.OnStartupTriggeringPolicyTest.cleanup(OnStartupTriggeringPolicyTest.java:76)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:606)
>> at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>> at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>> at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>> at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
>> at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>> at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
>> at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>> at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
>> at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
>> at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
>> at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
>>
>> Gary
>>
>> On Tue, Jun 21, 2016 at 1:22 PM, Ralph Goers <ra...@dslextreme.com>
wrote:
>>>
>>> I’d need the rest of the error message on
OnStartupTriggeringPolicyTest, but the line it is failing on is to delete
the log file if it exists after the test has completed.
>>>
>>> We need to determine why Windows thinks the file is in use on the
RollingAppenderSizeTest. I suspect this is the same problem our Windows
have been complaining about on the RollingFileAppender.
>>>
>>> Ralph
>>>
>>>
>>>> On Jun 21, 2016, at 12:33 PM, Gary Gregory <ga...@gmail.com>
wrote:
>>>>
>>>> On Windows 7 and Java 8 I see:
>>>>
>>>> Results :
>>>>
>>>> Failed tests:
>>>> JeroMqAppenderTest.testServerOnly:123
>>>> RollingAppenderSizeTest.testAppender:141->deleteDir:154 Unable to
delete rollingtest.log due to FileSystemException:
target\rolling1\rollingtest.log: The process cannot access the file because
it is being used by another process.
>>>>
>>>> RollingAppenderSizeTest.testAppender:141->deleteDir:154 Unable to
delete rollingtest.log due to FileSystemException:
target\rolling1\rollingtest.log: The process cannot access the file because
it is being used by another process.
>>>>
>>>> RollingAppenderSizeTest.testAppender:141->deleteDir:154 Unable to
delete rollingtest.log due to FileSystemException:
target\rolling1\rollingtest.log: The process cannot access the file because
it is being used by another process.
>>>>
>>>> RollingAppenderSizeTest.testAppender:141->deleteDir:154 Unable to
delete rollingtest.log due to FileSystemException:
target\rolling1\rollingtest.log: The process cannot access the file because
it is being used by another process.
>>>>
>>>> Tests in error:
>>>> OnStartupTriggeringPolicyTest.cleanup:76 » FileSystem
target\testfile: The pro...
>>>>
>>>> Tests run: 1200, Failures: 5, Errors: 1, Skipped: 33
>>>>
>>>> Anyone else?
>>>>
>>>> Gary
>>>>
>>>> --
>>>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>>>> Java Persistence with Hibernate, Second Edition
>>>> JUnit in Action, Second Edition
>>>> Spring Batch in Action
>>>> Blog: http://garygregory.wordpress.com
>>>> Home: http://garygregory.com/
>>>> Tweet! http://twitter.com/GaryGregory
>>>
>>>
>>
>>
>>
>> --
>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>> Java Persistence with Hibernate, Second Edition
>> JUnit in Action, Second Edition
>> Spring Batch in Action
>> Blog: http://garygregory.wordpress.com
>> Home: http://garygregory.com/
>> Tweet! http://twitter.com/GaryGregory
>
>
Re: More failing tests
Posted by Ralph Goers <ra...@dslextreme.com>.
Thanks, now if we could just figure out why Windows things it is in use…
Ralph
> On Jun 21, 2016, at 2:48 PM, Gary Gregory <ga...@gmail.com> wrote:
>
> Voila:
>
> java.nio.file.FileSystemException: target\testfile: The process cannot access the file because it is being used by another process.
>
> at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
> at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
> at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
> at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
> at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
> at java.nio.file.Files.deleteIfExists(Files.java:1118)
> at org.apache.logging.log4j.core.appender.rolling.OnStartupTriggeringPolicyTest.cleanup(OnStartupTriggeringPolicyTest.java:76)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
> at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
> at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
> at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
>
> Gary
>
> On Tue, Jun 21, 2016 at 1:22 PM, Ralph Goers <ralph.goers@dslextreme.com <ma...@dslextreme.com>> wrote:
> I’d need the rest of the error message on OnStartupTriggeringPolicyTest, but the line it is failing on is to delete the log file if it exists after the test has completed.
>
> We need to determine why Windows thinks the file is in use on the RollingAppenderSizeTest. I suspect this is the same problem our Windows have been complaining about on the RollingFileAppender.
>
> Ralph
>
>
>> On Jun 21, 2016, at 12:33 PM, Gary Gregory <garydgregory@gmail.com <ma...@gmail.com>> wrote:
>>
>> On Windows 7 and Java 8 I see:
>>
>> Results :
>>
>> Failed tests:
>> JeroMqAppenderTest.testServerOnly:123
>> RollingAppenderSizeTest.testAppender:141->deleteDir:154 Unable to delete rollingtest.log due to FileSystemException: target\rolling1\rollingtest.log: The process cannot access the file because it is being used by another process.
>>
>> RollingAppenderSizeTest.testAppender:141->deleteDir:154 Unable to delete rollingtest.log due to FileSystemException: target\rolling1\rollingtest.log: The process cannot access the file because it is being used by another process.
>>
>> RollingAppenderSizeTest.testAppender:141->deleteDir:154 Unable to delete rollingtest.log due to FileSystemException: target\rolling1\rollingtest.log: The process cannot access the file because it is being used by another process.
>>
>> RollingAppenderSizeTest.testAppender:141->deleteDir:154 Unable to delete rollingtest.log due to FileSystemException: target\rolling1\rollingtest.log: The process cannot access the file because it is being used by another process.
>>
>> Tests in error:
>> OnStartupTriggeringPolicyTest.cleanup:76 » FileSystem target\testfile: The pro...
>>
>> Tests run: 1200, Failures: 5, Errors: 1, Skipped: 33
>>
>> Anyone else?
>>
>> Gary
>>
>> --
>> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org <ma...@apache.org>
>> Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/>
>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>> Spring Batch in Action <http://www.manning.com/templier/>
>> Blog: http://garygregory.wordpress.com <http://garygregory.wordpress.com/>
>> Home: http://garygregory.com/ <http://garygregory.com/>
>> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
>
>
>
> --
> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org <ma...@apache.org>
> Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com <http://garygregory.wordpress.com/>
> Home: http://garygregory.com/ <http://garygregory.com/>
> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
Re: More failing tests
Posted by Gary Gregory <ga...@gmail.com>.
Voila:
java.nio.file.FileSystemException: target\testfile: The process cannot
access the file because it is being used by another process.
at
sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
at
sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
at
sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
at
sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
at
sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
at java.nio.file.Files.deleteIfExists(Files.java:1118)
at
org.apache.logging.log4j.core.appender.rolling.OnStartupTriggeringPolicyTest.cleanup(OnStartupTriggeringPolicyTest.java:76)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
Gary
On Tue, Jun 21, 2016 at 1:22 PM, Ralph Goers <ra...@dslextreme.com>
wrote:
> I’d need the rest of the error message on OnStartupTriggeringPolicyTest,
> but the line it is failing on is to delete the log file if it exists after
> the test has completed.
>
> We need to determine why Windows thinks the file is in use on the
> RollingAppenderSizeTest. I suspect this is the same problem our Windows
> have been complaining about on the RollingFileAppender.
>
> Ralph
>
>
> On Jun 21, 2016, at 12:33 PM, Gary Gregory <ga...@gmail.com> wrote:
>
> On Windows 7 and Java 8 I see:
>
> Results :
>
> Failed tests:
> JeroMqAppenderTest.testServerOnly:123
> RollingAppenderSizeTest.testAppender:141->deleteDir:154 Unable to delete
> rollingtest.log due to FileSystemException:
> target\rolling1\rollingtest.log: The process cannot access the file because
> it is being used by another process.
>
> RollingAppenderSizeTest.testAppender:141->deleteDir:154 Unable to delete
> rollingtest.log due to FileSystemException:
> target\rolling1\rollingtest.log: The process cannot access the file because
> it is being used by another process.
>
> RollingAppenderSizeTest.testAppender:141->deleteDir:154 Unable to delete
> rollingtest.log due to FileSystemException:
> target\rolling1\rollingtest.log: The process cannot access the file because
> it is being used by another process.
>
> RollingAppenderSizeTest.testAppender:141->deleteDir:154 Unable to delete
> rollingtest.log due to FileSystemException:
> target\rolling1\rollingtest.log: The process cannot access the file because
> it is being used by another process.
>
> Tests in error:
> OnStartupTriggeringPolicyTest.cleanup:76 » FileSystem target\testfile:
> The pro...
>
> Tests run: 1200, Failures: 5, Errors: 1, Skipped: 33
>
> Anyone else?
>
> Gary
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> Java Persistence with Hibernate, Second Edition
> <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>
>
>
--
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory
Re: More failing tests
Posted by Ralph Goers <ra...@dslextreme.com>.
I’d need the rest of the error message on OnStartupTriggeringPolicyTest, but the line it is failing on is to delete the log file if it exists after the test has completed.
We need to determine why Windows thinks the file is in use on the RollingAppenderSizeTest. I suspect this is the same problem our Windows have been complaining about on the RollingFileAppender.
Ralph
> On Jun 21, 2016, at 12:33 PM, Gary Gregory <ga...@gmail.com> wrote:
>
> On Windows 7 and Java 8 I see:
>
> Results :
>
> Failed tests:
> JeroMqAppenderTest.testServerOnly:123
> RollingAppenderSizeTest.testAppender:141->deleteDir:154 Unable to delete rollingtest.log due to FileSystemException: target\rolling1\rollingtest.log: The process cannot access the file because it is being used by another process.
>
> RollingAppenderSizeTest.testAppender:141->deleteDir:154 Unable to delete rollingtest.log due to FileSystemException: target\rolling1\rollingtest.log: The process cannot access the file because it is being used by another process.
>
> RollingAppenderSizeTest.testAppender:141->deleteDir:154 Unable to delete rollingtest.log due to FileSystemException: target\rolling1\rollingtest.log: The process cannot access the file because it is being used by another process.
>
> RollingAppenderSizeTest.testAppender:141->deleteDir:154 Unable to delete rollingtest.log due to FileSystemException: target\rolling1\rollingtest.log: The process cannot access the file because it is being used by another process.
>
> Tests in error:
> OnStartupTriggeringPolicyTest.cleanup:76 » FileSystem target\testfile: The pro...
>
> Tests run: 1200, Failures: 5, Errors: 1, Skipped: 33
>
> Anyone else?
>
> Gary
>
> --
> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org <ma...@apache.org>
> Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com <http://garygregory.wordpress.com/>
> Home: http://garygregory.com/ <http://garygregory.com/>
> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>