You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kristoffer Moum (JIRA)" <ji...@codehaus.org> on 2007/05/28 09:59:58 UTC

[jira] Commented: (CONTINUUM-1263) Builds fail because of problems with deleting surefire reports

    [ http://jira.codehaus.org/browse/CONTINUUM-1263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_97246 ] 

Kristoffer Moum commented on CONTINUUM-1263:
--------------------------------------------

This could very well be caused by the fact that the Continuum instance is running on Windows. There are some integration tests based on Selenium which will start processes for the Selenium server as well as inline Jetty server instances. It seems that these processes are locking quite some elements on the disk. The same setup is working totally trouble free on a Continuum installation on an Ubuntu vmware image on a Windows box.

> Builds fail because of problems with deleting surefire reports
> --------------------------------------------------------------
>
>                 Key: CONTINUUM-1263
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1263
>             Project: Continuum
>          Issue Type: Bug
>    Affects Versions: 1.1-alpha-1
>         Environment: Windows 2003 server running Continuum as a service.
>            Reporter: Kristoffer Moum
>
> Builds of various Maven modules seem to fail at random intervals. For my project which consists of about 30 modules, I see approximately 10-15 failures per day. This is caused by some issues with deleting from the target directory, namely the surefire report output. The following is a sample error message which is extracted from the build mail:
> ****************************************************************************
> Output:
> ****************************************************************************
> [INFO] Scanning for projects...
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Acme foobar
> [INFO]    task-segment: [clean, install]
> [INFO] ----------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory D:\continuum\work-dir-unit\24\target
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to delete directory: D:\continuum\work-dir-unit\24\target. Reason: Unable to delete file D:\continuum\work-dir-unit\24\target\surefire-reports\TEST-com.foobar.Person.xml

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira