[
https://issues.apache.org/jira/browse/OAK-9324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17269459#comment-17269459
]
Angela Schreiber commented on OAK-9324:
---------------------------------------
[~reschke], as i mentioned on the mailing list, i am not able to reproduce the
failures (have not windows machine). as far as i can see the tests failing on
your machine have in common that they make use of the {{LdapServerClassLoader}}
introduced with OAK-8769 (commit with additional comment stating {quote}The
LDAP test server now uses a separate ClassLoader because it still uses
v1{quote}).
a second observation:
at the very end of the description i found that not only modified/new tests
failed but also existing unmodified tests like {{LdapDefaultLoginModuleTest}},
{{TokenDefaultLdapLoginModuleTest}} and {{LargeLdapProviderTest}}.
would you be able to run these tests individually to check if they fail?
and what about {{UseUidForExtIdTest}}? does it fail when being executed
individually?
a third observation:
the test {{PoolableUnboundConnectionFactoryTest}}: the class was modified to
also have a {{LdapServerClassLoader.Proxy}} setup in {{beforeClass()}}... but
it lacks {{proxy.tearDown()}} once tests are completed. i will add that and
would ask you to check if that would solve the issue.
cc: [~adulceanu]
> oak-auth-ldap (UseUidForExtIdTest) tests fail (likely specific to Windows)
> --------------------------------------------------------------------------
>
> Key: OAK-9324
> URL: https://issues.apache.org/jira/browse/OAK-9324
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: auth-ldap
> Reporter: Julian Reschke
> Assignee: Marcel Reutegger
> Priority: Minor
> Fix For: 1.38.0
>
>
> {noformat}
> [INFO] Running
> org.apache.jackrabbit.oak.security.authentication.ldap.impl.UseUidForExtIdTest
> [ERROR] Tests run: 18, Failures: 0, Errors: 18, Skipped: 0, Time elapsed:
> 0.184 s <<< FAILURE! - in org.apache.jackrabbit.oak.security.auth
> entication.ldap.impl.UseUidForExtIdTest
> [ERROR]
> testAuthenticate(org.apache.jackrabbit.oak.security.authentication.ldap.impl.UseUidForExtIdTest)
> Time elapsed: 0.029 s <<< ERROR!
> java.lang.reflect.InvocationTargetException
> Caused by: java.io.IOException: Unable to delete file:
> target\apacheds\cache\c68efd7d-7963-4972-b27c-c2ace6c83b63\ou=system.data
> [ERROR]
> testAuthenticate(org.apache.jackrabbit.oak.security.authentication.ldap.impl.UseUidForExtIdTest)
> Time elapsed: 0.029 s <<< ERROR!
> java.lang.NullPointerException
> [ERROR]
> testGetGroupByRef(org.apache.jackrabbit.oak.security.authentication.ldap.impl.UseUidForExtIdTest)
> Time elapsed: 0.021 s <<< ERROR
> !
> java.lang.reflect.InvocationTargetException
> Caused by: java.io.IOException: Unable to delete file:
> target\apacheds\cache\c68efd7d-7963-4972-b27c-c2ace6c83b63\ou=system.data
> [ERROR]
> testGetGroupByRef(org.apache.jackrabbit.oak.security.authentication.ldap.impl.UseUidForExtIdTest)
> Time elapsed: 0.021 s <<< ERROR
> !
> java.lang.NullPointerException
> [ERROR]
> testGetUnknownUserByRef(org.apache.jackrabbit.oak.security.authentication.ldap.impl.UseUidForExtIdTest)
> Time elapsed: 0.019 s <<<
> ERROR!
> java.lang.reflect.InvocationTargetException
> Caused by: java.io.IOException: Unable to delete file:
> target\apacheds\cache\c68efd7d-7963-4972-b27c-c2ace6c83b63\ou=system.data
> [ERROR]
> testGetUnknownUserByRef(org.apache.jackrabbit.oak.security.authentication.ldap.impl.UseUidForExtIdTest)
> Time elapsed: 0.019 s <<<
> ERROR!
> java.lang.NullPointerException
> [ERROR]
> testGetGroups2(org.apache.jackrabbit.oak.security.authentication.ldap.impl.UseUidForExtIdTest)
> Time elapsed: 0.019 s <<< ERROR!
> java.lang.reflect.InvocationTargetException
> Caused by: java.io.IOException: Unable to delete file:
> target\apacheds\cache\c68efd7d-7963-4972-b27c-c2ace6c83b63\ou=system.data
> [ERROR]
> testGetGroups2(org.apache.jackrabbit.oak.security.authentication.ldap.impl.UseUidForExtIdTest)
> Time elapsed: 0.019 s <<< ERROR!
> java.lang.NullPointerException
> [ERROR]
> testAuthenticateCaseInsensitive(org.apache.jackrabbit.oak.security.authentication.ldap.impl.UseUidForExtIdTest)
> Time elapsed: 0.02
> s <<< ERROR!
> java.lang.reflect.InvocationTargetException
> Caused by: java.io.IOException: Unable to delete file:
> target\apacheds\cache\c68efd7d-7963-4972-b27c-c2ace6c83b63\ou=system.data
> [ERROR]
> testAuthenticateCaseInsensitive(org.apache.jackrabbit.oak.security.authentication.ldap.impl.UseUidForExtIdTest)
> Time elapsed: 0.02
> s <<< ERROR!
> java.lang.NullPointerException
> [ERROR]
> testGetGroups(org.apache.jackrabbit.oak.security.authentication.ldap.impl.UseUidForExtIdTest)
> Time elapsed: 0.018 s <<< ERROR!
> java.lang.reflect.InvocationTargetException
> Caused by: java.io.IOException: Unable to delete file:
> target\apacheds\cache\c68efd7d-7963-4972-b27c-c2ace6c83b63\ou=system.data
> [ERROR]
> testGetGroups(org.apache.jackrabbit.oak.security.authentication.ldap.impl.UseUidForExtIdTest)
> Time elapsed: 0.018 s <<< ERROR!
> java.lang.NullPointerException
> [ERROR]
> testGetMembers(org.apache.jackrabbit.oak.security.authentication.ldap.impl.UseUidForExtIdTest)
> Time elapsed: 0.019 s <<< ERROR!
> java.lang.reflect.InvocationTargetException
> Caused by: java.io.IOException: Unable to delete file:
> target\apacheds\cache\c68efd7d-7963-4972-b27c-c2ace6c83b63\ou=system.data
> [ERROR]
> testGetMembers(org.apache.jackrabbit.oak.security.authentication.ldap.impl.UseUidForExtIdTest)
> Time elapsed: 0.019 s <<< ERROR!
> java.lang.NullPointerException
> [ERROR]
> testGetUserByRef(org.apache.jackrabbit.oak.security.authentication.ldap.impl.UseUidForExtIdTest)
> Time elapsed: 0.019 s <<< ERROR!
> java.lang.reflect.InvocationTargetException
> Caused by: java.io.IOException: Unable to delete file:
> target\apacheds\cache\c68efd7d-7963-4972-b27c-c2ace6c83b63\ou=system.data
> [ERROR]
> testGetUserByRef(org.apache.jackrabbit.oak.security.authentication.ldap.impl.UseUidForExtIdTest)
> Time elapsed: 0.019 s <<< ERROR!
> java.lang.NullPointerException
> [ERROR]
> testGetUserByForeignRef(org.apache.jackrabbit.oak.security.authentication.ldap.impl.UseUidForExtIdTest)
> Time elapsed: 0.019 s <<<
> ERROR!
> java.lang.reflect.InvocationTargetException
> Caused by: java.io.IOException: Unable to delete file:
> target\apacheds\cache\c68efd7d-7963-4972-b27c-c2ace6c83b63\ou=system.data
> [ERROR]
> testGetUserByForeignRef(org.apache.jackrabbit.oak.security.authentication.ldap.impl.UseUidForExtIdTest)
> Time elapsed: 0.02 s <<<
> ERROR!
> java.lang.NullPointerException
> [INFO] Running
> org.apache.jackrabbit.oak.security.authentication.ldap.LargeLdapProviderTest
> [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.005
> s <<< FAILURE! - in org.apache.jackrabbit.oak.security.authen
> tication.ldap.LargeLdapProviderTest
> [ERROR]
> org.apache.jackrabbit.oak.security.authentication.ldap.LargeLdapProviderTest
> Time elapsed: 0.005 s <<< ERROR!
> java.lang.reflect.InvocationTargetException
> Caused by: java.io.IOException: Unable to delete file:
> target\apacheds\cache\c68efd7d-7963-4972-b27c-c2ace6c83b63\ou=system.data
> [ERROR]
> org.apache.jackrabbit.oak.security.authentication.ldap.LargeLdapProviderTest
> Time elapsed: 0.005 s <<< ERROR!
> java.lang.NullPointerException
> at
> org.apache.jackrabbit.oak.security.authentication.ldap.LargeLdapProviderTest.afterClass(LargeLdapProviderTest.java:83)
> [INFO] Running
> org.apache.jackrabbit.oak.security.authentication.ldap.LdapDefaultLoginModuleTest
> [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.019
> s <<< FAILURE! - in org.apache.jackrabbit.oak.security.authen
> tication.ldap.LdapDefaultLoginModuleTest
> [ERROR]
> org.apache.jackrabbit.oak.security.authentication.ldap.LdapDefaultLoginModuleTest
> Time elapsed: 0.019 s <<< ERROR!
> java.lang.reflect.InvocationTargetException
> Caused by: java.io.IOException: Unable to delete file:
> target\apacheds\cache\c68efd7d-7963-4972-b27c-c2ace6c83b63\ou=system.data
> [ERROR]
> org.apache.jackrabbit.oak.security.authentication.ldap.LdapDefaultLoginModuleTest
> Time elapsed: 0.019 s <<< ERROR!
> java.lang.IllegalArgumentException: object is not an instance of declaring
> class
> [INFO] Running
> org.apache.jackrabbit.oak.security.authentication.ldap.LdapLoginStandaloneTest
> [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.027
> s <<< FAILURE! - in org.apache.jackrabbit.oak.security.authen
> tication.ldap.LdapLoginStandaloneTest
> [ERROR]
> org.apache.jackrabbit.oak.security.authentication.ldap.LdapLoginStandaloneTest
> Time elapsed: 0.027 s <<< ERROR!
> java.lang.reflect.InvocationTargetException
> Caused by: java.io.IOException: Unable to delete file:
> target\apacheds\cache\c68efd7d-7963-4972-b27c-c2ace6c83b63\ou=system.data
> [ERROR]
> org.apache.jackrabbit.oak.security.authentication.ldap.LdapLoginStandaloneTest
> Time elapsed: 0.027 s <<< ERROR!
> java.lang.IllegalArgumentException: object is not an instance of declaring
> class
> [INFO] Running
> org.apache.jackrabbit.oak.security.authentication.ldap.TokenDefaultLdapLoginModuleTest
> [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.025
> s <<< FAILURE! - in org.apache.jackrabbit.oak.security.authen
> tication.ldap.TokenDefaultLdapLoginModuleTest
> [ERROR]
> org.apache.jackrabbit.oak.security.authentication.ldap.TokenDefaultLdapLoginModuleTest
> Time elapsed: 0.025 s <<< ERROR!
> java.lang.reflect.InvocationTargetException
> Caused by: java.io.IOException: Unable to delete file:
> target\apacheds\cache\c68efd7d-7963-4972-b27c-c2ace6c83b63\ou=system.data
> [ERROR]
> org.apache.jackrabbit.oak.security.authentication.ldap.TokenDefaultLdapLoginModuleTest
> Time elapsed: 0.025 s <<< ERROR!
> java.lang.IllegalArgumentException: object is not an instance of declaring
> class
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)