Change By: Marc-Olaf Jaschke (29/Jan/13 7:49 PM)
Description: Builds with surefire on Windows OS prevent deletion of files with output from tests. These files are created when [maven.test.redirectTestOutputToFile|http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#redirectTestOutputToFile] is activated.

There is a known problem with memory mapped io on windows os:
"[...] Windows does not allow a mapped file to be deleted [...]"
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4715154

_[hudson.tasks.junit.SuiteResult|https://github.com/jenkinsci/jenkins/blob/734e7e01306e1696655e619d8902a7e6e98b4315/core/src/main/java/hudson/tasks/junit/SuiteResult.java]_ uses memory mapped io to read the redirected test output.

I have attached a patch ([^noMemoryMappedIoForWindows-V2.patch]), that reactivates an older implementation without memory mapped io on windows
 os .

Memory mapped io
 I think this patch is only a temporary solution, because it reintroduces a memory problem. This problem  was  introduced  solved  with  memory mapped io. See  _fe934aac007a20c43e803de61ef8b6cf28c4434f_.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to