You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org> on 2009/04/15 11:24:15 UTC

[jira] Created: (DIRSERVER-1348) Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder

Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder
-----------------------------------------------------------------------------------------------------

                 Key: DIRSERVER-1348
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1348
             Project: Directory ApacheDS
          Issue Type: Bug
          Components: core-integ
    Affects Versions: 1.5.5
            Reporter: Pierre-Arnaud Marcelot
            Priority: Blocker


Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSERVER-1348) Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704935#action_12704935 ] 

Emmanuel Lecharny commented on DIRSERVER-1348:
----------------------------------------------

Completed by this patch :

http://svn.apache.org/viewvc?rev=770597&view=rev

> Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder
> -----------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1348
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1348
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core-integ
>    Affects Versions: 1.5.4
>            Reporter: Pierre-Arnaud Marcelot
>            Assignee: Emmanuel Lecharny
>            Priority: Blocker
>             Fix For: 1.5.5
>
>         Attachments: org.apache.directory.server.core.jndi.MixedCaseITest.txt
>
>
> Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRSERVER-1348) Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre-Arnaud Marcelot updated DIRSERVER-1348:
----------------------------------------------

    Attachment: org.apache.directory.server.core.jndi.MixedCaseITest.txt

> Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder
> -----------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1348
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1348
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core-integ
>    Affects Versions: 1.5.5
>            Reporter: Pierre-Arnaud Marcelot
>            Priority: Blocker
>         Attachments: org.apache.directory.server.core.jndi.MixedCaseITest.txt
>
>
> Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSERVER-1348) Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704933#action_12704933 ] 

Emmanuel Lecharny commented on DIRSERVER-1348:
----------------------------------------------

The journal.destroy() method was not called, leaving the writer open. This has been fixed.

Can someone with windows check that the fix is ok ?

NOTE : In order to be sure that the fix works, the following line must be commented, as the journal is not activated by default :

DefaultDirectoryService.java, line 1520

Thanks !

Patch : http://svn.apache.org/viewvc?rev=770591&view=rev


> Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder
> -----------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1348
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1348
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core-integ
>    Affects Versions: 1.5.4
>            Reporter: Pierre-Arnaud Marcelot
>            Assignee: Emmanuel Lecharny
>            Priority: Blocker
>             Fix For: 1.5.5
>
>         Attachments: org.apache.directory.server.core.jndi.MixedCaseITest.txt
>
>
> Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (DIRSERVER-1348) Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny closed DIRSERVER-1348.
----------------------------------------


> Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder
> -----------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1348
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1348
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core-integ
>    Affects Versions: 1.5.4
>            Reporter: Pierre-Arnaud Marcelot
>            Assignee: Emmanuel Lecharny
>            Priority: Blocker
>             Fix For: 1.5.5
>
>         Attachments: org.apache.directory.server.core.jndi.MixedCaseITest.txt
>
>
> Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (DIRSERVER-1348) Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny resolved DIRSERVER-1348.
------------------------------------------

    Resolution: Fixed

I got the build to work on Windows now. Some indexes were deleted twice, leading to some error. Once the index was deleted only once, the tests were passing ok.

> Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder
> -----------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1348
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1348
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core-integ
>    Affects Versions: 1.5.4
>            Reporter: Pierre-Arnaud Marcelot
>            Assignee: Emmanuel Lecharny
>            Priority: Blocker
>             Fix For: 1.5.5
>
>         Attachments: org.apache.directory.server.core.jndi.MixedCaseITest.txt
>
>
> Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (DIRSERVER-1348) Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder

Posted by "Alex Karasulu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Karasulu reassigned DIRSERVER-1348:
----------------------------------------

    Assignee: Alex Karasulu

> Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder
> -----------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1348
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1348
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core-integ
>    Affects Versions: 1.5.5
>            Reporter: Pierre-Arnaud Marcelot
>            Assignee: Alex Karasulu
>            Priority: Blocker
>         Attachments: org.apache.directory.server.core.jndi.MixedCaseITest.txt
>
>
> Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (DIRSERVER-1348) Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny reassigned DIRSERVER-1348:
--------------------------------------------

    Assignee: Emmanuel Lecharny  (was: Alex Karasulu)

> Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder
> -----------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1348
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1348
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core-integ
>    Affects Versions: 1.5.4
>            Reporter: Pierre-Arnaud Marcelot
>            Assignee: Emmanuel Lecharny
>            Priority: Blocker
>             Fix For: 1.5.5
>
>         Attachments: org.apache.directory.server.core.jndi.MixedCaseITest.txt
>
>
> Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSERVER-1348) Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699133#action_12699133 ] 

Pierre-Arnaud Marcelot commented on DIRSERVER-1348:
---------------------------------------------------

After more investigation I've found that the journal.ldif file is the cause of the problem.

I think the file is still open somewhere in the code, which prevents Windows to delete it.

> Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder
> -----------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1348
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1348
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core-integ
>    Affects Versions: 1.5.5
>            Reporter: Pierre-Arnaud Marcelot
>            Priority: Blocker
>         Attachments: org.apache.directory.server.core.jndi.MixedCaseITest.txt
>
>
> Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRSERVER-1348) Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRSERVER-1348:
-----------------------------------------

    Affects Version/s:     (was: 1.5.5)
                       1.5.4
        Fix Version/s: 1.5.5

fixed the version. As we didn't released 1.5.5, we still have an opportunity to fix it now.

> Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder
> -----------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1348
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1348
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core-integ
>    Affects Versions: 1.5.4
>            Reporter: Pierre-Arnaud Marcelot
>            Assignee: Alex Karasulu
>            Priority: Blocker
>             Fix For: 1.5.5
>
>         Attachments: org.apache.directory.server.core.jndi.MixedCaseITest.txt
>
>
> Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSERVER-1348) Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700252#action_12700252 ] 

Emmanuel Lecharny commented on DIRSERVER-1348:
----------------------------------------------

This is an issue on windows because I forgot to close the journal.ldif file when quitting the server. This should be done during the server shutdown. Sorry for not having thought about windows whiule I added the journal ... My bad.

> Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder
> -----------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1348
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1348
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core-integ
>    Affects Versions: 1.5.5
>            Reporter: Pierre-Arnaud Marcelot
>            Assignee: Alex Karasulu
>            Priority: Blocker
>         Attachments: org.apache.directory.server.core.jndi.MixedCaseITest.txt
>
>
> Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSERVER-1348) Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699130#action_12699130 ] 

Pierre-Arnaud Marcelot commented on DIRSERVER-1348:
---------------------------------------------------

I just added an example of one test failing in maven.

> Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder
> -----------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1348
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1348
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core-integ
>    Affects Versions: 1.5.5
>            Reporter: Pierre-Arnaud Marcelot
>            Priority: Blocker
>         Attachments: org.apache.directory.server.core.jndi.MixedCaseITest.txt
>
>
> Core Integ tests are badly failing on Windows due to the inability to remove the 'server-work' folder.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.