[jira] [Commented] (OAK-3026) test failures for oak-auth-ldap on Windows

2015-07-07 Thread Tobias Bocanegra (JIRA)

[ 
https://issues.apache.org/jira/browse/OAK-3026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14617644#comment-14617644
 ] 

Tobias Bocanegra commented on OAK-3026:
---

separated the 2 conditions into distinct profiles: r1689774

 test failures for oak-auth-ldap on Windows
 --

 Key: OAK-3026
 URL: https://issues.apache.org/jira/browse/OAK-3026
 Project: Jackrabbit Oak
  Issue Type: Bug
  Components: auth-ldap
Reporter: Amit Jain
Assignee: Tobias Bocanegra
 Fix For: 1.2.3, 1.3.3, 1.0.17


 testAuthenticateValidateTrueFalse(org.apache.jackrabbit.oak.security.authentication.ldap.LdapProviderTest)
   Time elapsed: 0.01 sec   ERROR!
 java.io.IOException: Unable to delete file: 
 target\apacheds\cache\5c3940f5-2ddb-4d47-8254-8b2266c1a684\ou=system.data
 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2279)
 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
 at 
 org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
 at 
 org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
 at 
 org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
 at 
 org.apache.jackrabbit.oak.security.authentication.ldap.AbstractServer.doDelete(AbstractServer.java:264)
 at 
 org.apache.jackrabbit.oak.security.authentication.ldap.AbstractServer.setUp(AbstractServer.java:183)
 at 
 org.apache.jackrabbit.oak.security.authentication.ldap.InternalLdapServer.setUp(InternalLdapServer.java:33)
 etc...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OAK-3026) test failures for oak-auth-ldap on Windows

2015-07-07 Thread Chetan Mehrotra (JIRA)

[ 
https://issues.apache.org/jira/browse/OAK-3026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14617988#comment-14617988
 ] 

Chetan Mehrotra commented on OAK-3026:
--

Now looks like we have failure on [JDK version 
again|https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/253/jdk=jdk-1.6u45,label=Ubuntu,nsfixtures=SEGMENT_MK,profile=unittesting/testReport/junit/org.apache.jackrabbit.oak.security.authentication.ldap/LargeLdapProviderTest/org_apache_jackrabbit_oak_security_authentication_ldap_LargeLdapProviderTest/]

{noformat}
java.lang.UnsupportedClassVersionError: 
org/apache/directory/server/core/api/DirectoryService : Unsupported major.minor 
version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at 
org.apache.jackrabbit.oak.security.authentication.ldap.LargeLdapProviderTest.clinit(LargeLdapProviderTest.java:46)
{noformat}

 test failures for oak-auth-ldap on Windows
 --

 Key: OAK-3026
 URL: https://issues.apache.org/jira/browse/OAK-3026
 Project: Jackrabbit Oak
  Issue Type: Bug
  Components: auth-ldap
Reporter: Amit Jain
Assignee: Tobias Bocanegra
 Fix For: 1.2.3, 1.3.3, 1.0.17


 testAuthenticateValidateTrueFalse(org.apache.jackrabbit.oak.security.authentication.ldap.LdapProviderTest)
   Time elapsed: 0.01 sec   ERROR!
 java.io.IOException: Unable to delete file: 
 target\apacheds\cache\5c3940f5-2ddb-4d47-8254-8b2266c1a684\ou=system.data
 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2279)
 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
 at 
 org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
 at 
 org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
 at 
 org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
 at 
 org.apache.jackrabbit.oak.security.authentication.ldap.AbstractServer.doDelete(AbstractServer.java:264)
 at 
 org.apache.jackrabbit.oak.security.authentication.ldap.AbstractServer.setUp(AbstractServer.java:183)
 at 
 org.apache.jackrabbit.oak.security.authentication.ldap.InternalLdapServer.setUp(InternalLdapServer.java:33)
 etc...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OAK-3026) test failures for oak-auth-ldap on Windows

2015-07-07 Thread Amit Jain (JIRA)

[ 
https://issues.apache.org/jira/browse/OAK-3026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14617957#comment-14617957
 ] 

Amit Jain commented on OAK-3026:


Thanks [~tripod], the relevant tests are ignored now on windows.

 test failures for oak-auth-ldap on Windows
 --

 Key: OAK-3026
 URL: https://issues.apache.org/jira/browse/OAK-3026
 Project: Jackrabbit Oak
  Issue Type: Bug
  Components: auth-ldap
Reporter: Amit Jain
Assignee: Tobias Bocanegra
 Fix For: 1.2.3, 1.3.3, 1.0.17


 testAuthenticateValidateTrueFalse(org.apache.jackrabbit.oak.security.authentication.ldap.LdapProviderTest)
   Time elapsed: 0.01 sec   ERROR!
 java.io.IOException: Unable to delete file: 
 target\apacheds\cache\5c3940f5-2ddb-4d47-8254-8b2266c1a684\ou=system.data
 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2279)
 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
 at 
 org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
 at 
 org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
 at 
 org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
 at 
 org.apache.jackrabbit.oak.security.authentication.ldap.AbstractServer.doDelete(AbstractServer.java:264)
 at 
 org.apache.jackrabbit.oak.security.authentication.ldap.AbstractServer.setUp(AbstractServer.java:183)
 at 
 org.apache.jackrabbit.oak.security.authentication.ldap.InternalLdapServer.setUp(InternalLdapServer.java:33)
 etc...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OAK-3026) test failures for oak-auth-ldap on Windows

2015-07-07 Thread Amit Jain (JIRA)

[ 
https://issues.apache.org/jira/browse/OAK-3026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14618006#comment-14618006
 ] 

Amit Jain commented on OAK-3026:


Maybe this test class (LargeLdapProviderTest) additionally needs to be ignored 
for 1.6.

 test failures for oak-auth-ldap on Windows
 --

 Key: OAK-3026
 URL: https://issues.apache.org/jira/browse/OAK-3026
 Project: Jackrabbit Oak
  Issue Type: Bug
  Components: auth-ldap
Reporter: Amit Jain
Assignee: Tobias Bocanegra
 Fix For: 1.2.3, 1.3.3, 1.0.17


 testAuthenticateValidateTrueFalse(org.apache.jackrabbit.oak.security.authentication.ldap.LdapProviderTest)
   Time elapsed: 0.01 sec   ERROR!
 java.io.IOException: Unable to delete file: 
 target\apacheds\cache\5c3940f5-2ddb-4d47-8254-8b2266c1a684\ou=system.data
 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2279)
 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
 at 
 org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
 at 
 org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
 at 
 org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
 at 
 org.apache.jackrabbit.oak.security.authentication.ldap.AbstractServer.doDelete(AbstractServer.java:264)
 at 
 org.apache.jackrabbit.oak.security.authentication.ldap.AbstractServer.setUp(AbstractServer.java:183)
 at 
 org.apache.jackrabbit.oak.security.authentication.ldap.InternalLdapServer.setUp(InternalLdapServer.java:33)
 etc...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OAK-3026) test failures for oak-auth-ldap on Windows

2015-07-07 Thread Tobias Bocanegra (JIRA)

[ 
https://issues.apache.org/jira/browse/OAK-3026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14618009#comment-14618009
 ] 

Tobias Bocanegra commented on OAK-3026:
---

fixed it in r1689793; forgot to add new test to the exclusion list

 test failures for oak-auth-ldap on Windows
 --

 Key: OAK-3026
 URL: https://issues.apache.org/jira/browse/OAK-3026
 Project: Jackrabbit Oak
  Issue Type: Bug
  Components: auth-ldap
Reporter: Amit Jain
Assignee: Tobias Bocanegra
 Fix For: 1.2.3, 1.3.3, 1.0.17


 testAuthenticateValidateTrueFalse(org.apache.jackrabbit.oak.security.authentication.ldap.LdapProviderTest)
   Time elapsed: 0.01 sec   ERROR!
 java.io.IOException: Unable to delete file: 
 target\apacheds\cache\5c3940f5-2ddb-4d47-8254-8b2266c1a684\ou=system.data
 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2279)
 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
 at 
 org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
 at 
 org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
 at 
 org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
 at 
 org.apache.jackrabbit.oak.security.authentication.ldap.AbstractServer.doDelete(AbstractServer.java:264)
 at 
 org.apache.jackrabbit.oak.security.authentication.ldap.AbstractServer.setUp(AbstractServer.java:183)
 at 
 org.apache.jackrabbit.oak.security.authentication.ldap.InternalLdapServer.setUp(InternalLdapServer.java:33)
 etc...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OAK-3026) test failures for oak-auth-ldap on Windows

2015-06-24 Thread Amit Jain (JIRA)

[ 
https://issues.apache.org/jira/browse/OAK-3026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14598940#comment-14598940
 ] 

Amit Jain commented on OAK-3026:


I am on maven 3.2.3

 test failures for oak-auth-ldap on Windows
 --

 Key: OAK-3026
 URL: https://issues.apache.org/jira/browse/OAK-3026
 Project: Jackrabbit Oak
  Issue Type: Bug
  Components: auth-ldap
Reporter: Amit Jain
 Fix For: 1.2.3, 1.3.2, 1.0.16


 testAuthenticateValidateTrueFalse(org.apache.jackrabbit.oak.security.authentication.ldap.LdapProviderTest)
   Time elapsed: 0.01 sec   ERROR!
 java.io.IOException: Unable to delete file: 
 target\apacheds\cache\5c3940f5-2ddb-4d47-8254-8b2266c1a684\ou=system.data
 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2279)
 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
 at 
 org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
 at 
 org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
 at 
 org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
 at 
 org.apache.jackrabbit.oak.security.authentication.ldap.AbstractServer.doDelete(AbstractServer.java:264)
 at 
 org.apache.jackrabbit.oak.security.authentication.ldap.AbstractServer.setUp(AbstractServer.java:183)
 at 
 org.apache.jackrabbit.oak.security.authentication.ldap.InternalLdapServer.setUp(InternalLdapServer.java:33)
 etc...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OAK-3026) test failures for oak-auth-ldap on Windows

2015-06-24 Thread Amit Jain (JIRA)

[ 
https://issues.apache.org/jira/browse/OAK-3026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14598911#comment-14598911
 ] 

Amit Jain commented on OAK-3026:


I get the same errors with jdk 1.7 too on windows.

cc /[~tripod]

 test failures for oak-auth-ldap on Windows
 --

 Key: OAK-3026
 URL: https://issues.apache.org/jira/browse/OAK-3026
 Project: Jackrabbit Oak
  Issue Type: Bug
  Components: auth-ldap
Reporter: Amit Jain
 Fix For: 1.2.3, 1.3.2, 1.0.16


 testAuthenticateValidateTrueFalse(org.apache.jackrabbit.oak.security.authentication.ldap.LdapProviderTest)
   Time elapsed: 0.01 sec   ERROR!
 java.io.IOException: Unable to delete file: 
 target\apacheds\cache\5c3940f5-2ddb-4d47-8254-8b2266c1a684\ou=system.data
 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2279)
 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
 at 
 org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
 at 
 org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
 at 
 org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
 at 
 org.apache.jackrabbit.oak.security.authentication.ldap.AbstractServer.doDelete(AbstractServer.java:264)
 at 
 org.apache.jackrabbit.oak.security.authentication.ldap.AbstractServer.setUp(AbstractServer.java:183)
 at 
 org.apache.jackrabbit.oak.security.authentication.ldap.InternalLdapServer.setUp(InternalLdapServer.java:33)
 etc...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OAK-3026) test failures for oak-auth-ldap on Windows

2015-06-24 Thread Tobias Bocanegra (JIRA)

[ 
https://issues.apache.org/jira/browse/OAK-3026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14598927#comment-14598927
 ] 

Tobias Bocanegra commented on OAK-3026:
---

well, it is related to windows, not to JDK 1.7 :-)

 test failures for oak-auth-ldap on Windows
 --

 Key: OAK-3026
 URL: https://issues.apache.org/jira/browse/OAK-3026
 Project: Jackrabbit Oak
  Issue Type: Bug
  Components: auth-ldap
Reporter: Amit Jain
 Fix For: 1.2.3, 1.3.2, 1.0.16


 testAuthenticateValidateTrueFalse(org.apache.jackrabbit.oak.security.authentication.ldap.LdapProviderTest)
   Time elapsed: 0.01 sec   ERROR!
 java.io.IOException: Unable to delete file: 
 target\apacheds\cache\5c3940f5-2ddb-4d47-8254-8b2266c1a684\ou=system.data
 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2279)
 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
 at 
 org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
 at 
 org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
 at 
 org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
 at 
 org.apache.jackrabbit.oak.security.authentication.ldap.AbstractServer.doDelete(AbstractServer.java:264)
 at 
 org.apache.jackrabbit.oak.security.authentication.ldap.AbstractServer.setUp(AbstractServer.java:183)
 at 
 org.apache.jackrabbit.oak.security.authentication.ldap.InternalLdapServer.setUp(InternalLdapServer.java:33)
 etc...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OAK-3026) test failures for oak-auth-ldap on Windows

2015-06-24 Thread Amit Jain (JIRA)

[ 
https://issues.apache.org/jira/browse/OAK-3026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14598939#comment-14598939
 ] 

Amit Jain commented on OAK-3026:


Yeah, but I thought that the activation condition is an AND. Is it related to 
maven versions [1]?

[1] 
http://stackoverflow.com/questions/4629140/maven-profile-activation-with-multiple-conditions

 test failures for oak-auth-ldap on Windows
 --

 Key: OAK-3026
 URL: https://issues.apache.org/jira/browse/OAK-3026
 Project: Jackrabbit Oak
  Issue Type: Bug
  Components: auth-ldap
Reporter: Amit Jain
 Fix For: 1.2.3, 1.3.2, 1.0.16


 testAuthenticateValidateTrueFalse(org.apache.jackrabbit.oak.security.authentication.ldap.LdapProviderTest)
   Time elapsed: 0.01 sec   ERROR!
 java.io.IOException: Unable to delete file: 
 target\apacheds\cache\5c3940f5-2ddb-4d47-8254-8b2266c1a684\ou=system.data
 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2279)
 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
 at 
 org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
 at 
 org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
 at 
 org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
 at 
 org.apache.jackrabbit.oak.security.authentication.ldap.AbstractServer.doDelete(AbstractServer.java:264)
 at 
 org.apache.jackrabbit.oak.security.authentication.ldap.AbstractServer.setUp(AbstractServer.java:183)
 at 
 org.apache.jackrabbit.oak.security.authentication.ldap.InternalLdapServer.setUp(InternalLdapServer.java:33)
 etc...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)