-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
Jenkins 1.628
Junit 1.9
Our unit test suite occasionally dumps a malformed XML file.
The file fails to be parsed and causes the build to fail, however on the next job on the agent the junit xml file cannot be deleted:
13:32:23 [***-unit] $ p4 -d C:\jenkins\***-unit -x- have 13:32:29 Could not remove file: C:\jenkins\***-unit\results\***\munit.xml caused by 13:32:29 C:\jenkins\***-unit\***\munit.xml: The process cannot access the file because it is being used by another process. 13:32:29 13:32:29 WARNING: Problem deleting file during quick clean:
A similar error is raised when deleting the file manually, and the process using the file is the jenkins.war process.
I have attached the offending malformed xml file.
I believe in previous versions this malformed XML would cause the build to error and the file would be closed correctly. I am not sure of the version I was previously using however.